作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2022, Vol. 48 ›› Issue (1): 24-32. doi: 10.19678/j.issn.1000-3428.0062500

• 热点与综述 • 上一篇    下一篇

基于区块链非同质化代币的软件订阅模型

张展鹏1,2,3, 张亮1,2,3, 彭凌祺4, 阚海斌1,2,3   

  1. 1. 复旦大学 计算机科学技术学院, 上海 200433;
    2. 上海市区块链工程技术研究中心, 上海 200433;
    3. 上海市智能信息处理重点实验室, 上海 200433;
    4. 上海华虹计通智能系统股份有限公司, 上海 201206
  • 收稿日期:2021-08-26 修回日期:2021-10-01 发布日期:2021-10-11
  • 作者简介:张展鹏(1998-),男,硕士研究生,主研方向为区块链应用、分布式系统;张亮,博士研究生;彭凌祺,硕士;阚海斌,教授、博士。
  • 基金资助:
    国家重点研发计划(2019YFB2101703);国家自然科学基金(U19A2066);上海市科技创新行动计划(20222420800,20511102200,19511102500)。

Software Subscription Model Based on Non-Fungible Tokens in Blockchain

ZHANG Zhanpeng1,2,3, ZHANG Liang1,2,3, PENG Lingqi4, KAN Haibin1,2,3   

  1. 1. School of Computer Science, Fudan University, Shanghai 200433, China;
    2. Shanghai Engineering Research Center of Blockchain, Shanghai 200433, China;
    3. Shanghai Key Laboratory of Intelligent Information Processing, Shanghai 200433, China;
    4. Shanghai Huahong Jitong Smart System Co., Ltd., Shanghai 201206, China
  • Received:2021-08-26 Revised:2021-10-01 Published:2021-10-11

摘要: 在软件销售场景中软件订阅和支持模式将成为主流,同时中心化授权在效率和安全性上受服务端限制。针对存储订阅信息的服务端可能遭受攻击导致盗版问题,提出基于非同质化代币的软件订阅模型,编写以太坊智能合约并利用去中心化方案保证订阅信息不可篡改。应用非同质化代币表示软件订阅,在区块链上映射软件订阅的生命周期,软件订阅流程依据代币原生操作完成,同时支持订阅购买者和销售商通过与智能合约交互实现安全的软件销售。根据订阅流程中智能合约调用的手续费开销,在模式设计层面选择发布-订阅区块链预言机,解决以太币汇率变化等相关问题,在系统设计层面设计链上存证和链下支付策略,使得订阅服务流程中的交易手续费不受以太坊主网行情的影响。实验结果表明,该模型通过非同质化代币完整映射软件订阅场景,并保障信息的可信、公开和不可篡改。

关键词: 软件即服务, 区块链, 智能合约, 非同质化代币, 数字凭证

Abstract: In the software sales scenario, software Subscription and Support(S&S) is becoming the mainstream.However, centralized authorization is limited in efficiency and security by the server end.The server storing the subscription data may be attacked, leading to privacy issues.To deal with the problem, a blockchain-based software subscription model is proposed, which employs the Ethereum smart contract and the decentralized scheme to ensure the subscription data to be tamper-resistant.By using Non-Fungible Token(NFT) to represent subscriptions, the procedure of software subscription can be mapped on the blockchain and completed by operations natively supported by NFTs.Subscribers and providers interact with the smart contract to implement secure software sales.According to the transaction fee of each step in the subscription process, at the mode design level, and a "publish-subscribe" Blockchain Oracle is selected to solve the problems related to changes in the exchange rate of Ethereum.At the system design level, by proposing the strategy of " on-chain depository, off-chain payment", the transaction fees are no longer affected by the Ethereum mainnet market.The experimental results show that the model can completely map the software subscription scenario through NFTs, and ensures the information to be credible, open and tamper-resistant.

Key words: Software as a Service(SaaS), blockchain, smart contract, Non-Fungible Token(NFT), digital certificate

中图分类号: