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

Smart contract execution constraint method and device, terminal and storage medium

A technology of smart contracts and business methods, applied in the field of blockchain, which can solve problems such as limited transaction scenarios and business security issues

Active Publication Date: 2020-08-14
成都质数斯达克科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This method of executing smart contract constraints not only has limited transaction scenarios and can only serve transactions between individuals, but also triggers the execution of smart contracts as long as the transaction initiator signs, which means that anyone who provides the transaction initiator’s signature can Can run smart contracts and run business methods in smart contracts, which will bring great business security problems

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
  • Smart contract execution constraint method and device, terminal and storage medium
  • Smart contract execution constraint method and device, terminal and storage medium
  • Smart contract execution constraint method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0054] This application provides an enterprise-oriented smart contract constraint method. Enterprises can define smart contracts, which include at least one business method. For each business method, execution constraints corresponding to the business method are set. The execution Constraints mainly involve the limitation of user rights for executing the business method. Only when the user who initiates the transaction corresponding to the business method has the user rights limited by the business method can the execution of the business method in the smart contract be triggered to realize the transaction On the contrary, if the user who initiates the transaction corresponding to the business method does not have the user authority limited by the business method, he cannot trigger the business method in the smart contract to realize the execution of the transaction.

[0055] In order to facilitate the detailed elaboration of a smart contract execution constraint method provide...

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 provides a smart contract execution constraint method and device, a terminal and a storage medium. The method comprises the following steps: determining a target user sending a transaction request and a transaction requested by the target user, wherein the target user is an enterprise user; obtaining first permission information pre-assigned to the target user by a target enterpriseto which the target user belongs; determining an execution constraint condition of a business method for executing the transaction in a smart contract provided by the target enterprise, wherein the execution constraint condition comprises second permission information of the target enterprise for an enterprise user allowed to execute the business method; and determining an execution constraint result of the smart contract on the transaction request according to the first permission information and the second permission information. An enterprise transaction scene can be realized, and the service security can also be improved.

Description

technical field [0001] The present invention relates to the technical field of block chain, and more specifically, relates to a method, device, terminal and storage medium for executing constraints of smart contracts. Background technique [0002] The core functions of the blockchain are packaging, consensus, bookkeeping, etc. At present, the blockchain usually serves transactions between individuals. For this kind of business interaction, the blockchain supports the operation of smart contracts customized by individuals. The business logic of the transaction is realized by the smart contract, which only requires unilateral approval by both parties to the transaction. That is, as long as the transaction initiator signs, it can be considered to meet the constraints of the smart contract and then execute the smart contract. [0003] This method of executing smart contract constraints not only has limited transaction scenarios and can only serve transactions between individual...

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): G06F16/27G06F21/62G06Q40/04
CPCG06F16/27G06F21/6218G06Q40/04
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