CN113408583B - Identity verification method, device and equipment - Google Patents

Identity verification method, device and equipment Download PDF

Info

Publication number
CN113408583B
CN113408583B CN202110538547.7A CN202110538547A CN113408583B CN 113408583 B CN113408583 B CN 113408583B CN 202110538547 A CN202110538547 A CN 202110538547A CN 113408583 B CN113408583 B CN 113408583B
Authority
CN
China
Prior art keywords
information
passport
identity
decrypted
matching
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.)
Active
Application number
CN202110538547.7A
Other languages
Chinese (zh)
Other versions
CN113408583A (en
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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210507709.5A priority Critical patent/CN114743033A/en
Priority to CN202110538547.7A priority patent/CN113408583B/en
Publication of CN113408583A publication Critical patent/CN113408583A/en
Application granted granted Critical
Publication of CN113408583B publication Critical patent/CN113408583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Abstract

The embodiment of the specification discloses an identity verification method, an identity verification device and identity verification equipment. The method comprises the following steps: acquiring passport information containing encrypted identity information, which is obtained by reading an entity passport by a user terminal of a user, determining to issue country information of the entity passport based on the passport information, then decrypting the passport information based on the country information to obtain decrypted passport information, and matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result; when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user; matching the collected face image information with the face information contained in the passport information to obtain a second matching result; and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program.

Description

Identity verification method, device and equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, and a device for identity verification.
Background
With the development of information technology, internet technology is rapidly developed, and a new financial model, such as network insurance, network payment, network shopping, etc., is produced. The new financial mode is to perform financial transactions through a network platform, and various programs by which users can better perform financial transactions through the network platform have come into existence in order to meet the needs of the financial mode.
When financial transaction is carried out through a program, the identity verification of user information is a key link. When the program is needed for the foreign user, the reliability of the identity verification of the foreign user is an urgent link to be solved.
Disclosure of Invention
The embodiment of the specification provides an identity verification method, an identity verification device and identity verification equipment, and aims to solve the problem of low verification efficiency of the existing identity verification method.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
an identity verification method provided by an embodiment of the present specification includes:
acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
determining country information for issuing the entity passport based on the passport information;
decrypting the passport information based on the country information to obtain decrypted passport information;
matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result;
when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user;
matching the collected face image information with the face information contained in the passport information to obtain a second matching result;
and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program.
An identity verification device provided by the embodiment of the present specification includes:
the passport information reading module is used for acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
the country information determining module is used for determining the country information of the entity passport based on the passport information;
the passport information decryption module is used for decrypting the passport information based on the country information to obtain the decrypted passport information;
the first matching module is used for matching the decrypted passport information with prestored passport information in the chip of the entity passport to obtain a first matching result;
the face image information acquisition module is used for acquiring face image information of the user when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is greater than a preset threshold value;
the second matching module is used for matching the acquired face image information with the face information contained in the passport information to obtain a second matching result;
and the target operation authority granting module is used for allowing the user to execute target operation on a target program when the second matching result shows that the acquired face image information is consistent with the face information contained in the passport information.
An identity verification device provided in an embodiment of the present specification includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
determining country information for issuing the entity passport based on the passport information;
decrypting the passport information based on the country information to obtain decrypted passport information;
matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result;
when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user;
matching the collected face image information with the face information contained in the passport information to obtain a second matching result;
and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program.
Embodiments of the present specification provide a computer readable medium having stored thereon computer readable instructions executable by a processor to implement an identity verification method.
One embodiment of the present description achieves the following advantageous effects: obtaining passport information containing encrypted identity information, which is obtained by reading an entity passport by a user terminal of a user, determining to issue country information of the entity passport based on the passport information, then decrypting the passport information based on the country information to obtain decrypted passport information, and matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result; when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user; matching the collected face image information with the face information contained in the passport information to obtain a second matching result; and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program. The identity verification is carried out on the user through the passport information, and the identity verification efficiency and the identity verification success rate are improved. And after the user identity is successfully verified, allowing the user to execute the target operation on the target program, thereby ensuring the identity authenticity of the user using the target application program function.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flow chart of an identity verification method provided in an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating a process of encrypting and decrypting information of an electronic passport according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating an authentication process of a foreign user according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an identity verification apparatus provided in an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an identity verification apparatus provided in an embodiment of the present specification.
Detailed Description
To make the objects, technical solutions and advantages of one or more embodiments of the present disclosure more apparent, the technical solutions of one or more embodiments of the present disclosure will be described in detail and completely with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present specification, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments given herein without making any creative effort fall within the scope of protection of one or more embodiments of the present specification.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Currently, in a financial transaction service application of a network application, the identity of an applicant needs to be verified and real-name authentication is performed, and the manner of verifying the identity information of the applicant is generally to determine whether the identity verification of the applicant is passed through the identity information provided by the applicant, such as name, home address, telephone or identification card information.
However, when determining whether the applicant belongs to a credit blacklisted user or a foreign user only through the identity information provided by the applicant to determine whether the applicant passes the verification, since the financial model, such as network insurance, is transacted through the internet, the identity information provided by the applicant may be false identity information, for example, the identity information provided by the applicant may be the identity information of another person, thereby resulting in low accuracy of the identity verification.
In addition, for the foreign users, if the foreign users stay in china for a short time, the foreign users usually consume the cards or cash in china. However, as mobile payment is more and more popular in china, the consumption experience scenes of the foreign visitors are limited to a certain extent by card swiping and cash payment modes. In the existing cross-border payment mode, when a foreign user wants to use an application program of a financial transaction class, since many application programs of the financial transaction class only support a mode of binding a Chinese bank to authenticate the identity, the mode of verifying the identity of the foreign user is usually completed by binding a Chinese bank card of the foreign user, so that the function of paying in China by the foreign user is realized. However, in such a manner, the foreign-nationality user firstly needs to pay attention to the bank by virtue of the entity to open an account, transact the bank card, and then bind the bank card with the application program to complete the identity verification, and the flow of the identity verification is complex; resulting in a low authentication pass rate for the foreign user.
In order to solve the defects in the prior art, the following embodiments are provided in the present disclosure, and an identity verification method provided in the embodiments of the description will be specifically described with reference to the accompanying drawings:
fig. 1 is a schematic flow chart of an identity verification method provided in an embodiment of the present specification. From the viewpoint of a program, the execution subject of the flow may be a program installed in an application server or an application client. In this embodiment, the execution subject may be a server corresponding to the target program. In the scheme, when the identity of the foreign user is verified, the identity of the foreign user is verified through the electronic passport of the foreign user. And after the authentication of the foreign user is passed, the foreign user is allowed to use the related functions of the target program.
As shown in fig. 1, the process may include the following steps:
step 110: acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information includes encrypted identification information of the user.
The user terminal may be a mobile communication terminal, such as: the computer equipment and the user terminal can comprise a smart phone, a notebook, a tablet computer, a POS machine and even a vehicle-mounted computer and the like. In the embodiment of the present disclosure, the user terminal may be a mobile terminal having a Near Field Communication (NFC) function, and has a Near Field Communication function. By integrating the functions of an induction type card reader, an induction type card and point-to-point communication on a single chip, data exchange can be carried out under the condition of mutual proximity, and applications such as mobile payment, electronic ticketing, entrance guard, mobile identity recognition, anti-counterfeiting and the like are realized by utilizing a mobile terminal.
The NFC technology allows non-contact point-to-point data transmission between electronic devices, taking a smart phone as an example, an NFC chip is built in the phone to form a part of an RFID module, and may be used as an RFID passive tag, for example: for payment of a fee; can also be used as an RFID reader-writer, for example: used for data exchange and acquisition. NFC devices can be used as contactless smart cards, reader terminals for smart cards, and data transmission links from device to device.
The entity passport can comprise: the information of country code, name, photo, date of birth, number on passport, type of passport, place of birth, issuing organization, issuing date, validity period, signature and passport statement, etc. the photo and data of the holder are printed by laser printer, automatically generate international standard machine-readable code, and are transferred and sealed by special anti-fake film.
The physical passport in the embodiments of the present specification may be an electronic passport added with a smart chip. An electronic passport (Biometric passport) is a passport in which a minute radio frequency identification contactless chip containing Biometric information of a person to be cared is built, and the identity of a holder of a travel document can be verified by using a Biometric function such as face recognition or signature. An electronic chip can be embedded in the electronic passport and store the personal basic data of the holder, face image, fingerprint and other biological characteristics in the electronic chip, the electronic chip can be used for anti-counterfeiting, and all information in the physical passport can be stored in the chip.
The passport information may include encrypted identification information. The identity information may include information such as the user's name, photograph, date of birth, avatar, and household registration.
The user terminal with the built-in NFC chip is close to the chip of the entity passport, and the passport information stored in the chip of the entity passport can be read by the user terminal. The passport information may include: country information, identity information of the user, issuing agency information, and digest values corresponding to identity sub-information in the passport information, and the like.
The read passport information may be passport information of the electronic passport to be verified.
Step 120: determining country information for issuing the physical passport based on the passport information.
In a specific implementation process, the country information of the entity passport is issued may be determined based on country identification information in the passport information, where the country identification information may be a country code, and the country code may be a code for representing a country.
Countries with passport issuers, where passports are issued by local electronic passport issuers, for example: the provincial/jurisdictional city electronic passport issue mechanism (DS) is responsible for making a signature for the electronic passport chip data and issuing a passport. Each issuing authority has an issuing certificate issued by the national passport issuing center (CSCA). The production standard of the electronic passport is made by the international civil aviation qualification. The International Civil Aviation Organization (ICAO for short) is a special Organization of united nations, and is established for promoting the safe and orderly development of Civil Aviation all over the world. One of its responsibilities/rights is to establish the standards of an electronic passport.
Step 130: and decrypting the passport information based on the country information to obtain the decrypted passport information.
The decryption process in this step may be a process of decrypting the private key using the corresponding public key.
Step 140: and matching the decrypted passport information with prestored passport information in the chip of the entity passport to obtain a first matching result.
After the passport information is successfully decrypted, it is necessary to compare whether the passport content in the electronic passport to be verified is consistent with the pre-stored passport content. If the two passports are identical, the electronic passport to be authenticated is determined to be a real passport, and otherwise, the electronic passport is determined to be a fake passport.
In the specific comparison, in order to prevent the data leakage, the specific content data in the electronic passport does not need to be actually compared, and only the corresponding abstract value needs to be compared.
Step 150: and when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is greater than a preset threshold value, acquiring the face image information of the user.
After the passport content in the electronic passport to be verified is identical to the pre-stored passport content, and the electronic passport to be verified is determined to be a real passport, the identity of the foreign user cannot be determined, for example: when a user holds passports of other users for identity verification, the passport is a real passport, but the identity information of the user cannot be determined, and whether the biometric information of the foreign user to be verified is the same as the biometric information in the electronic passport needs to be further determined, and if the biometric information is the same as the biometric information in the electronic passport, the real electronic passport is determined to be owned by the foreign user, and the identity verification is successful.
It should be noted that the matching degree in this step may include the following two cases:
in case one, the matching degree may represent a ratio of the number of verification processes that pass verification to the total number of verification processes:
in this embodiment of the present specification, when performing identity authentication, four authentication processes may be included:
1) the private key of the DS is verified using the public key in the CSCA's public key certificate.
2) And verifying the encrypted SOD passport information by using a public key in a public key certificate of the DS.
3) Verifying identity sub-information DG1
4) Verifying identity sub-information DG2
Wherein the identity sub-information in the decrypted passport information is divided into DGs1And DG2,DG1The abstract value can be corresponding to name, ID card number, address information and the like; DG2May be the corresponding digest value of birth date, age, etc.
The four verification processes do not need to be verified in each verification process when verifying the authenticity of the electronic passport, and three verification processes can be set to pass so as to determine that the electronic passport to be verified is a real passport. At this time, the matching degree may represent the number of the electronic passport to be authenticated corresponding to the authentication process of the authentication. Of course, the number of divisions of the verification process and the number of verification processes to be verified corresponding to the specifically set real passport can be set according to actual conditions, and this is not specifically limited in the embodiments of the present specification.
In case two, the matching degree may represent the ratio of the number of identity sub-information verification passes to the total number:
after the encrypted passport information is successfully decrypted, for all identity sub-information in the decrypted passport information, the digest value of all identity sub-information is not required to be the same as the digest value pre-stored in the SOD, the matching degree can be calculated, and the preset threshold value of the matching degree is preset. As long as the preset threshold is met. That is, the abstract values of most of the identity sub-information are the same as the abstract values pre-stored in the SOD. Of course, the verification passing proportion of the identity sub-information corresponding to the matching degree can also be set according to the actual application scenario.
Step 160: and matching the acquired face image information with the face information contained in the passport information to obtain a second matching result.
In this embodiment of the present specification, it may be verified whether the identity information of the user matches the identity information in the passport by acquiring the face image information, and in other embodiments, it may also be verified that the identity of the user is verified by acquiring other biometric information of the user and comparing the biometric information with the other biometric information.
Step 170: and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program.
When the acquired face image information is the same as the face information in the passport information, it may be determined that the authenticated passport belongs to the user, and the user identity authentication is successful, allowing the user to perform a target operation for the target program.
It should be noted that the target program may represent an application program for financial transaction, such as: payment applications, lending applications, spending credit applications, shopping applications, and the like.
The target operation may be an acquisition operation of a usage right for a target function of the target program. For example: an acquisition operation of a usage right for a payment function in the payment application, an acquisition operation of a usage right for a credit function in the payment application, and the like. The target operation may include: registering the target program, using the application in the target program, and authenticating the identity of the target program.
It should be understood that the order of some steps in the method described in one or more embodiments of the present disclosure may be interchanged according to actual needs, or some steps may be omitted or deleted.
The method in fig. 1 includes acquiring passport information including encrypted identity information, which is obtained by reading an entity passport by a user terminal of a user, determining country information of issuing the entity passport based on the passport information, decrypting the passport information based on the country information to obtain decrypted passport information, and matching the decrypted passport information with passport information prestored in a chip of the entity passport to obtain a first matching result; when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user; matching the collected face image information with the face information contained in the passport information to obtain a second matching result; and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program. The identity verification is carried out on the user through the passport information, and the identity verification efficiency and the identity verification success rate are improved. And after the user identity is successfully verified, allowing the user to execute the target operation on the target program, thereby ensuring the identity authenticity of the user using the target application program function.
Based on the process of fig. 1, some specific embodiments of the process are also provided in the examples of this specification, which are described below.
Optionally, the decrypting the passport information based on the country information to obtain the decrypted passport information may specifically include:
acquiring an encrypted first public key of the issuing organization;
acquiring a second public key corresponding to the country information based on the country information;
decrypting the encrypted first public key of the issuing organization by adopting the second public key to obtain a decrypted first public key;
decrypting the encrypted identity information by using the first public key information to obtain decrypted identity information; the encrypted identity information is obtained by encrypting the private key information of the issuing organization.
When the passport information is encrypted and decrypted, a specific flow may be described with reference to fig. 2:
fig. 2 is a schematic diagram illustrating a process of encrypting and decrypting information of an electronic passport according to an embodiment of the present disclosure.
As shown in fig. 2, the subject objects involved in encryption include international civil aviation organization 210, national passport issuance center 220, and electronic passport issuance organization 230.
When the passport information is encrypted, the private key of the electronic passport issuing authority is used for encryption, the encrypted passport information can be unlocked only by the public key in the public key certificate of the electronic passport issuing authority, and the public key certificate of the electronic passport issuing authority is encrypted by the private key of the national passport issuing center, so that the public key certificate of the electronic passport issuing authority can be unlocked only by the public key of the public key certificate of the national passport issuing center. The specific encryption flow is as follows:
the international civil aviation organization is a maker of passport production standards, and can issue a set of key certificates for each country with passport issuance function, wherein the key certificates can include key pairs, specifically public keys and private keys, and when being specifically understood, the key certificates can include public key certificates and private key certificates. But what can be obtained or stored is only a public key certificate, and a private key certificate cannot be obtained by other parties.
The international civil aviation organization is responsible for generating a public key and a private key of the national passport issuance center, wherein the private key of the national passport issuance center is used for signing a public key certificate of the electronic passport issuance authority.
The national passport issuance center is responsible for generating the public key and the private key of the electronic passport issuance authority, and the private key of the electronic passport issuance authority is used for signing the passport secure data object SOD.
The encrypted passport information may include a public key certificate of the electronic passport issuer, an encrypted signature value, and digest values of the individual identification information in the passport information.
It should be noted that the secure Data Object (SOD for short) mainly includes Data Groups (DG for short) in the logical Data structureS) Hash value logical data structure secure object and signature value SOD of secure datasigndgX-hash in FIG. 2 may represent a hash value logical data structure security object for a data group in a logical data structure. SOD may contain, for example: passport letterThe specific identity information in the message and the abstract value of the name are DG1The abstract value of the ID card number is DG2… …, the digest value of the address information is DGn.
The decryption process is as follows:
the country information can be acquired from the read passport information, and the public key certificate of the national passport issuance center corresponding to the country information is acquired from the international civil aviation organization based on the country information.
And decrypting the public key certificate of the electronic passport issuing agency by using the public key in the public key certificate of the national passport issuing center.
And decrypting the passport information by using the public key in the decrypted public key certificate of the electronic passport issuing agency to obtain the decrypted passport information.
Through the encryption and decryption processes, the electronic passport generated by each electronic passport issuing mechanism can be ensured to have a strong anti-counterfeiting function, and the security of the electronic passport is improved.
More specifically, the key certificate of each national passport issuance center may be stored in a database established by the international civil aviation organization, for example: the key certificate of the national passport issuance center may be stored in the PKI root directory of the international civil aviation organization.
Besides, the key certificate of the national passport issuance center can also be stored in the server of a specific application platform, for example: may be stored in a server of the payment application platform. In practical applications, in order to ensure the security of the electronic passport, the key certificate of the passport issuance center of each country may be updated periodically, for example: however, since the passport information of the electronic passport is encrypted using the key certificate before the key certificate is replaced, the original key certificate cannot be deleted even if the key certificate is updated, and thus, a plurality of key certificates can be associated with each national passport issuance center. During storage, the key certificates can be classified and stored according to country information, and the key certificates corresponding to one country are stored in a data table. It should be noted that, in the storage, only the public keys corresponding to the countries are stored.
By the method, when the key certificate corresponding to the country is inquired subsequently, the inquiry is carried out according to the country information, so that the inquiry efficiency can be improved.
Optionally, before obtaining the first public key information corresponding to the country information based on the country information, the method may further include:
judging whether the country information has a corresponding key certificate or not based on the country information;
and when the country information corresponds to the key certificate, acquiring first public key information corresponding to the country information.
For the issue of the passport, not all countries have the passport issue function, and part of the countries do not have the passport issue function, so after the country information of the passport information is acquired, before the first public key information corresponding to the country information is acquired, whether the country corresponding to the country information has the passport issue function or not can be judged, and if not, the electronic passport to be verified is directly determined to be a forged passport. Specifically, in determining whether a country has a passport issuance function, it may be determined whether the country has a corresponding key certificate.
By the method, before the public key information corresponding to the country information is acquired, whether the issuing country corresponding to the electronic passport to be verified has the passport issuing function or not can be judged, and when the country corresponding to the country information does not have the passport issuing function, the passport to be verified can be directly judged to be a forged passport, so that subsequent verification steps are saved, and the verification efficiency is improved.
Optionally, the matching the decrypted passport information with the pre-stored passport information in the chip of the entity passport to obtain a first matching result may specifically include:
determining a plurality of identity sub-information in the decrypted passport information;
respectively calculating the abstract value corresponding to each identity sub-information in the plurality of identity sub-information;
and matching the abstract value corresponding to each identity sub-information with the abstract value prestored in the chip of the entity passport to obtain a matching result.
Optionally, the matching the digest value corresponding to each identity sub-information with the digest value pre-stored in the chip of the entity passport to obtain a matching result may specifically include:
for one piece of identity sub-information, carrying out Hash calculation on the identity sub-information to obtain an abstract value of the identity sub-information;
the abstract value is checked with the abstract value of the identity sub-information prestored in the chip of the entity passport;
and when the abstract value is the same as the abstract value of the identity sub-information prestored in the chip of the entity passport, obtaining a matching result indicating that the identity sub-information is checked correctly.
After the encrypted passport information is decrypted, it is necessary to determine whether the user identification information in the passport information is authentic, and in this case, it should be compared whether the passport content in the decrypted passport information matches the passport content at the time of generation of the passport. In the specific comparison process, in order to ensure that the user identity information is not leaked, each item of identity information in the passport can be compared one by one, and only the digest value corresponding to each item of identity information needs to be compared.
For example, in the decrypted passport information, the identity sub-information may include a name, an identification number, a birth date, address information, and the like, and for each identity sub-information, a digest value is calculated, for example: the abstract value of a name is DG1Comparing the name with the abstract value of the name in the SOD; the digest value of the ID card number is DG2Comparing the obtained result with the abstract value of the identity card number in the SOD; … …, the summary value of the address information is DGn, and is compared with the summary value of the address information in the SOD.
In calculating the digest value, the digest value may be calculated based on a pre-agreed algorithm, for example: and calculating the digest value of each identity sub-message by using a predefined hash algorithm.
When the abstract values are compared, certain fault tolerance can be allowed, the abstract values of all the identity sub-information are not required to be the same as the abstract values stored in the SOD in advance, the matching degree can be calculated, and a preset threshold value of the matching degree is preset. As long as the preset threshold is met. That is, the abstract values of most of the identity sub-information are the same as the abstract values pre-stored in the SOD.
Optionally, before acquiring the face image information of the target user when the comparison result indicates that the matching degree of the decrypted passport information and the pre-stored passport information is greater than a preset threshold, the method may further include:
and calculating the matching degree of the decrypted passport information and the prestored passport information based on the matching result.
Optionally, the calculating the matching degree between the decrypted passport information and the pre-stored passport information may specifically include:
determining the number of identity sub-information which is successfully matched with the decrypted passport information;
determining the total number of identity sub-information in the decrypted passport information;
and calculating the ratio of the number of the identity sub-information successfully matched to the total number of the identity sub-information, and determining the ratio as the matching degree.
By the method, the authenticity of the user passport information can be verified while the privacy security of the user identity information is ensured, and the passport verification efficiency is improved.
The method in the above embodiment takes the authentication of the identity of the foreign user as an example, and when the foreign user wants to use a certain function in a certain payment application, the foreign user needs to be authenticated by the real name. The specific process can be explained with reference to fig. 3:
fig. 3 is a schematic diagram illustrating an authentication process of a foreign user according to an embodiment of the present disclosure.
As shown in fig. 3, the method may specifically include the following steps:
step 301: the foreign user enters an authentication interface of the payment application program to guide the foreign user to read the electronic passport information by using the NFC, wherein the electronic passport information may include a DS root certificate, SOD data, and the like. Wherein, the DS root certificate may be the aforementioned DS key certificate.
Step 303: the country of issuance of the electronic passport is extracted from the read electronic passport information.
Step 305: according to the country information of the issuing country, whether a CSCA root certificate corresponding to the issuing country exists in the memory is queried, and the CSCA root certificate may be the above-mentioned CSCA key certificate. If not, go to step 317.
Step 307: and when the CSCA root certificate corresponding to the issuing country exists, circularly adopting the CSCA root certificate to verify the DS root certificate.
Step 309: and if one of the verification passes, jumping out of the loop, verifying the data security object in the electronic passport according to the DS public key certificate, and verifying the abstract value.
Step 311: and if the verification is passed, determining that the electronic passport is a real passport, and guiding the user to brush the face of the living body. If the verification fails, the process proceeds to step 317.
Step 313: and comparing whether the acquired living body face image information is the same as the face image information in the passport.
Step 315: if the identity of the foreign user is the same, the authentication of the foreign user is successful. If not, go to step 317.
Step 317: the verification fails.
It should be noted that the method of the above steps is only one implementation manner of the embodiment of this specification, and the DS public key certificate is decrypted first by using the public key of the public key certificate of the CSCA, and then encrypted passport data is decrypted by using the public key of the DS public key certificate. After the passport data is decrypted, the digest values of the identity information (such as name and identification number) in the passport data are compared. However, in practical application scenarios, even if the public key of CSCA is used to unlock the public key certificate of DS, only the DS certificate can be authenticated. However, the country issuing identification can be obtained from the DS public key certificate in the read passport information, and the CSCA country certificate corresponding to the country identification can also be obtained to determine whether the electronic passport is normally issued, and if the verification fails, the identity information in the SOD can be continuously verified, but the credibility is not high. But do not indicate that the preceding and following steps among the above-described steps are indispensable. The sequence can also be adjusted according to the actual application scenario.
By the method, the identity of the user is verified through the passport information, and the identity verification efficiency and the identity verification success rate are improved. And after the user identity is successfully verified, allowing the user to execute the target operation on the target program, thereby ensuring the identity authenticity of the user using the target application program function.
The method in the embodiment of the specification adopts the NFC technology to identify the electronic passport, and ensures that the electronic passport is real, effective and free of tampering; the mode of acquiring the comparison between the living human face and the passport human face in real time is adopted to ensure that the electronic passport is not used by others.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method. Fig. 4 is a schematic structural diagram of an identity verification apparatus provided in an embodiment of the present disclosure. As shown in fig. 4, the apparatus may include:
a passport information reading module 410, configured to acquire passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
a country information determination module 420 for determining country information of issuing the entity passport based on the passport information;
the passport information decryption module 430 is configured to decrypt the passport information based on the country information to obtain decrypted passport information;
the first matching module 440 is configured to match the decrypted passport information with pre-stored passport information in the chip of the entity passport to obtain a first matching result;
a face image information collecting module 450, configured to collect face image information of the user when the first matching result indicates that the matching degree between the decrypted passport information and the pre-stored passport information is greater than a preset threshold;
the second matching module 460 is configured to match the acquired face image information with the face information included in the passport information to obtain a second matching result;
and a target operation authority granting module 470, configured to allow the user to perform a target operation on a target program when the second matching result indicates that the acquired face image information is consistent with the face information included in the passport information.
The examples of this specification also provide some specific embodiments of the process based on the apparatus of fig. 4, which is described below.
Optionally, the passport information decryption module 430 may specifically include:
a first public key obtaining unit, configured to obtain an encrypted first public key of the issuing authority;
a second public key obtaining unit, configured to obtain, based on the country information, a second public key corresponding to the country information;
the first decryption unit is used for decrypting the encrypted first public key of the issuing organization by adopting the second public key to obtain a decrypted first public key;
the second decryption unit is used for decrypting the encrypted identity information by adopting the first public key information to obtain decrypted identity information; the encrypted identity information is obtained by encrypting the private key information of the issuing organization.
Optionally, the first matching module 440 may specifically include:
an identity sub-information determining unit, configured to determine a plurality of identity sub-information in the decrypted passport information;
the identity sub-information abstract value calculation unit is used for calculating the abstract value corresponding to each identity sub-information in the plurality of identity sub-information respectively;
and the first matching unit is used for matching the abstract value corresponding to each identity sub-information with the abstract value prestored in the chip of the entity passport to obtain a matching result.
Optionally, the first matching unit may specifically include:
the hash calculation subunit is configured to perform hash calculation on one piece of identity sub-information to obtain an abstract value of the identity sub-information;
the abstract value checking subunit is used for checking the abstract value with an abstract value of the identity sub-information prestored in a chip of the entity passport;
and the matching result determining subunit is used for obtaining a matching result indicating that the identity sub-information is checked correctly when the abstract value is the same as the abstract value of the identity sub-information prestored in the chip of the entity passport.
Optionally, the apparatus may further include:
and the matching degree calculating module is used for calculating the matching degree of the decrypted passport information and the prestored passport information based on the matching result.
Optionally, the matching degree calculating module may specifically include:
the matching success identity sub-information quantity determining unit is used for determining the quantity of the identity sub-information which is successfully matched with the decrypted passport information;
the identity sub information total number determining unit is used for determining the total number of the identity sub information in the decrypted passport information;
and the ratio calculating unit is used for calculating the ratio of the number of the identity sub-information successfully matched to the total number of the identity sub-information and determining the ratio as the matching degree.
Optionally, the apparatus may further include:
the key certificate acquisition module is used for acquiring key certificates of all countries; the key certificate comprises a public key;
and the classified storage module is used for storing the key certificate in a classified manner according to the country information.
Optionally, the apparatus may further include:
the judging module is used for judging whether the country information has a corresponding key certificate or not based on the country information;
and the first public key information acquisition module is used for acquiring first public key information corresponding to the country information when the country information corresponds to a secret key certificate.
Alternatively, the target program may be a program for performing a financial transaction.
Optionally, the target operation may be an operation of acquiring a usage right of a target function of the target program.
Optionally, the passport information reading module 410 may specifically include:
and the passport information reading unit is used for acquiring the passport information stored in the chip of the entity passport read by the user terminal through the NFC module.
Based on the same idea, the embodiment of the present specification further provides a device corresponding to the above method.
Fig. 5 is a schematic structural diagram of an identity verification apparatus provided in an embodiment of the present specification. As shown in fig. 5, the apparatus 500 may include:
at least one processor 510; and the number of the first and second groups,
a memory 530 communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory 530 stores instructions 520 executable by the at least one processor 510 to enable the at least one processor 510 to:
acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
determining country information for issuing the entity passport based on the passport information;
decrypting the passport information based on the country information to obtain decrypted passport information;
matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result;
when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user;
matching the collected face image information with the face information contained in the passport information to obtain a second matching result;
and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program.
Based on the same idea, the embodiment of the present specification further provides a computer-readable medium corresponding to the above method. The computer readable medium has computer readable instructions stored thereon that are executable by a processor to implement the method of:
acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
determining country information for issuing the entity passport based on the passport information;
decrypting the passport information based on the country information to obtain decrypted passport information;
matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result;
when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user;
matching the collected face image information with the face information contained in the passport information to obtain a second matching result;
and when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to execute a target operation on a target program.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and the embodiments are mainly described as different from other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital character system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: the ARC625D, AtmelAT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information which can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (19)

1. An identity verification method, comprising:
acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
determining country information for issuing the entity passport based on the passport information;
decrypting the passport information based on the country information to obtain decrypted passport information;
matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result;
when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user;
matching the collected face image information with the face information contained in the passport information to obtain a second matching result;
when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to perform a target operation on a target program;
the decrypting the passport information based on the country information to obtain the decrypted passport information specifically includes:
acquiring a first public key of an encrypted issuing organization;
acquiring a second public key corresponding to the country information based on the country information;
decrypting the encrypted first public key of the issuing organization by adopting the second public key to obtain a decrypted first public key;
decrypting the encrypted identity information by using the decrypted first public key information to obtain decrypted identity information; the encrypted identity information is obtained by encrypting the private key information of the issuing organization.
2. The method according to claim 1, wherein the matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain the first matching result specifically comprises:
determining a plurality of identity sub-information in the decrypted passport information;
respectively calculating the abstract value corresponding to each identity sub-information in the plurality of identity sub-information;
and matching the abstract value corresponding to each identity sub-information with the abstract value prestored in the chip of the entity passport to obtain a matching result.
3. The method according to claim 2, wherein the matching the digest value corresponding to each identity sub-information with the digest value pre-stored in the chip of the entity passport to obtain the matching result specifically includes:
for one piece of identity sub-information, carrying out Hash calculation on the identity sub-information to obtain an abstract value of the identity sub-information;
the abstract value is checked with the abstract value of the identity sub-information prestored in the chip of the entity passport;
and when the abstract value is the same as the abstract value of the identity sub-information prestored in the chip of the entity passport, obtaining a matching result indicating that the identity sub-information is checked correctly.
4. The method according to claim 2, before the acquiring the facial image information of the target user when the comparison result indicates that the matching degree of the decrypted passport information and the pre-stored passport information is greater than a preset threshold, further comprising:
and calculating the matching degree of the decrypted passport information and the prestored passport information based on the matching result.
5. The method according to claim 4, wherein the calculating the matching degree between the decrypted passport information and the pre-stored passport information specifically comprises:
determining the number of identity sub-information which is successfully matched with the decrypted passport information;
determining the total number of identity sub-information in the decrypted passport information;
and calculating the ratio of the number of the identity sub-information successfully matched to the total number of the identity sub-information, and determining the ratio as the matching degree.
6. The method according to claim 1, before the obtaining, based on the country information, first public key information corresponding to the country information, further comprising:
acquiring a key certificate of each country; the key certificate comprises a public key;
and storing the key certificate in a classified manner according to country information.
7. The method of claim 6, before the obtaining the first public key information corresponding to the country information based on the country information, further comprising:
judging whether the country information has a corresponding key certificate or not based on the country information;
and when the country information corresponds to the key certificate, acquiring first public key information corresponding to the country information.
8. The method of claim 1, the target program being a program for conducting a financial transaction.
9. The method according to claim 1, wherein the target operation is an acquisition operation of a usage right for a target function of the target program.
10. The method according to claim 1, wherein the acquiring passport information obtained by reading an entity passport by a user terminal of a user specifically comprises:
and acquiring passport information stored in a chip of the entity passport by the user terminal through an NFC module.
11. An identity verification device comprising:
the passport information reading module is used for acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
the country information determining module is used for determining the country information of the entity passport based on the passport information;
the passport information decryption module is used for decrypting the passport information based on the country information to obtain the decrypted passport information;
the first matching module is used for matching the decrypted passport information with prestored passport information in the chip of the entity passport to obtain a first matching result;
the face image information acquisition module is used for acquiring face image information of the user when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is greater than a preset threshold value;
the second matching module is used for matching the acquired face image information with the face information contained in the passport information to obtain a second matching result;
a target operation authority granting module, configured to allow the user to perform a target operation on a target program when the second matching result indicates that the acquired face image information matches the face information included in the passport information;
the passport information decryption module specifically comprises:
a first public key obtaining unit, configured to obtain an encrypted first public key of the issuing authority;
a second public key obtaining unit, configured to obtain, based on the country information, a second public key corresponding to the country information;
the first decryption unit is used for decrypting the encrypted first public key of the issuing organization by adopting the second public key to obtain a decrypted first public key;
the second decryption unit is used for decrypting the encrypted identity information by adopting the decrypted first public key information to obtain decrypted identity information; the encrypted identity information is obtained by encrypting the private key information of the issuing organization.
12. The apparatus according to claim 11, wherein the first matching module specifically includes:
an identity sub-information determining unit, configured to determine a plurality of identity sub-information in the decrypted passport information;
the identity sub-information abstract value calculation unit is used for calculating the abstract value corresponding to each identity sub-information in the plurality of identity sub-information respectively;
and the first matching unit is used for matching the abstract value corresponding to each identity sub-information with the abstract value prestored in the chip of the entity passport to obtain a matching result.
13. The apparatus according to claim 12, wherein the first matching unit specifically includes:
the hash calculation subunit is configured to perform hash calculation on one piece of identity sub-information to obtain an abstract value of the identity sub-information;
the abstract value checking subunit is used for checking the abstract value with an abstract value of the identity sub-information prestored in a chip of the entity passport;
and the matching result determining subunit is used for obtaining a matching result indicating that the identity sub-information is checked correctly when the abstract value is the same as the abstract value of the identity sub-information prestored in the chip of the entity passport.
14. The apparatus of claim 12, the apparatus further comprising:
and the matching degree calculating module is used for calculating the matching degree of the decrypted passport information and the prestored passport information based on the matching result.
15. The apparatus according to claim 14, wherein the matching degree calculating module specifically includes:
the matching success identity sub-information quantity determining unit is used for determining the quantity of the identity sub-information which is successfully matched with the decrypted passport information;
the identity sub information total number determining unit is used for determining the total number of the identity sub information in the decrypted passport information;
and the ratio calculating unit is used for calculating the ratio of the number of the identity sub-information successfully matched to the total number of the identity sub-information and determining the ratio as the matching degree.
16. The apparatus of claim 11, the apparatus further comprising:
the key certificate acquisition module is used for acquiring key certificates of all countries; the key certificate comprises a public key;
and the classified storage module is used for storing the key certificate in a classified manner according to the country information.
17. The apparatus of claim 16, the apparatus further comprising:
the judging module is used for judging whether the country information has a corresponding key certificate or not based on the country information;
and the first public key information acquisition module is used for acquiring first public key information corresponding to the country information when the country information corresponds to a secret key certificate.
18. An identity verification device comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring passport information obtained by reading an entity passport by a user terminal of a user; the passport information comprises encrypted identity information of the user;
determining country information for issuing the entity passport based on the passport information;
decrypting the passport information based on the country information to obtain decrypted passport information;
matching the decrypted passport information with prestored passport information in a chip of the entity passport to obtain a first matching result;
when the first matching result shows that the matching degree of the decrypted passport information and the prestored passport information is larger than a preset threshold value, acquiring the face image information of the user;
matching the collected face image information with the face information contained in the passport information to obtain a second matching result;
when the second matching result indicates that the acquired face image information is consistent with the face information contained in the passport information, allowing the user to perform a target operation on a target program;
the decrypting the passport information based on the country information to obtain the decrypted passport information specifically includes:
acquiring a first public key of an encrypted issuing organization;
acquiring a second public key corresponding to the country information based on the country information;
decrypting the encrypted first public key of the issuing organization by adopting the second public key to obtain a decrypted first public key;
decrypting the encrypted identity information by using the decrypted first public key information to obtain decrypted identity information; the encrypted identity information is obtained by encrypting the private key information of the issuing organization.
19. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement the identity verification method of any one of claims 1 to 10.
CN202110538547.7A 2021-05-18 2021-05-18 Identity verification method, device and equipment Active CN113408583B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210507709.5A CN114743033A (en) 2021-05-18 2021-05-18 Identity verification method, device and equipment
CN202110538547.7A CN113408583B (en) 2021-05-18 2021-05-18 Identity verification method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110538547.7A CN113408583B (en) 2021-05-18 2021-05-18 Identity verification method, device and equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210507709.5A Division CN114743033A (en) 2021-05-18 2021-05-18 Identity verification method, device and equipment

Publications (2)

Publication Number Publication Date
CN113408583A CN113408583A (en) 2021-09-17
CN113408583B true CN113408583B (en) 2022-04-29

Family

ID=77678893

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210507709.5A Pending CN114743033A (en) 2021-05-18 2021-05-18 Identity verification method, device and equipment
CN202110538547.7A Active CN113408583B (en) 2021-05-18 2021-05-18 Identity verification method, device and equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202210507709.5A Pending CN114743033A (en) 2021-05-18 2021-05-18 Identity verification method, device and equipment

Country Status (1)

Country Link
CN (2) CN114743033A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110299996A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 Authentication method, equipment and system
CN111277575A (en) * 2020-01-14 2020-06-12 广州交通信息化建设投资营运有限公司 Driver identity recognition method and device, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100369045C (en) * 2004-12-31 2008-02-13 中国科学院自动化研究所 Quick custom clearance method based on biological passport
CN1790390A (en) * 2005-12-28 2006-06-21 胡祥义 Safety electronic passport system
US9158957B2 (en) * 2007-09-07 2015-10-13 Apple Inc. Finger sensing apparatus using hybrid matching and associated methods
US10693650B2 (en) * 2017-12-19 2020-06-23 Mastercard International Incorporated Biometric identity verification systems, methods and programs for identity document applications and renewals
CN108650219B (en) * 2018-03-27 2021-04-20 王晓华 User identity identification method, related device, equipment and system
WO2019120324A2 (en) * 2019-03-29 2019-06-27 Alibaba Group Holding Limited Cryptography chip with identity verification
CN112559999A (en) * 2020-12-07 2021-03-26 中国平安人寿保险股份有限公司 Identity authentication method, identity authentication system, electronic device, and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110299996A (en) * 2018-03-22 2019-10-01 阿里巴巴集团控股有限公司 Authentication method, equipment and system
CN111277575A (en) * 2020-01-14 2020-06-12 广州交通信息化建设投资营运有限公司 Driver identity recognition method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114743033A (en) 2022-07-12
CN113408583A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
JP7442552B2 (en) Dynamic off-chain digital currency transaction processing
RU2679343C1 (en) Verification of contactless payment card for issuing payment certificate for mobile device
CN106576044B (en) Authentication in ubiquitous environments
US9832019B2 (en) Authentication in ubiquitous environment
US10320807B2 (en) Systems and methods relating to the authenticity and verification of photographic identity documents
KR101915676B1 (en) Card settlement terminal and card settlement system
US10607211B2 (en) Method for authenticating a user to a machine
US20220417739A1 (en) Secure data communication
CN1453744B (en) IC card, portable terminal and access control method
WO2017137888A1 (en) Systems and methods for messaging, calling, digital multimedia capture, payment transactions, global digital ledger, and national currency world digital token
WO2016055877A1 (en) Global world universal digital mobile and wearable currency image token and ledger
SG186863A1 (en) Method and devices for creating and using an identification document that can be displayed on a mobile device
JP2015525386A (en) Payment device, payment system, and payment method
CN110290134A (en) A kind of identity identifying method, device, storage medium and processor
CN101770665A (en) One-card system based on IC identification card
CN102034307A (en) Electronic wallet-based dynamic password authentication system and method
JP2019004475A (en) Authentication under ubiquitous environment
KR102122555B1 (en) System and Method for Identification Based on Finanace Card Possessed by User
CN113408583B (en) Identity verification method, device and equipment
US20190197518A1 (en) System and method using stored value tokens
JP2019194858A (en) Method and system for performing secure data exchange
KR20200022194A (en) System and Method for Identification Based on Finanace Card Possessed by User
US20180253573A1 (en) Systems and Methods for Utilizing Magnetic Fingerprints Obtained Using Magnetic Stripe Card Readers to Derive Transaction Tokens
CN112200576B (en) Block chain-based electronic certificate processing method and device
JP2004287805A (en) Slave card issuance system and slave card utilization system

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
GR01 Patent grant
GR01 Patent grant