CN111131164A - Block chain-based digital identity implementation method, equipment and medium - Google Patents
Block chain-based digital identity implementation method, equipment and medium Download PDFInfo
- Publication number
- CN111131164A CN111131164A CN201911185051.5A CN201911185051A CN111131164A CN 111131164 A CN111131164 A CN 111131164A CN 201911185051 A CN201911185051 A CN 201911185051A CN 111131164 A CN111131164 A CN 111131164A
- Authority
- CN
- China
- Prior art keywords
- digital identity
- digital
- blockchain platform
- user
- blockchain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4014—Identity check for transactions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本申请公开了一种基于区块链的数字身份实现方法、设备及介质,方法包括:基于区块链框架部署区块链平台;将用户的多个维度的数字身份所对应的各机构作为节点,部署在区块链平台中;获取用户在各机构对应的数字身份;将各机构签署有自身数字签名、且对应的所述数字身份写入区块链平台,以使需求方通过用户的分享获取所述数字身份,并通过各机构的公钥进行验证。将用户的数字身份都存储在区块链平台中,由于区块链平台中的数据是公开透明的,因此用户在需要使用数字身份时,可以随时使用存储在区块链平台中的数字身份,十分便利。而且由于区块链平台是分布式存储,单个节点的数据篡改不会生效,也就保证了区块链平台上数据的真实可信。
The present application discloses a method, device and medium for realizing digital identity based on blockchain. The method includes: deploying a blockchain platform based on a blockchain framework; using institutions corresponding to digital identities of multiple dimensions of users as nodes , deployed in the blockchain platform; obtain the digital identity of the user in each institution; write each institution with its own digital signature, and the corresponding digital identity is written into the blockchain platform, so that the demander can share the user's The digital identity is obtained and verified by the public key of each institution. The user's digital identity is stored in the blockchain platform. Since the data in the blockchain platform is open and transparent, users can use the digital identity stored in the blockchain platform at any time when they need to use the digital identity. Very convenient. And because the blockchain platform is distributed storage, data tampering by a single node will not take effect, which ensures the authenticity and credibility of the data on the blockchain platform.
Description
技术领域technical field
本申请涉及数字身份领域,具体涉及一种基于区块链的数字身份实现方法、设备及介质。The present application relates to the field of digital identity, and in particular to a method, device and medium for realizing digital identity based on blockchain.
背景技术Background technique
随着科技的发展,人们可以通过网络执行各类业务。人们在执行这些业务时,通常会用到自己的数字身份来进行注册、执行业务等。其中,数字身份指的就是以数字形式进行存储的用户的身份信息。With the development of technology, people can perform various kinds of business through the network. When people perform these businesses, they usually use their digital identities to register, perform business, and so on. The digital identity refers to the user's identity information stored in digital form.
但是现有技术中,仍存在许多问题。例如,用户在执行业务或注册时,每次都需要输入自己对应的数字身份信息,十分不便。However, in the prior art, there are still many problems. For example, when users perform business or register, they need to input their corresponding digital identity information every time, which is very inconvenient.
发明内容SUMMARY OF THE INVENTION
为了解决上述问题,本申请提出了一种基于区块链的数字身份实现方法,包括:基于区块链框架部署区块链平台;将用户的多个维度的数字身份所对应的各机构作为节点,部署在所述区块链平台中;获取所述用户在各所述机构对应的数字身份;将各所述机构签署有自身数字签名、且对应的所述数字身份写入所述区块链平台,以使需求方通过所述用户的分享获取所述数字身份,并通过各所述机构的公钥进行验证。In order to solve the above problems, this application proposes a method for realizing digital identity based on blockchain, including: deploying a blockchain platform based on a blockchain framework; , deployed in the blockchain platform; obtain the digital identity of the user in each of the institutions; write the digital identity of each institution signed with its own digital signature and the corresponding digital identity into the blockchain platform, so that the demander obtains the digital identity through the sharing of the user, and verifies it through the public key of each institution.
在一个示例中,所述方法还包括:获取各所述机构的公钥,并将所述公钥写入所述区块链平台。In one example, the method further includes: acquiring the public keys of each of the institutions, and writing the public keys into the blockchain platform.
在一个示例中,所述方法还包括:将金融机构作为节点,部署在所述区块链平台中;接收用户发送的针对所述金融机构的注册请求;所述金融机构根据所述注册请求,在所述区块链平台中获取所需的所述用户的所述数字身份,以完成所述用户的注册。In one example, the method further includes: deploying a financial institution as a node in the blockchain platform; receiving a registration request for the financial institution sent by a user; the financial institution, according to the registration request, The required digital identity of the user is obtained in the blockchain platform to complete the registration of the user.
在一个示例中,所述机构包括:政府部门、院校、银行、公司、医院中的至少一种。In one example, the institution includes at least one of a government department, a school, a bank, a company, and a hospital.
在一个示例中,所述数字身份包括:与所述政府部门对应的身份证信息、个人征信、驾照信息、护照信息,与所述院校对应的学历信息、院校成绩,与所述银行对应的银行卡信息,与所述公司对应的职位信息,与所述医院对应的身体健康状况,中的至少一种。In one example, the digital identity includes: ID card information, personal credit information, driver's license information, and passport information corresponding to the government department, academic information and school grades corresponding to the institution, and information from the bank. At least one of the corresponding bank card information, the position information corresponding to the company, and the physical health status corresponding to the hospital.
在一个示例中,将各所述机构签署有自身数字签名的、且对应的所述数字身份写入所述区块链平台,包括:将各所述机构签署有自身数字签名和数字证书、且对应的所述数字身份写入所述区块链平台。In one example, writing the corresponding digital identities signed by each of the institutions with their own digital signatures into the blockchain platform includes: signing each of the institutions with their own digital signatures and digital certificates, and The corresponding digital identity is written into the blockchain platform.
在一个示例中,将各所述机构签署有自身数字签名、且对应的所述数字身份写入所述区块链平台,包括:将各所述机构签署有自身数字签名、且对应的所述数字身份,通过所述用户的公钥加密后,写入所述区块链平台。In an example, writing each of the institutions with their own digital signatures and the corresponding digital identities into the blockchain platform includes: signing each of the institutions with their own digital signatures and the corresponding digital identities The digital identity is encrypted by the user's public key and written into the blockchain platform.
在一个示例中,所述方法还包括:每向所述区块链平台中写入一个数字身份,对所述用户和/或该数字身份对应的机构进行奖励,所述奖励包括虚拟货币、法定货币中的至少一种。In one example, the method further includes: rewarding the user and/or the institution corresponding to the digital identity each time a digital identity is written into the blockchain platform, and the reward includes virtual currency, legal at least one of the currencies.
另一方面,本申请还提出一种基于区块链的数字身份实现设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:基于区块链框架部署区块链平台;将用户的多个维度的数字身份所对应的各机构作为节点,部署在所述区块链平台中;获取所述用户在各所述机构对应的数字身份;将各所述机构签署有自身数字签名、且对应的所述数字身份写入所述区块链平台,以使需求方通过所述用户的分享获取所述数字身份,并通过各所述机构的公钥进行验证。On the other hand, the present application also proposes a blockchain-based digital identity implementation device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores data that can be accessed by Instructions executed by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: deploy a blockchain platform based on a blockchain framework; Each institution corresponding to the digital identity is deployed in the blockchain platform as a node; obtains the digital identity of the user corresponding to each institution; signs each institution with its own digital signature and the corresponding The digital identity is written into the blockchain platform, so that the demander can obtain the digital identity through the sharing of the user, and verify it through the public key of each institution.
另一方面,本申请还提出一种基于区块链的数字身份实现的非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:基于区块链框架部署区块链平台;将用户的多个维度的数字身份所对应的各机构作为节点,部署在所述区块链平台中;获取所述用户在各所述机构对应的数字身份;将各所述机构签署有自身数字签名、且对应的所述数字身份写入所述区块链平台,以使需求方通过所述用户的分享获取所述数字身份,并通过各所述机构的公钥进行验证。On the other hand, the present application also proposes a non-volatile computer storage medium based on blockchain-based digital identity implementation, which stores computer-executable instructions, and the computer-executable instructions are set to: a blockchain-based framework deployment area Blockchain platform; use the institutions corresponding to the digital identities of multiple dimensions of users as nodes and deploy them in the blockchain platform; obtain the digital identities of the users corresponding to the institutions; Signed with its own digital signature, and the corresponding digital identity is written into the blockchain platform, so that the demander can obtain the digital identity through the sharing of the user, and verify it through the public key of each institution.
通过本申请提出基于区块链的数字身份实现方法能够带来如下有益效果:The blockchain-based digital identity implementation method proposed by this application can bring the following beneficial effects:
将用户的数字身份都存储在区块链平台中,由于区块链平台中的数据是公开透明的,因此用户在需要使用数字身份时,可以随时使用存储在区块链平台中的数字身份,十分便利。而且由于区块链平台是分布式存储,单个节点的数据篡改不会生效,也就保证了区块链平台上数据的真实可信。Store the user's digital identity in the blockchain platform. Since the data in the blockchain platform is open and transparent, users can use the digital identity stored in the blockchain platform at any time when they need to use the digital identity. Very convenient. And because the blockchain platform is distributed storage, data tampering by a single node will not take effect, which ensures the authenticity and credibility of the data on the blockchain platform.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1为本申请实施例中基于区块链的数字身份实现方法的流程示意图;1 is a schematic flowchart of a method for realizing a digital identity based on a blockchain in an embodiment of the application;
图2为本申请实施例中基于区块链的数字身份实现设备的示意图。FIG. 2 is a schematic diagram of a device for realizing a digital identity based on a blockchain in an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
如图1所示,本申请实施例提供一种基于区块链的数字身份实现方法,包括:As shown in FIG. 1 , an embodiment of the present application provides a blockchain-based digital identity implementation method, including:
S101、基于区块链框架部署区块链平台。S101. Deploy a blockchain platform based on a blockchain framework.
区块链(Blockchain)是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式,本质上是一个去中心化的数据库。Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. It is essentially a decentralized database.
首先基于区块链框架部署区块链平台。其中,区块链框架可以是能够实现本申请实施例相应功能的任意区块链框架,例如,比特币、以太坊、Fabric、Corda等。区块链平台可以指的是存储区块链的平台,例如,可以是分布式系统等。当然,区块链平台也可以直接代表区块链本身,在此不做限定。First deploy the blockchain platform based on the blockchain framework. The blockchain framework may be any blockchain framework capable of implementing the corresponding functions of the embodiments of the present application, for example, Bitcoin, Ethereum, Fabric, Corda, and the like. A blockchain platform may refer to a platform that stores a blockchain, for example, a distributed system, etc. Of course, the blockchain platform can also directly represent the blockchain itself, which is not limited here.
S102、将用户的多个维度的数字身份所对应的各机构作为节点,部署在所述区块链平台中。S102 , deploying each institution corresponding to the digital identity of the user in multiple dimensions as a node in the blockchain platform.
S103、获取所述用户在各所述机构对应的数字身份。S103: Acquire the digital identity of the user corresponding to each institution.
通常情况下,每个用户都会拥有多个维度的数字身份,用于不同的环境。每个维度的数字身份也对应着相应的机构。此时可以将这各机构作为节点部署在区块链平台中。然后可以获取用户在各机构对应的数字身份。这些数字身份可以由相应的机构主动提供,也可以由用户提供,在此不做限定。Typically, each user will have multiple dimensions of digital identity, used in different contexts. The digital identity of each dimension also corresponds to the corresponding institution. At this point, these institutions can be deployed in the blockchain platform as nodes. Then the user's digital identity corresponding to each institution can be obtained. These digital identities can be proactively provided by corresponding institutions or provided by users, which are not limited here.
具体地,上述的机构包括:政府部门、院校、银行、公司、医院中的至少一种。Specifically, the above-mentioned institutions include: at least one of government departments, institutions, banks, companies, and hospitals.
数字身份可以包括:与政府部门对应的身份证信息、个人征信、驾照信息、护照信息,与院校对应的学历信息和院校成绩,与银行对应的银行卡信息,与公司对应的职位信息,与医院对应的身体健康状况,中的至少一种。Digital identities can include: ID card information, personal credit information, driver's license information, passport information corresponding to government departments, academic information and school grades corresponding to institutions, bank card information corresponding to banks, and job information corresponding to companies , at least one of the physical health conditions corresponding to the hospital.
其中,身份证信息可以包括姓名、出生日期、身份证号、住址等,驾照信息可以包括姓名、驾照号等,护照信息可以包括姓名、国籍、签发地点、签发机关、签发时间、有效期等,身份证信息、驾照信息和护照信息可以由公安部门中的相关机构提供。个人征信可以包括个人基本信息、信贷记录、公共信息、异议记录、查询记录等,个人征信可以由国家征信管理局提供。Among them, ID card information can include name, date of birth, ID number, address, etc., driver's license information can include name, driver's license number, etc., passport information can include name, nationality, place of issuance, issuing authority, issuance time, validity period, etc., identity The information on the license, driver's license and passport can be provided by the relevant agencies in the public security department. Personal credit information can include basic personal information, credit records, public information, objection records, inquiry records, etc. Personal credit information can be provided by the State Credit Information Administration.
学历信息可以包括学历、毕业院校、毕业时间等,院校成绩可以包括在学校中的各科成绩、相关证件的考试成绩等,学历信息和院校成绩可以由院校提供。Educational information can include academic qualifications, graduate schools, graduation time, etc., and school results can include the scores of various subjects in the school, test scores of relevant certificates, etc. The academic information and school scores can be provided by the school.
银行卡信息可以包括银行卡号、持卡人信息、注册时间、注册手机号等,银行卡信息可以由银行提供。The bank card information may include bank card number, cardholder information, registration time, registered mobile phone number, etc. The bank card information may be provided by the bank.
职位信息可以包括在公司的职位、曾任职位、各职位的持续时间等,职位信息可以由公司提供。The position information may include the position in the company, the previous position, the duration of each position, etc., and the position information may be provided by the company.
身体健康情况可以包括曾得过的重大疾病、遗传病史、体检报告等,身体健康情况可以由医院提供。Physical health conditions can include major diseases, genetic medical history, physical examination reports, etc. The physical health conditions can be provided by the hospital.
S104、将各所述机构签署有自身数字签名、且对应的所述数字身份写入所述区块链平台,以使需求方通过所述用户的分享获取所述数字身份,并通过各所述机构的公钥进行验证。S104: Write each of the institutions with their own digital signatures and the corresponding digital identities into the blockchain platform, so that the demander can obtain the digital identities through the sharing of the users, and obtain the digital identities through the sharing of the users. The public key of the institution is verified.
在获取了各机构对应的数字身份后,可以将其写入区块链平台中。其中,在写入时,可以由各个机构分别将自身对应的数字身份写入至区块链平台,也可以由特定的节点获取后写入,在此不做限定。然后若有需求方需要使用该用户的数字身份,由于需求方不属于区块链平台中的节点,无法直接获取相关信息,此时可以由用户将相关的信息分享给需求方。将用户的数字身份都存储在区块链平台中,由于区块链平台中的数据是公开透明的,因此用户在需要使用数字身份时,可以随时使用存储在区块链平台中的数字身份,十分便利。而且由于区块链平台是分布式存储,单个节点的数据篡改不会生效,也就保证了区块链平台上数据的真实可信。After obtaining the digital identity corresponding to each institution, it can be written into the blockchain platform. Among them, when writing, each institution can write its corresponding digital identity to the blockchain platform, or it can be obtained and written by a specific node, which is not limited here. Then, if there is a demander who needs to use the user's digital identity, since the demander does not belong to the node in the blockchain platform, it cannot directly obtain the relevant information. At this time, the user can share the relevant information with the demander. Store the user's digital identity in the blockchain platform. Since the data in the blockchain platform is open and transparent, users can use the digital identity stored in the blockchain platform at any time when they need to use the digital identity. Very convenient. And because the blockchain platform is distributed storage, data tampering by a single node will not take effect, which ensures the authenticity and credibility of the data on the blockchain platform.
但是,如果在写入过程中造成了数据丢失,或者写入的数据是伪造的或被篡改的,则会造成需求方获取的信息不完整或被造假,对用户和需求方都造成负面的影响。因此,在写入数字身份时,可以将签署有各机构的数字签名的数字身份写入区块链平台中。其中,数字签名指的是,先将信息哈希后得到摘要,然后使用自身的私钥对摘要进行加密,即可得到数字签名。需求方在可以根据各机构的公钥对数字签名进行验证,即通过公钥对摘要进行解密,得到摘要,并将信息进行哈希后,与该摘要进行对比。如果一致,则可以判断信息完整无误,可以执行相应动作,减少了用户和需求方由于信息有误不完整造成负面影响的概率。However, if data is lost during the writing process, or the written data is forged or tampered with, the information obtained by the demander will be incomplete or falsified, which will have a negative impact on both the user and the demander. . Therefore, when writing a digital identity, the digital identity signed with the digital signature of each institution can be written into the blockchain platform. Among them, the digital signature refers to the process of hashing the information to obtain a digest, and then encrypting the digest with its own private key to obtain a digital signature. The demander can verify the digital signature according to the public key of each institution, that is, decrypt the digest through the public key to obtain the digest, hash the information, and then compare it with the digest. If they are consistent, it can be judged that the information is complete and correct, and corresponding actions can be performed, thereby reducing the probability of negative impacts on users and demanders due to incorrect and incomplete information.
进一步地,即使使用了数字签名,也可能会出现需求方自身的电脑被入侵,导致所存储的机构的公钥被恶意节点替换成自身的公钥,然后恶意节点通过自身的私钥伪造数字签名的情况发生。因此,在写入数字身份时,除了各机构的数字签名以外,还可以将数字证书一起签署。其中,数字证书指的是通过证书中心(Certificate Authority,CA)对公钥做认证。CA通过自身的私钥对机构的公钥和一些相关信息进行加密生成的。通过数字证书可以有效防止上述情况的发生,进一步地增加了信息的安全性。Further, even if a digital signature is used, the computer of the demander may be invaded, causing the stored public key of the institution to be replaced by its own public key by the malicious node, and then the malicious node forges the digital signature through its own private key. situation occurs. Therefore, when writing a digital identity, in addition to the digital signature of each institution, the digital certificate can also be signed together. The digital certificate refers to the authentication of the public key by a certificate authority (Certificate Authority, CA). The CA encrypts the organization's public key and some related information with its own private key. The occurrence of the above situation can be effectively prevented by the digital certificate, which further increases the security of the information.
在一个实施例中,获取各机构的公钥,并将公钥写入区块链平台中。用户在向需求方分享信息时,可以一起将公钥进行分享,减少了用户的需求方的工作量,十分便利。In one embodiment, the public key of each institution is obtained, and the public key is written into the blockchain platform. When users share information with the demander, they can share the public key together, which reduces the workload of the user's demander and is very convenient.
在一个实施例中,可以将金融机构作为节点部署在区块链平台中,例如虚拟货币交易所等。然后在接收到用户针对金融机构的注册请求时,由该节点直接在区块链平台中获取相应的数字身份,以完成注册,无需用户的分享。由于充分了解你的客户(Know yourcustomer,KYC)政策,防止反洗钱和预防腐败,导致用户在进行金融机构的注册时,审查非常严格。因此将金融机构作为节点,可以大大减少用户的操作次数,十分便利。In one embodiment, a financial institution may be deployed as a node in a blockchain platform, such as a virtual currency exchange or the like. Then, when the user's registration request for the financial institution is received, the node directly obtains the corresponding digital identity in the blockchain platform to complete the registration without the user's sharing. Due to the full Know Your Customer (KYC) policy, anti-money laundering and corruption prevention, users are subject to very strict scrutiny when registering with financial institutions. Therefore, using financial institutions as nodes can greatly reduce the number of user operations, which is very convenient.
在一个实施例中,各节点直接将用户的数字身份上传至区块链平台上,容易导致用户的身份信息泄露。因此可以将数字身份通过用户的公钥进行加密后,在写入区块链平台中。在用户对数字身份分享给需求方时,可以通过自身的私钥解密之后,在进行分享。通过用户的公钥进行加密后再写入区块链平台,大大减少了用户的身份信息泄露的情况发生。In one embodiment, each node directly uploads the user's digital identity to the blockchain platform, which may easily lead to the leakage of the user's identity information. Therefore, the digital identity can be encrypted by the user's public key and written into the blockchain platform. When the user shares the digital identity with the demander, it can be decrypted by its own private key and then shared. The user's public key is encrypted and then written to the blockchain platform, which greatly reduces the leakage of the user's identity information.
在一个实施例中,每当向区块链平台写入一个数字身份,可以向用户和/或数字身份对应的机构进行奖励,奖励包括虚拟货币、法定货币中的至少一种。通过进行奖励,可以增加人们的写入自身的数字身份的积极性,增加区块链平台中存储的数字身份的数量,也就可以扩大区块链平台的影响力。In one embodiment, whenever a digital identity is written to the blockchain platform, a reward can be given to the user and/or the institution corresponding to the digital identity, and the reward includes at least one of virtual currency and legal currency. By rewarding, people's enthusiasm for writing their own digital identities can be increased, the number of digital identities stored in the blockchain platform can be increased, and the influence of the blockchain platform can be expanded.
如图2所示,本申请实施例还提供一种基于区块链的数字身份实现设备,包括:As shown in FIG. 2 , an embodiment of the present application also provides a blockchain-based digital identity implementation device, including:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled 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:
基于区块链框架部署区块链平台;Deploy the blockchain platform based on the blockchain framework;
将用户的多个维度的数字身份所对应的各机构作为节点,部署在所述区块链平台中;The institutions corresponding to the digital identities of multiple dimensions of the user are deployed as nodes in the blockchain platform;
获取所述用户在各所述机构对应的数字身份;Obtain the digital identity of the user corresponding to each of the institutions;
将各所述机构签署有自身数字签名、且对应的所述数字身份写入所述区块链平台,以使需求方通过所述用户的分享获取所述数字身份,并通过各所述机构的公钥进行验证。Write each said institution with its own digital signature and write the corresponding digital identity into the blockchain platform, so that the demander can obtain the digital identity through the sharing of the user, and obtain the digital identity through the sharing of each said institution. public key for verification.
本申请实施例还提供一种基于区块链的数字身份实现的非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:The embodiment of the present application also provides a non-volatile computer storage medium based on blockchain digital identity implementation, which stores computer-executable instructions, and the computer-executable instructions are set to:
基于区块链框架部署区块链平台;Deploy the blockchain platform based on the blockchain framework;
将用户的多个维度的数字身份所对应的各机构作为节点,部署在所述区块链平台中;The institutions corresponding to the digital identities of multiple dimensions of the user are deployed as nodes in the blockchain platform;
获取所述用户在各所述机构对应的数字身份;Obtain the digital identity of the user corresponding to each of the institutions;
将各所述机构签署有自身数字签名、且对应的所述数字身份写入所述区块链平台,以使需求方通过所述用户的分享获取所述数字身份,并通过各所述机构的公钥进行验证。Write each said institution with its own digital signature and write the corresponding digital identity into the blockchain platform, so that the demander can obtain the digital identity through the sharing of the user, and obtain the digital identity through the sharing of each said institution. public key for verification.
本申请中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于设备和介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this application is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the apparatus and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for related parts.
本申请实施例提供的设备和介质与方法是一一对应的,因此,设备和介质也具有与其对应的方法类似的有益技术效果,由于上面已经对方法的有益技术效果进行了详细说明,因此,这里不再赘述设备和介质的有益技术效果。The devices, media and methods provided in the embodiments of the present application are in one-to-one correspondence. Therefore, the devices and media also have similar beneficial technical effects to their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, therefore, The beneficial technical effects of the device and the medium will not be repeated here.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911185051.5A CN111131164A (en) | 2019-11-27 | 2019-11-27 | Block chain-based digital identity implementation method, equipment and medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911185051.5A CN111131164A (en) | 2019-11-27 | 2019-11-27 | Block chain-based digital identity implementation method, equipment and medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111131164A true CN111131164A (en) | 2020-05-08 |
Family
ID=70496822
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911185051.5A Pending CN111131164A (en) | 2019-11-27 | 2019-11-27 | Block chain-based digital identity implementation method, equipment and medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111131164A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113515756A (en) * | 2021-03-29 | 2021-10-19 | 中国雄安集团数字城市科技有限公司 | High-reliability digital identity management method and system based on block chain |
| CN113890753A (en) * | 2021-09-24 | 2022-01-04 | 网易(杭州)网络有限公司 | Digital identity management method, device, system, computer equipment and storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107181765A (en) * | 2017-07-25 | 2017-09-19 | 光载无限(北京)科技有限公司 | Network digital identity identifying method based on block chain technology |
| CN108780390A (en) * | 2016-06-06 | 2018-11-09 | 汤森路透全球资源无限公司 | Systems and methods for providing identity scoring |
| CN109005186A (en) * | 2018-08-20 | 2018-12-14 | 杭州复杂美科技有限公司 | A kind of method, system, equipment and the storage medium of user-isolated identity information |
| CN109768865A (en) * | 2019-01-18 | 2019-05-17 | 深圳市威赫科技有限公司 | Block chain upper body part under credible performing environment digitizes realization method and system |
| CN110060037A (en) * | 2019-04-24 | 2019-07-26 | 上海能链众合科技有限公司 | A kind of distributed digital identification system based on block chain |
| CN110263573A (en) * | 2019-05-22 | 2019-09-20 | 西安邮电大学 | Representation method based on block chain personal identification |
| CA3098920A1 (en) * | 2018-04-30 | 2019-11-07 | Shyft Network Inc. | Methods, apparatus and system for identification verification |
-
2019
- 2019-11-27 CN CN201911185051.5A patent/CN111131164A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108780390A (en) * | 2016-06-06 | 2018-11-09 | 汤森路透全球资源无限公司 | Systems and methods for providing identity scoring |
| CN107181765A (en) * | 2017-07-25 | 2017-09-19 | 光载无限(北京)科技有限公司 | Network digital identity identifying method based on block chain technology |
| CA3098920A1 (en) * | 2018-04-30 | 2019-11-07 | Shyft Network Inc. | Methods, apparatus and system for identification verification |
| CN109005186A (en) * | 2018-08-20 | 2018-12-14 | 杭州复杂美科技有限公司 | A kind of method, system, equipment and the storage medium of user-isolated identity information |
| CN109768865A (en) * | 2019-01-18 | 2019-05-17 | 深圳市威赫科技有限公司 | Block chain upper body part under credible performing environment digitizes realization method and system |
| CN110060037A (en) * | 2019-04-24 | 2019-07-26 | 上海能链众合科技有限公司 | A kind of distributed digital identification system based on block chain |
| CN110263573A (en) * | 2019-05-22 | 2019-09-20 | 西安邮电大学 | Representation method based on block chain personal identification |
Non-Patent Citations (3)
| Title |
|---|
| 彭永勇;张晓韬;: "基于区块链应用模式的可信身份认证关键技术研究", 网络安全技术与应用, no. 02, 15 February 2018 (2018-02-15) * |
| 拉杰·拉尔编著,王军锋等译: "UI设计黄金法则——触动人心的100种用户界面", 30 September 2014, 中国青年出版社, pages: 70 * |
| 石瑞生,吴旭: "大数据安全与隐私保护", 31 May 2019, 北京邮电大学出版社, pages: 22 - 25 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113515756A (en) * | 2021-03-29 | 2021-10-19 | 中国雄安集团数字城市科技有限公司 | High-reliability digital identity management method and system based on block chain |
| CN113890753A (en) * | 2021-09-24 | 2022-01-04 | 网易(杭州)网络有限公司 | Digital identity management method, device, system, computer equipment and storage medium |
| CN113890753B (en) * | 2021-09-24 | 2024-04-09 | 网易(杭州)网络有限公司 | Digital identity management method, device, system, computer equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109559224B (en) | Credit investigation evaluation method and device and electronic equipment | |
| US11251937B2 (en) | Distributed security mechanism for blockchains and distributed ledgers | |
| TWI786282B (en) | Block chain transaction method and device, electronic equipment | |
| CN111767578B (en) | A data inspection method, device and equipment | |
| ES2881289T3 (en) | Method to manage a trusted identity | |
| CN109325747B (en) | Remittance method and device based on block chain | |
| CN109583215B (en) | Method and device for processing credit investigation data and block chain data sharing system | |
| CN112651740A (en) | Block chain transaction method and device and electronic equipment | |
| CN111818186B (en) | An information sharing method and system | |
| CN110800254A (en) | System and method for generating digital indicia | |
| CN111770199A (en) | An information sharing method, device and equipment | |
| US12481987B2 (en) | Verification systems for blockchains and distributed ledgers | |
| IL281671B2 (en) | Systems and computer-based methods of document certification and publication | |
| TW202016833A (en) | Authentication methods and devices and electronic equipment | |
| CN109858911A (en) | Qualification verification method, device, system, equipment and readable storage medium storing program for executing | |
| CN112991045A (en) | Medical health consumption financing method, device, equipment and medium based on block chain | |
| CN110213251B (en) | Method for anonymously reporting reward distribution, method for obtaining reward, equipment and storage medium | |
| EP4088237B1 (en) | Systems and methods for compliance checks | |
| CN111131164A (en) | Block chain-based digital identity implementation method, equipment and medium | |
| EP3933747A1 (en) | Information processing program, device, and method | |
| WO2021114495A1 (en) | Supply chain transaction privacy protection system and method based on blockchain, and related device | |
| CN114830159B (en) | Method and apparatus for mitigating ticket financing fraud | |
| CN111460466A (en) | A blockchain-based electronic ticket management method, equipment and medium | |
| CN114065253A (en) | Method for anonymous sharing and verification of certificate and result | |
| Thakare et al. | Fake certificate detection by using blockchain |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20200731 Address after: Floor S01, Inspur Science Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province Applicant after: Inspur cloud Information Technology Co.,Ltd. Address before: Room 3110, S01 building, Langchao building, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province 250101 Applicant before: Shandong Aicheng Network Information Technology Co.,Ltd. |
|
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200508 |