Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Task scheduling execution method and device based on smart contracts

A smart contract and task scheduling technology, applied in the direction of program control device, multi-program device, program code conversion, etc., can solve problems such as easy to be attacked, high operating risk, and occupying a lot of resources, so as to enhance risk resistance and improve The effect of execution efficiency

Pending Publication Date: 2018-11-13
中思博安科技(北京)有限公司
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

First of all, smart contracts are executed in memory as a whole, resulting in a large memory footprint, that is, more resources; second, a single node runs independently without a scheduling management mechanism, so it is risky and vulnerable to attack from an overall perspective; third , the contract operation must be realized on the blockchain, and the contract operation is not separated from the blockchain. Once an abnormal problem occurs in the contract operation, it will affect the normal operation of the blockchain to a certain extent

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
  • Task scheduling execution method and device based on smart contracts
  • Task scheduling execution method and device based on smart contracts
  • Task scheduling execution method and device based on smart contracts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. While the invention has been described in conjunction with exemplary embodiments, it will be understood that present description is not intended to limit the invention to those exemplary embodiments. On the contrary, the invention is intended to cover not only the exemplary embodiments but also various alternatives, modifications and equivalents included within the spirit and scope of the invention as defined by the appended claims.

[0024] Before describing the specific embodiments of the present invention, in order to enable those skilled in the art to understand the technical solution more clearly, some technical terms in the art are exemplarily explained here. Such description is not intended to limit the scope of the invention to the precise forms described.

[0025] Blockchain (Block Chain): In a narrow sense, a blockchain is a chained data structu...

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 relates to a task scheduling execution method and device based on smart contracts. The task scheduling execution method comprises a scheduling table construction step, wherein multiple smart contracts are inserted into a block chain, contract tasks are generated based on the smart contracts inserted into the block chain, and the contract tasks are used to construct a scheduling table; a to-be-executed queue construction step, wherein the contract tasks in the scheduling table are encapsulated, and the encapsulated contract tasks are used to construct a to-be-executed queue; and an execution step, wherein the encapsulated contract tasks in the to-be-executed queue are sequentially executed according to the order in the to-be-executed queue. According to the task scheduling execution method and device based on the smart contracts, the execution efficiency of the smart contracts can be improved, and the risk resistance ability can be enhanced.

Description

technical field [0001] The present invention relates to the technical field of smart contracts, and more specifically, to a method and device for scheduling and executing tasks based on smart contracts. Background technique [0002] A smart contract is a collection of code and data, also called a "programmable contract". Generally speaking, smart contracts are defined through program code, and various execution conditions are preset; when the execution conditions are triggered, various defined behaviors are executed. The "intelligence" is the intelligence in execution, that is to say, if a preset execution condition is met, the contract will be executed automatically. [0003] In the existing technology, the smart contract is executed in memory as a whole (which can be realized by the entire code). For application scenarios involving multiple nodes, smart contracts are executed independently on each node, and each node usually only monitors and / or maintains its own smart c...

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): G06F8/34G06F8/41G06F9/455G06F9/54
CPCG06F8/34G06F8/41G06F9/45558G06F9/4881G06F9/547
Inventor 毕伟
Owner 中思博安科技(北京)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products