IP Library Granted Patent US 12676766
Granted Patent B2
US 12676766 · App. 18/652,997 · Granted Jul 7, 2026

Communication method and communication apparatus

Inventors: Wei Tan (Shenzhen, CN); Fei Liu (Singapore, SG); Donghui Wang (Beijing, CN); Chenchen Yang (Ottawa, CA)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L9/50H04L67/1074H04L67/141H04L69/26
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 12676766
App. No.
18/652,997
Granted
Jul 7, 2026
Kind
B2
Abstract

A communication method applied to a first communication apparatus includes sending a first message to a second communication apparatus. The first message is for requesting to set up data consensus protocol (DCP) initial access. The first message includes an identifier of the first communication apparatus and a blockchain identifier. The method also includes a second message from the second communication apparatus. The second message indicates a consensus mode set for blockchain communication. The method further includes sending a third message to the second communication apparatus. The third message indicates first consensus mode information in the consensus mode set. The method additionally includes receiving a fourth message from the second communication apparatus. The fourth message indicates that the DCP initial access succeeds or fails.

Claims (91)

1 . A communication method applied to a first communication apparatus, the method comprising:

sending a first message to a second communication apparatus, wherein the first message is for requesting to set up data consensus protocol (DCP) initial access, and the first message comprises an identifier of the first communication apparatus and a blockchain identifier;

receiving a second message from the second communication apparatus, wherein the second message indicates a consensus mode set for blockchain communication;

sending a third message to the second communication apparatus, wherein the third message indicates first consensus mode information selected by the first communication apparatus from the consensus mode set, wherein the consensus mode set comprises a plurality of different consensus modes each comprising at least a blockchain type and a consensus algorithm; and

receiving a fourth message from the second communication apparatus, wherein the fourth message indicates that the DCP initial access succeeds or fails.

2 . The communication method according to claim 1 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the method further comprises:

sending a fifth message to the second communication apparatus, wherein the fifth message is for requesting to set up a DCP connection, and the fifth message comprises the identifier of the first communication apparatus, the blockchain identifier, and an identifier of the first consensus mode information;

receiving a sixth message from the second communication apparatus, wherein the sixth message indicates a DCP connection setup response; and

sending a seventh message to the second communication apparatus, wherein the seventh message indicates that setting up of the DCP connection is completed.

3 . The communication method according to claim 1 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the method further comprises:

sending a thirteenth message to the second communication apparatus, wherein the thirteenth message is for requesting to set up a DCP connection, and the thirteenth message comprises the identifier of the first communication apparatus, the blockchain identifier, and an identifier of the first consensus mode information; and

receiving a fourteenth message from the second communication apparatus, wherein the fourteenth message indicates that setting up of the DCP connection fails.

4 . The communication method according to claim 1 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the method further comprises:

sending a fifteenth message to the second communication apparatus, wherein the fifteenth message is for requesting consensus data transmission, and the fifteenth message comprises the identifier of the first communication apparatus and the blockchain identifier;

receiving a sixteenth message from the second communication apparatus, wherein the sixteenth message indicates a consensus data transmission response; and

sending first consensus data to the second communication apparatus.

5 . The communication method according to claim 1 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the method further comprises:

receiving a seventeenth message from the second communication apparatus, wherein the seventeenth message is for requesting consensus data transmission, and the seventeenth message comprises the identifier of the second communication apparatus and the blockchain identifier;

sending an eighteenth message to the second communication apparatus, wherein the eighteenth message indicates a consensus data transmission response; and

receiving second consensus data from the second communication apparatus.

6 . The communication method according to claim 1 , wherein the first message further comprises permission information and contract information.

7 . The communication method according to claim 1 , wherein the DCP is for completing at least one of blockchain configuration information broadcasting, node access chain confirmation, data consensus connection management, consensus algorithm selection, or consensus data transmission.

8 . The communication method according to claim 1 , wherein each consensus mode further comprises information indicating at least one of a chain structure, an incentive mechanism, a contract template, a resource type, a packet delay budget, a packet error rate, energy consumption, or a computation amount.

9 . A communication method applied to a second communication apparatus, the method comprising:

receiving a first message from a first communication apparatus, wherein the first message is for requesting to set up data consensus protocol (DCP) initial access, and the first message comprises an identifier of the first communication apparatus and a blockchain identifier;

sending a second message to the first communication apparatus, wherein the second message indicates a consensus mode set for blockchain communication;

receiving a third message from the first communication apparatus, wherein the third message indicates first consensus mode information selected by the first communication apparatus from the consensus mode set, wherein the consensus mode set comprises a plurality of different consensus modes each comprising at least a blockchain type and a consensus algorithm; and

sending a fourth message to the first communication apparatus, wherein the fourth message indicates that the DCP initial access succeeds or fails.

10 . The communication method according to claim 9 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after sending the fourth message to the first communication apparatus, the method further comprises:

receiving a fifth message from the first communication apparatus, wherein the fifth message is for requesting to set up a DCP connection, and the fifth message comprises the identifier of the first communication apparatus, the blockchain identifier, and an identifier of the first consensus mode information;

sending a sixth message to the first communication apparatus, wherein the sixth message indicates a DCP connection setup response; and

receiving a seventh message from the first communication apparatus, wherein the seventh message indicates that setting up of the DCP connection is completed.

11 . The communication method according to claim 9 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after sending the fourth message to the first communication apparatus, the method further comprises:

receiving a thirteenth message from the first communication apparatus, wherein the thirteenth message is for requesting to set up a DCP connection, and the thirteenth message comprises the identifier of the first communication apparatus, the blockchain identifier, and an identifier of the first consensus mode information; and

sending a fourteenth message to the first communication apparatus, wherein the fourteenth message indicates that setting up of the DCP connection fails.

12 . The communication method according to claim 9 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after sending the fourth message to the first communication apparatus, the method further comprises:

receiving a fifteenth message from the first communication apparatus, wherein the fifteenth message is for requesting consensus data transmission, and the fifteenth message comprises the identifier of the first communication apparatus and the blockchain identifier;

sending a sixteenth message to the first communication apparatus, wherein the sixteenth message indicates a consensus data transmission response; and

receiving consensus data from the first communication apparatus.

13 . The communication method according to claim 9 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after sending the fourth message to the first communication apparatus, the method further comprises:

sending a seventeenth message to the first communication apparatus, wherein the seventeenth message is for requesting consensus data transmission, and the seventeenth message comprises the identifier of the second communication apparatus and the blockchain identifier;

receiving an eighteenth message from the first communication apparatus, wherein the eighteenth message indicates a consensus data transmission response; and

sending consensus data to the first communication apparatus.

14 . The communication method according to claim 9 , wherein the DCP is for completing at least one of blockchain configuration information broadcasting, node access chain confirmation, data consensus connection management, consensus algorithm selection, or consensus data transmission.

15 . The communication method according to claim 9 , wherein each consensus mode further comprises information indicating at least one of a chain structure, an incentive mechanism, a contract template, a resource type, a packet delay budget, a packet error rate, energy consumption, or a computation amount.

16 . A communication apparatus, comprising:

at least one processor; and

a memory storing a program or instructions that, when executed by the at least one processor, cause the communication apparatus to:

send a first message to a second communication apparatus, wherein the first message is for requesting to set up data consensus protocol (DCP) initial access, and the first message comprises an identifier of the communication apparatus and a blockchain identifier;

receive a second message from the second communication apparatus, wherein the second message indicates a consensus mode set for blockchain communication;

send a third message to the second communication apparatus, wherein the third message indicates first consensus mode information selected by the communication apparatus from the consensus mode set, wherein the consensus mode set comprises a plurality of different consensus modes each comprising at least a blockchain type and a consensus algorithm; and

receive a fourth message from the second communication apparatus, wherein the fourth message indicates that the DCP initial access succeeds or fails.

17 . The communication apparatus according to claim 16 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the communication apparatus is further caused to:

send a fifth message to the second communication apparatus, wherein the fifth message is for requesting to set up a DCP connection, and the fifth message comprises the identifier of the communication apparatus, the blockchain identifier, and an identifier of the first consensus mode information;

receive a sixth message from the second communication apparatus, wherein the sixth message indicates a DCP connection setup response; and

send a seventh message to the second communication apparatus, wherein the seventh message indicates that setting up of the DCP connection is completed.

18 . The communication apparatus according to claim 16 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the communication apparatus is further caused to:

send a thirteenth message to the second communication apparatus, wherein the thirteenth message is for requesting to set up a DCP connection, and the thirteenth message comprises the identifier of the communication apparatus, the blockchain identifier, and an identifier of the first consensus mode information; and

receive a fourteenth message from the second communication apparatus, wherein the fourteenth message indicates that setting up of the DCP connection fails.

19 . The communication apparatus according to claim 16 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the communication apparatus is further caused to:

send a fifteenth message to the second communication apparatus, wherein the fifteenth message is for requesting consensus data transmission, and the fifteenth message comprises the identifier of the communication apparatus and the blockchain identifier;

receive a sixteenth message from the second communication apparatus, wherein the sixteenth message indicates a consensus data transmission response; and

send first consensus data to the second communication apparatus.

20 . The communication apparatus according to claim 16 , wherein

the fourth message indicates that the DCP initial access succeeds; and

after receiving the fourth message from the second communication apparatus, the communication apparatus is further caused to:

receive a seventeenth message from the second communication apparatus, wherein the seventeenth message is for requesting consensus data transmission, and the seventeenth message comprises the identifier of the second communication apparatus and the blockchain identifier;

send an eighteenth message to the second communication apparatus, wherein the eighteenth message indicates a consensus data transmission response; and

receive second consensus data from the second communication apparatus.