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

Block chain intelligent contract timed task dispatching method

A technology of timed tasks and smart contracts, applied in the field of blockchain, can solve the problems of increasing development costs, large time delays, and difficulties in the application of blockchain technology, and achieve efficient task processing, precise time control, and improved efficiency. Effect

Inactive Publication Date: 2017-06-20
上海钜真金融信息服务有限公司
View PDF3 Cites 118 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the field of blockchain technology, due to its distributed, shared data blocks, cryptographic encryption, and other security strategies, the smart contract layer only provides limited program customization functions. In some business scenarios, such as data The application of blockchain technology has encountered great difficulties in business processing such as regular processing, regular value exchange, and entrusted payment
[0003] In order to solve these difficulties, the current mainstream solution is to design a centralized application program, which scans the data on the chain by calling the smart contract in rounds, and processes the qualified data. This solution not only has a large time delay, but also cannot Accurate time control is achieved, and it also increases the complexity of system implementation and increases development costs

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
  • Block chain intelligent contract timed task dispatching method
  • Block chain intelligent contract timed task dispatching method
  • Block chain intelligent contract timed task dispatching method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] see figure 1 , this scheduling method can mainly achieve: external requests can be added by using the smart contract management interface to add timed tasks, and the timed tasks can be configured as a specified cycle or specified time point or specified time every minute or hour or every day or every week or every month or every year Execution requirements at intervals or specified times; tasks are classified and processed, and placed in the timing task processing queue; during the scheduling process, the node packages the timing tasks in new blocks, and broadcasts them to Other nodes in the blockchain enable all nodes to equally have the task processing capabilities of scheduled tasks; the event listener performs event monitoring, timeout monitoring, and processes eligible tasks, and then updates the task status, specifically including the following steps:

[0038] 1. The external request adds a scheduled task to the blockchain, configures the execution requirements of...

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 the technical field of block chains, and specifically relates to a block chain intelligent contract timed task dispatching method. The method comprises: (1) adding a timed task, configuring execution requirement of the timed task, submitting the timed task to a block chain processing node; (2) performing classified processing on the timed task, and adding to a task processing queue; (3) selecting a consensus node of the block chain, the consensus node obtaining consensus permission; (4) when the timed task reaches the execution requirement, the consensus node performing task processing on the timed task; (5) after the task is processed, synchronizing the state of the timed task to other nodes, after other nodes obtain consensus permission, according to the state of the timed task, performing next task processing on the timed task which is not executed. The dispatching method is high in flexibility and accuracy, and can realize accurate time control, and can accurately and efficiently process tasks.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a block chain smart contract timed task scheduling method. Background technique [0002] Blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order. It is cryptographically guaranteed to be non-tamperable and non-forgeable, and to realize a decentralized distributed ledger. . In the field of blockchain technology, due to its distributed, shared data blocks, cryptographic encryption, and other security strategies, the smart contract layer only provides limited program customization functions. In some business scenarios, such as data In terms of business processing such as regular processing, regular value exchange, and entrusted payment, the application of blockchain technology has encountered great difficulties. [0003] In order to solve these difficulties, the current mainstream solution is to design a centralized appli...

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/48
CPCG06F9/485G06F9/4887
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