An identity verification method, device and equipment

By obtaining and decrypting the physical passport information of foreign users, combined with face image verification, the problem of low efficiency in identity verification of foreign users is solved, and a more efficient and secure identity verification process is achieved.

CN114743033BActive Publication Date: 2024-09-03ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210507709.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-18
Publication Date
2024-09-03
Estimated Expiration
2041-05-18

AI Technical Summary

Technical Problem

Existing identity verification methods have low verification efficiency for foreign users, and foreign users need complicated bank card binding processes when using financial transaction applications in China, resulting in a low authentication pass rate.

Method used

By obtaining the user's physical passport information, decrypting it based on country information and matching it with pre-stored information, combined with facial image information verification, the authenticity of the user's identity is ensured to allow target operations.

Benefits of technology

It improves the efficiency and success rate of identity verification, simplifies the identity verification process for foreign users, and ensures the authenticity of user identities and the security of financial transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114743033B
    Figure CN114743033B
Patent Text Reader

Abstract

The embodiments of this specification disclose an identity verification method, device and equipment. The method includes: obtaining passport information containing encrypted identity information obtained by reading a physical passport by a user terminal of a user, determining the country information of the physical passport based on the passport information, and then decrypting the passport information based on the country information to obtain the decrypted passport information, matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result; when the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold, collecting the user's facial image information; matching the collected facial image information with the facial information contained in the passport information to obtain a second matching result; when the second matching result indicates that the collected facial image information is consistent with the facial information contained in the passport information, allowing the user to perform a target operation on the target program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to an identity verification method, device and equipment. Background Art

[0002] With the development of information technology, Internet technology has also developed rapidly, and a new financial model has emerged, such as online insurance, online payment, online shopping, etc. This new financial model is to conduct financial transactions through the network platform. In order to meet the needs of this financial model, various programs have emerged, and users can better realize financial transactions through the network platform through these programs.

[0003] When conducting financial transactions through the program, the identity verification of user information is a key link. When foreign users need to use the program, the reliability of the identity verification of foreign users is an urgent link to be solved. Summary of the invention

[0004] The embodiments of this specification provide an identity verification method, device and equipment to solve the problem of low verification efficiency in existing identity verification methods.

[0005] To solve the above technical problems, the embodiments of this specification are implemented as follows:

[0006] An identity verification method provided in an embodiment of this specification includes:

[0007] Acquire passport information obtained by reading the physical passport through the user terminal of the user; the passport information includes the encrypted identity information of the user;

[0008] Determining the country information that issued the physical passport based on the passport information;

[0009] Decrypting the passport information based on the country information to obtain decrypted passport information;

[0010] Matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result;

[0011] When the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold, collecting the facial image information of the user;

[0012] Matching the collected facial image information with the facial information included in the passport information to obtain a second matching result;

[0013] When the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information, the user is allowed to perform a target operation on the target program.

[0014] An identity verification device provided in an embodiment of this specification includes:

[0015] A passport information reading module, used to obtain passport information obtained by a user terminal of a user reading a physical passport; the passport information includes the encrypted identity information of the user;

[0016] A country information determination module, used to determine the country information of issuing the physical passport based on the passport information;

[0017] A passport information decryption module, used to decrypt the passport information based on the country information to obtain the decrypted passport information;

[0018] A first matching module, used to match the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result;

[0019] A facial image information acquisition module, configured to acquire the facial image information of the user when the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold;

[0020] A second matching module is used to match the collected facial image information with the facial information included in the passport information to obtain a second matching result;

[0021] The target operation permission granting module is used to allow the user to perform a target operation on a target program when the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information.

[0022] An identity verification device provided in an embodiment of this specification includes:

[0023] at least one processor; and,

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

[0025] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0026] Acquire passport information obtained by reading the physical passport through the user terminal of the user; the passport information includes the encrypted identity information of the user;

[0027] Determining the country information that issued the physical passport based on the passport information;

[0028] Decrypting the passport information based on the country information to obtain decrypted passport information;

[0029] Matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result;

[0030] When the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold, collecting the facial image information of the user;

[0031] Matching the collected facial image information with the facial information included in the passport information to obtain a second matching result;

[0032] When the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information, the user is allowed to perform a target operation on the target program.

[0033] An embodiment of the present specification provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement an identity verification method.

[0034] An embodiment of the present specification realizes the following beneficial effects: by obtaining the passport information containing encrypted identity information obtained by reading the physical passport by the user terminal of the user, determining the country information of the issuing physical passport based on the passport information, and then decrypting the passport information based on the country information to obtain the decrypted passport information, matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result; 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, collecting 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 collected face image information is consistent with the face information contained in the passport information, allowing the user to perform the target operation on the target program. The identity of the user is verified through the passport information, thereby improving the efficiency of identity verification and the success rate of identity verification. The user is allowed to perform the target operation on the target program only after the identity verification of the user is successful, thereby ensuring the identity authenticity of the user using the function of the target application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0036] Figure 1 A flowchart of an identity verification method provided in an embodiment of this specification;

[0037] Figure 2 A schematic diagram of an electronic passport information encryption and decryption process provided in an embodiment of this specification;

[0038] Figure 3 A schematic diagram of the identity verification process for foreign users provided in the embodiments of the specification;

[0039] Figure 4 A schematic diagram of the structure of an identity verification device provided in an embodiment of this specification;

[0040] Figure 5 A schematic diagram of the structure of an identity verification device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this description, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of one or more embodiments of this specification.

[0042] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0043] Currently, in financial transaction service applications on online applications, it is necessary to verify the identity of the applicant and perform real-name authentication. The way to verify the identity information of the applicant is usually through the identity information provided by the applicant, such as name, home address, telephone number or ID card information, to determine whether the applicant has passed the identity verification.

[0044] However, when determining whether the applicant is a user on the credit blacklist or a foreign user only through the identity information provided by the applicant to determine whether the applicant has passed the verification, since the financial model, such as online insurance, is traded 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, resulting in low accuracy of identity verification.

[0045] Moreover, for foreign users, if they are only staying in China for a short period of time, most of their consumption in China is by swiping cards or paying in cash. However, as mobile payment becomes more and more popular in China, swiping cards and paying in cash have limited the consumption experience of inbound foreign tourists to a certain extent. In the existing cross-border payment model, when foreign users want to use financial transaction applications, many financial transaction applications only support identity authentication by binding to Chinese banks. Therefore, the identity authentication method of foreign users is usually completed by binding their Chinese bank cards to realize the payment function of foreign users in China. However, in this way, foreign users first need to go to the bank with their physical passports to open an account and apply for a bank card, and then bind the bank card to the application to complete the identity verification. The identity authentication process is relatively complicated, resulting in a very low authentication pass rate for foreign users.

[0046] In order to solve the defects in the prior art, this solution provides the following embodiments, which specifically illustrate an identity verification method provided in the embodiment of the specification with reference to the accompanying drawings:

[0047] Figure 1 A flowchart of an identity verification method provided in an embodiment of this specification. From a program perspective, the execution subject of the process can be a program or application client installed on an application server. In an embodiment of this specification, the execution subject can be a server corresponding to the target program. In this solution, when authenticating a foreign user, the foreign user's identity is verified through the foreign user's electronic passport. After the foreign user passes the identity authentication, he is allowed to use the relevant functions of the target program.

[0048] like Figure 1 As shown, the process may include the following steps:

[0049] Step 110: Obtain passport information obtained by the user terminal of the user by reading the physical passport; the passport information includes the encrypted identity information of the user.

[0050] The user terminal may be a mobile communication terminal, such as a computer device, and the user terminal may include a smart phone, a notebook, a tablet computer, a POS machine, or even a car computer. In the embodiments of this specification, the user terminal may be a mobile terminal with a near field communication (NFC) function, and has a near field communication function. By integrating the functions of an inductive card reader, an inductive card, and point-to-point communication on a single chip, data can be exchanged when they are close to each other, and mobile terminals can be used to realize applications such as mobile payment, electronic ticketing, access control, mobile identity recognition, and anti-counterfeiting.

[0051] NFC technology allows contactless point-to-point data transmission between electronic devices. For example, a smartphone has a built-in NFC chip, which forms part of the RFID module and can be used as an RFID passive tag, for example, to pay for things; it can also be used as an RFID reader, for example, for data exchange and collection. NFC devices can be used as contactless smart cards, smart card reader terminals, and device-to-device data transmission links.

[0052] A physical passport may include: country code, name, photo, date of birth, passport number, passport type, place of birth, issuing agency, issue date, validity period, signature and passport declaration, etc. The photo and information of the passport holder are printed by a laser printer, which automatically generates an international standard machine-readable code and is sealed with a special anti-counterfeiting film.

[0053] The physical passport in the embodiments of this specification may be an electronic passport with an added smart chip. An electronic passport (Biometric passport) is a passport with a built-in tiny radio frequency identification contactless chip containing the holder's biometric information, which can use biometric identification functions such as face recognition or signature to prove the identity of the holder of the travel document. An electronic chip can also be embedded in the electronic passport, and the electronic chip can store the holder's basic personal information, face image, fingerprint and other biometric features. The electronic chip can be used for anti-counterfeiting, and the chip can store all the information in the physical passport.

[0054] Passport information may contain encrypted identity information, which may include the user's name, photo, date of birth, headshot, and household registration information.

[0055] When a user terminal with a built-in NFC chip is placed close to the chip of a physical passport, the user terminal can read the passport information stored in the chip of the physical passport. The passport information may include: country information, user identity information, issuing agency information, and summary values ​​corresponding to identity sub-information in the passport information, etc.

[0056] The passport information read may be the passport information of the electronic passport to be verified.

[0057] Step 120: Determine the country information that issued the physical passport based on the passport information.

[0058] In a specific implementation process, the country information that issues the physical passport may be determined based on the country identification information in the passport information. The country identification information may be a country code, and the country code may be a code used to indicate a country.

[0059] In countries with passport issuing agencies, passports are issued by local electronic passport issuing agencies, such as provincial / municipality electronic passport issuing agencies (Document Signer, referred to as DS), which are responsible for making signatures for electronic passport chip data and issuing passports. Each issuing agency has an issuance certificate issued by its own country's national passport issuing center (Country Signing, referred to as CSCA). The production standards of electronic passports are formulated by the International Civil Aviation Qualification. The International Civil Aviation Organization (ICAO) is a specialized agency of the United Nations established to promote the safe and orderly development of civil aviation throughout the world. One of its responsibilities / rights is to formulate standards for electronic passports.

[0060] Step 130: Decrypt the passport information based on the country information to obtain decrypted passport information.

[0061] The decryption process in this step can be a process of decrypting a private key using a corresponding public key.

[0062] Step 140: Match the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result.

[0063] After the passport information is successfully decrypted, it is necessary to compare the passport content in the electronic passport to be verified with the pre-stored passport content to see if they are consistent. If they are consistent, it is determined that the electronic passport to be verified is a real passport, otherwise it is a forged passport.

[0064] During the specific comparison, in order to prevent data leakage, there is no need to actually compare the specific content data in the electronic passport, only the corresponding summary value needs to be compared.

[0065] Step 150: When the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold, the facial image information of the user is collected.

[0066] When the passport content in the electronic passport to be verified is consistent with the pre-stored passport content and it is determined that the electronic passport to be verified is a real passport, the identity of the foreign user cannot be determined. For example, a user uses another user's passport for identity verification. At this time, the passport is a real passport, but the identity information of the user cannot be determined. It is necessary to further determine whether the biometric information of the foreign user to be verified is the same as the biometric information in the electronic passport. If they are the same, it is determined that the real electronic passport belongs to the foreign user and the identity verification is successful.

[0067] It should be noted that the matching degree in this step can include the following two situations:

[0068] Case 1: The matching degree can be expressed as the ratio of the number of verification processes that have passed the verification to the total number of verification processes:

[0069] In the embodiment of this specification, when performing identity authentication, four authentication processes may be included:

[0070] 1) Use the public key in the CSCA's public key certificate to verify the DS's private key.

[0071] 2) Use the public key in the DS's public key certificate to verify the encrypted SOD passport information.

[0072] 3) Verify identity sub-information DG1.

[0073] 4) Verify identity sub-information DG2.

[0074] Among them, the identity sub-information in the decrypted passport information is divided into DG1 and DG2. DG1 can be the summary value corresponding to the name, ID number, address information, etc.; DG2 can be the summary value corresponding to the date of birth, age, etc.

[0075] When verifying the authenticity of an electronic passport, it is not necessary to pass each of the four verification processes. It can be set that three of the verification processes pass to determine that the verified electronic passport is a real passport. At this time, the matching degree can represent the number of verification processes corresponding to the verification of the electronic passport to be verified. Of course, the number of divisions of the above verification processes and the number of verification processes that need to be verified corresponding to the real passport can be set according to actual conditions, and this specification embodiment does not specifically limit this.

[0076] Case 2: The matching degree can be expressed as the proportion of the number of identity sub-information verifications that have passed to the total number:

[0077] After the encrypted passport information is successfully decrypted, for all the identity sub-information in the decrypted passport information, it is not necessary that the summary values ​​of all the identity sub-information are the same as the summary values ​​pre-stored in the SOD. The matching degree can be calculated and a preset threshold of the matching degree can be set in advance. As long as the preset threshold is met, it is sufficient. That is, as long as the summary value of most of the information in the identity sub-information is the same as the summary value pre-stored in the SOD. Of course, the verification pass ratio of the identity sub-information corresponding to the matching degree can also be set according to the actual application scenario.

[0078] Step 160: Match the collected facial image information with the facial information included in the passport information to obtain a second matching result.

[0079] In the embodiments of this specification, facial image information can be collected to verify whether the user's identity information matches the identity information in the passport. In other embodiments, other biometric information of the user can also be collected and the user's identity can be verified by comparing the other biometric information.

[0080] Step 170: When the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information, allowing the user to perform a target operation on the target program.

[0081] When the collected facial image information is the same as the facial information in the passport information, it can be determined that the verified passport belongs to the user, the user identity authentication is successful, and the user is allowed to perform the target operation on the target program.

[0082] It should be noted that the target program may represent an application program used for financial transactions, such as a payment application program, a loan application program, a consumer credit application program, a shopping application program, and the like.

[0083] The target operation may be an operation for obtaining the permission to use the target function of the target program. For example, an operation for obtaining the permission to use the payment function in the payment application, an operation for obtaining the permission to use the credit function in the payment application, etc. The target operation may include operations such as registration of the target program, use of the application in the target program, and identity authentication for the target program.

[0084] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification can be interchanged according to actual needs, or some steps can be omitted or deleted.

[0085] Figure 1The method includes obtaining the passport information including the encrypted identity information obtained by reading the physical passport by the user terminal of the user, determining the country information of the physical passport based on the passport information, and then decrypting the passport information based on the country information to obtain the decrypted passport information, matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result; 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, collecting the face image information of the user; matching the collected face image information with the face information included in the passport information to obtain a second matching result; when the second matching result indicates that the collected face image information is consistent with the face information included in the passport information, allowing the user to perform the target operation on the target program. The identity of the user is verified by the passport information, thereby improving the efficiency of the identity verification and the success rate of the identity verification. The user is allowed to perform the target operation on the target program only after the identity verification of the user is successful, thereby ensuring the identity authenticity of the user who uses the function of the target application.

[0086] based on Figure 1 The method, the examples of this specification also provide some specific implementation plans of the method, which are described below.

[0087] Optionally, decrypting the passport information based on the country information to obtain the decrypted passport information may specifically include:

[0088] Obtaining the encrypted first public key of the issuing authority;

[0089] Based on the country information, obtaining a second public key corresponding to the country information;

[0090] Decrypting the encrypted first public key of the issuing organization using the second public key to obtain the decrypted first public key;

[0091] The encrypted identity information is decrypted using the first public key information to obtain the decrypted identity information; the encrypted identity information is encrypted using the private key information of the issuing organization.

[0092] It should be noted that when encrypting and decrypting passport information, the specific process can be combined with Figure 2 To explain:

[0093] Figure 2 This is a schematic diagram of the electronic passport information encryption and decryption process provided in an embodiment of this specification.

[0094] like Figure 2As shown, the subject objects involved in encryption include the International Civil Aviation Organization 210, the National Passport Issuing Center 220, and the electronic passport issuing agency 230.

[0095] When encrypting passport information, the private key of the electronic passport issuing agency is used for encryption. Only the public key in the public key certificate of the electronic passport issuing agency can decrypt the encrypted passport information. The public key certificate of the electronic passport issuing agency is encrypted with the private key of the National Passport Issuing Center. Therefore, only the public key of the public key certificate of the National Passport Issuing Center can decrypt the public key certificate of the electronic passport issuing agency. The specific encryption process is as follows:

[0096] ICAO is the setter of passport production standards. ICAO can issue a set of key certificates to each country with passport issuance function. The key certificate can contain a key pair, which can include a public key and a private key. When it comes to specific understanding, it can be understood that the key certificate contains a public key certificate and a private key certificate. However, only the public key certificate can be obtained or stored, and the private key certificate cannot be obtained by other parties.

[0097] ICAO is responsible for generating the public and private keys of the National Passport Issuing Center, where the private key of the National Passport Issuing Center is used to sign the public key certificate of the electronic passport issuing agency.

[0098] The National Passport Issuing Center is responsible for generating the public and private keys of the electronic passport issuing agency. The private key of the electronic passport issuing agency is used to sign the passport security data object SOD.

[0099] The encrypted passport information may include the public key certificate of the electronic passport issuing agency, the encrypted signature value, and the summary value of each identity information in the passport information.

[0100] It should be noted that the Document Security Object (SOD) mainly includes the Data Groups (DGs) in the logical data structure. S ) hash value logical data structure security object and signature value SOD of security data sign , Figure 2 The dgX-hash in the logical data structure can represent the hash value of the data group in the logical data structure. The SOD can contain, for example, specific identity information in the passport information, the summary value of the name is DG1, the summary value of the ID card number is DG2, ..., and the summary value of the address information is DGn.

[0101] The decryption process is as follows:

[0102] The country information can be obtained from the read passport information, and based on the country information, the public key certificate of the national passport issuing center corresponding to the country information can be obtained from the International Civil Aviation Organization.

[0103] The public key in the public key certificate of the National Passport Issuing Center is used to decrypt the public key certificate of the electronic passport issuing agency.

[0104] The passport information is decrypted using the public key in the public key certificate of the electronic passport issuing agency to obtain the decrypted passport information.

[0105] Through the above encryption and decryption process, it can be ensured that the electronic passports generated by various electronic passport issuing institutions have strong anti-counterfeiting functions, thereby improving the security of electronic passports.

[0106] More specifically, the key certificates of each national passport issuing center can be stored in the database established by ICAO. For example, the key certificates of the national passport issuing center can be stored in the PKI root directory of ICAO.

[0107] In addition, the key certificate of the National Passport Issuing Center can also be stored in the server of a specific application platform, for example, it can be stored in the server of a payment application platform. In actual applications, in order to ensure the security of electronic passports, the key certificates of each national passport issuing center can be updated regularly, for example, the key certificate is replaced every two years. However, before the key certificate is replaced, the passport information of the electronic passport is encrypted using the key certificate before the update. Even if the key certificate is updated, the original key certificate cannot be deleted. Therefore, each national passport issuing center can correspond to multiple key certificates. When storing, it can be classified and stored according to national information, and the key certificate corresponding to a country is stored in a data table. It should be noted that when storing, only the public keys corresponding to each country are stored.

[0108] Through the above method, when the key certificate corresponding to the country is subsequently queried, the query can be performed according to the country information, which can improve the query efficiency.

[0109] Optionally, before obtaining the first public key information corresponding to the country information based on the country information, the method may further include:

[0110] Based on the country information, determining whether the country information has a corresponding key certificate;

[0111] When the country information corresponds to a key certificate, first public key information corresponding to the country information is obtained.

[0112] Regarding the issuance of passports, not all countries have the passport issuance function, and some countries do not have the passport issuance function. Therefore, after obtaining the country information of the passport information and before obtaining the first public key information corresponding to the country information, it can be determined whether the country corresponding to the country information has the passport issuance function. If not, it can be directly determined that the electronic passport to be verified is a forged passport. Specifically, when determining whether a country has the passport issuance function, it can be determined whether the country has the corresponding key certificate.

[0113] Through the above method, before obtaining the public key information corresponding to the country information, it can be determined whether the issuing country corresponding to the electronic passport to be verified has the passport issuing function. When the country corresponding to the country information does not have the passport issuing function, it can be directly determined that the passport to be verified is a forged passport, saving subsequent verification steps and improving verification efficiency.

[0114] Optionally, matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result may specifically include:

[0115] Determining a plurality of identity sub-information in the decrypted passport information;

[0116] Calculate the summary value corresponding to each identity sub-information in the plurality of identity sub-information respectively;

[0117] The summary value corresponding to each identity sub-information is matched with the summary value pre-stored in the chip of the physical passport to obtain a matching result.

[0118] Optionally, matching the summary value corresponding to each identity sub-information with the summary value pre-stored in the chip of the physical passport to obtain a matching result may specifically include:

[0119] For one of the identity sub-information, performing a hash calculation on the identity sub-information to obtain a summary value of the identity sub-information;

[0120] Comparing the summary value with the summary value of the identity sub-information pre-stored in the chip of the physical passport;

[0121] When the summary value is identical to the summary value of the identity sub-information pre-stored in the chip of the physical passport, a matching result is obtained indicating that the identity sub-information is correctly checked.

[0122] After decrypting the encrypted passport information, it is necessary to determine whether the user identity information in the passport information is authentic. At this time, the passport content in the decrypted passport information should be compared to see if it is consistent with the passport content when the passport was generated. In the specific comparison process, in order to ensure that the user identity information is not leaked, it is not necessary to compare each piece of identity information in the passport one by one, but only to compare the summary value corresponding to each piece of identity information.

[0123] For example, in the decrypted passport information, the identity sub-information may include name, ID number, date of birth, address information, etc. For each identity sub-information, a summary value is calculated. For example: the summary value of the name is DG1, which is compared with the summary value of the name in the SOD; the summary value of the ID number is DG2, which is compared with the summary value of the ID number in the SOD; ..., the summary value of the address information is DGn, which is compared with the summary value of the address information in the SOD.

[0124] When calculating the digest value, the digest value may be calculated based on a pre-agreed algorithm, for example, using a pre-defined hash algorithm to calculate the digest value of each identity sub-information.

[0125] When comparing the summary values, a certain degree of error tolerance can be allowed. It is not necessary for the summary values ​​of all identity sub-information to be the same as the summary values ​​pre-stored in the SOD. The matching degree can be calculated and a preset threshold of the matching degree can be pre-set. As long as the preset threshold is met, it is sufficient. That is, as long as the summary values ​​of most of the information in the identity sub-information are the same as the summary values ​​pre-stored in the SOD, it is sufficient.

[0126] Optionally, when the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold, before collecting the facial image information of the target user, the following may also be included:

[0127] Based on the matching result, the matching degree between the decrypted passport information and the pre-stored passport information is calculated.

[0128] Optionally, the calculating the degree of matching between the decrypted passport information and the pre-stored passport information may specifically include:

[0129] Determining the number of identity sub-information that successfully matches the decrypted passport information;

[0130] Determining the total number of identity sub-information in the decrypted passport information;

[0131] The ratio of the number of the successfully matched identity sub-information to the total number of the identity sub-information is calculated, and the ratio is determined as the matching degree.

[0132] Through the above method, the authenticity of the user's passport information can be verified while ensuring the privacy and security of the user's identity information, thereby improving the efficiency of passport verification.

[0133] In the above embodiment, the method takes the verification of the identity of a foreign user as an example. When a foreign user wants to use a function in a payment application, the foreign user needs to be authenticated by real name. Figure 3 To explain:

[0134] Figure 3 A schematic diagram of the identity verification process for foreign users provided in the embodiments of the specification.

[0135] like Figure 3 As shown, the following steps may be specifically included:

[0136] Step 301: The foreign user enters the authentication interface of the payment application, and is guided to use NFC to read the electronic passport information, which may include a DS root certificate, SOD data, etc. The DS root certificate may be the aforementioned DS key certificate.

[0137] Step 303: extracting the issuing country of the electronic passport from the read electronic passport information.

[0138] Step 305: According to the country information of the issuing country, check whether there is a CSCA root certificate corresponding to the issuing country in the memory, and the CSCA root certificate can be the aforementioned CSCA key certificate. If not, jump to step 317.

[0139] Step 307: When there is a CSCA root certificate corresponding to the issuing country, the CSCA root certificate is used cyclically to verify the DS root certificate.

[0140] Step 309: If one of the verifications passes, the loop is exited, and the data security object in the electronic passport is verified according to the DS public key certificate, and the summary value is verified.

[0141] Step 311: If the verification is successful, it is determined that the electronic passport is a real passport, and the user is guided to perform a live face scan. If the verification is not successful, jump to step 317.

[0142] Step 313: Compare the collected live face image information with the face image information in the passport to see if they are the same.

[0143] Step 315: If they are the same, the identity verification of the foreign user is successful. If they are not the same, jump to step 317.

[0144] Step 317: Verification failed.

[0145] It should be noted that the method of the above steps is only an implementation method of the embodiment of this specification. The public key of the CSCA public key certificate is first used to unlock the DS public key certificate, and then the public key of the DS public key certificate is used to unlock the encrypted passport data. After decrypting the passport data, the summary value of each identity information (for example: name, ID number) in the passport data is compared. However, in actual application scenarios, even if the CSCA public key is not used to unlock the DS public key certificate, it can only be explained that the DS certificate may have authenticity issues. However, the national issuance mark can be obtained from the DS public key certificate in the read passport information, and the CSCA national certificate corresponding to the national mark can also be obtained. Whether the electronic passport is issued normally, if the verification fails, the identity information in the SOD can still be verified, but the credibility is not high. However, it does not mean that the previous and next steps in the above steps are indispensable. Its order can also be adjusted according to the actual application scenario.

[0146] Through the above method, the user's identity is verified through passport information, which improves the efficiency and success rate of identity verification. The user is allowed to perform the target operation on the target program only after the user's identity is successfully verified, thereby ensuring the authenticity of the user's identity using the target application function.

[0147] The method in the embodiments of this specification uses NFC technology to identify electronic passports to ensure that the electronic passports are authentic, valid and tamper-free; and uses real-time collection of living faces and passport faces for comparison to ensure that the electronic passports are not used fraudulently.

[0148] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Figure 4 This is a schematic diagram of the structure of an identity verification device provided in an embodiment of this specification. Figure 4 As shown, the device may include:

[0149] The passport information reading module 410 is used to obtain the passport information obtained by the user terminal of the user reading the physical passport; the passport information includes the encrypted identity information of the user;

[0150] A country information determination module 420, configured to determine the country information of the physical passport based on the passport information;

[0151] A passport information decryption module 430, configured to decrypt the passport information based on the country information to obtain the decrypted passport information;

[0152] A first matching module 440 is used to match the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result;

[0153] A facial image information collection module 450, configured to collect the facial image information of the user when the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold;

[0154] A second matching module 460 is used to match the collected facial image information with the facial information included in the passport information to obtain a second matching result;

[0155] The target operation permission granting module 470 is used to allow the user to perform a target operation on a target program when the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information.

[0156] based on Figure 4 The present specification also provides some specific implementation schemes of the method, which are described below.

[0157] Optionally, the passport information decryption module 430 may specifically include:

[0158] A first public key acquisition unit, used to acquire the encrypted first public key of the issuing institution;

[0159] A second public key acquisition unit, configured to acquire a second public key corresponding to the country information based on the country information;

[0160] A first decryption unit, configured to decrypt the encrypted first public key of the issuing institution using the second public key to obtain a decrypted first public key;

[0161] The second decryption unit is used to use the first public key information to decrypt the encrypted identity information to obtain the decrypted identity information; the encrypted identity information is encrypted using the private key information of the issuing organization.

[0162] Optionally, the first matching module 440 may specifically include:

[0163] An identity sub-information determination unit, used to determine a plurality of identity sub-information in the decrypted passport information;

[0164] An identity sub-information summary value calculation unit, used to respectively calculate a summary value corresponding to each of the plurality of identity sub-information;

[0165] The first matching unit is used to match the summary value corresponding to each identity sub-information with the summary value pre-stored in the chip of the physical passport to obtain a matching result.

[0166] Optionally, the first matching unit may specifically include:

[0167] A hash calculation subunit, configured to perform a hash calculation on one of the identity sub-information to obtain a summary value of the identity sub-information;

[0168] A summary value checking subunit, used for checking the summary value with the summary value of the identity sub-information pre-stored in the chip of the physical passport;

[0169] The matching result determination subunit is used to obtain a matching result indicating that the identity sub-information is correctly checked when the summary value is the same as the summary value of the identity sub-information pre-stored in the chip of the physical passport.

[0170] Optionally, the device may further include:

[0171] A matching degree calculation module is used to calculate the matching degree between the decrypted passport information and the pre-stored passport information based on the matching result.

[0172] Optionally, the matching degree calculation module may specifically include:

[0173] a unit for determining the number of successfully matched identity sub-information, used to determine the number of successfully matched identity sub-information of the decrypted passport information;

[0174] an identity sub-information total quantity determining unit, used to determine the total quantity of identity sub-information in the decrypted passport information;

[0175] The ratio calculation unit is used to calculate the ratio of the number of the successfully matched identity sub-information to the total number of the identity sub-information, and determine the ratio as the matching degree.

[0176] Optionally, the device may further include:

[0177] A key certificate acquisition module, used to obtain key certificates of various countries; the key certificate includes a public key;

[0178] The classification storage module is used to classify and store the key certificates according to country information.

[0179] Optionally, the device may further include:

[0180] A judgment module, used for judging whether the country information has a corresponding key certificate based on the country information;

[0181] The first public key information acquisition module is used to acquire the first public key information corresponding to the country information when the country information corresponds to a key certificate.

[0182] Optionally, the target program may be a program for performing financial transactions.

[0183] Optionally, the target operation may be an operation of obtaining usage rights for a target function of the target program.

[0184] Optionally, the passport information reading module 410 may specifically include:

[0185] The passport information reading unit is used to obtain the passport information stored in the chip of the physical passport by the user terminal through the NFC module.

[0186] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.

[0187] Figure 5 This is a schematic diagram of the structure of an identity verification device provided in the embodiment of this specification. Figure 5 As shown, the device 500 may include:

[0188] at least one processor 510; and,

[0189] A memory 530 in communication with the at least one processor; wherein,

[0190] The memory 530 stores instructions 520 executable by the at least one processor 510. The instructions are executed by the at least one processor 510 to enable the at least one processor 510 to:

[0191] Acquire passport information obtained by reading the physical passport through the user terminal of the user; the passport information includes the encrypted identity information of the user;

[0192] Determining the country information that issued the physical passport based on the passport information;

[0193] Decrypting the passport information based on the country information to obtain decrypted passport information;

[0194] Matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result;

[0195] When the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold, collecting the facial image information of the user;

[0196] Matching the collected facial image information with the facial information included in the passport information to obtain a second matching result;

[0197] When the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information, the user is allowed to perform a target operation on the target program.

[0198] Based on the same idea, the embodiment of this specification also provides a computer-readable medium corresponding to the above method. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the following method:

[0199] Acquire passport information obtained by reading the physical passport through the user terminal of the user; the passport information includes the encrypted identity information of the user;

[0200] Determining the country information that issued the physical passport based on the passport information;

[0201] Decrypting the passport information based on the country information to obtain decrypted passport information;

[0202] Matching the decrypted passport information with the pre-stored passport information in the chip of the physical passport to obtain a first matching result;

[0203] When the first matching result indicates that the degree of matching between the decrypted passport information and the pre-stored passport information is greater than a preset threshold, collecting the facial image information of the user;

[0204] Matching the collected facial image information with the facial information included in the passport information to obtain a second matching result;

[0205] When the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information, the user is allowed to perform a target operation on the target program.

[0206] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0207] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0208] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0209] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, 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.

[0210] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0211] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

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

[0213] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0214] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0215] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

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

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

[0218] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0219] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0220] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0221] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. 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

1. An identity verification method, comprising: Obtaining passport information obtained by reading the physical passport through the user terminal of the user; The passport information includes pre-stored identity information and identity information encrypted using the target private key; Based on the passport information, determine the country information that issued the physical passport; Based on the country information, extracting the target public key corresponding to the target private key includes: obtaining a second public key corresponding to the country information; using the second public key to decrypt the encrypted first public key of the issuing organization to obtain the target public key; Decrypting the passport information based on the target public key to obtain decrypted identity information; Matching the decrypted identity information with the pre-stored identity information to obtain a first matching result; If the first matching result meets a preset condition, identity authentication is performed based on the biometric information of the user and the biometric information in the passport information; If the identity authentication is successful, the user is allowed to perform the target operation on the target program.

2. The method according to claim 1, wherein the target private key is a private key of an issuing institution; The extracting, based on the country information, a target public key corresponding to the target private key specifically includes: Obtaining the encrypted first public key of the issuing authority in the passport information; Based on the country information, obtaining a second public key corresponding to the country information; The encrypted first public key is decrypted using the second public key to obtain a decrypted first public key.

3. The method according to claim 2, before obtaining the second public key corresponding to the country information based on the country information, further comprising: Obtain key certificates from various countries; The key certificate includes a public key; The key certificates are classified and stored according to the country information.

4. According to the method of claim 3, the acquiring, based on the country information, a second public key corresponding to the country information specifically comprises: Determine whether the key certificate corresponding to the country information exists, and obtain a determination result; If the judgment result indicates that the key certificate corresponding to the country information exists, the second public key corresponding to the country information is obtained from the key certificate corresponding to the country information.

5. The method according to claim 2, wherein the step of matching the decrypted identity information with the pre-stored identity information to obtain a first matching result comprises: Determining a plurality of identity sub-information in the decrypted identity information; Calculate the calculation summary value corresponding to each identity sub-information in the plurality of identity sub-information respectively; The calculated digest value corresponding to each identity sub-information is matched with the pre-stored digest value of each identity sub-information in the pre-stored identity information to obtain a matching result.

6. The method according to claim 5, wherein the calculating digest value corresponding to each identity sub-information is matched with the pre-stored digest value of each identity sub-information in the pre-stored identity information to obtain a matching result, specifically comprising: For any one of the identity sub-information, comparing the calculated summary value of the identity sub-information with the pre-stored summary value of the identity sub-information in the pre-stored identity information to obtain a comparison result; If the checking result indicates that the calculated digest value of the identity sub-information is the same as the pre-stored digest value, then the matching result indicating that the identity sub-information is successfully matched is generated.

7. The method according to claim 6, wherein the step of matching the decrypted identity information with the pre-stored identity information to obtain a first matching result further comprises: Based on the matching result, calculating the matching degree between the decrypted identity information and the pre-stored identity information; If the matching degree is greater than a preset threshold, a first matching result is generated indicating that the decrypted identity information matches the pre-stored identity information.

8. The method according to claim 7, wherein calculating the degree of matching between the decrypted identity information and the pre-stored identity information comprises: Determine the number of successfully matched identity sub-information in the decrypted identity information; Determining the total number of the identity sub-information in the decrypted identity information; The ratio of the number of the successfully matched identity sub-information to the total number of the identity sub-information is calculated, and the ratio is determined as the matching degree.

9. The method according to claim 2, wherein the step of matching the decrypted identity information with the pre-stored identity information to obtain a first matching result comprises: Determining pre-stored summary values ​​of multiple identity sub-information in the decrypted identity information; Calculate the calculation summary value corresponding to each identity sub-information in the pre-stored identity information respectively; The calculated digest value corresponding to each identity sub-information is matched with the pre-stored digest value of each identity sub-information to obtain a matching result.

10. The method according to claim 9, wherein the calculating digest value corresponding to each identity sub-information is matched with the pre-stored digest value of each identity sub-information to obtain a matching result, specifically comprising: For any one of the identity sub-information, comparing the calculated summary value of the identity sub-information with the pre-stored summary value to obtain a comparison result; If the checking result indicates that the calculated digest value of the identity sub-information is the same as the pre-stored digest value, then the matching result indicating that the identity sub-information is successfully matched is generated.

11. The method according to claim 10, wherein the step of matching the decrypted identity information with the pre-stored identity information to obtain a first matching result further comprises: Based on the matching result, calculating the matching degree between the decrypted identity information and the pre-stored passport information; If the matching degree is greater than a preset threshold, a first matching result is obtained that the decrypted identity information successfully matches the pre-stored passport information.

12. The method according to claim 11, wherein the calculating the degree of matching between the decrypted passport information and the pre-stored passport information comprises: Determine the number of the identity sub-information that has been successfully matched in the pre-stored identity information; Determining the total amount of the identity sub-information in the pre-stored identity information; The ratio of the number of the successfully matched identity sub-information to the total number of the identity sub-information is calculated, and the ratio is determined as the matching degree.

13. The method according to any one of claims 1 to 12, wherein after matching the decrypted identity information with the pre-stored identity information to obtain a first matching result, the method further comprises: If the first matching result indicates that the decrypted identity information successfully matches the pre-stored identity information, collecting the user's facial image information; The collected facial image information is matched with the facial information included in the passport information to obtain a second matching result.

14. The method according to claim 13, after matching the collected facial image information with the facial information included in the passport information to obtain a second matching result, further comprising: If the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information, the user is allowed to perform a target operation on a target program.

15. The method according to claim 14, wherein the target program is a program for performing financial transactions. 16 . The method according to claim 14 , wherein the target operation is an operation of obtaining usage rights for a target function of the target program.

17. According to the method of any one of claims 1 to 12, the step of obtaining passport information obtained by reading a physical passport by a user terminal of the user comprises: The pre-stored identity information and the identity information encrypted with the target private key are obtained by reading the passport information stored in the chip of the physical passport through the NFC module of the user terminal.

18. An identity verification device, comprising: A passport information reading module, used to obtain passport information obtained by a user terminal reading a physical passport; The passport information includes pre-stored identity information and identity information encrypted using the target private key; A country information determination module, used to determine the country information of issuing the physical passport based on the passport information; The target public key extraction module is used to extract the target public key corresponding to the target private key based on the country information, including: obtaining a second public key corresponding to the country information; using the second public key to decrypt the encrypted first public key of the issuing institution to obtain the target public key; A passport information decryption module, used to decrypt the passport information based on the target public key to obtain the decrypted identity information; A first matching module, used to match the decrypted identity information with the pre-stored identity information to obtain a first matching result; an identity authentication module, configured to perform identity authentication based on the biometric information of the user and the biometric information in the passport information if the first matching result meets a preset condition; The target operation permission granting module is used to allow the user to perform the target operation on the target program if the identity authentication is successful.

19. The device according to claim 18, wherein the target private key is a private key of an issuing institution; The target public key extraction module specifically includes: A first public key acquisition unit, used to acquire the encrypted first public key of the issuing authority in the passport information; A second public key acquisition unit, configured to acquire a second public key corresponding to the country information based on the country information; The first decryption unit is used to decrypt the encrypted first public key using the second public key to obtain the decrypted first public key.

20. The device according to claim 19, wherein the first matching module specifically comprises: an identity sub-information determining unit, configured to determine a plurality of identity sub-information in the decrypted identity information; A first digest value calculation unit, configured to respectively calculate a calculated digest value corresponding to each of the plurality of identity sub-information; The first matching unit is used to match the calculated summary value corresponding to each identity sub-information with the pre-stored summary value of each identity sub-information in the pre-stored identity information to obtain a matching result.

21. The device according to claim 19, wherein the first matching module specifically comprises: a pre-stored digest value determining unit, used to determine pre-stored digest values ​​of a plurality of identity sub-information in the decrypted identity information; A second digest value calculation unit, used to respectively calculate a calculated digest value corresponding to each identity sub-information in the pre-stored identity information; The second matching unit is used to match the calculated digest value corresponding to each identity sub-information with the pre-stored digest value of each identity sub-information to obtain a matching result.

22. The apparatus according to any one of claims 18 to 21, further comprising: A facial image information acquisition module, configured to acquire facial image information of the user if a first matching result indicates that the decrypted identity information successfully matches the pre-stored identity information; The second matching module is used to match the collected facial image information with the facial information included in the passport information to obtain a second matching result.

23. The apparatus according to claim 22, further comprising: The target operation permission granting module is used to allow the user to perform a target operation on a target program if the second matching result indicates that the collected facial image information is consistent with the facial information included in the passport information.

24. An identity verification device, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Obtaining passport information obtained by reading a physical passport through a user terminal of a user; the passport information includes pre-stored identity information and identity information obtained by encrypting the target private key; Based on the passport information, determine the country information that issued the physical passport; Based on the country information, extracting the target public key corresponding to the target private key includes: obtaining a second public key corresponding to the country information; using the second public key to decrypt the encrypted first public key of the issuing organization to obtain the target public key; Decrypting the passport information based on the target public key to obtain decrypted identity information; Matching the decrypted identity information with the pre-stored identity information to obtain a first matching result; If the first matching result meets a preset condition, identity authentication is performed based on the biometric information of the user and the biometric information in the passport information; If the identity authentication is successful, the user is allowed to perform the target operation on the target program.

25. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the identity verification method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Authentication method, equipment and system

    CN110299996A

  • Identity management service via virtual passport

    US10298396B1

  • Key recovery process used for strong encryption of messages

    US20010010723A1

  • Digital passport country entry stamp

    US20170301052A1