Implementation method and device of blockchain gateway, gateway and medium
An implementation method and technology of blockchain, applied in the direction of network connection, etc., can solve the problems of inconvenient operation and high threshold for technical personnel
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0087] Figure 1B It is a flowchart of an implementation method of a blockchain gateway in Embodiment 1 of this application, and this embodiment of this application is applicable to Figure 1A The shown gateway system 10 calls the smart contract deployed in the blockchain network. The method is executed by an implementation device of a blockchain gateway, which is implemented by software and / or hardware, and is specifically configured in an electronic device. The electronic device may be a conventional computing device, or a computing device carrying a block chain node.
[0088] Such as Figure 1B The implementation method of a block chain gateway shown includes:
[0089] S101. The contract parsing unit parses the acquired business request, and encodes the business request based on the method name and parameters of the target smart contract to be invoked, so as to generate the contract structure content.
[0090] Wherein, the service request may be a service request directl...
Embodiment 2
[0111] figure 2 It is a flow chart of a blockchain gateway implementation method in Embodiment 2 of the present application. The embodiment of the present application is optimized and improved on the basis of the technical solutions of the above-mentioned embodiments.
[0112] Further, after "the contract analysis unit transmits the contract structure content to the blockchain node through the smart contract call bridge", add "the node management unit obtains the state information of at least one blockchain node in the node pool; The node management unit determines the "block chain node" used to process the content of the current contract structure according to the state information, so as to enrich the node determination function of the gateway.
[0113] Such as figure 2 The implementation method of a block chain network shown includes:
[0114] S201. The contract parsing unit parses the acquired business request, and encodes the business request based on the method name ...
Embodiment 3
[0131] image 3 It is a flowchart of an implementation method of a blockchain gateway in Embodiment 3 of the present application. The embodiment of the present application is optimized and improved on the basis of the technical solutions of the above-mentioned embodiments.
[0132] Further, before "the contract analysis unit transmits the contract structure content to the blockchain node through the smart contract call bridge", add "the count management unit determines the current count value according to the previous count value of the initiator account , adding the current count value to the content of the contract structure; wherein, the initiator account is in one-to-one correspondence or one-to-many correspondence with the initiator of the service request; the count value is incremented in sequence", with Enrich the node count function of the gateway.
[0133] Such as image 3 The implementation method of a block chain gateway shown includes:
[0134] S301. The contrac...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


