IP Library › Granted Patent US 11,212,371
Granted Patent B2
US 11,212,371 · App. 17/162,801 · Granted Dec 28, 2021

Operation request allocation methods, apparatuses, and devices

Inventor: Yanpeng Li (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
H04L67/42G06F9/4881G06F9/5027H04L9/0637H04L67/306H04L67/34
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,212,371
App. No.
17/162,801
Granted
Dec 28, 2021
Kind
B2
Abstract

Embodiments of the present specification disclose operation request allocation methods, apparatuses, and devices. One method includes: obtaining, by a server, an operation request sent by a client device for performing an operation associated with a blockchain; obtaining, by the server, attribute information of a user of the client device; determining, by the server, a node condition selected by the user based on the attribute information; determining, by the server based on the node condition, a target node from a set of nodes that have persistently connected to the server; and assigning the operation request to the target node.

Claims (90)

1. A computer-implemented method comprising:

obtaining, by a server, an operation request sent by a client device for performing an operation associated with a blockchain;

obtaining, by the server, attribute information of a user of the client device, comprising:

presenting a plurality of nodes comprised in a set of nodes to the user, and

identifying a first node selected by the user in the plurality of nodes;

determining, by the server, a node condition selected by the user based on the attribute information;

determining, by the server and based on the node condition and the determined node, a target node from the set of nodes that have persistently connected to the server, comprising:

determining whether a system characteristic value of the first node is greater than a predetermined value;

in response to determining that the system characteristic value of the first node is less than or equal to the predetermined value, determining the first node as the target node; and

in response to determining that the system characteristic value of the first node is greater than the predetermined value, determining a second node as the target node, wherein a system characteristic value of the second node is less than or equal to the predetermined value; and in response to determining that the second node is not within the set of nodes, setting a persistent link between the second node and the server in response to determining that a consensus on adding the second node to the blockchain has been reached; and

assigning, by the server, the operation request to the target node to perform the operation associated with the blockchain.

2. The computer-implemented method according to claim 1 , wherein obtaining attribute information of the user comprises:

obtaining at least one of login address information, nationality information, gender information, company information, a previously connected node, a most frequently connected node, or a default node of the user.

3. The computer-implemented method according to claim 1 , wherein determining the target node from the set of nodes comprises:

obtaining attribute information of each node in the set of nodes;

determining, based on the attribute information, a node of the set of nodes with attribute information most similar to the node condition; and

determining the target node based on the determined node.

4. The computer-implemented method according to claim 1 , wherein determining whether the system characteristic value of the first node is greater than the predetermined value comprises at least one of:

determine whether a throughput of the first node is greater than a predetermined throughput; or

determine whether a response time of the first node is greater than a predetermined response time.

5. The computer-implemented method according to claim 1 , wherein determining the second node as the target node comprises:

determining whether at least one node in the plurality of nodes has a system characteristic value that is less than the predetermined value;

in response to determining that none of the plurality of nodes has a system characteristic value less than the predetermined value, obtaining a server configuration parameter of a candidate node;

performing identity verification on the candidate node using a consensus algorithm of the blockchain when the server configuration parameter satisfies a predetermined condition;

adding the candidate node to the blockchain when the identity verification on the candidate node succeeds; and

setting a persistent connection between the candidate node and the server.

6. The computer-implemented method according to claim 5 , further comprising:

in response to determining that at least one node of the plurality of nodes has a system characteristic value less than the predetermined value, determining a quantity of the at least one node;

determining a similarity value between attribute information of each of the at least one node and the node condition; and

determining a node of the at least one node with a highest similarity value as the target node.

7. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

obtaining, by a server, an operation request sent by a client device for performing an operation associated with a blockchain;

obtaining, by the server, attribute information of a user of the client device, comprising:

presenting a plurality of nodes comprised in a set of nodes to the user, and

identifying a first node selected by the user in the plurality of nodes;

determining, by the server, a node condition selected by the user based on the attribute information;

determining, by the server and based on the node condition and the determined node, a target node from the set of nodes that have persistently connected to the server, comprising:

determining whether a system characteristic value of the first node is greater than a predetermined value;

in response to determining that the system characteristic value of the first node is less than or equal to the predetermined value, determining the first node as the target node; and

in response to determining that the system characteristic value of the first node is greater than the predetermined value, determining a second node as the target node, wherein a system characteristic value of the second node is less than or equal to the predetermined value; and in response to determining that the second node is not within the set of nodes, setting a persistent link between the second node and the server in response to determining that a consensus on adding the second node to the blockchain has been reached; and

assigning, by the server, the operation request to the target node to perform the operation associated with the blockchain.

8. The non-transitory, computer-readable medium according to claim 7 , wherein obtaining attribute information of the user comprises:

obtaining at least one of login address information, nationality information, gender information, company information, a previously connected node, a most frequently connected node, or a default node of the user.

9. The non-transitory, computer-readable medium according to claim 7 , wherein determining the target node from the set of nodes comprises:

obtaining attribute information of each node in the set of nodes;

determining, based on the attribute information, a node of the set of nodes with attribute information most similar to the node condition; and

determining the target node based on the determined node.

10. The non-transitory, computer-readable medium according to claim 7 , wherein determining whether the system characteristic value of the first node is greater than the predetermined value comprises at least one of:

determine whether a throughput of the first node is greater than a predetermined throughput; or

determine whether a response time of the first node is greater than a predetermined response time.

11. The non-transitory, computer-readable medium according to claim 7 , wherein determining the second node as the target node comprises:

determining whether at least one node in the plurality of nodes has a system characteristic value that is less than the predetermined value;

in response to determining that none of the plurality of nodes has a system characteristic value less than the predetermined value, obtaining a server configuration parameter of a candidate node;

performing identity verification on the candidate node using a consensus algorithm of the blockchain when the server configuration parameter satisfies a predetermined condition;

adding the candidate node to the blockchain when the identity verification on the candidate node succeeds; and

setting a persistent connection between the candidate node and the server.

12. The non-transitory, computer-readable medium according to claim 11 , the operations further comprising:

in response to determining that at least one node of the plurality of nodes has a system characteristic value less than the predetermined value, determining a quantity of the at least one node;

determining a similarity value between attribute information of each of the at least one node and the node condition; and

determining a node of the at least one node with a highest similarity value as the target node.

13. 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:

obtaining, by a server, an operation request sent by a client device for performing an operation associated with a blockchain;

obtaining, by the server, attribute information of a user of the client device, comprising:

presenting a plurality of nodes comprised in a set of nodes to the user, and

identifying a first node selected by the user in the plurality of nodes;

determining, by the server, a node condition selected by the user based on the attribute information;

determining, by the server and based on the node condition and the determined node, a target node from the set of nodes that have persistently connected to the server, comprising:

determining whether a system characteristic value of the first node is greater than a predetermined value;

in response to determining that the system characteristic value of the first node is less than or equal to the predetermined value, determining the first node as the target node; and

in response to determining that the system characteristic value of the first node is greater than the predetermined value, determining a second node as the target node, wherein a system characteristic value of the second node is less than or equal to the predetermined value; and in response to determining that the second node is not within the set of nodes, setting a persistent link between the second node and the server in response to determining that a consensus on adding the second node to the blockchain has been reached; and

assigning, by the server, the operation request to the target node to perform the operation associated with the blockchain.

14. The computer-implemented system according to claim 13 , wherein determining the target node from the set of nodes comprises:

obtaining attribute information of each node in the set of nodes;

determining, based on the attribute information, a node of the set of nodes with attribute information most similar to the node condition; and

determining the target node based on the determined node.

15. The computer-implemented system according to claim 13 , wherein determining whether the system characteristic value of the first node is greater than the predetermined value comprises at least one of:

determine whether a throughput of the first node is greater than a predetermined throughput; or

determine whether a response time of the first node is greater than a predetermined response time.

16. The computer-implemented system according to claim 13 , wherein determining the second node as the target node comprises:

determining whether at least one node in the plurality of nodes has a system characteristic value that is less than the predetermined value;

in response to determining that none of the plurality of nodes has a system characteristic value less than the predetermined value, obtaining a server configuration parameter of a candidate node;

performing identity verification on the candidate node using a consensus algorithm of the blockchain when the server configuration parameter satisfies a predetermined condition;

adding the candidate node to the blockchain when the identity verification on the candidate node succeeds; and

setting a persistent connection between the candidate node and the server.

17. The computer-implemented system according to claim 16 , the operations further comprising:

in response to determining that at least one node of the plurality of nodes has a system characteristic value less than the predetermined value, determining a quantity of the at least one node;

determining a similarity value between attribute information of each of the at least one node and the node condition; and

determining a node of the at least one node with a highest similarity value as the target node.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 29, 2021
From: LI, YANPENG
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 055754/0742 →
Priority Claims (1)
CN 201811589917.4 · Dec 25, 2018 · national
Continuity (2)
Continuation PCTCN2019119091 · Nov 18, 2019
Related Publication 20210152667A1 · May 20, 2021