+

CN110009353A - A blockchain-based account registration method, device and electronic device - Google Patents

A blockchain-based account registration method, device and electronic device Download PDF

Info

Publication number
CN110009353A
CN110009353A CN201910257925.7A CN201910257925A CN110009353A CN 110009353 A CN110009353 A CN 110009353A CN 201910257925 A CN201910257925 A CN 201910257925A CN 110009353 A CN110009353 A CN 110009353A
Authority
CN
China
Prior art keywords
application
registration
transaction
user
registration user
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
Application number
CN201910257925.7A
Other languages
Chinese (zh)
Inventor
邹杰
刘涛
尹志清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Bailian Jishi Science And Technology Co ltd
Original Assignee
Beijing Bailian Jishi Science And Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Bailian Jishi Science And Technology Co ltd filed Critical Beijing Bailian Jishi Science And Technology Co ltd
Priority to CN201910257925.7A priority Critical patent/CN110009353A/en
Publication of CN110009353A publication Critical patent/CN110009353A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses an account registration method and device based on a block chain and electronic equipment, which are used for solving the problem that the existing account management system is centralized and information related to user privacy is not safe enough in the account management system. The method comprises the following steps: the registered user of the blockchain system verifies the application registration information of the application registration user of the blockchain system; if the registered user passes the verification of the application registration information of the application registration user, generating a transaction between the registered user and the application registration user in the blockchain system, wherein the transaction carries the first address identifier, the second address identifier and the application registration information; and when the holding amount of the registered user is greater than or equal to the transaction cost, the consensus node of the block chain system determines that the transaction is valid and uploads the transaction to a block chain.

Description

一种基于区块链的账号注册方法、装置及电子设备A blockchain-based account registration method, device and electronic device

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种基于区块链的账号注册方法、装置及电子设备。The present application relates to the field of computer technology, and in particular, to a blockchain-based account registration method, device, and electronic device.

背景技术Background technique

目前,账号管理系统中对用户的账号、以及用户注册账号时所输入的涉及隐私信息的数据,往往是中心化的存储和管理方式。At present, the user's account and the data involving privacy information entered by the user when registering the account in the account management system are often stored and managed in a centralized manner.

在上述场景中,一旦由于某种原因导致账号管理系统的中心服务器的信息泄露,用户的隐私数据将得不到有效的保障。In the above scenario, once the information of the central server of the account management system is leaked for some reason, the user's private data will not be effectively guaranteed.

因此,亟需一种账号注册方法以应对现有技术中的上述问题。Therefore, there is an urgent need for an account registration method to deal with the above problems in the prior art.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种基于区块链的账号注册方法、装置及电子设备,以解决现有的账号管理系统都是中心化的,涉及用户隐私的信息在该账号管理系统中不够安全的问题。The embodiments of the present application provide a blockchain-based account registration method, device, and electronic device, so as to solve the problem that the existing account management systems are centralized, and the information related to user privacy is not secure enough in the account management system. question.

为解决上述技术问题,本申请实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiments of the present application are implemented as follows:

第一方面,提出了一种基于区块链的账号注册方法,包括:In the first aspect, a blockchain-based account registration method is proposed, including:

区块链系统的已注册用户对所述区块链系统的申请注册用户的申请注册信息进行验证;其中,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识;The registered user of the blockchain system verifies the application registration information of the application registration user of the blockchain system; wherein the application registration information includes the abstract of the privacy data of the application registration user, the application registration user Apply for the first address identifier on the blockchain, and the address identifier of the registered user on the blockchain is the second address identifier;

若所述已注册用户对所述申请注册用户的申请注册信息验证通过,则在所述区块链系统中生成所述已注册用户与申请注册用户之间的交易,所述交易中携带所述第一地址标识、所述第二地址标识以及所述申请注册信息;If the registered user passes the verification of the registration application information of the registered user, a transaction between the registered user and the registered user is generated in the blockchain system, and the transaction carries the The first address identifier, the second address identifier, and the application registration information;

所述区块链系统的共识节点在所述已注册用户的持有额度大于或等于所述交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号。When the holding amount of the registered user is greater than or equal to the fee of the transaction, the consensus node of the blockchain system determines that the transaction is valid, and uploads the transaction to the blockchain, so that all transactions are valid. The registered user obtains the registered account of the blockchain system based on the summary of the privacy data.

第二方面,提出了一种基于区块链的账号注册方法,所述方法应用于区块链系统的已注册用户装置,包括:In the second aspect, a blockchain-based account registration method is proposed. The method is applied to a registered user device of a blockchain system, including:

对所述区块链系统的申请注册用户的申请注册信息进行验证;其中,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识;Verify the application registration information of the application registration user of the blockchain system; wherein the application registration information includes an abstract of the privacy data of the application registration user, the first registration application on the blockchain of the application registration user. an address identifier, the address identifier of the registered user on the blockchain is the second address identifier;

若对所述申请注册用户的申请注册信息验证通过,则在所述区块链系统中生成所述已注册用户与申请注册用户之间的交易,所述交易中携带所述第一地址标识、所述第二地址标识以及所述申请注册信息,以便所述区块链系统的共识节点在所述已注册用户的持有额度大于或等于所述交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号。If the verification of the application registration information of the user applying for registration is passed, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identifier, The second address identifier and the application registration information, so that the consensus node of the blockchain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and The transaction is uploaded to the blockchain, so that the registered user obtains the registered account of the blockchain system based on the summary of the privacy data.

第三方面,提出了一种基于区块链的账号注册方法,所述方法应用于区块链系统的共识节点,包括:In the third aspect, a blockchain-based account registration method is proposed, and the method is applied to the consensus nodes of the blockchain system, including:

在区块链系统的已注册用户的持有额度大于或等于所述已注册用户和申请注册用户之间的交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述区块链系统的申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号;When the holding amount of the registered user of the blockchain system is greater than or equal to the transaction fee between the registered user and the user applying for registration, determine that the transaction is valid, and upload the transaction to the blockchain , so that the registered user of the blockchain system obtains the registered account of the blockchain system based on the abstract of the privacy data;

其中,所述交易中携带第一地址标识、第二地址标识以及所述申请注册用户的申请注册信息,所述交易为所述已注册用户对所述申请注册用户的申请注册信息验证通过时,在所述区块链系统中生成的,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识。Wherein, the transaction carries the first address identifier, the second address identifier, and the application registration information of the user applying for registration, and the transaction is when the registered user passes the verification of the application registration information of the user applying for registration, Generated in the blockchain system, the registration application information includes an abstract of the privacy data of the user applying for registration, the first address identifier on the blockchain that the user applying for registration applies for, and the registered user The address identification on the blockchain is the second address identification.

第四方面,提出了一种区块链系统的已注册用户装置,包括:In a fourth aspect, a registered user device of a blockchain system is proposed, including:

验证单元,用于对所述区块链系统的申请注册用户的申请注册信息进行验证;其中,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识;The verification unit is used for verifying the application registration information of the application registration user of the blockchain system; wherein the application registration information includes the abstract of the privacy data of the application registration user, the application registration information of the application registration user in the district The first address identifier on the blockchain, the address identifier of the registered user on the blockchain is the second address identifier;

生成单元,用于若对所述申请注册用户的申请注册信息验证通过,则在所述区块链系统中生成所述已注册用户与申请注册用户之间的交易,所述交易中携带所述第一地址标识、所述第二地址标识以及所述申请注册信息,以便所述区块链系统的共识节点在所述已注册用户的持有额度大于或等于所述交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号。The generating unit is configured to generate a transaction between the registered user and the user applying for registration in the blockchain system if the application registration information of the user applying for registration is verified, and the transaction carries the The first address identifier, the second address identifier, and the application registration information, so that the consensus node of the blockchain system can determine the required amount when the registered user's holding amount is greater than or equal to the transaction fee. The transaction is valid, and the transaction is uploaded to the blockchain, so that the registered user obtains the registered account of the blockchain system based on the abstract of the privacy data.

第五方面,提出了一种区块链系统的共识节点,其特征在于,包括:In the fifth aspect, a consensus node of a blockchain system is proposed, which is characterized by including:

确定单元,用于在区块链系统的已注册用户的持有额度大于或等于所述已注册用户和申请注册用户之间的交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述区块链系统的申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号;A determination unit, configured to determine that the transaction is valid when the holding amount of the registered user of the blockchain system is greater than or equal to the transaction fee between the registered user and the user applying for registration, and upload the transaction into the blockchain, so that the registered user of the blockchain system obtains the registered account of the blockchain system based on the abstract of the privacy data;

其中,所述交易中携带第一地址标识、第二地址标识以及所述申请注册用户的申请注册信息,所述交易为所述已注册用户对所述申请注册用户的申请注册信息验证通过时,在所述区块链系统中生成的,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识。Wherein, the transaction carries the first address identifier, the second address identifier, and the application registration information of the user applying for registration, and the transaction is when the registered user passes the verification of the application registration information of the user applying for registration, Generated in the blockchain system, the registration application information includes an abstract of the privacy data of the user applying for registration, the first address identifier on the blockchain that the user applying for registration applies for, and the registered user The address identification on the blockchain is the second address identification.

第六方面,提出了一种电子设备,该电子设备包括:In a sixth aspect, an electronic device is provided, the electronic device comprising:

处理器;以及processor; and

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:memory arranged to store computer-executable instructions which, when executed, cause the processor to:

对所述区块链系统的申请注册用户的申请注册信息进行验证;其中,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识;Verify the application registration information of the application registration user of the blockchain system; wherein the application registration information includes an abstract of the privacy data of the application registration user, the first registration application on the blockchain of the application registration user. an address identifier, the address identifier of the registered user on the blockchain is the second address identifier;

若对所述申请注册用户的申请注册信息验证通过,则在所述区块链系统中生成所述已注册用户与申请注册用户之间的交易,所述交易中携带所述第一地址标识、所述第二地址标识以及所述申请注册信息,以便所述区块链系统的共识节点在所述已注册用户的持有额度大于或等于所述交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号。If the verification of the application registration information of the user applying for registration is passed, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identifier, The second address identifier and the application registration information, so that the consensus node of the blockchain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and The transaction is uploaded to the blockchain, so that the registered user obtains the registered account of the blockchain system based on the summary of the privacy data.

第七方面,提出了一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:In a seventh aspect, a computer-readable storage medium is proposed, the computer-readable storage medium stores one or more programs, the one or more programs, when executed by an electronic device including a plurality of application programs, cause all The described electronic device performs the following actions:

对所述区块链系统的申请注册用户的申请注册信息进行验证;其中,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识;Verify the application registration information of the application registration user of the blockchain system; wherein the application registration information includes an abstract of the privacy data of the application registration user, the first registration application on the blockchain of the application registration user. an address identifier, the address identifier of the registered user on the blockchain is the second address identifier;

若对所述申请注册用户的申请注册信息验证通过,则在所述区块链系统中生成所述已注册用户与申请注册用户之间的交易,所述交易中携带所述第一地址标识、所述第二地址标识以及所述申请注册信息,以便所述区块链系统的共识节点在所述已注册用户的持有额度大于或等于所述交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号。If the verification of the application registration information of the user applying for registration is passed, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identifier, The second address identifier and the application registration information, so that the consensus node of the blockchain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and The transaction is uploaded to the blockchain, so that the registered user obtains the registered account of the blockchain system based on the summary of the privacy data.

第八方面,提出了一种电子设备,该电子设备包括:In an eighth aspect, an electronic device is provided, the electronic device comprising:

处理器;以及processor; and

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行以下操作:memory arranged to store computer-executable instructions which, when executed, cause the processor to:

在区块链系统的已注册用户的持有额度大于或等于所述已注册用户和申请注册用户之间的交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述区块链系统的申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号;When the holding amount of the registered user of the blockchain system is greater than or equal to the transaction fee between the registered user and the user applying for registration, determine that the transaction is valid, and upload the transaction to the blockchain , so that the registered user of the blockchain system obtains the registered account of the blockchain system based on the abstract of the privacy data;

其中,所述交易中携带第一地址标识、第二地址标识以及所述申请注册用户的申请注册信息,所述交易为所述已注册用户对所述申请注册用户的申请注册信息验证通过时,在所述区块链系统中生成的,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识。Wherein, the transaction carries the first address identifier, the second address identifier, and the application registration information of the user applying for registration, and the transaction is when the registered user passes the verification of the application registration information of the user applying for registration, Generated in the blockchain system, the registration application information includes an abstract of the privacy data of the user applying for registration, the first address identifier on the blockchain that the user applying for registration applies for, and the registered user The address identification on the blockchain is the second address identification.

第九方面,提出了一种计算机可读存储介质,所述计算机可读存储介质存储一个或多个程序,所述一个或多个程序当被包括多个应用程序的电子设备执行时,使得所述电子设备执行以下操作:In a ninth aspect, a computer-readable storage medium is proposed, the computer-readable storage medium stores one or more programs, the one or more programs, when executed by an electronic device including a plurality of application programs, cause all The described electronic device performs the following actions:

在区块链系统的已注册用户的持有额度大于或等于所述已注册用户和申请注册用户之间的交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述区块链系统的申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号;When the holding amount of the registered user of the blockchain system is greater than or equal to the transaction fee between the registered user and the user applying for registration, determine that the transaction is valid, and upload the transaction to the blockchain , so that the registered user of the blockchain system obtains the registered account of the blockchain system based on the abstract of the privacy data;

其中,所述交易中携带第一地址标识、第二地址标识以及所述申请注册用户的申请注册信息,所述交易为所述已注册用户对所述申请注册用户的申请注册信息验证通过时,在所述区块链系统中生成的,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识。Wherein, the transaction carries the first address identifier, the second address identifier, and the application registration information of the user applying for registration, and the transaction is when the registered user passes the verification of the application registration information of the user applying for registration, Generated in the blockchain system, the registration application information includes an abstract of the privacy data of the user applying for registration, the first address identifier on the blockchain that the user applying for registration applies for, and the registered user The address identification on the blockchain is the second address identification.

本申请实施例采用上述技术方案至少可以达到下述技术效果:The embodiment of the present application adopts the above technical solution to achieve at least the following technical effects:

在区块链系统的申请注册用户申请在区块链系统中注册账号时,区块链系统的已注册用户能够对区块链系统的申请注册用户的申请注册信息进行验证;其中,申请注册信息包括所述申请注册用户的隐私数据的摘要、申请注册用户申请在区块链上的第一地址标识,已注册用户在所述区块链上的地址标识为第二地址标识;若已注册用户对申请注册用户的申请注册信息验证通过,则在区块链系统中生成已注册用户与申请注册用户之间的交易,交易中携带第一地址标识、第二地址标识以及申请注册信息;区块链系统的共识节点在已注册用户的持有额度大于或等于交易的费用时,确定交易有效,并将交易上传至区块链中,以使得申请注册用户基于隐私数据的摘要获取区块链系统的注册账号。利用区块链系统的去中心化以及信息不可篡改的特征,提高了用户隐私数据和账号的安全级别。When an application registration user of the blockchain system applies for registering an account in the blockchain system, the registered user of the blockchain system can verify the application registration information of the application registration user of the blockchain system; among them, the application registration information It includes the abstract of the privacy data of the user applying for registration, the first address identifier applied by the user applying for registration on the blockchain, and the address identifier of the registered user on the blockchain is the second address identifier; If the application registration information of the user applying for registration is verified, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identification, the second address identification and the application registration information; block The consensus node of the chain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and uploads the transaction to the blockchain, so that the user applying for registration can obtain the blockchain system based on the abstract of the privacy data. registered account. Using the decentralization of the blockchain system and the immutability of information, the security level of user privacy data and accounts is improved.

附图说明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为本说明书一个实施例提供的一种基于区块链的账号注册方法的实现流程示意图;FIG. 1 is a schematic flowchart of the implementation of a blockchain-based account registration method provided by an embodiment of this specification;

图2为本说明书一个实施例提供的基于区块链的账号注册方法应用在实际场景中的示意图;2 is a schematic diagram of the application of the blockchain-based account registration method provided in an embodiment of this specification in an actual scenario;

图3为本说明书一个实施例提供的一种基于区块链的账号注册方法应用于区块链系统的已注册用户的实现流程示意图;3 is a schematic flow chart of the implementation of a blockchain-based account registration method provided in an embodiment of the present specification applied to a registered user of a blockchain system;

图4为本说明书一个实施例提供的一种基于区块链的账号注册方法应用于区块链中的共识节点的实现流程示意图;FIG. 4 is a schematic diagram of the implementation process of applying a blockchain-based account registration method to a consensus node in a blockchain provided by an embodiment of this specification;

图5为本说明书一个实施例提供的一种区块链系统的已注册用户装置的结构示意图;5 is a schematic structural diagram of a registered user device of a blockchain system according to an embodiment of this specification;

图6为本说明书一个实施例提供的一种区块链系统的共识节点的结构示意图;FIG. 6 is a schematic structural diagram of a consensus node of a blockchain system according to an embodiment of this specification;

图7为本说明书一个实施例提供的一种电子设备的结构示意图;FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present specification;

图8为本说明书一个实施例提供的又一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of yet another electronic device according to an embodiment of the present specification.

具体实施方式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.

为解决现有的账号管理系统都是中心化的,涉及用户隐私的信息在该账号管理系统中不够安全的问题,本说明书实施例提供一种基于区块链的账号注册方法。In order to solve the problem that the existing account management systems are centralized and the information related to user privacy is not secure enough in the account management system, the embodiments of this specification provide a blockchain-based account registration method.

具体地,本说明书一个或多个实施例提供的一种基于区块链的账号注册方法的实现流程示意图如图1所示,包括:Specifically, a schematic diagram of the implementation flow of a blockchain-based account registration method provided by one or more embodiments of this specification is shown in Figure 1, including:

步骤110,区块链系统的已注册用户对区块链系统的申请注册用户的申请注册信息进行验证;其中,申请注册信息包括申请注册用户的隐私数据的摘要、申请注册用户申请在区块链上的第一地址标识,已注册用户在区块链上的地址标识为第二地址标识;Step 110, the registered user of the blockchain system verifies the application registration information of the application registration user of the blockchain system; wherein, the application registration information includes the abstract of the privacy data of the application registration user, the application registration user application in the blockchain system. The first address identifier on the blockchain, the address identifier of the registered user on the blockchain is the second address identifier;

可选地,在一种实施方式中,申请注册信息还包括下述至少一种:Optionally, in one embodiment, the application registration information further includes at least one of the following:

申请注册用户的公钥,申请注册用户的公钥为基于申请注册用户的私钥生成的,申请注册用户的私钥为从区块链系统中获取的;The public key of the registered user, the public key of the registered user is generated based on the private key of the registered user, and the private key of the registered user is obtained from the blockchain system;

基于申请注册用户的隐私数据的摘要和申请注册用户的私钥生成的第一验证信息;The first verification information generated based on the abstract of the private data of the registered user and the private key of the registered user;

基于申请注册用户的隐私数据的摘要和申请注册用户的私钥生成的第二验证信息。The second verification information is generated based on the abstract of the private data of the user applying for registration and the private key of the user applying for registration.

可选地,申请注册用户的公钥PK可以是基于申请注册用户从区块链系统中获取的私钥SK通过不可逆加密算法,比如哈希算法获取到的,其中,申请注册用户从区块链系统中获取的私钥SK在区块链系统中具有唯一性。申请注册用户在区块链中的第一地址标识PA也可以通过申请注册用户的公钥PK通过不可逆加密算法,比如哈希算法获取得到的。Optionally, the public key PK of the user applying for registration may be obtained through an irreversible encryption algorithm, such as a hash algorithm, based on the private key SK obtained by the user applying for registration from the blockchain system. The private key SK obtained in the system is unique in the blockchain system. The first address identifier PA of the user applying for registration in the blockchain can also be obtained through an irreversible encryption algorithm, such as a hash algorithm, through the public key PK of the user applying for registration.

其中,基于申请注册用户的隐私数据的摘要和申请注册用户的私钥生成的第一验证信息,具体可以通过公式result=VRF_Hash(SK,DID),该result即为第一验证信息,其中DID是申请注册用户的隐私数据PID的摘要,为了提高隐私数据PID的安全性,该隐私数据PID的摘要DID可以是隐私数据PID通过不可逆加密算法比如哈希算法加密得到的。Wherein, the first verification information generated based on the abstract of the privacy data of the registered user and the private key of the registered user can be specifically generated by the formula result=VRF_Hash(SK, DID), and the result is the first verification information, wherein DID is Apply for the abstract of the private data PID of the registered user. In order to improve the security of the private data PID, the abstract DID of the private data PID can be obtained by encrypting the private data PID through an irreversible encryption algorithm such as a hash algorithm.

基于申请注册用户的隐私数据的摘要和申请注册用户的私钥生成的第二验证信息,具体可以通过公式proof=VRF_Proof(SK,DID)获取到,其中proof即为第二验证信息。The second verification information generated based on the abstract of the private data of the registered user and the private key of the registered user can be specifically obtained by the formula proof=VRF_Proof(SK, DID), where proof is the second verification information.

可选地,在一种实施方式中,对区块链系统的申请注册用户的申请注册信息进行验证,包括:Optionally, in one embodiment, verifying the application registration information of the user who applies for registration of the blockchain system includes:

基于第二验证信息验证所述第一验证信息的合法性;Verifying the legitimacy of the first verification information based on the second verification information;

若第一验证信息合法,则基于申请注册用户的公钥和申请注册用户的隐私数据的摘要,验证第二验证信息的合法性。If the first verification information is legal, the legality of the second verification information is verified based on the public key of the registered user and the digest of the private data of the registered user.

可选地,基于第二验证信息验证所述第一验证信息的合法性,具体可以通过公式result’=VRF_P2H(proof)来验证第一验证信息result的合法性,若result’与result数值一致,则可以确定第一验证信息的合法。Optionally, based on the second verification information to verify the legality of the first verification information, specifically the legality of the first verification information result can be verified by the formula result'=VRF_P2H(proof), if the result' is consistent with the result value, Then, the validity of the first verification information can be determined.

可选地,基于申请注册用户的公钥和申请注册用户的隐私数据的摘要,验证第二验证信息的合法性,具体可以通过公式True/False=VRF_Verify(PK,DID,proof)来验证第二验证信息proof的合法性,若公式True=VRF_Verify(PK,DID,proof)成立,则可以确定第二验证信息proof合法。Optionally, based on the public key of the registered user and the abstract of the private data of the registered user, the legitimacy of the second verification information is verified, and the second verification information can be verified by the formula True/False=VRF_Verify(PK, DID, proof). To verify the validity of the information proof, if the formula True=VRF_Verify(PK, DID, proof) is established, it can be determined that the second verification information proof is valid.

步骤120,若已注册用户对申请注册用户的申请注册信息验证通过,则在区块链系统中生成已注册用户与申请注册用户之间的交易,交易中携带第一地址标识、第二地址标识以及申请注册信息;Step 120, if the registered user passes the verification of the application registration information of the registered user, a transaction between the registered user and the registered user is generated in the blockchain system, and the transaction carries the first address identifier and the second address identifier. and application registration information;

为了便于区块链系统的共识节点对申请注册用户的申请注册信息进行认证,本说明书实施例中的已注册用户可以在区块链系统中生成已注册用户与申请注册用户之间的交易,该交易中携带的信息包括第一地址标识、第二地址标识以及申请注册信息,即表明已注册用户向申请注册用户发送了申请注册用户的申请注册信息。该交易产生之后,则会被区块链系统的共识节点校验其是否有效,若该交易有效,区块链系统的共识节点则可以将该交易上传到区块链中,被全节点存储并达成共识。In order to facilitate the consensus node of the blockchain system to authenticate the application registration information of the registered user, the registered user in the embodiment of this specification can generate a transaction between the registered user and the registered user in the blockchain system. The information carried in the transaction includes the first address identifier, the second address identifier and the registration application information, which means that the registered user has sent the registration application information of the registered user to the registered user. After the transaction is generated, it will be verified by the consensus node of the blockchain system to see if it is valid. If the transaction is valid, the consensus node of the blockchain system can upload the transaction to the blockchain, which will be stored and stored by all nodes. reach a consensus.

步骤130,区块链系统的共识节点在已注册用户的持有额度大于或等于交易的费用时,确定交易有效,并将交易上传至区块链中,以使得申请注册用户基于隐私数据的摘要获取区块链系统的注册账号。In step 130, the consensus node of the blockchain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and uploads the transaction to the blockchain, so that the user applying for registration can summarize the privacy-based data. Obtain the registered account of the blockchain system.

可选地,在一种实施方式中,为了避免区块链系统的已注册用户无限制地介绍新用户在区块链系统中注册账号,本说明书实施例可以对已注册用户的介绍资格进行限制,具体可以通过确定已注册用户的持有额度是否大于或等于交易的费用,来确定已注册用户是否具备介绍申请注册用户在区块链系统中注册账号。Optionally, in an implementation manner, in order to prevent registered users of the blockchain system from introducing new users to register accounts in the blockchain system without restrictions, the embodiments of this specification may limit the introduction qualifications of registered users. Specifically, it can be determined whether the registered user has the ability to introduce the registered user to register an account in the blockchain system by determining whether the holding amount of the registered user is greater than or equal to the transaction fee.

可选地,为了避免申请注册用户以前在区块链系统中注册过账号,而又重复注册的问题,即保证区块链系统中的用户的账号的唯一性,本说明书实施例中的区块链的共识节点在将交易上传到区块链中之前,可以确定区块链中是否已存在申请注册用户的隐私数据的摘要。那么,区块链系统的共识节点确定交易有效,并将交易上传至区块链中,包括:Optionally, in order to avoid the problem that the user applying for registration has previously registered an account in the blockchain system, but the registration is repeated, that is, to ensure the uniqueness of the user's account in the blockchain system, the block in the embodiment of this specification. Before uploading the transaction to the blockchain, the consensus node of the chain can determine whether a summary of the private data of the registered user already exists in the blockchain. Then, the consensus node of the blockchain system determines that the transaction is valid and uploads the transaction to the blockchain, including:

区块链系统的共识节点确定区块链系统中是否存在与隐私数据的摘要相匹配的信息;The consensus node of the blockchain system determines whether there is information in the blockchain system that matches the summary of the privacy data;

若区块链系统的共识节点确定区块链系统中不存在与隐私数据的摘要相匹配的信息,则确定交易有效,并将交易上传至区块链中。If the consensus node of the blockchain system determines that there is no information matching the summary of the privacy data in the blockchain system, the transaction is determined to be valid, and the transaction is uploaded to the blockchain.

如图2所示,为本说明书实施例提供的基于区块链的账号注册方法应用于实际场景中的流程示意图,在图2中,具体包括下述主要步骤:As shown in FIG. 2 , a schematic flowchart of the application of the blockchain-based account registration method provided in the embodiment of this specification to an actual scenario, in FIG. 2 , specifically includes the following main steps:

S21,区块链系统的申请注册用户可以通过现有的通信手段,比如短信、电话或者即时通信软件等通信方式将其申请注册信息发送给区块链系统的已注册用户;S21, the registered users of the blockchain system can send their application registration information to the registered users of the blockchain system through existing communication means, such as SMS, telephone or instant messaging software;

S22,区块链系统的已注册用户对申请注册用户的申请注册信息进行验证,具体可以通过VRF的验证方式来验证;S22, the registered user of the blockchain system verifies the application registration information of the registered user, which can be verified by the VRF verification method;

S23,若已注册用户对申请注册用户的申请注册信息验证不通过,则申请注册用户的注册失败;S23, if the registered user fails to verify the application registration information of the registered user, the registration of the registered user fails;

S24,如已注册用户对申请注册用户的申请注册信息验证通过,且确定已注册用户具备介绍资格,则可以生成已注册用户和申请注册用户之间的交易,该交易中携带已注册用户的第二地址标识、申请注册用户的第一地址标识以及申请注册用户的申请注册信息;S24, if the registered user passes the verification of the application registration information of the registered user, and it is determined that the registered user is qualified for introduction, a transaction between the registered user and the registered user can be generated, and the transaction carries the registered user's first The second address identification, the first address identification of the user applying for registration, and the application registration information of the user applying for registration;

S25,区块链系统的共识节点再次确定已注册用户是否具备介绍资格也就是持有额度是否大于或等于交易费用,即已有token是否大于0,若区块链系统的共识节点确定已注册用户具备介绍资格,则可以将该交易上传到区块链中以供全节点解析并存储,即基于申请注册用户的隐私数据的摘要为申请注册用户在区块链系统中注册一个唯一的账号。S25, the consensus node of the blockchain system again determines whether the registered user is qualified for introduction, that is, whether the holding amount is greater than or equal to the transaction fee, that is, whether the existing token is greater than 0, if the consensus node of the blockchain system determines that the registered user is If you are qualified for introduction, you can upload the transaction to the blockchain for full node analysis and storage, that is, based on the abstract of the private data of the registered user, a unique account is registered in the blockchain system for the registered user.

可选地,在申请注册用户在区块链系统中拥有了唯一的账号之后,申请注册用户可以通过区块链系统提供的预设接口查询账号相关的信息。Optionally, after the user applying for registration has a unique account in the blockchain system, the user applying for registration can query account-related information through a preset interface provided by the blockchain system.

在区块链系统的申请注册用户申请在区块链系统中注册账号时,区块链系统的已注册用户能够对区块链系统的申请注册用户的申请注册信息进行验证;其中,申请注册信息包括所述申请注册用户的隐私数据的摘要、申请注册用户申请在区块链上的第一地址标识,已注册用户在所述区块链上的地址标识为第二地址标识;若已注册用户对申请注册用户的申请注册信息验证通过,则在区块链系统中生成已注册用户与申请注册用户之间的交易,交易中携带第一地址标识、第二地址标识以及申请注册信息;区块链系统的共识节点在已注册用户的持有额度大于或等于交易的费用时,确定交易有效,并将交易上传至区块链中,以使得申请注册用户基于隐私数据的摘要获取区块链系统的注册账号。利用区块链系统的去中心化以及信息不可篡改的特征,提高了用户隐私数据和账号的安全级别。When an application registration user of the blockchain system applies for registering an account in the blockchain system, the registered user of the blockchain system can verify the application registration information of the application registration user of the blockchain system; among them, the application registration information It includes the abstract of the privacy data of the user applying for registration, the first address identifier applied by the user applying for registration on the blockchain, and the address identifier of the registered user on the blockchain is the second address identifier; If the application registration information of the user applying for registration is verified, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identification, the second address identification and the application registration information; block The consensus node of the chain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and uploads the transaction to the blockchain, so that the user applying for registration can obtain the blockchain system based on the abstract of the privacy data. registered account. Using the decentralization of the blockchain system and the immutability of information, the security level of user privacy data and accounts is improved.

图3是本说明书实施例提供的基于区块链的账号注册方法应用于区块链系统的已注册用户的实现流程示意图,包括:3 is a schematic diagram of the implementation flow of the blockchain-based account registration method provided by the embodiment of this specification applied to a registered user of a blockchain system, including:

步骤310,对区块链系统的申请注册用户的申请注册信息进行验证;其中,申请注册信息包括申请注册用户的隐私数据的摘要、申请注册用户申请在区块链上的第一地址标识,已注册用户在所述区块链上的地址标识为第二地址标识;Step 310 , verify the application registration information of the user applying for registration in the blockchain system; wherein, the registration application information includes an abstract of the privacy data of the user applying for registration, the first address identifier applied for by the user applying for registration on the blockchain, which has been The address identifier of the registered user on the blockchain is the second address identifier;

可选地,在一种实施方式中,上述申请注册信息还包括下述至少一种:Optionally, in an embodiment, the above application registration information further includes at least one of the following:

申请注册用户的公钥,申请注册用户的公钥为基于申请注册用户的私钥生成的,申请注册用户的私钥为从区块链系统中获取的;The public key of the registered user, the public key of the registered user is generated based on the private key of the registered user, and the private key of the registered user is obtained from the blockchain system;

基于申请注册用户的隐私数据的摘要和申请注册用户的私钥生成的第一验证信息;The first verification information generated based on the abstract of the private data of the registered user and the private key of the registered user;

基于申请注册用户的隐私数据的摘要和申请注册用户的私钥生成的第二验证信息。The second verification information is generated based on the abstract of the private data of the user applying for registration and the private key of the user applying for registration.

可选地,在一种实施方式中,对区块链系统的申请注册用户的申请注册信息进行验证,包括:Optionally, in one embodiment, verifying the application registration information of the user who applies for registration of the blockchain system includes:

基于第二验证信息验证第一验证信息的合法性;verifying the legitimacy of the first verification information based on the second verification information;

若第一验证信息合法,则基于申请注册用户的公钥和申请注册用户的隐私数据的摘要,验证第二验证信息的合法性。If the first verification information is legal, the legality of the second verification information is verified based on the public key of the registered user and the digest of the private data of the registered user.

步骤320,若对申请注册用户的申请注册信息验证通过,则在区块链系统中生成已注册用户与申请注册用户之间的交易,该交易中携带第一地址标识、第二地址标识以及申请注册信息,以便区块链系统的共识节点在已注册用户的持有额度大于或等于所述交易的费用时,确定交易有效,并将交易上传至区块链中,以使得申请注册用户基于隐私数据的摘要获取区块链系统的注册账号。Step 320: If the verification of the application registration information of the registered user is passed, a transaction between the registered user and the registered user is generated in the blockchain system, and the transaction carries the first address identification, the second address identification and the application for registration. Registration information, so that the consensus node of the blockchain system can determine that the transaction is valid when the holding amount of the registered user is greater than or equal to the fee of the transaction, and upload the transaction to the blockchain, so that the user who applies for registration is based on privacy The summary of the data obtains the registered account of the blockchain system.

图3所示实施例相关步骤的具体实现可参考图1~图2所示实施例中对应的步骤的具体实现,本说明书一个或多个实施例在此不再赘述。For the specific implementation of the relevant steps in the embodiment shown in FIG. 3, reference may be made to the specific implementation of the corresponding steps in the embodiment shown in FIG. 1 to FIG. 2, and one or more embodiments of this specification will not be repeated here.

在区块链系统的申请注册用户申请在区块链系统中注册账号时,区块链系统的已注册用户能够对区块链系统的申请注册用户的申请注册信息进行验证;其中,申请注册信息包括所述申请注册用户的隐私数据的摘要、申请注册用户申请在区块链上的第一地址标识,已注册用户在所述区块链上的地址标识为第二地址标识;若已注册用户对申请注册用户的申请注册信息验证通过,则在区块链系统中生成已注册用户与申请注册用户之间的交易,交易中携带第一地址标识、第二地址标识以及申请注册信息;区块链系统的共识节点在已注册用户的持有额度大于或等于交易的费用时,确定交易有效,并将交易上传至区块链中,以使得申请注册用户基于隐私数据的摘要获取区块链系统的注册账号。利用区块链系统的去中心化以及信息不可篡改的特征,提高了用户隐私数据和账号的安全级别。When an application registration user of the blockchain system applies for registering an account in the blockchain system, the registered user of the blockchain system can verify the application registration information of the application registration user of the blockchain system; among them, the application registration information It includes the abstract of the privacy data of the user applying for registration, the first address identifier applied by the user applying for registration on the blockchain, and the address identifier of the registered user on the blockchain is the second address identifier; If the application registration information of the user applying for registration is verified, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identification, the second address identification and the application registration information; block The consensus node of the chain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and uploads the transaction to the blockchain, so that the user applying for registration can obtain the blockchain system based on the abstract of the privacy data. registered account. Using the decentralization of the blockchain system and the immutability of information, the security level of user privacy data and accounts is improved.

图4是本说明书实施例提供的基于区块链的账号注册方法应用于区块链系统中的共识节点的实现流程示意图,包括:4 is a schematic diagram of the implementation process of the blockchain-based account registration method provided in the embodiment of this specification applied to a consensus node in a blockchain system, including:

步骤410,在区块链系统的已注册用户的持有额度大于或等于已注册用户和申请注册用户之间的交易的费用时,确定交易有效,并将交易上传至区块链中,以使得区块链系统的申请注册用户基于隐私数据的摘要获取区块链系统的注册账号;Step 410, when the holding amount of the registered user of the blockchain system is greater than or equal to the transaction fee between the registered user and the registered user, determine that the transaction is valid, and upload the transaction to the blockchain, so that the transaction is valid. The application and registration user of the blockchain system obtains the registered account of the blockchain system based on the abstract of the privacy data;

其中,该交易中携带第一地址标识、第二地址标识以及申请注册用户的申请注册信息,交易为已注册用户对申请注册用户的申请注册信息验证通过时,在区块链系统中生成的,申请注册信息包括申请注册用户的隐私数据的摘要、申请注册用户申请在区块链上的第一地址标识,已注册用户在区块链上的地址标识为第二地址标识。Among them, the transaction carries the first address identification, the second address identification and the application registration information of the user applying for registration, and the transaction is generated in the blockchain system when the registered user passes the verification of the application registration information of the user applying for registration, The application registration information includes an abstract of the private data of the user applying for registration, the first address identifier applied for by the user applying for registration on the blockchain, and the address identifier of the registered user on the blockchain is the second address identifier.

可选地,在一种实施方式中,区块链系统的共识节点确定交易有效,并将交易上传至区块链中,包括:Optionally, in one embodiment, the consensus node of the blockchain system determines that the transaction is valid, and uploads the transaction to the blockchain, including:

区块链系统的共识节点确定区块链系统中是否存在与隐私数据的摘要相匹配的信息;The consensus node of the blockchain system determines whether there is information in the blockchain system that matches the summary of the privacy data;

若区块链系统的共识节点确定区块链系统中不存在与隐私数据的摘要相匹配的信息,则确定交易有效,并将交易上传至区块链中。If the consensus node of the blockchain system determines that there is no information matching the summary of the privacy data in the blockchain system, the transaction is determined to be valid, and the transaction is uploaded to the blockchain.

图4所示实施例相关步骤的具体实现可参考图1~图2所示实施例中对应的步骤的具体实现,本说明书一个或多个实施例在此不再赘述。For the specific implementation of the relevant steps in the embodiment shown in FIG. 4 , reference may be made to the specific implementation of the corresponding steps in the embodiment shown in FIG. 1 to FIG. 2 , and details of one or more embodiments of this specification are not repeated here.

在区块链系统的申请注册用户申请在区块链系统中注册账号时,区块链系统的已注册用户能够对区块链系统的申请注册用户的申请注册信息进行验证;其中,申请注册信息包括所述申请注册用户的隐私数据的摘要、申请注册用户申请在区块链上的第一地址标识,已注册用户在所述区块链上的地址标识为第二地址标识;若已注册用户对申请注册用户的申请注册信息验证通过,则在区块链系统中生成已注册用户与申请注册用户之间的交易,交易中携带第一地址标识、第二地址标识以及申请注册信息;区块链系统的共识节点在已注册用户的持有额度大于或等于交易的费用时,确定交易有效,并将交易上传至区块链中,以使得申请注册用户基于隐私数据的摘要获取区块链系统的注册账号。利用区块链系统的去中心化以及信息不可篡改的特征,提高了用户隐私数据和账号的安全级别。When an application registration user of the blockchain system applies for registering an account in the blockchain system, the registered user of the blockchain system can verify the application registration information of the application registration user of the blockchain system; among them, the application registration information It includes the abstract of the privacy data of the user applying for registration, the first address identifier applied by the user applying for registration on the blockchain, and the address identifier of the registered user on the blockchain is the second address identifier; If the application registration information of the user applying for registration is verified, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identification, the second address identification and the application registration information; block The consensus node of the chain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and uploads the transaction to the blockchain, so that the user applying for registration can obtain the blockchain system based on the abstract of the privacy data. registered account. Using the decentralization of the blockchain system and the immutability of information, the security level of user privacy data and accounts is improved.

图5是本说明书提供的区块链系统的已注册用户装置500的结构示意图。请参考图5,在一种软件实施方式中,区块链系统的已注册用户装置500可包括验证单元501和生成单元502,其中:FIG. 5 is a schematic structural diagram of a registered user device 500 of the blockchain system provided in this specification. Referring to FIG. 5, in a software implementation, the registered user device 500 of the blockchain system may include a verification unit 501 and a generation unit 502, wherein:

验证单元501,用于对所述区块链系统的申请注册用户的申请注册信息进行验证;其中,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识;The verification unit 501 is used to verify the application registration information of the application registration user of the blockchain system; wherein the application registration information includes the abstract of the privacy data of the application registration user, the application registration application of the registration application user in the The first address identifier on the blockchain, the address identifier of the registered user on the blockchain is the second address identifier;

生成单元502,用于若对所述申请注册用户的申请注册信息验证通过,则在所述区块链系统中生成所述已注册用户与申请注册用户之间的交易,所述交易中携带所述第一地址标识、所述第二地址标识以及所述申请注册信息,以便所述区块链系统的共识节点在所述已注册用户的持有额度大于或等于所述交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号。The generating unit 502 is configured to generate, in the blockchain system, a transaction between the registered user and the user applying for registration if the application registration information of the user applying for registration passes the verification, and the transaction carries all the information. The first address identification, the second address identification and the application registration information, so that the consensus node of the blockchain system can determine when the registered user's holding amount is greater than or equal to the transaction fee. The transaction is valid, and the transaction is uploaded to the blockchain, so that the registered user obtains the registered account of the blockchain system based on the abstract of the privacy data.

可选地,在一种实施方式中,所述申请注册信息还包括下述至少一种:Optionally, in an embodiment, the application registration information further includes at least one of the following:

所述申请注册用户的公钥,所述申请注册用户的公钥为基于所述申请注册用户的私钥生成的,所述申请注册用户的私钥为从所述区块链系统中获取的;The public key of the user applying for registration, the public key of the user applying for registration is generated based on the private key of the user applying for registration, and the private key of the user applying for registration is obtained from the blockchain system;

基于所述申请注册用户的隐私数据的摘要和所述申请注册用户的私钥生成的第一验证信息;The first verification information generated based on the abstract of the private data of the registered user and the private key of the registered user;

基于所述申请注册用户的隐私数据的摘要和所述申请注册用户的私钥生成的第二验证信息。The second verification information is generated based on the abstract of the privacy data of the user applying for registration and the private key of the user applying for registration.

可选地,在一种实施方式中,所述验证单元501,用于:Optionally, in one embodiment, the verification unit 501 is configured to:

基于所述第二验证信息验证所述第一验证信息的合法性;Verifying the legitimacy of the first verification information based on the second verification information;

若所述第一验证信息合法,则基于所述申请注册用户的公钥和所述申请注册用户的隐私数据的摘要,验证所述第二验证信息的合法性。If the first verification information is legal, the legality of the second verification information is verified based on the public key of the user applying for registration and the digest of the privacy data of the user applying for registration.

区块链系统的已注册用户装置500能够实现图1~图3的方法实施例的方法,具体可参考图1~图3所示实施例的基于区块链的账号注册方法,不再赘述。The registered user device 500 of the blockchain system can implement the methods of the method embodiments shown in FIGS. 1 to 3 . For details, refer to the blockchain-based account registration methods of the embodiments shown in FIGS. 1 to 3 , which will not be repeated.

图6是本说明书提供的区块链系统中的共识节点600的结构示意图。请参考图6,在一种软件实施方式中,区块链系统中的共识节点600可包括确定单元601,其中:FIG. 6 is a schematic structural diagram of a consensus node 600 in the blockchain system provided in this specification. Referring to FIG. 6, in a software implementation, the consensus node 600 in the blockchain system may include a determination unit 601, wherein:

确定单元,用于在区块链系统的已注册用户的持有额度大于或等于所述已注册用户和申请注册用户之间的交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述区块链系统的申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号;A determination unit, configured to determine that the transaction is valid when the holding amount of the registered user of the blockchain system is greater than or equal to the transaction fee between the registered user and the user applying for registration, and upload the transaction into the blockchain, so that the registered user of the blockchain system obtains the registered account of the blockchain system based on the abstract of the privacy data;

其中,所述交易中携带第一地址标识、第二地址标识以及所述申请注册用户的申请注册信息,所述交易为所述已注册用户对所述申请注册用户的申请注册信息验证通过时,在所述区块链系统中生成的,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识。Wherein, the transaction carries the first address identifier, the second address identifier, and the application registration information of the user applying for registration, and the transaction is when the registered user passes the verification of the application registration information of the user applying for registration, Generated in the blockchain system, the registration application information includes an abstract of the privacy data of the user applying for registration, the first address identifier on the blockchain that the user applying for registration applies for, and the registered user The address identification on the blockchain is the second address identification.

可选地,在一种实施方式中,所述确定单元601,用于:Optionally, in an implementation manner, the determining unit 601 is configured to:

确定所述区块链系统中是否存在与所述隐私数据的摘要相匹配的信息;determining whether there is information in the blockchain system that matches the digest of the privacy data;

若确定所述区块链系统中不存在与所述隐私数据的摘要相匹配的信息,则确定所述交易有效,并将所述交易上传至区块链中。If it is determined that there is no information matching the abstract of the privacy data in the blockchain system, it is determined that the transaction is valid, and the transaction is uploaded to the blockchain.

区块链系统的共识节点600能够实现图4的方法实施例的方法,具体可参考图4所示实施例的基于区块链的账号注册方法,不再赘述。The consensus node 600 of the blockchain system can implement the method of the method embodiment shown in FIG. 4 . For details, refer to the blockchain-based account registration method of the embodiment shown in FIG. 4 , which will not be repeated.

图7是本说明书的一个实施例提供的电子设备的结构示意图。请参考图7,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present specification. Referring to FIG. 7 , at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic equipment may also include hardware required for other services.

处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(PeripheralComponent Interconnect,外设部件互连标准)总线或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The processor, the network interface, and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard) bus. StandardArchitecture, extended industry standard structure) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one bidirectional arrow is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.

存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。memory for storing programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory and provide instructions and data to the processor.

处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成区块链系统的已注册用户装置。处理器,执行存储器所存放的程序,并具体用于执行以下操作:The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a registered user device of the blockchain system at the logical level. The processor executes the program stored in the memory, and is specifically used to perform the following operations:

对所述区块链系统的申请注册用户的申请注册信息进行验证;其中,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识;Verify the application registration information of the application registration user of the blockchain system; wherein the application registration information includes an abstract of the privacy data of the application registration user, the first registration application on the blockchain of the application registration user. an address identifier, the address identifier of the registered user on the blockchain is the second address identifier;

若对所述申请注册用户的申请注册信息验证通过,则在所述区块链系统中生成所述已注册用户与申请注册用户之间的交易,所述交易中携带所述第一地址标识、所述第二地址标识以及所述申请注册信息,以便所述区块链系统的共识节点在所述已注册用户的持有额度大于或等于所述交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号。If the verification of the application registration information of the user applying for registration is passed, a transaction between the registered user and the user applying for registration is generated in the blockchain system, and the transaction carries the first address identifier, The second address identifier and the application registration information, so that the consensus node of the blockchain system determines that the transaction is valid when the holding amount of the registered user is greater than or equal to the transaction fee, and The transaction is uploaded to the blockchain, so that the registered user obtains the registered account of the blockchain system based on the summary of the privacy data.

上述如本说明书图1~图3所示实施例揭示的基于区块链的账号注册方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central ProcessingUnit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本说明书一个或多个实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本说明书一个或多个实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The blockchain-based account registration method disclosed in the embodiments shown in FIG. 1 to FIG. 3 in this specification can be applied to the processor, or implemented by the processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit ( Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with one or more embodiments of this specification may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.

该电子设备还可执行图1~图2的基于区块链的账号注册方法,本说明书在此不再赘述。The electronic device may also execute the blockchain-based account registration method shown in FIG. 1 to FIG. 2 , which will not be repeated in this specification.

当然,除了软件实现方式之外,本说明书的电子设备并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。Of course, in addition to software implementations, the electronic devices in this specification do not exclude other implementations, such as logic devices or the combination of software and hardware, etc. That is to say, the execution subjects of the following processing procedures are not limited to each logic unit. It can also be a hardware or logic device.

图8是本说明书的一个实施例提供的电子设备的结构示意图。请参考图8,在硬件层面,该电子设备包括处理器,可选地还包括内部总线、网络接口、存储器。其中,存储器可能包含内存,例如高速随机存取存储器(Random-Access Memory,RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少1个磁盘存储器等。当然,该电子设备还可能包括其他业务所需要的硬件。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present specification. Referring to FIG. 8 , at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random-access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory. Of course, the electronic equipment may also include hardware required for other services.

处理器、网络接口和存储器可以通过内部总线相互连接,该内部总线可以是ISA(Industry Standard Architecture,工业标准体系结构)总线、PCI(PeripheralComponent Interconnect,外设部件互连标准)总线或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。The processor, the network interface, and the memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture, industry standard architecture) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard) bus. StandardArchitecture, extended industry standard structure) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one bidirectional arrow is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.

存储器,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器可以包括内存和非易失性存储器,并向处理器提供指令和数据。memory for storing programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory and provide instructions and data to the processor.

处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成区块链系统的共识节点。处理器,执行存储器所存放的程序,并具体用于执行以下操作:The processor reads the corresponding computer program from the non-volatile memory into the memory and runs it, forming the consensus node of the blockchain system at the logical level. The processor executes the program stored in the memory, and is specifically used to perform the following operations:

在区块链系统的已注册用户的持有额度大于或等于所述已注册用户和申请注册用户之间的交易的费用时,确定所述交易有效,并将所述交易上传至区块链中,以使得所述区块链系统的申请注册用户基于所述隐私数据的摘要获取所述区块链系统的注册账号;When the holding amount of the registered user of the blockchain system is greater than or equal to the transaction fee between the registered user and the user applying for registration, determine that the transaction is valid, and upload the transaction to the blockchain , so that the registered user of the blockchain system obtains the registered account of the blockchain system based on the abstract of the privacy data;

其中,所述交易中携带第一地址标识、第二地址标识以及所述申请注册用户的申请注册信息,所述交易为所述已注册用户对所述申请注册用户的申请注册信息验证通过时,在所述区块链系统中生成的,所述申请注册信息包括所述申请注册用户的隐私数据的摘要、所述申请注册用户申请在区块链上的第一地址标识,所述已注册用户在所述区块链上的地址标识为第二地址标识。Wherein, the transaction carries the first address identifier, the second address identifier, and the application registration information of the user applying for registration, and the transaction is when the registered user passes the verification of the application registration information of the user applying for registration, Generated in the blockchain system, the registration application information includes an abstract of the privacy data of the user applying for registration, the first address identifier on the blockchain that the user applying for registration applies for, and the registered user The address identification on the blockchain is the second address identification.

上述如本说明书图3所示实施例揭示的基于区块链的广告监播方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本说明书一个或多个实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本说明书一个或多个实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The blockchain-based advertising monitoring method disclosed in the embodiment shown in FIG. 3 of this specification can be applied to a processor, or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in one or more embodiments of this specification can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with one or more embodiments of this specification may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.

该电子设备还可执行图4的基于区块链的账号注册方法,本说明书在此不再赘述。The electronic device can also execute the blockchain-based account registration method shown in FIG. 4 , which will not be repeated in this specification.

当然,除了软件实现方式之外,本说明书的电子设备并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。Of course, in addition to software implementations, the electronic devices in this specification do not exclude other implementations, such as logic devices or the combination of software and hardware, etc. That is to say, the execution subjects of the following processing procedures are not limited to each logic unit. It can also be a hardware or logic device.

总之,以上所述仅为本说明书的较佳实施例而已,并非用于限定本说明书的保护范围。凡在本说明书一个或多个实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例的保护范围之内。In a word, the above descriptions are only preferred embodiments of the present specification, and are not intended to limit the protection scope of the present specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included within the protection scope of one or more embodiments of this specification.

上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitorymedia),如调制的数据信号和载波。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.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification 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, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.

Claims (10)

1. a kind of account register method based on block chain characterized by comprising
The registered users of block catenary system test the application for registration information of the application for registration user of the block catenary system Card;Wherein, the application for registration information includes the abstract of the private data of the application for registration user, the application for registration user Apply for the first address mark on block chain, address of the registered users on the block chain is identified as the second address Mark;
If the registered users pass through the application for registration Information Authentication of the application for registration user, in the block linkwork The transaction between the registered users and application for registration user is generated in system, and first address label is carried in the transaction Know, second address identifies and the application for registration information;
The expense holding amount be greater than or equal to the transaction of the common recognition node of the block catenary system in the registered users Used time determines the transaction effectively, and the transaction is uploaded in block chain, so that the application for registration user is based on institute The abstract for stating private data obtains the register account number of the block catenary system.
2. the method as described in claim 1, which is characterized in that the application for registration information further includes following at least one:
The public key of the application for registration user, the public key of the application for registration user are the private key based on the application for registration user It generates, the private key of the application for registration user is obtained from the block catenary system;
The first of the private key generation of the abstract and application for registration user of private data based on the application for registration user is tested Demonstrate,prove information;
The second of the private key generation of the abstract and application for registration user of private data based on the application for registration user is tested Demonstrate,prove information.
3. method according to claim 2, which is characterized in that infused to the application of the application for registration user of the block catenary system Volume information is verified, comprising:
The legitimacy of first verification information is verified based on second verification information;
If first verification information is legal, public key and the application for registration user based on the application for registration user it is hidden The abstract of private data verifies the legitimacy of second verification information.
4. the method as described in claim 1, which is characterized in that the common recognition node of the block catenary system determines that the transaction has Effect, and the transaction is uploaded in block chain, comprising:
The common recognition node of the block catenary system determines in the block catenary system with the presence or absence of the abstract with the private data The information to match;
If the common recognition node of the block catenary system determines that there is no the abstracts with the private data in the block catenary system The information to match, it is determined that the transaction effectively, and the transaction is uploaded in block chain.
5. a kind of account register method based on block chain, which is characterized in that the method is applied to the note of block catenary system Volume user apparatus, comprising:
The application for registration information of the application for registration user of the block catenary system is verified;Wherein, the application for registration letter Breath includes the first ground of the abstract of the private data of the application for registration user, application for registration user application on block chain Location mark, address of the registered users on the block chain are identified as the second address mark;
If passing through to the application for registration Information Authentication of the application for registration user, generation is described in the block catenary system The transaction between user and application for registration user is registered, the first address mark, second address are carried in the transaction Mark and the application for registration information, so as to the block catenary system common recognition node the registered users retained amount When degree is greater than or equal to the expense of the transaction, the transaction is determined effectively, and the transaction is uploaded in block chain, so that Obtain the register account number that the application for registration user obtains the block catenary system based on the abstract of the private data.
6. a kind of account register method based on block chain, which is characterized in that the method is applied to the common recognition of block catenary system Node, comprising:
It is greater than or equal to the registered users and application for registration user in the amount of holding of the registered users of block catenary system Between transaction expense when, determine it is described transaction effectively, and by it is described transaction be uploaded in block chain so that the block The application for registration user of catenary system obtains the register account number of the block catenary system based on the abstract of the private data;
Wherein, the application note of the first address mark, the second address mark and the application for registration user is carried in the transaction Volume information, when the transaction is that the registered users pass through the application for registration Information Authentication of the application for registration user, Generated in the block catenary system, the application for registration information include the private data of the application for registration user abstract, First address mark of the application for registration user application on block chain, ground of the registered users on the block chain Location is identified as the second address mark.
7. a kind of registered users device of block catenary system characterized by comprising
Authentication unit, the application for registration information for the application for registration user to the block catenary system are verified;Wherein, institute State the abstract for the private data that application for registration information includes the application for registration user, the application for registration user applies in block The first address mark on chain, address of the registered users on the block chain are identified as the second address mark;
Generation unit, if the application for registration Information Authentication for the application for registration user passes through, in the block linkwork The transaction between the registered users and application for registration user is generated in system, and first address label is carried in the transaction Know, second address mark and the application for registration information, so as to the block catenary system common recognition node it is described When holding expense of the amount more than or equal to the transaction of registration user, determines the transaction effectively, and will be in the transaction It reaches in block chain, so that the application for registration user obtains the block catenary system based on the abstract of the private data Register account number.
8. a kind of common recognition node of block catenary system characterized by comprising
Determination unit, for the registered users in block catenary system hold amount more than or equal to the registered users and When the expense of the transaction between application for registration user, the transaction is determined effectively, and the transaction is uploaded in block chain, with So that the application for registration user of the block catenary system obtains the note of the block catenary system based on the abstract of the private data Volume account;
Wherein, the application note of the first address mark, the second address mark and the application for registration user is carried in the transaction Volume information, when the transaction is that the registered users pass through the application for registration Information Authentication of the application for registration user, Generated in the block catenary system, the application for registration information include the private data of the application for registration user abstract, First address mark of the application for registration user application on block chain, ground of the registered users on the block chain Location is identified as the second address mark.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processor when executed Execute following operation:
The application for registration information of the application for registration user of the block catenary system is verified;Wherein, the application for registration letter Breath includes the first ground of the abstract of the private data of the application for registration user, application for registration user application on block chain Location mark, address of the registered users on the block chain are identified as the second address mark;
If passing through to the application for registration Information Authentication of the application for registration user, generation is described in the block catenary system The transaction between user and application for registration user is registered, the first address mark, second address are carried in the transaction Mark and the application for registration information, so as to the block catenary system common recognition node the registered users retained amount When degree is greater than or equal to the expense of the transaction, the transaction is determined effectively, and the transaction is uploaded in block chain, so that Obtain the register account number that the application for registration user obtains the block catenary system based on the abstract of the private data.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage is one or more Program, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electronic equipment Execute following operation:
The application for registration information of the application for registration user of the block catenary system is verified;Wherein, the application for registration letter Breath includes the first ground of the abstract of the private data of the application for registration user, application for registration user application on block chain Location mark, address of the registered users on the block chain are identified as the second address mark;
If passing through to the application for registration Information Authentication of the application for registration user, generation is described in the block catenary system The transaction between user and application for registration user is registered, the first address mark, second address are carried in the transaction Mark and the application for registration information, so as to the block catenary system common recognition node the registered users retained amount When degree is greater than or equal to the expense of the transaction, the transaction is determined effectively, and the transaction is uploaded in block chain, so that Obtain the register account number that the application for registration user obtains the block catenary system based on the abstract of the private data.
CN201910257925.7A 2019-04-01 2019-04-01 A blockchain-based account registration method, device and electronic device Pending CN110009353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910257925.7A CN110009353A (en) 2019-04-01 2019-04-01 A blockchain-based account registration method, device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910257925.7A CN110009353A (en) 2019-04-01 2019-04-01 A blockchain-based account registration method, device and electronic device

Publications (1)

Publication Number Publication Date
CN110009353A true CN110009353A (en) 2019-07-12

Family

ID=67169260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910257925.7A Pending CN110009353A (en) 2019-04-01 2019-04-01 A blockchain-based account registration method, device and electronic device

Country Status (1)

Country Link
CN (1) CN110009353A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126987A (en) * 2019-12-02 2020-05-08 腾讯科技(深圳)有限公司 Resource transfer information processing method and device, storage medium and electronic device
CN111478908A (en) * 2020-04-09 2020-07-31 杭州溪塔科技有限公司 Method and device for establishing communication between users in P2P network and electronic equipment
CN115701068A (en) * 2021-07-15 2023-02-07 美的集团股份有限公司 Block chain registration method and device for household appliance
CN116233130A (en) * 2023-02-22 2023-06-06 网易(杭州)网络有限公司 Block chain-based registration method, device, electronic equipment and readable storage medium
CN118713861A (en) * 2024-05-30 2024-09-27 中国银行股份有限公司 Information processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9600808B1 (en) * 2011-06-24 2017-03-21 Epic One Texas, Llc Secure payment card, method and system
CN107018125A (en) * 2017-02-17 2017-08-04 阿里巴巴集团控股有限公司 A kind of block catenary system, date storage method and device
CN107392040A (en) * 2017-04-28 2017-11-24 阿里巴巴集团控股有限公司 A kind of method and device for checking of knowing together
CN107423333A (en) * 2017-04-21 2017-12-01 博大莱哲科技(北京)有限公司 A kind of real name identification method and device
CN109104419A (en) * 2018-07-27 2018-12-28 中链科技有限公司 A kind of generation method and system of block chain account

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9600808B1 (en) * 2011-06-24 2017-03-21 Epic One Texas, Llc Secure payment card, method and system
CN107018125A (en) * 2017-02-17 2017-08-04 阿里巴巴集团控股有限公司 A kind of block catenary system, date storage method and device
CN107423333A (en) * 2017-04-21 2017-12-01 博大莱哲科技(北京)有限公司 A kind of real name identification method and device
CN107392040A (en) * 2017-04-28 2017-11-24 阿里巴巴集团控股有限公司 A kind of method and device for checking of knowing together
CN109104419A (en) * 2018-07-27 2018-12-28 中链科技有限公司 A kind of generation method and system of block chain account

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WEIXIN_30332241: "VRF在区块链中的应用", 《HTTPS://BLOG.CSDN.NET/WEIXIN_30332241/ARTICLE/DETAILS/97667709》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126987A (en) * 2019-12-02 2020-05-08 腾讯科技(深圳)有限公司 Resource transfer information processing method and device, storage medium and electronic device
CN111478908A (en) * 2020-04-09 2020-07-31 杭州溪塔科技有限公司 Method and device for establishing communication between users in P2P network and electronic equipment
CN111478908B (en) * 2020-04-09 2022-05-03 杭州溪塔科技有限公司 Method and device for establishing communication between users in P2P network and electronic equipment
CN115701068A (en) * 2021-07-15 2023-02-07 美的集团股份有限公司 Block chain registration method and device for household appliance
CN116233130A (en) * 2023-02-22 2023-06-06 网易(杭州)网络有限公司 Block chain-based registration method, device, electronic equipment and readable storage medium
CN118713861A (en) * 2024-05-30 2024-09-27 中国银行股份有限公司 Information processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110009353A (en) A blockchain-based account registration method, device and electronic device
TWI713840B (en) Digital certificate management method, device and electronic equipment
US11138345B2 (en) Method, apparatus, and electronic device for blockchain-based infringement evidence storage
WO2020215827A1 (en) Block chain-based advertisement playback monitoring method and apparatus, and electronic device
CN111724150A (en) A service request processing method and device
CN111092724B (en) Block chain system digital certificate issuing method, equipment, system and medium
TWI737118B (en) Method, device and electronic equipment for reconciliation based on alliance chain
CN110035052B (en) Method and device for checking historical transaction information and electronic equipment
WO2019100864A1 (en) Data processing method and apparatus
CN110246039B (en) Transaction monitoring method, device and electronic device based on alliance chain
US11290256B2 (en) Blockchain-based advertisement monitoring method and apparatus, and electronic device
JP2019510314A (en) Message counterfeit prevention implementation method and device
WO2019052411A1 (en) A binding method, device and system for smart apparatus, and telecommunications system
WO2020108105A1 (en) Method and apparatus for recording and querying bill installment event, and electronic device
CN108769054A (en) A kind of block chain transaction verification method and device based on equivalent test promise
CN110830256A (en) File signature method and device, electronic equipment and readable storage medium
CN113901424A (en) Method and device for selective disclosure of digital identity attributes
CN111476652A (en) Data processing method and device based on block chain, terminal and storage medium
CN110826091A (en) A file signature method, device, electronic device and readable storage medium
CN110830257A (en) A file signature method, device, electronic device and readable storage medium
CN107612877A (en) Verify the methods, devices and systems of multimedia file legitimacy
CN110008747A (en) A method, device and electronic device for protecting privacy data based on blockchain
CN105227532B (en) A kind of blocking-up method and device of malicious act
CN118734271A (en) Model infringement detection method, device and electronic equipment
CN110019490A (en) Blockchain-based information query method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
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: 20190712

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载