# US 11,445,016 B2 · Methods and apparatuses for transmitting messages

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,445,016 B2
- Document ID: US11445016B2
- Status: Granted
- Kind: B2
- Application number: 17/364,712
- Filed: 2021-06-30
- Published: 2021-10-21
- Granted: 2022-09-13
- Earliest claimed: 2020-09-25
- Assignees: Alipay (Hangzhou) Information Technology Co., Ltd.
- Applicants: Alipay (Hangzhou) Information Technology Co., Ltd.
- Inventors: Chao Zeng; Jiang Wang; He Sun; Fuxi Deng
- Web page: https://patentgrep.com/patent/US11445016B2

## CPC

- H04L 67/1053: {with pre-configuration of logical or physical connections with a determined number of other peers}
- H04L 67/108: {characterised by resources being split in blocks or fragments}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 45/54: {Organization of routing tables}
- H04L 45/64: using an overlay routing layer
- H04L 51/18: Commands or executable codes
- H04L 67/1046: {Joining mechanisms}
- H04L 67/1093: {Some peer nodes performing special functions}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

One or more embodiments of this specification provide methods and apparatuses for transmitting messages. A method includes: registering, based on a registration request sent by each blockchain node in a blockchain relay communication network, a blockchain node to a blockchain node set indicated by the registration request; determining, in response to receiving a blockchain message to be sent to a target blockchain node set, a target blockchain node registered to the target blockchain node set and a target relay node in the blockchain relay communication network; and transmitting the blockchain message to the target blockchain node through the target relay node.

## Claims

### Claim 1

A computer-implemented method, comprising:
determining, as a result, whether a blockchain registration request sent by a blockchain node in a blockchain relay communication network comprises a set identifier;
in response to the result being TRUE, registering the blockchain node to a blockchain node set corresponding to the set identifier;
in response to the result being FALSE, registering the blockchain node to a default blockchain node set comprising all blockchain nodes in the blockchain relay communication network to which the blockchain node pertains;
determining, in response to receiving a blockchain message to be sent to a target blockchain node set of the blockchain relay communication network, a target blockchain node registered to the target blockchain node set and a target relay node in the blockchain relay communication network; and
transmitting the blockchain message to the target blockchain node through the target relay node.

### Claim 2 (depends on 1)

The computer-implemented method according to claim 1, wherein receiving the blockchain message sent for the target blockchain node set, comprises at least one of:
(i) receiving the blockchain message sent for the target blockchain node set from a connected blockchain node, or
(ii) receiving the blockchain message sent for the target blockchain node set from one or more other relay nodes in the blockchain relay communication network.

### Claim 3 (depends on 1)

The computer-implemented method according to claim 1, wherein receiving the blockchain message sent for the target blockchain node set comprises:
identifying a set identifier from the blockchain message after receiving the blockchain message; and
determining a blockchain node set corresponding to the set identifier as the target blockchain node set corresponding to the blockchain message.

### Claim 4 (depends on 1)

The computer-implemented method according to claim 1, comprising:
recording, based on role type information comprised in the blockchain registration request, a role type corresponding to each blockchain node in the blockchain node set to which the blockchain node pertains; and
wherein determining the target blockchain node registered to the target blockchain node set comprises:
identifying a target role type indicated in the blockchain message; and
taking a blockchain node registered to the target blockchain node set and corresponding to the target role type as the target blockchain node.

### Claim 5 (depends on 1)

The computer-implemented method according to claim 1, comprising:
generating a routing table configured to record a blockchain node set to which each blockchain node pertains and a connection relationship between each blockchain node and relay nodes; and
wherein determining the target blockchain node registered to the target blockchain node set and the target relay node in the blockchain relay communication network and connected to the target blockchain node comprises:
determining, by querying the routing table, the target blockchain node registered to the target blockchain node set and the target relay node in the blockchain relay communication network and connected to the target blockchain node.

### Claim 6 (depends on 1)

The computer-implemented method according to claim 1, wherein transmitting the blockchain message to the target blockchain node through the target relay node, comprises at least one of:
(i) transmitting the blockchain message to the target blockchain node connected to the target relay node; or
(ii) transmitting the blockchain message to the target relay node, for the target relay node to forward the blockchain message to the target blockchain node connected to the target relay node.

### Claim 7 (depends on 1)

The computer-implemented method according to claim 1, comprising:
determining, when receiving a blockchain message sent for a blockchain node in the blockchain relay communication network, a relay node in the blockchain relay communication network and connected to the blockchain node and transmitting the blockchain message to the blockchain node through the relay node.

### Claim 8 (depends on 1)

The computer-implemented method according to claim 1, wherein the blockchain node set indicated by the blockchain registration request is one of:
(i) irrelevant to one or more of other blockchain node sets,
(ii) comprised in one or more other blockchain node sets, or
(iii) the blockchain node set indicated by the blockchain registration request comprises one or more other blockchain node sets.

### Claim 9

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
determining, as a result, whether a blockchain registration request sent by a blockchain node in a blockchain relay communication network comprises a set identifier;
in response to the result being TRUE, registering the blockchain node to a blockchain node set corresponding to the set identifier;
in response to the result being FALSE, registering the blockchain node to a default blockchain node set comprising all blockchain nodes in the blockchain relay communication network to which the blockchain node pertains;
determining, in response to receiving a blockchain message to be sent to a target blockchain node set of the blockchain relay communication network, a target blockchain node registered to the target blockchain node set and a target relay node in the blockchain relay communication network; and
transmitting the blockchain message to the target blockchain node through the target relay node.

### Claim 10 (depends on 9)

The non-transitory, computer-readable medium according to claim 9, wherein receiving the blockchain message sent for the target blockchain node set, includes at least one operation comprising:
(i) receiving the blockchain message sent for the target blockchain node set from a connected blockchain node, or
(ii) receiving the blockchain message sent for the target blockchain node set from one or more other relay nodes in the blockchain relay communication network.

### Claim 11 (depends on 9)

The non-transitory, computer-readable medium according to claim 9, wherein receiving the blockchain message sent for the target blockchain node set, the operations comprising:
identifying a set identifier from the blockchain message after receiving the blockchain message; and
determining a blockchain node set corresponding to the set identifier as the target blockchain node set corresponding to the blockchain message.

### Claim 12 (depends on 9)

The non-transitory, computer-readable medium according to claim 9, the operations comprising:
recording, based on role type information comprised in the blockchain registration request, a role type corresponding to each blockchain node in the blockchain node set to which the blockchain node pertains; and
wherein determining the target blockchain node registered to the target blockchain node set includes operations comprising:
identifying a target role type indicated in the blockchain message; and
taking a blockchain node registered to the target blockchain node set and corresponding to the target role type as the target blockchain node.

### Claim 13 (depends on 9)

The non-transitory, computer-readable medium according to claim 9, the operations comprising:
generating a routing table configured to record a blockchain node set to which each blockchain node pertains and a connection relationship between each blockchain node and relay nodes; and
wherein determining the target blockchain node registered to the target blockchain node set and the target relay node in the blockchain relay communication network and connected to the target blockchain node includes operations comprises:
determining, by querying the routing table, the target blockchain node registered to the target blockchain node set and the target relay node in the blockchain relay communication network and connected to the target blockchain node.

### Claim 14 (depends on 9)

The non-transitory, computer-readable medium according to claim 9, wherein transmitting the blockchain message to the target blockchain node through the target relay node, the operations comprise at least one of:
(i) transmitting the blockchain message to the target blockchain node connected to the target relay node; or
(ii) transmitting the blockchain message to the target relay node, for the target relay node to forward the blockchain message to the target blockchain node connected to the target relay node.

### Claim 15 (depends on 9)

The non-transitory, computer-readable medium according to claim 9, the operations comprising:
determining, when receiving a blockchain message sent for a blockchain node in the blockchain relay communication network, a relay node in the blockchain relay communication network and connected to the blockchain node and transmitting the blockchain message to the blockchain node through the relay node.

### Claim 16

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:
determining, as a result, whether a blockchain registration request sent by a blockchain node in a blockchain relay communication network comprises a set identifier;
in response to the result being TRUE, registering the blockchain node to a blockchain node set corresponding to the set identifier;
in response to the result being FALSE, registering the blockchain node to a default blockchain node set comprising all blockchain nodes in the blockchain relay communication network to which the blockchain node pertains;
determining, in response to receiving a blockchain message to be sent to a target blockchain node set of the blockchain relay communication network, a target blockchain node registered to the target blockchain node set and a target relay node in the blockchain relay communication network; and
transmitting the blockchain message to the target blockchain node through the target relay node.

### Claim 17 (depends on 16)

The computer-implemented system according to claim 16, wherein receiving the blockchain message sent for the target blockchain node set, includes one or more operations comprising at least one of:
(i) receiving the blockchain message sent for the target blockchain node set from a connected blockchain node, or
(ii) receiving the blockchain message sent for the target blockchain node set from one or more other relay nodes in the blockchain relay communication network.

### Claim 18 (depends on 16)

The computer-implemented system, according to claim 16, wherein receiving the blockchain message sent for the target blockchain node set includes one or more operations comprising:
identifying a set identifier from the blockchain message after receiving the blockchain message; and
determining a blockchain node set corresponding to the set identifier as the target blockchain node set corresponding to the blockchain message.

### Claim 19 (depends on 16)

The computer-implemented system according to claim 16, the operations comprising:
generating a routing table configured to record a blockchain node set to which each blockchain node pertains and a connection relationship between each blockchain node and relay nodes; and
wherein determining the target blockchain node registered to the target blockchain node set and the target relay node in the blockchain relay communication network and connected to the target blockchain node comprises:
determining, by querying the routing table, the target blockchain node registered to the target blockchain node set and the target relay node in the blockchain relay communication network and connected to the target blockchain node.

### Claim 20 (depends on 16)

The computer-implemented system according to claim 16, wherein transmitting the blockchain message to the target blockchain node through the target relay node, includes one or more operations comprising at least one of:
(i) transmitting the blockchain message to the target blockchain node connected to the target relay node; or
(ii) transmitting the blockchain message to the target relay node, for the target relay node to forward the blockchain message to the target blockchain node connected to the target relay node.
