计算机应用 ›› 2020, Vol. 40 ›› Issue (11): 3357-3365.DOI: 10.11772/j.issn.1001-9081.2020040526

• 应用前沿、交叉与综合 • 上一篇    下一篇

基于区块链的电子文件流转设计与实现

韩妍妍1,2, 张齐1, 闫晓璇1, 刘培鹤1, 徐鹏格2   

  1. 1. 北京电子科技学院 电子与通信工程系, 北京 100070;
    2. 西安电子科技大学 通信工程学院, 西安 710071
  • 收稿日期:2020-04-24 修回日期:2020-07-02 出版日期:2020-11-10 发布日期:2020-07-20
  • 通讯作者: 张齐(1996-),女,河北保定人,硕士研究生,主要研究方向:区块链、物联网;zq_nulinuli@163.com
  • 作者简介:韩妍妍(1982-),女,黑龙江哈尔滨人,副研究员,博士,主要研究方向:区块链、秘密共享、信息安全管理;闫晓璇(1995-),女,山东泰安人,硕士研究生,主要研究方向:区块链、可视密码;刘培鹤(1972-),男,黑龙江鹤岗人,实验师,主要研究方向:无线通信和网络安全、物联网、区块链;徐鹏格(1995-),女,河北保定人,硕士研究生,主要研究方向:区块链
  • 基金资助:
    国家自然科学基金资助项目(61772047);中央高校基本科研业务费资助项目(328201801)。

Design and implementation of electronic file circulation based on blockchain

HAN Yanyan1,2, ZHANG Qi1, YAN Xiaoxuan1, LIU Peihe1, XU Pengge2   

  1. 1. Department of Electronics and Communication Engineering, Beijing Electronic Science and Technology Institute, Beijing 100070, China;
    2. School of Telecommunications Engineering, Xidian University, Xi'an Shaanxi 710071, China
  • Received:2020-04-24 Revised:2020-07-02 Online:2020-11-10 Published:2020-07-20
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61772047), the Fundamental Research Funds for the Central Universities (328201801).

摘要: 针对互联网生态下电子文件流转中文件没有统一登记、对文件去向没有跟踪、流转过程不规范等问题,提出了基于区块链的电子文件流转方案。首先,采用区块链中联盟链的多中心化体系,提出基于区块链的电子文件流转系统设计目标与设计架构。然后,借助云存储平台进行电子文件存放来实现文件的上传功能,通过将文件的所有权转换数据加盖时间戳,使流转过程连续、关联、可追溯且诚实可信,实现了基于区块链的电子文件流转系统。通过数据库调用完成数据存取,实现了基于区块链的电子文件流转系统的数据同步和追溯。最后,提出了电子文件所有权转换、查询的智能合约,这种合约通过读取文件标识来实现对文件内容的验证和保护。安全性分析和性能测试表明,该方案与现有的文件流转系统相比更具安全性,增强了流转信息的可信度,同时智能合约的执行时间较短,使得系统具有更好的可靠性和可溯源性。

关键词: 区块链, 电子文件流转, 智能合约, 多中心化, 云平台

Abstract: Aiming at the problems that there is no unified registration of files, the whereabouts of files are not tracked, and the process of circulation is not standardized in the circulation of electronic files under the Internet ecology, a blockchain-based electronic file circulation scheme was proposed. Firstly, the design goals and design architecture of the electronic file circulation system based on blockchain were proposed using the multi-centralized system of the consortium blockchain in the blockchain. Secondly, blockchain-based electronic file circulation system was implemented by using a cloud storage platform to upload files for electronic file storage and adding time-stamps of the ownership transfer data of files to make the circulation process continuous, relevant, traceable, honest and credible. The data synchronization and tracing of the blockchain-based electronic file circulation system was achieved through using database calls to realize the data access. Finally, a smart contract for electronic file ownership transfer and query to verify and protect the contents of the files by reading the file identification. The security analysis and performance tests show that compared to the original one, the proposed scheme is more secure and enhances the credibility of the circulation information, at the same time, the shorter execution time of the smart contract makes the system have better reliability and traceability.

Key words: blockchain, electronic file circulation, smart contract, multi-centralization, cloud platform

中图分类号: