Cross-blockchain data migration

US12293104B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12293104-B2
Application numberUS-202217715746-A
CountryUS
Kind codeB2
Filing dateApr 7, 2022
Priority dateMar 13, 2020
Publication dateMay 6, 2025
Grant dateMay 6, 2025

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 cross-blockchain data migration method includes obtaining, by a first node in a first blockchain network, from a first blockchain in the first blockchain network, first service data information corresponding to a first data structure mode stored in a first block in the first blockchain and obtaining a second data structure mode associated with a second block in a second blockchain corresponding to a second blockchain network. The method further includes converting the first service data information to second service data information corresponding to the second data structure mode and establishing a hash mapping relationship between the first service data information and the second service data information in the first blockchain. The method also includes migrating the second service data information to a second node in the second blockchain network based on the hash mapping relationship.

First claim

Opening claim text (preview).

What is claimed is: 1. A cross-blockchain data migration method, comprising: obtaining, by processing circuitry of a first node in a first blockchain network, from a first blockchain in the first blockchain network, first service data information corresponding to a first data structure mode stored in a first block in the first blockchain; obtaining a second data structure mode associated with a second block in a second blockchain corresponding to a second blockchain network based on a second node in the second blockchain network having a network connection relationship with the first node of the first blockchain network, and converting the first service data information to second service data information corresponding to the second data structure mode; establishing a hash mapping relationship between a plurality of first hash values associated with the first service data information and a plurality of second hash values associated with the second service data information in the first blockchain, each of the plurality of first hash values being mapped with a respective one of the plurality of second hash values; and migrating the second service data information to the second node in the second blockchain network based on the hash mapping relationship. 2. The method according to claim 1 , wherein the obtaining the second data structure mode comprises: obtaining a data structure mode of service data information in the second block according to the second node having the network connection relationship with the first node; using the data structure mode of the service data information in the second block as the second data structure mode; and converting the first data structure mode of the first service data information to the second data structure mode, and using the first service data information in the second data structure mode as the second service data information. 3. The method according to claim 2 , wherein the first data structure mode is one of Unspent Transaction Outputs (UTXO) mode or an account/balance mode and the second data structure mode is the other one of the Unspent Transaction Outputs (UTXO) mode or the account/balance mode. 4. The method according to claim 1 , wherein the establishing comprises: obtaining a first hash value, of the plurality of first hash values, corresponding to the first service data information and a second hash value, of the plurality of second hash values. corresponding to the second service data information; and creating an initial mapping relationship between the first hash value and the second hash value in the first blockchain, and using the initial mapping relationship as the hash mapping relationship between the first service data information and the second service data information. 5. The method according to claim 1 , wherein the migrating comprises: obtaining a public key of the second node in the second blockchain network; encrypting the second service data information based on the public key to obtain encrypted data information; and migrating the encrypted data information to the second node in the second blockchain network based on the hash mapping relationship. 6. The method according to claim 1 , wherein, after the migrating, the method further comprises: disabling the first blockchain in the first blockchain network, and instructing the first node to enable the second blockchain corresponding to the second blockchain network, wherein the hash mapping relationship between the first service data information and the second service data information exists in the second blockchain. 7. The method according to claim 6 , wherein the first service data information includes target service data information, the target service data information including an account address of a target user corresponding to a user terminal; and the method further comprises: obtaining an initial data query request sent by the user terminal instructing the first node to find the target service data information in the first blockchain based on the account address; in response to a determination that the target service data information is not found in the first blockchain, obtaining a hash mapping relationship associated with a hash value of the target service data information; and forwarding a target data query request associated with the account address to the second node based on the hash mapping relationship associated with the hash value of the target service data information, the target data query request instructing the second node to find target service data information that satisfies the hash mapping relationship in the second blockchain based on the account address. 8. A cross-blockchain data migration method, comprising: obtaining, by processing circuitry of a second node in a second blockchain network, a hash mapping relationship between a plurality of first hash values associated with first service data information corresponding to a first data structure mode and a plurality of second hash values associated with second service data information corresponding to a second data structure mode, each of the plurality of first hash values being mapped with a respective one of the plurality of second hash values, the hash mapping relationship being established by a first node in a first blockchain network in a first blockchain, the second node in the second blockchain network having a network connection relationship with the first node of the first blockchain network, the first service data information being obtained by the first node from the first blockchain, the first data structure mode being determined by a data structure mode of the first service data information stored in a first block in the first blockchain, and the second service data information being determined by the first node by obtaining the second data structure mode associated with a second block in a second blockchain corresponding to the second blockchain network and converting the first service data information corresponding to the first data structure mode to the second data structure mode; receiving, based on the hash mapping relationship, the second service data information migrated by the first node; and adding the second service data information to a transaction pool associated with the second blockchain, packing the second service data information into a to-be-verified block in the transaction pool, determining, according to the to-be-verified block, a target block to be written to the second blockchain, and writing the target block to the second blockchain. 9. The method according to claim 8 , wherein the receiving comprises: receiving, based on the hash mapping relationship, encrypted data information migrated by the first node, the encrypted data information being obtained by the first node by encrypting the second service data information according to a public key of the second node; and decrypting the encrypted data information based on a private key associated with the public key to obtain the second service data information. 10. The method according to claim 8 , wherein the adding comprises: adding the second service data information to the transaction pool associated with the second blockchain, and packing the second service data information into the to-be-verified block in the transaction pool; transmitting the to-be-verified block to consensus nodes in the second blockchain network for consensus verification; obtaining consensus confirmation information returned by the consensus nodes in the second blockchain network; and in response to a determination that a total number of pieces of the consensus confirmation information is greater than a consensus threshold, determining that th

Assignees

Inventors

Classifications

  • using hash chains, e.g. blockchains or hash trees · CPC title

  • G06F3/0673Primary

    Single storage device · CPC title

  • Protecting data integrity, e.g. using checksums, certificates or signatures · CPC title

  • G06F3/0647Primary

    Migration mechanisms · CPC title

  • Improving or facilitating administration, e.g. storage management · 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 US12293104B2 cover?
A cross-blockchain data migration method includes obtaining, by a first node in a first blockchain network, from a first blockchain in the first blockchain network, first service data information corresponding to a first data structure mode stored in a first block in the first blockchain and obtaining a second data structure mode associated with a second block in a second blockchain correspondi…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F3/0673. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 06 2025 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 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).