CN111241596A - Block chain asset account recovery method and device - Google Patents

Block chain asset account recovery method and device Download PDF

Info

Publication number
CN111241596A
CN111241596A CN202010063418.2A CN202010063418A CN111241596A CN 111241596 A CN111241596 A CN 111241596A CN 202010063418 A CN202010063418 A CN 202010063418A CN 111241596 A CN111241596 A CN 111241596A
Authority
CN
China
Prior art keywords
mnemonic
mnemonic word
fragment
fragments
information
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.)
Granted
Application number
CN202010063418.2A
Other languages
Chinese (zh)
Other versions
CN111241596B (en
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.)
Shanghai Jiansu Network Technology Co ltd
Original Assignee
Shanghai Pelac Information 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 Shanghai Pelac Information Technology Co Ltd filed Critical Shanghai Pelac Information Technology Co Ltd
Priority to CN202010063418.2A priority Critical patent/CN111241596B/en
Publication of CN111241596A publication Critical patent/CN111241596A/en
Application granted granted Critical
Publication of CN111241596B publication Critical patent/CN111241596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Electromagnetism (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of asset account recovery, and discloses a method and a device for recovering a block chain asset account, which comprise the following steps: respectively obtaining coordinate information corresponding to each mnemonic word fragment in a first quantity according to two-dimensional codes corresponding to the scanned mnemonic word fragments in the first quantity, wherein the mnemonic word fragments in the first quantity are obtained from a mnemonic word fragment in a second quantity formed by fragmenting mnemonic words used for representing block chain assets, and the first quantity is smaller than the second quantity; calculating and determining seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic fragment; and restoring the seeds into corresponding mnemonics, and recovering the account of the block chain assets. The problem of block chain asset have in the prior art and lose and bring very big potential safety hazard for the asset owner after the information, can't accomplish to remove centralization moreover is solved.

Description

Block chain asset account recovery method and device
Technical Field
The invention relates to the technical field of asset account recovery, in particular to a method and a device for recovering a block chain asset account.
Background
After the bitcoin comes out, a series of digital assets, collectively referred to as blockchain assets, appear. The block chain is a chain for value transmission, value transmission can be carried out on the block chain, the value transmission is called token in the technical field, token in the public field, and the value transmission is a block chain asset. There are currently thousands of blockchain assets worldwide, each published on a blockchain basis.
As the application of blockchain assets becomes more and more widespread, the security problem of blockchain assets is increasingly emphasized by people.
The blockchain records the generation and transaction processes of digital currency, digital assets in a decentralized mode, and an owner of the assets (namely the digital currency, the digital assets and any blockchain value symbols) possesses a private key corresponding to the assets. If the ownership of the asset is to be proved, only a private key is needed to perform signature operation on certain information, and then the original information, the signature result and the public key are published, so that anyone can verify the signature information by using the public key, and the ownership of the asset can be proved if the verification is passed. If ownership of the asset is to be transferred (i.e., a blockchain transaction), the owner of the asset signs the contents of the blockchain transaction with the private key and then broadcasts the contents of the transaction, the signature result, and the public key together. Once the private key is completely lost, the asset can never be traded according to the technical principle of the blockchain, and therefore the owner of the blockchain asset suffers great economic loss. There are also companies proposing: and the block chain management node transmits the previously stored private key related information to the asset owner in an intelligent contract mode based on the social relationship of the asset owner, and the asset owner transfers the lost asset corresponding to the private key to a newly generated block chain account, namely the block chain asset of the original block chain asset owner is recovered.
The above method for recovering the blockchain assets has the following problems: the problem that great potential safety hazards are brought to an asset owner after information is lost exists, and decentralization cannot be achieved.
Disclosure of Invention
In view of the foregoing problems, an object of the present invention is to provide a method and an apparatus for recovering a blockchain asset account, which have the advantages of effectively preventing the blockchain asset from being lost and decentralized.
The above object of the present invention is achieved by the following technical solutions:
a method of blockchain asset account recovery, comprising the steps of:
respectively obtaining coordinate information corresponding to each mnemonic word fragment in a first quantity according to two-dimensional codes corresponding to the scanned mnemonic word fragments in the first quantity, wherein the mnemonic word fragments in the first quantity are obtained from a mnemonic word fragment in a second quantity formed by fragmenting mnemonic words used for representing block chain assets, and the first quantity is smaller than the second quantity;
calculating and determining seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic fragment;
and restoring the seeds into corresponding mnemonics, and recovering the account of the block chain assets.
Further, the scanning the two-dimensional codes corresponding to the first number of mnemonic word fragments includes scanning the two-dimensional codes corresponding to the first number of mnemonic word fragments in an off-line mode, and the off-line mode scanning at least includes restoring the account of the block chain asset in a network disconnection state.
Further, fragmenting the mnemonics used to represent the blockchain asset into a second number of mnemonic fragments comprises the steps of:
calculating and obtaining the second amount of coordinate information based on a random discrete function;
encrypting each piece of coordinate information in the second amount of coordinate information and the related information of the mnemonics respectively, and generating corresponding two-dimensional codes from the encrypted information to serve as the second amount of mnemonic word fragments;
storing the second number of fragments of mnemonics in a plurality of different storage units.
Further, after scanning the two-dimensional codes corresponding to the first number of pieces of mnemonics offline, the method further comprises the following steps:
judging whether the first number of mnemonic word fragments correspond to the same mnemonic word or not according to the related information of the mnemonic word included in the two-dimensional code;
and if the first quantity of the pieces of the mnemonic words corresponds to the same mnemonic word, respectively obtaining the coordinate information corresponding to each piece of the mnemonic words in the first quantity.
Further, the random discrete function is a Lagrange interpolation polynomial;
the second amount of coordinate information is obtained based on a lagrangian interpolation polynomial, which specifically is:
f(x)=a0+a1x+a2x2+a3x3+…+ak-1xk-1+…+anxn
wherein, a0,a1…anK represents said first number of conventions, n represents said second number of conventions, as coefficients of a function; setting the number of random numbers in the coefficients of the function to be k-1, wherein a0=a1=a2=…..=an-(k-1)S is a decimal value obtained by converting a mnemonic word random number generated in the process of generating the mnemonic word for the block chain asset, an-(k-1)+1,an-(k-1)+2…..anIs a random number;
wherein the step of obtaining the second amount of coordinate information based on a Lagrangian interpolation polynomial calculation comprises:
and randomly taking n x values according to a second number n of appointed auxiliary words converted into the auxiliary word fragments, substituting the n x values into the Lagrange interpolation polynomial, and calculating a function value to obtain n (x, f (x)) format coordinates as the second number of coordinate information.
Further, the step of calculating and determining the seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic fragment further comprises;
substituting the coordinate information corresponding to each mnemonic word fragment into the Lagrange interpolation polynomial to form an equation matrix consisting of the first number of equations;
and solving the equation matrix to obtain the decimal value of the mnemonic word as a seed corresponding to the mnemonic word.
In order to execute the method for recovering the blockchain asset account, the invention also provides a device for recovering the blockchain asset account, which comprises the following steps:
the system comprises a blockchain asset recovery module, a blockchain asset recovery module and a data processing module, wherein the blockchain asset recovery module is used for recovering mnemonic word fragments stored in different devices into accounts of blockchain assets;
a blockchain asset fragmentation module for fragmenting mnemonics representing blockchain assets into a second number of mnemonic fragment;
and the fragment storage device is used for storing the mnemonic word fragments.
Further, the blockchain asset recovery module further includes:
the coordinate recovery submodule is used for respectively obtaining coordinate information corresponding to each mnemonic word fragment in a first quantity according to two-dimensional codes corresponding to the scanned mnemonic word fragments in the first quantity, wherein the mnemonic word fragments in the first quantity are obtained from a second quantity of mnemonic word fragments formed by the mnemonic word fragments used for representing block chain assets, and the first quantity is smaller than the second quantity;
the seed calculation submodule is used for calculating and determining the seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic word fragment;
and the mnemonic word recovery submodule is used for restoring the seeds into corresponding mnemonic words and recovering the accounts of the block chain assets.
Further, the block chain asset fragmentation module further comprises:
the coordinate calculation submodule is used for calculating and obtaining the second amount of coordinate information through a random discrete function;
and the mnemonic word fragment generation submodule is used for respectively encrypting each coordinate information in the second amount of coordinate information and the related information of the mnemonic words, and generating corresponding two-dimensional codes from the encrypted information to be used as the second amount of mnemonic word fragments.
Further, the coordinate calculation module further includes:
and the polynomial establishing unit is established in the mnemonic word fragmentation process of the block chain assets and used for calculating the random discrete function of the coordinate information.
The invention also provides a method for recovering the block chain asset account, which comprises the following steps:
obtaining a first amount of mnemonic word fragment information or a first amount of mnemonic word fragment information expression form;
restoring the block chain asset account by using mnemonic word fragment information according to a restoring rule, wherein the first quantity of mnemonic word fragment information is obtained from a second quantity of mnemonic word fragments formed by fragmenting mnemonics for representing the block chain asset account, and the first quantity is smaller than the second quantity;
the recovery rule further comprises calculating and determining a seed corresponding to the mnemonic word according to the information of each mnemonic word fragment or the expression form of the information of the mnemonic word fragment, restoring the seed into the corresponding mnemonic word, and recovering the account of the block chain asset.
Further, the obtaining of the first amount of mnemonic word fragment information or the representation of the mnemonic word fragment information includes obtaining the first amount of the mnemonic word fragment information or the representation of the mnemonic word fragment information in an offline manner, and the offline manner at least includes restoring the block chain asset account in the case of network outage.
Further, the fragmenting of the mnemonics used to represent the blockchain asset account into a second number of mnemonic fragments comprises the steps of:
obtaining the second number of the mnemonic word fragments based on a random discrete function calculation;
storing the second number of the mnemonic word fragments or the representation forms of the mnemonic word fragment information in a plurality of different storage units.
To perform the above method, there is provided an apparatus for blockchain asset account recovery, comprising:
the block chain asset recovery module is used for recovering the mnemonic word fragments stored in different devices into accounts of the block chain assets according to recovery rules; the recovery rule further comprises calculating and determining seeds corresponding to the mnemonics according to the information of the various mnemonic word fragments or the expression form of the information of the mnemonic word fragments, reducing the seeds into the corresponding mnemonics, and recovering the account of the block chain assets;
a blockchain asset fragmentation module for fragmenting mnemonics representing blockchain assets into a second number of mnemonic fragment;
and the fragment storage device is used for storing the mnemonic word fragments.
Compared with the prior art, the invention has the beneficial effects that:
(1) a method for blockchain asset account recovery, comprising the steps of: respectively obtaining coordinate information corresponding to each mnemonic word fragment in a first quantity according to two-dimensional codes corresponding to the scanned mnemonic word fragments in the first quantity, wherein the mnemonic word fragments in the first quantity are obtained from a mnemonic word fragment in a second quantity formed by fragmenting mnemonic words used for representing block chain assets, and the first quantity is smaller than the second quantity; calculating and determining seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic fragment; and restoring the seeds into corresponding mnemonics, and recovering the account of the block chain assets. The problem of have in the block chain asset recovery method in the prior art and lose the problem that brings very big potential safety hazard for the asset owner after the information, can't accomplish to remove centralization in addition is solved.
(2) Scanning the two-dimensional codes corresponding to the first quantity of mnemonic word fragments in an off-line mode, and recovering the account of the blockchain asset in a network-off state, so that the problem that when the safety requirement level of the blockchain asset is high, if the blockchain asset is recovered in an on-line mode, an on-line server is easily attacked by hackers, the backed-up blockchain asset is further lost, and the safety of the blockchain asset is damaged is solved.
Drawings
FIG. 1 is a general flow chart of a method for blockchain asset account recovery according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating fragmentation of mnemonics into a second number of mnemonic fragments according to an embodiment of the present invention;
FIG. 3 is a flowchart of a fifth embodiment of the present invention for converting blockchain assets into mnemonics;
fig. 4 is an overall block diagram of an apparatus for blockchain asset account recovery according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
In a decentralized application scenario, no centralized authority will be responsible for the customer's account as no centralized authority manages accounts for the customer; the customer needs to be fully responsible for his account, which means that all assets on the account are lost once the password is forgotten or the account is lost. This loss is clearly enormous for the customer. The decentralized application provides a proposal for the account problem to add mnemonic words of a private key (password) and help a customer to recover the private key by using the mnemonic words when forgetting the private key; there are also electronic wallet applications that manage account private keys specifically for customers. However, once these private keys are completely lost, the assets under the customer account will also be lost forever. It can be seen that when we register an account in a decentralized application, we are often reminded that the private key needs to be properly secured, otherwise there will be no mechanism responsible for the loss of the customer's assets, so the vulnerable ability to risk is not good for the promotion of decentralized accounts.
Based on the application scenario, the core idea of the invention is as follows: after the private key mnemonic words of the blockchain nodes (including but not limited to the client) or other mnemonic words indicating the blockchain assets are generated, the private key mnemonic words or other mnemonic words are fragmented, and the fragmented information is processed into at least two groups of fragmented information groups, wherein each group of fragmented information groups is respectively stored in different devices or software modules (namely storage units). When the assets need to be recovered, corresponding fragment information is obtained from different devices or software modules according to a preset recovery rule to recover corresponding mnemonics, and therefore the private key or the block chain assets are recovered.
The preset recovery rule comprises that any one group of fragment information groups cannot recover the mnemonic words independently, and the preset recovery rule also comprises that the mnemonic words can be recovered only by obtaining a plurality of groups of fragment packets. For example, the fragmentation information is processed into five groups of fragmentation information groups, which are respectively sent to 5 friends or 5 software (WeChat, QQ, mailbox, etc.) or 5 different places for storage, and the mnemonic word can be recovered as long as any three groups of fragmentation information groups are obtained, so that the private key or other blockchain assets can be further recovered.
The invention has the following remarkable characteristics: any one set of fragmentation information group information leaks out, and the safety of the whole block chain asset is not influenced. The invention can also have another characteristic: the mnemonic words can be recovered without finding all the fragment information group information, particularly when people easily forget information or some accidents occur, the mnemonic words can be recovered only according to the recovery rules (such as 2 groups or 3 groups are found in 5 groups of fragment information groups), so that the safety of asset account recovery is ensured, the convenience of operation is brought to the asset account recovery, more importantly, central nodes such as a block chain management node and an online backup server are easily introduced when the existing block chain asset is recovered, and the scheme for safely recovering the asset accounts on the block chain is completely realized on the basis of decentralization.
It should be noted that the two-dimensional code and the like illustrated in the following of the present invention are also only one expression form of the fragment information group, and the various algorithms and the like mentioned in the following are only used for explaining one embodiment of the present invention, and are not used for limiting the present invention.
First embodiment
As shown in fig. 1, the embodiment provides an embodiment of a method for recovering a blockchain asset account, which includes the following steps:
s110: and respectively obtaining coordinate information respectively corresponding to each mnemonic word fragment in the first quantity according to the two-dimensional codes corresponding to the scanned first quantity of mnemonic word fragments, wherein the first quantity of mnemonic word fragments are obtained from a second quantity of mnemonic word fragments formed by fragmenting mnemonic words used for representing block chain assets, and the first quantity is smaller than the second quantity.
The blockchain nodes comprise full nodes (nodes which possess all transaction data of the whole network) and light nodes (only transaction data nodes related to the light nodes), and are provided with blockchain assets. In order that subsequent blockchain asset accounts may be restored, the following settings are first made.
First, mnemonics representing blockchain asset information (such as private keys) are generated, and second, a second number of mnemonic fragmentation is performed. Thirdly, a second quantity of mnemonic word fragmentations or expressions (such as two-dimensional codes) thereof are respectively stored in at least more than two different storage spaces, and any one mnemonic word fragmentation alone cannot recover the block chain assets. The mnemonic words representing the information of the blockchain assets can be the mnemonic words of the private key or derivative numbers of the account of the blockchain assets, and can also be the mnemonic words of the information of other blockchain asset identifications. For example, the second quantity of mnemonic word shards are five mnemonic word shards, and if any three of the five mnemonic word shards are found, the blockchain assets can be recovered. The principle is that any single storage space cannot restore the blockchain asset account. The storage space may be different software modules (such as a wallet, a WeChat, a QQ, a notepad, an electronic album, etc.) of one terminal, and may also be sent to different devices or apparatuses (different mobile phones, IPADs, computers), etc. for storage. The fragmented second number of mnemonics can be displayed in the form of two-dimensional codes, graphics, character strings and the like.
Specifically, in this embodiment, the blockchain asset is stored in the client of the blockchain asset in the form of mnemonics, the mnemonics for representing the blockchain asset may be fragmented into a second number of pieces of mnemonics, and these pieces of mnemonics may be stored in one or more devices (or other storage spaces) specified by the user or predetermined by the system in the form of two-dimensional codes.
When the asset account needs to be restored, the user finds out the first number of mnemonic word fragments or the expression forms of the mnemonic word fragments, and then uses the restoration rules to restore the asset account.
Such as: the user scans the two-dimensional codes corresponding to the first number of mnemonic word fragments, and in step S110, the coordinate information corresponding to each mnemonic word fragment in the first number of mnemonic word fragments is obtained through an agreed conversion mode according to the two-dimensional codes obtained by the user scanning. The specific values of the first number and the second number may be predetermined by the system or may be specified by the user, and the first number is smaller than the second number.
For another example: the user firstly obtains a first quantity of mnemonic word fragments, such as original character strings, converts the original character strings into a coordinate mode according to an agreed conversion mode, and then obtains the mnemonic words through the coordinate mode calculation, so that the block chain asset information is obtained.
It should be noted that the client of the blockchain asset may be an intelligent terminal such as a mobile terminal or a computer. The specific application can be a specific application on the client, the application can be a mobile banking, a digital wallet or a proprietary application, and the application can exist in the form of an APP or can be a functional plug-in. In consideration of the need of security protection of the blockchain assets, the functional service can also be located in a security unit of the mobile terminal, and is used for realizing functions of safe transaction flow, safe storage, management of the blockchain assets and the like of the blockchain assets. Therefore, the client mentioned later in the present invention is a broad concept including a carrier that implements the functional service.
In this embodiment, the mnemonic word fragments are stored in one or more devices designated by a user or predetermined by a system in a form of a two-dimensional code, the storage mode of the mnemonic word fragments is not limited to the two-dimensional code, and all the storage modes of the mnemonic word fragments belong to the protection scope of the present invention. Of course, the coordinate information corresponding to the mnemonic word fragments can also be directly stored, and the method and the device also belong to the protection scope of the invention.
S120: calculating and determining seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic fragment;
in the present embodiment, a specific calculation manner is disclosed as follows.
The method includes the steps that coordinate information representing fragments of mnemonic words is stored in different devices in a two-dimensional code mode, when a block chain asset account needs to be restored, coordinate information of a first quantity agreed in advance is obtained in advance in a two-dimensional code scanning mode, the coordinate information can be obtained through calculation of a specific formula, a preferable mode is that seeds corresponding to the mnemonic words are obtained through defining a Lagrange equation, a specific quantity of random numbers are agreed according to the first quantity, the seeds and the random numbers are used as coefficients of the Lagrange equation and are substituted into the Lagrange equation, then a second quantity of x values are taken randomly, solutions of the Lagrange equation are calculated, the solutions of the Lagrange equation are used as y values, and a second quantity of coordinates are obtained (detailed description of examples will follow). It is understood that other ways of representing and calculating the fragments of the mnemonic words may be agreed upon, not limited to the way in which the lagrangian equation is calculated, nor to the way in which only coordinates are used. In step S120, the calculation process in the above preferred embodiment needs to be reversed, the lagrangian equation set is formed by substituting the first amount of coordinate information into the lagrangian equation, the lagrangian equation set is calculated, and the coefficient of the lagrangian equation is calculated, that is, the seed corresponding to the mnemonic word is known.
S130: and restoring the seeds into corresponding mnemonics, and recovering the account of the block chain assets.
In this embodiment, the seed is a decimal number corresponding to a 128-bit random number of a blockchain asset generated according to a BIP39 rule, the BIP39 rule is a preferred scheme, and may also be a BIP32, BIP44 and other generation rules, in step S130, the decimal number is restored to a 128-bit random number, then the 4-bit check digit used for checking is used to obtain a 132-bit number, then the division is performed according to every 11 bits to obtain 12 binary numbers, then each number is used to check a word list defined by BIP39 to obtain 12 mnemonics, and the 12 mnemonics are restored to the blockchain asset account.
The method is only an implementation algorithm of the mnemonic words, the private key of the block chain asset account is recovered by fragmenting the mnemonic words, and the corresponding block chain asset account can be managed through the private key.
In step S110, fragmenting the mnemonics used for representing the blockchain asset into a second number of mnemonic fragments may further include the following steps (see fig. 2):
s111: and defining a random discrete function, and calculating to obtain the second amount of coordinate information through the random discrete function.
The function of the random discrete function is to obtain a second amount of coordinate information through calculation of the random discrete function. The random discrete function can be various, the obtained calculation result is not limited to coordinates, and all the modes which can be used for expressing the mnemonic word fragments can be applied to the method.
S112: and respectively encrypting each piece of coordinate information in the second amount of coordinate information and the related information of the mnemonics, and generating corresponding two-dimensional codes from the encrypted information to be used as the second amount of mnemonic fragments.
The encryption method can be an algorithm including an AES algorithm, a HASH algorithm, an HMAC algorithm and a DES algorithm, the coordinate information and the related information of the mnemonics can call the same encryption algorithm and can call different encryption algorithms, even different mnemonic word fragments can be encrypted by using an encryption mode on the storage device according to the encryption habits of different devices.
S113: storing a second number of fragments of the mnemonic word in a plurality of different devices or memory spaces. For example, the mnemonic word fragments of the second number are stored in cloud storage devices corresponding to a plurality of different social network account numbers, such as social network account numbers of microblog, wechat, QQ, hundred-degree network disk and the like, and are downloaded and scanned for use when needed. The database can be stored in hardware devices with storage spaces such as a hard disk, a mobile phone memory, a computer memory and the like, or in different databases, such as MySQL, Oracle, PosgreSQL and the like, respectively, the database can be installed in a device of a fixed machine room, or can be a database at the cloud, such as the airy cloud, the tengyun cloud, the hundredth cloud, the hua cloud and the like.
Second embodiment
Compared with the first embodiment, the steps are substantially the same, and the greatest difference is that the two-dimensional codes corresponding to the first number of pieces of mnemonics are scanned in S110 "the coordinate information corresponding to each piece of mnemonics in the first number is respectively obtained according to the two-dimensional codes corresponding to the first number of pieces of mnemonics", a mode of scanning the pieces of mnemonics is not limited in the first embodiment, the pieces of mnemonics can be scanned in an online or offline mode, and the scanning of the pieces of mnemonics in the offline mode is limited in the embodiment.
The advantage of scanning mnemonic word fragments in an off-line manner is that: when the block chain assets are subjected to a high security protection level, the block chain assets are directly fragmented and restored under the condition of complete network disconnection, and because of the complete network disconnection, a network hacker cannot attack the block chain assets in any way to achieve complete security of the block chain assets.
Fragmenting and recovering blockchain assets in an offline environment in the present embodiment includes:
(1) in a network outage environment, blockchain assets are fragmented.
Under an offline environment, calculating multiple fragments of mnemonics of the block chain assets through a random discrete function, and storing the multiple fragments in at least more than two different storage spaces.
The multiple shards are stored in at least two different storage spaces, which may be in an online or offline fashion. Preferably, in the case of extremely high safety requirements, further fragmentation can be stored in a storage space that is completely offline. The off-line storage space can be a disconnected computer, a mobile phone, a hard disk and the like, and can even be directly recorded on a paper document, so that different people can keep or store the paper document in different databases.
(2) The blockchain assets are restored offline.
And (3) recovering the block chain assets in an offline manner, for example, when the mnemonic word fragments are two-dimensional codes, finding the two-dimensional codes stored in the storage space, directly scanning the two-dimensional codes in an offline manner to obtain information of the mnemonic word fragments, and calculating and determining the seeds corresponding to the mnemonic words according to the specified number of the pieces of information of the mnemonic word fragments.
Third embodiment
Compared with the first embodiment, the steps are substantially the same, and the greatest difference is that in S110, "in the process of fragmenting the mnemonic words into the second number of mnemonic word fragments, the first number of mnemonic word fragments are obtained from the second number of mnemonic word fragments into which the mnemonic words representing the block chain assets are fragmented," when the calculated coordinates are stored in different devices in the form of a two-dimensional code, the first embodiment directly converts the coordinates into the form of a two-dimensional code. In this embodiment, information related to the mnemonic may be added.
The related information of the mnemonics comprises the total number of the mnemonics, namely the second number in the text, the number of the mnemonics for recovering the blockchain assets, namely the first number in the text, marks for marking the blockchain assets to which the mnemonics belong, marks of fragmented batches of the mnemonics, a wallet ID, a two-dimensional code identifier and a wallet name. And the coordinates and the related information of the mnemonic words jointly generate a two-dimensional code which is stored in different devices.
The function of adding the related information of the mnemonic words during storage is as follows: when the block chain asset account is recovered, scanning a two-dimensional code used for representing mnemonic word fragments, simultaneously obtaining coordinates representing the mnemonic word fragments and related information of the mnemonic words, wherein the total number of the mnemonic words, the number of the mnemonic words used for recovering the block chain asset, a mark for marking the block chain asset to which the mnemonic words belong, a fragmented batch mark of the mnemonic words and the like. After the two-dimensional code of the mnemonic word fragments is scanned, the number of the mnemonic word fragments required for recovering the block chain asset account can be obtained, and the separate recording is not needed during fragmentation. Further, since each device may store different fragments of the blockchain asset account, the blockchain asset account and fragmented batch to which the current mnemonic fragment belongs can be quickly known from the related information of the mnemonic stored in the two-dimensional code. And during recovery, selecting the block chain asset account to which the mnemonic word fragment belongs and the mnemonic word fragment with the same fragmented batch for recovery.
Fourth embodiment
Unlike the first embodiment, this embodiment gives an example of a specific process of performing coordinate calculation using lagrange interpolation polynomial and restoring seeds corresponding to mnemonics by coordinates.
(1) And performing coordinate calculation by using a Lagrange interpolation polynomial.
Namely, the process of fragmenting the mnemonics used for representing the block chain assets into the second number of mnemonic word fragments comprises the step of defining a coordinate calculation formula, and calculating and obtaining the second number of coordinate information through the coordinate calculation formula.
The following steps are included for calculating and acquiring the coordinate information of the second data by using a Lagrange interpolation polynomial, and the specific process is as follows:
firstly, defining a second quantity order equation according to the fragmentation number of the mnemonic words, namely the second quantity in the text, as required;
f(x)=a0+a1x+a2x2+a3x3+…+ak-1xk-1+…+anxn(ii) a … (equation 1)
Wherein, a0,a1…anK represents said first number of conventions, n represents said second number of conventions, as coefficients of a function; setting the number of random numbers in the coefficients of the function to be k-1, wherein a0=a1=a2=…..=an-(k-1)S is a decimal value obtained by converting a mnemonic word random number generated in the process of generating the mnemonic word for the block chain asset, an-(k-1)+1,an-(k-1)+2…..anIs a random number;
it should be noted that, the S is a decimal value obtained by converting a mnemonic word random number generated in the process of generating the mnemonic word for the blockchain asset, but the blockchain asset is stored in the blockchain account in the form of 12 mnemonic words, and to obtain the decimal value, the process of generating the mnemonic word needs to be reversed, and the specific process is as follows:
the method comprises the steps of inquiring original random numbers of 11-bit mnemonics corresponding to 12 mnemonics through a word list defined by BIP39, splicing the random numbers of the 12 11-bit mnemonics according to the sequence of the 12 mnemonics to form 132-bit random numbers, cutting off the last 4-bit random numbers for checking to obtain 128-bit random numbers, and converting the 128-bit random numbers into decimal values, namely S mentioned above.
Secondly, after the second number of times of equation definition is completed, the second number of coordinate information is obtained based on the second number of times of equation calculation, and the specific steps include:
and randomly taking n x values according to the appointed second number n for converting the mnemonic words into the mnemonic word fragments, substituting the n x values into an equation of the second number, and calculating the function value to obtain n (x, f (x)) format coordinates as the second number of coordinate information.
In order to make the above calculation process of obtaining the second amount of coordinate information by the lagrange interpolation polynomial calculation easier to understand, a specific example of the calculation is given in this embodiment: the decimal number of the mnemonic word is set as: 100, the mnemonic words are fragmented into 3 parts, and reduction is performed by 2 parts thereof. And calculating a second amount of coordinate information according to the Lagrange interpolation polynomial, wherein the specific calculation process comprises the following steps:
defining a second number of equations by lagrange's interpolation polynomial requires fragmentation of the mnemonic into 3 parts, so in this example the equations are cubic equations, with the specific equations as follows:
f(x)=a0+a1x+a2x2+a3x3
wherein a is0=a1=a2100, which is equal to the decimal value converted from the random number of the mnemonic words generated in the process of generating the mnemonic words by the block chain assets, a3The random number 2 is substituted into the cubic equation to obtain the equation set of this embodiment as:
f(x)=100+100x+100x2+2x3
randomly taking 3 x values according to the number of parts of fragmenting the mnemonic words, and calculating the value of a function, wherein f (1) is 302; f (2) 716, f (10) 13100 to yield three coordinate vectors (1, 302), (2, 716), (10, 13100);
after the three coordinates are obtained, the three coordinates and the related information of the mnemonics are encrypted through an AES algorithm, and 3 corresponding two-dimensional codes are generated and stored in three different devices in an off-line mode respectively.
(2) And recovering the seeds corresponding to the mnemonics through the coordinates.
In order to correspond to a specific coordinate calculation formula, namely a lagrange interpolation polynomial, listed above, the second amount of coordinate information is obtained through lagrange interpolation polynomial calculation, and the seeds corresponding to the mnemonics are calculated and determined according to the coordinate information respectively corresponding to the mnemonic word fragments. The specific steps are as follows:
substituting the coordinate information corresponding to each mnemonic word fragment into the Lagrange interpolation polynomial to form an equation matrix consisting of the first number of equations;
and solving the equation matrix to obtain the decimal value of the mnemonic word as a seed corresponding to the mnemonic word.
For the sake of easy understanding, the same above description is given by fragmenting the mnemonics into 3 parts and by performing the reduction of 2 parts thereof, including fragments of the mnemonics in the form of three coordinates of (1, 302), (2, 716), (10, 13100). The process of restoring the seeds corresponding to the mnemonic words comprises the following steps:
the method comprises the steps of scanning one piece of mnemonic word fragment off line, restoring coordinate information, such as (1, 302), and obtaining the restored number of pieces through related information of the mnemonic word, wherein 2 pieces of the current embodiment can be restored;
then scanning another piece of mnemonic word fragments off line to obtain a second coordinate (10, 13100);
and substituting the two coordinates into a cubic equation according to the coordinate information to obtain two equation set matrixes:
302=a0+a1*1+a2*12+a3*13
13100=a0+a1*10+a2*102+a3*103
due to a0=a1=a2Substituting into the equation yields:
302=a0+a0*1+a0*12+a3*13
13100=a0+a0*10+a0*102+a3*103
namely, it is
302=3*a0+a3
13100=111*a0+1000*a3
Solving the system of equations to obtain a0=100,a3=2;
Namely a0The seed for mnemonics is 100.
Further, since the blockchain assets are stored in the account in the form of mnemonics, the seeds of the mnemonics need to be converted, 100 needs to be converted into a binary 128-bit random number, and the original text of the mnemonics is restored according to the BIP39 rule. (the detailed process is described in detail in the process of generating mnemonic words hereinafter) it should be understood by those skilled in the art that the restoring of the original text of the mnemonic words according to the BIP39 rule is only an example, and should not be considered as a limitation to the present invention, and in practical applications, the original text of the mnemonic words may also be restored according to Bitcoin Improvement Protocols (BIP) such as BIP32 and BIP44, which are not described herein in detail and are included herein by reference. It should be noted that the bitcoin improvement protocol used to restore the original text of the mnemonic word should correspond to the bitcoin improvement protocol used to generate the mnemonic word.
The seeds in this embodiment are decimal numbers, and the actual operation is not limited to decimal numbers, and may be in any form such as binary, octal, hexadecimal, and the like, and only needs to be calculated conveniently.
The seed may also be calculated by a specific rule, for example, a specified coefficient may be multiplied, and the processed seed may be used to perform the process of fragmenting the mnemonics.
Fifth embodiment
In the present invention, the blockchain assets are stored in the client of the blockchain assets in the form of mnemonic words, and the process of generating the mnemonic words is described in detail in this embodiment:
the generating rule of the mnemonic words is based on the BIP39 protocol, the number of the mnemonic words is 2048, as shown in fig. 3, the specific generating process is as follows:
first, a 128-bit random number is generated, and then 4 bits for checking the random number are added to obtain a 132-bit number, then segmentation is performed for every 11 parts, so that 12 binary numbers are obtained, and then each number is used for checking a word list defined by BIP39 to obtain 12 mnemonics.
In the process of fragmenting mnemonics, the generation process of the mnemonics needs to be reversed, the original 128-bit random number is restored, and the 128-bit random number is converted into a decimal number for calculation.
Sixth embodiment
As shown in fig. 4, corresponding to the method for recovering a blockchain asset account in the first embodiment, the present embodiment includes an apparatus for recovering a blockchain asset account, which is used for executing the method in the first embodiment, and specifically includes:
the block chain asset recovery module 1 is used for recovering the mnemonic word fragments stored in different devices into accounts of the block chain assets;
a blockchain asset fragmentation module 2, configured to fragment mnemonics representing blockchain assets into a second number of mnemonic word fragments;
and the fragment storage device 3 is used for storing the mnemonic word fragments.
The blockchain asset recovery module further comprises:
the coordinate recovery submodule 11 is configured to separately obtain, according to two-dimensional codes corresponding to a first number of mnemonic word fragments scanned offline, coordinate information corresponding to each of the first number of mnemonic word fragments, where the first number of mnemonic word fragments is obtained from a second number of mnemonic word fragments obtained by fragmenting mnemonic words used for representing block chain assets, and the first number is smaller than the second number;
the seed calculation submodule 12 is configured to calculate and determine a seed corresponding to the mnemonic word according to the coordinate information corresponding to each mnemonic word fragment;
and the mnemonic word recovery submodule 13 is configured to restore the seeds into corresponding mnemonic words, and recover the account of the block chain asset.
The block chain asset fragmentation module further comprises:
the coordinate calculation submodule 21 is configured to obtain the second amount of coordinate information through lagrange interpolation polynomial calculation;
and the mnemonic word fragment generation sub-module 22 is configured to encrypt each piece of coordinate information in the second amount of coordinate information and the related information of the mnemonic word, and generate a corresponding two-dimensional code from the encrypted information, as the second amount of mnemonic word fragments.
The coordinate calculation module further includes:
the polynomial establishing unit 211 is configured to establish the lagrangian interpolation polynomial used for calculating the coordinate information in the mnemonic word fragmentation process of the blockchain asset.
Seventh embodiment
The embodiment provides an embodiment of a method for recovering a blockchain asset account, which includes the following steps:
s210: obtaining a first amount of mnemonic word fragment information or a first amount of mnemonic word fragment information expression form;
different from the first embodiment in which the mnemonic fragment is stored in different devices in the form of a two-dimensional code, the embodiment may also be a character string obtained by transcoding information of the mnemonic fragment, and any form of representation capable of storing information of the mnemonic fragment belongs to the scope of the embodiment.
The mnemonic fragment is not limited to the coordinate information in the present embodiment.
The first quantity of mnemonic word fragment information or the expression form of the mnemonic word fragment information can be obtained in any form of online or offline.
S220: and recovering the block chain asset account by using mnemonic word fragment information according to a recovery rule, wherein the first quantity of mnemonic word fragment information is obtained from a second quantity of mnemonic word fragments obtained by fragmenting mnemonics for representing the block chain asset account, and the first quantity is smaller than the second quantity.
The method for representing the second quantity of mnemonic word fragments formed by the fragmentation of the mnemonic words of the block chain asset account specifically comprises the following steps:
obtaining the second number of the mnemonic word fragments based on a random discrete function calculation;
storing the second number of the mnemonic word fragments or the representation forms of the mnemonic word fragment information in a plurality of different storage units.
And the recovery rule further comprises calculating and determining a seed corresponding to the mnemonic word according to the information of each mnemonic word fragment or the expression form of the information of the mnemonic word fragment, restoring the seed into the corresponding mnemonic word and recovering the account of the block chain asset.
Eighth embodiment
Corresponding to the method for recovering a blockchain asset account in the seventh embodiment, this embodiment includes an apparatus for recovering a blockchain asset account, which is used to execute the method in the seventh embodiment, and specifically includes:
the block chain asset recovery module is used for recovering the mnemonic word fragments stored in different devices into accounts of the block chain assets according to recovery rules; the recovery rule further comprises calculating and determining seeds corresponding to the mnemonics according to the information of the various mnemonic word fragments or the expression form of the information of the mnemonic word fragments, reducing the seeds into the corresponding mnemonics, and recovering the account of the block chain assets;
a blockchain asset fragmentation module for fragmenting mnemonics representing blockchain assets into a second number of mnemonic fragment;
and the fragment storage device is used for storing the mnemonic word fragments.
A computer readable storage medium storing computer code which, when executed, performs the method as described above. Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
The software program of the present invention can be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functionality of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various functions or steps. The method disclosed by the embodiment shown in the embodiment of the present specification can be applied to or realized by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present specification may be embodied directly in a hardware decoding processor, or in a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
Embodiments also provide a computer readable storage medium storing one or more programs that, when executed by an electronic system including a plurality of application programs, cause the electronic system to perform the method of embodiment one. And will not be described in detail herein.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 Discs (DVD) or other optical storage, magnetic 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, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
In addition, some of the present invention can be applied as a computer program product, such as computer program instructions, which when executed by a computer, can invoke or provide the method and/or technical solution according to the present invention through the operation of the computer. Program instructions which invoke the methods of the present invention may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the invention herein comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or solution according to embodiments of the invention as described above.

Claims (14)

1. A method for blockchain asset account recovery, comprising the steps of:
respectively obtaining coordinate information corresponding to each mnemonic word fragment in a first quantity according to two-dimensional codes corresponding to the scanned mnemonic word fragments in the first quantity, wherein the mnemonic word fragments in the first quantity are obtained from a mnemonic word fragment in a second quantity formed by fragmenting mnemonic words used for representing block chain assets, and the first quantity is smaller than the second quantity;
calculating and determining seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic fragment;
and restoring the seeds into corresponding mnemonics, and recovering the account of the block chain assets.
2. The method of claim 1, wherein scanning the two-dimensional codes corresponding to the first number of mnemonic word fragments comprises scanning the two-dimensional codes corresponding to the first number of mnemonic word fragments in an offline manner, and the offline scanning at least comprises restoring the account of the blockchain asset in a network-off state.
3. The method for blockchain asset account recovery according to claim 1, wherein the fragmentation of the mnemonics representing blockchain assets into a second number of mnemonic fragments comprises the steps of:
calculating and obtaining the second amount of coordinate information based on a random discrete function;
encrypting each piece of coordinate information in the second amount of coordinate information and the related information of the mnemonics respectively, and generating corresponding two-dimensional codes from the encrypted information to serve as the second amount of mnemonic word fragments;
storing the second number of fragments of mnemonics in a plurality of different storage units.
4. The method for blockchain asset account recovery according to claim 2, further comprising the step of, after scanning the two-dimensional codes corresponding to the first number of mnemonic word fragments offline:
judging whether the first number of mnemonic word fragments correspond to the same mnemonic word or not according to the related information of the mnemonic word included in the two-dimensional code;
and if the first quantity of the pieces of the mnemonic words corresponds to the same mnemonic word, respectively obtaining the coordinate information corresponding to each piece of the mnemonic words in the first quantity.
5. The method for blockchain asset account recovery according to claim 3 or 4, further comprising said random discrete function is a Lagrangian interpolation polynomial;
the lagrange interpolation polynomial is specifically:
f(x)=a0+a1x+a2x2+a3x3+…+ak-1xk-1+…+anxn
wherein, a0,a1…anK represents said first number of conventions, n represents said second number of conventions, as coefficients of a function; setting the number of random numbers in the coefficients of the function to be k-1, wherein a0=a1=a2=…..=an-(k-1)S is a decimal value obtained by converting a mnemonic word random number generated in the process of generating the mnemonic word for the block chain asset, an-(k-1)+1,an-(k-1)+2…..anIs a random number;
wherein the step of obtaining the second amount of coordinate information based on a Lagrangian interpolation polynomial calculation comprises:
and randomly taking n x values according to a second number n of appointed auxiliary words converted into the auxiliary word fragments, substituting the n x values into the Lagrange interpolation polynomial, and calculating a function value to obtain n (x, f (x)) format coordinates as the second number of coordinate information.
6. The method for recovering a blockchain asset account according to claim 5, wherein the step of calculating and determining the seed corresponding to the mnemonic word according to the coordinate information corresponding to each mnemonic word fragment further comprises;
substituting the coordinate information corresponding to each mnemonic word fragment into the Lagrange interpolation polynomial to form an equation matrix consisting of the first number of equations;
and solving the equation matrix to obtain the decimal value of the mnemonic word as a seed corresponding to the mnemonic word.
7. An apparatus for blockchain asset account recovery, comprising:
the system comprises a blockchain asset recovery module, a blockchain asset recovery module and a data processing module, wherein the blockchain asset recovery module is used for recovering mnemonic word fragments stored in different devices into accounts of blockchain assets;
a blockchain asset fragmentation module for fragmenting mnemonics representing blockchain assets into a second number of mnemonic fragment;
and the fragment storage device is used for storing the mnemonic word fragments.
8. The apparatus for blockchain asset account recovery according to claim 7, wherein said blockchain asset recovery module further comprises:
the coordinate recovery submodule is used for respectively obtaining coordinate information corresponding to each mnemonic word fragment in a first quantity according to two-dimensional codes corresponding to the scanned mnemonic word fragments in the first quantity, wherein the mnemonic word fragments in the first quantity are obtained from a second quantity of mnemonic word fragments formed by the mnemonic word fragments used for representing block chain assets, and the first quantity is smaller than the second quantity;
the seed calculation submodule is used for calculating and determining the seeds corresponding to the mnemonics according to the coordinate information corresponding to each mnemonic word fragment;
and the mnemonic word recovery submodule is used for restoring the seeds into corresponding mnemonic words and recovering the accounts of the block chain assets.
9. The apparatus for blockchain asset account recovery according to claim 7, wherein said blockchain asset fragmentation module further comprises:
the coordinate calculation submodule is used for calculating and obtaining the second amount of coordinate information through a random discrete function;
and the mnemonic word fragment generation submodule is used for respectively encrypting each coordinate information in the second amount of coordinate information and the related information of the mnemonic words, and generating corresponding two-dimensional codes from the encrypted information to be used as the second amount of mnemonic word fragments.
10. The apparatus for blockchain asset account recovery according to claim 9, wherein said coordinate calculation module further comprises:
and the polynomial establishing unit is established in the mnemonic word fragmentation process of the block chain assets and used for calculating the random discrete function of the coordinate information.
11. A method for blockchain asset account recovery, comprising the steps of:
obtaining a first amount of mnemonic word fragment information or a first amount of mnemonic word fragment information expression form;
restoring the block chain asset account by using mnemonic word fragment information according to a restoring rule, wherein the first quantity of mnemonic word fragment information is obtained from a second quantity of mnemonic word fragments formed by fragmenting mnemonics for representing the block chain asset account, and the first quantity is smaller than the second quantity;
the recovery rule further comprises calculating and determining a seed corresponding to the mnemonic word according to the information of each mnemonic word fragment or the expression form of the information of the mnemonic word fragment, restoring the seed into the corresponding mnemonic word, and recovering the account of the block chain asset.
12. The method of claim 11, wherein obtaining the first quantity of mnemonic word fragment information or representation thereof comprises obtaining the first quantity of mnemonic word fragment information or representation thereof in an off-line manner, the off-line manner including at least restoring the blockchain asset account in the event of a network outage.
13. The method for blockchain asset account recovery according to claim 11, wherein the fragmenting of the mnemonics representing blockchain asset accounts into a second number of mnemonic fragments comprises the steps of:
obtaining the second number of the mnemonic word fragments based on a random discrete function calculation;
storing the second number of the mnemonic word fragments or the representation forms of the mnemonic word fragment information in a plurality of different storage units.
14. An apparatus for blockchain asset account recovery, comprising:
the block chain asset recovery module is used for recovering the mnemonic word fragments stored in different devices into accounts of the block chain assets according to recovery rules; the recovery rule further comprises calculating and determining seeds corresponding to the mnemonics according to the information of the various mnemonic word fragments or the expression form of the information of the mnemonic word fragments, reducing the seeds into the corresponding mnemonics, and recovering the account of the block chain assets;
a blockchain asset fragmentation module for fragmenting mnemonics representing blockchain assets into a second number of mnemonic fragment;
and the fragment storage device is used for storing the mnemonic word fragments.
CN202010063418.2A 2020-01-20 2020-01-20 Block chain asset account recovery method and device Active CN111241596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010063418.2A CN111241596B (en) 2020-01-20 2020-01-20 Block chain asset account recovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010063418.2A CN111241596B (en) 2020-01-20 2020-01-20 Block chain asset account recovery method and device

Publications (2)

Publication Number Publication Date
CN111241596A true CN111241596A (en) 2020-06-05
CN111241596B CN111241596B (en) 2022-07-01

Family

ID=70864673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010063418.2A Active CN111241596B (en) 2020-01-20 2020-01-20 Block chain asset account recovery method and device

Country Status (1)

Country Link
CN (1) CN111241596B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783918A (en) * 2020-07-03 2020-10-16 福建正孚软件有限公司 Safe two-dimensional code distribution method and system
CN112054907A (en) * 2020-08-25 2020-12-08 武汉大学 Block chain general certificate retrieving method and system when private key is forgotten
CN113190234A (en) * 2021-05-21 2021-07-30 电子科技大学 Method and system for automatically recovering intelligent contract function signature of block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623569A (en) * 2017-09-30 2018-01-23 矩阵元技术(深圳)有限公司 Block chain key escrow and restoration methods, device based on Secret sharing techniques
CN108352015A (en) * 2016-02-23 2018-07-31 恩链控股有限公司 The anti-loss storage of Secure for the system combination wallet management system based on block chain and encryption key transfer
CN108768631A (en) * 2018-05-28 2018-11-06 夸克链科技(深圳)有限公司 A kind of block chain private key recovery mnemonic word System Design
CN110289968A (en) * 2019-06-27 2019-09-27 矩阵元技术(深圳)有限公司 Private key restores, cooperates with creation, endorsement method and device, the storage medium of address

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108352015A (en) * 2016-02-23 2018-07-31 恩链控股有限公司 The anti-loss storage of Secure for the system combination wallet management system based on block chain and encryption key transfer
US20180367298A1 (en) * 2016-02-23 2018-12-20 nChain Holdings Limited Secure multiparty loss resistant storage and transfer of cryptographic keys for blockchain based systems in conjunction with a wallet management system
CN107623569A (en) * 2017-09-30 2018-01-23 矩阵元技术(深圳)有限公司 Block chain key escrow and restoration methods, device based on Secret sharing techniques
CN108768631A (en) * 2018-05-28 2018-11-06 夸克链科技(深圳)有限公司 A kind of block chain private key recovery mnemonic word System Design
CN110289968A (en) * 2019-06-27 2019-09-27 矩阵元技术(深圳)有限公司 Private key restores, cooperates with creation, endorsement method and device, the storage medium of address

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783918A (en) * 2020-07-03 2020-10-16 福建正孚软件有限公司 Safe two-dimensional code distribution method and system
CN111783918B (en) * 2020-07-03 2022-04-15 福建正孚软件有限公司 Safe two-dimensional code distribution method and system
CN112054907A (en) * 2020-08-25 2020-12-08 武汉大学 Block chain general certificate retrieving method and system when private key is forgotten
CN112054907B (en) * 2020-08-25 2021-10-22 武汉大学 Block chain general certificate retrieving method and system when private key is forgotten
CN113190234A (en) * 2021-05-21 2021-07-30 电子科技大学 Method and system for automatically recovering intelligent contract function signature of block chain

Also Published As

Publication number Publication date
CN111241596B (en) 2022-07-01

Similar Documents

Publication Publication Date Title
CN111241596B (en) Block chain asset account recovery method and device
CN111314069B (en) Block chain-based shaking system and method, electronic device and storage medium
CN111476573B (en) Account data processing method, device, equipment and storage medium
CN112738051B (en) Data information encryption method, system and computer readable storage medium
US9509665B2 (en) Protecting against malicious modification in cryptographic operations
CN111404892B (en) Data supervision method and device and server
CN112199697A (en) Information processing method, device, equipment and medium based on shared root key
EP4181456A1 (en) Secure integer comparison using binary trees
CN112184444A (en) Method, apparatus, device and medium for processing information based on information characteristics
CN114205084B (en) Quantum key-based electronic mail multi-operation encryption method and device
US11438156B2 (en) Method and system for securing data
CN115694949A (en) Private data sharing method and system based on block chain
CN112000978B (en) Private data output method, data processing system and storage medium
CN108846671B (en) Online secure transaction method and system based on block chain
CN112235104B (en) Data encryption transmission method, system, terminal and storage medium
CN113343255A (en) Data interaction method based on privacy protection
CN112003690B (en) Password service system, method and device
CN117155549A (en) Key distribution method, key distribution device, computer equipment and storage medium
CN113342802A (en) Method and device for storing block chain data
CN114510734B (en) Data access control method, device and computer readable storage medium
CN110784318A (en) Group key updating method, device, electronic equipment, storage medium and communication system
CN116132065A (en) Key determination method, device, computer equipment and storage medium
CN113726515B (en) UKEY-based key processing method, storage medium and electronic device
CN112836239A (en) Method and device for cooperatively determining target object data by two parties for protecting privacy
CN112202453A (en) Information processing method, device, equipment and medium for compressing ciphertext

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220803

Address after: 201702 room 235, area K, 2 / F, 158 Shuanglian Road, Qingpu District, Shanghai

Patentee after: Shanghai Jiansu Network Technology Co.,Ltd.

Address before: Room 4058, building 3, No. 495, Yuejin South Road, Xinhai Town, Chongming District, Shanghai 202172

Patentee before: Shanghai pelac Information Technology Co.,Ltd.