首页 | 本学科首页   官方微博 | 高级检索  
     

多区块链交易分发和事件处理的系统方案
引用本文:刘雄文.多区块链交易分发和事件处理的系统方案[J].计算机科学,2018,45(Z11):580-583, 602.
作者姓名:刘雄文
作者单位:上海壹帐通金融科技有限公司 上海201102
摘    要:在基于拜占庭容错协议设计的区块链系统中,系统的效率和性能较低,限制了区块链的应用与发展。提出了一种基于多区块链系统支持交易分片和事件处理的系统方案。该方案中,系统被划分为应用客户端、处理系统、各区块链3个层面。应用客户端用于发送交易请求和接收感兴趣的事件, 处理系统进行交易的分发和事件处理 ,各区块链用于区块链内部处理交易请求和事件 。处理系统适配区块链数量可变和不可变的两类多区块链系统,设计了选择区块链的两种策略,即映射关系表和哈希一致性,两种策略在交易分发时依据负载均衡、单调性和一致性的原则,并基于交易的业务类型和业务类型内部ID号把交易请求分发到合适的区块链。每个区块链与处理系统内部的交易调用客户端、事件和消息流客户端建立一一对应关系;每个应用客户端与处理系统内部的交易应用调用服务端、交易应用事件连接服务端、事件消息流服务端交互,发送交易的请求并获取交易的结果。对交易分发的方案和事件处理进行具体的设计,并对系统的整体方案进行了基本的测试和验证。

关 键 词:多区块链  一致性  交易分发  事件处理  消息流

System Solution of Multi-blockchain Transaction Dispatching and Event Handling
LIU Xiong-wen.System Solution of Multi-blockchain Transaction Dispatching and Event Handling[J].Computer Science,2018,45(Z11):580-583, 602.
Authors:LIU Xiong-wen
Affiliation:Shanghai OneConnect Technology Co.,LTD.,Shanghai 201102,China
Abstract:In the blockchain system based on the Byzantine Fault Tolerance (BFT) protocol,the efficiency and perfor-mance of system are poor,which limited the application and development of blockchain.A system solution of supporting transaction dispatching and event handling based on multiple blockchains was proposed.In the solution,the system is divided into application clients,handling system and blockchains.Application clients are used to send out transaction requests and receive the events which are interested in.Every blockchains are used to internally handle transaction requests and events.The handling system is adaptive to the system of variable number of blockchain and the system of immutable number of blockchain.Two polices of selecting blockchain,including mapping relationship table and hash consistency alogorithm,are designed.According to the load balance,monotonicity and consistency,both of these two policies dispatch transactions based on the service type and the internal ID of service type.Every blockchain set up the one-to-one correspondence with transaction calling client,event and message streaming client.Every application client sents out the transaction requests and receives the transaction results by interacting with transaction application calling ser-ver,transaction application event connection server and event message streaming server.Transaction dispatcher and event handler were designed in detail,and basic test and verification were made for the whole system solution.
Keywords:Multiple blockchain  Consistency  Transaction dispatching  Event handling  Message stream
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号