Blockchain privacy identity protection method, device, storage medium and system

Through the blockchain privacy identity protection method, cryptography and zero-knowledge proof verification are used to generate and store identity information, which solves the problem of inability to protect user privacy identity data, realizes the safe storage of private accounts, and avoids the risks of centralized institutions. .

CN114329610BActive Publication Date: 2024-08-27ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111680787.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2024-08-27
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

In the existing technology, user privacy identity data cannot be effectively protected and is easily lost and unsafe. Centralized institutions control the data and face the risk of being lost and trafficked.

Method used

Through the blockchain privacy identity protection method, the identity provider information collection and the anonymous revocator public key information are used to create a pre-account structure, cryptography and zero-knowledge proof verification are used to generate signature authentication and store the identity information in the blockchain network , to achieve confidential storage of private accounts.

Benefits of technology

It realizes the confidential storage of user privacy accounts, avoids the risks of centralized institutions, and improves data security and privacy protection capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114329610B
    Figure CN114329610B
Patent Text Reader

Abstract

The present invention discloses a blockchain privacy identity protection method, device, storage medium and system. The blockchain privacy identity protection method creates a pre-account structure for an account holder based on an identity provider information set and anonymous revoker public key information; verifies the pre-account structure by using cryptography and zero-knowledge proof by the identity provider, and receives the account structure fed back by the identity provider when the verification is successful; obtains the signature authentication in the account structure, generates identity information based on the signature authentication; sends the identity information to the blockchain network, so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified. In the present invention, identity information is generated by the signature authentication in the account structure fed back after the pre-account structure is verified by cryptography and zero-knowledge proof, and the privacy account is stored in the blockchain network when the verification is successful, thereby realizing the confidential storage of the user's privacy account.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain privacy identity protection method, device, storage medium and system. Background Art

[0002] At present, the digital identity authentication process generally adopts the centralized institution method, which authenticates the user and issues the digital identity. The authenticated data is stored in the central server and can be read at will, which is easy to lose and unsafe. The data is in the centralized institution, and all businesses rely on this centralized institution. The data processing of this institution is completely non-public. Any data generated by the user will be controlled by the institution and face the risk of loss or even "trafficking". How to protect the user's private identity data is an urgent problem to be solved.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a blockchain privacy identity protection method, device, storage medium and system, aiming to solve the technical problem that the prior art cannot protect user privacy identity data.

[0005] To achieve the above objectives, the present invention provides a blockchain privacy identity protection method, which includes:

[0006] Create a pre-account structure for the account holder based on the identity provider information set and the anonymous revoker public key information;

[0007] Verifying the pre-account structure by using cryptography and zero-knowledge proof through an identity provider, and receiving the account structure fed back by the identity provider when the verification is successful;

[0008] Obtaining the signature authentication in the account structure, and generating identity information according to the signature authentication;

[0009] The identity information is sent to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified.

[0010] Optionally, the step of verifying the pre-account structure by using cryptography and zero-knowledge proof through the identity provider, and receiving the account structure fed back by the identity provider when the verification is successful includes:

[0011] Verify the identity provider information set in the account structure by using cryptography through the identity provider;

[0012] The commitment value of the account holder is verified by using zero-knowledge proof, and the account structure fed back by the identity provider is received when the verification is passed.

[0013] Optionally, the step of verifying the commitment value of the account holder by using zero-knowledge proof, after receiving the account structure feedback from the identity provider when the verification is successful, further includes:

[0014] Obtaining public information in the pre-account structure through the identity provider, and determining the number of private accounts of the account holder based on the public information;

[0015] Generating a privacy account according to the signature authentication within the range of the number of privacy accounts;

[0016] The private account is sent to the blockchain network so that the blockchain network stores the private account when the private account is successfully verified.

[0017] Optionally, the step of sending the private account to the blockchain network so that the blockchain network stores the private account when the private account is successfully verified includes:

[0018] The private account is sent to the blockchain network so that the blockchain network verifies the commitment value through zero-knowledge proof and the number of private accounts through bulletproof proof, and stores the private account when the verification is successful.

[0019] Optionally, the step of obtaining the signature authentication in the account structure and generating identity information according to the signature authentication includes:

[0020] Obtaining the signature authentication in the account structure and the initial commitment value of the account holder;

[0021] A privacy account is generated according to the signature authentication and the initial commitment value.

[0022] Optionally, after the step of sending the identity information to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified, the step further includes:

[0023] When canceling a private account, obtain the cancellation ratio of anonymous cancellers;

[0024] When the revocation ratio is greater than a first preset ratio, obtaining private key information of the anonymous revoker;

[0025] Determine the privacy account to be revoked according to the private key information;

[0026] The to-be-revoked privacy account is verified by the identity provider, and the to-be-revoked privacy account is revoked when the verification passes.

[0027] Optionally, after the step of determining the corresponding account structure to be revoked according to the identity information by the identity provider and revoking the account structure to be revoked, the method further includes:

[0028] When the revocation ratio is greater than a second preset ratio, determining the initial commitment value according to the private key information;

[0029] Generate each privacy account of the account holder according to the initial commitment value, and cancel each privacy account.

[0030] In addition, in order to achieve the above-mentioned purpose, the present invention also provides a blockchain privacy identity protection device, and the blockchain privacy identity protection device comprises:

[0031] A structure creation module, for creating a pre-account structure for an account holder based on the identity provider information set and the anonymous revoker public key information;

[0032] A structure verification module verifies the pre-account structure by using cryptography and zero-knowledge proof through an identity provider, and receives the account structure fed back by the identity provider when the verification is successful;

[0033] An information generation module, which obtains the signature authentication in the account structure and generates identity information according to the signature authentication;

[0034] The information storage module sends the identity information to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a storage medium, on which a blockchain privacy identity protection program is stored, and when the blockchain privacy identity protection program is executed by a processor, the steps of the blockchain privacy identity protection method are implemented.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also provides a blockchain privacy identity protection system, which includes: a memory, a processor, and a blockchain privacy identity protection program stored on the memory and executable on the processor, and the blockchain privacy identity protection program implements the steps of the blockchain privacy identity protection method when executed by the processor.

[0037] The present invention provides a blockchain privacy identity protection method, device, storage medium and system. The blockchain privacy identity protection method creates a pre-account structure for the account holder based on the identity provider information set and the anonymous revoker public key information; the identity provider verifies the pre-account structure using cryptography and zero-knowledge proof, and receives the account structure fed back by the identity provider when the verification is successful; obtains the signature authentication in the account structure, generates identity information based on the signature authentication; sends the identity information to the blockchain network, so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified. In the present invention, identity information is generated by the signature authentication in the account structure fed back after the pre-account structure is verified by cryptography and zero-knowledge proof, and the identity information is sent to the blockchain network. When the blockchain network is successfully verified, the privacy account is stored, thereby realizing the confidential storage of the user's privacy account. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of the structure of a control device in a blockchain privacy identity protection system in a hardware operating environment involved in an embodiment of the present invention;

[0039] Figure 2 This is a flowchart of the first embodiment of the blockchain privacy identity protection method of the present invention;

[0040] Figure 3 This is a flowchart of the second embodiment of the blockchain privacy identity protection method of the present invention;

[0041] Figure 4 This is a flowchart of the third embodiment of the blockchain privacy identity protection method of the present invention;

[0042] Figure 5 This is a structural block diagram of the first embodiment of the blockchain privacy identity protection device of the present invention.

[0043] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0045] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of the control device of the account holder in the blockchain privacy identity protection system of the hardware operating environment involved in the embodiment of the present invention.

[0046] like Figure 1As shown, the blockchain privacy identity protection system includes an account holder, an identity provider, an anonymous revoker, a blockchain network, and a control device. The control device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable memory (Non-volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0047] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation of the blockchain privacy identity protection system, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0048] like Figure 1 As shown, the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and a blockchain privacy identity protection program.

[0049] exist Figure 1 In the control device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the user device; the blockchain privacy identity protection system calls the blockchain privacy identity protection program stored in the memory 1005 through the processor 1001, and executes the blockchain privacy identity protection method provided in the embodiment of the present invention.

[0050] Based on the above hardware structure, an embodiment of the blockchain privacy identity protection method of the present invention is proposed.

[0051] Reference Figure 2 , Figure 2 The figure is a flow chart of the first embodiment of the blockchain privacy identity protection method of the present invention, and the first embodiment of the security reinforcement method of the present invention is proposed.

[0052] In this embodiment, the blockchain privacy identity protection method includes:

[0053] Step S10: creating a pre-account structure for the account holder according to the identity provider information set and the anonymous revoker public key information;

[0054] It should be understood that the execution subject of this embodiment can be a control device of the blockchain privacy identity protection system. The control device can be a computer, a server, etc. The control device can coordinate and control the account holder, the identity provider and the blockchain network in the blockchain privacy identity protection system. The control device can be set at the end of the account holder.

[0055] It should be understood that an account holder is a private or legal entity. An account holder exists in real life and has a certificate that proves their identity to an identity provider. For example, an account holder has a name and a real physical identity (CPR, passport number, etc.) that can be used to identify them. The account holder also has a "public identity credential" that only he knows the corresponding confidential credential. An account holder can register with an identity provider to obtain proof that the account holder has certain attributes. This proof process does not involve the blockchain network. After registration is completed, using the signature authentication of the identity provider, the account holder creates a new private account on the chain through the control device. At this time, the private account will contain information proving that the account belongs to the account holder and register with the given identity provider. It may reveal some of the account holder's attributes, but the account holder is anonymous and there is no corresponding account holder's identity information on the blockchain network. The identity provider is used to check the identity of the account holder and issue a certificate after the identity is confirmed. The certificate is essentially a signature on many of the account holder's attributes, indicating that the account holder does have the corresponding attributes. Anonymous revoker is used to revoke the anonymity of the private account. If it is necessary to determine the identity information of the account holder of the privacy account, the anonymous revoker can identify the identity information of all privacy accounts belonging to the account holder with the help of the identity provider. The anonymous revoker includes a name and a public encryption key, and saves the decryption key privately. When registering with the identity provider, the account holder and the identity provider can revoke the privacy account based on the proportion of the anonymous revoker.

[0056] It should be noted that the pre-account structure is a structure generated by the control device at the identity holder's end to verify the signature of the account holder and the attributes of the account holder. The Yuzhang Hu structure includes the verification information provided by the identity provider, i.e., the identity provider set, the public key information of the anonymous revoker, and some public information held by the account and the commitment value. The commitment value includes the initial commitment value and the Pedersen commitment value used to generate the privacy account.

[0057] In a specific implementation, the control device may collect the identity provider set and anonymous revoker public key information before generating the pre-account structure, and generate the pre-account structure based on the collected identity provider set and anonymous revoker public key information combined with the account holder's public information and commitment value.

[0058] Step S20: The identity provider verifies the pre-account structure using cryptography and zero-knowledge proof, and receives the account structure fed back by the identity provider when the verification is successful.

[0059] It should be noted that cryptography and zero-knowledge proof are different verification methods, among which zero-knowledge proof is a special cryptographic verification. Zero-knowledge proof means that the prover can convince the verifier that a certain assertion is correct without providing any useful information to the verifier. The prover proves to the verifier and makes him believe that he knows or has a certain message, but the proof process cannot leak any information about the proved message to the verifier.

[0060] It should be understood that the account structure refers to the structure generated by the identity provider after verifying the pre-account structure and confirming that the information in the domain account structure is correct. The account structure includes the signature authentication of the information in the pre-account structure by the identity provider when the verification is correct.

[0061] In a specific implementation, after the pre-account structure is generated, the identity provider can use cryptography to verify the identity provider set in the domain account structure to determine whether the identity provider set is the set issued by itself, and determine whether the information in the identity provider set has been modified. The identity provider can also authenticate the commitment value in the pre-account structure through zero-knowledge proof. When the identity provider set and the commitment value are verified, the identity provider signs and authenticates the identity provider set and the commitment value, and then feeds back the account structure based on the signed identity provider set and the commitment value.

[0062] Step S30: Obtain the signature authentication in the account structure, and generate identity information according to the signature authentication.

[0063] It should be noted that identity information is information that needs to be verified by the blockchain network during the storage process. When the identity information is normal, that is, it is verified by the identity provider, the private account corresponding to the identity information can be stored in the blockchain network; when the identity information is abnormal, that is, it fails to be verified by the identity provider, the identity information may be abnormal, and the private account of the identity information cannot be stored through the blockchain network. Therefore, signature authentication needs to be added to the identity information during the identity information generation process.

[0064] In the specific implementation, when the account structure is obtained, the signature authentication in the account structure can be obtained by extraction. The signature authentication includes the identity provider set signature authentication and the commitment value signature authentication. Then, the identity information is generated based on the signature authentication and part of the attribute information of the account holder.

[0065] Step S40: Send the identity information to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified.

[0066] It should be noted that the blockchain network can also verify identity information through cryptographic verification and zero-knowledge proof. Among them, cryptographic verification and zero-knowledge proof verification can determine whether the identity information is the identity information signed by the identity provider. A privacy account is an account generated by the account holder based on signature authentication. The blockchain network does not know the specific identity of the account holder of the privacy account during the storage process of the privacy account. The identity provider also does not know the user identity corresponding to the privacy account. The identity provider only knows that the privacy account is generated by the issuance authentication issued by it.

[0067] In a specific implementation, the generated identity information can be sent to a blockchain network. When the blockchain network receives the identity information, it verifies the identity information through cryptographic verification and zero-knowledge proof verification. When the verification passes, the blockchain network can store the identity information in a private account.

[0068] In this embodiment, a blockchain privacy identity protection method is provided, which creates a pre-account structure for an account holder based on an identity provider information set and anonymous revoker public key information; verifies the pre-account structure by using cryptography and zero-knowledge proof by the identity provider, and receives the account structure fed back by the identity provider when the verification is successful; obtains the signature authentication in the account structure, generates identity information based on the signature authentication; sends the identity information to the blockchain network, so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified. In this embodiment, identity information is generated by the signature authentication in the account structure fed back after the pre-account structure is verified by cryptography and zero-knowledge proof, and the identity information is sent to the blockchain network. When the blockchain network successfully verifies the privacy account, the confidential storage of the user's privacy account is realized.

[0069] Reference Figure 3 , Figure 3 The flowchart of the first embodiment of the blockchain privacy identity protection method of the present invention is shown in FIG. Based on the first embodiment of the above-mentioned distributed identity management method, the second embodiment of the distributed vehicle management method of the present invention is proposed.

[0070] In this embodiment, step S20 includes:

[0071] Step S201: verifying the identity provider information set in the account structure by using cryptography through the identity provider;

[0072] It should be noted that the identity provider information set is an information set provided by the identity provider. When the identity provider provides the identity provider information set to the account holder, the identity provider information set may be encrypted. When the pre-account structure is verified, the identity provider information set may be decrypted to determine whether the identity provider information set is the information set provided by the user and whether the information set has been modified.

[0073] In a specific implementation, the identity provider can decrypt the identity provider information set in the pre-account structure through cryptography. If the decryption is normal, it means that the identity provider information set is the information set provided by the identity provider; after the decryption is completed normally, the decrypted information set can be compared with the information set provided in advance by the identity provider to determine whether the information set has been modified. If the verification is passed, the identity provider information set can be signed and authenticated.

[0074] Step S202: Use zero-knowledge proof to verify the commitment value of the account holder, and receive the account structure fed back by the identity provider when the verification is successful.

[0075] It should be noted that the identity provider can also verify the commitment value of the account holder in the pre-account structure through zero-knowledge proof. When it is determined that the commitment value has the corresponding attribute, the commitment value is signed and authenticated.

[0076] It should be understood that after the identity provider information set and the commitment value are signed and authenticated, the identity provider can generate an account structure based on the identity provider information set and the commitment value after the signature authentication, and feedback the account structure. At this time, the control device of the account holder can receive the account structure.

[0077] Step S203: obtaining public information in the pre-account structure through the identity provider, and determining the number of private accounts of the account holder according to the public information;

[0078] It should be noted that public information is information used to confirm the identity of the account holder. The more public information the account holder adds to the pre-account structure, the more credible the identity provider can prove the account holder is. The number of private accounts refers to the number of private accounts that the account holder can generate based on signature authentication. The number of private accounts is related to the public information in the pre-account structure. The more public information there is, the more private accounts there are. For example, when applying for a loan from a bank, it is necessary to inquire about the credit of the lender. When the lender's credit is very good, the amount that the lender can lend is very large; when the lender's credit is relatively poor, the amount that the lender can lend is very small or even cannot be loaned.

[0079] In a specific implementation, the avatar provider can obtain the public information entered by the account holder in the pre-account structure, determine the information disclosure level of the account holder based on the public information, and then determine the number of private accounts that the account holder can register based on the information disclosure level.

[0080] Step S204: generating a privacy account within the range of the number of privacy accounts according to the signature authentication.

[0081] It should be understood that during the process of generating a privacy account, it is necessary to generate it within the range of the number of privacy accounts. If the identity provider provides 8 privacy accounts for the account holder, it is necessary to determine whether the privacy account currently to be generated is within the range of 8 privacy accounts during the privacy account generation. When the number of privacy accounts currently to be generated exceeds 8, the generation process of the privacy account is terminated. Even if the privacy account is generated normally, the privacy account cannot be stored on the blockchain network.

[0082] In a specific implementation, the control device may first confirm the number of privacy accounts that have been generated, and generate privacy accounts according to the signature authentication in the account structure when it is confirmed that there are privacy accounts that can be generated, that is, within the range of the number of privacy accounts.

[0083] Step S205: Send the private account to the blockchain network so that the blockchain network stores the private account when the private account is successfully verified.

[0084] It should be understood that after the account is generated, the blockchain network can verify the signature authentication and commitment value in the private account, and store the private account when the verification passes.

[0085] The step S205 specifically includes: S205': sending the private account to the blockchain network, so that the blockchain network verifies the commitment value through zero-knowledge proof, and verifies the number of private accounts through bulletproof proof, and stores the private account when the verification is successful.

[0086] It should be noted that bulletproof proof is a short non-interactive zero-knowledge proof that can increase the proof speed while verifying the data to be proved with very small bytes. In this embodiment, bulletproof proof is used to authenticate the number of private accounts to determine whether the number of private accounts of the account holder on the blockchain network is within the range of the number of private accounts issued by the identity provider.

[0087] During the specific verification process, the blockchain network must first perform signature authentication, then verify the commitment value of the privacy account through zero-knowledge proof, and verify the number of privacy accounts in the privacy account through bulletproof proof. When the commitment value of the privacy account and the number of privacy accounts are verified, the blockchain network can store the privacy account and the data in the privacy account.

[0088] In this embodiment, the commitment value is verified by zero-knowledge proof, and the identity information is generated by signature authentication after the commitment value verification. When authenticating in the blockchain network, the signature can be verified by cryptography, and then the commitment value can be verified by zero-knowledge proof. The private account can be stored without the blockchain knowing the specific identity of the account holder, thereby protecting the private account more securely.

[0089] Reference Figure 4 , Figure 4 The third embodiment of the distributed vehicle management method of the present invention is proposed based on the first embodiment of the above-mentioned distributed identity management method.

[0090] In this embodiment, the process before step S40 includes:

[0091] Step S301: Obtain the signature authentication in the account structure and the initial commitment value of the account holder;

[0092] It should be understood that in the process of generating a privacy account, it is necessary to determine the commitment value of the account holder, which is the initial commitment value that can be used to generate the privacy account. In the absence of signature authentication, a privacy account can be generated based on the initial commitment value, but the privacy account cannot be authenticated by the blockchain network. When the privacy account generated based on the initial commitment value includes signature authentication, the privacy account can be verified by the blockchain network and stored on the blockchain network.

[0093] Step S302: Generate a privacy account according to the signature authentication and the initial commitment value.

[0094] It should be understood that when the signature authentication and the initial network commitment value are obtained, the identity provider information set authentication and the commitment value authentication in the signature authentication can be combined with the initial commitment value to generate a privacy account. The privacy account also includes the privacy data to be stored.

[0095] In this embodiment, after step S40, the following steps are further included:

[0096] Step S401: when revoking a private account, obtaining the revocation ratio of anonymous revokers;

[0097] It should be understood that in this embodiment, the blockchain network does not know the specific identity of each account. Therefore, some account holders may perform unauthorized operations through the privacy account, such as publishing unhealthy information, spreading gossip, etc. At this time, the privacy account that violates the rules can be made public or revoked by an anonymous revoker.

[0098] It should be noted that in this embodiment, there may be multiple anonymous revokers, and whether to revoke the privacy account is determined by the revocation ratio of multiple anonymous revokers who agree to revoke the account. Since the public key information of the anonymous revoker exists in the privacy account, the anonymous revoker can directly unlock the illegal privacy account through the private key. At this time, the anonymous revoker who uses the private key to unlock the privacy account will be used as the anonymous revoker who determines to revoke the privacy account. The revocation ratio is the ratio of the anonymous revoker data who agree to revoke the privacy account to the total number of anonymous revokers in this system. For example, in this system, there are N anonymous revokers, among which T anonymous revokers unlock the privacy account through the private key, then the revocation ratio is T / N.

[0099] Step S402: when the revocation ratio is greater than a first preset ratio, obtaining private key information of the anonymous revoker;

[0100] It should be noted that the first preset ratio is the threshold value of the revocation ratio. When the revocation ratio is greater than the first preset ratio, it can be determined that the privacy account has violated the rules and needs to be revoked. When the revocation ratio is less than the first preset ratio, the privacy account does not need to be revoked.

[0101] In a specific implementation, the revocation ratio may be compared with a first preset ratio, and when the revocation ratio is greater than the first preset ratio, the revocation process is initiated and the acquisition of the private key information of the anonymous revoker begins.

[0102] Step S403: determining the privacy account to be revoked according to the private key information;

[0103] It should be understood that when the private key information of the anonymous revoker is obtained, the privacy account to be revoked can be obtained based on the private key information to determine that the privacy account to be revoked is a privacy account with illegal operations.

[0104] Step S404: verifying the privacy account to be revoked through the identity provider, and revoking the privacy account to be revoked when the verification passes.

[0105] It should be noted that after determining the privacy account to be revoked, the privacy account to be revoked can be sent to the identity provider for verification to determine whether the privacy account to be revoked is a privacy account generated by the identity provider's issuance and authentication, so as to avoid erroneous revocation. In addition, the verification process can determine the account holder of the privacy account and revoke the privacy account to be revoked of the account holder. When revoking a privacy account, the identity provider also does not know the specific identity of the user.

[0106] In a specific implementation, the privacy account to be revoked may be sent to an identity provider, which verifies the signature authentication of the privacy account to be revoked. When the verification is passed, the account to be revoked that has violated the regulations is revoked.

[0107] Step S405: when the revocation ratio is greater than a second preset ratio, determining the initial commitment value according to the private key information;

[0108] It should be noted that after revoking a privacy account, the revocation confirmation of other privacy accounts of the account holder can also be carried out. For example, if an account holder has 8 privacy accounts and one of the privacy accounts has a very bad violation, the other privacy accounts of the account holder can be revoked. Of course, it is also possible to determine whether other privacy accounts need to be revoked based on whether the revocation ratio of other privacy accounts is greater than the first preset ratio. The second preset ratio is used to determine whether other privacy accounts of the account holder need to be revoked.

[0109] In a specific implementation, when it is determined that the revocation ratio of the revoked privacy account is greater than the second preset ratio, the initial commitment value of the account holder can be parsed according to the private key information to further determine all the privacy accounts of the account holder.

[0110] Step S406: Generate each privacy account of the account holder according to the initial commitment value, and cancel each privacy account.

[0111] It should be noted that when revoking the last privacy account, the issuance certification provided by the identity provider for the account holder can be obtained. When the initial commitment value of the account holder is obtained and parsed through the private key, all the privacy accounts of the account holder can be directly generated according to the issuance and the corresponding initial commitment value, and all the privacy accounts of the account holder can be directly revoked.

[0112] In this embodiment, a connection is established between the operating mechanism and the blockchain network, and the blockchain network verifies and stores the verifiable statement to be stored, wherein only the data of the leaf node of the verifiable statement is updated. In the case of updating a verifiable statement with a smaller amount of data, the verifiable statement can be stored more accurately.

[0113] In this embodiment, the revocation ratio of anonymous revokers in the privacy account is collected, and whether the privacy account needs to be revoked is determined based on the revocation ratio. When the revocation ratio of anonymous revokers is greater than a first preset ratio, the privacy account is revoked, thereby preventing the account holder from using the privacy account to perform illegal operations while protecting the identity of the account holder of the privacy account.

[0114] In addition, an embodiment of the present invention further proposes a storage medium, on which a blockchain privacy identity protection program is stored. When the blockchain privacy identity protection program is executed by a processor, the steps of the blockchain privacy identity protection method described above are implemented.

[0115] In addition, refer to Figure 5 The embodiment of the present invention further provides a blockchain privacy identity protection device, the blockchain privacy identity protection device comprising:

[0116] A structure creation module 10, for creating a pre-account structure for an account holder based on the identity provider information set and the anonymous revoker public key information;

[0117] A structure verification module 20, used to verify the pre-account structure by using cryptography and zero-knowledge proof through an identity provider, and receive the account structure fed back by the identity provider when the verification is successful;

[0118] An information generation module 30, used to obtain the signature authentication in the account structure and generate identity information according to the signature authentication;

[0119] The information storage module 40 is used to send the identity information to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified.

[0120] The present invention provides a blockchain privacy identity protection device, which creates a pre-account structure for an account holder according to an identity provider information set and an anonymous revoker public key information through a structure creation module 10; a structure verification module verifies the pre-account structure through an identity provider using cryptography and zero-knowledge proof, and receives the account structure fed back by the identity provider when the verification is successful; an information generation module 30 performs signature authentication in the account structure, and generates identity information according to the signature authentication; an information storage module 40 sends the identity information to the blockchain network, so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified. In the present invention, identity information is generated by performing cryptography and zero-knowledge proof verification on the pre-account structure, and the identity information is sent to the blockchain network. When the blockchain network successfully verifies the privacy account, the confidential storage of the user's privacy account is realized.

[0121] In one embodiment, the structure verification module 20 is further used to verify the identity provider information set in the account structure by using cryptography through the identity provider; verify the commitment value of the account holder by using zero-knowledge proof, and receive the account structure fed back by the identity provider when the verification is passed.

[0122] In one embodiment, the structure verification module 20 is also used to obtain public information in the pre-account structure through the identity provider, and determine the number of private accounts of the account holder based on the public information; the information generation module 30 is also used to generate a private account according to the signature authentication within the range of the number of private accounts; the information storage module 40 is also used to send the private account to the blockchain network so that the blockchain network stores the private account when the private account is successfully verified.

[0123] In one embodiment, the information storage module 40 is also used to send the private account to the blockchain network, so that the blockchain network verifies the commitment value through zero-knowledge proof, and verifies the number of private accounts through bulletproof proof, and stores the private account when the verification is successful.

[0124] In one embodiment, the information generation module 30 is further used to obtain the signature authentication in the account structure and the initial commitment value of the account holder; and generate a private account according to the signature authentication and the initial commitment value.

[0125] In one embodiment, the blockchain privacy identity protection device further includes: a revocation module;

[0126] The revocation module is used to obtain the revocation ratio of the anonymous revoker when revoking the privacy account; when the revocation ratio is greater than a first preset ratio, obtain the private key information of the anonymous revoker; determine the privacy account to be revoked based on the private key information; verify the privacy account to be revoked through the identity provider, and revoke the privacy account to be revoked when the verification is passed.

[0127] In one embodiment, the revocation module is further used to determine the initial commitment value according to the private key information when the revocation ratio is greater than a second preset ratio; generate each privacy account of the account holder according to the initial commitment value, and revoke each privacy account.

[0128] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0129] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0130] In addition, for technical details not fully described in this embodiment, reference can be made to the ultrasonic sensing system and control method provided in any embodiment of the present invention, and will not be repeated here.

[0131] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0132] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0134] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A blockchain privacy identity protection method, characterized in that: The blockchain privacy identity protection method comprises: A pre-account structure is created for the account holder according to the identity provider information set and the anonymous revoker public key information; the pre-account structure is a structure generated by a control device at the account holder end for verifying the signature of the account holder and the attributes of the account holder; the pre-account structure includes the verification information provided by the identity provider, the anonymous revoker public key information and the commitment value of the account holder; Verifying the pre-account structure by using cryptography and zero-knowledge proof through an identity provider, and receiving the account structure fed back by the identity provider when the verification is successful; Obtaining the signature authentication in the account structure, and generating identity information according to the signature authentication; Sending the identity information to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified; The privacy account is an account generated by the account holder through the control device according to the signature authentication in the account structure.

2. The blockchain privacy identity protection method according to claim 1, characterized in that: The steps of verifying the pre-account structure by using cryptography and zero-knowledge proof through the identity provider and receiving the account structure fed back by the identity provider when the verification is successful include: Verify the identity provider information set in the account structure by using cryptography through the identity provider; The commitment value of the account holder is verified by using zero-knowledge proof, and the account structure fed back by the identity provider is received when the verification is passed.

3. The blockchain privacy identity protection method according to claim 2, characterized in that: After the step of verifying the commitment value of the account holder by using zero-knowledge proof and receiving the account structure feedback from the identity provider when the verification is successful, the method further includes: Obtaining public information in the pre-account structure through the identity provider, and determining the number of private accounts of the account holder based on the public information; Generating a privacy account according to the signature authentication within the range of the number of privacy accounts; The private account is sent to the blockchain network so that the blockchain network stores the private account when the private account is successfully verified.

4. The blockchain privacy identity protection method according to claim 3, characterized in that: The step of sending the private account to the blockchain network so that the blockchain network stores the private account when the private account is successfully verified comprises: The private account is sent to the blockchain network so that the blockchain network verifies the commitment value through zero-knowledge proof and the number of private accounts through bulletproof proof, and stores the private account when the verification is successful.

5. The blockchain privacy identity protection method according to claim 1, characterized in that: Before the step of sending the identity information to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified, the step further includes: Obtaining the signature authentication in the account structure and the initial commitment value of the account holder; A privacy account is generated according to the signature authentication and the initial commitment value.

6. The blockchain privacy identity protection method according to claim 5, characterized in that: After the step of sending the identity information to the blockchain network so that the blockchain network stores the privacy account corresponding to the identity information when the identity information is successfully verified, the step further includes: When canceling a private account, obtain the cancellation ratio of anonymous cancellers; When the revocation ratio is greater than a first preset ratio, obtaining private key information of the anonymous revoker; Determine the privacy account to be revoked according to the private key information; The to-be-revoked privacy account is verified by the identity provider, and the to-be-revoked privacy account is revoked when the verification passes.

7. The blockchain privacy identity protection method according to claim 6, characterized in that: After the step of determining the corresponding account structure to be revoked according to the identity information by the identity provider and revoking the account structure to be revoked, the step further includes: When the revocation ratio is greater than a second preset ratio, determining the initial commitment value according to the private key information; Generate each privacy account of the account holder according to the initial commitment value, and cancel each privacy account.

8. A blockchain privacy identity protection device, characterized in that: The blockchain privacy identity protection device comprises: A structure creation module, used to create a pre-account structure for the account holder according to the identity provider information set and the anonymous revoker public key information; the pre-account structure is a structure generated by the control device at the account holder end for verifying the signature of the account holder and the attributes of the account holder; the pre-account structure includes the verification information provided by the identity provider, the public key information of the anonymous revoker and the commitment value of the account holder; A structure verification module, used to verify the pre-account structure by using cryptography and zero-knowledge proof through an identity provider, and receive the account structure fed back by the identity provider when the verification is successful; An information generation module, used to obtain the signature authentication in the account structure and generate identity information according to the signature authentication; An information storage module is used to send the identity information to a blockchain network so that the blockchain network stores a privacy account corresponding to the identity information when the identity information is successfully verified; the privacy account is an account generated by the account holder through a control device based on the signature authentication in the account structure.

9. A storage medium, characterized in that: The storage medium stores a blockchain privacy identity protection program, which, when executed by the processor, implements the steps of the blockchain privacy identity protection method according to any one of claims 1 to 7.

10. A blockchain privacy identity protection system, characterized in that: The blockchain privacy identity protection system includes: a memory, a processor, and a blockchain privacy identity protection program stored in the memory and executable on the processor. When the blockchain privacy identity protection program is executed by the processor, the steps of the blockchain privacy identity protection method according to any one of claims 1 to 7 are implemented.