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

面向区块链应用的扩展模式集

An Extended Pattern Collection for Blockchain-based Applications

Xiwei Xu, Cesare Pautasso, Sin Kuang Lo, Liming Zhu, Qinghua Lu, Ingo Weber

AI总结:

针对区块链应用设计缺乏系统化知识体系的问题,本文收集整理了分为五大类的区块链应用模式集,涵盖原生设计模式与现有设计模式的区块链场景变体,为相关软件架构设计提供参考。

摘要:

区块链是一项新兴技术,催生了新型去中心化软件架构,在这类架构中,分布式组件无需信任中央集成点即可就共享系统状态达成共识。区块链提供了共享基础设施,用于执行被称为智能合约(smart contracts)的程序以及存储数据。由于区块链技术尚处于早期阶段,目前缺乏系统化组织的知识体系,无法为基于区块链的软件系统设计提供全局视角。我们将区块链视为更大软件系统的一个组件,这类系统需要在软件架构设计中运用区块链的相关模式。本文收集了一系列面向区块链应用的模式。该模式集分为五大类别,包括与外部世界交互模式、数据管理模式、安全模式、合约结构模式以及用户交互模式。其中部分模式是结合区块链的特性、以及区块链如何具体落地到真实应用中设计的,其余则是现有设计模式在区块链应用与智能合约场景下的变体。

英文摘要:

Blockchain is an emerging technology that enables new forms of decentralized software architectures, where distributed components can reach agreements on shared system states without trusting a central integration point. Blockchain provides a shared infrastructure to execute programs, called smart contracts, and to store data. Since blockchain technologies are at an early stage, there is a lack of a systematically organized knowledge providing a holistic view on designing software systems that use blockchain. We view blockchain as a component of a bigger software system, which requires patterns for using blockchain in the design of the software architecture. In this paper, we collect a list of patterns for blockchain-based applications. The pattern collection is categorized into five categories, including interaction with external world patterns, data management patterns, security patterns, structural patterns of contracts, and user interaction patterns. Some patterns are designed considering the nature of blockchain and how blockchains can be specifically introduced within real-world applications. Others are variants of existing design patterns applied in the context of blockchain-based applications and smart contracts.

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

↑