Unlock instant, AI-driven research and patent intelligence for your innovation.

RPC request processing method and device, and storage medium

A request processing and processor technology, applied in the blockchain field, can solve the problems that the deployment of blockchain nodes and service stability are not as good as centralized servers, and the client cannot access blockchain services, so as to ensure availability and stability Effect

Active Publication Date: 2021-01-05
HANGZHOU FUZAMEI TECH CO LTD
View PDF16 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The problem with the above solution is that as the number of parachains increases, the number of parachain node addresses and ports that the client needs to maintain also increases significantly, resulting in that the client can only maintain a small number of node addresses and ports for a parachain (or main chain). At the same time, the deployment and service stability of blockchain nodes are far inferior to those of centralized servers. When each node of a parachain (or main chain) maintained by the client happens to modify the deployed address or port Going offline or crashing will cause the client to be unable to access the services of the blockchain

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • RPC request processing method and device, and storage medium
  • RPC request processing method and device, and storage medium
  • RPC request processing method and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0033] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0034] figure 1 It is a flowchart of an RPC request processing method provided by an embodiment of the present invention.

[0035] Such as figure 1 As shown, in this embodiment, the present invention provides an RPC request processing method suitable for an RPC server, including:

[0036] S11: ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an RPC request processing method and device, and a storage medium. The method comprises the following steps: receiving node registration request information, and storing a service address of a first node into a node list of a corresponding main chain or parallel chain, wherein the node registration request information is generated and sent by the first node according to thename and the service address of a block chain to which the first node belongs; receiving RPC service request information sent by a first user side, analyzing the RPC service request information to obtain a first block chain name, and generating a first RPC request; searching for a corresponding first node list according to the first blockchain name and selecting one node; sending a first RPC request to the service address of the selected node, monitoring whether the sending is successful or not, and if not, selecting another node from the first node list and returning the another node, or if so, returning a sending result to the first user side. According to the invention, the availability and stability of the RPC service provided by the block chain node to the outside can be guaranteed without maintaining the service addresses of a large number of nodes by the user side.

Description

technical field [0001] The present application relates to the technical field of block chain, and specifically relates to an RPC request processing method, device and storage medium. Background technique [0002] Currently, when the client sends a data query request to the blockchain or sends an RPC request such as a transaction, it is sent directly to the blockchain node. The client needs to maintain the addresses and ports of several nodes in the blockchain locally, so that when it is necessary to send the above RPC request, it sends an RPC request to the blockchain node according to the locally maintained node address and port. [0003] The problem with the above solution is that as the number of parachains increases, the number of parachain node addresses and ports that the client needs to maintain also increases significantly, resulting in that the client can only maintain a small number of node addresses and ports for a parachain (or main chain). At the same time, the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/133H04L67/60
Inventor 何正军王志文吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD