arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1805.02105cs.DCcs.SE
收藏

Hyperledger Fabric的服务发现

Service Discovery for Hyperledger Fabric

Yacov Manevich, Artem Barger, Yoav Tock

摘要:

Hyperledger Fabric(HLF)是一个模块化和可扩展的许可区块链平台,由Linux基金会开源并托管。该平台的设计展示了企业级业务应用程序所需的原则,如供应链,金融交易,资产管理,食品安全等。为此,HLF引入了几项创新,其中两项是通用语言的智能合约(HLF中的\emph{chaincode})和灵活的背书策略,这些策略控制交易是否被视为有效。典型的区块链应用程序由两层组成:第一层侧重于数据模式的建模,并通过智能合约(\emph{chaincode})和背书策略将业务规则嵌入区块链;第二层使用HLF提供的SDK(软件开发工具包)来实现客户端应用程序逻辑。然而,这两层之间存在差距,阻碍了客户端SDK中链码和背书策略的快速采用。目前,链码位置和背书策略静态配置到客户端SDK中。这限制了客户端在平台发生变化时的可靠性和可用性,并使平台更难以使用。在这项工作中,我们通过描述\emph{Service Discovery}的设计和实现来解决和弥合这一差距。\emph{Service Discovery}提供了API接口,可以动态发现客户端SDK与平台交互所需的配置,减轻客户端的维护负担,使客户端能够快速适应平台的变化,从而显著提高应用层的可靠性。它还使HLF平台更具可消费性,简化了创建区块链应用程序的工作。

英文摘要:

Hyperledger Fabric (HLF) is a modular and extensible permissioned blockchain platform released to open-source and hosted by the Linux Foundation. The platform's design exhibits principles required by enterprise grade business applications like supply-chains, financial transactions, asset management, food safety, and many more. For that end HLF introduces several innovations, two of which are smart contracts in general purpose languages (\emph{chaincode} in HLF), and flexible endorsement policies, which govern whether a transaction is considered valid. Typical blockchain applications are comprised of two tiers: the first tier focuses on the modelling of the data schema and embedding of business rules into the blockchain by means of smart contracts (\emph{chaincode}) and endorsment policies; and the second tier uses the SDK (Software Development Kit) provided by HLF to implement client side application logic. However there is a gap between the two tiers that hinders the rapid adoption of changes in the chaincode and endorsement policies within the client SDK. Currently, the chaincode location and endorsement policies are statically configured into the client SDK. This limits the reliability and availability of the client in the event of changes in the platform, and makes the platform more difficult to use. In this work we address and bridge the gap by describing the design and implementation of \emph{Service Discovery}. \emph{Service Discovery} provides APIs which allow dynamic discovery of the configuration required for the client SDK to interact with the platform, alleviating the client from the burden of maintaining it. This enables the client to rapidly adapt to changes in the platform, thus significantly improving the reliability of the application layer. It also makes the HLF platform more consumable, simplifying the job of creating blockchain applications.

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

↑