The content of the invention
It is an object of the invention to provide a kind of method and system for recovering block chain assets, solve in the prior art oncePrivate key lose so that lose property the problem of, the present invention can when private key is lost by assets transfer corresponding to the private key to newlyIn block chain account, assets corresponding to the private key are recovered.
To solve the above problems, the first aspect of the present invention provides a kind of method for recovering block chain assets, this methodIncluding:
Step S110, ask and authenticate to report the loss when block chain management node receives reporting the loss for the former account of client transmissionWhen claimant is the legal owner of former account, the account creation request for creating New Account is sent to client;
Step S120, created when block chain management node receives client based on the New Account that account creation request returnsDuring success message, the checking request of former Account Closure and New Account bindings is sent to block chain checking node;
Step S130, when block chain checking node receives the checking request, verify the former Account Closure and newThe legitimacy of account bindings;
Step S140, if checking is legal, New Account is write former block chain node by block chain management node, so as to former accountFamily is failed, and New Account comes into force, and returning to New Account to client comes into force information;
Step S150, client receive the New Account come into force information when, the intelligent contract of generation is signed, toIntelligent contract after block chain network broadcasting multisignatures, wherein, the intelligent contract includes guarantee information content;
Step S160, when block chain checking node receives the guarantee information of respective numbers, verify intelligence after the signatureThe legitimacy of energy contract;
Step S170, if intelligent contract is legal after the signature, legal block chain node turns the assets in former accountMove to New Account.
Further, before block chain management node sends the account creation request for creating New Account to client, alsoIncluding:
Step S10, client report the loss request to the former account of block chain management node transmission;
Step S20, what block chain management node received former account reports the loss request, according to report the loss the certificate information of claimant withBiological information with verify report the loss claimant whether be former account legal owner;
Step S30, if so, block chain management node sends the account creation request for creating New Account to client.
Further, former Account Closure and New Account binding behaviour are sent to block chain checking node in block chain management nodeBefore the checking request of work, in addition to:
Step S40, when client receives the account creation request of New Account, create New Account, when New Account create intoDuring work(, send New Account to block chain management node and create success message;
Step S50, when block chain management node receives New Account establishment success message, sent to block chain checking nodeFormer Account Closure and the checking request of New Account bindings.
Further, the certificate information includes:At least one of identity card, passport, driver's license, the biological informationIncluding:At least one of face, fingerprint, iris.
Further, verifying the content of the legitimacy of intelligent contract after the signature includes:
Whether the legitimacy of former account, legitimacy, the remaining sum of former account, the remaining sum of former account of transaction of former account are enoughThe expense of payment guarantee people and block chain checking node, guarantor assure the conjunction of the legitimacy, the quantity of guarantor of operationMethod, the legitimacy of New Account, block chain management node nullify the legitimacy of former account and binding New Account operation, client hairAt least one of legitimacy of assets transfer risen.
A kind of system for recovering block chain assets is provided according to another aspect of the present invention, including:Client, blockChain management node, block chain checking node and legal block chain node;
The block chain management node, the reporting the loss for former account for receiving client transmission when block chain management node pleaseWhen asking and authenticating to that to report the loss claimant be the legal owner of former account, sent to client create the account creation of New Account pleaseAsk;
It is additionally operable to when receiving the New Account establishment success message that client is returned based on the account creation request, toBlock chain checking node sends the checking request for wrapping former Account Closure and New Account bindings;
The block chain verifies node, for when receiving the checking request, verifying the former Account Closure and newThe legitimacy of account bindings;
If it is legal that the block chain management node is additionally operable to checking, New Account is write into former block chain node, so as to formerAccount fails, and New Account comes into force, and returning to New Account to client comes into force information;
The client, be additionally operable to receive the New Account come into force information when, the intelligent contract of generation is signed,Intelligent contract after to block chain network broadcasting multisignatures, wherein, the intelligent contract includes guarantee information content;
The block chain verifies node, is additionally operable to when receiving the guarantee information of respective numbers, after verifying the signatureThe legitimacy of intelligent contract;
The legal block chain node, if being additionally operable to, intelligent contract after the signature is legal, and legal block chain node willAssets transfer in former account is to New Account.
Further, the block chain management node to client send create New Account account creation request itBefore, client and block chain management node also perform following operation:
Client reports the loss request to the former account of block chain management node transmission;
The former account of block chain management node reception reports the loss request, according to the certificate information and biological information for reporting the loss claimantWith checking report the loss claimant whether be former account legal owner;
If so, block chain management node sends the account creation request for creating New Account to client.
Further, the block chain management node is tied up to the former Account Closure of block chain checking node transmission and New AccountSurely before the checking request operated, client and block chain management node also perform following operation:
When client receives the account creation request of New Account, New Account is created, when New Account creates successfully, to areaBlock chain management node sends New Account and creates success message;
When block chain management node receives New Account establishment success message, send former account to block chain checking node and noteThe checking request of pin and New Account bindings.
Further, the certificate information includes:At least one of identity card, passport, driver's license, the biological informationIncluding:At least one of face, fingerprint, iris.
Further, verifying the content of the legitimacy of intelligent contract after the signature includes:
Whether the legitimacy of former account, legitimacy, the remaining sum of former account, the remaining sum of former account of transaction of former account are enoughThe expense of payment guarantee people and block chain checking node, guarantor assure the conjunction of the legitimacy, the quantity of guarantor of operationMethod, the legitimacy of New Account, block chain management node nullify the legitimacy of former account and binding New Account operation, client hairAt least one of legitimacy of assets transfer risen.
The above-mentioned technical proposal of the present invention has following beneficial technique effect:
The present invention is by the way that social networks are incorporated among block chain, in a manner of intelligent contract, the private key institute of lossCorresponding assets transfer has recovered the proprietary block chain assets of former block chain assets into newly-generated block chain account.
Embodiment
To make the object, technical solutions and advantages of the present invention of greater clarity, with reference to embodiment and joinAccording to accompanying drawing, the present invention is described in more detail.It should be understood that these descriptions are merely illustrative, and it is not intended to limit this hairBright scope.In addition, in the following description, the description to known features and technology is eliminated, to avoid unnecessarily obscuring thisThe concept of invention.
It should be noted that:Block chain assets owner, refers to the natural person for possessing block chain assets or mechanism, and it is privateKey, public key are referred to as former private key, former public key;
The proprietary good friend of block chain assets, refer generally to its friend, or the people of block chain transaction occurred in the past.This is goodFriend possesses block chain assets, and is ready to recover the assets of loss as " guarantee " with the block chain assets of oneself
Block chain management node, be responsible for initial issue block chain assets, carry out block chain assets owner real-name authentication,Block chain account such as reports the loss, locked at the mechanism of management work, such as the Central Bank temporarily.Management organization is " the super management of block chainMember "
Block chain verifies node:It is responsible for the block chain node of block chain book keeping operation.
Legal block chain node, refer to the node of book keeping operation power for obtaining block chain account book
Fig. 1 is the schematic flow sheet of the method for recovery block chain assets according to a first embodiment of the present invention.
As shown in figure 1, the method for the recovery block chain assets of the first embodiment of the present invention includes:
Step S110, ask and authenticate to report the loss when block chain management node receives reporting the loss for the former account of client transmissionWhen claimant is the legal owner of former account, the account creation request for creating New Account is sent to client;
Step S120, created when block chain management node receives client based on the New Account that account creation request returnsDuring success message, the checking request of former Account Closure and New Account bindings is sent to block chain checking node;
Step S130, when block chain checking node receives the checking request, verify the former Account Closure and newThe legitimacy of account bindings;
Step S140, if checking is legal, New Account is write into former block chain node, so as to which former account fails, New AccountCome into force, returning to New Account to client comes into force information;
Step S150, client receive the New Account come into force information when, the intelligent contract of generation is signed, toIntelligent contract after block chain network broadcasting multisignatures, wherein, the intelligent contract includes guarantee information content;
Step S160, when block chain checking node receives the guarantee information of respective numbers, verify intelligence after the signatureThe legitimacy of energy contract;Wherein, verifying the content of the legitimacy of intelligent contract after the signature includes:The legitimacy of former account,Whether the legitimacy of the transaction of former account, the remaining sum of former account, the remaining sum of former account are enough payment guarantee people and the checking of block chainThe expense of node, guarantor carry out assuring the legitimacy of operation, the legitimacy of the quantity of guarantor, the legitimacy of New Account, areaBlock chain management node is nullified former account and bound in the legitimacy of New Account operation, the legitimacy for the assets transfer that client is initiatedAt least one.
Step S170, if intelligent contract is legal after the signature, legal block chain node turns the assets in former accountMove to New Account.
Fig. 2 is the schematic flow sheet sent before account creation request according to a second embodiment of the present invention.
As shown in Fig. 2 in a second embodiment, the account for creating New Account is sent to client in block chain management nodeBefore request to create, in addition to:
Step S10, client report the loss request to the former account of block chain management node transmission;
Step S20, what block chain management node received former account reports the loss request, according to report the loss the certificate information of claimant withBiological information with verify report the loss claimant whether be former account legal owner;The certificate information includes:Identity card, shieldAccording at least one of, driver's license, the biological information includes:At least one of face, fingerprint, iris.
Step S30, if so, block chain management node sends the account creation request for creating New Account to client.
Fig. 3 be transmission checking request according to a third embodiment of the present invention before schematic flow sheet.
As shown in figure 3, in the third embodiment, send former account to block chain checking node in block chain management node and noteBefore the checking request of pin and New Account bindings, in addition to:
Step S40, when client receives the account creation request of New Account, create New Account, when New Account create intoDuring work(, send New Account to block chain management node and create success message;
Step S50, when block chain management node receives New Account establishment success message, sent to block chain checking nodeFormer Account Closure and the checking request of New Account bindings.
The operating process of the present invention is as follows:
Step S1, client report the loss request to the former account of block chain management node transmission;
Step S2, what block chain management node received former account reports the loss request, according to report the loss the certificate information of claimant withBiological information with verify report the loss claimant whether be former account legal owner;
Step S3, if so, block chain management node sends the account creation request for creating New Account to client.
Step S4, when client receives the account creation request of New Account, New Account is created, when New Account creates successfullyWhen, send New Account to block chain management node and create success message;
Step S5, when block chain management node receives New Account establishment success message, sent to block chain checking nodeFormer Account Closure and the checking request of New Account bindings;
Step S6, when block chain checking node receives the checking request, verify the former Account Closure and new accountThe legitimacy of family bindings;
Step S7, if checking is legal, New Account is write former block chain node by block chain management node, so as to former accountFailure, New Account comes into force, and returning to New Account to client comes into force information;
Step S8, client receive the New Account come into force information when, the intelligent contract of generation is signed, to areaIntelligent contract after block chain network broadcasting multisignatures, wherein, the intelligent contract includes guarantee information content;
Step S9, when block chain checking node receives the guarantee information of respective numbers, verify intelligence after the signatureThe legitimacy of contract;
Step S10, if intelligent contract is legal after the signature, legal block chain node is by the assets transfer in former accountTo New Account.
If above verification process has any one not to be verified, next step is not performed.
Specifically, after block chain assets owner loses private key, former account is reported the loss to block chain management node application.AreaBlock chain management node will examine the legitimacy of former account, and lawful document (such as identity card, the passport of claimant are reported the loss by checkingDeng), and biological information (face, fingerprint, iris etc.) come confirm applicant whether be former account legal owner.If closeMethod owner, then report the loss claimant and create New Account (reporting the loss the private key that claimant will ensure to possess New Account).Block chain managementNode verifies that the transaction of former account, binding New Account is nullified in node application to block chain.Nullifying former account, the new account of binding can be withImplemented by an intelligent contract, or implemented by the block chain agreement made in advance.On block chain, nullify formerAccount, the new account of binding occur in the transaction of same block chain.Block chain checking node wants verification management mechanism to issueThe former account of cancellation, the new account of binding transaction legitimacy, once being verified, New Account will be written to former block chainIn, former account failure, new account comes into force.Report the loss after the New Accounts such as claimant come into force, initiate the intelligence conjunction of an assets transferAbout, the input of the intelligent contract is exactly the former account of cancellation, the new account of binding that block chain management node is issued on block chainTransaction.The intelligent contract is to the effect that:I needs several good friends for by my faith (block chain protocol requirement at least three good friendAs guarantor), the digital asset in former block chain account is returned in new account, if be successfully recovered, I is ready to be everyIndividual guarantor pays a number of assets in reward, while the checking node for paying the good authentication intelligent contract is certainThe assets of quantity are in reward.Report the loss after claimant generates the intelligent contract, signed with the private key of new account, thenBroadcasted comprising the intelligent contract including signed data, new account public key in block chain network.Report the loss some of claimantIf good friend is ready to assure the intelligent contract (while obtaining corresponding remuneration), with regard to being carried out with the private key of oneself to the intelligent contractSignature Confirmation, then signature is broadcasted in block chain network.If block chain checking node is ready to verify that the intelligence is closedAbout (while obtaining corresponding remuneration), wait and be collected into after the guarantee for meeting contract quantitative requirement signature, just to the intelligent contractCarry out legitimate verification.The content of checking includes but is not limited to:The legitimacy of former account, the transaction legitimacy of former account, and countThe remaining sum of former account is calculated, whether the remaining sum of former account is enough the expense of payment guarantee people and block chain checking node, new accountLegitimacy, block chain management node nullify former account, the new account of binding transaction legitimacy, the assets that account owner initiatesThe legitimacy of intelligent contract, the legitimacy for the transaction that guarantor is assured are shifted, whether the quantity of guarantor meets that contract willAsk, and meet the minimum requirements of block chain agreement, whether assets transfer intelligence contract is effective.Block chain protocol requirement contract is issuedIf not being verified success after 72 hours, then contract ceases to be in force automatically.Wherein, multiple assets shift the checking of intelligent contractNode, independently verified.After intelligent contract is proved to be successful, checking node will also compete the book keeping operation of block chain account bookPower, book keeping operation power is only obtained, can be that new account, guarantor and this checking node write new money in new block chainProduction.
Fig. 4 is the structural representation of the system of the recovery block chain assets of the present invention.
As shown in figure 4, the fourth embodiment of the present invention provides a kind of system for recovering block chain assets, including:ClientEnd 100, block chain management node 200, block chain checking node 300 and legal block chain node 400;
The block chain management node 200, for receiving the former account of the transmission of client 100 when block chain management node 200When reporting the loss request and authenticating to that to report the loss claimant be the legal owner of former account of family, sends to client 100 and creates new accountThe account creation request at family;
It is additionally operable to work as and receives the New Account establishment success message that client 100 is returned based on the account creation requestWhen, the checking request for wrapping former Account Closure and New Account bindings is sent to block chain checking node 300;
The block chain verifies node 300, for when receiving the checking request, verify the former Account Closure andThe legitimacy of New Account bindings;
If it is legal that the block chain management node 200 is additionally operable to checking, New Account is write into former block chain node, so as toThe failure of former account, New Account come into force, and returning to New Account to client 100 comes into force information;
The client 100, be additionally operable to receive the New Account come into force information when, the intelligent contract of generation is signedName, to block chain network broadcasting multisignatures after intelligent contract, wherein, the intelligent contract include guarantee information content;
The block chain verifies node 300, is additionally operable to, when receiving the guarantee information of respective numbers, verify the signatureThe legitimacy of intelligent contract afterwards;Wherein, verifying the content of the legitimacy of intelligent contract after the signature includes:Former account it is legalWhether property, legitimacy, the remaining sum of former account, the remaining sum of former account of transaction of former account are enough payment guarantee people and block chain is testedDemonstrate,prove the expense of node, guarantor assure the legitimacy of operation, the legitimacy of the quantity of guarantor, the legitimacy of New Account,Block chain management node nullifies former account and binds the legitimacy of New Account operation, the legitimacy for the assets transfer that client is initiatedAt least one of.
The legal block chain node 400, if it is legal to be additionally operable to intelligent contract after the signature, by the money in former accountProduction is transferred to New Account.
In the 5th embodiment, the block chain management node 200 creates the account of New Account being sent to client 100Before request to create, client 100 and block chain management node 200 also perform following operation:
Client 100 reports the loss request to what block chain management node 200 sent former account;
What block chain management node 200 received former account reports the loss request, according to the certificate information and biology for reporting the loss claimantInformation with verify report the loss claimant whether be former account legal owner;Wherein, the certificate information includes:Identity card, shieldAccording at least one of, driver's license, the biological information includes:At least one of face, fingerprint, iris.
If so, block chain management node 200 sends the account creation request for creating New Account to client 100.
In the sixth embodiment, the block chain management node 200 is sending former account note to block chain checking node 300Before the checking request of pin and New Account bindings, client 100 and block chain management node 200 also perform following operation:
When client 100 receives the account creation request of New Account, New Account is created, when New Account creates successfully,New Account, which is sent, to block chain management node 200 creates success message;
When block chain management node 200 receives New Account establishment success message, original is sent to block chain checking node 300Account Closure and the checking request of New Account bindings.
As described above, describing a kind of method and system for recovering block chain assets in detail, the present invention is by the way that social activity is closedSystem is incorporated among block chain, in a manner of intelligent contract, the assets transfer corresponding to the private key of loss to newly-generated areaIn block chain account, that is, the proprietary block chain assets of former block chain assets are recovered.
It should be appreciated that the above-mentioned embodiment of the present invention is used only for exemplary illustration or explains the present invention'sPrinciple, without being construed as limiting the invention.Therefore, that is done without departing from the spirit and scope of the present invention is anyModification, equivalent substitution, improvement etc., should be included in the scope of the protection.In addition, appended claims purport of the present inventionCovering the whole changes fallen into scope and border or this scope and the equivalents on border and repairingChange example.