Cross-block contract asynchronous calling system

An asynchronous call and contract technology, applied in the blockchain field, can solve problems such as limited fault tolerance, reduced contract concurrency, and impact on contract execution, so as to improve fault tolerance, increase concurrency, and increase the number of contracts.

Active Publication Date: 2017-09-22
无锡井通网络科技有限公司
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] When the frequency of block chain generation is usually roughly fixed, in the same period of time, the execution speed of a contract will directly affect the execution of other contracts in the same block. In extreme cases, a malicious contract may cause system Unable to process other contracts, resulting in greatly reduced concurrency of contract processing
[0008] (3) Fault tolerance du...

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
  • Cross-block contract asynchronous calling system
  • Cross-block contract asynchronous calling system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Below in conjunction with the drawings, the specific implementation of the present invention will be described in detail through examples, but the claims of the present invention are not limited in any way.

[0040] Such as Figure 1 ~ Figure 2 As shown, the cross-block asynchronous call contract system in this embodiment includes the following units:

[0041] Distributed system verification unit: including a service node and N verification nodes, the service node is used to receive the transaction request set {TX} submitted by the user, and the verification node is used to verify the consensus {TX}; {TX} includes the contract call request TX and payment request TX;

[0042] Distributed contract execution unit: a sandbox located at the remote end of the distributed system verification unit and decoupled from the distributed system verification unit; this unit communicates with the distributed system verification unit through a predefined protocol to obtain the contract...

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 discloses a cross-block contract asynchronous calling system. The system comprises a distributed system verification unit, a distributed contract execution unit and a contract execution cache unit, wherein the distributed system verification unit comprises one or more service nodes and a plurality of verification nodes, the verification nodes are used for verifying consented {TX}, and {TX} comprises a contract calling request TX and a payment request TX; the distributed contract execution unit is located at a far end of a local verification unit, performs communication with the verification unit through a predefined protocol and is used for acquiring information needed for contraction execution and returning a result to the verification nodes after contract execution is completed; and the contract execution cache unit is used for receiving the contract calling request from the verification nodes, sending the request to the contract execution unit, receiving a contract execution result and returning a current contract execution state to the verification nodes so as to realize asynchronous calling of a contract. According to the system, block consensus does not depend on the contract execution result, the concurrence amount of contract execution and the number of contracts capable of being supported by blocks can be increased, and the fault-tolerant capability of the system is improved.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a cross-block asynchronous call contract system. Background technique [0002] Existing smart contracts are executed in a synchronous manner, using transaction triggers or automatically triggering contract calls. When the contract is actually executed, the consensus mechanism of the blockchain must wait for the contract to be executed and return the result before continuing to operate, thus completing the current Block consensus. [0003] The above smart contract execution method has the following defects: [0004] (1) The speed of contract execution seriously affects the time of block generation: [0005] Because the block consensus depends on the result of contract execution, each node must reach a consensus on the consistency of the contract result. Therefore, the speed of contract execution directly affects the subsequent operation of the block, resulting in a delay in...

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
IPC IPC(8): G06F9/54
CPCG06F9/544G06F9/547
Inventor 陈小虎徐卿李正鹏
Owner 无锡井通网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products