IP Library Granted Patent US 10,785,232
Granted Patent B2
US 10,785,232 · App. 16/725,715 · Granted Sep 22, 2020

Method, apparatus, system, and electronic device for cross-blockchain interaction

Inventors: Honglin Qiu (Hangzhou, CN); Huabing Du (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L63/12G06Q40/04H04L9/0637H04L67/141H04L67/26H04L67/32H04L2209/38
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 10,785,232
App. No.
16/725,715
Granted
Sep 22, 2020
Kind
B2
Abstract

This specification describes techniques for performing cross-blockchain interactions. One example method includes generating, by a blockchain node in a first blockchain, a subscription request to a cross-chain interaction end between the first blockchain and a second blockchain. The blockchain node can then obtain a message from the second blockchain based on the subscription request, and subsequently perform an operation related to the obtained message. In some instances, the message obtained by the blockchain node is a message that is published in the second blockchain and satisfies subscription conditions of the blockchain node.

Claims (43)

1. A computer-implemented method, comprising:

generating, by a first blockchain node in a first blockchain, a subscription request to a cross-chain interaction end between the first blockchain and a second blockchain;

obtaining, by a second blockchain node, a message from the second blockchain based on the subscription request, the message being published in the second blockchain and satisfying subscription conditions of the second blockchain node; and

performing, by the second blockchain node, an operation related to the obtained message,

wherein the subscription request indicates the subscription conditions to the cross-chain interaction end, so that the cross-chain interaction end obtains and adds the message to a message queue maintained by a subscription client corresponding to the second blockchain node.

2. The computer-implemented method of claim 1 , wherein the first blockchain node of the first blockchain corresponds to a subscription client.

3. The computer-implemented method of claim 2 , further comprising:

maintaining, by the subscription client, a queue status of the message queue.

4. The computer-implemented method of claim 3 , wherein obtaining the message comprises:

sending, by the subscription client, the queue status to the cross-chain interaction end, so that the cross-chain interaction end obtains a message that is published in the second blockchain and satisfies the subscription conditions when the cross-chain interaction end determines, based on the queue status, that the message queue does not comprise a message satisfying the subscription conditions.

5. The computer-implemented method of claim 1 , wherein the subscription conditions comprise a one-to-one mapping relationship between subscription clients and blockchain nodes.

6. The computer-implemented method of claim 1 , wherein performing, by the second blockchain node, an operation related to the obtained message comprises:

initiating, by the second blockchain node, a contract operation related to the obtained message.

7. The computer-implemented method of claim 1 , wherein the second blockchain corresponds to a publishing client.

8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

generating, by a first blockchain node in a first blockchain, a subscription request to a cross-chain interaction end between the first blockchain and a second blockchain;

obtaining, by a second blockchain node, a message from the second blockchain based on the subscription request, the message being published in the second blockchain and satisfying subscription conditions of the second blockchain node; and

performing, by the second blockchain node, an operation related to the obtained message,

wherein the subscription request indicates the subscription conditions to the cross-chain interaction end, so that the cross-chain interaction end obtains and adds the message to a message queue maintained by a subscription client corresponding to the second blockchain node.

9. The non-transitory, computer-readable medium of claim 8 , wherein the first blockchain node of the first blockchain corresponds to a subscription client.

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

maintaining, by the subscription client, a queue status of the message queue; and

wherein obtaining the message comprises:

sending, by the subscription client, the queue status to the cross-chain interaction end, so that the cross-chain interaction end obtains a message that is published in the second blockchain and satisfies the subscription conditions when the cross-chain interaction end determines, based on the queue status, that the message queue does not comprise a message satisfying the subscription conditions.

11. The non-transitory, computer-readable medium of claim 8 , wherein performing, by the second blockchain node, an operation related to the obtained message comprises:

initiating, by the second blockchain node, a contract operation related to the obtained message.

12. The non-transitory, computer-readable medium of claim 8 , wherein the subscription conditions comprise a one-to-one mapping relationship between subscription clients and blockchain nodes.

13. The non-transitory, computer-readable medium of claim 8 , wherein the second blockchain corresponds to a publishing client.

14. A 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, perform one or more operations comprising:

generating, by a first blockchain node in a first blockchain, a subscription request to a cross-chain interaction end between the first blockchain and a second blockchain;

obtaining, by a second blockchain node, a message from the second blockchain based on the subscription request, the message being published in the second blockchain and satisfying subscription conditions of the second blockchain node; and

performing, by the second blockchain node, an operation related to the obtained message,

wherein the subscription request indicates the subscription conditions to the cross-chain interaction end, so that the cross-chain interaction end obtains and adds the message to a message queue maintained by a subscription client corresponding to the second blockchain node.

15. The computer-implemented system of claim 14 , wherein the first blockchain node of the first blockchain corresponds to a subscription client.

16. The computer-implemented system of claim 15 , the operations further comprising:

maintaining, by the subscription client, a queue status of the message queue; and wherein obtaining the message comprises:

sending, by the subscription client, the queue status to the cross-chain interaction end, so that the cross-chain interaction end obtains a message that is published in the second blockchain and satisfies the subscription conditions when the cross-chain interaction end determines, based on the queue status, that the message queue does not comprise a message satisfying the subscription conditions.

17. The computer-implemented system of claim 14 , wherein performing, by the second blockchain node, an operation related to the obtained message comprises operations of:

initiating, by the second blockchain node, a contract operation related to the obtained message.

18. The computer-implemented system of claim 14 , wherein the second blockchain corresponds to a publishing client.

19. The computer-implemented system of claim 14 , wherein the subscription conditions comprise a one-to-one mapping relationship between subscription clients and blockchain nodes.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2025
From: ADVANCED NEW TECHNOLOGIES CO., LTD.
To: ADVANCED INNOVATION PTE. LTD.
Reel/Frame 070550/0846 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 30, 2020
From: QIU, HONGLIN; DU, HUABING
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 051675/0991 →
Cited By (2)
US 12,309,142 US 12,567,055