检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:高一琛 赵斌[2] 张召 GAO Yichen;ZHAO Bin;ZHANG Zhao(School of Data Science and Engineering,East China Normal University,Shanghai 200062,China;School of Computer Science and Technology,Nanjing Normal University,Nanjing 210046,China)
机构地区:[1]华东师范大学数据科学与工程学院,上海200062 [2]南京师范大学计算机科学与技术学院,南京210046
出 处:《华东师范大学学报(自然科学版)》2020年第5期21-32,共12页Journal of East China Normal University(Natural Science)
基 金:国家自然科学基金(U1811264,U1911203,61972152)。
摘 要:基于以太坊的智能合约已经广泛应用于各个领域,然而合约开发需要完备的专业领域知识和编程能力.针对智能合约编程友好性,本文提出了一种对于特定领域智能合约自动生成的方法.实现了对于智能合约的聚类分析以及交易类智能合约基本函数代码的生成,对于生成的代码采用BLEU以及SmartCheck进行检测,得到了较好的检测结果.采用MFC将生成的代码和UI控件链接,为用户提供友好的智能合约编程页面,实现智能合约的自动生成.方法生成的智能合约代码有一定的准确性,能够对智能合约的开发提供帮助.最后,通过一个案例分析验证了生成的智能合约的可用性.Smart contracts based on Ethereum have been widely used across various fields. The programming of smart contracts, however, requires professional developers with expertise in a special programming language;in other words, the developers must have professional domain knowledge in addition to programming ability. In this paper, a method for the automated generation of smart contracts for specific domains is proposed with the aim addressing the programming friendliness of smart contracts.The paper introduces cluster analysis of smart contracts and establishes the basic functional code for transactional type smart contracts. MFC is used to link the generated code with UI control and provide users with a friendly smart contract programming page;hence, the automatic generation of smart contracts is realized, thereby reducing the difficulty and cost of contract programming. Finally, a case study is presented to verify the availability of the generated smart contract.
分 类 号:TP301[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.147