A digital identity issuance method, device and medium based on blockchain

By hashing and encrypting signatures on the identity information of user nodes on the blockchain platform, the problem of complexity and security risks in digital identity storage and use is solved, and convenient acquisition and secure storage of data authenticity and credibility are achieved.

CN111935075BActive Publication Date: 2024-08-23SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010580701.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-23
Publication Date
2024-08-23
Estimated Expiration
2040-06-23

AI Technical Summary

Technical Problem

In the existing technology, there are complexities and security risks in the storage and use of digital identities, they cannot be easily obtained and there is a risk of being stolen.

Method used

Using a blockchain-based digital identity issuance method, the identity information of user nodes is hashed and encrypted through the blockchain platform, and a symmetric key is generated and signed to ensure safe storage and convenient acquisition of digital identities.

Benefits of technology

It enables users to easily obtain identity information anytime and anywhere, ensuring that the private key is difficult to steal and ensures the authenticity, credibility and security of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111935075B
    Figure CN111935075B
Patent Text Reader

Abstract

The present application discloses a method, device and medium for issuing digital identity based on blockchain, and the method includes: determining a blockchain platform pre-created based on a blockchain framework; receiving an identity issuance request; hashing the identity information to obtain a first hash value; generating a random number for the identity issuance request, and hashing the random number to obtain a second hash value; generating a symmetric key, and using the symmetric key to encrypt the identity information and the random number; after signing with the private key of the issuing node, a digital identity is obtained. Storing the digital identity encrypted by the symmetric key in the blockchain can ensure that users can obtain identity information anytime and anywhere, which is very convenient. And the symmetric key needs to be obtained through its own private key, which also ensures that it is difficult for others to steal and guarantees the interests of users. In addition, since the blockchain platform is a distributed storage, data tampering of a single node will not take effect, which ensures the authenticity and credibility of the data on the blockchain platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital identity, and specifically to a blockchain-based digital identity issuance method, device and medium. Background Art

[0002] With the development of technology, people are using digital identities more and more frequently.

[0003] However, in the prior art, if the data is not stored, it needs to be input each time it is used, and the process is relatively complicated. However, if it is stored locally, it cannot be used conveniently, and if it is stored in the network, there is a risk of being stolen. Summary of the invention

[0004] In order to solve the above problems, the present application proposes a blockchain-based digital identity issuance method, including: determining a blockchain platform pre-created based on a blockchain framework; receiving an identity issuance request sent by a user node, carrying the identity information of the user node; after the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value; a random number is generated for the identity issuance request, and the random number is hashed to obtain a second hash value; a symmetric key is generated for the identity issuance request, and the identity information and the random number are encrypting using the symmetric key to obtain encrypted identity information and an encrypted random number; the encrypted identity information, the encrypted random number, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.

[0005] In one example, receiving an identity issuance request sent by a user node and carrying the identity information of the user node includes: receiving an organization identity issuance request sent by a user node and carrying the identity information of the user node, wherein the identity information includes personal identity information and organization identity information; after authenticating the identity information by the issuing node, hashing the identity information to obtain a first hash value, including: after authenticating the identity information by the issuing node, hashing the personal identity information and the organization identity information respectively to obtain a first personal hash value and a first organization hash value; using the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number, including: using the symmetric key to encrypt the personal identity information, the organization identity information and the random number to obtain encrypted personal identity information, encrypted organization identity information and an encrypted random number; encrypting the encrypted identity information, the encrypted random number, the first hash value, The second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, including: the encrypted personal identity information, the encrypted random number, the first personal hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the personal digital identity corresponding to the user node; the encrypted organization identity information, the encrypted random number, the first organization hash value, the second hash value, the symmetric key encrypted by the public key of the user node, the issuing node identifier, and the personal digital identity are signed by the private key of the issuing node to obtain the organization digital identity corresponding to the user node; writing the digital identity into the blockchain platform includes: writing the personal digital identity and the organization digital identity into the blockchain platform.

[0006] In one example, the blockchain platform is a quality chain, which is used to manage the quality information of products of each node. The method also includes: receiving business data sent by the user node; sending the digital identity to the user node so that the user node can decrypt the corresponding data in the digital identity for use and / or verification.

[0007] In one example, the issuing node includes at least one of a government, a regulatory agency, and a third-party trust agency.

[0008] In one example, generating a symmetric key for the identity issuance request includes: determining the importance corresponding to the user node according to a preset corresponding relationship; and generating a symmetric key for the identity issuance request according to the importance.

[0009] In one example, the method further includes: generating a digital object unique identifier for the digital identity to facilitate the user node to query the digital identity.

[0010] In one example, the method further includes: generating corresponding smart contracts and deploying them in the blockchain platform, wherein the smart contracts include: a first hash value generation smart contract, a second hash value generation smart contract, a symmetric key generation smart contract, a symmetric key encryption smart contract, a digital identity generation smart contract, and a chain writing smart contract.

[0011] In one example, the first hash value generation smart contract is used to: after the identity information is authenticated by the issuing node, hash the identity information to obtain a first hash value; the second hash value generation smart contract is used to: generate a random number for the identity issuance request, and hash the random number to obtain a second hash value; the symmetric key generation smart contract is used to: generate a symmetric key for the identity issuance request; the symmetric key encryption smart contract is used to: use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number; the digital identity generation smart contract is used to: after the encrypted identity information, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node, the digital identity corresponding to the user node is obtained; the first hash value generation smart contract is used to: write the digital identity into the blockchain platform.

[0012] On the other hand, the present application also proposes a blockchain-based digital identity issuance device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: determine a blockchain platform pre-created based on a blockchain framework; receive an identity issuance request sent by a user node, carrying the identity information of the user node; after authenticating the identity information through the issuing node, hash the identity information to obtain a first hash value; generate a random number for the identity issuance request, and hash the random number to obtain a second hash value; generate a symmetric key for the identity issuance request, and use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number; after signing the encrypted identity information, the encrypted random number, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier by the private key of the issuing node, obtain the digital identity corresponding to the user node, and write the digital identity into the blockchain platform.

[0013] On the other hand, the present application also proposes a non-volatile computer storage medium for digital identity issuance based on blockchain, storing computer executable instructions, and the computer executable instructions are set to: determine a blockchain platform pre-created based on a blockchain framework; receive an identity issuance request sent by a user node, carrying the identity information of the user node; after the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value; a random number is generated for the identity issuance request, and the random number is hashed to obtain a second hash value; a symmetric key is generated for the identity issuance request, and the identity information and the random number are encrypting using the symmetric key to obtain encrypted identity information and an encrypted random number; the encrypted identity information, the encrypted random number, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.

[0014] The blockchain-based digital identity issuance method proposed in this application can bring the following beneficial effects:

[0015] Storing digital identities encrypted with symmetric keys in the blockchain ensures that users can obtain identity information anytime and anywhere, which is very convenient. In addition, the symmetric key needs to be obtained through one's own private key, which also ensures that it is difficult for others to steal and protects the interests of users. In addition, since the blockchain platform is a distributed storage, data tampering of a single node will not take effect, which ensures the authenticity and credibility of the data on the blockchain platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 This is a flowchart of a method for issuing a digital identity based on blockchain in an embodiment of the present application;

[0018] Figure 2 This is a schematic diagram of a blockchain-based digital identity issuance device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0020] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0021] like Figure 1 As shown, the embodiment of the present application provides a method for issuing a digital identity based on blockchain, including:

[0022] S101. Determine a blockchain platform that is pre-created based on a blockchain framework.

[0023] Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithm. It is essentially a decentralized database.

[0024] First, a blockchain platform created based on a blockchain framework can be determined. The blockchain framework can be any blockchain framework that can implement the corresponding functions of the embodiments of the present application, such as Bitcoin, Ethereum, Fabric, Corda, etc. The blockchain platform can refer to a platform that stores blockchains, for example, a distributed system, etc. Of course, the blockchain platform can also directly represent the blockchain itself, which is not limited here.

[0025] In the blockchain platform, the nodes that need to issue digital identities are called user nodes. User nodes can represent individuals or teams, organizations, enterprises, etc.

[0026] S102: Receive an identity issuance request sent by a user node, which carries the identity information of the user node.

[0027] When a user node has a corresponding identity issuance requirement, it can send a corresponding identity issuance request, which contains the identity information of the user node. When a user node represents an individual, the identity information can include the user node's ID number, name, mobile phone number and other identity information, and can also include the user's specific account information, etc., without limitation here. When a user node represents an organization, the identity information can include the organization name, organization qualifications, etc., without limitation here.

[0028] S103: After the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value.

[0029] S104: Generate a random number for the identity issuance request, and hash the random number to obtain a second hash value.

[0030] After the blockchain platform receives the identity issuance request, it can first authenticate the identity information provided by the user node. The authentication method can be real-name authentication or other authentication methods, which will not be repeated here. After the authentication is passed, the identity information can be hashed to obtain a first hash value. And a random number is generated for this identity issuance request, and then the random number is hashed to obtain a second hash value. Among them, when hashing here, the data contained in the identity information can be spliced ​​and directly hashed. The hash algorithm can be a hash algorithm such as hash 256, which is not limited here. The random number here is generated by the blockchain platform for this identity issuance request, which can contain letters, numbers, etc., which are not limited here.

[0031] S105: Generate a symmetric key for the identity issuance request, and use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number.

[0032] Then, a symmetric key for this issuance request can be generated. The symmetric key is used to encrypt the identity information and the random number. After encryption, the encrypted identity information and the encrypted random number are obtained. The symmetric key here refers to the key corresponding to the symmetric encryption algorithm. Each node can encrypt the identity information and the random number with the symmetric key to obtain the encrypted identity information and the encrypted random number. The encrypted identity information and the encrypted random number can also be decrypted with the symmetric key to obtain the identity information and the random number. The specific symmetric encryption algorithm and the symmetric key are not limited here.

[0033] S106. The encrypted identity information, the encrypted random number, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain a digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.

[0034] Finally, the encrypted identity information, encrypted random number, first hash value, second hash value, symmetric key encrypted by the public key of the user node, and issuing node identification can be integrated, and then the integrated data can be signed by the private key of the issuing node to obtain the digital identity of the user node. The digital identity can then be written into the blockchain platform and the user node can obtain it.

[0035] The first hash value and the second hash value are used to verify the identity information and the random number. The issuing node identifier is used to indicate the identity of the issuing node. The user node can obtain the encrypted symmetric key through its own private key, and then use the symmetric key to decrypt and obtain the identity information and the random number for verification. Signing with the issuing node's private key can ensure the authenticity and reliability of the digital identity.

[0036] In one embodiment, when the identity information of a user node may include personal identity information and organizational identity information, if the user node only applies for a personal digital identity, then only the personal identity information can be used to generate the personal digital identity. If the user node also wants to apply for an organizational digital identity, when hashing the identity information, the personal identity information and the organizational identity information can be hashed separately to obtain the first personal hash value and the first organizational hash value. When the identity information is encrypted using a symmetric key, it can also be encrypted separately to obtain encrypted personal identity information and encrypted organizational identity information. When generating a digital identity, first the encrypted personal identity information, the first personal hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the personal digital identity corresponding to the user node. Then the encrypted organizational identity information, the first organizational hash value, the second hash value, the symmetric key encrypted by the public key of the user node, the issuing node identifier, and the personal digital identity are signed by the private key of the issuing node to obtain the organizational digital identity corresponding to the user node. Finally, the personal digital identity and the organizational digital identity are written into the blockchain platform.

[0037] Normally, after a user logs in to the account of the user node, if the user node represents an individual, when verifying and using it, only the personal digital identity needs to be verified and used, regardless of the organizational identity. If the user node represents an organization, only the organizational digital identity needs to be verified and used to perform the corresponding business processing. In addition, the personal digital identity is also included in the organizational digital identity, which can ensure the association between the individual using the user node and the organization it represents, and ensure the interests of the user and the degree of trust of other nodes. For example, an employee uses the user node, which represents the organization A. Then, when processing the business related to organization A, it is necessary to add the organizational digital identity to indicate that the relevant business is performed by the organization. The organizational digital identity also includes the personal digital identity corresponding to the employee, indicating that employee A belongs to organization A and has the corresponding rights to perform corresponding operations on behalf of organization A.

[0038] In one embodiment, the blockchain platform is a quality chain, which is used to manage the quality information of products produced, manufactured, and sold by each node in the quality chain. After receiving the business data sent by the user node, the digital identity can be sent to the user node, and the user node can easily obtain the digital identity. After obtaining the symmetric key, the encrypted identity information is decrypted to obtain the identity information for use. The encrypted random number can also be decrypted, and after obtaining the random number, the corresponding verification is performed.

[0039] Furthermore, generally speaking, it can be considered that the supervision of products by governments, regulatory authorities, and third-party trust institutions is relatively objective and fair, and has good credibility. Therefore, the issuing node in the quality chain can include at least one of the government, regulatory authorities, and third-party trust institutions.

[0040] In addition, when generating a symmetric key for an identity issuance request, the importance of the user node can be determined first according to the preset corresponding relationship. The importance here means the importance of the user node that needs to be protected in the process of handling business and transactions. For example, the importance can be determined based on the historical transaction records corresponding to each user node. Then, according to different importance levels, a symmetric key of corresponding complexity is generated. The more important the user node, the more complex the symmetric key is, and the corresponding protection is given.

[0041] In one embodiment, a digital object unique identifier (DOI) for the digital identity may also be generated, such as a QR code, a barcode, etc., so that the user node can more conveniently query. Taking the QR code as an example, the user node can access the data associated with the digital identity, such as the first hash value, the second hash value, the encrypted identity information, the encrypted random number, etc., by scanning the QR code, which is very convenient.

[0042] In one embodiment, corresponding smart contracts can also be generated in advance and deployed in the blockchain platform. Smart contracts include first hash value generation smart contracts, second hash value generation smart contracts, symmetric key generation smart contracts, symmetric key encryption smart contracts, digital identity generation smart contracts, and chain writing smart contracts. The first hash value generation smart contract is used to: after the identity information is authenticated by the issuing node, hash the identity information to obtain a first hash value; the second hash value generation smart contract is used to: generate a random number for the identity issuance request, and hash the random number to obtain a second hash value; the symmetric key generation smart contract is used to: generate a symmetric key for the identity issuance request; the symmetric key encryption smart contract is used to: use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number; the digital identity generation smart contract is used to: after the encrypted identity information, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node, the digital identity corresponding to the user node is obtained; the first hash value generation smart contract is used to: write the digital identity into the blockchain platform.

[0043] Since the smart contracts on the blockchain platform are public, each node can verify whether the smart contract complies with the pre-agreed agreement and deploy it on its own node. User nodes can also query the smart contract through corresponding channels, which not only improves the degree of transaction automation, but also further increases the trust of each node. Smart contracts can only be changed through upgrades, which requires synchronous deployment of each node, and once deployed, they can only be executed through programs without interference from human factors, which enhances the credibility of the data.

[0044] like Figure 2 As shown, the embodiment of the present application also provides a blockchain-based digital identity issuance device, including:

[0045] at least one processor; and,

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

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

[0048] Identify the blockchain platform that was created in advance based on the blockchain framework;

[0049] Receiving an identity issuance request sent by a user node, which carries the identity information of the user node;

[0050] After the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value;

[0051] Generate a random number for the identity issuance request, and hash the random number to obtain a second hash value;

[0052] Generate a symmetric key for the identity issuance request, and use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number;

[0053] The encrypted identity information, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.

[0054] The embodiment of the present application also provides a non-volatile computer storage medium for issuing a digital identity based on blockchain, storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0055] Identify the blockchain platform that was created in advance based on the blockchain framework;

[0056] Receiving an identity issuance request sent by a user node, which carries the identity information of the user node;

[0057] After the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value;

[0058] Generate a random number for the identity issuance request, and hash the random number to obtain a second hash value;

[0059] Generate a symmetric key for the identity issuance request, and use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number;

[0060] The encrypted identity information, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.

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

[0062] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

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

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

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

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

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

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

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

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

[0071] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A digital identity issuance method based on blockchain, It is characterized in that include: Identify the blockchain platform that was created in advance based on the blockchain framework; Receiving an identity issuance request sent by a user node, which carries the identity information of the user node; After the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value; Generate a random number for the identity issuance request, and hash the random number to obtain a second hash value; Generate a symmetric key for the identity issuance request, and use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number; The encrypted identity information, the encrypted random number, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.

2. The method according to claim 1, It is characterized in that Receiving an identity issuance request sent by a user node and carrying the identity information of the user node, including: Receiving an organization identity issuance request sent by a user node, which carries identity information of the user node, wherein the identity information includes personal identity information and organization identity information; After the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value, including: After the identity information is authenticated by the issuing node, the personal identity information and the organizational identity information are hashed respectively to obtain a first personal hash value and a first organizational hash value; Encrypting the identity information and the random number using the symmetric key to obtain the encrypted identity information and the encrypted random number includes: Using the symmetric key to encrypt the personal identity information, the organizational identity information and the random number, to obtain encrypted personal identity information, encrypted organizational identity information and an encrypted random number; The encrypted identity information, the encrypted random number, the first Hash value, the second Hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, including: The encrypted personal identity information, the encrypted random number, the first personal hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the personal digital identity corresponding to the user node; The encrypted organization identity information, the encrypted random number, the first organization hash value, the second hash value, the symmetric key encrypted by the public key of the user node, the issuing node identifier, and the personal digital identity are signed by the private key of the issuing node to obtain the organization digital identity corresponding to the user node; Writing the digital identity into the blockchain platform includes: The personal digital identity and the organizational digital identity are written into the blockchain platform.

3. The method according to claim 1, It is characterized in that The blockchain platform is a quality chain, and the quality chain is used to manage the quality information of products at each node. The method also includes: Receiving service data sent by the user node; The digital identity is sent to the user node so that the user node can use and / or verify the corresponding data in the digital identity after decryption.

4. The method according to claim 3, It is characterized in that The issuing node includes at least one of a government, a regulatory department, and a third-party trust agency.

5. The method according to claim 3, It is characterized in that Generating a symmetric key for the identity issuance request, including: Determining the importance of the user node according to the preset corresponding relationship; A symmetric key for the identity issuance request is generated according to the importance.

6. The method according to claim 1, It is characterized in that The method further comprises: A digital object unique identifier for the digital identity is generated to facilitate the user node to query the digital identity.

7. The method according to claim 1, It is characterized in that The method further comprises: Generate corresponding smart contracts and deploy them in the blockchain platform, wherein the smart contracts include: a first hash value generation smart contract, a second hash value generation smart contract, a symmetric key generation smart contract, a symmetric key encryption smart contract, a digital identity generation smart contract, and a chain writing smart contract; The first hash value generation smart contract is used to: after the identity information is authenticated by the issuing node, hash the identity information to obtain a first hash value; The second hash value generation smart contract is used to: generate a random number for the identity issuance request, and hash the random number to obtain a second hash value; The symmetric key generation smart contract is used to: generate a symmetric key for the identity issuance request; The symmetric key encryption smart contract is used to: use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and encrypted random number; The digital identity generation smart contract is used to: obtain the digital identity corresponding to the user node after signing the encrypted identity information, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier by the private key of the issuing node; The write-chain smart contract is used to write the digital identity into the blockchain platform.

8. A digital identity issuance device based on blockchain, It is characterized in that include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Identify the blockchain platform that was created in advance based on the blockchain framework; Receiving an identity issuance request sent by a user node, which carries the identity information of the user node; After the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value; Generate a random number for the identity issuance request, and hash the random number to obtain a second hash value; Generate a symmetric key for the identity issuance request, and use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number; The encrypted identity information, the encrypted random number, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.

9. A non-volatile computer storage medium for issuing digital identities based on blockchain, storing computer executable instructions, It is characterized in that The computer executable instructions are configured to: Identify the blockchain platform that was created in advance based on the blockchain framework; Receiving an identity issuance request sent by a user node, which carries the identity information of the user node; After the identity information is authenticated by the issuing node, the identity information is hashed to obtain a first hash value; Generate a random number for the identity issuance request, and hash the random number to obtain a second hash value; Generate a symmetric key for the identity issuance request, and use the symmetric key to encrypt the identity information and the random number to obtain encrypted identity information and an encrypted random number; The encrypted identity information, the encrypted random number, the first hash value, the second hash value, the symmetric key encrypted by the public key of the user node, and the issuing node identifier are signed by the private key of the issuing node to obtain the digital identity corresponding to the user node, and the digital identity is written into the blockchain platform.