IP Library Granted Patent US 11,403,632
Granted Patent B2
US 11,403,632 · App. 17/359,464 · Granted Aug 2, 2022

Managing transactions in multiple blockchain networks

Inventors: Hui Fang (Hangzhou, CN); Yuan Yuan (Hangzhou, CN); Shengjiao Cao (Hangzhou, CN); Weitao Yang (Hangzhou, CN)
Assignee: ALIPAY LABS (SINGAPORE) PTE. Ltd.
G06Q20/3827G06Q20/381G06Q20/3823G06Q20/38215
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,403,632
App. No.
17/359,464
Granted
Aug 2, 2022
Kind
B2
Abstract

Disclosed are computer-implemented methods, non-transitory computer-readable media, and systems for managing transactions in blockchain networks. One computer-implemented method includes identifying a first Hash Time Locked Contract (HTLC) transaction in a first blockchain network that is associated with a second HTLC transaction in a second blockchain network different from the first blockchain network, identifying a third HTLC transaction in the second blockchain network that is associated with the second HTLC transaction, identifying a fourth HTLC transaction in the first blockchain network that is associated with the first, second, and third HTLC transactions, the first, second, third, and fourth HTLC transactions being related to a cross-chain transaction across the first and second blockchain networks, and deriving hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions based on associations of the first, second, third and fourth HTLC transactions.

Claims (85)

1. A computer-implemented method for managing transactions in multiple blockchain networks using one or more data mining algorithms, the computer-implemented method comprising:

accessing transaction data stored in the multiple blockchain networks, the transaction data comprising transactions published in the multiple blockchain networks, each of the multiple blockchain networks comprising a respective network of computing nodes that manage, update, and maintain one or more blockchains, the multiple blockchain networks comprising a first blockchain network and a second blockchain network that are different from each other;

determining, according to the one or more data mining algorithms, that a first Hash Time Locked Contract (HTLC) transaction published in the first blockchain network is associated with a second HTLC transaction published in the second blockchain network;

determining, according to the one or more data mining algorithms, that a third HTLC transaction published in the second blockchain network is associated with the second HTLC transaction published in the second blockchain network;

determining, according to the one or more data mining algorithms, that a fourth HTLC transaction published in the first blockchain network is associated with the first, second, and third HTLC transactions

determining, according to the one or more data mining algorithms, that the first, second, third, and fourth HTLC transactions are related to a cross-chain transaction across the first blockchain network and the second blockchain network; and

automatically deriving, according to the one or more data mining algorithms, hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions based on associations of the first, second, third, and fourth HTLC transactions, the hidden information of the cross-chain transaction comprising information of the first, second, third, and fourth HTLC transactions that is unpublished in the first blockchain network and the second blockchain network.

2. The computer-implemented method of claim 1 , wherein the information of each of the first and second HTLC transactions comprises at least one of a sender address, a receiver address, a transferred value, a transaction commit time, a secret hash, or an expiration time, and

wherein the information of each of the third and fourth HTLC transactions comprises at least one of a sender address, a receiver address, a transferred value, a transaction commit time, or a proof.

3. The computer-implemented method of claim 1 , wherein the hidden information of the cross-chain transaction comprises at least one of:

a first party of the cross-chain transaction, wherein automatically deriving, according to the one or more data mining algorithms, the hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions comprises automatically determining, according to the one or more data mining algorithms, the first party of the cross-chain transaction to have at least one of a sender address of the first HTLC transaction or a sender address of the third HTLC transaction,

a second party of the cross-chain transaction, wherein automatically deriving, according to the one or more data mining algorithms, the hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions comprises automatically determining, according to the one or more data mining algorithms, the second party of the cross-chain transaction to have at least one of a sender address of the second HTLC transaction or a sender address of the fourth HTLC transaction,

an exchange of the cross-chain transaction, wherein automatically deriving, according to the one or more data mining algorithms, the hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions comprises automatically determining, according to the one or more data mining algorithms, the exchange of the cross-chain transaction to be an exchange between a transferred value in the first HTLC transaction and a transferred value in the second HTLC transaction, or

an exchange ratio between the transferred value in the first HTLC transaction and the transferred value in the second HTLC transaction.

4. The computer-implemented method of claim 1 , wherein

determining, according to the one or more data mining algorithms, that the first HTLC transaction in the first blockchain network is associated with the second HTLC transaction in the second blockchain network comprises:

determining that a transaction commit time of the second HTLC transaction is later than a transaction commit time of the first HTLC transaction, and

determining that a secret hash of the second HTLC transaction has a same value as a secret hash of the first HTLC transaction.

5. The computer-implemented method of claim 4 , wherein determining, according to the one or more data mining algorithms, that the first HTLC transaction in the first blockchain network is associated with the second HTLC transaction in the second blockchain network further comprises at least one of:

determining that an expiration time of the first HTLC transaction is longer than a sum of an expiration time of the second HTLC transaction and a time threshold, or

determining that a ratio between a transferred value of the first HTLC transaction and a transferred value of the second HTLC transaction is within a ratio range.

6. The computer-implemented method of claim 5 , wherein the first blockchain network is associated with a first currency and the second blockchain network is associated with a second currency, and wherein the ratio range is predetermined by a variation of a ratio between the first currency and the second currency.

7. The computer-implemented method of claim 6 , wherein the variation of the ratio between the first currency and the second currency is before the transaction commit time of the first HTLC transaction in the first blockchain network.

8. The computer-implemented method of claim 5 , wherein the expiration time of the first HTLC transaction, the expiration time of the second HTLC transaction, and the time threshold are configured such that the third HTLC transaction associated with the second HTLC transaction is executed in the second blockchain network before the fourth HTLC transaction associated with the first HTLC transaction is executed in the first blockchain network.

9. The computer-implemented method of claim 1 , wherein identifying determining, according to the one or more data mining algorithms, that the third HTLC transaction in the second blockchain network is associated with the second HTLC transaction in the second blockchain network comprises:

determining that a transaction commit time of the third HTLC transaction is later than a transaction commit time of the second HTLC transaction,

determining that a receiver address of the third HTLC transaction is same as a receiver address of the second HTLC transaction, and

determining that a hash of a proof in the third HTLC transaction has a same value as a secret hash of the second HTLC transaction.

10. The computer-implemented method of claim 1 , wherein determining, according to the one or more data mining algorithms, that a fourth HTLC transaction in the first blockchain network is associated with the first, second, and third HTLC transactions comprises:

determining that a transaction commit time of the fourth HTLC transaction is later than a transaction commit time of the third HTLC transaction,

determining that a proof in the fourth HTLC transaction is identical to a proof of the third HTLC transaction, and

determining that a receiver address of the fourth HTLC transaction is same as a receiver address of the first HTLC transaction.

11. The computer-implemented method of claim 1 , further comprising:

determining that a transaction is an HTLC transaction by determining that the transaction is executed according to an HTLC protocol.

12. The computer-implemented method of claim 11 , wherein determining that the transaction is executed according to the HTLC protocol comprises:

determining that information of the transaction comprises a secret hash as a hash lock and an expiration time as a time lock, the transaction being configured to be abandoned after the expiration time such that a transferred value in the transaction is refunded.

13. The computer-implemented method of claim 1 , further comprising:

rendering the information of the first, second, third, and fourth HTLC transactions in a visualization on a user interface; and

annotating the associations of the first, second, third, and fourth HTLC transactions in the visualization.

14. A non-transitory computer-readable medium storing one or more instructions executable by a computer system to perform operations for managing transactions in multiple blockchain networks using one or more data mining algorithms, the operations comprising:

accessing transaction data stored in the multiple blockchain networks, the transaction data comprising transactions published in the multiple blockchain networks, each of the multiple blockchain networks comprising a respective network of computing nodes that manage, update, and maintain one or more blockchains, the multiple blockchain networks comprising a first blockchain network and a second blockchain network that are different from each other;

determining, according to the one or more data mining algorithms, that a first Hash Time Locked Contract (HTLC) transaction published in the first blockchain network is associated with a second HTLC transaction published in the second blockchain network;

determining, according to the one or more data mining algorithms, that a third HTLC transaction published in the second blockchain network is associated with the second HTLC transaction published in the second blockchain network;

determining, according to the one or more data mining algorithms, that a fourth HTLC transaction published in the first blockchain network is associated with the first, second, and third HTLC transactions

determining, according to the one or more data mining algorithms, that the first, second, third, and fourth HTLC transactions are related to a cross-chain transaction across the first blockchain network and the second blockchain network; and

automatically deriving, according to the one or more data mining algorithms, hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions based on associations of the first, second, third, and fourth HTLC transactions, the hidden information of the cross-chain transaction comprising information of the first, second, third, and fourth HTLC transactions that is unpublished in the first blockchain network and the second blockchain network.

15. The non-transitory computer-readable medium of claim 14 , wherein the information of each of the first and second HTLC transactions comprises at least one of a sender address, a receiver address, a transferred value, a transaction commit time, a secret hash, or an expiration time, and

wherein the information of each of the third and fourth HTLC transactions comprises at least one of a sender address, a receiver address, a transferred value, a transaction commit time, or a proof.

16. The non-transitory computer-readable medium of claim 14 , wherein the hidden information of the cross-chain transaction comprises at least one of:

a first party of the cross-chain transaction, wherein automatically deriving, according to the one or more data mining algorithms, the hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions comprises automatically determining, according to the one or more data mining algorithms, the first party of the cross-chain transaction to have at least one of a sender address of the first HTLC transaction or a sender address of the third HTLC transaction,

a second party of the cross-chain transaction, wherein automatically deriving, according to the one or more data mining algorithms, the hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions comprises automatically determining, according to the one or more data mining algorithms, the second party of the cross-chain transaction to have at least one of a sender address of the second HTLC transaction or a sender address of the fourth HTLC transaction,

an exchange of the cross-chain transaction, wherein automatically deriving, according to the one or more data mining algorithms, the hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions comprises automatically determining, according to the one or more data mining algorithms, the exchange of the cross-chain transaction to be an exchange between a transferred value in the first HTLC transaction and a transferred value in the second HTLC transaction, or

an exchange ratio between the transferred value in the first HTLC transaction and the transferred value in the second HTLC transaction.

17. The non-transitory computer-readable medium of claim 14 , wherein determining, according to the one or more data mining algorithms, that the first HTLC transaction in the first blockchain network is associated with the second HTLC transaction in the second blockchain network comprises:

determining that a transaction commit time of the second HTLC transaction is later than a transaction commit time of the first HTLC transaction, and

determining that a secret hash of the second HTLC transaction has a same value as a secret hash of the first HTLC transaction.

18. The non-transitory computer-readable medium of claim 17 , wherein determining, according to the one or more data mining algorithms, that the first HTLC transaction in the first blockchain network is associated with the second HTLC transaction in the second blockchain network further comprises at least one of:

determining that an expiration time of the first HTLC transaction is longer than a sum of an expiration time of the second HTLC transaction and a time threshold, or

determining that a ratio between a transferred value of the first HTLC transaction and a transferred value of the second HTLC transaction is within a ratio range.

19. The non-transitory computer-readable medium of claim 18 , wherein the first blockchain network is associated with a first currency and the second blockchain network is associated with a second currency, and wherein the ratio range is predetermined by a variation of a ratio between the first currency and the second currency.

20. The non-transitory computer-readable medium of claim 19 , wherein the variation of the ratio between the first currency and the second currency is before the transaction commit time of the first HTLC transaction in the first blockchain network.

21. The non-transitory computer-readable medium of claim 18 , wherein the expiration time of the first HTLC transaction, the expiration time of the second HTLC transaction, and the time threshold are configured such that the third HTLC transaction associated with the second HTLC transaction is executed in the second blockchain network before the fourth HTLC transaction associated with the first HTLC transaction is executed in the first blockchain network.

22. The non-transitory computer-readable medium of claim 14 , wherein determining, according to the one or more data mining algorithms, that the third HTLC transaction in the second blockchain network is associated with the second HTLC transaction in the second blockchain network comprises:

determining that a transaction commit time of the third HTLC transaction is later than a transaction commit time of the second HTLC transaction,

determining that a receiver address of the third HTLC transaction is same as a receiver address of the second HTLC transaction, and

determining that a hash of a proof in the third HTLC transaction has a same value as a secret hash of the second HTLC transaction.

23. The non-transitory computer-readable medium of claim 14 , wherein determining, according to the one or more data mining algorithms, that a fourth HTLC transaction in the first blockchain network is associated with the first, second, and third HTLC transactions comprises:

determining that a transaction commit time of the fourth HTLC transaction is later than a transaction commit time of the third HTLC transaction,

determining that a proof in the fourth HTLC transaction is identical to a proof of the third HTLC transaction, and determining that a receiver address of the fourth HTLC transaction is same as a receiver address of the first HTLC transaction.

24. The non-transitory computer-readable medium of claim 14 , the operations further comprising:

determining that a transaction is an HTLC transaction by determining that the transaction is executed according to an HTLC protocol.

25. The non-transitory computer-readable medium of claim 24 , wherein determining that the transaction is executed according to the HTLC protocol comprises:

determining that information of the transaction comprises a secret hash as a hash lock and an expiration time as a time lock, the transaction being configured to be abandoned after the expiration time such that a transferred value in the transaction is refunded.

26. The non-transitory computer-readable medium of claim 14 , the operations further comprising:

rendering the information of the first, second, third, and fourth HTLC transactions in a visualization on a user interface; and

annotating the associations of the first, second, third, and fourth HTLC transactions in the visualization.

27. A computer-implemented system for managing transactions in multiple blockchain networks using one or more data mining algorithms, the computer-implemented system comprising:

one or more computers; and

one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, cause the one or more computers to perform one or more operations comprising:

accessing transaction data stored in the multiple blockchain networks, the transaction data comprising transactions published in the multiple blockchain networks, each of the multiple blockchain networks comprising a respective network of computing nodes that manage, update, and maintain one or more blockchains, the multiple blockchain networks comprising a first blockchain network and a second blockchain network that are different from each other;

determining, according to the one or more data mining algorithms, that a first Hash Time Locked Contract (HTLC) transaction published in the first blockchain network is associated with a second HTLC transaction published in the second blockchain network;

determining, according to the one or more data mining algorithms, that a third HTLC transaction published in the second blockchain network is associated with the second HTLC transaction published in the second blockchain network;

determining, according to the one or more data mining algorithms, that a fourth HTLC transaction published in the first blockchain network is associated with the first, second, and third HTLC transactions

determining, according to the one or more data mining algorithms, that the first, second, third, and fourth HTLC transactions are related to a cross-chain transaction across the first blockchain network and the second blockchain network; and

automatically deriving, according to the one or more data mining algorithms, hidden information of the cross-chain transaction from information of the first, second, third, and fourth HTLC transactions based on associations of the first, second, third, and fourth HTLC transactions, the hidden information of the cross-chain transaction comprising information of the first, second, third, and fourth HTLC transactions that is unpublished in the first blockchain network and the second blockchain network.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 20, 2025
From: ALIPAY LABS (SINGAPORE) PTE. LTD.
To: ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD.
Reel/Frame 070584/0240 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2022
From: YANG, WEITAO
To: ALIPAY LABS (SINGAPORE) PTE. LTD.
Reel/Frame 059072/0726 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 1, 2022
From: FANG, HUI; YUAN, YUAN; CAO, SHENGJIAO
To: ALIPAY LABS (SINGAPORE) PTE. LTD.
Reel/Frame 058840/0657 →
Priority Claims (1)
SG 10202006447V · Jul 3, 2020 · national
Continuity (1)
Related Publication 20210326869A1 · Oct 21, 2021