Digital identity management and authentication method, device and system

Generating and managing user digital identity identifiers and credentials through the blockchain distributed digital identity management platform, the problem of low credibility of identity information leakage and authentication in the existing technology is solved, and higher security and credibility are achieved.

CN119067654APending Publication Date: 2024-12-03THE PEOPLES BANK OF CHINA DIGITAL CURRENCY INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310648242.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-02
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The identity management system of existing digital currency wallets relies on the user's name, ID card, mobile phone number and other information, resulting in privacy leakage and reduced credibility of identity authentication.

Method used

Adopt blockchain distributed digital identity management platform to generate user digital identity identification and digital identity credentials by receiving digital identity registration requests, including characteristic information with digital signatures that uniquely identify the user, and store and manage it to provide higher security and credibility.

Benefits of technology

It effectively improves the credibility of digital identity authentication, protects the security of user information, and reduces the risk of digital identity credentials being stolen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067654A_ABST
    Figure CN119067654A_ABST
Patent Text Reader

Abstract

The invention discloses a digital identity management and authentication method, device and system, and relates to the technical field of digital currency. A specific embodiment of the method is applied to a block chain distributed digital identity management platform, and comprises the following steps: receiving a digital identity registration request, the digital identity registration request comprising registered user information; generating a user digital identity identifier for the registered user information; and correspondingly storing and managing a user digital identity identifier and one or more digital identity certificates of the registered user information for the registered user information, the digital identity certificates comprising feature information with a digital signature and uniquely identifying the user. According to the embodiment, the credibility of digital identity authentication can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital currency technology, and in particular to a digital identity management, authentication method, device and system. Background Art

[0002] At present, the account information of digital currency wallet users managed by the distributed identity management system mainly includes the name, ID card, mobile phone number, biometrics and other information directly provided by the digital wallet users. Once this information is intercepted, it will not only cause the leakage of user privacy, but also greatly reduce the credibility of digital identity authentication of digital wallet users during transactions or information updates. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a digital identity management, authentication method, device and system, which can effectively improve the credibility of digital identity authentication.

[0004] To achieve the above object, according to one aspect of an embodiment of the present invention, a digital identity management method is provided, which is applied to a blockchain distributed digital identity management platform, including:

[0005] Receiving a digital identity registration request, wherein the digital identity registration request includes registration user information;

[0006] Generating a user digital identity for the registered user information;

[0007] The user digital identity and one or more digital identity certificates of the registered user information are stored and managed corresponding to the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0008] Optionally, the digital identity management method provided in the first aspect above further includes: generating a user identity document for the registered user information;

[0009] The storing and managing the user digital identity and one or more digital identity certificates of the registered user information corresponding to the registered user information includes:

[0010] The user digital identity identifier and one or more digital identity credentials corresponding to the registered user information are stored in the user identity document.

[0011] Optionally, after generating a user digital identity for the registered user information, the method further includes:

[0012] The user digital identity is provided to the digital currency wallet of the registered user information, and it is determined that the registered user information is successfully registered.

[0013] Optionally, the digital identity management method provided in the first aspect above further includes:

[0014] Receive the digital identity certificate generated and sent by one or more certificate issuing servers for the registered user information, wherein the digital identity certificate is synchronously stored in the digital currency wallet of the registered user information, and the certificate issuing server has been registered in the blockchain distributed digital identity management platform.

[0015] Optionally, the digital identity registration request further includes: a wallet public key in a wallet public-private key pair generated by the digital currency wallet, wherein the wallet public key is used to verify the interactive information signed by the wallet private key in the wallet public-private key pair or to encrypt the interactive information of the digital currency wallet;

[0016] It also includes: determining a binding relationship between the user digital identity and the wallet public key;

[0017] The wallet public key and the binding relationship are stored in the user identity document.

[0018] Optionally, the first aspect further includes:

[0019] Receive one or more newly added digital identity credentials generated and sent by the registered user information by the credential issuance server, wherein the newly added digital identity credentials are synchronously stored in the digital currency wallet of the registered user information, and the newly added credential issuance server is registered in the blockchain distributed digital identity management platform.

[0020] Optionally, the digital signature corresponding to the digital identity certificate is derived from at least one service private key of the certificate issuing server, and a service public key corresponding to at least one service private key is stored in the blockchain distributed digital identity management platform.

[0021] Optionally, the digital signature corresponding to the digital identity certificate is formed based on the certificate chain relationship of two service key pairs of the certificate issuing server, wherein the certificate chain relationship includes: the private key of one pair of service keys signs the public key of another pair of service keys.

[0022] Optionally, the digital identity management method provided in the first aspect above further includes:

[0023] Based on the certificate chain relationship, determining the verification relationship between the two service key pairs;

[0024] The two service public keys in the two service key pairs, the verification relationship and the digital identity certificate are stored and managed in correspondence.

[0025] In a second aspect, an embodiment of the present invention provides a digital identity management method, which is applied to a digital currency client, comprising:

[0026] Sending a digital identity registration request to a blockchain distributed digital identity management platform, wherein the digital identity registration request includes registration user information;

[0027] Receiving a user digital identity identifier for the registered user information sent by the blockchain distributed digital identity management platform;

[0028] The user digital identity and one or more digital identity certificates of the received registered user information are securely stored, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0029] Optionally, the digital identity management method provided in the second aspect further includes:

[0030] Generate a wallet public-private key pair for the registered user information, and securely store a wallet private key in the wallet public-private key pair, so as to use the wallet private key to sign or decrypt interactive information;

[0031] The wallet public key in the wallet public-private key pair is added to the digital identity registration request, so that the blockchain distributed digital identity management platform stores the first digital identifier of the registered user information and the wallet public key correspondingly, so as to use the wallet public key to verify the interactive information signed by the wallet private key or encrypt the interactive information of the digital currency wallet.

[0032] Optionally, the digital identity management method provided in the second aspect further includes:

[0033] Sending a credential acquisition request to one or more credential issuance servers, wherein the credential acquisition request includes identity verification information of the registered user information;

[0034] Receive the digital identity certificate of the registered user information sent by the certificate issuing service end, wherein the digital identity certificate is generated by the certificate issuing service end based on the identity verification information.

[0035] Optionally, sending the credential acquisition request to one or more credential issuance servers includes:

[0036] Send a credential acquisition request to one or more credential issuance servers registered on the blockchain distributed digital identity management platform.

[0037] In a third aspect, an embodiment of the present invention provides a digital identity management method, which is applied to a blockchain distributed digital identity management platform, including:

[0038] Receive at least one service public key sent by the registration server;

[0039] Generate a server digital identity for the registration server, and send the server digital identity to the registration server;

[0040] Correspondingly, the server digital identity and at least one of the service public keys are stored and managed to provide an authentication basis for the digital currency wallet client.

[0041] Optionally, after generating a server digital identity for the registration server, the method further includes: generating a server document for the registration server;

[0042] The corresponding storage and management of the server digital identity and at least one of the service public keys includes:

[0043] The server digital identity and at least one of the service public keys are stored in the server document in a corresponding manner, and the server digital identity and at least one of the service public keys are managed based on the server document.

[0044] Optionally, the registration server is:

[0045] A certificate issuing server used to provide digital identity certificates to registered users of digital currency wallets.

[0046] or,

[0047] A digital currency server used to provide digital currency services to registered users of digital currency wallets.

[0048] Optionally, in the case where the registration server is a certificate issuing server for providing digital identity certificates to registered users of a digital currency wallet,

[0049] The managing the server digital identity and at least one of the service public keys based on the server document includes:

[0050] In response to receiving the digital identity certificate for the registered user of the digital currency wallet sent by the certificate issuing server, obtaining at least one service public key of the certificate issuing server from the server document of the certificate issuing server;

[0051] At least one of the service public keys of the certificate issuance service end is stored in the user identity document of the registered user corresponding to the digital identity certificate to update the user identity document of the registered user.

[0052] Optionally, the number of public and private key pairs for the service is two;

[0053] The digital identity management method further comprises: storing the certificate chain relationship of the two service public and private key pairs and / or the verification relationship corresponding to the certificate chain relationship in a server document of the credential issuing server.

[0054] Optionally, the digital identity management method further includes:

[0055] Based on the server document of the certificate issuing server, the verification relationship between the two service public and private key pairs is determined, and the verification relationship is stored in the user identity document of the registered user corresponding to the digital identity certificate.

[0056] In a fourth aspect, an embodiment of the present invention provides a digital identity management method, which is applied to a registration server, including:

[0057] Determine at least one service-use public-private key pair for the registration server, and store a service-use private key in the at least one service-use public-private key pair;

[0058] Sending the service public key of the at least one service public-private key pair to the blockchain distributed digital identity management platform;

[0059] Receive the server digital identity generated for the registration server and sent by the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform manages the server digital identity of the registration server and the service public key.

[0060] Optionally, determining at least one service-use public-private key pair comprises:

[0061] Generate a public-private key pair for a first service, and obtain a public-private key pair for a second service generated by a trusted certificate authority for the registration server.

[0062] Optionally, the digital identity management method further includes:

[0063] In case the registration server is a digital currency server,

[0064] Signing the first service public key in the first service public-private key pair using the second service private key in the second service public-private key pair;

[0065] The sending of the service public key of at least one of the service public-private key pairs to the blockchain distributed digital identity management platform includes:

[0066] The signed first service public key and the second service public key are sent to the blockchain distributed digital identity management platform.

[0067] Optionally, in the case where the registration server is a certificate issuing server,

[0068] The digital identity management method further includes:

[0069] Receiving a credential acquisition request sent by the digital currency client, wherein the credential acquisition request includes identity verification information of the registered user information;

[0070] Verifying the identity verification information;

[0071] If the verification result indicates that the verification is successful, a digital identity certificate is generated for the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user;

[0072] The digital identity certificate is distributed to the digital currency wallet client of the registered user information and the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform obtains the first service public key and / or the second service public key, and manages the first service public key and / or the second service public key and the digital identity certificate for the registered users of the digital currency wallet client.

[0073] Optionally, generating a digital identity credential for the registered user information includes:

[0074] Determine characteristic information that uniquely identifies the registered user information;

[0075] The characteristic information is digitally signed using at least one service private key to obtain the digital identity certificate.

[0076] Optionally, the digitally signing the characteristic information using at least one service private key includes:

[0077] In the case where two public and private key pairs for the service are determined,

[0078] The second service public key in the second service public-private key pair is signed by using the first service private key in the first service public-private key pair, and the characteristic information is encrypted by using the signed second service public key.

[0079] In a fifth aspect, an embodiment of the present invention provides a digital identity authentication method, which is applied to a digital currency server, comprising:

[0080] Receiving digital identity information sent by a digital currency wallet client, wherein the digital identity information includes a user digital identity and one or more target digital identity credentials, wherein the target digital identity credentials include characteristic information with a digital signature that uniquely identifies the user;

[0081] According to the user digital identity, query the first service public key of each target digital identity certificate from the blockchain distributed digital identity management platform;

[0082] For each of the target digital identity certificates, executing a first service public key based on the target digital identity certificate to verify the digital signature of the target digital identity certificate;

[0083] If the verification result of each of the target digital identity credentials indicates that the verification is passed, it is determined that the digital identity information is successfully authenticated, so as to provide services for the digital currency wallet client based on the digital identity information.

[0084] Optionally, querying the service public key of each target digital identity certificate from the blockchain distributed digital identity management platform includes:

[0085] Sending the user digital identity identifier and the identifier of the target digital identity credential to the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform searches for and verifies the first service public key based on the user digital identity identifier and the identifier of the target digital identity credential;

[0086] Receive the first service public key that has passed the verification and is sent by the blockchain distributed digital identity management platform.

[0087] Optionally, the digital identity authentication method further includes:

[0088] For each of the target digital identity certificates, verify whether the target digital identity certificate is within the validity period.

[0089] When it is determined that each of the target digital identity credentials is within the validity period and the verification result of each of the target digital identity credentials indicates that the verification is passed, it is determined that the digital identity information authentication is successful.

[0090] Optionally, the digital identity authentication method further includes:

[0091] Upon receiving an authentication trigger from a digital currency wallet client, the third service public key of the digital currency server is sent to the digital currency wallet client, so that the digital currency wallet client uses the third service public key to encrypt the user digital identity signed by the wallet private key;

[0092] Receive the encrypted user digital identity with signature and the public key for wallet sent by the digital currency client;

[0093] Decrypting the encrypted user digital identity with the signature using the stored third service private key corresponding to the third service public key;

[0094] Verify the decrypted result using the public key of the wallet;

[0095] If the verification result indicates that the verification is successful, information indicating that the verification is successful is sent to the digital currency wallet client, so that the digital currency wallet client sends the digital identity information.

[0096] Optionally, after decrypting the encrypted user digital identity with the signature by using the stored third service private key corresponding to the third service public key, the method further comprises:

[0097] Using the user digital identity with the signature, query the wallet public key of the user digital identity in the blockchain distributed digital identity management platform;

[0098] Comparing the queried wallet public key of the user digital identity with the wallet public key sent by the digital currency client;

[0099] If the comparison result indicates that the wallet public key is consistent, the step of verifying the decrypted result using the wallet public key is performed.

[0100] In a sixth aspect, an embodiment of the present invention provides a digital identity authentication method, which is applied to a blockchain distributed digital identity management platform, including:

[0101] Receiving the user digital identity identifier and one or more identifiers of the target digital identity credentials sent by the digital currency server;

[0102] For each identifier of the target digital identity certificate, searching for relevant information of the target digital identity certificate according to the user digital identity identifier and the identifier of the target digital identity certificate, and if found, verifying the first service public key included in the relevant information of the target digital identity certificate;

[0103] The first service public key that has passed the verification is sent to the digital currency server, so that the digital currency server authenticates the digital identity information sent by the digital currency wallet client based on the first service public key.

[0104] Optionally, searching for a target digital identity credential according to the user digital identity identifier and the identifier of the target digital identity credential includes:

[0105] Finding a user document corresponding to the user digital identity;

[0106] In the searched user document, relevant information of the target digital identity credential corresponding to the identifier of the target digital identity credential is searched.

[0107] In a seventh aspect, an embodiment of the present invention provides a digital identity authentication method, applied to a digital currency wallet client, comprising:

[0108] Obtaining a stored user digital identity and one or more stored target digital identity credentials;

[0109] Sending digital identity information to a digital currency server, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity credentials, wherein the target digital identity credentials include characteristic information with a digital signature that uniquely identifies the user, so that the digital currency server authenticates the digital identity information;

[0110] Receive the authentication result of the digital currency server, and based on the authentication result, receive further operations from the user.

[0111] Optionally, obtaining one or more stored target digital identity credentials includes:

[0112] For situations where multiple digital identity credentials are stored,

[0113] One or more target digital identity credentials are selected from the plurality of stored digital identity credentials.

[0114] Optionally, the digital identity authentication method further includes:

[0115] In response to an authentication trigger of the digital currency server, receiving a third service public key of the digital currency server sent by the digital currency server;

[0116] Encrypting the user digital identity signed by the wallet private key using the third service public key;

[0117] Sending the encrypted user digital identity with signature and the wallet public key to the digital currency server, so that the digital currency server verifies the user digital identity with signature;

[0118] After receiving the information indicating that the verification is successful, the step of sending the digital identity information is performed.

[0119] In an eighth aspect, an embodiment of the present invention provides a digital identity management device, which is applied to a blockchain distributed digital identity management platform, comprising: a first interface corresponding to a digital currency client, a first generation unit, and a first management unit, wherein:

[0120] The first interface is used to receive a digital identity registration request, wherein the digital identity registration request includes registration user information;

[0121] The first generating unit is used to generate a user digital identity for the registered user information;

[0122] The first management unit is used to store and manage the user digital identity and one or more digital identity certificates of the registered user information corresponding to the registered user information, wherein the digital identity certificate includes characteristic information that uniquely identifies the registered user information and a digital signature of the characteristic information.

[0123] In a ninth aspect, an embodiment of the present invention provides a digital identity management device, applied to a digital currency client, comprising: a first interaction unit and a secure storage unit, wherein:

[0124] The first interaction unit is used to send a digital identity registration request to a blockchain distributed digital identity management platform, wherein the digital identity registration request includes registered user information; receive a user digital identity identifier for the registered user information sent by the blockchain distributed digital identity management platform;

[0125] The secure storage unit is used to securely store the user digital identity and one or more digital identity certificates of the received registered user information, wherein the digital identity certificate includes characteristic information that uniquely identifies the registered user information and a digital signature of the characteristic information.

[0126] In a tenth aspect, an embodiment of the present invention provides a digital identity management device, which is applied to a blockchain distributed digital identity management platform, including: a second interface corresponding to a registration service end, a second generation unit, and a second management unit, wherein:

[0127] The second interface is used to receive at least one service public key sent by the registration server, and send the server digital identity generated by the generation unit to the registration server;

[0128] The second generating unit is used to generate a server digital identity for the registration server;

[0129] The second management unit is used to store and manage the server digital identity and at least one of the service public keys to provide an authentication basis for the digital currency wallet client.

[0130] In an eleventh aspect, an embodiment of the present invention provides a digital identity management device, applied to a registration server, comprising: a determination unit and a second interaction unit, wherein:

[0131] The determining unit is used to determine at least one service public-private key pair for the digital currency server, and store a service private key in the at least one service public-private key pair;

[0132] The second interaction unit is used to send the service public key of the at least one service public-private key pair to the blockchain distributed digital identity management platform; receive the server digital identity generated for the registration server and sent by the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform manages the server digital identity of the registration server and the service public key.

[0133] Optionally, the registration server includes:

[0134] A certificate issuing server used to provide digital identity certificates to registered users of digital currency wallets.

[0135] or,

[0136] A digital currency server used to provide digital currency services to registered users of digital currency wallets.

[0137] In the twelfth aspect, an embodiment of the present invention provides a digital identity management system, comprising: a blockchain distributed digital identity management platform having the digital identity management device provided by the eighth aspect embodiment and a digital currency client having the digital identity management device provided by the ninth aspect embodiment.

[0138] Optionally, the above-mentioned digital identity management system also includes: a registration server having the digital identity management device provided by the eleventh embodiment.

[0139] In a thirteenth aspect, an embodiment of the present invention provides a digital identity authentication device, applied to a digital currency server, comprising: a third interaction unit and an authentication unit, wherein:

[0140] The third interaction unit is used to receive digital identity information sent by the digital currency wallet client, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity certificates, wherein the target digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user;

[0141] The authentication unit is used to query the first service public key of each target digital identity certificate from the blockchain distributed digital identity management platform according to the user digital identity identifier; for each target digital identity certificate, execute the first service public key based on the target digital identity certificate to verify the digital signature of the target digital identity certificate; if the verification result of each target digital identity certificate indicates that the verification is passed, it is determined that the digital identity information authentication is successful, so as to provide services for the digital currency wallet client based on the digital identity information.

[0142] In a fourteenth aspect, an embodiment of the present invention provides a digital identity authentication device, which is applied to a blockchain distributed digital identity management platform, including: a third interface corresponding to the digital currency server and an authentication processing unit, wherein:

[0143] The third interface is used to receive the user digital identity identifier and one or more identifiers of the target digital identity credentials sent by the digital currency server;

[0144] The authentication processing unit is configured to search for relevant information of the target digital identity certificate according to the user digital identity certificate and the identifier of the target digital identity certificate for each identifier of the target digital identity certificate, and if found, verify the first service public key included in the relevant information of the target digital identity certificate;

[0145] The third interface is further used to send the verified first service public key to the digital currency server, so that the digital currency server authenticates the digital identity information sent by the digital currency wallet client based on the first service public key.

[0146] In a fifteenth aspect, an embodiment of the present invention provides a digital identity authentication device, which is applied to a digital currency wallet client, comprising: an acquisition unit and a fourth interaction unit, wherein:

[0147] The acquisition unit is used to acquire the stored user digital identity and one or more stored target digital identity credentials;

[0148] The fourth interaction unit is used to send digital identity information to the digital currency server, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity credentials, wherein the target digital identity credentials include feature information that uniquely identifies the user and a digital signature of the feature information, so that the digital currency server can authenticate the digital identity information; receive the authentication result of the digital currency server, and based on the authentication result, receive further operations from the user.

[0149] In a sixteenth aspect, an embodiment of the present invention provides a digital identity authentication system, including:

[0150] A digital currency server having the digital identity authentication device provided by the thirteenth aspect of the embodiment;

[0151] A blockchain distributed digital identity management platform having a digital identity authentication device provided by the fourteenth aspect embodiment; and,

[0152] A digital currency wallet client having the digital identity authentication device provided by the fifteenth aspect embodiment.

[0153] One embodiment of the above invention has the following advantages or beneficial effects: by registering user information and a digital identity certificate including characteristic information with a digital signature that uniquely identifies the user to a blockchain distributed digital identity management platform, the user information and the digital identity certificate are managed by the blockchain distributed digital identity management platform, and subsequent users can perform identity authentication through the digital identity certificate. Since the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user, the characteristic information that uniquely identifies the user is protected by a digital signature, thereby preventing the user's characteristic information from being intercepted or stolen during the authentication process. The digital identity certificate can effectively ensure the security of user information, while effectively reducing the risk of the digital identity certificate being stolen, so as to effectively improve the credibility of digital identity authentication.

[0154] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0155] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0156] Figure 1 It is a schematic diagram of the main process of the digital identity management method applied to the blockchain distributed digital identity management platform according to an embodiment of the present invention;

[0157] Figure 2 is a schematic diagram of a digital identity management method applied to a blockchain distributed digital identity management platform according to another embodiment of the present invention;

[0158] Figure 3 is a schematic diagram of the main process of a method for managing the digital identity of a digital wallet registered user according to an embodiment of the present invention;

[0159] Figure 4 is a schematic diagram of the main process of a digital identity management method applied to a digital currency client according to an embodiment of the present invention;

[0160] Figure 5is a schematic diagram of the main process of a digital identity management method applied to a digital currency client according to another embodiment of the present invention;

[0161] Figure 6 is a schematic diagram of the main process of a digital identity management method applied to a digital currency client according to another embodiment of the present invention;

[0162] Fig. 7A is a schematic diagram of the main process of a digital identity management method according to another embodiment of the present invention;

[0163] Figure 7B is a schematic diagram of the main process of managing digital identity credentials for registered users according to the digital identity management method of an embodiment of the present invention;

[0164] Figure 8 is a schematic diagram of the main process of digital identity management according to an embodiment of the present invention;

[0165] Fig. 9 is a schematic diagram of the main process of managing a server digital identity and at least one service public key according to an embodiment of the present invention;

[0166] Fig.10 is a schematic diagram of the main process of the digital identity management method applied to the registration server according to an embodiment of the present invention;

[0167] Fig.11 is a schematic diagram of the main process of a digital identity management method according to yet another embodiment of the present invention;

[0168] Fig.12 is a schematic diagram of the main process of a digital identity management method according to another embodiment of the present invention;

[0169] Fig.13 is a schematic diagram of the main process of a digital identity management method according to another embodiment of the present invention;

[0170] Fig.14 It is a schematic diagram of the main process of a digital identity authentication method applied to a digital currency server according to an embodiment of the present invention;

[0171] Fig.15 is a schematic diagram of the main process of a digital identity authentication method applied to a digital currency server according to another embodiment of the present invention;

[0172] Fig.16 is a schematic diagram of the main process of querying the service public key of each target digital identity certificate according to an embodiment of the present invention;

[0173] Fig.17It is a schematic diagram of the main process of a digital identity authentication method applied to a blockchain distributed digital identity management platform according to an embodiment of the present invention;

[0174] Fig.18 is a schematic diagram of the main process of searching for relevant information of a target digital identity credential according to an embodiment of the present invention;

[0175] Fig.19 It is a schematic diagram of the main process of a digital identity authentication method applied to a digital currency wallet client according to an embodiment of the present invention;

[0176] Fig. 20 is a schematic diagram of the main process of a digital identity authentication method applied to a digital currency wallet client according to another embodiment of the present invention;

[0177] Fig.21 is a schematic diagram of the main process of digital identity authentication according to another embodiment of the present invention;

[0178] Fig. 22 It is a schematic diagram of the main units of a digital identity management device applied to a blockchain distributed digital identity management platform according to an embodiment of the present invention;

[0179] Fig.23 is a schematic diagram of main units of a digital identity management device applied to a digital currency client according to an embodiment of the present invention;

[0180] Fig.24 It is a schematic diagram of the main units of a digital identity management device applied to a blockchain distributed digital identity management platform according to an embodiment of the present invention;

[0181] Fig.25 is a schematic diagram of main units of a digital identity management device applied to a registration server according to an embodiment of the present invention;

[0182] Fig.26 is a schematic diagram of the structure of a digital identity management system according to an embodiment of the present invention;

[0183] Fig. 27 is a schematic diagram of the main units of a digital identity authentication device applied to a digital currency server according to an embodiment of the present invention;

[0184] Fig.28 It is a schematic diagram of the main units of a digital identity authentication device applied to a blockchain distributed digital identity management platform according to an embodiment of the present invention;

[0185] Fig.29 is a schematic diagram of the main units of a digital identity authentication device applied to a digital currency wallet client according to an embodiment of the present invention;

[0186] Fig. 30A is a schematic diagram of the structure of a digital identity authentication system according to an embodiment of the present invention;

[0187] Fig. 30B is a structural diagram of a digital identity management and authentication system according to an embodiment of the present invention;

[0188] Fig.31 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0189] Fig.32 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0190] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0191] In existing data currency application scenarios, the user's identity information is generally managed directly through some of the user's narrower account information, such as mobile phone number, ID number, and user biometric features such as facial features, fingerprint features, etc., and the user's identity information is directly authenticated through this narrow account information. This narrow account information is easily leaked, resulting in low security of user identity information of data currency accounts, and low credibility of data identity authentication.

[0192] In order to solve the above-mentioned problem of simply and directly managing user information and authenticating accounts through narrow account information, an embodiment of the present invention provides a digital identity management, authentication method, device and system.

[0193] Figure 1 FIG. 1 is a schematic diagram of the main flow of a digital identity management method according to an embodiment of the present invention. Figure 1 As shown, the digital identity management method is applied to the blockchain distributed digital identity management platform, and the digital identity management method may include the following steps:

[0194] Step S101: receiving a digital identity registration request, wherein the digital identity registration request includes registration user information;

[0195] Step S102: Generate a user digital identity for the registered user information;

[0196] Step S103: storing and managing the user digital identity and one or more digital identity certificates of the registered user information corresponding to the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0197] Generally speaking, in order to use a digital currency wallet client to conduct digital currency transactions, users need to register any combination of their basic personal information, such as user name, age, gender, ID number, education certificate, professional certificate, the wallet public key in the public-private key pair generated by the digital currency wallet client for the user, etc., to the blockchain distributed digital identity management platform. Therefore, the above-mentioned registered user information may be the user's basic personal information.

[0198] Among them, user digital identity generally refers to the number or code generated by the blockchain distributed digital identity management platform for registered users, which can be used to find user information, user digital identity credentials and other information. It is worth noting that the rules for the blockchain distributed digital identity management platform to generate digital identity for registered users can be set accordingly according to needs.

[0199] Among them, one or more digital identity credentials of registered user information can be generated by the blockchain distributed digital identity management platform based on information that uniquely identifies the registered user, such as ID card, mobile phone number, degree certificate number, graduation certificate number, professional certificate number, passport, etc., or can be generated for the user by the issuing agency of information that uniquely identifies the registered user. For example, the digital identity certificate generated based on the ID card can be generated for the user by the certificate issuing server of the ID card issuing agency; for another example, the digital identity certificate generated based on the mobile phone number can be generated for the user by the certificate issuing server of the mobile phone number issuing agency (communication service provider); for another example, the digital identity certificate generated based on the degree certificate number / graduation certificate number can be generated for the user by the certificate issuing server of the academic qualification certification agency, and so on.

[0200] It is worth noting that the digital identity credential includes characteristic information that uniquely identifies the user. In addition to the above-mentioned more conventional narrow digital currency account information, it can also include broad digital currency account information such as an opened corporate account, driver's license, academic certificate, social account, doctor's and nurse's practice certificate, teacher's practice certificate, etc., which are not used in digital wallet transactions and can uniquely identify the user.

[0201] Among them, the digital signature corresponding to the digital identity certificate (i.e., the digital signature for the characteristic information that uniquely identifies the user) can be derived from at least one service private key of the certificate issuance service end, and the service public key corresponding to at least one service private key is stored in the blockchain distributed digital identity management platform. By signing the characteristic information that uniquely identifies the user from the certificate issuance service end, the security of the digital identity certificate is guaranteed, and the user's characteristic information is further protected by the signature. In addition, since the digital identity certificate needs to obtain the public key of the digital signature through the user's digital identity identification for signature verification, that is, if the digital identity certificate is intercepted, it is also difficult to obtain the public key for signature verification. Through signature verification, the security of the digital identity is further guaranteed.

[0202] The digital signature corresponding to the digital identity certificate can also be formed based on the certificate chain relationship of the two service key pairs of the certificate issuing service end, wherein the certificate chain relationship includes: the private key in one pair of service keys signs the public key in another pair of service keys. The certificate chain relationship can also be: the private key in one pair of service keys signs the private key in another pair of service keys, so that the private key with the signature signs the authentication information. This further ensures the security of the digital identity.

[0203] exist Figure 1 In the illustrated embodiment, by registering user information and the user's digital identity certificate including characteristic information with a digital signature that uniquely identifies the user to a blockchain distributed digital identity management platform, the user information and the digital identity certificate are managed by the blockchain distributed digital identity management platform, and subsequent users can perform identity authentication through the digital identity certificate. Since the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user, the characteristic information that uniquely identifies the user is protected by the digital signature, thereby preventing the user's characteristic information from being intercepted or stolen during the authentication process. The digital identity certificate can effectively ensure the security of user information, while effectively reducing the risk of the digital identity certificate being stolen, thereby effectively improving the credibility of digital identity authentication.

[0204] In addition, managing digital identity through a blockchain distributed digital identity management platform can prevent digital identity from being tampered with and effectively ensure the security of digital identity.

[0205] In an embodiment of the present invention, the digital identity management method may further include: generating a user identity document for the registered user information; accordingly, the specific implementation method of storing and managing the user digital identity identifier and one or more digital identity certificates of the registered user information for the registered user information may include: storing the user digital identity identifier and one or more digital identity certificates of the registered user information in the user identity document. The user identity document can effectively manage the user digital identity and facilitate the management of the user digital identity.

[0206] In an embodiment of the present invention, after generating a user digital identity for the registered user information, the process may further include: providing the user digital identity to the digital currency wallet of the registered user information, and determining that the registered user information is successfully registered. This allows the user to obtain information related to the user digital identity from the blockchain distributed digital identity management platform through the user digital identity during the subsequent digital identity authentication or digital currency transaction process through the digital currency wallet client, such as the wallet public key, the digital identity certificate signature verification public key, etc., to implement the user digital identity signature verification.

[0207] In an embodiment of the present invention, the above-mentioned digital identity management method may further include: receiving digital identity credentials generated and sent by one or more credential issuance servers for registered user information, wherein the digital identity credentials are synchronously stored in the digital currency wallet of the registered user information, and the credential issuance server has been registered on the blockchain distributed digital identity management platform.

[0208] That is, the user's digital identity certificate is generated by one or more certificate issuing servers registered on the blockchain distributed digital identity management platform to ensure that the one or more certificate issuing servers used to generate the digital identity certificate are trustworthy, thereby ensuring the credibility of the digital identity certificate.

[0209] Among them, the credential issuance server can register to the blockchain distributed digital identity management platform through the existing registration method, or it can be implemented through the digital identity management method of the credential issuance server described below.

[0210] In an embodiment of the present invention, the digital identity management method may further include: receiving one or more newly added digital identity credentials generated and sent by the credential issuance service end registered in the blockchain distributed digital identity management platform for the registered user information, wherein the newly added digital identity credentials are synchronously stored in the digital currency wallet of the registered user information. This implements adding a new digital identity credential to the account of the digital wallet, thereby increasing the verifiable digital identity credentials of the digital wallet user, and further improving the account security of the digital wallet user.

[0211] In an embodiment of the present invention, the digital identity registration request further includes: a wallet public key in a wallet public-private key pair generated by a digital currency wallet, wherein the wallet public key is used to verify the interactive information signed by the wallet private key in the wallet public-private key pair or to encrypt the interactive information of the digital currency wallet; accordingly, the digital identity management method may further include: determining the binding relationship between the user's digital identity and the wallet public key; storing the wallet public key and the binding relationship in the user identity document. The digital identity authentication or interactive information can be signed by the wallet private key corresponding to the wallet public key of the management user. In the subsequent data authentication or transaction process, the signature can be verified by the wallet public key or the interactive information can be encrypted by the wallet private key of the management user. In the subsequent transaction process or information interaction, the interactive information can be decrypted by the wallet public key to further increase the security of the authentication or transaction.

[0212] In the embodiment of the present invention, Figure 2 As shown, the above digital identity management method may further include the following steps:

[0213] Step S201: Determine the verification relationship between two service key pairs based on the certificate chain relationship;

[0214] The certificate chain relationship can be a signature-encryption certificate chain relationship, that is, the private key in a public-private key pair signs the public key in another public-private key pair, and the signed public key is used to encrypt the user's characteristic information to achieve encryption and signing. The certificate chain relationship can also be a signature-signature certificate chain relationship, where the private key in a public-private key pair signs the private key in another public-private key pair, and the signed private key is used to sign the user's characteristic information to achieve signature for the characteristic information.

[0215] Correspondingly, for the certificate chain relationship of signature-encryption, the verification relationship between the two service key pairs is that the public key in one public-private key pair verifies the signature of its corresponding private key, and the private key in the other public-private key pair decrypts the encryption of its corresponding public key. For the certificate chain relationship of signature-signature, the verification relationship between the two service key pairs is that the public key in one public-private key pair verifies the signature of its corresponding private key, and the public key in the other public-private key pair verifies the signature of its corresponding private key.

[0216] Step S202: The two service public keys in the two service key pairs, the verification relationship and the digital identity certificate are stored and managed in correspondence.

[0217] By storing and managing the two services' public keys, verification relationships and digital identity certificates in correspondence, the digital identity certificates can be effectively verified.

[0218] In the embodiment of the present invention, in the digital identity management method applied to the blockchain distributed digital identity management platform, the registration of digital currency wallet user information and the digital identity management process can be: firstly generate a user digital identity identifier and a user identity document for the user based on the user's public key and basic information such as the user's ID number, account number, mobile phone number, etc., and then store the digital identity certificate in the user identity document after receiving the digital identity certificate for the user. Specifically, Figure 3 As shown, the digital identity management method for a digital wallet registered user may include the following steps:

[0219] Step S301: receiving a wallet public key from a wallet public-private key pair generated by a digital currency wallet client for a registered user;

[0220] Step S302: Generate a user digital identity and a user identity document for the registered user;

[0221] Step S303: The registered user's digital identity and wallet public key are stored in the user identity document in correspondence;

[0222] Step S304: receiving one or more digital identity certificates issued by one or more certificate issuing servers registered on the blockchain distributed digital identity management platform for the registered user;

[0223] Step S305: storing the one or more digital identity credentials into a user identity document to update the user identity document;

[0224] Step S306: The blockchain distributed digital identity management platform synchronizes the updated user identity document in the blockchain.

[0225] In the process of managing the user's digital identity, the above steps S301 to S303 can be executed first, and then the subsequent steps S305 and S306 are executed after receiving one or more digital identity certificates issued by one or more certificate issuance servers registered on the blockchain distributed digital identity management platform for the registered user.

[0226] Corresponding to the above-mentioned blockchain distributed digital identity management platform managing the digital identity of digital wallet users, in order to manage digital identity credentials, the digital currency client can also manage the digital identity of the digital wallet. Figure 4 As shown, the digital identity management method applied to the digital currency client may include the following steps:

[0227] Step S401: Sending a digital identity registration request to the blockchain distributed digital identity management platform, wherein the digital identity registration request includes registration user information;

[0228] Step S402: receiving a user digital identity identifier for registered user information sent by a blockchain distributed digital identity management platform;

[0229] Step S403: securely store the user's digital identity and one or more digital identity certificates of the received registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0230] This enables the digital currency wallet client to manage the digital identity of registered users and the corresponding one or more digital identity certificates, so as to subsequently authenticate the user or implement digital currency transactions through the stored digital identity certificates.

[0231] In the embodiment of the present invention, Figure 5 As shown above Figure 4 The digital identity management method applied to the digital currency client shown may further include the following steps:

[0232] Step S501: Sending a credential acquisition request to one or more credential issuance servers, wherein the credential acquisition request includes identity verification information of the registered user information;

[0233] The identity verification information can be set by the certificate issuing server according to the needs. For example, for digital identity certificates related to academic qualifications, the identity verification information required by the certificate issuing server of the academic qualification certification agency may include the user's name, academic qualification certificate number, ID number, etc.

[0234] Step S502: receiving a digital identity certificate of the registered user information sent by the certificate issuing server, wherein the digital identity certificate is generated by the certificate issuing server based on the identity verification information.

[0235] Among them, one or more credential issuing servers have been registered on the blockchain distributed digital identity management platform.

[0236] In the embodiment of the present invention, Figure 6 As shown, the digital identity management method applied to the digital currency client may further include the following steps:

[0237] Step S601: Generate a wallet public-private key pair for the registered user information, and securely store the wallet private key in the wallet public-private key pair to sign or decrypt the interactive information using the wallet private key;

[0238] Step S602: Add the wallet public key in the wallet public-private key pair to the digital identity registration request, so that the blockchain distributed digital identity management platform corresponds to the first digital identifier and the wallet public key that store the registered user information, and uses the wallet public key to verify the interactive information signed by the wallet private key or encrypt the interactive information of the digital currency wallet.

[0239] The specific implementation of sending the credential acquisition request to one or more credential issuance servers may include: sending the credential acquisition request to one or more credential issuance servers registered on the blockchain distributed digital identity management platform to ensure the reliability and legitimacy of the digital identity credential.

[0240] In order to clearly explain the management of the user digital identity of the digital currency client, the following Fig. 7A The interaction between the digital currency client a and the blockchain distributed digital identity management platform, and Figure 7B The interaction between the digital currency client a and the credential issuance server registered on the blockchain distributed digital identity management platform and the interaction between the credential issuance server registered on the blockchain distributed digital identity management platform and the blockchain distributed digital identity management platform are described in detail. The digital identity management method may include the following steps:

[0241] Step S701A: The digital currency client generates a public and private key pair Pk_user_a / Sk_user_a for the wallet of registered user a;

[0242] Among them, Pk_user_a is the wallet public key in the wallet public-private key pair; Sk_user_a is the wallet private key in the wallet public-private key pair.

[0243] Step S702A: The digital currency client securely stores the wallet private key Sk_user_a for the registered user a;

[0244] Step S703A: The digital currency client sends the wallet public key Pk_user_a of the registered user a to the blockchain distributed digital identity management platform;

[0245] Step S704A: The blockchain distributed digital identity management platform generates a user digital identity TID_wallet_a and a user identity document TID_DOC_a for the registered user a;

[0246] Step S705A: The blockchain distributed digital identity management platform stores the user digital identity TID_wallet_a and the wallet public key Pk_user_a in the user identity document TID_DOC_a;

[0247] Among them, the user identity document TID-DOC_a is generally a table of a Key-Value database, and its corresponding user identity document can be found through TID_wallet_a.

[0248] The corresponding storage of the user's digital identity TID_wallet_a and the wallet public key Pk_user_a, specifically means that the blockchain distributed identity management platform will write the corresponding binding relationship between its TID_wallet_a and its public key Pk_user_a and other information in the user's identity document.

[0249] In addition, the above-mentioned user identity document TID-DOC_a can be synchronized through the blockchain ledger on the blockchain distributed digital identity management platform to ensure that it cannot be tampered with.

[0250] Step S706A: The blockchain distributed digital identity management platform sends the user digital identity TID_wallet_a to the digital currency wallet client;

[0251] Step S707A: The digital currency wallet client stores the user digital identity TID_wallet_a for the registered user.

[0252] The above process is used to initialize the registered user of the digital wallet, that is, to generate a user digital identity and a user identity document for the registered user.

[0253] Based on the above generated user digital identity and user identity document, you can further Figure 7B The digital identity management method shown is for managing digital identity credentials for registered users, and may specifically include the following steps:

[0254] Step S701B: The digital currency wallet client sends a certificate acquisition request to the certificate issuance server V1;

[0255] The certificate issuing server V1 is a server registered on the blockchain distributed digital identity management platform.

[0256] Step S702B: the credential issuing server V1 verifies the identity verification information of the registered user a included in the credential acquisition request. If the verification passes, step S703 is executed; if the verification fails, the current process ends;

[0257] Step S703B: The certificate issuance server V1 generates a digital identity certificate for the registered user a, and distributes the digital identity certificate to the digital currency wallet client and the blockchain distributed digital identity management platform;

[0258] Step S704B: The digital currency wallet client securely stores the digital identity certificate;

[0259] Step S705B: The blockchain distributed digital identity management platform determines the public key of the credential issuing server V1 based on the server digital identity identifier of the credential issuing server V1, and stores the digital identity credential and the determined public key in the user identity document of the registered user a.

[0260] The public key of the certificate issuing server V1 is determined specifically by: searching for the stored server identity document TID_DOC_V1 of the certificate issuing server V1 according to the server digital identity of the certificate issuing server V1, and obtaining the public key of the certificate issuing server V1 from the server identity document TID_DOC_V1 found. There can be two public keys, one of which is the public key in the public-private key pair generated by the certificate issuing server V1, and the other is generated by a trusted certificate issuing authority such as a CA for the certificate issuing server V1.

[0261] It is worth noting that the above process of generating and storing digital identity credentials for registered users can be executed at any stage after the registered user obtains the user identity document, so as to add or update the digital identity credentials for the digital currency wallet client and the user identity document, thereby increasing the user's authenticatable information and further improving the credibility of user authentication.

[0262] It can be understood that the above-mentioned digital identity management process generally requires a digital identity certificate generated by a credential issuing server, and the authentication of the digital identity is generally performed by the digital currency server of each financial institution. The solution provided by the embodiment of the present invention performs digital identity management on the credential issuing server and the digital currency server through a blockchain distributed digital identity management platform to ensure the security and credibility of the credential issuing server and the digital currency server.

[0263] That is, in the solution provided by the embodiment of the present invention, in addition to the digital identity management of the user of the digital currency wallet client, the digital identity of the server that interacts with the digital currency wallet client, such as the certificate issuance server, the digital currency server, etc., can also be managed. Figure 8 The main process diagram of a digital identity management method applied to a blockchain distributed digital identity management platform is shown. Figure 8 As shown, for a server interacting with a digital currency wallet client, the implementation method of the digital identity management method of the blockchain distributed digital identity management platform may include the following steps:

[0264] Step S801: receiving at least one service public key sent by a registration server;

[0265] The registration server may be: a certificate issuing server for providing digital identity certificates to registered users of a digital currency wallet, or a digital currency server for providing digital currency services to registered users of a digital currency wallet.

[0266] Step S802: Generate a server digital identity for the registration server, and send the server digital identity to the registration server;

[0267] For example, corresponding server digital identity identifiers TID_issuer_V1, TID_issuer_V2, ..., TID_issuer_Vn are generated for the certificate issuing servers V1, V2, ..., Vn respectively, and a corresponding server digital identity identifier TID_Veri is generated for the digital currency server.

[0268] Step S803: Correspondingly store and manage the server digital identity and at least one service public key to provide an authentication basis for the digital currency wallet client.

[0269] The registration server (credential issuing server, digital currency server) is registered and digital identity managed through the blockchain distributed digital identity management platform to ensure the security and credibility of the registration server (credential issuing server, digital currency server).

[0270] In an embodiment of the present invention, after generating a server digital identity for a registration server, the above-mentioned method also includes: generating a server document for the registration server; accordingly, the specific implementation method of correspondingly storing and managing the server digital identity and at least one service public key may include: storing the server digital identity and at least one service public key correspondingly in the server document, and managing the server digital identity and at least one service public key based on the server document.

[0271] For example, corresponding server documents TID_DOC_issuer_V1, TID_DOC_issuer_V2, ..., TID_DOC_issuer_Vn are generated for the certificate issuing servers V1, V2, ..., Vn respectively, and the corresponding server digital identity TID_DOC_Veri is generated for the digital currency server.

[0272] The information of the digital currency server or the certificate issuing server can be managed through server documents to reasonably manage the information of the digital currency server or the certificate issuing server.

[0273] In the embodiment of the present invention, the registration server is a certificate issuing server for providing digital identity certificates to registered users of digital currency wallets, such as Fig. 9As shown, the specific implementation method of the above-mentioned server-side document management server digital identity and at least one service public key may include the following steps:

[0274] Step S901: in response to receiving a digital identity certificate for a registered user of a digital currency wallet sent by a certificate issuing server, obtaining at least one service public key of the certificate issuing server from a server document of the certificate issuing server;

[0275] Step S902: storing the digital identity certificate corresponding to at least one service public key of the certificate issuance server in the user identity document of the registered user to update the user identity document of the registered user.

[0276] The above process provides a public key for verifying the digital identity credential to ensure the verifiability of the digital identity credential.

[0277] In an embodiment of the present invention, the number of the public-private key pairs for the above-mentioned service is two pairs; the digital identity management method may further include: storing the certificate chain relationship and / or the verification relationship corresponding to the certificate chain relationship between the two public-private key pairs for the service in a server document of the credential issuing server.

[0278] For example, the two public-private key pairs (i.e., two key pairs) of the credential issuing server V1 are: Pk_issuer_V1 / Sk_issuer_V1, Pk_issuer_V1_TIDRegi / Sk_issuer_V1_TIDRegi, wherein the public-private key pair Pk_issuer_V1 / Sk_issuer_V1 is generated by the credential issuing server, and the public-private key pair Pk_issuer_V1_TIDRegi / Sk_issuer_V1_TIDRegi is generated by a trusted certificate authority such as a CA for the credential issuing server V1. In the process of generating a digital identity credential, Sk_issuer_V1 can be signed by Sk_issuer_V1_TIDRegi, and the user's characteristic information can be signed by Sk_issuer_V1_TIDRegi signed by Sk_issuer_V1_TIDRegi. Then, the certificate link is Sk_issuer_V1_TIDRegi performs the first digital signature on Sk_issuer_V1, and Sk_issuer_V1 after Sk_issuer_V1_TIDRegi signs the second digital signature on the user's characteristic information. Correspondingly, the verification relationship is Pk_issuer_V1_TIDRegi verifies the first digital signature of the second digital signature of the characteristic information, and Pk_issuer_V1 verifies the second digital signature of the characteristic information. In the process of generating digital identity credentials, Pk_issuer_V1 can also be signed by Sk_issuer_V1_TIDRegi, and the user's characteristic information is encrypted using Pk_issuer_V1 signed by Sk_issuer_V1_TIDRegi. Then, the certificate link is that Sk_issuer_V1_TIDRegi signs Pk_issuer_V1, and Pk_issuer_V1 signed by Sk_issuer_V1_TIDRegi encrypts the user's characteristic information. Correspondingly, the verification relationship is that Pk_issuer_V1_TIDRegi verifies the signature of the encryption key of the characteristic information, and Sk_issuer_V1 decrypts the characteristic information.

[0279] For example, the two public and private key pairs of the digital currency server are: Pk_Veri_encrypt / Sk_Veri_decrypt, Pk_Veri_TIDRegi / Sk_Veri_TIDRegi, where the public and private key pair Pk_Veri_encrypt / Sk_Veri_decrypt is generated by the digital currency server, and the public and private key pair Pk_Veri_TIDRegi / Sk_Veri_TIDRegi is generated by a trusted certificate authority such as a CA for the digital currency server. In the process of digital identity authentication, Pk_Veri_decrypt can be signed by Sk_Veri_TIDRegi, and the authentication information can be encrypted using Pk_Veri_decrypt signed by Sk_Veri_TIDRegi. Then, the certificate link is that Sk_Veri_TIDRegi digitally signs Pk_Veri_decrypt, and Pk_Veri_decrypt signed by Sk_Veri_TIDRegi encrypts the user's authentication information. Correspondingly, the verification relationship is that Pk_Veri_TIDRegi verifies the encryption key and Sk_Veri_encrypt decrypts the authentication information. In addition, the digital identity authentication process can also be a first signature of Sk_Veri_TIDRegi on Sk_Veri_decrypt, and a second signature of the authentication information using Sk_Veri_decrypt signed by Sk_Veri_TIDRegi. Then, the certificate link is that Sk_Veri_TIDRegi performs the first signature on Sk_Veri_decrypt, and Sk_Veri_decrypt performs the second signature on the user's authentication information after the first signature of Sk_Veri_TIDRegi. Correspondingly, the verification relationship is that Pk_Veri_TIDRegi verifies the second signature, and Pk_Veri_encrypt verifies the authentication information.

[0280] In an embodiment of the present invention, the digital identity management method may further include: determining the verification relationship between the two service key pairs based on the server document of the certificate issuance server, and storing the digital identity certificate corresponding to the verification relationship in the user identity document of the registered user, so as to facilitate the management of the user's digital identity certificate.

[0281] In an embodiment of the present invention, Fig.10 The main flow chart of the digital identity management method applied to the registration server is shown. Fig.10 As shown, the digital identity management method applied to the registration server may include the following steps:

[0282] Step S1001: determining at least one service public-private key pair for a registered server, and storing a service private key in at least one service public-private key pair;

[0283] Step S1002: Sending a service public key in at least one service public-private key pair to a blockchain distributed digital identity management platform;

[0284] Step S1003: Receive the server digital identity generated for the registration server and sent by the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform manages the server digital identity and service public key of the registration server.

[0285] The specific implementation of determining at least one service-use public-private key pair may include: generating a first service-use public-private key pair, and obtaining a second service-use public-private key pair generated by a trusted certificate authority for the registration server.

[0286] In the embodiment of the present invention, for the case where the registration server is a certificate issuing server, such as Fig.11 As shown, the above digital identity management method may further include the following steps:

[0287] Step S1101: receiving a credential acquisition request sent by a digital currency client, wherein the credential acquisition request includes identity verification information of registered user information;

[0288] Step S1102: verifying the identity verification information;

[0289] Step S1103: if the verification result indicates that the verification is successful, a digital identity certificate is generated for the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user;

[0290] Step S1104: Distribute the digital identity certificate to the digital currency wallet client of the registered user information and the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform obtains the first service public key and / or the second service public key, and manages the first service public key and / or the second service public key and the digital identity certificate for the registered users of the digital currency wallet client.

[0291] Through the above process, a digital identity credential is generated for the digital currency client, and the digital identity credential and the public key for verification related to the digital identity credential are stored in the blockchain distributed digital identity management platform to ensure the feasibility of subsequent use of the digital identity credential to verify the user.

[0292] Among them, in the case where the registration server is the certificate issuing server, the specific implementation method of generating a digital identity certificate for the registered user information may include: determining characteristic information that uniquely identifies the registered user information; using at least one service private key to digitally sign the characteristic information to obtain a digital identity certificate.

[0293] In an embodiment of the present invention, in the case where two service public-private key pairs are determined, the feature information is digitally signed using the first service private key in the first service public-private key pair, and the first service private key is signed using the second service private key in the second service public-private key pair; alternatively, the second service public key in the second service public-private key pair is signed using the first service private key in the first service public-private key pair, and the feature information is encrypted using the signed second service public key.

[0294] For example, the two public and private key pairs of the credential issuing server V1 are: Pk_issuer_V1 / Sk_issuer_V1, Pk_issuer_V1_TIDRegi / Sk_issuer_V1_TIDRegi, where the public and private key pair Pk_issuer_V1 / Sk_issuer_V1 is generated by the credential issuing server, and the public and private key pair Pk_issuer_V1_TIDRegi / Sk_issuer_V1_TIDRegi is generated by a trusted certificate authority such as a CA for the credential issuing server V1. In the process of generating a digital identity credential, Sk_issuer_V1 is signed by Sk_issuer_V1_TIDRegi, and the user's characteristic information is signed by Sk_issuer_V1_TIDRegi signed by Sk_issuer_V1_TIDRegi. Then, the certificate link is Sk_issuer_V1_TIDRegi performs the first digital signature on Sk_issuer_V1, and Sk_issuer_V1 after Sk_issuer_V1_TIDRegi signs the second digital signature on the user's characteristic information. Correspondingly, the verification relationship is Pk_issuer_V1_TIDRegi verifies the first digital signature of the second digital signature of the characteristic information, and Pk_issuer_V1 verifies the second digital signature of the characteristic information. For another example, in the process of generating a digital identity certificate, Pk_issuer_V1 is signed by Sk_issuer_V1_TIDRegi, and the user's characteristic information is encrypted using Pk_issuer_V1 after Sk_issuer_V1_TIDRegi signs. Then, the certificate link is that Sk_issuer_V1_TIDRegi digitally signs Pk_issuer_V1, and Pk_issuer_V1 after Sk_issuer_V1_TIDRegi encrypts the user's characteristic information. Correspondingly, the verification relationship is that Pk_issuer_V1_TIDRegi verifies the encrypted public key of the characteristic information, and Sk_issuer_V1 decrypts the characteristic information. This ensures the security and verifiability of the digital identity certificate.

[0295] In the embodiment of the present invention, for the case where the registration server is a digital currency server, such as Fig.12 As shown, the above digital identity management method may further include the following steps:

[0296] Step S1201: Sign the first service public key in the first service public-private key pair using the second service private key in the second service public-private key pair;

[0297] Step S1202: Send the signed first service public key and second service public key to the blockchain distributed digital identity management platform.

[0298] For example, the two public-private key pairs of the digital currency server are: Pk_Veri_encrypt / Sk_Veri_decrypt, Pk_Veri_TIDRegi / Sk_Veri_TIDRegi, where the public-private key pair Pk_Veri_encrypt / Sk_Veri_decrypt is generated by the digital currency server, and the public-private key pair Pk_Veri_TIDRegi / Sk_Veri_TIDRegi is generated by a trusted certificate authority such as a CA for the digital currency server. In the process of digital identity authentication, Sk_Veri_TIDRegi can be used to perform a first signature on Sk_Veri_decrypt, and the authentication information can be secondly signed using Sk_Veri_decrypt signed by Sk_Veri_TIDRegi. Then, the certificate link is Sk_Veri_TIDRegi first signs Sk_Veri_decrypt, and Sk_Veri_decrypt after Sk_Veri_TIDRegi signs the user's authentication information. Correspondingly, the verification relationship is Pk_Veri_TIDRegi verifies the second signature, and Pk_Veri_encrypt verifies the authentication information. In addition, in the process of digital identity authentication, Pk_Veri_decrypt can also be signed by Sk_Veri_TIDRegi, and the authentication information can be encrypted using Pk_Veri_decrypt after Sk_Veri_TIDRegi signs. Then, the certificate link is that Sk_Veri_TIDRegi digitally signs Pk_Veri_decrypt, and Pk_Veri_decrypt signed by Sk_Veri_TIDRegi encrypts the user's authentication information. Correspondingly, the verification relationship is that Pk_Veri_TIDRegi verifies the encryption key and Sk_Veri_encrypt decrypts the authentication information.

[0299] Specifically, Fig.13 The digital identity management method is described in detail by taking the registration interaction process between the digital currency server, the certificate issuance server and the blockchain distributed digital identity management platform and the process of the digital currency wallet client interacting with the certificate issuance server to obtain the digital identity certificate as examples. Fig.13 As shown, the digital identity management method may include the following steps:

[0300] Step S1301: The digital currency server generates a public-private key pair Pk_Veri_encrypt / Sk_Veri_decrypt, and obtains Pk_Veri_TIDRegi / Sk_Veri_TIDRegi issued by a trusted certificate authority;

[0301] Step S1302: The digital currency server sends two public keys Pk_Veri_encrypt and Pk_Veri_TIDRegi to the blockchain distributed digital identity management platform;

[0302] Step S1303: The blockchain distributed digital identity management platform generates a server digital identification TID_Veri and a corresponding server identity document TID_DOC_Veri for the digital currency server;

[0303] Step S1304: The blockchain distributed digital identity management platform stores the digital currency server's server digital identification TID_Veri and two public keys Pk_Veri_encrypt and Pk_Veri_TIDRegi in the server identity document TID_DOC_Veri, sends the server digital identification TID_Veri to the digital currency server, and ends the current process;

[0304] Step S1301': the certificate issuing server V1 generates a public-private key pair Pk_issuer_V1 / Sk_issuer_V1, and obtains Pk_issuer_V1_TIDRegi / Sk_issuer_V1_TIDRegi issued by a trusted certificate authority;

[0305] Step S1302': the certificate issuance server sends two public keys Pk_issuer_V1 and Pk_issuer_V1_TIDRegi to the blockchain distributed digital identity management platform;

[0306] Step S1303': The blockchain distributed digital identity management platform generates a server digital identifier TID_issuer_V1 and a corresponding server identity document TID_DOC_issuer_V1 for the credential issuance server V1;

[0307] Step S1304': The blockchain distributed digital identity management platform stores the digital currency server's server digital identification TID_issuer_V1 and two public keys Pk_issuer_V1 and Pk_issuer_V1_TIDRegi in the server identity document TID_DOC_issuer_V1, and sends the server digital identification TID_issuer_V1 to the credential issuing server V1;

[0308] Step S1305': the credential issuance server V1 receives the credential acquisition request for user a sent by the digital currency client;

[0309] Step S1306': the credential issuing server V1 verifies the credential verification information included in the credential acquisition request. If the verification passes, step S1307' is executed. If the verification fails, the current process ends.

[0310] Step S1307': the credential issuing server V1 generates a digital identity credential Credential_V1_a;

[0311] Step S1308': the credential issuance server V1 sends the digital identity credential Credential_V1_a to the digital currency wallet client and the blockchain distributed digital identity management platform respectively;

[0312] Step S1309': The digital currency wallet client securely stores the digital identity credential Credential_V1_a;

[0313] Step S1310': The blockchain distributed digital identity management platform stores the digital identity credential Credential_V1_a and the corresponding verification link relationship in the user identity document TID_DOC_wallet_a of user a.

[0314] It is worth noting that there is no strict order between the above steps S1301 to S1304 and the following steps S1301' to S1310', wherein the above steps S1305' to S1310' are generally performed after the registered user of the digital currency wallet client has registered on the blockchain distributed digital identity management platform and has a user identity document.

[0315] That is, the blockchain distributed digital identity management platform can be used to manage the digital identities of registered users of digital currency wallet clients, digital currency servers, and certificate issuance servers.

[0316] Based on the above digital identity management, digital identity authentication is realized. Fig.14 A schematic diagram of the main process of a digital identity authentication method is shown. Fig.14 The digital identity authentication method shown is implemented based on the digital identity certificate managed by the above digital identity management method. Fig.14 As shown, the digital identity authentication method applied to the digital currency server may include the following steps:

[0317] Step S1401: receiving digital identity information sent by a digital currency wallet client, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity certificates, wherein the target digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user;

[0318] The above user digital identity can also be a user digital identity with a digital signature

[0319] Step S1402: According to the user digital identity, query the first service public key of each target digital identity certificate from the blockchain distributed digital identity management platform;

[0320] Step S1403: for each target digital identity certificate, executing the first service public key based on the target digital identity certificate to verify the digital signature of the target digital identity certificate;

[0321] Step S1404: If the verification result of each target digital identity credential indicates that the verification is passed, it is determined that the digital identity information is successfully authenticated, so as to provide services for the digital currency wallet client based on the digital identity information.

[0322] Among them, the public key for the first service can be formed by signing the service public key in the first service public-private key pair with the second service private key in the second service public-private key pair, wherein the second service public-private key pair is generated by a trusted certificate authority for the digital currency server, and the first service public-private key pair is generated by the digital currency server.

[0323] In the embodiment of the present invention, Fig.15 As shown, the digital identity authentication method applied to the digital currency server may further include the following steps:

[0324] Step S1501: receiving an authentication trigger from a digital currency wallet client, sending a third service public key of the digital currency server to the digital currency wallet client, so that the digital currency wallet client uses the third service public key to encrypt the user digital identity signed by the wallet private key;

[0325] The third service public key may be the same as or different from the second service public key.

[0326] Step S1502: receiving the encrypted user digital identity with signature and the wallet public key sent by the digital currency client;

[0327] Step S1503: decrypting the encrypted user digital identity with the signature using the stored third service private key corresponding to the third service public key;

[0328] Step S1504: Use the wallet to verify the decrypted result with the public key;

[0329] Step S1505: If the verification result indicates that the verification is successful, information indicating that the verification is successful is sent to the digital currency wallet client, so that the digital currency wallet client sends the digital identity information.

[0330] The above process realizes the authentication of the digital identity certificate of the digital wallet. Since the digital currency user is authenticated by the digital identity certificate, the digital identity certificate is a signed characteristic information, which ensures the credibility of the authentication process.

[0331] In an embodiment of the present invention, after decrypting the encrypted user digital identity with a signature using the stored third service private key corresponding to the third service public key, the above method may further include: using the user digital identity with a signature to query the wallet public key of the user digital identity in the blockchain distributed digital identity management platform; comparing the wallet public key of the queried user digital identity with the wallet public key sent by the digital currency client; if the comparison result indicates that the wallet public key is consistent, then executing the step of verifying the decrypted result using the wallet public key. The user digital identity can be further verified by the wallet public key to further improve the credibility and security of the user digital identity.

[0332] In the embodiment of the present invention, Fig.16 As shown, the specific implementation method of querying the service public key of each target digital identity certificate from the blockchain distributed digital identity management platform may include the following steps:

[0333] Step S1601: Send the user digital identity identifier and the identifier of the target digital identity certificate to the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform searches for and verifies the first service public key based on the user digital identity identifier and the identifier of the target digital identity certificate;

[0334] The above-mentioned user digital identity may also be a user digital identity with a digital signature.

[0335] Step S1602: Receive the first service public key that has passed verification and is sent by the blockchain distributed digital identity management platform.

[0336] The public keys for services are managed through the blockchain distributed digital identity management platform to ensure the security of the public keys for services.

[0337] In an embodiment of the present invention, the digital identity authentication method may further include: for each target digital identity certificate, verifying whether the target digital identity certificate is within the validity period, and after determining that each target digital identity certificate is within the validity period and the verification result of each target digital identity certificate indicates that the verification is passed, determining that the digital identity information authentication is successful. Through the above verification process, the validity of the digital identity certificate period and the validity of the signature can be guaranteed, and the accuracy and credibility of the authentication can be guaranteed.

[0338] Fig.17 The main process diagram of the digital identity authentication method applied to the blockchain distributed digital identity management platform is shown. Fig.17 As shown, the digital identity authentication method applied to the blockchain distributed digital identity management platform may include the following steps:

[0339] Step S1701: receiving a user digital identity identifier and one or more target digital identity certificate identifiers sent by a digital currency server;

[0340] The user digital identity may also be a user digital identity with a digital signature.

[0341] Step S1702: for each target digital identity credential identifier, search for relevant information of the target digital identity credential based on the user digital identity identifier and the target digital identity credential identifier. If the information is found, execute step S1703; if the information is not found, determine that the authentication fails and end the current process;

[0342] Step S1703: verifying the first service public key included in the relevant information of the target digital identity certificate. If the verification is successful, executing step S1704; if the verification fails, determining that the authentication fails, and ending the current process;

[0343] Step S1704: Send the verified first service public key to the digital currency server, so that the digital currency server authenticates the digital identity information sent by the digital currency wallet client based on the first service public key.

[0344] like Fig.18 As shown, the specific implementation method of searching for relevant information of the target digital identity certificate according to the user digital identity identifier and the identifier of the target digital identity certificate in the above step S1702 may include the following steps:

[0345] Step S1801: searching for a user document corresponding to a user digital identity;

[0346] Step S1802: searching for relevant information of the target digital identity certificate corresponding to the identifier of the target digital identity certificate in the searched user document.

[0347] In an embodiment of the present invention, for the situation where the first service public key is formed by the service public key in the first service public-private key pair (the first service public-private key pair is generated by the digital currency server) signed by the second service private key in the second service public-private key pair (the second service public-private key pair is generated by a trusted certificate issuing authority for the digital currency server), accordingly, the specific implementation method of the first service public key included in the relevant information of the above-mentioned verification target digital identity certificate may include: verifying the first service public key by using the second service public key corresponding to the second service private key included in the relevant information of the target digital identity certificate and the service private key in the first service public-private key pair.

[0348] Fig.19 A schematic diagram of the main process of a digital identity authentication method is shown. Fig.19 The digital identity authentication method shown is applied to a digital currency wallet client. Fig.19 As shown, the digital identity authentication method applied to the digital currency wallet client may include the following steps:

[0349] Step S1901: Acquire a stored user digital identity and one or more stored target digital identity credentials;

[0350] Step S1902: Sending digital identity information to the digital currency server, wherein the digital identity information includes the user's digital identity and one or more target digital identity certificates, wherein the target digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user, so that the digital currency server authenticates the digital identity information;

[0351] Step S1903: Receive the authentication result from the digital currency server, and based on the authentication result, receive further operations from the user.

[0352] The digital identity authentication of the digital currency wallet client by the digital currency server through the above process is implemented based on the digital identity certificate, which ensures the security and credibility of the authentication process.

[0353] In an embodiment of the present invention, the digital identity authentication method applied to the digital currency wallet client may further include: in the case where multiple digital identity credentials are stored, one or more target digital identity credentials are selected from the stored multiple digital identity credentials. Only any one or more digital identity credentials stored in the digital currency wallet client may be authenticated, and the specific digital identity credentials selected may be set accordingly according to actual needs.

[0354] In the embodiment of the present invention, Fig. 20As shown, the digital identity authentication method applied to the digital currency wallet client may further include the following steps:

[0355] Step S2001: In response to the authentication trigger of the digital currency server, receiving the third service public key sent by the digital currency server;

[0356] Step S2002: Encrypt the user digital identity signed by the wallet private key using the third service public key;

[0357] Step S2003: Send the encrypted user digital identity with signature and the wallet public key to the digital currency server, so that the digital currency server verifies the user digital identity with signature;

[0358] Step S2004: After receiving the information indicating that the verification is successful, execute the step of sending the digital identity information.

[0359] Fig.21 The main process of digital identity authentication implemented through interaction between the digital currency wallet client, the digital currency server, and the blockchain distributed digital identity management platform is shown. Fig.21 The digital identity authentication may include the following steps:

[0360] Step S2101: the digital currency wallet client responds to the authentication trigger of the digital currency server and receives its own service public key sent by the digital currency server;

[0361] Step S2102: The digital currency wallet client uses the service public key to encrypt the user digital identity TID_wallet_a signed by the wallet private key;

[0362] Step S2103: The digital currency wallet client sends the encrypted user digital identity TID_wallet_a with the signature and the wallet public key Pk_user_a to the digital currency server;

[0363] Step S2104: The digital currency server decrypts and verifies the user digital identity TID_wallet_a with the signature through the wallet public key Pk_user_a. If the verification is successful, execute step S2105; otherwise, end the current process;

[0364] Step S2105: The digital currency server sends information indicating that the verification is successful and the service public key PK_Veri_encrtpt to the digital currency wallet client;

[0365] Step S2106: the digital currency wallet client obtains the stored user digital identity TID_wallet_a, the stored multiple target digital identity credentials Credential_V1_a, Credential_V2_a, ..., Credential_Vn_a and the wallet public key, and encrypts the user digital identity TID_wallet_a, the stored multiple target digital identity credentials Credential_V1_a, Credential_V2_a, ..., Credential_Vn_a and the wallet public key through the service public key PK_Veri_encrtpt of the digital currency server;

[0366] Step S2107: the digital currency wallet client sends the encrypted user digital identity TID_wallet_a, the stored multiple target digital identity credentials Credential_V1_a, Credential_V2_a, ..., Credential_Vn_a and the wallet public key to the digital currency server;

[0367] Step S2108: The digital currency server decrypts the encrypted user digital identity TID_wallet_a, the stored multiple target digital identity credentials Credential_V1_a, Credential_V2_a, ..., Credential_Vn_a and the wallet public key;

[0368] Step S2109: The digital currency server verifies the decrypted user digital identity using the wallet's public key. If the verification is successful, step S2110 is executed; if the verification is unsuccessful, the current process ends.

[0369] Step S2110: The digital currency server sends the user's digital identity and the identification information of multiple target digital identity certificates Credential_V1_a, Credential_V2_a, ..., Credential_Vn_a to the blockchain distributed digital identity management platform;

[0370] Step S2111: The blockchain distributed digital identity management platform searches for the user identity document of the user's digital identity identifier;

[0371] Step S2112: The blockchain distributed digital identity management platform searches for the verification relationship and the public key for verification corresponding to the identification information of multiple target digital identity credentials Credential_V1_a, Credential_V2_a, ..., Credential_Vn_a;

[0372] Step S2113: The blockchain distributed digital identity management platform sends the verification relationships and verification public keys corresponding to Credential_V1_a, Credential_V2_a, ..., Credential_Vn_a to the digital currency server;

[0373] The verification public key is the public key corresponding to the signature private key used by the certificate issuance server to issue the digital identity certificate.

[0374] Step S2114: The digital currency server verifies the digital identity certificate using the received verification relationship and the verification public key. If the verification is successful, step S2115 is executed; if the verification is not successful, it is determined that the authentication has failed and the current process ends;

[0375] Step S2115: The digital currency server sends information indicating successful authentication to the digital currency wallet client.

[0376] Fig. 22 A digital identity management device 2200 is shown, which is applied to a blockchain distributed digital identity management platform and may include: a first interface 2201 corresponding to a digital currency client, a first generation unit 2202, and a first management unit 2203, wherein:

[0377] The first interface 2201 is used to receive a digital identity registration request, wherein the digital identity registration request includes registration user information;

[0378] The first generating unit 2202 is used to generate a user digital identity for the registered user information;

[0379] The first management unit 2203 is used to store and manage the user digital identity and one or more digital identity certificates of the registered user information corresponding to the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0380] In an embodiment of the present invention, the first management unit 2203 is further used to receive the digital identity certificate generated and sent by one or more certificate issuing servers registered on the blockchain distributed digital identity management platform for the registered user information, wherein the digital identity certificate is synchronously stored in the digital currency wallet of the registered user information.

[0381] In an embodiment of the present invention, the first management unit 2203 is further used to receive new digital identity credentials generated and sent by one or more new credential issuance servers registered on the blockchain distributed digital identity management platform for the registered user information, wherein the new digital identity credentials are synchronously stored in the digital currency wallet of the registered user information.

[0382] In an embodiment of the present invention, the digital signature included in the digital identity certificate is derived from at least one service private key of the certificate issuing server, and a service public key corresponding to at least one service private key is stored in the blockchain distributed digital identity management platform.

[0383] In an embodiment of the present invention, the digital signature included in the digital identity certificate is formed based on the certificate chain relationship of two service key pairs of the certificate issuing server, wherein the certificate chain relationship includes: the private key in one pair of service keys signs the public key in another pair of service keys.

[0384] In an embodiment of the present invention, the first management unit 2203 is further used to determine the verification relationship between the two service key pairs based on the certificate chain relationship; store and manage the two service public keys of the two service key pairs, the verification relationship and the digital identity certificate in correspondence.

[0385] In the embodiment of the present invention, the first management unit 2203 is further used to generate a user identity document for the registered user information; and store the user digital identity identifier and one or more digital identity credentials of the registered user information into the user identity document.

[0386] In an embodiment of the present invention, the digital identity registration request also includes: a wallet public key in the wallet public-private key pair generated by the digital currency wallet, wherein the wallet public key is used to verify or decrypt information signed or encrypted by the wallet private key in the wallet public-private key pair; a first management unit 2203 is further used to determine a binding relationship between the user digital identity and the wallet public key; and store the wallet public key and the binding relationship in the user identity document.

[0387] In the embodiment of the present invention, the first management unit 2203 is further used to provide the user digital identity to the digital currency wallet of the registered user information, and determine that the registered user information is successfully registered.

[0388] Fig.23 A digital identity management device 2300 is shown, which is applied to a digital currency client and may include: a first interaction unit 2301 and a secure storage unit 2302, wherein:

[0389] The first interaction unit 2301 is used to send a digital identity registration request to a blockchain distributed digital identity management platform, wherein the digital identity registration request includes registered user information; receive a user digital identity identifier for the registered user information sent by the blockchain distributed digital identity management platform;

[0390] The secure storage unit 2302 is used to securely store the user digital identity and one or more digital identity certificates of the received registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0391] In an embodiment of the present invention, Fig.23 The digital identity management device 2300 applied to a digital currency client as shown above may include: a credential request sending unit 2303 and a credential receiving unit 2304, wherein:

[0392] The credential request sending unit 2303 is used to send a credential acquisition request to one or more credential issuance servers, wherein the credential acquisition request includes the identity verification information of the registered user information;

[0393] The credential receiving unit 2304 is used to receive the digital identity credential of the registered user information sent by the credential issuing server, wherein the digital identity credential is generated by the credential issuing server based on the identity verification information.

[0394] Among them, one or more of the credential issuing servers have been registered on the blockchain distributed digital identity management platform.

[0395] In an embodiment of the present invention, Fig.23 The digital identity management device 2300 shown above for a digital currency client may further include: a secret key generation unit 2305, wherein:

[0396] The key generation unit 2305 is used to generate a wallet public-private key pair for the registered user information, and securely store a wallet private key in the wallet public-private key pair, so as to use the wallet private key to sign or decrypt the interactive information;

[0397] The credential request sending unit 2303 is used to add the wallet public key in the wallet public-private key pair to the digital identity registration request, so that the blockchain distributed digital identity management platform stores the first digital identifier of the registered user information and the wallet public key correspondingly, so as to use the wallet public key to verify the interactive information signed by the wallet private key or encrypt the interactive information of the digital currency wallet.

[0398] Fig.24 A digital identity management device 2400 is shown, which is applied to a blockchain distributed digital identity management platform and may include: a second interface 2401 corresponding to a registration service end, a second generation unit 2402, and a second management unit 2403, wherein:

[0399] The second interface 2401 is used to receive at least one service public key sent by the registration server, and send the server digital identity generated by the generation unit to the registration server;

[0400] The second generating unit 2402 is used to generate a server digital identity for the registration server;

[0401] The second management unit 2403 is used to store and manage the server digital identity and at least one service public key to provide an authentication basis for the digital currency wallet client.

[0402] In the embodiment of the present invention, the second generating unit 2402 is further used to generate a server document for the registration server;

[0403] The second management unit 2403 is further used to store the server digital identity and at least one of the service public keys in the server document in correspondence, and manage the server digital identity and at least one of the service public keys based on the server document.

[0404] The registration server is: a certificate issuing server used to provide digital identity certificates to registered users of a digital currency wallet, or a digital currency server used to provide digital currency services to registered users of a digital currency wallet.

[0405] In an embodiment of the present invention, the second management unit 2403 is further used to, in response to receiving the digital identity certificate for the registered user of the digital currency wallet sent by the certificate issuing server, obtain at least one service public key of the certificate issuing server from the server document of the certificate issuing server for the case where the registration server is a certificate issuing server for providing digital identity credentials for registered users of the digital currency wallet; and store at least one service public key of the certificate issuing server corresponding to the digital identity certificate in the user identity document of the registered user to update the user identity document of the registered user.

[0406] In an embodiment of the present invention, the number of public and private key pairs for the service is two pairs; the second management unit 2403 is further used to store the certificate chain relationship of the two service key pairs and / or the verification relationship of the two service key pairs corresponding to the certificate chain relationship in the server document of the certificate issuing server.

[0407] In an embodiment of the present invention, the second management unit 2403 is further used to determine the verification relationship between the two service public keys based on the server document of the certificate issuing server, and store the verification relationship corresponding to the digital identity certificate in the user identity document of the registered user.

[0408] Fig.25 A digital identity management device 2500 is shown. The digital identity management device 2500 is applied to a registration server and may include: a determination unit 2501 and a second interaction unit 2502, wherein:

[0409] The determining unit 2501 is used to determine at least one service public-private key pair for the digital currency server, and store a service private key in the at least one service public-private key pair;

[0410] The second interaction unit 2502 is used to send the service public key of the at least one service public-private key pair to the blockchain distributed digital identity management platform; receive the server digital identity generated for the registration server and sent by the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform manages the server digital identity of the registration server and the service public key.

[0411] Among them, the registration server includes: a certificate issuing server for providing digital identity certificates for registered users of the digital currency wallet, or a digital currency server for providing digital currency services for registered users of the digital currency wallet.

[0412] In an embodiment of the present invention, the determination unit 2501 is further used to generate a public-private key pair for a first service, and obtain a public-private key pair for a second service generated by a trusted certificate authority for the digital currency server.

[0413] Fig.26 A digital identity management system 2600 is shown, and the digital identity management system 2600 may include: Fig. 22 The blockchain distributed digital identity management platform 2601 of the digital identity management device 2200 shown and the Fig.23 The digital currency client 2602 of the digital identity management device 2300 is shown.

[0414] In the embodiment of the present invention, Fig.26 As shown, the digital identity management system 2600 may further include: Fig.25 The registration server 2603 of the digital identity management device 2500 is shown.

[0415] Fig. 27 A digital identity authentication device 2700 is shown, which is applied to a digital currency server and may include: a third interaction unit 2701 and an authentication unit 2702, wherein:

[0416] The third interaction unit 2701 is used to receive digital identity information sent by the digital currency wallet client, wherein the digital identity information includes a user digital identity and one or more target digital identity certificates, wherein the target digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user;

[0417] The authentication unit 2702 is used to query the first service public key of each target digital identity certificate from the blockchain distributed digital identity management platform according to the user digital identity identifier; for each target digital identity certificate, execute the first service public key based on the target digital identity certificate to verify the digital signature of the target digital identity certificate; if the verification result of each target digital identity certificate indicates that the verification is passed, it is determined that the digital identity information authentication is successful, so as to provide services for the digital currency wallet client based on the digital identity information.

[0418] Among them, the public key for the first service is formed by signing the service public key in the first service public-private key pair by the second service private key in the second service public-private key pair, wherein the second service public-private key pair is generated by a trusted certificate authority for the digital currency server, and the first service public-private key pair is generated by the digital currency server.

[0419] In the embodiment of the present invention, the third interaction unit 2701 is further used to receive an authentication trigger from a digital currency wallet client, send the third service public key of the digital currency server to the digital currency wallet client, so that the digital currency wallet client uses the third service public key to encrypt the user digital identity signed by the wallet private key; receive the encrypted user digital identity with the signature and the wallet public key sent by the digital currency client;

[0420] The authentication unit 2702 is further used to decrypt the encrypted user digital identity with the signature using the stored third service private key corresponding to the third service public key; verify the decrypted result using the wallet public key; if the verification result indicates that the verification is successful, send information indicating that the verification is successful to the digital currency wallet client, so that the digital currency wallet client sends the digital identity information.

[0421] In an embodiment of the present invention, the authentication unit 2702 is further used to use the user digital identity with a signature to query the wallet public key of the user digital identity in the blockchain distributed digital identity management platform; compare the wallet public key of the user digital identity obtained by the query with the wallet public key sent by the digital currency client; if the comparison result indicates that the wallet public keys are consistent, execute the step of verifying the decrypted result using the wallet public key.

[0422] In an embodiment of the present invention, the authentication unit 2702 is further used to verify, for each of the target digital identity credentials, whether the target digital identity credentials are within the validity period. When it is determined that each of the target digital identity credentials is within the validity period and the verification result of each of the target digital identity credentials indicates that the verification is passed, it is determined that the digital identity information authentication is successful.

[0423] In an embodiment of the present invention, the authentication unit 2702 is further used to send the user digital identity identifier and the identifier of the target digital identity certificate to the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform can search and verify the first service public key based on the user digital identity identifier and the identifier of the target digital identity certificate; and receive the verified first service public key sent by the blockchain distributed digital identity management platform.

[0424] Fig.28 A digital identity authentication device 2800 is shown, which is applied to a blockchain distributed digital identity management platform and may include: a third interface 2801 corresponding to the digital currency server and an authentication processing unit 2802, wherein:

[0425] The third interface 2801 is used to receive the user digital identity identifier and one or more identifiers of the target digital identity certificates sent by the digital currency server;

[0426] The authentication processing unit 2802 is configured to search for relevant information of the target digital identity certificate according to the user digital identity certificate and the identifier of the target digital identity certificate for each identifier of the target digital identity certificate, and if found, verify the first service public key included in the relevant information of the target digital identity certificate;

[0427] The third interface 2801 is further used to send the verified first service public key to the digital currency server, so that the digital currency server authenticates the digital identity information sent by the digital currency wallet client based on the first service public key.

[0428] In the embodiment of the present invention, the authentication processing unit 2802 is further used to search for a user document corresponding to the user digital identity identifier; and search for relevant information of the target digital identity credential corresponding to the identifier of the target digital identity credential in the searched user document.

[0429] In an embodiment of the present invention, in view of the situation where the first service public key is formed by signing the service public key in the first service public-private key pair generated by the digital currency server by the second service private key in the second service public-private key pair generated by the trusted certificate issuing authority for the digital currency server, the authentication processing unit 2802 is further used to verify the signature of the first service public key using the second service public key corresponding to the second service private key included in the relevant information of the target digital identity certificate.

[0430] Fig.29 A digital identity authentication device 2900 is shown, which is applied to a digital currency wallet client and may include: an acquisition unit 2901 and a fourth interaction unit 2902, wherein:

[0431] The acquisition unit 2901 is used to acquire the stored user digital identity and one or more stored target digital identity credentials;

[0432] The fourth interaction unit 2902 is used to send digital identity information to the digital currency server, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity credentials, wherein the target digital identity credentials include characteristic information with a digital signature that uniquely identifies the user, so that the digital currency server can authenticate the digital identity information; receive the authentication result of the digital currency server, and based on the authentication result, receive further operations from the user.

[0433] In the embodiment of the present invention, the acquisition unit 2901 is further configured to select one or more target digital identity credentials from the stored digital identity credentials in the case where multiple digital identity credentials are stored.

[0434] In an embodiment of the present invention, the fourth interaction unit 2902 is further used to receive the third service public key of the digital currency server sent by the digital currency server in response to the authentication trigger of the digital currency server; use the third service public key to encrypt the user digital identity signed by the wallet private key; send the encrypted user digital identity with the signature and the wallet public key to the digital currency server, so that the digital currency server verifies the user digital identity with the signature; after receiving the information indicating that the verification is successful, execute the step of sending the digital identity information.

[0435] Fig. 30A FIG. 3 shows a schematic diagram of the main structure of a data identity authentication system 3000. Fig. 30A As shown, the data identity authentication system 3000 may include:

[0436] With the above Fig. 27 The digital currency service end 3001 of the digital identity authentication device 2700 shown has the above Fig.28 The blockchain distributed digital identity management platform 3002 of the digital identity authentication device 2800 is shown;

[0437] With the above Fig.29 The digital currency wallet client 3003 of the digital identity authentication device 2900 is shown.

[0438] like Fig. 30B As shown, the embodiment of the present invention further provides a digital identity management and authentication system 3000' for integrated digital identity management and digital identity authentication. The digital identity management and authentication system 3000' may include: a digital currency server 3001'; a blockchain distributed digital identity management platform 3002'; a digital currency wallet client 3003' and a certificate issuance server 3004'.

[0439] Among them, the digital currency server 3001', the digital currency wallet client 3003', and the certificate issuance server 3004' are registered on the blockchain distributed digital identity management platform 3002', and the blockchain distributed digital identity management platform 3002' manages the digital identities of the digital currency server 3001', the digital currency wallet client 3003', and the certificate issuance server 3004' respectively;

[0440] The certificate issuance server 3004' generates a digital identity certificate for the digital currency wallet client 3003', and stores the digital identity certificate in the blockchain distributed digital identity management platform 3002' and the digital currency wallet client 3003' respectively;

[0441] The digital currency server 3001' combines with the blockchain distributed digital identity management platform 3002' to perform user identity authentication on the digital identity certificate sent by the digital currency wallet client 3003'.

[0442] Fig.31 An exemplary system architecture 3100 is shown to which the digital identity management method or digital identity authentication method or digital identity management device or digital identity authentication method or digital identity authentication device according to the embodiments of the present invention can be applied.

[0443] like Fig.31As shown, the system architecture 3100 may include terminal devices 3101, 3102, 3103, a network 3104, a credential issuance server 3105, a digital currency server 3106, and a blockchain distributed digital identity management platform 3107. The network 3104 is used to provide a medium for communication links between the terminal devices 3101, 3102, 3103 and the credential issuance server 3105, between the terminal devices 3101, 3102, 3103 and the digital currency server 3106, between the terminal devices 3101, 3102, 3103 and the blockchain distributed digital identity management platform 3107, between the credential issuance server 3105 and the blockchain distributed digital identity management platform 3107, and between the digital currency server 3106 and the blockchain distributed digital identity management platform 3107. The network 3104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0444] Users can use the digital currency client installed on terminal devices 3101, 3102, and 3103 to interact with the blockchain distributed digital identity management platform 3107 through network 3104 to receive or send messages, etc. For example, the blockchain distributed digital identity management platform 3107 receives the user digital identity registration request sent by terminal devices 3101, 3102, and 3103, and the terminal devices 3101, 3102, and 3103 receive the registration success information sent by the blockchain distributed digital identity management platform 3107 to the digital currency client of the terminal devices 3101, 3102, and 3103.

[0445] The user can use the terminal devices 3101, 3102, 3103 to interact with the digital currency server 3106 through the network 3104 to receive or send messages, etc. For example, the user can use the terminal devices 3101, 3102, 3103 to send a digital identity authentication request to the digital currency server 3106, and the digital currency server 3106 can send the authentication result such as authentication success or failure to the terminal devices 3101, 3102, 3103.

[0446] The user can use the terminal devices 3101, 3102, 3103 to interact with the credential issuance server 3105 through the network 3104 to receive or send messages, etc. For example, the user can use the terminal devices 3101, 3102, 3103 to send a credential acquisition request to the credential issuance server 3105, and the credential issuance server 3105 can generate a digital identity credential and send the digital identity credential to the credential issuance server 3105.

[0447] Various communication client applications can be installed on the terminal devices 3101, 3102, and 3103, such as digital currency client applications, financial-related clients, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (just examples).

[0448] The terminal devices 3101 , 3102 , and 3103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0449] The credential issuance server 3105 may be a server that provides various services, or a service system implemented by a blockchain or a distributed ledger, such as a background management server (for example only) that provides support for credential acquisition requests sent by users using terminal devices 3101, 3102, and 3103. The credential issuance server 3105 may analyze and process the received credential acquisition request and other data, and feed back the processing results (for example, digital identity credentials - for example only) to the terminal device.

[0450] The digital currency server 3106 may be a server that provides various services, or a service system implemented by a blockchain or a distributed ledger, such as a background management server (for example only) that provides support for identity authentication or digital currency transactions sent by users using terminal devices 3101, 3102, and 3103. The digital currency server 3106 may analyze and process the received identity authentication or digital currency transaction data, and feed back the processing results (for example, successful authentication or successful transaction - for example only) to the terminal device.

[0451] The blockchain distributed digital identity management platform 3107 can be a service system implemented by a blockchain or a distributed ledger, such as a background management server (only for example) that provides support for the digital wallet registration information sent by the user using the terminal devices 3101, 3102, and 3103. The blockchain distributed digital identity management platform 3107 can analyze and process the received registration-related information and other data, and feed back the processing results (such as the user's digital identity - only for example) to the terminal device.

[0452] It should be noted that the digital identity management method provided in the embodiment of the present invention is generally executed by the terminal devices 3101, 3102, 3103, the certificate issuance server 3105 and the blockchain distributed digital identity management platform 3107 in collaboration with each other, and the digital identity authentication method provided in the embodiment of the present invention is generally executed by the terminal devices 3101, 3102, 3103, the digital currency server 3106 and the blockchain distributed digital identity management platform 3107 in collaboration with each other.

[0453] It should be understood that Fig.31 The number of terminal devices, certificate issuance service ends, digital currency service ends, and blockchain distributed digital identity management platforms in the embodiment is only illustrative. According to the implementation requirements, there can be any number of terminal devices, certificate issuance service ends, digital currency service ends, and blockchain distributed digital identity management platforms.

[0454] Reference below Fig.32 , which shows a schematic diagram of the structure of a computer system 3200 of a terminal device suitable for implementing an embodiment of the present invention. Fig.32 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0455] like Fig.32 As shown, the computer system 3200 includes a central processing unit (CPU) 3201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 3202 or a program loaded from a storage part 3208 into a random access memory (RAM) 3203. In the RAM 3203, various programs and data required for the operation of the system 3200 are also stored. The CPU 3201, the ROM 3202, and the RAM 3203 are connected to each other via a bus 3204. An input / output (I / O) interface 3205 is also connected to the bus 3204.

[0456] The following components are connected to the I / O interface 3205: an input section 3206 including a keyboard, a mouse, etc.; an output section 3207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 3208 including a hard disk, etc.; and a communication section 3209 including a network interface card such as a LAN card, a modem, etc. The communication section 3209 performs communication processing via a network such as the Internet. A drive 3210 is also connected to the I / O interface 3205 as needed. A removable medium 3211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 3210 as needed, so that a computer program read therefrom is installed into the storage section 3208 as needed.

[0457] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 3209, and / or installed from the removable medium 3211. When the computer program is executed by the central processing unit (CPU) 3201, the above-mentioned functions defined in the system of the present invention are executed.

[0458] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0459] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0460] The units involved in the embodiments of the present invention may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a first interface, a first generation unit, and a first management unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the first generation unit may also be described as a "unit for generating a user digital identity for registered user information".

[0461] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving a digital identity registration request, wherein the digital identity registration request includes registered user information; generating a user digital identity for the registered user information; storing and managing the user digital identity and one or more digital identity certificates for the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0462] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: sending a digital identity registration request to a blockchain distributed digital identity management platform, wherein the digital identity registration request includes registered user information; receiving a user digital identity identifier for registered user information sent by the blockchain distributed digital identity management platform; securely storing the user digital identity identifier and one or more digital identity certificates of the received registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

[0463] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving at least one service public key sent by the registration server; generating a server digital identity for the registration server, and sending the server digital identity to the registration server; correspondingly storing and managing the server digital identity and at least one service public key to provide an authentication basis for the digital currency wallet client.

[0464] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: determining at least one service public-private key pair for a digital currency server, storing a service private key in at least one service public-private key pair; sending a service public key in at least one service public-private key pair to a blockchain distributed digital identity management platform; receiving a server digital identity generated for a registered server sent by the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform manages the server digital identity and service public key of the registered server.

[0465] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving a user digital identity identifier and one or more target digital identity certificate identifiers sent by a digital currency server; for each target digital identity certificate identifier, searching for relevant information of the target digital identity certificate according to the user digital identity identifier and the target digital identity certificate identifier, and if found, verifying the first service public key included in the relevant information of the target digital identity certificate; sending the verified first service public key to the digital currency server, so that the digital currency server authenticates the digital identity information sent by the digital currency wallet client based on the first service public key.

[0466] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining a stored user digital identity and one or more stored target digital identity certificates; sending digital identity information to a digital currency server, wherein the digital identity information includes the user digital identity and one or more target digital identity certificates, wherein the target digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user, so that the digital currency server authenticates the digital identity information; receiving the authentication result of the digital currency server, and based on the authentication result, receiving further operations of the user.

[0467] According to the technical solution of the embodiment of the present invention, by registering user information and the user's digital identity certificate including characteristic information with a digital signature that uniquely identifies the user to a blockchain distributed digital identity management platform, the user information and the digital identity certificate are managed by the blockchain distributed digital identity management platform, and subsequent users can perform identity authentication through the digital identity certificate. Since the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user, the characteristic information that uniquely identifies the user is protected by the digital signature, thereby preventing the user's characteristic information from being intercepted or stolen during the authentication process. The digital identity certificate can effectively ensure the security of user information, while effectively reducing the risk of the digital identity certificate being stolen, so as to effectively improve the credibility of digital identity authentication.

[0468] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A digital identity management method, characterized in that: Applied to blockchain distributed digital identity management platform, including: Receiving a digital identity registration request, wherein the digital identity registration request includes registration user information; Generating a user digital identity for the registered user information; The user digital identity and one or more digital identity certificates of the registered user information are stored and managed corresponding to the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

2. The digital identity management method according to claim 1, characterized in that: Also includes: Generating a user identity document for the registered user information; The storing and managing the user digital identity and one or more digital identity certificates of the registered user information corresponding to the registered user information includes: The user digital identity identifier and one or more digital identity credentials corresponding to the registered user information are stored in the user identity document.

3. The digital identity management method according to claim 1, characterized in that: After generating a user digital identity for the registered user information, the method further includes: The user digital identity is provided to the digital currency wallet of the registered user information, and it is determined that the registered user information is successfully registered.

4. The digital identity management method according to claim 1, characterized in that: Also includes: Receive the digital identity certificate generated and sent by one or more certificate issuing servers for the registered user information, wherein the digital identity certificate is synchronously stored in the digital currency wallet of the registered user information, and the certificate issuing server has been registered in the blockchain distributed digital identity management platform.

5. The digital identity management method according to claim 2, characterized in that: The digital identity registration request further includes: a wallet public key in a wallet public-private key pair generated by the digital currency wallet, wherein the wallet public key is used to verify the interactive information signed by the wallet private key in the wallet public-private key pair or to encrypt the interactive information of the digital currency wallet; It also includes: determining a binding relationship between the user digital identity and the wallet public key; The wallet public key and the binding relationship are stored in the user identity document.

6. The digital identity management method according to claim 4, characterized in that: Also includes: Receive one or more newly added digital identity credentials generated and sent by the registered user information by the credential issuance server, wherein the newly added digital identity credentials are synchronously stored in the digital currency wallet of the registered user information, and the newly added credential issuance server is registered in the blockchain distributed digital identity management platform.

7. The digital identity management method according to claim 4 or 6, characterized in that: The digital signature corresponding to the digital identity certificate is derived from at least one service private key of the certificate issuing server, and the service public key corresponding to at least one service private key is stored in the blockchain distributed digital identity management platform.

8. The digital identity management method according to claim 7, characterized in that: The digital signature corresponding to the digital identity certificate is formed based on the certificate chain relationship of the two service key pairs of the certificate issuing server, wherein the certificate chain relationship includes: the private key of one pair of service keys signs the public key of another pair of service keys.

9. The digital identity management method according to claim 8, characterized in that: Also includes: Based on the certificate chain relationship, determining the verification relationship between the two service key pairs; The two service public keys in the two service key pairs, the verification relationship and the digital identity certificate are stored and managed in correspondence.

10. A digital identity management method, characterized in that: Applied to digital currency clients, including: Sending a digital identity registration request to a blockchain distributed digital identity management platform, wherein the digital identity registration request includes registration user information; Receiving a user digital identity identifier for the registered user information sent by the blockchain distributed digital identity management platform; The user digital identity and one or more digital identity certificates of the received registered user information are securely stored, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user.

11. The digital identity management method according to claim 10, characterized in that: Also includes: Generate a wallet public-private key pair for the registered user information, and securely store a wallet private key in the wallet public-private key pair, so as to use the wallet private key to sign or decrypt interactive information; The wallet public key in the wallet public-private key pair is added to the digital identity registration request, so that the blockchain distributed digital identity management platform stores the first digital identifier of the registered user information and the wallet public key correspondingly, so as to use the wallet public key to verify the interactive information signed by the wallet private key or encrypt the interactive information of the digital currency wallet.

12. The digital identity management method according to claim 10, characterized in that: Also includes: Sending a credential acquisition request to one or more credential issuance servers, wherein the credential acquisition request includes identity verification information of the registered user information; Receive the digital identity certificate of the registered user information sent by the certificate issuing service end, wherein the digital identity certificate is generated by the certificate issuing service end based on the identity verification information.

13. The digital identity management method according to claim 12, characterized in that: The sending of the credential acquisition request to one or more credential issuance servers includes: Send a credential acquisition request to one or more credential issuance servers registered on the blockchain distributed digital identity management platform.

14. A digital identity management method, characterized in that: Applied to blockchain distributed digital identity management platform, including: Receive at least one service public key sent by the registration server; Generate a server digital identity for the registration server, and send the server digital identity to the registration server; Correspondingly, the server digital identity and at least one of the service public keys are stored and managed to provide an authentication basis for the digital currency wallet client.

15. The digital identity management method according to claim 14, characterized in that: After generating a server digital identity for the registration server, the method further includes: generating a server document for the registration server; The corresponding storage and management of the server digital identity and at least one of the service public keys includes: The server digital identity and at least one of the service public keys are stored in the server document in a corresponding manner, and the server digital identity and at least one of the service public keys are managed based on the server document.

16. The digital identity management method according to claim 15, characterized in that: The registration server is: A certificate issuing server used to provide digital identity certificates to registered users of digital currency wallets. or, A digital currency server used to provide digital currency services to registered users of digital currency wallets.

17. The digital identity management method according to claim 15, characterized in that: In the case where the registration server is a certificate issuing server for providing digital identity certificates to registered users of digital currency wallets, The managing the server digital identity and at least one of the service public keys based on the server document includes: In response to receiving the digital identity certificate for the registered user of the digital currency wallet sent by the certificate issuing server, obtaining at least one service public key of the certificate issuing server from the server document of the certificate issuing server; At least one of the service public keys of the certificate issuance service end is stored in the user identity document of the registered user corresponding to the digital identity certificate to update the user identity document of the registered user.

18. The digital identity management method according to claim 17, characterized in that: The number of public and private key pairs for the service is two; It also includes: storing the certificate chain relationship of the two service public and private key pairs and / or the verification relationship corresponding to the certificate chain relationship in the server document of the certificate issuing service end.

19. The digital identity management method according to claim 18, characterized in that: Also includes: Based on the server document of the certificate issuing server, the verification relationship between the two service public and private key pairs is determined, and the verification relationship is stored in the user identity document of the registered user corresponding to the digital identity certificate.

20. A digital identity management method, characterized in that: Applied to the registration server, including: Determine at least one service-use public-private key pair for the registration server, and store a service-use private key in the at least one service-use public-private key pair; Sending the service public key of the at least one service public-private key pair to the blockchain distributed digital identity management platform; Receive the server digital identity generated for the registration server and sent by the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform manages the server digital identity of the registration server and the service public key.

21. The digital identity management method according to claim 20, characterized in that: The determining of at least one public-private key pair for a service comprises: Generate a public-private key pair for a first service, and obtain a public-private key pair for a second service generated by a trusted certificate authority for the registration server.

22. The digital identity management method according to claim 21, characterized in that: Also includes: In case the registration server is a digital currency server, Signing the first service public key in the first service public-private key pair using the second service private key in the second service public-private key pair; The sending of the service public key of at least one of the service public-private key pairs to the blockchain distributed digital identity management platform includes: The signed first service public key and the second service public key are sent to the blockchain distributed digital identity management platform.

23. The digital identity management method according to claim 20 or 21, characterized in that: In case the registration server is a certificate issuing server, Also includes: Receiving a credential acquisition request sent by the digital currency client, wherein the credential acquisition request includes identity verification information of the registered user information; Verifying the identity verification information; If the verification result indicates that the verification is successful, a digital identity certificate is generated for the registered user information, wherein the digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user; The digital identity certificate is distributed to the digital currency wallet client of the registered user information and the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform obtains the first service public key and / or the second service public key, and manages the first service public key and / or the second service public key and the digital identity certificate for the registered users of the digital currency wallet client.

24. The digital identity management method according to claim 23, characterized in that: The step of generating a digital identity certificate for the registered user information includes: Determine characteristic information that uniquely identifies the registered user information; The characteristic information is digitally signed using at least one service private key to obtain the digital identity certificate.

25. The digital identity management method according to claim 24, characterized in that: The step of digitally signing the characteristic information using at least one service private key comprises: In the case where two public and private key pairs for the service are determined, The second service public key in the second service public-private key pair is signed by using the first service private key in the first service public-private key pair, and the characteristic information is encrypted by using the signed second service public key.

26. A digital identity authentication method, characterized in that: Applied to digital currency servers, including: Receiving digital identity information sent by a digital currency wallet client, wherein the digital identity information includes a user digital identity and one or more target digital identity credentials, wherein the target digital identity credentials include characteristic information with a digital signature that uniquely identifies the user; According to the user digital identity, query the first service public key of each target digital identity certificate from the blockchain distributed digital identity management platform; For each of the target digital identity certificates, executing a first service public key based on the target digital identity certificate to verify the digital signature of the target digital identity certificate; If the verification result of each of the target digital identity credentials indicates that the verification is passed, it is determined that the digital identity information is successfully authenticated, so as to provide services for the digital currency wallet client based on the digital identity information.

27. The digital identity authentication method according to claim 26, characterized in that: The querying of the service public key of each target digital identity certificate from the blockchain distributed digital identity management platform includes: Sending the user digital identity identifier and the identifier of the target digital identity credential to the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform searches for and verifies the first service public key based on the user digital identity identifier and the identifier of the target digital identity credential; Receive the first service public key that has passed the verification and is sent by the blockchain distributed digital identity management platform.

28. The digital identity authentication method according to claim 26, characterized in that: Also includes: For each of the target digital identity certificates, verify whether the target digital identity certificate is within the validity period. When it is determined that each of the target digital identity credentials is within the validity period and the verification result of each of the target digital identity credentials indicates that the verification is passed, it is determined that the digital identity information authentication is successful.

29. The digital identity authentication method according to claim 26, characterized in that: Also includes: Upon receiving an authentication trigger from a digital currency wallet client, the third service public key of the digital currency server is sent to the digital currency wallet client, so that the digital currency wallet client uses the third service public key to encrypt the user digital identity signed by the wallet private key; Receive the encrypted user digital identity with signature and the public key for wallet sent by the digital currency client; Decrypting the encrypted user digital identity with the signature using the stored third service private key corresponding to the third service public key; Verify the decrypted result using the public key of the wallet; If the verification result indicates that the verification is successful, information indicating that the verification is successful is sent to the digital currency wallet client, so that the digital currency wallet client sends the digital identity information.

30. The digital identity authentication method according to claim 29, characterized in that: After decrypting the encrypted user digital identity with the signature by using the stored third service private key corresponding to the third service public key, the method further comprises: Using the user digital identity with the signature, query the wallet public key of the user digital identity in the blockchain distributed digital identity management platform; Comparing the queried wallet public key of the user digital identity with the wallet public key sent by the digital currency client; If the comparison result indicates that the wallet public key is consistent, the step of verifying the decrypted result using the wallet public key is performed.

31. A digital identity authentication method, characterized in that: Applied to blockchain distributed digital identity management platform, including: Receiving the user digital identity identifier and one or more identifiers of the target digital identity credentials sent by the digital currency server; For each identifier of the target digital identity certificate, searching for relevant information of the target digital identity certificate according to the user digital identity identifier and the identifier of the target digital identity certificate, and if found, verifying the first service public key included in the relevant information of the target digital identity certificate; The first service public key that has passed the verification is sent to the digital currency server, so that the digital currency server authenticates the digital identity information sent by the digital currency wallet client based on the first service public key.

32. The digital identity authentication method according to claim 31, characterized in that: The step of searching for the target digital identity certificate according to the user digital identity identifier and the identifier of the target digital identity certificate includes: Finding a user document corresponding to the user digital identity; In the searched user document, relevant information of the target digital identity credential corresponding to the identifier of the target digital identity credential is searched.

33. A digital identity authentication method, characterized in that: Applied to digital currency wallet clients, including: Obtaining a stored user digital identity and one or more stored target digital identity credentials; Sending digital identity information to a digital currency server, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity credentials, wherein the target digital identity credentials include characteristic information with a digital signature that uniquely identifies the user, so that the digital currency server authenticates the digital identity information; Receive the authentication result of the digital currency server, and based on the authentication result, receive further operations from the user.

34. The digital identity authentication method according to claim 33, characterized in that: The obtaining of one or more stored target digital identity credentials includes: For situations where multiple digital identity credentials are stored, One or more target digital identity credentials are selected from the plurality of stored digital identity credentials.

35. The digital identity authentication method according to claim 33, characterized in that: Also includes: In response to an authentication trigger of the digital currency server, receiving a third service public key of the digital currency server sent by the digital currency server; Encrypting the user digital identity signed by the wallet private key using the third service public key; Sending the encrypted user digital identity with signature and the wallet public key to the digital currency server, so that the digital currency server verifies the user digital identity with signature; After receiving the information indicating that the verification is successful, the step of sending the digital identity information is performed.

36. A digital identity management device, characterized in that: Applied to a blockchain distributed digital identity management platform, comprising: a first interface corresponding to a digital currency client, a first generation unit, and a first management unit, wherein: The first interface is used to receive a digital identity registration request, wherein the digital identity registration request includes registration user information; The first generating unit is used to generate a user digital identity for the registered user information; The first management unit is used to store and manage the user digital identity and one or more digital identity certificates of the registered user information corresponding to the registered user information, wherein the digital identity certificate includes characteristic information that uniquely identifies the registered user information and a digital signature of the characteristic information.

37. A digital identity management device, characterized in that: Applied to a digital currency client, comprising: a first interaction unit and a secure storage unit, wherein: The first interaction unit is used to send a digital identity registration request to a blockchain distributed digital identity management platform, wherein the digital identity registration request includes registered user information; receive a user digital identity identifier for the registered user information sent by the blockchain distributed digital identity management platform; The secure storage unit is used to securely store the user digital identity and one or more digital identity certificates of the received registered user information, wherein the digital identity certificate includes characteristic information that uniquely identifies the registered user information and a digital signature of the characteristic information.

38. A digital identity management device, characterized in that: Applied to a blockchain distributed digital identity management platform, comprising: a second interface corresponding to a registration server, a second generation unit, and a second management unit, wherein: The second interface is used to receive at least one service public key sent by the registration server, and send the server digital identity generated by the generation unit to the registration server; The second generating unit is used to generate a server digital identity for the registration server; The second management unit is used to store and manage the server digital identity and at least one of the service public keys to provide an authentication basis for the digital currency wallet client.

39. A digital identity management device, characterized in that: Applied to a registration server, comprising: a determination unit and a second interaction unit, wherein: The determining unit is used to determine at least one service public-private key pair for the digital currency server, and store a service private key in the at least one service public-private key pair; The second interaction unit is used to send the service public key of the at least one service public-private key pair to the blockchain distributed digital identity management platform; receive the server digital identity generated for the registration server and sent by the blockchain distributed digital identity management platform, so that the blockchain distributed digital identity management platform manages the server digital identity of the registration server and the service public key.

40. The digital identity management device according to claim 39, characterized in that: The registration server includes: A certificate issuing server used to provide digital identity certificates to registered users of digital currency wallets. or, A digital currency server used to provide digital currency services to registered users of digital currency wallets.

41. A digital identity management system, characterized in that: include: A blockchain distributed digital identity management platform having the digital identity management device of claim 36 and a digital currency client having the digital identity management device of claim 37.

42. The digital identity management system according to claim 41, characterized in that: Also includes: A registration server having the digital identity management device as claimed in claim 39.

43. A digital identity authentication device, characterized in that: Applied to a digital currency server, comprising: a third interaction unit and an authentication unit, wherein: The third interaction unit is used to receive digital identity information sent by the digital currency wallet client, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity certificates, wherein the target digital identity certificate includes characteristic information with a digital signature that uniquely identifies the user; The authentication unit is used to query the first service public key of each target digital identity certificate from the blockchain distributed digital identity management platform according to the user digital identity identifier; for each target digital identity certificate, execute the first service public key based on the target digital identity certificate to verify the digital signature of the target digital identity certificate; if the verification result of each target digital identity certificate indicates that the verification is passed, it is determined that the digital identity information authentication is successful, so as to provide services for the digital currency wallet client based on the digital identity information.

44. A digital identity authentication device, characterized in that: Applied to a blockchain distributed digital identity management platform, comprising: a third interface corresponding to the digital currency server and an authentication processing unit, wherein: The third interface is used to receive the user digital identity identifier and one or more identifiers of the target digital identity credentials sent by the digital currency server; The authentication processing unit is configured to search for relevant information of the target digital identity certificate according to the user digital identity certificate and the identifier of the target digital identity certificate for each identifier of the target digital identity certificate, and if found, verify the first service public key included in the relevant information of the target digital identity certificate; The third interface is further used to send the verified first service public key to the digital currency server, so that the digital currency server authenticates the digital identity information sent by the digital currency wallet client based on the first service public key.

45. A digital identity authentication device, characterized in that: Applied to a digital currency wallet client, comprising: an acquisition unit and a fourth interaction unit, wherein: The acquisition unit is used to acquire the stored user digital identity and one or more stored target digital identity credentials; The fourth interaction unit is used to send digital identity information to the digital currency server, wherein the digital identity information includes a user digital identity identifier and one or more target digital identity credentials, wherein the target digital identity credentials include feature information that uniquely identifies the user and a digital signature of the feature information, so that the digital currency server can authenticate the digital identity information; receive the authentication result of the digital currency server, and based on the authentication result, receive further operations from the user.

46. ​​A digital identity authentication system, characterized in that: include: A digital currency server having the digital identity authentication device of claim 43; A blockchain distributed digital identity management platform having the digital identity authentication device of claim 44; as well as, A digital currency wallet client having the digital identity authentication device as described in claim 45.

47. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 35.

48. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 35 is implemented.