计算机科学 ›› 2023, Vol. 50 ›› Issue (1): 342-350.doi: 10.11896/jsjkx.211100011

• 信息安全 • 上一篇    下一篇

基于区块链的可信SOA架构

陈艳1,2, 林兵2,3, 陈晓娜1,2, 陈星1,2   

  1. 1 福州大学计算机与大数据学院 福州 350116
    2 福建省网络计算与智能信息处理重点实验室 福州 350116
    3 福建师范大学物理与能源学院 福州 350117
  • 收稿日期:2021-10-31 修回日期:2022-07-21 出版日期:2023-01-15 发布日期:2023-01-09
  • 通讯作者: 林兵(WheelLX@163.com)
  • 作者简介:chenyan_fzu@163.com
  • 基金资助:
    国家重点研发计划(2018YFB1004800);福建省自然科学基金杰青项目(2020J06014)

Blockchain-based Trusted Service-oriented Architecture

CHEN Yan1,2, LIN Bing2,3, CHEN Xiaona1,2, CHEN Xing1,2   

  1. 1 College of Computer and Data Science,Fuzhou University,Fuzhou 350116,China
    2 Fujian Key Laboratory of Network Computing and Intelligent Information Processing,Fuzhou 350116,China
    3 College of Physics and Energy,Fujian Normal University,Fuzhou 350117,China
  • Received:2021-10-31 Revised:2022-07-21 Online:2023-01-15 Published:2023-01-09
  • About author:CHEN Yan,born in 1997,postgraduate.Her main research interests include blockchain and service composition.
    LIN Bing,born in 1986,Ph.D,associate professor,postgraduate supervisor,is a member of China Computer Federation.His main research interests include cloud computing and intelligent computing and its application.
  • Supported by:
    National Key R & D Program of China(2018YFB1004800) and Natural Science Foundation of Fujian Province for Distinguished Young Scholars(2020J06014).

摘要: 在传统服务架构(Service-Oriented Architecture,SOA)中,Web Service提供者将其服务描述注册在注册中心,供服务消费者进行服务发现和服务调用。尽管该架构可以提供松散的服务调用,但是缺乏争议解决机制,使得互不信任的服务消费者和提供者之间的服务可信调用得不到保证。区块链技术在去中心化和抗篡改等方面具有显著的优势,可被合理地应用在传统SOA中,以解决服务可信问题。结合传统SOA架构和区块链技术,提出了一种基于区块链的可信SOA架构,实现可信的服务调用。在一次服务可信调用过程中,服务消费者进行参数加密并将其发送给目标服务提供者;服务提供者接收加密参数并对其完成解密;服务提供者完成服务执行并对输出结果完成加密;最后服务提供者在将加密结果发送给服务消费者的同时完成可信凭证的构造与上链。在上述基础上,当发生服务纠纷时,将触发裁决智能合约,正确处理服务纠纷。实验结果表明,与传统的调用相比,所提方法能够在保证大部分服务可信调用时间增长率不大于30%的前提下,正确处理服务提供者和请求者之间的服务纠纷。

关键词: 区块链, 基于区块链的服务描述模型, 可信凭证, 可信调用, 争议解决机制

Abstract: In traditional service-oriented architecture(SOA),web service providers register their service descriptions in the registry for service consumers to discover and invoke services.Traditional SOA lacks dispute resolution mechanism,so that the trusted service invocation between service consumers and providers can not be guaranteed.Blockchain can be reasonably introduced into the dispute resolution mechanism due to its significant advantages in decentralization and tamper resistance.Therefore,this paper proposes a trusted SOA architecture based on blockchain,in which blockchain acts as evidence recorder and service registry agent. During a service trusted invocation,the service consumer first encrypts the parameters and sends them to the target service provider.Secondly,the service provider receives the encryption parameters and decrypts them.Then,the service provider completes the service execution and encrypts the output result.Finally,when the service provider sends the encryption result to the service consumer,it completes the trusted credential construction and uplink.Based on the above,when a service dispute occurs,it will trigger the adjudication of the smart contract.The execution of the contract relies on trusted vouchers to correctly handle service disputes.Experimental results show that,compared with the traditional invocation,the proposed method can correctly handle the service disputes between service providers and requesters on the premise of ensuring that the growth rate of trusted invocation time of most services is no more than 30%.

Key words: Blockchain, Blockchain-based service description model, Trusted credential, Trusted invocation, Dispute resolution mechanism

中图分类号: 

  • TP311
[1]HENDLER J.Agents and the Semantic Web[J].IEEE Intelligent Systems,2001,16(2):30-37.
[2]MCILRAITH S A,SON T C,ZENG H.Semantic Web Services[J].IEEE Intelligent Systems,2006,16(2):46-53.
[3]PAOLUCCI M,SYCARA K.Autonomous Semantic Web Ser-vices[J].IEEE Internet Computing,2003,7(5):34-41.
[4]BURSTEIN M,BUSSLER C,FININ T,et al.A Semantic Web Services Architecture[J].IEEE Internet Computing,2005,9(5):72-81.
[5]ERL T.SOA Concept,Technology and Design[M].Beijing:Machinery Industry Press,2007:28-29.
[6]HONG W,LIM M,KIM E,et al.GAIS:Grid Advanced Information Service Based on P2P Mechanism[C]//IEEE International Symposium on High Performance Distributed Computing.2004.
[7]LI X,ZHANG X,XU Z.On Reliable and Dcalable Peer-to-Peer Web Document Sharing[C]//Parallel & Distributed Processing Symposium.2002.
[8]NAKAMOTO S.Bitcoin:A Peer-to-Peer Electronic Cash System[J/OL].Decentralized Business Review,2008:21260.http://www.bitcoin.org/bitcoin.pdf.
[9]WANG H,ZHENG Z,XIE S,et al.Blockchain Challenges and Opportunities:A Survey[J].International Journal of Web and Grid Services,2018,14(4):352-375.
[10]YAGA D,MELL P,ROBY N,et al.Blockchain TechnologyOverview[J].arXiv:1906.11078,2019.
[11]XU Y,J REN,ZHANG Y,et al.Blockchain Empowered Arbitrable Data Auditing Scheme for Network Storage as a Service[J].IEEE Transactions on Services Computing,2020,13(2):289-300.
[12]ANIELLO L,BALDONI R,LOMBARDI F.A Blockchain-Based Solution for Enabling Log-Based Resolution of Disputes in Multi-party Transactions[C]//International Conference in Software Engineering for Defence Applications.Cham:Springer,2016:53-58.
[13]PAPAZOGLOU M P,HEUVEL W.Service Oriented Architectures:Approaches,Technologies and Research Issues[J].Vldb Journal,2007,16(3):389-415.
[14]PAPAZOGLOU M P.Service-Oriented Computing:Concepts,Characteristics and Directions[C]//International Conference on Web Information Systems Engineering.2003.
[15]VENTERS C C,TOWNEND P,LAU L,et al.Provenance:Current Directions and Future Challenges for Service Oriented Computing[C]//IEEE International Symposium on Service Oriented System Engineering.2011.
[16]MONSON-HAEFEL R.J2EE Web Services[M].Addison-Wesley Professional,2004.
[17]ROSADO D G, RNÁNDEZ-MEDINA E F, LÓPEZ J.Security Services Architecture for Secure Mobile Grid Systems[J].Journal of Systems Architecture,2011,57(3):240-258.
[18]YUAN Y,WANG F.Development Status and Prospectof Blockchain Technology [J].Journal of Automation,2016,42(4):481-494.
[19]HE P,YU G,ZHANG Y F,et al.Overview of Blockchain Technology and Application Prospects [J].Computer Science,2017,44(4):1-7.
[20]XU Y,REN J,WANG G,et al.A Blockchain-based Non-Repudiation Network Computing Service Scheme for Industrial IoT[J].IEEE Transactions on Industrial Informatics,2019,15(6):3632-3641.
[21]ANGELIS S D,ANIELLO L,BALDONI R,et al.PBFT vsProof-of-Authority:Applying the CAP Theorem to Permissioned Blockchain[C]//Conference on Cybersecurity.2017.
[22]ZOU J,WANG Y,ORGUN M A.A Dispute Arbitration Protocol Based on a Peer-to-Peer Service Contract Management Scheme[C]//IEEE International Conference on Web Services. 2016.
[23]JANI S.Smart Contracts:Building Blocks for Digital Transformation[J/OL].Indira Gandhi National Open University,2020.https://www.researchgate.net/publication/340376424_Smart_Contracts_Building_Blocks_for_Digital_Transformation.
[24]ANTONOPOULOS A M,WOOD G.Mastering Ethereum:Building Smart Contracts and Dapps[M].O'reilly Media,2018.
[25]KOULU R.Blockchains and Online Dispute Resolution:Smart Contracts as An Alternative to Enforcement[J].SCRIPTed,2016,13(5):40-69.
[26]KLEMS M,EBERHARDT J,TAI S,et al.Trustless Interme-diation in Blockchain-Based Decentralized Service Marketplaces[C]//International Conference on Service-Oriented Computing.2017.
[27] ZHONG Z S.An Improvement on Blockchain-Based PoS Consensus Algorithm[J].Journal of Chongqing Technology and Business University(Natural Science Edition),2021,38(4):36-41.
[28] HUANG D.Authenticated encryption scheme of electronic evidence based on blockchain and ring signcryption[J].Journal of Chongqing University of Posts and Telecommunications(Natural Science Edition),2022,34(1):16-23.
[29]SONG S,PENG W.BLOCCE+:An Improved Blockchain-Based Covert Communication Approach[J].Journal of Chongqing University of Technology(Natural Science),2020,34(9):238-244.
[1] 李贝, 吴昊, 贺小伟, 王宾, 徐尔刚.
区块链系统的存储可扩展性综述
Survey of Storage Scalability in Blockchain Systems
计算机科学, 2023, 50(1): 318-333. https://doi.org/10.11896/jsjkx.211200042
[2] 王子凯, 朱健, 张伯钧, 胡凯.
区块链与智能合约并行方法研究与实现
Research and Implementation of Parallel Method in Blockchain and Smart Contract
计算机科学, 2022, 49(9): 312-317. https://doi.org/10.11896/jsjkx.210800102
[3] 傅丽玉, 陆歌皓, 吴义明, 罗娅玲.
区块链技术的研究及其发展综述
Overview of Research and Development of Blockchain Technology
计算机科学, 2022, 49(6A): 447-461. https://doi.org/10.11896/jsjkx.210600214
[4] 高健博, 张家硕, 李青山, 陈钟.
RegLang:一种面向监管的智能合约编程语言
RegLang:A Smart Contract Programming Language for Regulation
计算机科学, 2022, 49(6A): 462-468. https://doi.org/10.11896/jsjkx.210700016
[5] 毛典辉, 黄晖煜, 赵爽.
符合监管合规性的自动合成新闻检测方法研究
Study on Automatic Synthetic News Detection Method Complying with Regulatory Compliance
计算机科学, 2022, 49(6A): 523-530. https://doi.org/10.11896/jsjkx.210300083
[6] 李博, 向海昀, 张宇翔, 廖浩德.
面向食品溯源场景的PBFT优化算法应用研究
Application Research of PBFT Optimization Algorithm for Food Traceability Scenarios
计算机科学, 2022, 49(6A): 723-728. https://doi.org/10.11896/jsjkx.210800018
[7] 周航, 姜河, 赵琰, 解相朋.
适用于各单元共识交易的电力区块链系统优化调度研究
Study on Optimal Scheduling of Power Blockchain System for Consensus Transaction ofEach Unit
计算机科学, 2022, 49(6A): 771-776. https://doi.org/10.11896/jsjkx.210600241
[8] 王思明, 谭北海, 余荣.
面向6G可信可靠智能的区块链分片与激励机制
Blockchain Sharding and Incentive Mechanism for 6G Dependable Intelligence
计算机科学, 2022, 49(6): 32-38. https://doi.org/10.11896/jsjkx.220400004
[9] 孙浩, 毛瀚宇, 张岩峰, 于戈, 徐石成, 何光宇.
区块链跨链技术发展及应用
Development and Application of Blockchain Cross-chain Technology
计算机科学, 2022, 49(5): 287-295. https://doi.org/10.11896/jsjkx.210800132
[10] 阳真, 黄松, 郑长友.
基于区块链与改进CP-ABE的众测知识产权保护技术研究
Study on Crowdsourced Testing Intellectual Property Protection Technology Based on Blockchain and Improved CP-ABE
计算机科学, 2022, 49(5): 325-332. https://doi.org/10.11896/jsjkx.210900075
[11] 任畅, 赵洪, 蒋华.
一种量子安全拜占庭容错共识机制
Quantum Secured-Byzantine Fault Tolerance Blockchain Consensus Mechanism
计算机科学, 2022, 49(5): 333-340. https://doi.org/10.11896/jsjkx.210400154
[12] 冯了了, 丁滟, 刘坤林, 马科林, 常俊胜.
区块链BFT共识算法研究进展
Research Advance on BFT Consensus Algorithms
计算机科学, 2022, 49(4): 329-339. https://doi.org/10.11896/jsjkx.210700011
[13] 王鑫, 周泽宝, 余芸, 陈禹旭, 任昊文, 蒋一波, 孙凌云.
一种面向电能量数据的联邦学习可靠性激励机制
Reliable Incentive Mechanism for Federated Learning of Electric Metering Data
计算机科学, 2022, 49(3): 31-38. https://doi.org/10.11896/jsjkx.210700195
[14] 张潆藜, 马佳利, 刘子昂, 刘新, 周睿.
以太坊Solidity智能合约漏洞检测方法综述
Overview of Vulnerability Detection Methods for Ethereum Solidity Smart Contracts
计算机科学, 2022, 49(3): 52-61. https://doi.org/10.11896/jsjkx.210700004
[15] 杨昕宇, 彭长根, 杨辉, 丁红发.
基于演化博弈的理性拜占庭容错共识算法
Rational PBFT Consensus Algorithm with Evolutionary Game
计算机科学, 2022, 49(3): 360-370. https://doi.org/10.11896/jsjkx.210900110
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!