华东师范大学学报(自然科学版) ›› 2022, Vol. 2022 ›› Issue (5): 61-72.doi: 10.3969/j.issn.1000-5641.2022.05.006

• 区块链系统与数据管理 • 上一篇    下一篇

面向教育的区块链应用合约架构和数据隐私研究

黄超然1, 佟兴1, 张召1,*(), 金澈清1, 杨英杰2, 秦钢2   

  1. 1. 华东师范大学 数据科学与工程学院, 上海 200062
    2. 欧冶云商股份有限公司 数智供应链研发中心, 上海 201999
  • 收稿日期:2022-07-24 接受日期:2022-07-24 出版日期:2022-09-25 发布日期:2022-09-26
  • 通讯作者: 张召 E-mail:zhzhang@dase.ecnu.edu.cn
  • 基金资助:
    国家自然科学基金 (61972152)

Research on contract architecture and data privacy for education-oriented blockchain applications

Chaoran HUANG1, Xing TONG1, Zhao ZHANG1,*(), Cheqing JIN1, Yingjie YANG2, Gang QIN2   

  1. 1. School of Data Science and Engineering, East China Normal University, Shanghai 200062, China
    2. Digital & Smart Supply Chain Research and Development Center, Ouyeel Co. Ltd., Shanghai 201999, China
  • Received:2022-07-24 Accepted:2022-07-24 Online:2022-09-25 Published:2022-09-26
  • Contact: Zhao ZHANG E-mail:zhzhang@dase.ecnu.edu.cn

摘要:

针对教育应用升级受限问题, 本文提出了高效的完全解耦合的智能合约架构. 将合约解耦合为代理逻辑合约、代理数据合约、逻辑合约和数据合约, 支持任意子合约的灵活升级, 升级成本与传统合约升级相比平均下降28.2%; 结合链上链下协作优化了解耦合合约架构下的交易执行性能, 结合区块链底层存储树减少了合约升级时数据的迁移量, 优化后降低约一半的延时. 针对教育数据隐私安全问题, 本文提出了基于权限管理和LDP (Local Differential Privacy)的隐私数据保护方案, 提高了数据隐私的安全性, 同时对区块链的性能几乎无影响. 最后将上述方案集成落地, 实现了一个由可信知识交流社区与学生成长系统构成的教育类平台.

关键词: 区块链, 智能合约, 隐私保护, 教育

Abstract:

As the internet drives toward “digital transformation”, education equity and data trust-worthiness pose significant challenges in development. Blockchain, as a distributed ledger technology with tamperproof data, is jointly maintained by multiple parties and can solve equity and trustworthiness issues in scenarios such as educational resource allocation, intellectual property rights, and student information authentication. Although blockchain is capable of addressing the core education problems, its data immutability and transparency properties limit the upgradation process of smart contracts and disclosure of sensitive data in blockchain applications. Hence, updating educational applications and creating low privacy security of educational data becomes strenuous. To address the problem of limited smart contract upgrades, this study proposes an efficient and fully decoupled blockchain smart contract architecture. The as-proposed architecture aids in decoupling the contracts into proxy logical contracts, proxy data contracts, logical contracts, and data contracts, achieving an average reduction of 28.2% in upgradation costs compared with traditional methods. Moreover, we combined on- and off-chain collaboration to optimize transactions under the decoupled contract architecture and reduce data migration while updating contracts by integrating the underlying blockchain storage tree, optimized to reduce latency by half. To solve the problem of privacy protection, we propose a privacy data protection scheme based on permission management and LDP (Local Differential Privacy) to improve data privacy security while reducing the negative impact on blockchain performance. Finally, these solutions were integrated and implemented into an educational platform comprising a trusted knowledge exchange community and student growth system.

Key words: blockchain, smart contract, privacy protection, education

中图分类号: