US 11,722,318 B2
Message transmission methods and apparatuses
He Sun, Hangzhou (CN); Chao Zeng, Hangzhou (CN); and Jiang Wang, Hangzhou (CN)
Assigned to Alipay (Hangzhou) Information Technology Co., Ltd., Zhejiang (CN)
Filed by ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD., Zhejiang (CN)
Filed on Jun. 29, 2021, as Appl. No. 17/362,692.
Claims priority of application No. 202011019924.8 (CN), filed on Sep. 25, 2020.
Prior Publication US 2021/0328812 A1, Oct. 21, 2021
Int. Cl. H04L 9/32 (2006.01); H04L 9/08 (2006.01); H04L 9/00 (2022.01)
CPC H04L 9/3263 (2013.01) [H04L 9/0825 (2013.01); H04L 9/3247 (2013.01); H04L 9/50 (2022.05)] 14 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
registering, by a relay node of a blockchain relay communication network in response to a registration request received from a blockchain node of a plurality of blockchain nodes, the blockchain node to a set indicated by the registration request, wherein a first digital certificate of a relay node corresponding to each blockchain node of the plurality of blockchain nodes is verified be to authentic based on a public key of a certification authority (CA) of the blockchain relay communication network;
in response to the first digital certificate of the relay node being verified, receiving, by the relay node, a second digital certificate of each blockchain node sent by each blockchain node of the plurality of blockchain nodes, wherein the second digital certificate of each blockchain node is issued by the CA of the blockchain relay communication network and comprises identity information of a corresponding blockchain node and a network identifier of a blockchain network that comprises the corresponding blockchain node;
verifying, by the relay node, that a digital signature of the second digital certificate is authentic based on the public key of the CA;
in response to verifying that the digital signature is authentic, recording, by the relay node, a mapping relationship between the identity information of the corresponding blockchain node and the network identifier of the blockchain network that comprises the corresponding blockchain node;
receiving, by the relay node from a sending blockchain node of the plurality of blockchain nodes, a blockchain message comprising a consensus message and including a set identifier of a target blockchain node set, wherein the target blockchain node set includes a set of blockchain nodes for performing consensus;
in response to receiving the blockchain message, determining, by the relay node, that
a) the sending blockchain node and a receiving blockchain node of the blockchain message are in a same blockchain network based on determining i) a receiver identity of the receiving blockchain node of the blockchain message and ii) a target network identifier of a target blockchain network that comprises the sending blockchain node, and
b) the receiving blockchain node is a node included in the target blockchain node set for performing the consensus;
determining, by the relay node according to the mapping relationship, a target blockchain node whose identifier is jointly marked by the target network identifier at a network level and the receiver identity at a node level;
establishing, by the relay node, a persistent connection between the target blockchain node and the relay node associated with the target blockchain node; and
transmitting, by the relay node, the blockchain message to the target blockchain node.