摘 要: 为有效控制传染病毒,精准检测传染病例的个人行程轨迹尤其重要,但恶意伪造行程码的开源项目困扰了溯源工作,因此数据防伪成为溯源工作中急需解决的问题。基于Hyperledger Fabric框架搭建联盟链,开放远程过程调用协议(Remote Procedure Call,RPC)服务提供链码,实现与区块链上数据的交互,采用智能合约与共享账本技术,实现区块溯源。系统的Web端前端后分离,前端使用VUE和Element-UI技术实现图形化用户界面,后端使用Spring身份控制技术分离权限,采用椭圆曲线数字签名算法(Elliptic Curve Digital Signature Algorithm,ECDSA)进行签名,实现防篡改和数据保护功能。 |
关键词: 区块链;联盟链;行程溯源;数字签名 |
中图分类号: TP315
文献标识码: A
|
基金项目: 2022年大学生创新训练计划基金项目(xcx2022190,xcx2022192). |
|
Design and Implementation of the Itinerary Traceability Verification System based on Consortium Blockchain |
CAI Chaoping, KANG Xiaofeng, WANG Ke, ZHANG Baichuan, WANG Yu
|
(School of Information Engineering, Xuzhou Institute of Technology, Xuzhou 221000, China )
syldyx2020@163.com; kxfeng07@163.com; admi1n@163.com; aesp3j0@gmail.com; wy2550384694@163.com
|
Abstract: In order to effectively control the infectious virus, it is particularly significant to accurately detect the personal itinerary path of infected cases. However, the open-source project that maliciously forges the itinerary code has troubled the traceability work. Therefore, data anti-counterfeiting has become an urgent problem to be solved in the traceability work. Based on Hyperledger Fabric framework, the consortium blockchain is built and RPC (Remote Procedure Call) service is opened to provide the chain code, so that the interaction with the data on the blockchain is realized. Intelligent contract and shared ledger technology are adopted to realize the block traceability. The frontend of Web application of the system is separated from the rear end, with the front end using VUE and Element-UI technology to achieve a graphical user interface, and with the rear end using Spring identity control technology to separate permissions. The Elliptic Curve Digital Signature Algorithm (ECDSA) is adopted for signature, achieving tamper resistance and data protection functions. |
Keywords: blockchain; consortium blockchain; itinerary traceability; digital signature |