摘要
联盟链缺少展示各个节点资源使用情况、健康状态、互相关系、共识交易流程等方面的可视化方法,为此提出一种基于自定义日志的Fabric共识交易轨迹追踪方法(FTL)。首先,以典型联盟链框架Hyperledger Fabric为基础设施实现区块链底层构建;然后,利用ELK工具链收集与解析Fabric的自定义共识交易日志,并利用Spring Boot作为业务逻辑处理框架;最后,采用专注于图分析领域的Graphin实现共识交易轨迹的可视化。实验结果表明,与原生Fabric应用相比,基于FTL的Fabric的应用框架在实现可视化追踪基础后,平均性能仅下降了8.8%,未造成显著延迟,可以为监管方提供更加智能的区块链监管方案。
Concerning that the federated chain lacks visualization methods to show the resource usage,health status,mutual relationship and consensus transaction process of each node,a Fabric consensus transaction Tracking method based on custom Log(FTL)was proposed.Firstly,Hyperledger Fabric,a typical federation framework,was used as the infrastructure to build the bottom layer of FTL.Then,the custom consensus transaction logs of the Fabric were collected and parsed by using the ELK(Elasticsearch,Logstash,Kibana)tool chain,and Spring Boot was used as the business logic processing framework.Finally,Graphin which focuses on graph analysis was utilized to realize the visualization of consensus trade trajectory.Experimental results show that compared with native Fabric applications,FTL Fabricbased application framework only experienced an 8.8%average performance decline after the implementation of visual tracking basis without significant latency,which can provide a more intelligent blockchain supervision solution for regulators.
作者
李杉杉
王岩泽
邹英龙
陈焕雷
张贺
吴欧
LI Shanshan;WANG Yanze;ZOU Yinglong;CHEN Huanlei;ZHANG He;WU Ou(Software Institute,Nanjing University,Nanjing Jiangsu 210023,China;State Key Laboratory for Novel Software Technology(Nanjing University),Nanjing Jiangsu 210023,China;Agricultural Bank of China Guangzhou R&D Center,Guangzhou Guangdong 511400,China)
出处
《计算机应用》
CSCD
北大核心
2022年第11期3421-3428,共8页
journal of Computer Applications
基金
国家重点研发计划项目(2019YFE0105500)
国家自然科学基金资助项目(62072227,61802173)
江苏省重点研发计划项目(BE2021002)
江苏省政府间双边创新项目(BZ2020017)
江苏省科研创新计划项目(KYCX_21_0061)
挪威研究理事会项目(309494)。