信息安全研究 ›› 2022, Vol. 8 ›› Issue (5): 475-.

• 区块链与可信交易专题 • 上一篇    下一篇

面向信用服务的BPMN智能合约范式研究

李洁1闫乐1薄钧戈2吴忠宜3李成3蔡维德4
  

  1. 1(北京物资学院信息学院北京101149)
    2(西安交通大学计算机科学与技术学院西安710049)
    3(交通运输部科学研究院北京100029)
    4(数字社会与区块链实验室(北京航空航天大学)北京100083)
  • 出版日期:2022-05-07 发布日期:2022-05-03
  • 通讯作者: 李洁 硕士,助理研究员.主要研究方向为智能合约和形式化方法. lijiebwu@163.com
  • 作者简介:李洁 硕士,助理研究员.主要研究方向为智能合约和形式化方法. lijiebwu@163.com 闫乐 硕士研究生.主要研究方向为区块链、智能合约等. 3290807209@qq.com 薄钧戈 硕士,工程师.主要研究方向为区块链、教育大数据. bojunge@mail.xjtu.edu.cn 吴忠宜 博士,副研究员.主要研究方向为智能交通运输系统理论与关键技术、公共交通大数据资源开发、公交自动驾驶技术等. wuzy@motcats.ac.cn 李成 博士,副研究员.主要研究方向为城市交通智能化. licheng@motcats.ac.cn 蔡维德 博士,教授,博士生导师.主要研究方向为区块链、软件工程、众包、云计算以及服务计算. tsai@tiandetech.com

Research on BPMN Smart Contract Paradigm for Credit Service

  • Online:2022-05-07 Published:2022-05-03

摘要: 随着区块链在各行业的广泛使用,业务需求复杂、安全性要求高、智能合约开发难的问题逐渐凸显,亟需一种中间语言,可使领域专家、法律专家同开发人员合作完成可信智能合约开发.聚焦于信用服务领域,使用语法依存树和语义分析树等技术自动提取文本规则,运用BPMN作为中间语言进行业务规则的模型构建,从而提出一套领域智能合约的设计范式.根据智能合约的代码特点,提取BPMN的语法子集对业务流程进行建模,并给出基于BPMN模型的XML文件到Java代码的转换规则,将BPMN模型自动转化为智能合约代码,节约智能合约编写时间,最后通过智能合约设计案例进行分析.关键词区块链;智能合约;BPMN建模;信用服务;语义分析

关键词: 区块链, 智能合约, BPMN建模, 信用服务, 语义分析

Abstract: With the widespread use of blockchain in various areas, the problems of complex business requirements, highsecurity requirements, and difficulty in developing smart contracts are urgent to be solved. There is an imperative demand for an intermediate language that enables domain experts and lawyers to cooperate with developers to complete trusted smart contract development. This paper focuses on the credit service field, and we automatically extract text rules with syntax dependency tree, semantic analysis tree and other technologies. We also apply BPMN as an intermediate language to build a business rules model and produce a set of domain smart contract design paradigms. According to the code characteristics of smart contracts, the BPMN syntax subset is extracted to model the business process. The conversion rules from XML files based on the BPMN model to Java codes are given, which are expected to accomplish the work of efficient smart contract code generation. In the end, two smart contract instances are designed and analyzed.Key wordsblockchain; smart contract; BPMN modeling; credit service; semantic analysis

Key words: blockchain, smart contract, BPMN modeling, credit service, semantic analysis