# US 2020/0287987 A1 · Multi-server node service processing and consensus method and device

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

- Number: US 2020/0287987 A1
- Document ID: US20200287987A1
- Status: Published application
- Kind: A1
- Application number: 16/882,057
- Filed: 2020-05-22
- Published: 2020-09-10
- Earliest claimed: 2017-03-28
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: YI LI
- Web page: https://patentgrep.com/patent/US20200287987A1

## CPC

- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 41/085: Retrieval of network configuration; Tracking network configuration history
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1004: Server selection for load balancing
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- H04L 67/1063: {Discovery through centralising entities}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This specification describes techniques for service processing. One example method includes receiving, by a first server of a first blockchain node in a consensus network, a service request sent by a client, wherein the consensus network further comprises a plurality of second blockchain nodes, each blockchain node of the consensus network comprising a corresponding plurality of servers; storing the service request in at least one service memory of the first blockchain node; obtaining, by the first blockchain node and from a registration center, addresses of the corresponding plurality of servers of the plurality of second blockchain nodes in the consensus network; and sending the service request to each second blockchain node in the consensus network based on the obtained addresses, wherein each second blockchain node stores the service request in a corresponding at least one service memory after receiving the service request.

## Claims

### Claim 1

A computer-implemented method for service processing, the computer-implemented method comprising:
sharing, from a first server of a first blockchain node in a consensus network, node configuration information with a plurality of additional servers of the first blockchain node, wherein the node configuration information comprises a point-to-point routing table, an asymmetric public key, an asymmetric private key, and a node identity;
receiving, by the first server of the first blockchain node, a service request sent by a client, wherein the consensus network further comprises a plurality of additional blockchain nodes, the first blockchain node and each node of the plurality of additional blockchain nodes of the consensus network comprising a corresponding plurality of servers;
storing the service request in at least one service memory of the first blockchain node;
obtaining, by the first blockchain node and from a registration center, at least one address of the corresponding plurality of servers for each node of the plurality of additional blockchain nodes in the consensus network; and
sending the service request to each additional blockchain node in the consensus network based on the obtained at least one address, wherein each additional blockchain node stores the service request in a corresponding at least one service memory after receiving the service request.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, comprising:
registering the first server of the first blockchain node with the registration center;
receiving a message from the registration center; and
in response to the message from the registration center, sending an address of the first server to the registration center.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein sending the service request to each additional blockchain node in the consensus network based on the obtained at least one address comprises:
selecting a first address from the obtained at least one address of the corresponding plurality of servers of the plurality of additional blockchain nodes; and
sending the service request to the first address.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein selecting the first address is based on at least one of a random selection, a load balancing status, or a combination thereof.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein storing the service request in the at least one service memory of the first blockchain node comprises:
verifying the service request is valid; and
storing the service request in the at least one service memory of the first blockchain node in response to verifying the service request is valid.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, comprising:
selecting, by the first blockchain node, the first server of the first blockchain node;
obtaining, by the first server, at least one service request from the at least one service memory of the first blockchain node;
packaging, by the first server, the at least one service request into a preprocessing block; and
sending the preprocessing block to each additional blockchain node in the consensus network, wherein each additional blockchain node performs service consensus on the preprocessing block.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a heartbeat detection message by the first server of the first blockchain node from the registration center.

### Claim 8

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
sharing, from a first server of a first blockchain node in a consensus network, node configuration information with a plurality of additional servers of the first blockchain node, wherein the node configuration information comprises a point-to-point routing table, an asymmetric public key, an asymmetric private key, and a node identity;
receiving, by the first server of the first blockchain node, a service request sent by a client, wherein the consensus network further comprises a plurality of additional blockchain nodes, the first blockchain node and each node of the plurality of additional blockchain nodes of the consensus network comprising a corresponding plurality of servers;
storing the service request in at least one service memory of the first blockchain node;
obtaining, by the first blockchain node and from a registration center, at least one address of the corresponding plurality of servers for each node of the plurality of additional blockchain nodes in the consensus network; and
sending the service request to each additional blockchain node in the consensus network based on the obtained at least one address, wherein each additional blockchain node stores the service request in a corresponding at least one service memory after receiving the service request.

### Claim 9 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the operations comprise:
registering the first server of the first blockchain node with the registration center;
receiving a message from the registration center; and
in response to the message from the registration center, sending an address of the first server to the registration center.

### Claim 10 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein sending the service request to each additional blockchain node in the consensus network based on the obtained at least one address comprises:
selecting a first address from the obtained at least one address of the corresponding plurality of servers of the plurality of additional blockchain nodes; and
sending the service request to the first address.

### Claim 11 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein selecting the first address is based on at least one of a random selection, a load balancing status, or a combination thereof.

### Claim 12 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein storing the service request in the at least one service memory of the first blockchain node comprises:
verifying the service request is valid; and
storing the service request in the at least one service memory of the first blockchain node in response to verifying the service request is valid.

### Claim 13 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the operations comprise:
selecting, by the first blockchain node, the first server of the first blockchain node;
obtaining, by the first server, at least one service request from the at least one service memory of the first blockchain node;
packaging, by the first server, the at least one service request into a preprocessing block; and
sending the preprocessing block to each additional blockchain node in the consensus network, wherein each additional blockchain node performs service consensus on the preprocessing block.

### Claim 14 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the operations comprise:
receiving a heartbeat detection message by the first server of the first blockchain node from the registration center.

### Claim 15

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:
sharing, from a first server of a first blockchain node in a consensus network, node configuration information with a plurality of additional servers of the first blockchain node, wherein the node configuration information comprises a point-to-point routing table, an asymmetric public key, an asymmetric private key, and a node identity;
receiving, by the first server of the first blockchain node, a service request sent by a client, wherein the consensus network further comprises a plurality of additional blockchain nodes, the first blockchain node and each node of the plurality of additional blockchain nodes of the consensus network comprising a corresponding plurality of servers;
storing the service request in at least one service memory of the first blockchain node;
obtaining, by the first blockchain node and from a registration center, at least one address of the corresponding plurality of servers for each node of the plurality of additional blockchain nodes in the consensus network; and
sending the service request to each additional blockchain node in the consensus network based on the obtained at least one address, wherein each additional blockchain node stores the service request in a corresponding at least one service memory after receiving the service request.

### Claim 16 (depends on 15)

The computer-implemented system of claim 15, wherein the operations comprise:
registering the first server of the first blockchain node with the registration center;
receiving a message from the registration center; and
in response to the message from the registration center, sending an address of the first server to the registration center.

### Claim 17 (depends on 15)

The computer-implemented system of claim 15, wherein sending the service request to each additional blockchain node in the consensus network based on the obtained at least one address comprises:
selecting a first address from the obtained at least one address of the corresponding plurality of servers of the plurality of additional blockchain nodes; and
sending the service request to the first address.

### Claim 18 (depends on 17)

The computer-implemented system of claim 17, wherein selecting the first address is based on at least one of a random selection, a load balancing status, or a combination thereof.

### Claim 19 (depends on 15)

The computer-implemented system of claim 15, wherein storing the service request in the at least one service memory of the first blockchain node comprises:
verifying the service request is valid; and
storing the service request in the at least one service memory of the first blockchain node in response to verifying the service request is valid.

### Claim 20 (depends on 15)

The computer-implemented system of claim 15, wherein the operations comprise:
selecting, by the first blockchain node, the first server of the first blockchain node;
obtaining, by the first server, at least one service request from the at least one service memory of the first blockchain node;
packaging, by the first server, the at least one service request into a preprocessing block; and
sending the preprocessing block to each additional blockchain node in the consensus network, wherein each additional blockchain node performs service consensus on the preprocessing block.
