计算机科学 ›› 2021, Vol. 48 ›› Issue (2): 33-40.doi: 10.11896/jsjkx.191100152
陆懿帆, 曹芮浩, 王俊丽, 闫春钢
LU Yi-fan, CAO Rui-hao, WANG Jun-li, YAN Chun-gang
摘要: 微服务架构是一种新兴的服务架构风格,在处理复杂服务系统时表现出运行高效、部署灵活等特性,相较于单体式服务架构,能够提供更好的业务管理和服务支持。针对检察院复杂的办案业务,需要对服务进行组合封装,形成新的增值服务以满足用户需求。但是,单独进行服务质量驱动的服务封装不能满足检察业务的需求,因此,结合服务功能和服务质量,提出了微服务架构下图规划算法的改进方法(Improved Graphplan Under MicroService Architecture,IGMA)。该方法首先对服务、用户请求建立数学模型,其次综合服务的功能需求和非功能需求,在不同案件类型下为用户提供多种组合方案,最后建立服务工作流,完成案件服务封装。该方法能够智能判断服务组合结构中的分支结构,并对不同的分支结构建立不同的组合方案。实验结果表明,该方法在服务封装的时效性和准确性上有了较大的提升。
中图分类号:
[1] ZHANG X Z,LYU T Y,ZHANG B.Modeling of complex ser-vice collaborative network based on service interaction behavior[J].Journal of Software,2016,27(2):231-246. [2] XIN Y Y,NIU J,XIE Z J,et al.Overview of microservice architecture implementation framework[J].Computer Engineering and Application,2018,54(19):16-23. [3] DU M,LI F F,ZHENG G N,et al.DeepLog:Anomaly Detection and Diagnosis from System Logs through Deep Learning[C]//ACM Conference on Computer and Communications Security (CCS).2017:1285-1298. [4] DELAC G,SILIC M,SRBLJIC S.A Reliability ImprovementMethod for SOA-Based Applications[J].IEEE Transactions on Dependable and Secure Computing (TDSC),2015,12(2):136-149. [5] ZHANG W C,SUN H L,LIU X D,et al.Temporal QoS-Aware Web Service Recommendation via Non-negative Tensor Factorization[C]//International World Wide Web Conference (WWW).2014:585-595. [6] SILIC M,DELAC G,SRBLJIC S.Prediction of Atomic WebServices Reliability for QoS-Aware Recommendation[J].IEEE Transactions on Services Computing,2015,8(3):425-438. [7] LO W,YIN J,DENG S,et al.An Extended Matrix Factorization Approach for QoS Prediction in Service Selection[C]//IEEE Ninth International Conference on Services Computing.IEEE,2012:162-169. [8] ZHENG Z,ZHANG Y,LYU M R.Investigating QoS of Real-World Web Services[J].IEEE Transactions on Services Computing,2014,7(1):32-39. [9] ZHENG Z,ZHANG Y,LYU M R.Distributed QoS Evaluation for Real-World Web Services[C]//2010 IEEE International Conference on Web Services (ICWS).IEEE,2010:83-90. [10] YANG Y,TANG S,XU Y,et al.An Approach to QoS-awareService Selection in Dynamic Web Service Composition[C]//Third International Conference on Networking and Services.ICNS,IEEE,2007:19-25. [11] FANJIANG Y Y,SYU Y,MA S P,et al.An Overview and Classification of Service Description Approaches in Automated Ser-vice Composition Research[J].IEEE Transactions on Services Computing,2017,10(2):176-189. [12] VARDHAN A V,BASHA M S S,DHAVACHELVAN P.An Overview of Web Services Composition Approaches[J].International Journal of Computer Applications,2011,29(8):10-15. [13] CONSTANTINESCU I,FALTINGS B,BINDER W.Largescale,type-compatible service composition[C]//IEEE International Conference on Web Services.IEEE Computer Society,2004:5-6. [14] THAKKER D,OSMAN T,AL-DABASS D.Knowledge-Intensive Semantic Web Services Composition[C]//Tenth International Conference on Computer Modeling & Simulation.IEEE,2008:673-678. [15] AIELLO M,KHOURY E E,LAZOVIK A,et al.Optimal QoS-Aware Web Service Composition[C]//Joint IEEE Conference on E-Commerce Technology and IEEE Conference on Enterprise Computing,E-Commerce and E-Services IEEE Computer.2009:491-494. [16] ALRIFAI M,RISSE T,NEJDL W.A hybrid approach for efficient Web service composition with end-to-end QoS constraints[J].ACM Transactions on the Web,2012,6(2):1-31. [17] YAN Y,XU B,GU Z,et al.A QoS-Driven Approach for Semantic Service Composition[C]//IEEE Conference on Commerce & Enterprise Computing.IEEE,2009:523-526. [18] ZHENG Z,ZHANG Y,LYU M R.Investigating QoS of Real-World Web Services[J].IEEE Transactions on Services Computing,2014,7(1):32-39. [19] ZHENG Z,ZHANG Y,LYU M R.Distributed QoS Evaluation for Real-World Web Services[C]//2010 IEEE International Conference on Web Services (ICWS).IEEE,2010:83-90. [20] CONSTANTINESCU I,FALTINGS B,BINDER W.Largescale,type-compatible service composition[C]//IEEE International Conference on Web Services.IEEE Computer Society,2004:506-513. [21] ZHANG P Y,HUANG B,SUN Y M.Service semantic matching mechanism based on service combination[J].Journal of University of Electronic Science and Technology,2008,37(6):917-921. [22] LI S Z,YANG G,YANG S X.A semantic Web service matching algorithm based on ontology concept similarity[J].Microcomputer and Applications,2009,28(15):57-60. [23] ZHANG R L.Research on combination method based on Web service group model[J].Science and Technology Information,2012(30):285-285. [24] WU B,WU J,DENG S,et al.Automatic Composition of Semantic Web Services An Enhanced State Space Search Approach[C]//International Conference on Service Sciences.IEEE Computer Society,2010,13/14:226-230. [25] CORBIN H.Changing maternity service in a changing world[J].Public Health Nursing,1950,42(8):427. [26] KAELBLING L P,LITTMAN M L,MOORE A W.Reinforcement Learning:A Survey[J].Artificial Intelligence Research,1996,4(1):237-285. [27] GAO A,YANG D,TANG S,et al.Web service compositionusing markov decision processes[C]//Processing of the 6th International Conference on Advances in Web-Age Information Management.2005:308-319. [28] OH S C,LEE D,KUMARA S R.Effective Web Service Composition in Diverse and Large-Scale Service Networks[J].IEEE Transactions on Services Computing,2008,1(1):15-32. [29] REN L,WANG W,XU H.A Reinforcement Learning Method for Constraint-Satisfied Services Composition[J].IEEE Transactions on Services Computing,1939,13(5):786-800. [30] WANG H,ZHOU X,ZHOU X,et al.Adaptive Service Composition Based on Reinforcement Learning[C]// ICSOC.LNCS,2010:92-107. [31] WANG H,QIN W,XIN C,et al.Adaptive and Dynamic Service Composition via Multi-agent Reinforcement Learning[C]//IEEE International Conference on Web Services.2014:447-454. [32] LI J J.Adaptive service combination combining QoS predictionand multi-agent reinforcement learning[D].Nanjiang:Southeast University,2018. [33] WANG H,CHEN X,WU Q,et al.Integrating On-policy Reinforcement Learning with Multi-agent Techniques for Adaptive Service Composition[M] ∥Service-Oriented Computing.2014:154-168. [34] ABOUHEAF M,GUEAIEB W.Reinforcement Learning Solution with Costate Approximation for a Flexible Wing Aircraft[C]//2018 IEEE International Conference on Computational Intelligence and Virtual Environments for Measurement Systems and Applications (CIVEMSA).2018:1-6. [35] ARDAGNA D,PERNICI B.Adaptive Service Composition inFlexible Processes[J].IEEE Transactions on Software Engineering,2007,33(6):369-384. [36] LIN S Y,LIN G T,CHAO K M,et al.A Cost-Effective Planning Graph Approach for Large-Scale Web Service Composition[J].Mathematical Problems in Engineering,2012:1-21. [37] HUA Z,YAN F,HUI G.A Web Service Composition Algo-rithm Based on Dependency Graph[J].Lecture Notes in Electrical Engineering,2012,113:1511-1518. [38] FAN G D.Web service combination method based on FAHP and scheme map fusion[J].Computer Science,2020,47(1):270-275. |
[1] | 杨玉丽, 李宇航, 邓岸华. 面向个性化需求的云制造服务可信评价模型 Trust Evaluation Model of Cloud Manufacturing Services for Personalized Needs 计算机科学, 2022, 49(3): 354-359. https://doi.org/10.11896/jsjkx.210200116 |
[2] | 姚娟, 邢镔, 曾骏, 文俊浩. 云制造服务组合研究综述 Survey on Cloud Manufacturing Service Composition 计算机科学, 2021, 48(7): 245-255. https://doi.org/10.11896/jsjkx.200800173 |
[3] | 孙明玮, 司维超, 董琪. 基于多维度数据的网络服务质量的综合评估研究 Research on Comprehensive Evaluation of Network Quality of Service Based on Multidimensional Data 计算机科学, 2021, 48(6A): 246-249. https://doi.org/10.11896/jsjkx.200900131 |
[4] | 郑增乾, 王锟, 赵涛, 蒋维, 孟利民. 带宽和时延受限的流媒体服务器集群负载均衡机制 Load Balancing Mechanism for Bandwidth and Time-delay Constrained Streaming Media Server Cluster 计算机科学, 2021, 48(6): 261-267. https://doi.org/10.11896/jsjkx.200400131 |
[5] | 王焘, 张树东, 李安, 邵亚茹, 张文博. 一种面向异常传播的微服务故障诊断方法 Anomaly Propagation Based Fault Diagnosis for Microservices 计算机科学, 2021, 48(12): 8-16. https://doi.org/10.11896/jsjkx.210100149 |
[6] | 江郑, 王俊丽, 曹芮浩, 闫春钢. 一种基于微服务架构的服务划分方法 Method of Service Decomposition Based on Microservice Architecture 计算机科学, 2021, 48(12): 17-23. https://doi.org/10.11896/jsjkx.210500078 |
[7] | 蒋建峰, 尤澜涛. 基于MPLS-TE的数据中心网络QoS优化 QoS Optimization of Data Center Network Based on MPLS-TE 计算机科学, 2021, 48(11A): 485-489. https://doi.org/10.11896/jsjkx.210900190 |
[8] | 杨章林, 谢钧, 张耕强. 基于定向天线的飞行自组网定向路由协议综述 Review of Directional Routing Protocols for Flying Ad-Hoc Networks Based on Directional Antennas 计算机科学, 2021, 48(11): 334-344. https://doi.org/10.11896/jsjkx.210400182 |
[9] | 魏礼奇, 赵志宏, 白光伟, 沈航. 基于生成对抗网络的位置隐私博弈机制 Location Privacy Game Mechanism Based on Generative Adversarial Networks 计算机科学, 2021, 48(10): 266-271. https://doi.org/10.11896/jsjkx.200900021 |
[10] | 朱汉卿, 马武彬, 周浩浩, 吴亚辉, 黄宏斌. 基于改进多目标进化算法的微服务用户请求分配策略 Microservices User Requests Allocation Strategy Based on Improved Multi-objective Evolutionary Algorithms 计算机科学, 2021, 48(10): 343-350. https://doi.org/10.11896/jsjkx.201100009 |
[11] | 何志鹏, 李瑞琳, 牛北方. 高可用弹性宏基因组学计算平台 Highly Available Elastic Computing Platform for Metagenomics 计算机科学, 2021, 48(1): 326-332. https://doi.org/10.11896/jsjkx.191200030 |
[12] | 于曼, 黄凯, 张翔. 基于微服务架构的ETC系统设计 Design of ETC System Based on Microservice Architecture 计算机科学, 2020, 47(6A): 643-647. https://doi.org/10.11896/JsJkx.190800010 |
[13] | 吴文峻, 于鑫, 蒲彦均, 汪群博, 于笑明. 微服务时代的复杂服务软件开发 Development of Complex Service Software in Microservice Era 计算机科学, 2020, 47(12): 11-17. https://doi.org/10.11896/jsjkx.200700181 |
[14] | 范国栋,祝铭,李静,崔晓柳. 基于FAHP与规划图融合的Web服务组合方法 Web Service Composition by Combining FAHP and Graphplan 计算机科学, 2020, 47(1): 270-275. https://doi.org/10.11896/jsjkx.181102228 |
[15] | 吴斌烽. 基于微服务架构的物联网中间件设计 Design of IoT Middleware Based on Microservices Architecture 计算机科学, 2019, 46(6A): 580-584. |
|