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

Container-based accelerated smart contract execution method, device and storage medium

A technology of smart contracts and execution methods, applied in the field of blockchain, can solve the problems of slow contract execution and high container startup costs, and achieve the effects of reducing communication costs, improving contract running speed, and reducing costs

Active Publication Date: 2021-11-23
北京微芯感知科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a method, device and storage medium for accelerating smart contract execution based on containers, so as to at least solve the problems of high container start-up costs and slow contract execution in related technologies

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
  • Container-based accelerated smart contract execution method, device and storage medium
  • Container-based accelerated smart contract execution method, device and storage medium
  • Container-based accelerated smart contract execution method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to enable ordinary persons in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0045] It should be noted that the terms "first" and "second" in this application are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application.

[0046] fig...

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 present application relates to a container-based accelerated smart contract execution method, device and storage medium. The method includes: creating a container, starting the container management module to configure container-related settings and creating a secondary cache; the container management module assigns a contract running sandbox to each contract running request after receiving the contract running request sent by the node , and create a first-level cache for each contract running sandbox; the container management module processes the contract running result returned by the contract running sandbox, and returns the contract running result to the node. This application only needs to start one container, and create a separate contract running sandbox for each contract in the container, so that one container can run multiple contracts in parallel in batches to reduce the cost of multi-container startup. Furthermore, caches are added to the contract running sandbox and the container management module, which effectively improves the contract running speed.

Description

technical field [0001] The present application relates to the technical field of blockchain, and in particular to a method, device and storage medium for accelerating smart contract execution based on containers. Background technique [0002] Fabric is a hyperbook framework contributed by IBM. It is an implementation of a blockchain technology combined with existing mature technologies. It has powerful container technology to host smart contracts written in various mainstream languages. [0003] When Fabric executes smart contracts, it dynamically creates a new docker container for each contract, and deletes the container after the contract finishes running in the container. For the solution of running the contract on Fabric, the start-up cost is high, and the data required by the contract must be obtained from the node, and the time cost is high. Contents of the invention [0004] The present application provides a method, device, and storage medium for accelerating sm...

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 Patents(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45579
Inventor 不公告发明人
Owner 北京微芯感知科技有限公司