###
Journal of Software:2020.31(12):3867-3879

基于区块链技术的公平合约交换协议的实现
于雷,赵晓芳,孙毅,张珺,张瀚文,王柯元,贾林鹏,金岩,胡斌
(中国科学院大学, 北京 100049;中国科学院 计算技术研究所, 北京 100190;内蒙古大学, 内蒙古 呼和浩特 010021)
Implementation of Fair Contract Signing Protocol Based on Blockchain Technology
YU Lei,ZHAO Xiao-Fang,SUN Yi,ZHANG Jun,ZHANG Han-Wen,WANG Ke-Yuan,JIA Lin-Peng,JIN Yan,HU Bin
(University of Chinese Academy of Sciences, Beijing 100049, China;Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China;Inner Mongolia University, Hohhot 010021, China)
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 2174   Download 1665
Received:March 28, 2018    Revised:July 12, 2019
> 中文摘要: 当前的区块链技术,只在链上实现了“利益”的可信传递,而对应的“责任”传递还未有对应的链上实现,其关键问题是“责任”的载体及“责任”传递的接收确认.只包含“利益”的链上传递,因此,链上建立的信任关系是单向的,无法建立传递发起方对接收方的信任.从线上公平合约交换协议研究出发,给出了无可信第三方的、基于区块链技术的、确定性的线上公平合约交换协议的实现,同时改变了目前交易类型区块链技术的单向信任关系,通过附加协议,在区块链参与节点之间建立了多向信任关系.改造交易类型的区块链数据结构,将交易类型区块链的交易内容转换为待签合约,多方之间发送“转账”交易单,在链内共识协议的控制下,实现多方之间对合约不可抵赖的签名确认.本协议规定:多方在链接的交易单之中完成随机顺序签名确认后,为合约生效的唯一确认.由于区块链交易数据的公开性、不可篡改性和不可否认性,避免了合约任何一方的作弊行为,既保证了合约交换过程的公平性,也保证了合约交换完毕之后的均势.同时,为多方合约提供了实时动态管理功能,包括合约内容的追加、更新和删除.最后讨论了该协议的公平性、隐私性及共识机制的选择问题.
Abstract:The current blockchain technology only realizes the credible transmission of “interests” in the network, and the corresponding “responsibility” transmission has not been implemented. The key scientific questions are what is the carrier of “responsibility” and how the receipt of the “responsibility” is confirmed. Only the “interest” is passed on the blockchain network. Therefore, this status quo causes the trust relationship established on the blockchain to be one-way, and it is impossible to establish the trust of the originator to the receiver. This paper presents the realization of deterministic fair contract signing protocol based on blockchain technology without trusted third party, which changes the one-way trust relationship of the transaction blockchain technology and establishes a multi-way trust relationship between the nodes participating in the blockchain through an additional protocol. The transaction content in blockchain is replaced by the contract to be signed, then, conduct “transfer” transactions between multiple parties, to achieve multi-party sign the contract in the random order. It is the only confirmation that the contract is effective when multiple parties complete the sequential signature among the linked tickets. Due to the openness, tampering, and non-repudiation of the blockchain transaction data, the cheat of any party in the contract is avoided, the fairness of the contract exchange process is guaranteed, and the balance between multiple parties is completed after the contract exchange. At the same time, this protocol provides real-time, dynamic management of multi-party contracts, including the addition, renewal and deletion of contract content. Finally, the paper discusses the fairness, privacy and the choice of blockchain consensus.
文章编号:     中图分类号:TP309    文献标志码:
基金项目:国家自然科学基金(61202413,61672499,61772502);北京市科技计划(Z181100003218018);内蒙古自然科学基金,北京邮电大学网络与交换技术重点实验室课题(SKLNST-2016-2-09);区块链与分布式应用技术联合实验室课题;中科海南区块链技术联合实验室课题 国家自然科学基金(61202413,61672499,61772502);北京市科技计划(Z181100003218018);内蒙古自然科学基金,北京邮电大学网络与交换技术重点实验室课题(SKLNST-2016-2-09);区块链与分布式应用技术联合实验室课题;中科海南区块链技术联合实验室课题
Foundation items:National Natural Science Foundation of China (61202413, 61672499, 61772502); Key Special Project of Beijing Municipal Science & Technology Commission (Z181100003218018); Natural Science Foundation of Inner Mongolia, China; Open Foundation of State Key Laboratory of Networking and Switching Technology (Beijing University of Posts and Telecommunications, SKLNST-2016-2-09); SV-ICT Blockchain & DAPP Joint Lab; ICT-SSC Blockchain Joint Lab
Reference text:

于雷,赵晓芳,孙毅,张珺,张瀚文,王柯元,贾林鹏,金岩,胡斌.基于区块链技术的公平合约交换协议的实现.软件学报,2020,31(12):3867-3879

YU Lei,ZHAO Xiao-Fang,SUN Yi,ZHANG Jun,ZHANG Han-Wen,WANG Ke-Yuan,JIA Lin-Peng,JIN Yan,HU Bin.Implementation of Fair Contract Signing Protocol Based on Blockchain Technology.Journal of Software,2020,31(12):3867-3879