Data backup method, storage medium, and computing device

US11494270B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11494270-B2
Application numberUS-202017065883-A
CountryUS
Kind codeB2
Filing dateOct 8, 2020
Priority dateSep 30, 2018
Publication dateNov 8, 2022
Grant dateNov 8, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A data backup method includes querying a first block of a first blockchain for unused transaction output information based on a first condition being met, the first block including each block of all blocks included in the first blockchain; generating transaction information according to the unused transaction output information obtained based on the querying, the transaction information indicating a transaction operation based on an account address to which the unused transaction output information belongs; recording the transaction information in a second block and releasing the second block, and recording the second block on which a consensus is reached on a second blockchain; and backing up the first blockchain into a storage system, and deleting the first blockchain. Counterpart apparatus, terminal, server, and/or non-transitory computer-readable medium are also contemplated.

First claim

Opening claim text (preview).

What is claimed is: 1. A data backup method, performed by a terminal, the method comprising: querying a first block of a first blockchain for unused transaction output information based on a first condition being met, the first block comprising each block of all blocks included in the first blockchain; generating transaction information according to the unused transaction output information obtained based on the querying, the transaction information indicating a transaction operation based on an account address to which the unused transaction output information belongs; recording the transaction information in a second block and releasing the second block, and recording the second block on which a consensus is reached on a second blockchain; and backing up the first blockchain into a storage system, and deleting the first blockchain. 2. The method according to claim 1 , wherein the first condition comprises a condition that a block height of the first blockchain reaches a preset value. 3. The method according to claim 1 , wherein the first condition comprises at least one of a condition that a remaining storage space is lower than a first threshold, a condition that a set time interval is reached, or a condition that a set operation instruction is received. 4. The method according to claim 1 , wherein a block height of the second block corresponds to a block height of a last block in the first blockchain. 5. The method according to claim 1 , wherein a block header eigenvalue of a parent block included in the second block is a block header eigenvalue of a last block in the first blockchain. 6. The method according to claim 1 , wherein the backing up comprises: recording, in a data backup table, identification information of each block in the first blockchain and a storage address of each block in the storage system. 7. The method according to claim 6 , further comprising, after the first blockchain is deleted: querying the data backup table for a storage address corresponding to identification information of a block included in the first blockchain, and accessing the block in the storage system according to the storage address. 8. A non-transitory computer-readable storage medium storing instructions, the instructions, when executed by one or more processors, causing at least one of the one or more processors to perform: querying a first block of a first blockchain for unused transaction output information based on a first condition being met, the first block comprising each block of all blocks included in the first blockchain; generating transaction information according to the unused transaction output information obtained based on the querying, the transaction information indicating a transaction operation based on an account address to which the unused transaction output information belongs; recording the transaction information in a second block and releasing the second block, and recording the second block on which a consensus is reached on a second blockchain; and backing up the first blockchain into a storage system, and deleting the first blockchain. 9. The storage medium according to claim 8 , wherein the first condition comprises at least one of a condition that a block height of the first blockchain reaches a preset value; a condition that a remaining storage space is lower than a first threshold; a condition that a set time interval is reached; or a condition that a set operation instruction is received. 10. The storage medium according to claim 8 , wherein a block height of the second block corresponds to a block height of a last block in the first blockchain. 11. The storage medium according to claim 8 , wherein a block header eigenvalue of a parent block included in the second block is a block header eigenvalue of a last block in the first blockchain. 12. The storage medium according to claim 8 , wherein the instructions are configured to cause at least one of the one or more processors to perform the backing up by recording, in a data backup table, identification information of each block in the first blockchain and a storage address of each block in the storage system. 13. The storage medium according to claim 12 , wherein the instructions are further configured to cause at least one of the one or more processors to perform: after the first blockchain is deleted, querying the data backup table for a storage address corresponding to identification information of a block included in the first blockchain, and accessing the block in the storage system according to the storage address. 14. A computing device comprising: at least one memory configured to store program code; and at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising: first querying code configured to cause at least one of the at least one processor to query a first block of a first blockchain for unused transaction output information based on a first condition being met, the first block comprising each block of all blocks included in the first blockchain; generating code configured to cause at least one of the at least one processor to generate transaction information according to the unused transaction output information obtained based on querying of the first querying code, the transaction information indicating a transaction operation based on an account address to which the unused transaction output information belongs; first recording code configured to cause at least one of the at least one processor to record the transaction information in a second block and releasing the second block, and recording the second block on which a consensus is reached on a second blockchain; and backup code configured to cause at least one of the at least one processor to back up the first blockchain into a storage system, and deleting the first blockchain. 15. The computing device according to claim 14 , wherein the first condition comprises a condition that a block height of the first blockchain reaches a preset value. 16. The computing device according to claim 14 , wherein the first condition comprises at least one of a condition that remaining storage space is lower than a first threshold; a condition that a set time interval is reached; or a condition that a set operation instruction is received. 17. The computing device according to claim 14 , wherein a block height of the second block corresponds to a block height of a last block in the first blockchain. 18. The computing device according to claim 14 , wherein a block header eigenvalue of a parent block included in the second block is a block header eigenvalue of a last block in the first blockchain. 19. The computing device according to claim 14 , wherein the program code further comprises: second recording code configured to cause at least one of the at least one processor to record, in a data backup table, identification information of each block in the first blockchain and a storage address of each block in the storage system. 20. The computing device according to claim 19 , wherein the program code further comprises: second querying code configured to cause at least one of the at least one processor to, after the first blockchain is deleted, query the data backup table for a storage address corresponding to identification information of a block included in the first blockchain, and access the block in the storage system according to the storage address.

Assignees

Inventors

Classifications

  • Management of the backup or restore process · CPC title

  • by selection of backup contents · CPC title

  • Business processing using cryptography · CPC title

  • In-line storage system · CPC title

  • Query execution · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11494270B2 cover?
A data backup method includes querying a first block of a first blockchain for unused transaction output information based on a first condition being met, the first block including each block of all blocks included in the first blockchain; generating transaction information according to the unused transaction output information obtained based on the querying, the transaction information indicat…
Who is the assignee on this patent?
Tencent Tech Shenzhen Company Ltd
What technology area does this patent fall under?
Primary CPC classification G06F11/1458. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 08 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 6 related publications on this page (citations in our corpus or others sharing the same primary CPC).