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

A system for automatically generating smart contracts based on distribution agreements

A smart contract and automatic generation technology, which is applied in the field of smart programs, can solve the problems that smart contracts cannot be automatically generated by a type of agreement, and there are discrepancies in logical relations and logical relations, so as to achieve the effect of improving efficiency and accuracy

Active Publication Date: 2021-12-21
GLOBALTOUR GROUP LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Now many smart contract program systems have been developed. After a lot of searching and reference, we found that the existing program systems are like the systems disclosed by the publication numbers KR101816653B1, KR101778768B1, CN111897742B and KR101816650B1, including: from the current test cases Select at least one structural parameter to be mutated, and ensure that the selected structured parameter to be mutated can be recognized by at least one interface in the smart contract to be tested; then for each structured parameter to be mutated, obtain the structured parameter to be mutated The corresponding parameter structure; then, for each structural parameter to be mutated, according to the parameter structure corresponding to the structured parameter to be mutated, the structured parameter to be mutated is mutated to obtain the mutated structured parameter; The test case of post-structural parameters is used as the test case of the smart contract to be tested; however, the logical relationship of the smart contract generated by the system may be different from the original logical relationship, and it cannot automatically generate smart contracts for a class of protocols. Contract, efficiency and accuracy all need to be improved

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
  • A system for automatically generating smart contracts based on distribution agreements
  • A system for automatically generating smart contracts based on distribution agreements
  • A system for automatically generating smart contracts based on distribution agreements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] This embodiment provides a system for automatically generating smart contracts according to the distribution agreement, combined with figure 1 , including a semantic library, a protocol review module, a parameter extraction module, an intelligent control module, and a smart contract modeling module, the semantic library is used to save natural language, the protocol review module is used to read the content in the distribution agreement, the The parameter extraction module obtains the parameters and the code identification corresponding to the parameters from the distribution agreement according to the semantic library and the protocol review module, and generates a parameter package and sends it to the intelligent control module, and the intelligent control module uses the semantic library and the The protocol review module logically sorts out a parameter framework, and sends the parameter framework to the smart contract modeling module, and the smart contract modeling ...

Embodiment 2

[0044] This embodiment includes all the content of Embodiment 1. This embodiment provides a system for automatically generating smart contracts according to a distribution agreement. By inputting the distribution agreement into the agreement review module, the agreement review module determines the distribution agreement. The position of each parameter is output to the parameter extraction module, and the parameter extraction module obtains the context of the parameter according to the position, and intelligently recognizes the context according to the words in the semantic library, and binds the code corresponding to the semantics with the parameter after the recognition is successful Forming a parameter package and sending it to the intelligent control module, the intelligent control module logically organizes all parameter packages to obtain a parameter structure, and inputs the parameter structure to the intelligent contract modeling module, and the intelligent contract mode...

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 system for automatically generating smart contracts according to a distribution agreement, including a semantic library, a protocol review module, a parameter extraction module, an intelligent control module, and a smart contract modeling module. The semantic library is used to store natural language, and the protocol review module is used to In order to read the content in the distribution agreement, the parameter extraction module obtains the parameters and the code identification corresponding to the parameters from the distribution agreement according to the semantic library and the agreement review module, and generates a parameter package and sends it to the intelligent control module. The intelligent control module uses the semantic library and the The agreement review module organizes the logic to form a parameter framework, and sends the parameter framework to the smart contract modeling module. The smart contract modeling module combines its own basic code and parameter framework to generate a smart contract; the system can automatically The corresponding smart contract is generated with high efficiency, and at the same time, effective logical relationships can be extracted with high accuracy.

Description

technical field [0001] The invention relates to the technical field of smart programs, in particular to a system for automatically generating smart contracts according to a distribution agreement. Background technique [0002] With the development of blockchain technology, smart contracts will be used in more and more business activities, and different underlying smart contract codes need to be used for different businesses. At present, in most cases, it is more efficient to write smart contracts manually. Low, for smart contracts of the same type of business, it is necessary to develop a corresponding system program to directly and automatically generate smart contracts to improve work efficiency. [0003] Now many smart contract program systems have been developed. After a lot of searching and reference, we found that the existing program systems are like the systems disclosed by the publication numbers KR101816653B1, KR101778768B1, CN111897742B and KR101816650B1, includin...

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): G06F8/30
CPCG06F8/30
Inventor 张卫平丁烨张浩宇张伟
Owner GLOBALTOUR GROUP LTD