IP Library Granted Patent US 10,657,151
Granted Patent B2
US 10,657,151 · App. 16/040,376 · Granted May 19, 2020

Method and apparatus for communication between blockchain nodes

Inventor: Honglin Qiu (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
G06F16/27H04L9/3239H04L9/3265H04L9/3271H04L41/12H04L63/0869H04L2209/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,657,151
App. No.
16/040,376
Granted
May 19, 2020
Kind
B2
Abstract

A communication request sent by a second node in a blockchain network is received by a first node in the blockchain network. Whether the second node has a mapping relationship with the first node is determined by the first node. A communication connection to the second node is established by the first node in response to determining that the second node has a mapping relationship with the first node. Establishment of a communication connection to the second node is refused by the first node in response to determining that the second node does not have a mapping relationship with the first node.

Claims (36)

1. A method for communication between blockchain nodes, wherein blockchain nodes in a blockchain network comprise service nodes, and service nodes participating in a same service have a mapping relationship, wherein the method comprises:

receiving, by a first blockchain node, a communication request sent by a second blockchain node, wherein the communication request comprises a certificate of the second blockchain node,

wherein the certificate of the second blockchain node comprises a plurality of identifiers, the plurality of identifiers comprising a node identifier of the second blockchain node, a network identifier, a previous node identifier, and either a service identifier or a group identifier;

obtaining the plurality of identifiers from the certificate of the second blockchain node;

determining, based on the plurality of identifiers, whether the second blockchain node has a mapping relationship with the first blockchain node; and

establishing a communication connection to the second blockchain node when the second blockchain node is determined to have a mapping relationship with the first blockchain node or

refusing to establish a communication connection to the second blockchain node when the second blockchain node is determined not to have a mapping relationship with the first blockchain node.

2. The method according to claim 1 , wherein the blockchain nodes further comprise a plurality of consensus nodes;

for each service node, a corresponding consensus node that performs consensus verification on service data generated by the service node has a mapping relationship with the service node, and/or

for each service node, different consensus nodes that perform consensus verification on service data generated by the service node have a mapping relationship.

3. The method according to claim 1 , wherein the establishing the communication connection to the second blockchain node comprises:

sending a verification request to the second blockchain node, so that the second blockchain node determines, based on the verification request, whether the first blockchain node has a mapping relationship with the second blockchain node; and

establishing, by the second blockchain node, a communication connection to the first blockchain node when the second blockchain node determines that the first blockchain node has a mapping relationship with the second blockchain node, or, otherwise, refusing, by the second blockchain node, to establish the communication connection to the first blockchain node when the second blockchain node fails to determine that the first blockchain node has a mapping relationship with the second blockchain node.

4. A device for communication between blockchain nodes in a blockchain network, the device is applied to a first blockchain node, wherein the device comprises one or more processors and one or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform operations comprising:

receiving a communication request sent by a second blockchain node, wherein the communication request comprises a certificate of the second blockchain node,

wherein the certificate of the second blockchain node comprises a plurality of identifiers, the plurality of identifiers comprising a node identifier of the second blockchain node, a network identifier, a previous node identifier, and either a service identifier or a group identifier;

obtaining the plurality of identifiers from the certificate of the second blockchain node;

determining, based on the plurality of identifiers, whether the second blockchain node has a mapping relationship with the device; and

establishing a communication connection to the second blockchain node When the second blockchain node is determined to have a mapping relationship with the device, or, refusing to establish a communication connection to the second blockchain node when the second blockchain node is determined not to have a mapping relationship with the device; wherein the blockchain nodes in the blockchain network comprise service nodes, and at least two service nodes participating in a same service have a mapping relationship.

5. The device of claim 4 , wherein the blockchain nodes of the blockchain network further comprise a plurality of consensus nodes; and

for each service node, a corresponding consensus node performs consensus verification on service data generated by the service node has a mapping relationship with the service node, and/or

for each service node, different consensus nodes that perform consensus verification on service data generated by the service node have a mapping relationship.

6. The device of claim 4 , wherein the operations further comprise sending a verification request to the second blockchain node, so that the second blockchain node determines, based on the verification request, whether the device has a mapping relationship with the second blockchain node; and

establishing, by the second blockchain node, a communication connection to the device when the second blockchain node determines that the device has a mapping relationship with the second blockchain node, or otherwise, refusing, by the second blockchain node, to establish a communication connection to the device when the second blockchain node fails to determine that the device has a mapping relationship with the second blockchain node.

7. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations for communicating between blockchain nodes, wherein blockchain nodes in a blockchain network comprise service nodes, and service nodes participating in a same service have a mapping relationship, the operations comprising:

receiving, by a first blockchain node, a communication request sent by a second blockchain node, wherein the communication request comprises a certificate of the second blockchain node, wherein the certificate of the second blockchain node comprises a plurality of identifiers, the plurality of identifiers comprising a node identifier of the second blockchain node, a network identifier, a previous node identifier, and either a service identifier or a group identifier;

obtaining the plurality of identifiers from the certificate of the second blockchain node;

determining, based on the plurality of identifiers, whether the second blockchain node has a mapping relationship with the first blockchain node; and

establishing a communication connection to the second blockchain node when the second blockchain node is determined to have a mapping relationship with the first blockchain node or

refusing to establish a communication connection to the second blockchain node when the second blockchain node is determined not to have a mapping relationship with the first blockchain node.

8. The non-transitory, computer-readable medium of claim 7 , wherein the blockchain nodes further comprise a plurality of consensus nodes;

for each service node, a corresponding consensus node that performs consensus verification on service data generated by the service node has a mapping relationship with the service node, and/or

for each service node, different consensus nodes that perform consensus verification on service data generated by the service node have a mapping relationship.

9. The non-transitory, computer-readable medium of claim 7 , wherein the establishing the communication connection to the second blockchain node comprises:

sending a verification request to the second blockchain node, so that the second blockchain node determines, based on the verification request, whether the first blockchain node has a mapping relationship with the second blockchain node; and

establishing, by the second blockchain node, a communication connection to the first blockchain node when the second blockchain node determines that the first blockchain node has a mapping relationship with the second blockchain node, or, otherwise, refusing, by the second blockchain node, to establish the communication connection to the first blockchain node when the second blockchain node fails to determine that the first blockchain node has a mapping relationship with the second blockchain node.

Assignments (3)
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 Mar 1, 2019
From: QIU, HONGLIN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 048480/0361 →
Cited By (5)
US 12,511,314 US 12,519,848 US 12,580,782 US 12,597,066 US 12,647,291