US 12,126,742 B2
Cross-blockchain mutual data storage
Pan Liu, Shenzhen (CN)
Assigned to Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Guangdong (CN)
Filed on Apr. 7, 2022, as Appl. No. 17/715,824.
Application 17/715,824 is a continuation of application No. PCT/CN2020/129004, filed on Nov. 16, 2020.
Claims priority of application No. 202010175290.9 (CN), filed on Mar. 13, 2020.
Prior Publication US 2022/0231869 A1, Jul. 21, 2022
Int. Cl. H04L 29/00 (2006.01); G06F 16/23 (2019.01); G06F 16/27 (2019.01); H04L 9/00 (2022.01); H04L 9/08 (2006.01)
CPC H04L 9/50 (2022.05) [G06F 16/2308 (2019.01); G06F 16/27 (2019.01); H04L 9/0825 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A cross-blockchain mutual data storage method, comprising:
obtaining, by processing circuitry of a first node in a first blockchain network, initial data in a first data format from a first relay node in the first blockchain network, the first blockchain network corresponding to a first blockchain, and the initial data including transaction data in a target block in the first blockchain;
verifying the initial data according to a first oracle contract in the first node;
in response to a determination that the verification was successful, converting, according to a second data format configured for cross-chain transaction and specified in a second oracle contract associated with the first oracle contract, the initial data from the first data format into the second data format, and determining the initial data in the second data format as to-be-transferred data, the second oracle contract being deployed on a second node in a second blockchain network; and
transmitting the to-be-transferred data to the first relay node by:
obtaining a first cross-chain contract deployed in the first node;
invoking a cross-chain data transfer function in the first cross-chain contract; and
transmitting the to-be-transferred data to the first relay node,
wherein the first relay node encrypts the to-be-transferred data based on a public key of a second relay node in the second blockchain network to obtain encrypted data and transmits the encrypted data to the second relay node,
wherein the second relay node decrypts the encrypted data based on a private key of the second relay node to generate the to-be-transferred data and provides the to-be-transferred data to the second node, and
wherein the second node stores the to-be-transferred data.