IP Library Granted Patent US 11,811,910
Granted Patent B2
US 11,811,910 · App. 17/166,860 · Granted Nov 7, 2023

Blockchain maintenance method and apparatus, server, and computer-readable storage medium

Inventors: Yu Zhang (Beijing, CN); Lei Wang (Xi'an, CN); Lipeng Hao (Xi'an, CN); Ziyi Zhang (Beijing, CN)
Assignee: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
H04L9/0637H04L9/3263H04L63/145
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 11,811,910
App. No.
17/166,860
Granted
Nov 7, 2023
Kind
B2
Abstract

This application discloses a method used to remove a target blockchain node group of a first tenant from a channel. In the method, an execution node of a second tenant receives configuration information of the target blockchain node group of the first tenant which is sent by a management node, obtains channel configuration information of the channel from a consensus organization, and generates channel adjustment information based on the channel configuration information and the configuration information of the target blockchain node group. The execution node of the second tenant sends the channel adjustment information to the consensus organization, and the consensus organization generates a block including the channel adjustment information. A blockchain node group of the second tenant obtains the block from the consensus organization, and adds the block to a blockchain stored in the second tenant.

Claims (59)

1. A blockchain maintenance method, wherein the method comprises:

receiving configuration information that is of a target blockchain node group of a first tenant and that is sent by a management node;

obtaining channel configuration information of a channel from a consensus organization, wherein the channel corresponds to a blockchain, the channel configuration information comprises an identifier of the channel and configuration information of one or more blockchain node groups that have joined the channel;

generating channel adjustment information of the channel based on the channel configuration information and the configuration information that is of the target blockchain node group and that is received from the management node, wherein the channel adjustment information comprises the identifier of the channel and configuration information of a blockchain node group other than the target blockchain node group in the one or more blockchain node groups that have joined the channel;

sending the channel adjustment information to the consensus organization;

obtaining, from the consensus organization, a block comprising the channel adjustment information; and

adding the block to a blockchain stored in a blockchain node group that has joined the channel.

2. The method according to claim 1 , wherein the configuration information of the target blockchain node group comprises:

an operation permission of the target blockchain node group;

a permission certificate of the target blockchain node group; and

a security algorithm used by the target blockchain node group.

3. The method according to claim 1 , wherein the method comprises:

for a contract matter that requires the target blockchain node group to participate in endorsement, updating, in a chaincode used to execute the contract matter, an endorsement policy corresponding to the contract matter, wherein an updated endorsement policy specifies that the target blockchain node group does not participate in endorsement of a transaction record obtained by executing the contract matter.

4. A blockchain maintenance method, wherein the method comprises:

instructing an execution node of a first tenant to stop running, in a resource isolation region of the first tenant, a target blockchain node group that has joined a channel, wherein the channel corresponds to a blockchain; and

obtaining configuration information of the target blockchain node group, and sending the configuration information of the target blockchain node group to an execution node of a second tenant.

5. The method according to claim 4 , wherein the configuration information of the target blockchain node group comprises:

an operation permission of the target blockchain node group;

a permission certificate of the target blockchain node group; and

a security algorithm used by the target blockchain node group.

6. The method according to claim 4 , wherein the method comprises:

sending a request for removing the first tenant from the channel to a tenant other than the first tenant in one or more tenants that have joined the channel;

receiving feedback on the request from the one or more tenants other than the first tenant that have joined the channel; and

reaching, according to a consensus policy, a consensus on removing the first tenant from the channel for the feedback.

7. The method according to claim 6 , wherein the method comprises:

responsive to determining a virus exists in the resource isolation region of the first tenant, generating the request for removing the first tenant from the channel.

8. The method according to claim 4 , wherein the method comprises:

for a contract matter that requires the target blockchain node group to participate in endorsement, instructing the execution node of the first tenant to update an endorsement policy corresponding to the contract matter, wherein an updated endorsement policy specifies that the target blockchain node group does not participate in endorsement of a transaction record obtained by executing the contract matter.

9. A server, comprising a processor and a memory, wherein

the memory is configured to store a computer instruction; and

the processor is configured to execute the computer instruction stored in the memory, so that the server is configured to:

receive configuration information that is of a target blockchain node group of a first tenant and that is sent by a management node;

obtain channel configuration information of a channel from a consensus organization, wherein the channel corresponds to a blockchain, the channel configuration information comprises an identifier of the channel and configuration information of one or more blockchain node groups that have joined the channel;

generate channel adjustment information of the channel based on the channel configuration information and the configuration information that is of the target blockchain node group and that is received from the management node, wherein the channel adjustment information comprises the identifier of the channel and configuration information of a blockchain node group other than the target blockchain node group in the one or more blockchain node groups that have joined the channel;

send the channel adjustment information to the consensus organization; and

obtain, from the consensus organization, a block comprising the channel adjustment information, and add the block to a blockchain stored in a blockchain node group that has joined the channel.

10. The server according to claim 9 , wherein the configuration information of the target blockchain node group comprises:

an operation permission of the target blockchain node group.

11. The server according to claim 9 , wherein the configuration information of the target blockchain node group comprises:

a permission certificate of the target blockchain node group.

12. The server according to claim 9 , wherein the configuration information of the target blockchain node group comprises:

a security algorithm used by the target blockchain node group.

13. The server according to claim 9 , wherein the server is configured to:

for a contract matter that requires the target blockchain node group to participate in endorsement, update, in a chaincode used to execute the contract matter, an endorsement policy corresponding to the contract matter, wherein an updated endorsement policy specifies that the target blockchain node group does not participate in endorsement of a transaction record obtained by executing the contract matter.

14. A server, comprising a processor and a memory, wherein

the memory is configured to store a computer instruction; and

the processor is configured to execute the computer instruction stored in the memory, so that the server is configured to: instruct an execution node of a first tenant to stop running, in a resource isolation region of the first tenant, a target blockchain node group that has joined a channel, wherein the channel corresponds to a blockchain;

obtain configuration information of the target blockchain node group; and

send the configuration information of the target blockchain node group to an execution node of a second tenant.

15. The server according to claim 14 , wherein the configuration information of the target blockchain node group comprises:

an operation permission of the target blockchain node group.

16. The server according to claim 14 , wherein the configuration information of the target blockchain node group comprises:

a permission certificate of the target blockchain node group.

17. The server according to claim 15 , wherein the configuration information of the target blockchain node group comprises:

a security algorithm used by the target blockchain node group.

18. The server according to claim 14 , wherein the server is configured to: send, to a tenant other than the first tenant in one or more tenants that have joined the channel, a request for removing the first tenant from the channel; and

receive feedback on the request from the one or more tenants other than the first tenant that have joined the channel, and reach, according to a consensus policy, a consensus on removing the first tenant from the channel for the feedback.

19. The server according to claim 18 , wherein the server is configured to: responsive to determining a virus exists in the resource isolation region of the first tenant, generate the request for exiting the first tenant from the channel.

20. The server according to claim 14 , wherein the server is configured to: for a contract matter that requires the target blockchain node group to participate in endorsement, instruct the execution node of the first tenant to update an endorsement policy corresponding to the contract matter, wherein an updated endorsement policy specifies that the target blockchain node group does not participate in endorsement of a transaction record obtained by executing the contract matter.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 23, 2023
From: ZHANG, YU; WANG, LEI; HAO, LIPENG; ZHANG, ZIYI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 064684/0118 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Reel/Frame 059267/0088 →
Priority Claims (1)
CN 201810877867.3 · Aug 3, 2018 · national
Continuity (2)
Continuation PCTCN2019081212 · Apr 3, 2019
Related Publication 20210160058A1 · May 27, 2021