arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.06184cs.SE
收藏

使用领域驱动设计和微服务的基于区块链的可追溯系统参考架构

A Reference Architecture for Blockchain-based Traceability Systems Using Domain-Driven Design and Microservices

Yanze Wang, Shanshan Li, Huikun Liu, He Zhang, Bo Pan

摘要:

可追溯性系统对于解决全球供应链规模日益扩大所带来的问题,如食品安全危机和市场混乱,具有重要意义。区块链作为一种不可变和去中心化的账本,能够通过确保系统数据的透明性和可靠性来优化传统的可追溯系统。然而,区块链技术的使用可能会导致系统设计和开发的复杂性迅速增加。在实践中,解决广泛而复杂的业务,多变的流程和海量数据是具有挑战性的,这是限制基于区块链的可追溯系统(BTS)广泛应用的主要因素。因此,在本文中,我们回顾了相关的研究,并提出了一个参考架构的基站。所提出的参考架构可以通过域驱动设计(DDD)和微服务来提高BTS的内聚性、可维护性和可扩展性。考虑到海量数据和复杂数据结构带来的效率降低,我们进一步将传统的单区块链框架改为多子链网络,可以提高开发效率和系统性能。在架构权衡分析方法(ATAM)的指导下,我们评估了我们的参考架构,并在鲑鱼供应链场景中实现了一个原型。实验结果表明,该方案是有效的,能够满足基站的需求。

英文摘要:

Traceability systems are important for solving problems due to the increasing scale of the global supply chain, such as food safety crises and market disorder. Blockchain, as an immutable and decentralized ledger, is able to optimize the traditional traceability system by ensuring the transparency and reliability of the system data. However, the use of blockchain technology may lead to a rapid increase in the complexity of system design and development. It is challenging to address widespread and complicated business, changeable processes, and massive data in practice, which are the main factors restricting the wide application of a blockchain-based traceability system (BTS). Therefore, in this paper, we reviewed relevant studies and proposed a reference architecture for BTSs. The proposed reference architecture can improve the cohesiveness, maintainability, and extensibility of BTSs through domain-driven design (DDD) and microservices. Considering the efficiency reduction caused by massive data and complicated data structure, we further changed the traditional single blockchain framework into multiple sub-chain networks, which could improve development efficiency and system performance. With the guidance of the architecture trade-off analysis method (ATAM), we evaluated our reference architecture and implemented a prototype in the salmon supply chain scenario. The results show that our solution is effective and adaptable to meet the requirements of BTSs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑