WO2020029930A1 - Asset retrieval method, device, and storage medium - Google Patents

Asset retrieval method, device, and storage medium Download PDF

Info

Publication number
WO2020029930A1
WO2020029930A1 PCT/CN2019/099335 CN2019099335W WO2020029930A1 WO 2020029930 A1 WO2020029930 A1 WO 2020029930A1 CN 2019099335 W CN2019099335 W CN 2019099335W WO 2020029930 A1 WO2020029930 A1 WO 2020029930A1
Authority
WO
WIPO (PCT)
Prior art keywords
account
request information
asset
contract
backup
Prior art date
Application number
PCT/CN2019/099335
Other languages
French (fr)
Chinese (zh)
Inventor
吴思进
王志文
Original Assignee
杭州复杂美科技有限公司
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 杭州复杂美科技有限公司 filed Critical 杭州复杂美科技有限公司
Publication of WO2020029930A1 publication Critical patent/WO2020029930A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • the invention relates to the technical field of blockchain, and relates to a method, a device and a storage medium for asset recovery.
  • a blockchain wallet has only a private key, and those who own the private key can deploy the area. All assets in the blockchain wallet.
  • the private key is a long string and is not readable, in order to facilitate the user to read and back up the private key, the private key is generated using a mnemonic word; the mnemonic word is usually composed of several English words or Chinese Words are organized in an order and usually appear once when a user creates a new wallet, and will never appear again later, so when creating a new wallet, users need to back up mnemonic words. Once they forget a mnemonic word, it is equivalent to losing it. All assets in the wallet.
  • the present invention provides an asset recovery method that solves or partially solves the above problems.
  • the present invention provides a method for asset recovery, including:
  • the assets managed by the master account are transferred to the backup account according to the asset recovery request information.
  • the present invention also provides a method for asset recovery, including:
  • Monitor whether a revocation instruction is received Yes, generate the revocation request information signed by the master account and send it to the first contract within a pre-configured timeout period for the first contract to revoke the asset retrieval request based on the revocation request information
  • the first contract is also configured to transfer the assets managed by the master account to the backup account according to the asset recovery request information when the revocation request information is not received within the timeout period.
  • the present invention also provides a method for asset recovery, including:
  • the managed assets are transferred to the backup account; the backup account and the master account are pre-configured linked accounts.
  • the present invention further provides an apparatus, including one or more processors and a memory, where the memory contains instructions executable by the one or more processors to cause the one or more processors to perform operations according to the present invention.
  • the method for asset recovery provided in the embodiment.
  • the present invention also provides a storage medium storing a computer program, which causes the computer to execute the asset recovery method provided by the embodiments of the present invention.
  • the invention designs an asset recovery method.
  • the asset recovery request information is written into the blockchain for the first account of the main account.
  • the second client obtains the asset retrieval request information by synchronizing the data of the blockchain.
  • the backup account and the main account are pre-configured associated accounts.
  • it monitors whether the signature is received by the second client within the pre-configured timeout period.
  • FIG. 1 is a schematic diagram of a scenario for asset recovery provided by an embodiment of the present invention.
  • FIG. 2 is a flowchart of an asset recovery method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a preferred embodiment of the method shown in FIG. 2.
  • FIG. 4 is a flowchart of an asset recovery method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of an asset recovery method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a scenario for asset recovery provided by an embodiment of the present invention.
  • the first contract 300, the user's main account 100, and the user-specified backup account 200 can provide the user with asset recovery services.
  • the master account 100 is configured with a master account private key 110
  • the backup account 200 is configured with a backup account private key 210.
  • the method for asset recovery provided by the present invention is described in detail below with reference to FIG. 2.
  • FIG. 2 is a flowchart of an asset recovery method according to an embodiment of the present invention. As shown in FIG. 2, in this embodiment, the present invention provides a method for asset recovery, including:
  • S12 Receive the asset retrieval request information signed and sent by the first client of the backup account, and write the asset retrieval request information to the blockchain for the second client of the master account to obtain data by synchronizing the blockchain Asset retrieval request information; among them, the backup account and the main account are pre-configured associated accounts;
  • the assets managed by the master account are transferred to the backup account according to the asset recovery request information.
  • the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and designates a standby account 200.
  • step S12 the first contract 300 receives the asset recovery request information signed by the first client 200 of the backup account and sending the 1kg gold asset back to the backup account 200, and writes the asset recovery request information to the area Blockchain for the second client 100 of the main account to obtain asset retrieval request information by synchronizing the data of the blockchain; wherein the backup account 200 and the main account 100 are pre-configured associated accounts;
  • step S14 the first contract 300 monitors, within a pre-configured timeout period, whether it has received the revocation request information signed and sent by the second client 100:
  • the 1kg gold asset managed by the main account 100 is transferred to the backup account 200 according to the asset recovery request information.
  • the asset recovery method provided by the present invention is described by taking the asset as gold as an example.
  • the asset recovery method provided by the present invention is not limited to the above examples, and may also be based on actual needs. Allocating assets to other physical or virtual assets can achieve the same technical effect.
  • FIG. 3 is a flowchart of a preferred embodiment of the method shown in FIG. 2.
  • the first contract receives the asset retrieval request information signed and sent by the first client of the backup account, and before writing the asset retrieval request information to the blockchain, it further includes:
  • S11 Receive the backup account designation request information signed and sent by the second client, and configure an association relationship between the master account and the designated backup account according to the backup account designation request information.
  • the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and designates a standby account 200.
  • step S11 the first contract 300 receives the backup account 200 designation request information signed and sent by the second client 100, and configures an association relationship between the primary account 100 and the designated backup account 200 according to the backup account designation request information.
  • both the master account private key 110 and the backup account private key 210 can allocate assets of the master account 100 in the first contract.
  • the method for establishing an association relationship between the master account and the backup account may be to establish an association relationship of “master account name, backup account name”, or may further include establishing a “master account name, backup account name, and master account's asset recovery contract The total amount of asset tokens in China ”and other related relationships.
  • the method for establishing an association relationship provided by the present invention is not limited to the above examples, and other parameters can also be used to configure and configure the association relationship according to actual requirements, all of which can achieve the same technical effect.
  • the first contract receives the asset custody request information signed and sent by the second client, and according to the asset custody request information, the requested asset is managed by the main account.
  • Assets can be real estate or other physical assets, or equity or other virtual assets.
  • the first contract further includes: canceling the association relationship between the master account and the backup account.
  • the method for canceling the association relationship between the master account and the backup account provided by the present invention is described by taking the user forgetting the private key of the master account and the standby account successfully retrieving the assets in the first contract as an example.
  • the implementation of the method of the embodiment is schematically described, but the description is not restrictive. In practical applications, those skilled in the art can make corresponding adjustments according to specific situations, and all belong to the protection scope of the present invention. .
  • the application scenario of the method for canceling the association relationship between the primary account and the backup account provided by the present invention is not limited to the above examples, and the method can also be applied to other application scenarios according to actual needs, which can be implemented Same technical effect.
  • the method for canceling the association relationship between the primary account and the backup account includes:
  • the first contract receives the request for canceling the association relationship submitted by the second client;
  • the first contract cancels the association relationship established between the main account and the backup account.
  • a hacker obtains the private key of a backup account
  • the backup account has established an association with a master account
  • the user deposits several assets into the first contract through the second client of the master account
  • the user did not forget the private key of the master account.
  • the hacker sends the asset recovery request information to the first contract after signing with the private key of the backup account;
  • the first contract receives the asset retrieval request information signed and sent by the first client of the backup account, and writes the asset retrieval request information to the blockchain for the second client of the master account to synchronize the blockchain data Obtaining asset retrieval request information;
  • the first contract receives the signed disassociation request information submitted by the second client; the first contract revokes the operation of transferring the managed assets to a backup account, ensuring the asset recovery contract The integrity of the assets in question;
  • the first contract canceled the association established between the main account and the backup account.
  • the private key of the backup account can no longer apply for asset recovery information, ensuring the security of the assets in the asset recovery contract.
  • FIG. 4 is a flowchart of an asset recovery method according to an embodiment of the present invention. As shown in FIG. 4, in this embodiment, the present invention provides a method for asset recovery, including:
  • S22 Synchronize the data of the blockchain to obtain the asset retrieval request information; wherein the asset retrieval request information is signed by the first client of the backup account and sent to the first contract, and the first contract is written into the blockchain,
  • the backup account is the linked account of the main account;
  • S24 Monitor whether a revocation instruction is received: Yes, then generate the revocation request information signed by the master account and send it to the first contract within a pre-configured timeout period for the first contract to revoke the asset retrieval based on the revocation request information The request information is returned; the first contract is also configured to transfer the assets managed by the master account to the backup account according to the asset recovery request information when the revocation request information is not received within the timeout period.
  • the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and Specify standby account 200.
  • step S22 the second client 100 of the main account synchronizes the data of the blockchain to obtain the asset retrieval request information for recovering 1kg of gold; wherein the asset retrieval request information is signed by the first client 200 of the backup account and Sent to the first contract 300, and written into the blockchain by the first contract 300, the backup account 200 is an associated account of the main account 100;
  • step S24 the second client 100 of the main account monitors whether or not a revocation instruction is received: if yes, the revocation request information signed by the main account 100 is generated and sent to the first contract 300 within a pre-configured timeout period to For the first contract 300 to revoke the asset recovery request information according to the revocation request information; wherein, the first contract 300 is also configured to transfer the main account according to the asset recovery request information when the revocation request information is not received within the timeout period. 100 custody of 1kg of gold assets was transferred to backup account 200.
  • the asset recovery method provided by the present invention is described by taking the asset as gold as an example.
  • the asset recovery method provided by the present invention is not limited to the above examples, and may also be based on actual needs. Allocating assets to other physical or virtual assets can achieve the same technical effect.
  • the master account generates backup account designation request information signed by the master account and sends it to the first contract for the first contract to configure the association relationship between the master account and the designated backup account according to the backup account designation request information.
  • the method for establishing an association relationship between the master account and the designated backup account may be to establish an association relationship of “master account name, backup account name”, or may further include establishing a “master account name, backup account name, and master account in assets "Retrieve the total amount of asset tokens in the contract.”
  • the method for establishing an association relationship provided by the present invention is not limited to the above examples, and other parameters can also be used to configure and configure the association relationship according to actual requirements, all of which can achieve the same technical effect.
  • the master account generates the asset custody request information signed by the master account and sends it to the first contract for the first contract to custody the assets requested by the master account based on the asset custody request information.
  • Assets can be real estate or other physical assets, or equity or other virtual assets.
  • the master account generates the disassociation request information signed by the master account and sends it to the first contract for the first contract to cancel the association relationship established between the master account and the backup account according to the disassociation request information.
  • a hacker obtains the private key of a backup account
  • the backup account has established an association with a master account
  • the user deposits several assets into the first contract through the second client of the master account
  • the user did not forget the private key of the master account.
  • the hacker sends the asset recovery request information to the first contract after signing with the private key of the backup account;
  • the master account synchronizes the data of the blockchain to obtain the asset retrieval request information, and judges whether the asset retrieval request information comes from the user's own operation. If the asset retrieval request information is not the user's own operation, the master account signature is generated to cancel the association.
  • the relationship request information is sent to the first contract for the first contract to cancel the association relationship established between the main account and the backup account according to the association cancellation request information.
  • FIG. 5 is a flowchart of an asset recovery method according to an embodiment of the present invention. As shown in FIG. 5, in this embodiment, the present invention provides a method for asset recovery, including:
  • S32 Generate the asset retrieval request information signed by the backup account and send it to the first contract for the first contract to write the asset retrieval request information to the blockchain for the second client of the master account to synchronize the blockchain Data acquisition request information for asset retrieval, and the first contract monitors whether a revocation retrieval request message signed and sent by the second client is received within a pre-configured timeout period: No, according to the asset retrieval request information, The assets managed by the master account are transferred to the backup account; the backup account and the master account are pre-configured linked accounts.
  • the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and designates a standby account 200.
  • step S32 the backup account 200 generates the asset recovery request information signed by the backup account and sends it to the first contract 300 for the first contract 300 to write the 1kg gold asset recovery request information into the blockchain for the host
  • the second client 100 of the account obtains the asset retrieval request information by synchronizing the data of the blockchain, and the first contract 300 monitors whether a revocation search signed by the second client 100 and sent is received within a pre-configured timeout period.
  • the asset recovery method provided by the present invention is described by taking the asset as gold as an example.
  • the asset recovery method provided by the present invention is not limited to the above examples, and may also be based on actual needs. Allocating assets to other physical or virtual assets can achieve the same technical effect.
  • FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present invention.
  • the present application further provides a device 600 including one or more central processing units (CPUs) 601, which may be based on a program stored in a read-only memory (ROM) 602 or The program loaded into the random access memory (RAM) 603 from the storage section 608 performs various appropriate actions and processes.
  • ROM read-only memory
  • RAM random access memory
  • various programs and data required for the operation of the device 600 are also stored.
  • the CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
  • An input / output (I / O) interface 605 is also connected to the bus 604.
  • the following components are connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage portion including a hard disk and the like 608; and a communication section 609 including a network interface card such as a LAN card, a modem, and the like.
  • the communication section 609 performs communication processing via a network such as the Internet.
  • the driver 610 is also connected to the I / O interface 605 as necessary.
  • a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
  • the asset recovery method described in any of the above embodiments may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product including a computer program tangibly embodied on a machine-readable medium, the computer program containing program code for performing an asset recovery method.
  • the computer program may be downloaded and installed from a network through the communication portion 609, and / or installed from a removable medium 611.
  • the present application further provides a computer-readable storage medium.
  • the computer-readable storage medium may be a computer-readable storage medium included in the device of the foregoing embodiment; it may also exist alone and not assembled in Computer-readable storage media in a device.
  • the computer-readable storage medium stores one or more programs, which are used by one or more processors to execute the asset recovery method described in this application.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more functions to implement a specified logical function Executable instructions.
  • the functions noted in the blocks may also occur in a different order than those marked in the drawings. For example, two blocks represented one after the other may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or operation , Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • the units or modules described in the embodiments of the present application may be implemented in a software manner, or may be implemented in a hardware manner.
  • the described units or modules may also be provided in a processor.
  • each of the units may be a software program provided in a computer or a mobile smart device, or may be a separately configured hardware device.
  • the names of these units or modules do not in any way constitute a limitation on the units or modules themselves.

Abstract

Designed in the present invention is an asset retrieval method: first receiving asset retrieval request information signed and sent by a first client terminal of a backup account, the asset retrieval request information being written to a blockchain for a second client terminal of a main account to acquire the asset retrieval request information by means of synchronising the data of the blockchain; the backup account and the main account are pre-configured linked accounts; next, monitoring whether revocation retrieval request information signed and sent by the second client is received within a pre-configured timeout duration; and, if not, then transferring the assets held in the main account to the backup account on the basis of the asset retrieval request information; thus, a method for retrieving assets even if the user forgets a main account private key or a main account memorable word is provided.

Description

一种资产找回方法、设备和存储介质Asset recovery method, equipment and storage medium 技术领域Technical field
本发明涉及区块链技术领域,涉及一种资产找回方法、设备和存储介质。The invention relates to the technical field of blockchain, and relates to a method, a device and a storage medium for asset recovery.
背景技术Background technique
随着区块链技术应用越来越广泛,基于区块链技术的交易越来越多。用户通常将小部分资产放在二级市场中进行交易,而将绝大部分资产放在区块链钱包中进行保存,一个区块链钱包只有一个私钥,拥有私钥的人可以调配该区块链钱包中的所有资产。With the increasing application of blockchain technology, more and more transactions based on blockchain technology. Users usually place a small amount of assets in the secondary market for transactions, and the vast majority of assets are stored in blockchain wallets. A blockchain wallet has only a private key, and those who own the private key can deploy the area. All assets in the blockchain wallet.
由于私钥是一串较长的字符串,没有可读性,因此,为了便于用户读取及备份私钥,私钥都使用助记词生成;助记词通常是由若干个英语单词或者中文单词有序组成,一般会在用户创建新钱包的时候出现一次,后面就再也不会出现了,所以创建新钱包时用户需要把助记词备份,一旦忘记了助记词,就相当于丢失了钱包中的所有资产。Because the private key is a long string and is not readable, in order to facilitate the user to read and back up the private key, the private key is generated using a mnemonic word; the mnemonic word is usually composed of several English words or Chinese Words are organized in an order and usually appear once when a user creates a new wallet, and will never appear again later, so when creating a new wallet, users need to back up mnemonic words. Once they forget a mnemonic word, it is equivalent to losing it. All assets in the wallet.
综上所述,当前需要提供一种即使忘记助记词也能找回区块链钱包中的资产的方法。In summary, there is currently a need to provide a method to retrieve assets in a blockchain wallet even if the mnemonic is forgotten.
发明内容Summary of the invention
有鉴于此,本发明提供一种解决或部分解决上述问题的一种资产找回方法。In view of this, the present invention provides an asset recovery method that solves or partially solves the above problems.
第一方面,本发明提供一种资产找回方法,包括:In a first aspect, the present invention provides a method for asset recovery, including:
接收由备份账户的第一客户端签名并发送的资产找回请求信息,将资产找回请求信息写入区块链,以供主账户的第二客户端通过同步区块链的数据获取资产找回请求信息;其中,备份账户与主账户为预配置的关联账户;Receives the asset retrieval request information signed and sent by the first client of the backup account, and writes the asset retrieval request information to the blockchain for the second client of the master account to obtain asset retrieval by synchronizing the data of the blockchain Request information back; among them, the backup account and the main account are pre-configured associated accounts;
在预配置的超时时长内监测是否接收到由第二客户端签名并发送的撤销找回请求信息:Monitoring whether a revocation request message signed and sent by the second client is received within a pre-configured timeout period:
否,则根据资产找回请求信息将主账户托管的资产划转至备份账户中。If not, the assets managed by the master account are transferred to the backup account according to the asset recovery request information.
第二方面,本发明还提供一种资产找回方法,包括:In a second aspect, the present invention also provides a method for asset recovery, including:
同步区块链的数据以获取资产找回请求信息;其中,资产找回请求信息由备份账户的第一客户端签名并发送至第一合约,并由第一合约写入区块链,备份账户为主账户的关联账户;Synchronize the data of the blockchain to obtain asset retrieval request information; wherein the asset retrieval request information is signed by the first client of the backup account and sent to the first contract, and the first contract is written into the blockchain to back up the account Linked accounts for the master account;
监测是否收到撤销指令:是,则生成主账户签名的撤销找回请求信息并在预配置的超时时长内发送至第一合约,以供第一合约根据撤销找回请求信息撤销资产找回请求信息;其中,第一合约还配置用于在超时时长内未收到撤销找回请求信息时根据资产找回请求信息将主账户托管的资产划转至备份账户中。Monitor whether a revocation instruction is received: Yes, generate the revocation request information signed by the master account and send it to the first contract within a pre-configured timeout period for the first contract to revoke the asset retrieval request based on the revocation request information Among them, the first contract is also configured to transfer the assets managed by the master account to the backup account according to the asset recovery request information when the revocation request information is not received within the timeout period.
第三方面,本发明还提供一种资产找回方法,包括:In a third aspect, the present invention also provides a method for asset recovery, including:
生成备份账户签名的资产找回请求信息并发送至第一合约,以供第一合约将资产找回请求信息写入区块链,以供主账户的第二客户端通过同步区块链的数据获取资产找回请求信息,以及,第一合约在预配置的超时时长内监测是否接收到由第二客户端签名并发送的撤销找回请求信息:否,则根据资产找回请求信息将主账户托管的资产划转至备份账户中;其中,备份账户与主账户为预配置的关联账户。Generate asset recovery request information signed by the backup account and send it to the first contract for the first contract to write the asset recovery request information to the blockchain for the second client of the main account to synchronize the data of the blockchain Obtain asset retrieval request information, and the first contract monitors whether a revocation retrieval request message signed and sent by the second client is received within a pre-configured timeout period: No, the main account is based on the asset retrieval request information The managed assets are transferred to the backup account; the backup account and the master account are pre-configured linked accounts.
第四方面,本发明还提供一种设备,包括一个或多个处理器和存储器,其中存储器包含可由该一个或多个处理器执行的指令以使得该一个或多个处理器执行根据本发明各实施例提供的资产找回方法。According to a fourth aspect, the present invention further provides an apparatus, including one or more processors and a memory, where the memory contains instructions executable by the one or more processors to cause the one or more processors to perform operations according to the present invention. The method for asset recovery provided in the embodiment.
第五方面,本发明还提供一种存储有计算机程序的存储介质,该计算机程序使计算机执行根据本发明各实施例提供的资产找回方法。According to a fifth aspect, the present invention also provides a storage medium storing a computer program, which causes the computer to execute the asset recovery method provided by the embodiments of the present invention.
本发明的有益成果为:The beneficial results of the present invention are:
本发明设计了一种资产找回方法,通过首先接收由备份账户的第一客户端签名并发送的资产找回请求信息,将资产找回请求信息写入区块链,以供主账户的第二客户端通过同步区块链的数据获取资产找回请求信息;其中,备份账户与主账户为预配置的关联账户;其次,在预配置的超时时长内监测是否接收到由第二客户端签名并发送的撤销找回请求信息:否,则根据资产找回请求信息将主账户托管的资产划转至备份账户中的方法,提供了一种用户即使忘记主账户私钥或主账户助记词的情况下,依然可以找回资产的方法。The invention designs an asset recovery method. By first receiving the asset recovery request information signed and sent by the first client of the backup account, the asset recovery request information is written into the blockchain for the first account of the main account. The second client obtains the asset retrieval request information by synchronizing the data of the blockchain. Among them, the backup account and the main account are pre-configured associated accounts. Second, it monitors whether the signature is received by the second client within the pre-configured timeout period. And send the information of the request to cancel the recovery: No, the method of transferring the assets held by the master account to the backup account according to the information of the asset recovery request provides a method for users to forget the master account private key or master account mnemonic In the case of assets, there is still a way to recover assets.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following drawings:
图1为本发明一实施例提供的一种资产找回的场景示意图。FIG. 1 is a schematic diagram of a scenario for asset recovery provided by an embodiment of the present invention.
图2为本发明一实施例提供的一种资产找回方法的流程图。FIG. 2 is a flowchart of an asset recovery method according to an embodiment of the present invention.
图3为图2所示方法的一种优选实施方式的流程图。FIG. 3 is a flowchart of a preferred embodiment of the method shown in FIG. 2.
图4为本发明一实施例提供的一种资产找回方法的流程图。FIG. 4 is a flowchart of an asset recovery method according to an embodiment of the present invention.
图5为本发明一实施例提供的一种资产找回方法的流程图。FIG. 5 is a flowchart of an asset recovery method according to an embodiment of the present invention.
图6为本发明一实施例提供的一种设备的结构示意图。FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present invention.
具体实施方法Specific implementation method
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体 实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与发明相关的部分。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。The following describes the present application in detail with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. It should also be noted that, for convenience of description, only the parts related to the invention are shown in the drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The application will be described in detail below with reference to the drawings and embodiments.
图1为本发明一实施例提供的一种资产找回的场景示意图。FIG. 1 is a schematic diagram of a scenario for asset recovery provided by an embodiment of the present invention.
如图1所示,在本实施例中,第一合约300、用户的主账户100、用户指定的备份账户200可以为用户提供资产找回服务。在本实施例中,主账户100配置有主账户私钥110,备份账户200配置有备份账户私钥210。以下结合图2对本发明提供的资产找回方法进行具体说明。As shown in FIG. 1, in this embodiment, the first contract 300, the user's main account 100, and the user-specified backup account 200 can provide the user with asset recovery services. In this embodiment, the master account 100 is configured with a master account private key 110, and the backup account 200 is configured with a backup account private key 210. The method for asset recovery provided by the present invention is described in detail below with reference to FIG. 2.
图2为本发明一实施例提供的一种资产找回方法的流程图。如图2所示,在本实施例中,本发明提供一种资产找回方法,包括:FIG. 2 is a flowchart of an asset recovery method according to an embodiment of the present invention. As shown in FIG. 2, in this embodiment, the present invention provides a method for asset recovery, including:
S12:接收由备份账户的第一客户端签名并发送的资产找回请求信息,将资产找回请求信息写入区块链,以供主账户的第二客户端通过同步区块链的数据获取资产找回请求信息;其中,备份账户与主账户为预配置的关联账户;S12: Receive the asset retrieval request information signed and sent by the first client of the backup account, and write the asset retrieval request information to the blockchain for the second client of the master account to obtain data by synchronizing the blockchain Asset retrieval request information; among them, the backup account and the main account are pre-configured associated accounts;
S14:在预配置的超时时长内监测是否接收到由第二客户端签名并发送的撤销找回请求信息:S14: Within a pre-configured timeout period, it is monitored whether the revocation request information signed and sent by the second client is received:
否,则根据资产找回请求信息将主账户托管的资产划转至备份账户中。If not, the assets managed by the master account are transferred to the backup account according to the asset recovery request information.
具体地,以图1所示的应用场景为例,用户使用主账户的第二客户端100将1kg黄金的资产托管放入第一合约300中,并指定备用账户200。Specifically, taking the application scenario shown in FIG. 1 as an example, the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and designates a standby account 200.
在步骤S12中,第一合约300接收由备份账户的第一客户端200签名并发送的将1kg黄金的资产找回到备份账户200的资产找回请求信息,将资产找回请求信息写入区块链,以供主账户的第二客户端100通过同步区块链的数据获取资产找回请求信息;其中,备份账户200与主账户100为预配置的关联账户;In step S12, the first contract 300 receives the asset recovery request information signed by the first client 200 of the backup account and sending the 1kg gold asset back to the backup account 200, and writes the asset recovery request information to the area Blockchain for the second client 100 of the main account to obtain asset retrieval request information by synchronizing the data of the blockchain; wherein the backup account 200 and the main account 100 are pre-configured associated accounts;
在步骤S14中:第一合约300在预配置的超时时长内监测是否接收到由第二客户端100签名并发送的撤销找回请求信息:In step S14: the first contract 300 monitors, within a pre-configured timeout period, whether it has received the revocation request information signed and sent by the second client 100:
否,则根据资产找回请求信息将主账户100托管的1kg黄金的资产划转至备份账户200中。If not, the 1kg gold asset managed by the main account 100 is transferred to the backup account 200 according to the asset recovery request information.
上述实施例中以资产为黄金为例对本发明提供的资产找回方法进行了阐述,在更多实施例中,本发明提供的资产找回方法不以上述例举为限,还可以根据实际需求将资产配置为其它实物资产或虚拟资产,均可实现相同的技术效果。In the above embodiments, the asset recovery method provided by the present invention is described by taking the asset as gold as an example. In more embodiments, the asset recovery method provided by the present invention is not limited to the above examples, and may also be based on actual needs. Allocating assets to other physical or virtual assets can achieve the same technical effect.
图3为图2所示方法的一种优选实施方式的流程图。如图3所示,在一优选实施例中,第一合约接收由备份账户的第一客户端签名并发送的资产找回请求信息,将资产找回请求信息写入区块链之前还包括:FIG. 3 is a flowchart of a preferred embodiment of the method shown in FIG. 2. As shown in FIG. 3, in a preferred embodiment, the first contract receives the asset retrieval request information signed and sent by the first client of the backup account, and before writing the asset retrieval request information to the blockchain, it further includes:
S11:接收第二客户端签名并发送的备份账户指定请求信息,根据备份账户指定请求信息 为主账户和所指定的备份账户配置关联关系。S11: Receive the backup account designation request information signed and sent by the second client, and configure an association relationship between the master account and the designated backup account according to the backup account designation request information.
具体地,以图1所示的应用场景为例,用户使用主账户的第二客户端100将1kg黄金的资产托管放入第一合约300中,并指定备用账户200。Specifically, taking the application scenario shown in FIG. 1 as an example, the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and designates a standby account 200.
在步骤S11中,第一合约300接收第二客户端100签名并发送的备份账户200指定请求信息,根据备份账户指定请求信息为主账户100和所指定的备份账户200配置关联关系。In step S11, the first contract 300 receives the backup account 200 designation request information signed and sent by the second client 100, and configures an association relationship between the primary account 100 and the designated backup account 200 according to the backup account designation request information.
其中,主账户100和所指定的备份账户200配置关联关系后,此时主账户私钥110和备用账户私钥210都可以调配主账户100托管在第一合约中的资产。具体地,主账户与备份账户建立关联关系的方法可以是建立“主账户名、备用账户名”的关联关系,也可以进一步包括建立“主账户名、备用账户名、主账户在资产找回合约中资产代币的总量”的关联关系等关联关系。本发明提供的建立关联关系的方法不以上述例举为限,还可以根据实际需求使用其它参数配置配置关联关系,均可实现相同的技术效果。After the master account 100 and the designated backup account 200 are configured to associate with each other, at this time, both the master account private key 110 and the backup account private key 210 can allocate assets of the master account 100 in the first contract. Specifically, the method for establishing an association relationship between the master account and the backup account may be to establish an association relationship of “master account name, backup account name”, or may further include establishing a “master account name, backup account name, and master account's asset recovery contract The total amount of asset tokens in China ”and other related relationships. The method for establishing an association relationship provided by the present invention is not limited to the above examples, and other parameters can also be used to configure and configure the association relationship according to actual requirements, all of which can achieve the same technical effect.
在一优选实施例中,第一合约接收第二客户端签名并发送的资产托管请求信息,根据资产托管请求信息为主账户托管所请求托管的资产。资产可以是房产或其它实物资产,也可以是股权或其它虚拟资产。In a preferred embodiment, the first contract receives the asset custody request information signed and sent by the second client, and according to the asset custody request information, the requested asset is managed by the main account. Assets can be real estate or other physical assets, or equity or other virtual assets.
在一优选实施例中,第一合约在根据资产找回请求信息将主账户托管的资产划转至备份账户中步骤之后还包括:取消主账户与备份账户的关联关系。In a preferred embodiment, after the step of transferring the assets managed by the master account to the backup account according to the asset retrieval request information, the first contract further includes: canceling the association relationship between the master account and the backup account.
上述实施例中以用户忘记主账户私钥,备用账户成功取回第一合约中的资产为例对本发明提供的取消主账户与备份账户的关联关系的方法进行了阐述,并对该场景下本实施例的方法的实施方式进行了示意性的描述,但该描述并没有限制性,在实际应用中,本领域的普通技术人员可根据具体情况,做相应调整,均应属于本发明的保护范围。本发明除可以应用在上述实施例中的应用场景中外,如果本领域普通技术人员受其启发,在不脱离本发明创造宗旨的情况下,可以在其他应用场景下推广使用,且不经创造性的设计出与本发明的技术方案相似的方法及实施例,均应属于本发明的保护范围。In the above embodiment, the method for canceling the association relationship between the master account and the backup account provided by the present invention is described by taking the user forgetting the private key of the master account and the standby account successfully retrieving the assets in the first contract as an example. The implementation of the method of the embodiment is schematically described, but the description is not restrictive. In practical applications, those skilled in the art can make corresponding adjustments according to specific situations, and all belong to the protection scope of the present invention. . In addition to the application of the present invention in the application scenarios in the above embodiments, if a person of ordinary skill in the art is inspired by it, it can be promoted and used in other application scenarios without departing from the purpose of the present invention, and without creative Designing methods and embodiments similar to the technical solution of the present invention shall all belong to the protection scope of the present invention.
在更多实施例中,本发明提供的该取消主账户与备份账户的关联关系方法的应用场景不以上述例举为限,还可以根据实际需求将该方法运用于其它应用场景,均可实现相同的技术效果。In more embodiments, the application scenario of the method for canceling the association relationship between the primary account and the backup account provided by the present invention is not limited to the above examples, and the method can also be applied to other application scenarios according to actual needs, which can be implemented Same technical effect.
在一优选实施例中,取消主账户与备份账户的关联关系的方法包括:In a preferred embodiment, the method for canceling the association relationship between the primary account and the backup account includes:
第一合约接收第二客户端提交的取消关联关系请求信息;The first contract receives the request for canceling the association relationship submitted by the second client;
第一合约取消主账户与备份账户建立的关联关系。The first contract cancels the association relationship established between the main account and the backup account.
具体地,有如下应用场景:某一时刻黑客获得了备份账户的私钥,此备份账户与某主账户已建立关联关系,用户通过主账户的第二客户端将若干资产托管放入第一合约中,用户未忘记主账户的私钥,此时,黑客使用备份账户的私钥签名后向第一合约发送资产找回请求信息;Specifically, there are the following application scenarios: at some point, a hacker obtains the private key of a backup account, the backup account has established an association with a master account, and the user deposits several assets into the first contract through the second client of the master account The user did not forget the private key of the master account. At this time, the hacker sends the asset recovery request information to the first contract after signing with the private key of the backup account;
第一合约接收由备份账户的第一客户端签名并发送的资产找回请求信息,将资产找回请求信息写入区块链,以供主账户的第二客户端通过同步区块链的数据获取资产找回请求信息;The first contract receives the asset retrieval request information signed and sent by the first client of the backup account, and writes the asset retrieval request information to the blockchain for the second client of the master account to synchronize the blockchain data Obtaining asset retrieval request information;
在预配置的超时时长内,第一合约接收第二客户端提交的经签名的取消关联关系请求信息;第一合约撤销将托管的资产划转至备份账户中的操作,确保了资产找回合约中资产的完整性;Within the pre-configured timeout period, the first contract receives the signed disassociation request information submitted by the second client; the first contract revokes the operation of transferring the managed assets to a backup account, ensuring the asset recovery contract The integrity of the assets in question;
第一合约取消主账户与备份账户建立的关联关系,此时,备份账户的私钥无法再申请资产找回信息,确保了资产找回合约中资产的安全性。The first contract canceled the association established between the main account and the backup account. At this time, the private key of the backup account can no longer apply for asset recovery information, ensuring the security of the assets in the asset recovery contract.
本实施例仅列举了本发明所述方法的一个应用场景,并对该场景下本实施例的方法的实施方式进行了示意性的描述,但该描述并没有限制性,在实际应用中,本领域的普通技术人员可根据具体情况,做相应调整,均应属于本发明的保护范围。本发明除可以应用在上述实施例中的应用场景中外,如果本领域普通技术人员受其启发,在不脱离本发明创造宗旨的情况下,可以在其他应用场景下推广使用,且不经创造性的设计出与本发明的技术方案相似的方法及实施例,均应属于本发明的保护范围。This embodiment only lists an application scenario of the method described in the present invention, and describes the implementation manner of the method in this embodiment in this scenario, but the description is not restrictive. In practical applications, this method Those skilled in the art can make corresponding adjustments according to specific situations, and all of them should fall into the protection scope of the present invention. In addition to the application of the present invention in the application scenarios in the above embodiments, if a person of ordinary skill in the art is inspired by it, it can be promoted and used in other application scenarios without departing from the purpose of the present invention, and without creative Designing methods and embodiments similar to the technical solution of the present invention shall all belong to the protection scope of the present invention.
图4为本发明一实施例提供的一种资产找回方法的流程图。如图4所示,在本实施例中,本发明提供一种资产找回方法,包括:FIG. 4 is a flowchart of an asset recovery method according to an embodiment of the present invention. As shown in FIG. 4, in this embodiment, the present invention provides a method for asset recovery, including:
S22:同步区块链的数据以获取资产找回请求信息;其中,资产找回请求信息由备份账户的第一客户端签名并发送至第一合约,并由第一合约写入区块链,备份账户为主账户的关联账户;S22: Synchronize the data of the blockchain to obtain the asset retrieval request information; wherein the asset retrieval request information is signed by the first client of the backup account and sent to the first contract, and the first contract is written into the blockchain, The backup account is the linked account of the main account;
S24:监测是否收到撤销指令:是,则生成主账户签名的撤销找回请求信息并在预配置的超时时长内发送至第一合约,以供第一合约根据撤销找回请求信息撤销资产找回请求信息;其中,第一合约还配置用于在超时时长内未收到撤销找回请求信息时根据资产找回请求信息将主账户托管的资产划转至备份账户中。S24: Monitor whether a revocation instruction is received: Yes, then generate the revocation request information signed by the master account and send it to the first contract within a pre-configured timeout period for the first contract to revoke the asset retrieval based on the revocation request information The request information is returned; the first contract is also configured to transfer the assets managed by the master account to the backup account according to the asset recovery request information when the revocation request information is not received within the timeout period.
具体地,以图1所示的应用场景为例,以图1所示的应用场景为例,用户使用主账户的第二客户端100将1kg黄金的资产托管放入第一合约300中,并指定备用账户200。Specifically, taking the application scenario shown in FIG. 1 as an example, and taking the application scenario shown in FIG. 1 as an example, the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and Specify standby account 200.
在步骤S22中,主账户的第二客户端100同步区块链的数据以获取找回1kg黄金的资产找回请求信息;其中,资产找回请求信息由备份账户的第一客户端200签名并发送至第一合约300,并由第一合约300写入区块链,备份账户200为主账户100的关联账户;In step S22, the second client 100 of the main account synchronizes the data of the blockchain to obtain the asset retrieval request information for recovering 1kg of gold; wherein the asset retrieval request information is signed by the first client 200 of the backup account and Sent to the first contract 300, and written into the blockchain by the first contract 300, the backup account 200 is an associated account of the main account 100;
在步骤S24中,主账户的第二客户端100监测是否收到撤销指令:是,则生成主账户100签名的撤销找回请求信息并在预配置的超时时长内发送至第一合约300,以供第一合约300根据撤销找回请求信息撤销资产找回请求信息;其中,第一合约300还配置用于在超时时长内未收到撤销找回请求信息时根据资产找回请求信息将主账户100托管的1kg黄金的资产划转至备份账户200中。In step S24, the second client 100 of the main account monitors whether or not a revocation instruction is received: if yes, the revocation request information signed by the main account 100 is generated and sent to the first contract 300 within a pre-configured timeout period to For the first contract 300 to revoke the asset recovery request information according to the revocation request information; wherein, the first contract 300 is also configured to transfer the main account according to the asset recovery request information when the revocation request information is not received within the timeout period. 100 custody of 1kg of gold assets was transferred to backup account 200.
上述实施例中以资产为黄金为例对本发明提供的资产找回方法进行了阐述,在更多实施例中,本发明提供的资产找回方法不以上述例举为限,还可以根据实际需求将资产配置为其它实物资产或虚拟资产,均可实现相同的技术效果。In the above embodiments, the asset recovery method provided by the present invention is described by taking the asset as gold as an example. In more embodiments, the asset recovery method provided by the present invention is not limited to the above examples, and may also be based on actual needs. Allocating assets to other physical or virtual assets can achieve the same technical effect.
在一优选实施例中,主账户生成主账户签名的备份账户指定请求信息并发送至第一合约,以供第一合约根据备份账户指定请求信息为主账户和所指定的备份账户配置关联关系。具体地,主账户与所指定的备份账户建立关联关系的方法可以是建立“主账户名、备用账户名”的关联关系,也可以进一步包括建立“主账户名、备用账户名、主账户在资产找回合约中资产代币的总量”的关联关系等关联关系。本发明提供的建立关联关系的方法不以上述例举为限,还可以根据实际需求使用其它参数配置配置关联关系,均可实现相同的技术效果。In a preferred embodiment, the master account generates backup account designation request information signed by the master account and sends it to the first contract for the first contract to configure the association relationship between the master account and the designated backup account according to the backup account designation request information. Specifically, the method for establishing an association relationship between the master account and the designated backup account may be to establish an association relationship of “master account name, backup account name”, or may further include establishing a “master account name, backup account name, and master account in assets "Retrieve the total amount of asset tokens in the contract." The method for establishing an association relationship provided by the present invention is not limited to the above examples, and other parameters can also be used to configure and configure the association relationship according to actual requirements, all of which can achieve the same technical effect.
在一优选实施例中,主账户生成主账户签名的资产托管请求信息并发送至第一合约,以供第一合约根据资产托管请求信息为主账户托管所请求托管的资产。资产可以是房产或其它实物资产,也可以是股权或其它虚拟资产。In a preferred embodiment, the master account generates the asset custody request information signed by the master account and sends it to the first contract for the first contract to custody the assets requested by the master account based on the asset custody request information. Assets can be real estate or other physical assets, or equity or other virtual assets.
在一优选实施例中,主账户生成主账户签名的取消关联关系请求信息并发送至第一合约,以供第一合约根据取消关联关系请求信息取消主账户与备份账户建立的关联关系。In a preferred embodiment, the master account generates the disassociation request information signed by the master account and sends it to the first contract for the first contract to cancel the association relationship established between the master account and the backup account according to the disassociation request information.
具体地,有如下应用场景:某一时刻黑客获得了备份账户的私钥,此备份账户与某主账户已建立关联关系,用户通过主账户的第二客户端将若干资产托管放入第一合约中,用户未忘记主账户的私钥,此时,黑客使用备份账户的私钥签名后向第一合约发送资产找回请求信息;Specifically, there are the following application scenarios: at some point, a hacker obtains the private key of a backup account, the backup account has established an association with a master account, and the user deposits several assets into the first contract through the second client of the master account The user did not forget the private key of the master account. At this time, the hacker sends the asset recovery request information to the first contract after signing with the private key of the backup account;
主账户同步区块链的数据以获取资产找回请求信息,并判断此资产找回请求信息是否来自用户本人操作,若此资产找回请求信息并非用户本人操作,则生成主账户签名的取消关联关系请求信息并发送至第一合约,以供第一合约根据取消关联关系请求信息取消主账户与备份账户建立的关联关系。The master account synchronizes the data of the blockchain to obtain the asset retrieval request information, and judges whether the asset retrieval request information comes from the user's own operation. If the asset retrieval request information is not the user's own operation, the master account signature is generated to cancel the association. The relationship request information is sent to the first contract for the first contract to cancel the association relationship established between the main account and the backup account according to the association cancellation request information.
本实施例仅列举了本发明所述方法的一个应用场景,并对该场景下本实施例的方法的实施方式进行了示意性的描述,但该描述并没有限制性,在实际应用中,本领域的普通技术人员可根据具体情况,做相应调整,均应属于本发明的保护范围。本发明除可以应用在上述实施例中的应用场景中外,如果本领域普通技术人员受其启发,在不脱离本发明创造宗旨的情况下,可以在其他应用场景下推广使用,且不经创造性的设计出与本发明的技术方案相似的方法及实施例,均应属于本发明的保护范围。This embodiment only lists an application scenario of the method described in the present invention, and describes the implementation manner of the method in this embodiment in this scenario, but the description is not restrictive. In practical applications, this method Those skilled in the art can make corresponding adjustments according to specific situations, and all of them should fall into the protection scope of the present invention. In addition to the application of the present invention in the application scenarios in the above embodiments, if a person of ordinary skill in the art is inspired by it, it can be promoted and used in other application scenarios without departing from the purpose of the present invention, and without creative Designing methods and embodiments similar to the technical solution of the present invention shall all belong to the protection scope of the present invention.
图5为本发明一实施例提供的一种资产找回方法的流程图。如图5所示,在本实施例中,本发明提供一种资产找回方法,包括:FIG. 5 is a flowchart of an asset recovery method according to an embodiment of the present invention. As shown in FIG. 5, in this embodiment, the present invention provides a method for asset recovery, including:
S32:生成备份账户签名的资产找回请求信息并发送至第一合约,以供第一合约将资产找回请求信息写入区块链,以供主账户的第二客户端通过同步区块链的数据获取资产找回请求信 息,以及,第一合约在预配置的超时时长内监测是否接收到由第二客户端签名并发送的撤销找回请求信息:否,则根据资产找回请求信息将主账户托管的资产划转至备份账户中;其中,备份账户与主账户为预配置的关联账户。S32: Generate the asset retrieval request information signed by the backup account and send it to the first contract for the first contract to write the asset retrieval request information to the blockchain for the second client of the master account to synchronize the blockchain Data acquisition request information for asset retrieval, and the first contract monitors whether a revocation retrieval request message signed and sent by the second client is received within a pre-configured timeout period: No, according to the asset retrieval request information, The assets managed by the master account are transferred to the backup account; the backup account and the master account are pre-configured linked accounts.
具体地,以图1所示的应用场景为例,用户使用主账户的第二客户端100将1kg黄金的资产托管放入第一合约300中,并指定备用账户200。Specifically, taking the application scenario shown in FIG. 1 as an example, the user uses the second client 100 of the main account to deposit 1 kg of gold assets into the first contract 300, and designates a standby account 200.
在步骤S32中,备份账户200生成备份账户签名的资产找回请求信息并发送至第一合约300,以供第一合约300将1kg黄金的资产找回请求信息写入区块链,以供主账户的第二客户端100通过同步区块链的数据获取资产找回请求信息,以及,第一合约300在预配置的超时时长内监测是否接收到由第二客户端100签名并发送的撤销找回请求信息:否,则根据资产找回请求信息将主账户100托管的资产划转至备份账户200中;其中,备份账户200与主账户100为预配置的关联账户。In step S32, the backup account 200 generates the asset recovery request information signed by the backup account and sends it to the first contract 300 for the first contract 300 to write the 1kg gold asset recovery request information into the blockchain for the host The second client 100 of the account obtains the asset retrieval request information by synchronizing the data of the blockchain, and the first contract 300 monitors whether a revocation search signed by the second client 100 and sent is received within a pre-configured timeout period. Request information back: No, the assets managed by the main account 100 are transferred to the backup account 200 according to the asset retrieval request information; wherein the backup account 200 and the main account 100 are pre-configured associated accounts.
上述实施例中以资产为黄金为例对本发明提供的资产找回方法进行了阐述,在更多实施例中,本发明提供的资产找回方法不以上述例举为限,还可以根据实际需求将资产配置为其它实物资产或虚拟资产,均可实现相同的技术效果。In the above embodiments, the asset recovery method provided by the present invention is described by taking the asset as gold as an example. In more embodiments, the asset recovery method provided by the present invention is not limited to the above examples, and may also be based on actual needs. Allocating assets to other physical or virtual assets can achieve the same technical effect.
图6为本发明一实施例提供的一种设备的结构示意图。FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present invention.
如图6所示,作为另一方面,本申请还提供了一种设备600,包括一个或多个中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM603中,还存储有设备600操作所需的各种程序和数据。CPU601、ROM602以及RAM603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6, as another aspect, the present application further provides a device 600 including one or more central processing units (CPUs) 601, which may be based on a program stored in a read-only memory (ROM) 602 or The program loaded into the random access memory (RAM) 603 from the storage section 608 performs various appropriate actions and processes. In the RAM 603, various programs and data required for the operation of the device 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(C RT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage portion including a hard disk and the like 608; and a communication section 609 including a network interface card such as a LAN card, a modem, and the like. The communication section 609 performs communication processing via a network such as the Internet. The driver 610 is also connected to the I / O interface 605 as necessary. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
特别地,根据本公开的实施例,上述任一实施例描述的资产找回方法可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,所述计算机程序包含用于执行资产找回方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。In particular, according to an embodiment of the present disclosure, the asset recovery method described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program tangibly embodied on a machine-readable medium, the computer program containing program code for performing an asset recovery method. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and / or installed from a removable medium 611.
作为又一方面,本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例的装置中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,该程序被一个或者一个以上的处理器用来执行描述于本申请的资产找回方法。As yet another aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium may be a computer-readable storage medium included in the device of the foregoing embodiment; it may also exist alone and not assembled in Computer-readable storage media in a device. The computer-readable storage medium stores one or more programs, which are used by one or more processors to execute the asset recovery method described in this application.
附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这根据所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以通过执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以通过专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more functions to implement a specified logical function Executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than those marked in the drawings. For example, two blocks represented one after the other may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or operation , Or it can be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,例如,各所述单元可以是设置在计算机或移动智能设备中的软件程序,也可以是单独配置的硬件装置。其中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。The units or modules described in the embodiments of the present application may be implemented in a software manner, or may be implemented in a hardware manner. The described units or modules may also be provided in a processor. For example, each of the units may be a software program provided in a computer or a mobile smart device, or may be a separately configured hardware device. Among them, the names of these units or modules do not in any way constitute a limitation on the units or modules themselves.
以上所述仅为本发明之较佳实施例,并非用以限定本发明的权利要求保护范围。同时以上说明,对于相关技术领域的技术人员应可以理解及实施,因此其他基于本发明所揭示内容所完成的等同改变,均应包含在本权利要求书的涵盖范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of protection of the claims of the present invention. At the same time, the above description should be understood and implemented by those skilled in the relevant technical field, so other equivalent changes made based on the disclosure of the present invention should be included in the scope of the claims.

Claims (12)

  1. 一种资产找回方法,其特征在于,包括:A method for asset recovery, which includes:
    接收由备份账户的第一客户端签名并发送的资产找回请求信息,将所述资产找回请求信息写入区块链,以供主账户的第二客户端通过同步所述区块链的数据获取所述资产找回请求信息;其中,所述备份账户与所述主账户为预配置的关联账户;Receive the asset retrieval request information signed and sent by the first client of the backup account, and write the asset retrieval request information into the blockchain for the second client of the master account to synchronize the Data obtaining the asset retrieval request information; wherein the backup account and the main account are pre-configured associated accounts;
    在预配置的超时时长内监测是否接收到由所述第二客户端签名并发送的撤销找回请求信息:Monitoring whether a revocation request message signed and sent by the second client is received within a pre-configured timeout period:
    否,则根据所述资产找回请求信息将所述主账户托管的资产划转至所述备份账户中。If not, the assets managed by the master account are transferred to the backup account according to the asset retrieval request information.
  2. 根据权利要求1所述的方法,其特征在于,所述接收由备份账户的第一客户端签名并发送的资产找回请求信息,将所述资产找回请求信息写入区块链之前还包括:The method according to claim 1, wherein the receiving the asset retrieval request information signed and sent by the first client of the backup account, and before writing the asset retrieval request information into a blockchain, further comprising: :
    接收所述第二客户端签名并发送的备份账户指定请求信息,根据所述备份账户指定请求信息为所述主账户和所指定的备份账户配置关联关系。Receiving the backup account designation request information signed and sent by the second client, and configuring an association relationship between the master account and the designated backup account according to the backup account designation request information.
  3. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    接收所述第二客户端签名并发送的资产托管请求信息,根据所述资产托管请求信息为所述主账户托管所请求托管的资产。Receiving the asset custody request information signed and sent by the second client, and hosting the requested custody asset for the main account according to the asset custody request information.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述资产找回请求信息将所述主账户托管的资产划转至所述备份账户中之后还包括:The method according to any one of claims 1 to 3, wherein after transferring the assets managed by the master account to the backup account according to the asset retrieval request information, further comprising:
    取消所述主账户与所述备份账户的关联关系。Cancel the association between the master account and the backup account.
  5. 根据权利要求1-3任一项所述的方法,其特征在于,包括:The method according to any one of claims 1-3, comprising:
    接收所述第二客户端提交的取消关联关系请求信息;Receiving the request for canceling the association relationship submitted by the second client;
    取消所述主账户与所述备份账户建立的关联关系。Cancel the association relationship established between the master account and the backup account.
  6. 一种资产找回方法,其特征在于,包括:A method for asset recovery, which includes:
    同步区块链的数据以获取资产找回请求信息;其中,所述资产找回请求信息由备份账户的第一客户端签名并发送至第一合约,并由所述第一合约写入所述区块链,所述备份账户为主账户的关联账户;Synchronize data of the blockchain to obtain asset retrieval request information; wherein the asset retrieval request information is signed by a first client of a backup account and sent to a first contract, and written into the first contract by the first contract Blockchain, the backup account is an associated account of the main account;
    监测是否收到撤销指令:是,则生成所述主账户签名的撤销找回请求信息并在预配置的超 时时长内发送至所述第一合约,以供所述第一合约根据所述撤销找回请求信息撤销所述资产找回请求信息;其中,所述第一合约还配置用于在所述超时时长内未收到所述撤销找回请求信息时根据所述资产找回请求信息将所述主账户托管的资产划转至所述备份账户中。Monitoring whether a revocation instruction is received: yes, then generating the revocation request information signed by the master account and sending it to the first contract within a pre-configured timeout period for the first contract to find based on the revocation The request information is used to revoke the asset retrieval request information; wherein the first contract is further configured to, when the revocation request information is not received within the timeout period, to delete all assets according to the asset retrieval request information; The assets held by the master account are transferred to the backup account.
  7. 根据权利要求6所述的方法,其特征在于,还包括:The method according to claim 6, further comprising:
    生成主账户签名的备份账户指定请求信息并发送至所述第一合约,以供所述第一合约根据所述备份账户指定请求信息为所述主账户和所指定的备份账户配置关联关系。Generate backup account designation request information signed by the master account and send it to the first contract for the first contract to configure an association relationship between the master account and the designated backup account according to the backup account designation request information.
  8. 根据权利要求6所述的方法,其特征在于,还包括:The method according to claim 6, further comprising:
    生成主账户签名的资产托管请求信息并发送至所述第一合约,以供所述第一合约根据所述资产托管请求信息为所述主账户托管所请求托管的资产。Generating the asset custody request information signed by the master account and sending it to the first contract for the first contract to custody the assets requested to be managed by the master account according to the asset custody request information.
  9. 根据权利要求6-8任一项所述的方法,其特征在于,还包括:The method according to any one of claims 6-8, further comprising:
    生成主账户签名的取消关联关系请求信息并发送至所述第一合约,以供所述第一合约根据所述取消关联关系请求信息取消所述主账户与所述备份账户建立的关联关系。Generate the association cancellation request information signed by the master account and send it to the first contract for the first contract to cancel the association relationship established between the master account and the backup account according to the cancellation association request information.
  10. 一种资产找回方法,其特征在于,包括:A method for asset recovery, which includes:
    生成备份账户签名的资产找回请求信息并发送至第一合约,以供所述第一合约将所述资产找回请求信息写入区块链,以供主账户的第二客户端通过同步所述区块链的数据获取所述资产找回请求信息,以及,所述第一合约在预配置的超时时长内监测是否接收到由所述第二客户端签名并发送的撤销找回请求信息:否,则根据所述资产找回请求信息将所述主账户托管的资产划转至所述备份账户中;其中,所述备份账户与所述主账户为预配置的关联账户。Generate the asset retrieval request information signed by the backup account and send it to the first contract for the first contract to write the asset retrieval request information to the blockchain for the second client of the master account to synchronize The blockchain data obtains the asset retrieval request information, and the first contract monitors, within a pre-configured timeout period, whether or not it receives the cancellation retrieval request information signed and sent by the second client: If not, the assets managed by the master account are transferred to the backup account according to the asset retrieval request information; wherein the backup account and the master account are pre-configured associated accounts.
  11. 一种设备,其特征在于,所述设备包括:A device, characterized in that the device includes:
    一个或多个处理器;One or more processors;
    存储器,用于存储一个或多个程序,Memory for storing one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1-10中任一项所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the method according to any one of claims 1-10.
  12. 一种存储有计算机程序的存储介质,其特征在于,该程序被处理器执行时实现如权利要求1-10中任一项所述的方法。A storage medium storing a computer program, characterized in that when the program is executed by a processor, the method according to any one of claims 1-10 is implemented.
PCT/CN2019/099335 2018-08-09 2019-08-06 Asset retrieval method, device, and storage medium WO2020029930A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810904076.5 2018-08-09
CN201810904076.5A CN109377358A (en) 2018-08-09 2018-08-09 A kind of assets method for retrieving, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2020029930A1 true WO2020029930A1 (en) 2020-02-13

Family

ID=65403923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/099335 WO2020029930A1 (en) 2018-08-09 2019-08-06 Asset retrieval method, device, and storage medium

Country Status (2)

Country Link
CN (1) CN109377358A (en)
WO (1) WO2020029930A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210312743A1 (en) * 2020-04-02 2021-10-07 Baidu International Technology (Shenzhen) Co., Ltd. Block chain-based asset processing method, device, apparatus and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109377358A (en) * 2018-08-09 2019-02-22 杭州复杂美科技有限公司 A kind of assets method for retrieving, equipment and storage medium
CN110428260A (en) * 2019-07-31 2019-11-08 北京米弘科技有限公司 The account model of block chain
CN111242614A (en) * 2020-01-12 2020-06-05 杭州复杂美科技有限公司 Wallet account asset retrieving method, collection guarantee method, equipment and storage medium
CN112054907B (en) * 2020-08-25 2021-10-22 武汉大学 Block chain general certificate retrieving method and system when private key is forgotten
CN112583811B (en) * 2020-12-09 2023-04-14 杭州复杂美科技有限公司 Wallet finding method, equipment and storage medium
CN113283887A (en) * 2021-06-04 2021-08-20 杭州复杂美科技有限公司 Asset retrieving method, device and storage medium based on privacy

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048114A1 (en) * 2015-08-10 2017-02-16 Alibaba Group Holding Limited Method and device for managing resources with an external account
CN107066893A (en) * 2017-02-28 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of accounts information in block chain
CN108074081A (en) * 2017-12-08 2018-05-25 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN108335207A (en) * 2018-02-14 2018-07-27 阿里巴巴集团控股有限公司 Assets management method and device, electronic equipment
CN109377358A (en) * 2018-08-09 2019-02-22 杭州复杂美科技有限公司 A kind of assets method for retrieving, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105469510B (en) * 2014-10-12 2018-01-09 吴思进 The encryption currency wallet that delay pays or given for change can be predicted
CN108288158A (en) * 2018-01-29 2018-07-17 张天 A kind of storage method based on block chain technology, computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170048114A1 (en) * 2015-08-10 2017-02-16 Alibaba Group Holding Limited Method and device for managing resources with an external account
CN107066893A (en) * 2017-02-28 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of accounts information in block chain
CN108074081A (en) * 2017-12-08 2018-05-25 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN108335207A (en) * 2018-02-14 2018-07-27 阿里巴巴集团控股有限公司 Assets management method and device, electronic equipment
CN109377358A (en) * 2018-08-09 2019-02-22 杭州复杂美科技有限公司 A kind of assets method for retrieving, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210312743A1 (en) * 2020-04-02 2021-10-07 Baidu International Technology (Shenzhen) Co., Ltd. Block chain-based asset processing method, device, apparatus and storage medium
US11676141B2 (en) * 2020-04-02 2023-06-13 Baidu International Technology (Shenzen) Co., Ltd. Block chain-based asset processing method, device, apparatus and storage medium

Also Published As

Publication number Publication date
CN109377358A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
WO2020029930A1 (en) Asset retrieval method, device, and storage medium
CN110352445B (en) Performing multiparty transactions using smart contracts
JP6816297B2 (en) Data separation in blockchain network
TW202023224A (en) Event-driven blockchain workflow processing
US9589153B2 (en) Securing integrity and consistency of a cloud storage service with efficient client operations
JP2005535947A (en) System and method for accessing different types of back-end data stores
US9930063B2 (en) Random identifier generation for offline database
US8484342B2 (en) Organizing individual java client request flows into a single server transaction
JP6196389B2 (en) Distributed disaster recovery file synchronization server system
US20190215363A1 (en) Dynamic pool-based tiering for synchronization storage
WO2023244491A1 (en) Techniques for replication checkpointing during disaster recovery
JP6532581B1 (en) Virtual currency management system, virtual currency management method and virtual currency management program
US11182141B2 (en) Management platform recovery for a user device
US20200401600A1 (en) Sub-scope synchronization
US11263021B2 (en) Management platform recovery for a user device
US11132188B2 (en) Management platform recovery for a user device
US11126441B2 (en) Management platform recovery for a user device
US20230412375A1 (en) Hierarchical key management for cross-region replication
US11126419B2 (en) Management platform recovery for a user device
US20240094937A1 (en) Concurrent and non-blocking object deletion for cross-region replications
JP7222792B2 (en) Information processing system, information processing device, control method and program for information processing device
WO2023244449A1 (en) Hierarchical key management for cross-region replication
WO2023244446A1 (en) Scalable and secure cross-region and optimized file system replication for cloud scale
US20200274899A1 (en) Preventing Unauthorized Access to Information Resources by Deploying and Utilizing Multi-Path Data Relay Systems and Sectional Transmission Techniques
WO2023244447A1 (en) Techniques for efficient replication and recovery

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19846706

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19846706

Country of ref document: EP

Kind code of ref document: A1