CN115086050A - Fingerprint authentication method and device and computer equipment - Google Patents

Fingerprint authentication method and device and computer equipment Download PDF

Info

Publication number
CN115086050A
CN115086050A CN202210711767.XA CN202210711767A CN115086050A CN 115086050 A CN115086050 A CN 115086050A CN 202210711767 A CN202210711767 A CN 202210711767A CN 115086050 A CN115086050 A CN 115086050A
Authority
CN
China
Prior art keywords
fingerprint
authenticated
authentication
fingerprint authentication
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210711767.XA
Other languages
Chinese (zh)
Inventor
韩维
杨光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210711767.XA priority Critical patent/CN115086050A/en
Publication of CN115086050A publication Critical patent/CN115086050A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3231Biological data, e.g. fingerprint, voice or retina

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The present application relates to a fingerprint authentication method, apparatus, computer device, storage medium and computer program product. The application relates to the field of biological identification, and is applied to an application program of a mobile terminal, and the method comprises the following steps: the fingerprint electric signal corresponding to the user to be authenticated is acquired through the fingerprint acquisition device, and the fingerprint electric signal is converted into a fingerprint digital signal sequence by utilizing an analog-to-digital conversion strategy. And according to a preset coding strategy, coding the fingerprint digital signal sequence to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated. And constructing a fingerprint authentication request according to the code to be authenticated, and sending the fingerprint authentication request to an authentication server so that the authentication server responds to the fingerprint authentication request to perform fingerprint authentication processing. By the method, the fingerprint authentication success rate of the fingerprint authentication can be improved when the operating system of the mobile terminal is upgraded.

Description

Fingerprint authentication method and device and computer equipment
Technical Field
The present application relates to the field of biometric identification, and in particular, to a fingerprint authentication method, apparatus, and computer device.
Background
In the field of mobile payment, identity authentication is an indispensable part, and payment can be performed after the identity authentication is passed.
In the related art, fingerprint authentication is the most frequently used identity authentication, and when a mobile terminal performs fingerprint authentication, the process generally includes: the user places a finger on a fingerprint acquisition device of the mobile terminal, calls a function carried by an operating system of the mobile terminal to obtain a fingerprint image of the user, generates a fingerprint characteristic value according to the fingerprint image and uploads the fingerprint characteristic value to the authentication server. And the authentication server compares the fingerprint characteristic value uploaded by the mobile terminal with the stored fingerprint characteristic value to obtain an authentication result of the user fingerprint authentication.
However, in the application program of the mobile terminal, the feature value of the user fingerprint needs to be acquired according to the system function of the mobile terminal operating system, so that the fingerprint authentication process of the application program depends excessively on the system function related to fingerprint authentication in the mobile terminal operating system, and after the operator of the mobile terminal upgrades the operating system of the mobile terminal, the system function related to the fingerprint image in the operating system is also updated correspondingly, so that the feature value of the identified user fingerprint changes, and at this time, the authentication server corresponding to the application program performs identity authentication based on the new feature value, and the authentication failure may occur, resulting in a low authentication success rate.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a fingerprint authentication method, apparatus, system, computer device, computer readable storage medium, and computer program product capable of improving the success rate of authentication when the operating system of a mobile terminal is updated.
In a first aspect, the present application provides a fingerprint authentication method. The method is applied to an application program of a mobile terminal, and comprises the following steps:
collecting a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint collecting device;
converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy;
according to a preset coding strategy, coding the fingerprint digital signal sequence to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated;
and sending a fingerprint authentication request carrying the to-be-authenticated fingerprint code to an authentication server so that the authentication server responds to the fingerprint authentication request and performs fingerprint authentication processing based on the to-be-authenticated fingerprint code.
In one embodiment, the encoding the fingerprint digital signal sequence according to a preset encoding policy to obtain a to-be-authenticated fingerprint code corresponding to the to-be-authenticated user includes:
inputting the fingerprint data signal sequence to a preset matrix in a preset first direction;
reading the digital signal sequence from the matrix in a second direction to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated; wherein the first direction is perpendicular to the second direction.
In one embodiment, before performing collecting, by a fingerprint collecting device, a fingerprint electrical signal corresponding to a user to be authenticated, the method further includes:
outputting fingerprint input prompt information, wherein the fingerprint input prompt information is used for prompting a user to input reference fingerprint information;
acquiring a reference electric signal corresponding to the user through the fingerprint acquisition device;
converting the reference electrical signal into a reference digital signal sequence by using the analog-to-digital conversion strategy;
and sending the reference source digital signal sequence to the authentication server so that the server takes the reference digital signal sequence as a fingerprint authentication comparison sequence of the user.
In a second aspect, the present application further provides a fingerprint authentication method. The method is applied to an authentication server, and comprises the following steps:
receiving a fingerprint authentication request sent by an application program, and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the fingerprint code to be authenticated according to the user identifier;
and obtaining a fingerprint authentication processing result according to the fingerprint code to be authenticated and the fingerprint authentication comparison sequence.
In one embodiment, the obtaining a fingerprint authentication processing result according to the to-be-authenticated encoding/decoding and the fingerprint authentication comparison sequence includes:
decoding the fingerprint code to be authenticated into a corresponding fingerprint digital signal sequence;
respectively carrying out equal-length division on the fingerprint digital signal sequence and the fingerprint authentication comparison sequence to obtain a plurality of fingerprint digital signal subsequences and a plurality of fingerprint authentication comparison subsequences; wherein, the fingerprint digital signal sub-sequence and the fingerprint authentication ratio sub-sequence have the same number and length;
according to the division sequence, determining the similarity between the fingerprint digital signal sub-sequence with the same division sequence and the fingerprint authentication ratio sub-sequence;
determining the occupation ratio of the similarity higher than a preset similarity threshold in the plurality of similarities, and determining that the fingerprint authentication processing result is that the fingerprint authentication passes under the condition that the occupation ratio is higher than the preset occupation ratio; and determining that the fingerprint authentication processing result is that the fingerprint authentication is not passed under the condition that the occupation ratio is lower than or equal to the preset occupation ratio.
In a third aspect, the present application further provides a fingerprint authentication system. The system comprises a mobile terminal and an authentication server, wherein an application program is installed in the mobile terminal, and the system comprises:
the application program is used for acquiring a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint acquisition device of the mobile terminal; converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy; coding the digital signal sequence according to a preset coding strategy to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated; constructing an authentication request according to the code to be authenticated, and sending the authentication request to an authentication server;
the authentication server is used for receiving a fingerprint authentication request which is sent by the application program and carries the fingerprint code to be authenticated, and acquiring the fingerprint code to be authenticated carried by the fingerprint authentication request; responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the user to be authenticated according to the user identifier; and obtaining a fingerprint authentication processing result according to the to-be-authenticated encoding and decoding and the fingerprint authentication comparison sequence.
In a fourth aspect, the present application further provides a fingerprint authentication device. The device is applied to an application program of a mobile terminal, and comprises the following steps:
the acquisition module is used for acquiring a fingerprint electric signal corresponding to a user to be authenticated through the fingerprint acquisition device;
the conversion module is used for converting the fingerprint electric signal into a fingerprint digital signal sequence by utilizing an analog-to-digital conversion strategy;
the coding module is used for coding the fingerprint digital signal sequence according to a preset coding strategy to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated;
and the sending module is used for sending a fingerprint authentication request carrying the to-be-authenticated fingerprint code to an authentication server so that the authentication server responds to the fingerprint authentication request and carries out fingerprint authentication processing based on the to-be-authenticated fingerprint code.
In a fifth aspect, the present application further provides a fingerprint authentication device. Applied to an authentication server, the apparatus comprising:
the receiving module is used for receiving a fingerprint authentication request sent by an application program and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
the response module is used for responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the fingerprint code to be authenticated according to the user identifier;
and the processing module is used for obtaining a fingerprint authentication processing result according to the fingerprint code to be authenticated and the fingerprint authentication comparison sequence.
In a sixth aspect, the present application further provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
collecting a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint collecting device;
converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy;
according to a preset coding strategy, coding the fingerprint digital signal sequence to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated;
and sending a fingerprint authentication request carrying the fingerprint code to be authenticated to an authentication server so that the authentication server responds to the fingerprint authentication request and performs fingerprint authentication processing based on the fingerprint code to be authenticated.
In a seventh aspect, the present application further provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
receiving a fingerprint authentication request sent by an application program, and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the fingerprint code to be authenticated according to the user identifier;
and obtaining a fingerprint authentication processing result according to the fingerprint code to be authenticated and the fingerprint authentication comparison sequence.
In an eighth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
collecting a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint collecting device;
converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy;
according to a preset coding strategy, coding the fingerprint digital signal sequence to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated;
and sending a fingerprint authentication request carrying the to-be-authenticated fingerprint code to an authentication server so that the authentication server responds to the fingerprint authentication request and performs fingerprint authentication processing based on the to-be-authenticated fingerprint code.
In a ninth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving a fingerprint authentication request sent by an application program, and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the fingerprint code to be authenticated according to the user identifier;
and obtaining a fingerprint authentication processing result according to the fingerprint code to be authenticated and the fingerprint authentication comparison sequence.
In a tenth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
collecting a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint collecting device;
converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy;
according to a preset coding strategy, coding the fingerprint digital signal sequence to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated;
and sending a fingerprint authentication request carrying the to-be-authenticated fingerprint code to an authentication server so that the authentication server responds to the fingerprint authentication request and performs fingerprint authentication processing based on the to-be-authenticated fingerprint code.
In an eleventh aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
receiving a fingerprint authentication request sent by an application program, and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the fingerprint code to be authenticated according to the user identifier;
and obtaining a fingerprint authentication processing result according to the fingerprint code to be authenticated and the fingerprint authentication comparison sequence.
According to the fingerprint authentication method, the fingerprint authentication device, the fingerprint authentication system, the fingerprint equipment, the computer readable storage medium and the computer program product, when fingerprint authentication is carried out, the application program converts the fingerprint electric signal collected by the fingerprint collecting device into the fingerprint digital signal sequence and codes the fingerprint digital signal sequence to obtain the fingerprint code to be authenticated, the fingerprint characteristic value is generated without depending on the operating system of the mobile terminal, the dependence of the application program on the operating system of the mobile terminal is reduced when the fingerprint authentication is carried out, the stability of the application program during the fingerprint authentication is ensured, and the database of the authentication server corresponding to the application program is not updated due to the updating of the operating system of the mobile terminal, so that the authentication success rate of the fingerprint authentication is improved when the operating system of the mobile terminal is updated.
Drawings
FIG. 1 is a diagram of an application environment of a fingerprint authentication method in one embodiment;
FIG. 2 is a flowchart illustrating a fingerprint authentication method applied to an application of a mobile terminal according to an embodiment;
FIG. 3 is a flowchart illustrating a fingerprint authentication method applied to an authentication server in one embodiment;
FIG. 4 is a flowchart of a fingerprint authentication method according to an embodiment;
fig. 5 is a schematic diagram of a fingerprint authentication device applied to an application program of a mobile terminal according to an embodiment;
FIG. 6 is a diagram of a fingerprint authentication device applied to an authentication server according to an embodiment;
FIG. 7 is a diagram of the internal structure of a computer device in one embodiment;
fig. 8 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In the related art, fingerprint authentication is the most frequently used identity authentication, and when a mobile terminal performs fingerprint authentication, the process generally includes: the user places a finger on a fingerprint acquisition device of the mobile terminal, calls a function carried by an operating system of the mobile terminal to obtain a fingerprint image of the user, generates a fingerprint characteristic value according to the fingerprint image and uploads the fingerprint characteristic value to the authentication server. And the authentication server compares the fingerprint characteristic value uploaded by the mobile terminal with the stored fingerprint characteristic value to obtain an authentication result of the user fingerprint authentication.
However, in the application program of the mobile terminal, the feature value of the user fingerprint needs to be acquired according to the system function of the mobile terminal operating system, so that the fingerprint authentication process of the application program depends excessively on the system function related to fingerprint authentication in the mobile terminal operating system, for example, after an operator of the mobile terminal upgrades the system function related to the fingerprint image in the operating system of the mobile terminal, the feature value of the user fingerprint may change, and the authentication server corresponding to the application program also needs to update the stored fingerprint feature value of the user in time. Therefore, in the fingerprint authentication method in the related art, the database of the authentication server corresponding to the application program of the mobile terminal needs to be updated according to the upgrade of the operating system of the mobile terminal.
Based on this, the present application proposes a fingerprint authentication method, which is applied to an application program of a mobile terminal. The fingerprint electric signal corresponding to the user to be authenticated is acquired through the fingerprint acquisition device, and the fingerprint electric signal is converted into a fingerprint digital signal sequence by utilizing an analog-to-digital conversion strategy. And according to a preset coding strategy, coding the fingerprint digital signal sequence to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated. And constructing a fingerprint authentication request according to the code to be authenticated, and sending the fingerprint authentication request to an authentication server so that the authentication server responds to the fingerprint authentication request to perform fingerprint authentication processing.
According to the fingerprint authentication method, when fingerprint authentication is carried out, the fingerprint characteristic value is generated without depending on the operating system of the mobile terminal, the dependence of an application program on the operating system of the mobile terminal is reduced when the fingerprint authentication is carried out, the stability of the application program during the fingerprint authentication is ensured, and the database of the authentication server corresponding to the application program is not updated due to the updating of the operating system of the mobile terminal, so that the authentication success rate of the fingerprint authentication is improved when the operating system of the mobile terminal is updated.
The application provides a fingerprint authentication method applied to an application program of a mobile terminal and a corresponding fingerprint authentication method applied to an authentication server, and provides a corresponding device, a computer readable storage medium and a computer program product. First, a fingerprint authentication method applied to an application of a mobile terminal will be described in detail.
The fingerprint authentication method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein an application on the mobile terminal 102 communicates with the authentication server 104 over a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server. The mobile terminal 102 may be, but not limited to, various smart phones, tablet computers, notebooks, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, a fingerprint authentication method is provided, which is applied to an application program on a mobile terminal, and is described by taking the application program of the mobile terminal 102 in fig. 1 as an example, the method includes the following steps:
step 201, collecting a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint collection device.
The fingerprint acquisition device is related hardware for acquiring fingerprints on the mobile terminal, such as home keys of an apple mobile phone, a tablet and the like, fingerprint locks of android mobile phones, fingerprint locks of some notebooks and the like. The fingerprint collecting device is characterized in that the fingerprint collecting device comprises a fingerprint collecting device body, wherein the fingerprint collecting device body comprises a plurality of fingerprint collecting devices, each fingerprint collecting device comprises a fingerprint collecting device body, each fingerprint collecting device body comprises a fingerprint collecting device body and a fingerprint collecting device body, each fingerprint collecting device body is provided with a fingerprint collecting device body, each fingerprint collecting device body is provided with a fingerprint collecting device, the fingerprint collecting device is provided with different hardware, the fingerprint collecting device is arranged on each mobile terminal, the related hardware possibly different hardware is different hardware, the fingerprint collecting device in related technologies, the fingerprint collecting device identification modes comprise three types of optical identification, the fingerprint collecting device identification, the fingerprint collecting device comprises three types of the fingerprint collecting device and a capacitive fingerprint collecting device, the fingerprint collecting device is different hardware, the fingerprint collecting device is different hardware, the fingerprint collecting device is different hardware, the fingerprint collecting device is different in related technologies, the fingerprint collecting device is different fingerprint collecting device, the fingerprint collecting device is different fingerprint collecting device, the fingerprint collecting device is different in the fingerprint collecting device, the fingerprint.
In one embodiment, in a case where the application program of the mobile terminal receives the identity authentication instruction, for example, the user clicks a login on a login page of the application program, the user initiates a payment request in the application program, and the like, applies for the relevant authority of the fingerprint acquisition device to the operating system of the mobile terminal, and then calls a function interface provided by the operating system of the mobile terminal and related to the fingerprint acquisition device, and acquires a fingerprint electrical signal generated when the user to be authenticated touches the fingerprint acquisition device through the fingerprint acquisition device.
The function interface provided by the operating system of the mobile terminal and related to the fingerprint acquisition device may be different according to the operating system, and the function interface related to the fingerprint acquisition device in each operating system may be referred to.
And step 203, converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy.
The analog-to-digital conversion strategy is to convert a continuous fingerprint electrical signal into a discrete digital signal sequence, and the resolution and the conversion rule of the analog-to-digital conversion strategy can be set differently according to actual requirements, which can be referred to the description in the related art, and are not described in detail here.
In one embodiment, an application program of the mobile terminal calls a related function interface of an operating system of the mobile terminal to acquire a fingerprint electric signal of a user to be authenticated, and converts the fingerprint electric signal into a fingerprint digital signal sequence according to an analog-to-digital conversion strategy.
In one embodiment, an application program of the mobile terminal calls a related function interface of an operating system of the mobile terminal to obtain a fingerprint electrical signal of a user to be authenticated, the fingerprint electrical signal is input to an analog-to-digital converter corresponding to an analog-to-digital conversion strategy, and an output of the analog-to-digital converter is a fingerprint digital signal sequence obtained by converting the fingerprint electrical signal.
And 205, coding the fingerprint digital signal sequence according to a preset coding strategy to obtain a to-be-authenticated fingerprint code corresponding to the to-be-authenticated user.
The encoding strategy is used for scrambling the fingerprint digital signal sequence, encoding the fingerprint digital signal sequence into a new fingerprint digital signal sequence, and decoding the new fingerprint digital signal sequence to obtain the original fingerprint digital signal sequence. The encoding strategy can be an interleaving encoding strategy, an error correction encoding strategy and the like.
In one embodiment, an application program of the mobile terminal may preset an encoder corresponding to an encoding policy, and input the fingerprint digital signal to the set encoder, where the encoder encodes the input fingerprint digital signal according to the configured encoding policy, and then inputs an encoded fingerprint digital signal sequence to obtain a to-be-authenticated fingerprint code for a to-be-authenticated user.
The interleaving coding mode mainly includes 3 types of regular interleaving, irregular interleaving and random interleaving. In general, regular interleaving adopts a method of writing rows and columns and reading columns, or a method of writing columns and reading rows. Random interleaving means that the interleaving format is randomly distributed and is the interleaving mode with the best performance theoretically, but the whole interleaving information position information is transmitted to a decoder, so that the coding efficiency is reduced. In practical application, irregular interleaving is generally adopted, which is a pseudo-random interleaving mode, and a fixed interleaving mode is adopted for each coding block, but the interleaver structures between the blocks are different.
Step 207, sending a fingerprint authentication request carrying the fingerprint code to be authenticated to the authentication server, so that the authentication server responds to the fingerprint authentication request and performs fingerprint authentication processing based on the fingerprint code to be authenticated. .
In one embodiment, the application program of the mobile terminal first obtains a user identifier, for example, a user name of a logged-in account when a user to be authenticated logs in, or a user name of a logged-in payment account in a payment scenario, and then constructs a fingerprint authentication request based on the user identifier and a fingerprint code to be authenticated, and sends the fingerprint authentication request to the authentication server. After receiving the fingerprint authentication request, the fingerprint authentication server inquires a corresponding fingerprint authentication comparison sequence according to the user identification carried by the fingerprint authentication request. The fingerprint authentication comparison sequence is used for obtaining a fingerprint authentication processing result with the code to be authenticated, and the fingerprint authentication processing result needs to be stored in the authentication server in advance.
In one embodiment, the application program of the mobile terminal constructs a fingerprint authentication request directly based on the fingerprint code to be authenticated and sends the fingerprint authentication request to the authentication server. The authentication server determines a user identifier corresponding to a user logging in the mobile terminal according to the equipment identifier of the mobile terminal sending the fingerprint authentication request, and further queries a corresponding fingerprint authentication comparison sequence according to the user identifier.
In one embodiment, after receiving a fingerprint authentication request sent by an application program of a mobile terminal, a fingerprint authentication server responds to the authentication request, queries a corresponding fingerprint authentication comparison sequence, obtains a fingerprint authentication processing result corresponding to the authentication fingerprint request according to a to-be-authenticated fingerprint code carried by the fingerprint authentication request and the queried fingerprint authentication comparison sequence, and sends the fingerprint authentication processing result to the application program of the mobile terminal. And the application program of the mobile terminal receives the fingerprint authentication processing result sent by the authentication server and carries out subsequent processing according to the fingerprint authentication processing result.
In an embodiment, the fingerprint authentication processing result received by the application program of the mobile terminal is a fingerprint authentication failure, and the information of the fingerprint authentication failure may be presented to the user, and the user is prompted to perform fingerprint authentication again, and the step 201 is executed again.
In one embodiment, if the fingerprint authentication processing result received by the application program of the mobile terminal is that the fingerprint authentication is successful, the subsequent processing after the fingerprint authentication is continuously executed, for example, if the application program of the mobile terminal performs fingerprint authentication during login, the application program enters a page after the login is successful after receiving the fingerprint authentication processing result after the fingerprint authentication is successful; if the application program of the mobile terminal is fingerprint authentication during payment, displaying a page with successful payment after receiving a fingerprint authentication processing result with successful fingerprint authentication.
According to the fingerprint authentication method, when fingerprint authentication is carried out, the fingerprint characteristic value is generated without depending on the operating system of the mobile terminal, the dependence of an application program on the operating system of the mobile terminal is reduced when the fingerprint authentication is carried out, the stability of the application program during the fingerprint authentication is ensured, and the database of the authentication server corresponding to the application program is not updated due to the updating of the operating system of the mobile terminal, so that the authentication success rate of the fingerprint authentication is improved when the operating system of the mobile terminal is updated.
In one embodiment, step 203 specifically includes:
step 203A, inputting the fingerprint data signal sequence to a preset matrix in a preset first direction.
In one embodiment, the application program of the mobile terminal may input the fingerprint digital signal sequence into a preset matrix in a preset first direction, for example, the fingerprint digital signal sequence has 36 bits in total, then the preset matrix may be a 6 × 6 matrix, and the fingerprint digital signal sequence is input into the matrix in a horizontal direction, that is, the first row is 1-6 bits of the fingerprint digital sequence, the second row is 7-12 bits, and so on. Or the fingerprint digital signal sequence is input to the matrix in the longitudinal direction, i.e. the first column is 1-6 bits of the fingerprint digital sequence, the second column is 7-12 bits, and so on.
Step 203B, reading the digital signal sequence from the matrix in the second direction to obtain the fingerprint code to be authenticated corresponding to the user to be authenticated.
Wherein the first direction is perpendicular to the second direction.
In one embodiment, if the application program of the mobile terminal can input the fingerprint digital signal sequence to a preset matrix in a preset first direction, and the first direction is horizontal, the digital signal sequence is read longitudinally from the matrix to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated. If the first direction is longitudinal, the application program of the mobile terminal can transversely read the digital signal sequence from the matrix to obtain the fingerprint code to be authenticated corresponding to the user to be authenticated.
For example, the fingerprint digital signal sequence is X ═ (X) 1 x 2 ......x 24 x 25 ) Inputting the fingerprint digital signal sequence X into an interleaver, wherein the interleavingThe interleaver is arranged to write 5 x 5 column memories taken out by rows in columns, then read out by rows, output the corresponding sequence, and obtain the fingerprint code to be authenticated.
Assume that the sequence of fingerprint digital signals X is:
X=(x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12 x 13 x 14 x 15 x 16 x 17 x 18 x 19 x 20 x 21 x 22 x 23 x 24 x 25 )
after the fingerprint digital signal sequence is input into the interleaver, the obtained interleaving matrix written in by columns is as follows:
Figure BDA0003708330470000121
then reading out the fingerprint codes according to the rows, wherein the obtained fingerprint codes X' to be authenticated are as follows:
X'=(x 1 x 6 x 11 x 16 x 21 x 2 x 7 x 12 x 17 x 22 x 3 x 8 x 13 x 18 x 23 x 4 x 9 x 14 x 19 x 24 x 5 x 10 x 15 x 20 x 25 )
in this embodiment, the fingerprint digital signal sequence is encoded in a regular interleaving manner, so that on one hand, the security of transmission of the fingerprint digital signal sequence is improved, and on the other hand, the total burst continuous errors in the transmission process are dispersed to each place of the sequence.
In one embodiment, before performing step 201, the method further includes:
and step 211, outputting fingerprint input prompt information.
And the fingerprint input prompt information is used for prompting a user to input reference fingerprint information.
In one embodiment, the application program of the mobile terminal determines that the authentication server does not store the fingerprint authentication comparison sequence corresponding to the user, or the user is a new registered user, or the user replaces the mobile terminal device, and may output prompt information prompting the user to enter reference fingerprint information at the mobile terminal, for example, a page for entering a fingerprint, a word for "entering a fingerprint", and the like may be displayed.
And step 213, acquiring a reference electric signal corresponding to the user through the fingerprint acquisition device.
In one embodiment, the application program of the mobile terminal determines that the user confirms to enter the fingerprint authentication comparison sequence, or starts to collect the reference electrical signal generated by the user touching the fingerprint acquisition device after prompting the user to enter the preset time of the reference fingerprint information, then applies for the relevant authority of the fingerprint acquisition device to the operating system of the mobile terminal, then calls a function interface provided by the operating system of the mobile terminal and related to the fingerprint acquisition device, and collects the reference electrical signal generated by the user touching the fingerprint acquisition device through the fingerprint acquisition device.
Step 215, converting the reference electrical signal into a reference digital signal sequence by using an analog-to-digital conversion strategy.
The analog-to-digital conversion strategy is to convert a continuous fingerprint electrical signal into a discrete digital signal sequence, and the resolution and the conversion rule of the analog-to-digital conversion strategy can be set differently according to actual requirements, which can be referred to the description in the related art, and are not described in detail here.
In one embodiment, an application program of the mobile terminal calls a related function interface of an operating system of the mobile terminal to acquire a reference electric signal of a user to be authenticated, and converts the reference electric signal into a reference digital signal sequence according to an analog-to-digital conversion strategy.
In one embodiment, an application program of the mobile terminal calls a related function interface of an operating system of the mobile terminal to obtain a reference electrical signal of a user to be authenticated, the reference electrical signal is input to an analog-to-digital converter corresponding to an analog-to-digital conversion strategy, and an output of the analog-to-digital converter is a reference digital signal sequence obtained by converting the reference electrical signal.
Step 217, sending the reference digital signal sequence to the authentication server, so that the authentication server uses the reference digital signal sequence as the fingerprint authentication comparison sequence of the user.
In one embodiment, if the authentication server can distinguish different users according to the device identifier of the mobile terminal, and the like, the application program of the mobile terminal directly sends the reference digital signal sequence to the authentication server after acquiring the reference digital signal sequence of the user, so that the authentication server takes and stores the reference digital signal sequence as the fingerprint authentication comparison sequence of the user. If the authentication server can not distinguish different users according to the device identification and the like of the mobile terminal, the application program of the mobile terminal needs to obtain the user identification after obtaining the reference digital signal sequence of the user, and then sends the user identification and the reference digital signal sequence to the authentication server so that the authentication server takes the reference digital signal sequence as a fingerprint authentication comparison sequence of the user and stores the fingerprint authentication comparison sequence.
In this embodiment, when the user changes the device or registers, the authentication server does not have the fingerprint authentication comparison sequence corresponding to the user, and the application program of the mobile terminal may be acquired according to the steps in this embodiment.
The present application further provides a fingerprint authentication method, as shown in fig. 3, which is applied to an authentication server, for example, the method is applied to the authentication server 104 shown in fig. 1, and the method includes:
step 301, receiving a fingerprint authentication request sent by an application program, and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request.
The fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by the application program of the mobile terminal and encoding the fingerprint digital signal obtained by the analog-to-digital conversion, and can be obtained by using the fingerprint authentication method applied to the application program of the mobile terminal in steps 201 to 205.
In one embodiment, after receiving a fingerprint authentication request sent by an application program, an authentication server may analyze a relevant field of the fingerprint authentication request to obtain a to-be-authenticated fingerprint code carried by the fingerprint authentication request.
Step 303, responding to the fingerprint authentication request, determining a user identifier corresponding to the to-be-authenticated fingerprint code, and querying a fingerprint authentication comparison sequence of the to-be-authenticated user according to the user identifier.
In one embodiment, if the fingerprint authentication request carries the user identifier, the authentication server obtains the user identifier carried by the authentication request by analyzing a relevant field of the authentication request, and then queries a stored fingerprint authentication comparison sequence corresponding to the user identifier, that is, a fingerprint authentication comparison sequence to be compared by the user to be authenticated. If the fingerprint authentication request does not carry the user identifier, the authentication server queries the corresponding relation between the pre-stored device identifier or network address and the user identifier through the device identifier or network address of the mobile terminal sending the authentication request to obtain the user identifier corresponding to the fingerprint authentication request, and then stores a fingerprint authentication comparison sequence corresponding to the user identifier, namely, a fingerprint authentication comparison sequence to be compared by the user to be authenticated.
And 305, obtaining a fingerprint authentication processing result according to the code to be authenticated and the fingerprint authentication comparison sequence.
In one embodiment, after the authentication server obtains the fingerprint code to be authenticated, the fingerprint code to be authenticated is decoded into a corresponding fingerprint digital signal sequence, the fingerprint digital signal sequence obtained by decoding is compared with the fingerprint authentication comparison sequence to obtain the similarity between the fingerprint digital signal sequence and the fingerprint authentication comparison sequence, if the similarity is higher than a preset threshold value, if the similarity is higher than ninety-five percent, the fingerprint authentication processing result that the fingerprint authentication passes is obtained, otherwise, the fingerprint authentication processing result that the fingerprint authentication does not pass is obtained.
The authentication server compares the similarity between the fingerprint digital signal sequence and the fingerprint authentication comparison sequence, can compare the proportion of the same content in the two sequences in the total sequence to obtain the similarity between the fingerprint digital signal sequence and the fingerprint authentication comparison sequence, can also convert the fingerprint digital signal sequence and the fingerprint authentication comparison sequence into corresponding vectors, and obtains the similarity between the two sequences and the like by calculating the distance between the two vectors.
In one embodiment, the authentication server responds to a fingerprint authentication request sent by an application program of the mobile terminal, obtains a corresponding authentication processing result, and sends the authentication processing result to the application program sending the fingerprint authentication request, so that the application program can perform subsequent processing.
In one embodiment, the step 305 includes:
step 305A, the fingerprint code to be authenticated is decoded into a corresponding fingerprint digital signal sequence.
In an embodiment, if the fingerprint code to be authenticated is obtained by the application program of the mobile terminal according to steps 203A and 203B, the authentication server may input the fingerprint code to be authenticated to a predetermined matrix in a predetermined second direction, and read the digital signal sequence from the matrix in the first direction to obtain the digital signal sequence corresponding to the fingerprint code to be authenticated.
For example, the fingerprint code X' to be authenticated is:
X'=(x 1 x 6 x 11 x 16 x 21 x 2 x 7 x 12 x 17 x 22 x 3 x 8 x 13 x 18 x 23 x 4 x 9 x 14 x 19 x 24 x 5 x 10 x 15 x 20 x 25 )
after the fingerprint digital signal sequence is input into a decoder, the obtained interleaving matrix written in by rows is as follows:
Figure BDA0003708330470000151
then read out according to the column, the obtained fingerprint digital signal sequence X is:
X=(x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12 x 13 x 14 x 15 x 16 x 17 x 18 x 19 x 20 x 21 x 22 x 23 x 24 x 25 )
and step 305B, equally dividing the fingerprint digital signal sequence and the fingerprint authentication comparison sequence respectively to obtain a plurality of fingerprint digital signal subsequences and a plurality of fingerprint authentication comparison subsequences.
The fingerprint digital signal sub-sequence and the fingerprint authentication ratio sub-sequence have the same number and the same length. For example, the fingerprint digital signal sequence and the fingerprint authentication alignment sequence are 35 bits, and the fingerprint digital signal sequence and the fingerprint authentication alignment sequence are divided into five equal-length sub-sequences, so as to obtain 5 7-bit fingerprint number sub-sequences and 5 7-bit fingerprint authentication alignment sequences.
In one embodiment, the authentication server performs equal-length division on the fingerprint digital signal sequence and the fingerprint authentication comparison sequence respectively according to a preset division strategy, for example, a preset division length or a preset number of subsequences obtained by division, or a preset division length and a preset number of subsequences, to obtain a plurality of fingerprint digital signal subsequences and a plurality of fingerprint authentication comparison subsequences. For example, the preset division strategy is that the division length is N bits, the fingerprint digital signal sequence and the fingerprint authentication comparison sequence are both N × M bits, the authentication server obtains one fingerprint digital signal subsequence/fingerprint authentication comparison subsequence every time the N fingerprint digital signal sequence/fingerprint authentication comparison sequence is read according to the preset division length, and finally obtains M fingerprint digital signal subsequence/fingerprint authentication comparison subsequences, where N and M are positive integers greater than 2. For another example, the preset partitioning strategy is that the number of the subsequences obtained by partitioning is X, the fingerprint digital signal sequence and the fingerprint authentication comparison sequence are both X × Y bits, the authentication server determines the length of the fingerprint digital signal sequence as X × Y bits, then obtains the length of each fingerprint digital signal subsequence/fingerprint authentication ratio pair subsequence as Y according to the preset number X of the subsequences, obtains one fingerprint digital signal subsequence/fingerprint authentication ratio pair subsequence every time the Y-bit fingerprint digital signal sequence/fingerprint authentication comparison sequence is read, and finally obtains X fingerprint digital signal subsequence/fingerprint authentication ratio pair subsequences, where X and Y are both positive integers greater than 2.
And step 305C, respectively determining the similarity of the fingerprint digital signal sub-sequence and the fingerprint authentication ratio sub-sequence according to the division sequence.
In one embodiment, the authentication server performs equal-length division on the fingerprint digital signal sequence and the fingerprint authentication comparison sequence respectively to obtain a plurality of fingerprint digital signal subsequences and a plurality of fingerprint authentication comparison subsequences, and then performs similarity comparison on the fingerprint digital signal subsequences and the fingerprint authentication comparison subsequences according to the division sequence to obtain a similarity result.
Specifically, assuming that the fingerprint digital signal sequence and the fingerprint authentication comparison sequence are M × N bits, the fingerprint digital signal sequence and the fingerprint authentication comparison sequence are divided into M N-bit fingerprint digital signal subsequences and M N-bit fingerprint authentication comparison subsequences, respectively. And the authentication server compares the similarity of the 1-N fingerprint digital signal sub-sequence with the 1-N fingerprint authentication ratio sub-sequence according to the dividing sequence to obtain a similarity result 1, compares the similarity of the N +1-2N fingerprint digital signal sub-sequence with the N +1-2N fingerprint authentication ratio sub-sequence to obtain a similarity result 2, and compares the similarity of the (M-1) N +1-M N fingerprint digital signal sub-sequence with the (M-1) N +1-M N fingerprint authentication ratio sub-sequence to obtain a similarity result M. Wherein M, N is a positive integer of 2 or more.
When comparing the similarity between two sequences, reference may be made to the above description about the similarity between the fingerprint digital signal sequence and the fingerprint authentication comparison sequence, and the method is similar, and details are not repeated herein.
And 305D, determining the proportion of the similarity higher than a preset similarity threshold in the plurality of similarities, and obtaining a fingerprint authentication processing result of the fingerprint authentication under the condition that the proportion is higher than the preset proportion.
In one embodiment, after obtaining the similarity result between each fingerprint digital signal subsequence and the fingerprint authentication ratio subsequence, the authentication server determines the number of similarity results higher than a preset similarity threshold, and obtains the ratio of the similarity results higher than the preset similarity threshold among the plurality of similarity results according to the proportional relationship between the number of similarity results higher than the preset similarity threshold and the number of all similarity results. If the authentication server determines that the occupation ratio of the similarity result higher than the preset similarity threshold is higher than the preset occupation ratio, the obtained fingerprint authentication processing result is a result that the fingerprint authentication corresponding to the authentication request sent to the application program of the mobile terminal passes the authentication; if the authentication server determines that the percentage of the similarity result which is lower than or equal to the preset similarity threshold is higher than the preset percentage, the obtained fingerprint authentication processing result is that the authentication part passes, and the fingerprint authentication corresponding to the authentication request sent to the application program of the mobile terminal does not pass.
In this embodiment, a longer burst error in the transmission process is uniformly distributed to each place of the fingerprint digital signal sequence by using an interleaving coding mode, and the comparison error rate caused by the burst error is reduced by using a segment comparison mode, so that on one hand, the security of the transmission of the fingerprint digital signal sequence is increased by using the interleaving coding mode, and on the other hand, the comparison error rate caused by error transmission or partial data loss in the transmission process is increased by using the interleaving coding mode and the segment comparison mode.
A detailed description of one embodiment provided herein follows. Fig. 4 is a flowchart illustrating a fingerprint authentication method according to an embodiment of the present application.
The user to be authenticated triggers a payment instruction, an application program on the mobile terminal initiates a payment request, and the application program of the mobile terminal sends the payment request to the payment server.
After the payment server receives the payment request, the identity authentication mode of the user, such as a face recognition mode, a password verification mode, a fingerprint authentication mode and the like, is obtained according to the application scene and the like. After obtaining the feasible identity authentication mode of the user, the authentication server can return an instruction of the feasible identity authentication mode to an application program (client).
And after receiving the multiple identity authentication modes sent by the payment server, the application program of the mobile terminal displays the feasible multiple identity authentication modes to the user to be authenticated.
After the application program of the mobile terminal receives and determines that a user selects a fingerprint authentication mode to perform identity authentication, the application program displays a fingerprint acquisition page to the user, applies for the related authority of the fingerprint acquisition device to an operating system of the mobile terminal, calls a function interface which is provided by the operating system of the mobile terminal and is related to the fingerprint acquisition device, and acquires a fingerprint electric signal generated when the user to be authenticated touches the fingerprint acquisition device through the fingerprint acquisition device.
The application program of the mobile terminal converts the fingerprint electrical signal into a corresponding fingerprint digital signal sequence according to an analog-to-digital conversion strategy, then inputs the fingerprint digital signal sequence into an interleaving encoder, obtains a fingerprint code to be authenticated according to the digital signal sequence output by the interleaving encoder, and sends a fingerprint authentication request carrying the fingerprint code to be authenticated to an authentication server according to the fingerprint code to be authenticated.
And after receiving the fingerprint authentication request sent by the application program, the authentication server obtains a fingerprint authentication processing result according to the to-be-authenticated fingerprint code and the fingerprint authentication comparison sequence, and sends the fingerprint authentication processing result to the application program.
The application program of the mobile terminal receives a fingerprint authentication processing result returned by the authentication server, and if the fingerprint authentication processing result is successful, a page with successful payment is displayed to the user; and if the fingerprint authentication processing result is that the fingerprint authentication fails, displaying the page with the failed fingerprint authentication to the user.
The application also provides a fingerprint authentication system, which comprises a mobile terminal and an authentication server, wherein the mobile terminal is provided with an application program, and the fingerprint authentication system comprises:
the application program acquires a fingerprint electric signal corresponding to the user to be authenticated through a fingerprint acquisition device of the mobile terminal; converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy; coding the digital signal sequence according to a preset coding strategy to obtain a fingerprint code to be authenticated corresponding to a user to be authenticated; and sending a fingerprint authentication request carrying the fingerprint code to be authenticated to an authentication server.
The authentication server receives a fingerprint authentication request sent by the application program and acquires a fingerprint code to be authenticated carried by the fingerprint authentication request; responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the user to be authenticated according to the determined user identifier; and obtaining a fingerprint authentication processing result according to the code to be authenticated and the fingerprint authentication comparison sequence.
The implementation scheme for solving the problem provided by the system is similar to the implementation scheme described in the method, and specific limitations in one or more embodiments corresponding to the system may refer to the limitations on the fingerprint authentication method applied to the mobile terminal application program and the fingerprint authentication method applied to the authentication server in the foregoing, which are not described again here.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a fingerprint authentication device for realizing the fingerprint authentication method. The implementation scheme of the fingerprint authentication device for solving the problem is similar to the implementation scheme described in the above method, so that the following specific limitations in one or more embodiments of the fingerprint authentication device applied to an application program or an authentication server can be referred to the above limitations on the fingerprint authentication method applied to the application program or the authentication server, and are not described herein again.
In one embodiment, as shown in fig. 5, there is provided a fingerprint authentication apparatus 500 applied to an application program of a mobile terminal, the apparatus including:
the acquisition module 501 is configured to acquire, through a fingerprint acquisition device, a fingerprint electrical signal corresponding to a user to be authenticated;
a conversion module 503, configured to convert the fingerprint electrical signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy;
the encoding module 505 is configured to encode the fingerprint digital signal sequence according to a preset encoding policy to obtain a to-be-authenticated fingerprint code corresponding to the to-be-authenticated user;
a sending module 507, configured to send a fingerprint authentication request carrying the to-be-authenticated fingerprint code to an authentication server, so that the authentication server responds to the fingerprint authentication request and performs fingerprint authentication processing based on the to-be-authenticated fingerprint code.
In one embodiment, the encoding module 505 comprises:
an input unit 5051 (not shown in the figure) for inputting the sequence of fingerprint data signals in a predetermined first direction to a predetermined matrix;
an output unit 5053 (not shown in the figure), configured to read the digital signal sequence from the matrix in the second direction, so as to obtain a to-be-authenticated fingerprint code corresponding to the to-be-authenticated user; wherein the first direction is perpendicular to the second direction.
In one embodiment, the apparatus further comprises:
a prompt module 509 (not shown in the figure) configured to output a fingerprint input prompt message, where the fingerprint input prompt message is used to prompt a user to input reference fingerprint information;
a reference collecting module 511 (not shown in the figures) for collecting a reference electrical signal corresponding to the user through the fingerprint collecting device;
a reference conversion module 513 (not shown in the figure) for converting the reference electrical signal into a reference digital signal sequence by using the analog-to-digital conversion strategy;
a reference generating module 515 (not shown in the figure) configured to send the reference source digital signal sequence to the authentication server, so that the server uses the reference digital signal sequence as the fingerprint authentication comparison sequence of the user.
In one embodiment, as shown in fig. 6, there is provided a fingerprint authentication apparatus 600, which is applied to an authentication server, the apparatus including:
the receiving module 601 is configured to receive a fingerprint authentication request sent by an application program, and acquire a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
a response module 603, configured to, in response to the fingerprint authentication request, determine a user identifier corresponding to the to-be-authenticated fingerprint code, and query, according to the user identifier, a fingerprint authentication comparison sequence corresponding to the to-be-authenticated fingerprint code;
and the processing module 605 is configured to obtain a fingerprint authentication processing result according to the to-be-authenticated fingerprint code and the fingerprint authentication comparison sequence.
In one embodiment, the processing module 605 specifically includes:
a decoding unit 6051 (not shown in the figure) for decoding the fingerprint code to be authenticated into a corresponding fingerprint digital signal sequence;
a dividing unit 6053 (not shown in the figure) configured to divide the fingerprint digital signal sequence and the fingerprint authentication comparison sequence into a plurality of fingerprint digital signal subsequences and a plurality of fingerprint authentication comparison subsequences in equal length; wherein, the fingerprint digital signal sub-sequence and the fingerprint authentication ratio sub-sequence have the same number and length;
a determining unit 6055 (not shown in the figure) for determining the similarity between the sub-sequences of the fingerprint digital signals and the sub-sequences of the fingerprint authentication ratios in the same division order according to the division order;
an authentication unit 6057 (not shown in the figure) configured to determine an occupation ratio of similarity degrees higher than a preset similarity threshold among the similarity degrees, and in a case where the occupation ratio is higher than the preset occupation ratio, determine that the fingerprint authentication processing result is that authentication is passed; and determining that the fingerprint authentication processing result is that the fingerprint authentication is not passed under the condition that the occupation ratio is lower than or equal to the preset occupation ratio.
The modules in the fingerprint authentication module device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing fingerprint authentication comparison sequence data of the user. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a fingerprint authentication method as described above as applied to an authentication server.
In one embodiment, a computer device is provided, which may be a mobile terminal, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for communicating with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a fingerprint authentication method of the above-described application level applied to a mobile terminal. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configurations shown in fig. 7 or fig. 8 are only block diagrams of some configurations relevant to the present solution, and do not constitute a limitation on the computer apparatus to which the present solution is applied, and a particular computer apparatus may include more or less components than those shown in the drawings, or may combine some components, or have a different arrangement of components.
In one embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps in the fingerprint authentication method embodiments applied to the authentication server or the steps in the fingerprint authentication method embodiments applied to the application program of the mobile terminal as described above when executing the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps in the fingerprint authentication method embodiments applied to an authentication server or the steps in the fingerprint authentication method embodiments applied to an application program of a mobile terminal described above.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps in the fingerprint authentication method embodiments described above as applied to an authentication server, or as applied to an application program of a mobile terminal.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (11)

1. A fingerprint authentication method, applied to an application program of a mobile terminal, the method comprising:
collecting a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint collecting device;
converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy;
according to a preset coding strategy, coding the fingerprint digital signal sequence to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated;
and sending a fingerprint authentication request carrying the to-be-authenticated fingerprint code to an authentication server so that the authentication server responds to the fingerprint authentication request and performs fingerprint authentication processing based on the to-be-authenticated fingerprint code.
2. The method according to claim 1, wherein the encoding the fingerprint digital signal sequence according to a preset encoding policy to obtain a to-be-authenticated fingerprint code corresponding to the to-be-authenticated user includes:
inputting the fingerprint data signal sequence to a preset matrix in a preset first direction;
reading a digital signal sequence from the matrix in a second direction to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated; wherein the first direction is perpendicular to the second direction.
3. The method according to claim 1, wherein before performing collecting the fingerprint electrical signal corresponding to the user to be authenticated by the fingerprint collecting device, the method further comprises:
outputting fingerprint input prompt information, wherein the fingerprint input prompt information is used for prompting a user to input reference fingerprint information;
acquiring a reference electric signal corresponding to the user through the fingerprint acquisition device;
converting the reference electrical signal into a reference digital signal sequence by using the analog-to-digital conversion strategy;
and sending the reference source digital signal sequence to the authentication server so that the server takes the reference digital signal sequence as a fingerprint authentication comparison sequence of the user.
4. A fingerprint authentication method is applied to an authentication server, and comprises the following steps:
receiving a fingerprint authentication request sent by an application program, and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the fingerprint code to be authenticated according to the user identifier;
and obtaining a fingerprint authentication processing result according to the fingerprint code to be authenticated and the fingerprint authentication comparison sequence.
5. The method according to claim 4, wherein obtaining a fingerprint authentication processing result according to the comparison sequence between the to-be-authenticated code and the fingerprint authentication comprises:
decoding the fingerprint code to be authenticated into a corresponding fingerprint digital signal sequence;
respectively carrying out equal-length division on the fingerprint digital signal sequence and the fingerprint authentication comparison sequence to obtain a plurality of fingerprint digital signal subsequences and a plurality of fingerprint authentication comparison subsequences; wherein, the fingerprint digital signal sub-sequence and the fingerprint authentication ratio sub-sequence have the same number and length;
according to the division sequence, determining the similarity between the fingerprint digital signal sub-sequence with the same division sequence and the fingerprint authentication ratio sub-sequence;
determining the occupation ratio of the similarity higher than a preset similarity threshold in the plurality of similarities, and determining that the fingerprint authentication processing result is that the fingerprint authentication passes under the condition that the occupation ratio is higher than the preset occupation ratio; and determining that the fingerprint authentication processing result is that the fingerprint authentication is not passed under the condition that the occupation ratio is lower than or equal to the preset occupation ratio.
6. A fingerprint authentication system is characterized in that the system comprises a mobile terminal and an authentication server, wherein an application program is installed in the mobile terminal, and the fingerprint authentication system comprises:
the application program is used for acquiring a fingerprint electric signal corresponding to a user to be authenticated through a fingerprint acquisition device of the mobile terminal; converting the fingerprint electric signal into a fingerprint digital signal sequence by using an analog-to-digital conversion strategy; coding the digital signal sequence according to a preset coding strategy to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated; sending a fingerprint authentication request carrying the fingerprint code to be authenticated to an authentication server;
the authentication server is used for receiving a fingerprint authentication request which is sent by the application program and carries the fingerprint code to be authenticated, and acquiring the fingerprint code to be authenticated carried by the fingerprint authentication request; responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the user to be authenticated according to the user identifier; and obtaining a fingerprint authentication processing result according to the to-be-authenticated encoding and decoding and the fingerprint authentication comparison sequence.
7. A fingerprint authentication apparatus, wherein the apparatus is applied to an application program of a mobile terminal, the apparatus comprising:
the acquisition module is used for acquiring a fingerprint electric signal corresponding to a user to be authenticated through the fingerprint acquisition device;
the conversion module is used for converting the fingerprint electric signal into a fingerprint digital signal sequence by utilizing an analog-to-digital conversion strategy;
the coding module is used for coding the fingerprint digital signal sequence according to a preset coding strategy to obtain a fingerprint code to be authenticated corresponding to the user to be authenticated;
and the sending module is used for sending a fingerprint authentication request carrying the to-be-authenticated fingerprint code to an authentication server so that the authentication server responds to the fingerprint authentication request and carries out fingerprint authentication processing based on the to-be-authenticated fingerprint code.
8. A fingerprint authentication device is applied to an authentication server, and the device comprises:
the receiving module is used for receiving a fingerprint authentication request sent by an application program and acquiring a to-be-authenticated fingerprint code carried by the fingerprint authentication request; the fingerprint code to be authenticated is obtained by performing analog-to-digital conversion on the acquired fingerprint electrical signal by an application program of the mobile terminal and encoding a fingerprint digital signal obtained by the analog-to-digital conversion;
the response module is used for responding to the fingerprint authentication request, determining a user identifier corresponding to the fingerprint code to be authenticated, and inquiring a fingerprint authentication comparison sequence corresponding to the fingerprint code to be authenticated according to the user identifier;
and the processing module is used for obtaining a fingerprint authentication processing result according to the fingerprint code to be authenticated and the fingerprint authentication comparison sequence.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 3 or 4 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3 or 4 to 5.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 3 or 4 to 5.
CN202210711767.XA 2022-06-22 2022-06-22 Fingerprint authentication method and device and computer equipment Pending CN115086050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210711767.XA CN115086050A (en) 2022-06-22 2022-06-22 Fingerprint authentication method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210711767.XA CN115086050A (en) 2022-06-22 2022-06-22 Fingerprint authentication method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN115086050A true CN115086050A (en) 2022-09-20

Family

ID=83254107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210711767.XA Pending CN115086050A (en) 2022-06-22 2022-06-22 Fingerprint authentication method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN115086050A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135318A1 (en) * 2014-03-12 2015-09-17 深圳市汇顶科技股份有限公司 Fingerprint detection circuit and fingerprint detection apparatus
CN205486539U (en) * 2016-01-11 2016-08-17 靳玉清 Multi -functional removal pos machine
CN110008855A (en) * 2019-03-18 2019-07-12 昆山丘钛微电子科技有限公司 Display device and display device verification method
CN113704711A (en) * 2021-10-29 2021-11-26 南京数睿数据科技有限公司 Digital fingerprint traitor tracing watermark embedding method based on reference sharing mechanism

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015135318A1 (en) * 2014-03-12 2015-09-17 深圳市汇顶科技股份有限公司 Fingerprint detection circuit and fingerprint detection apparatus
CN205486539U (en) * 2016-01-11 2016-08-17 靳玉清 Multi -functional removal pos machine
CN110008855A (en) * 2019-03-18 2019-07-12 昆山丘钛微电子科技有限公司 Display device and display device verification method
CN113704711A (en) * 2021-10-29 2021-11-26 南京数睿数据科技有限公司 Digital fingerprint traitor tracing watermark embedding method based on reference sharing mechanism

Similar Documents

Publication Publication Date Title
US10305897B2 (en) Gesture-based signature authentication
WO2019153867A1 (en) Two-dimensional code generation and identification
CN110019865B (en) Mass image processing method and device, electronic equipment and storage medium
US20160042183A1 (en) Generating identifier
CN116522003B (en) Information recommendation method, device, equipment and medium based on embedded table compression
CN115086050A (en) Fingerprint authentication method and device and computer equipment
CN114553556B (en) Data encryption method, device, computer equipment and storage medium
US20050039015A1 (en) Electronic writing device and method for generating an electronic signature
CN115442131A (en) Login method, login device, computer equipment and storage medium
US9231924B2 (en) Gesture-initiated encryption using error correction coding
CN109558387B (en) Method and device for processing identity card number, storage medium and terminal
CN115811318B (en) Polar code encoding method, device, communication equipment and storage medium
CN115866542B (en) Short message verification code application and verification method, device, equipment and storage medium
CN114429319A (en) Random verification code processing method and device, computer equipment and storage medium
CN112073174B (en) Communication account decryption method, device, equipment, storage medium and information interaction system
CN111046241B (en) Graph storage method and device for flow graph processing
CN114070325A (en) Text data compression method and device, computer equipment and storage medium
CN114238218A (en) Bidding data processing method and device, computer equipment and storage medium
CN116861396A (en) Login method, device, apparatus, storage medium and program product
CN117240578A (en) Flow integrity verification method and device, computer equipment and storage medium thereof
CN116866419A (en) Information pushing method, device, computer equipment and storage medium
CN117436888A (en) Payment service processing method, device, computer equipment and storage medium
CN115129713A (en) Data retrieval method, data retrieval device, computer equipment and storage medium
CN116894428A (en) Text conversion method and device and computer equipment
CN115688195A (en) Block access control method, authentication method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination