支持服务协同的PaaS平台中服务动态适配关键技术研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着网络技术和信息技术的发展,出现了越来越多的网络应用,并向着网络化、协同化、跨域化的趋势发展,网络协同应用的普及变得越来越广泛。但是开发、管理、支撑这样一个大型协同应用非常复杂,具备这种能力的软件生产企业并不多,目前普遍缺乏统一的公共信息技术和支撑平台来屏蔽这些复杂的协同应用实现技术,如分布式服务调用、应用跨域协同、协同应用适配等关键技术实现。云计算及PaaS服务模式的出现为如何实现网络应用的快速开发、交付、使用和部署带来了新的契机和技术手段。PaaS平台通过一系列基础接口实现网络应用的快速构建或交付,并能够根据用户需求的不同以SaaS模式提供个性化的应用服务。但是当前对于PaaS平台的研究大多集中在单一应用的定制、交付、使用和部署等方面,单一应用的支撑无法满足目前网络复杂协同应用系统构建、交付、部署和运行的需求。为此本文提出一个支持服务协同的PaaS平台,该平台提供一种新型面向云计算的协同应用开发、交付、部署、定制和使用模式。基于支持服务协同的PaaS平台,专业化应用提供商(ISV)可以将专业的应用、应用与其它类型的应用之间可能发生的协同关联和约束以及各种应用数据交付到该平台上,交付既可以是应用全部部署也可以仅仅以服务注册的方式实现;协同应用服务提供商可以利用该平台上已有的应用资源及其关联和约束构建出满足目标用户需求的协同服务,并提供给不同的行业用户按照各自的需求个性化使用;行业用户可以这个基础上定制出符合行业需求的大型的复杂的协同应用,实现协同应用的网络化提供和平台托管式运行。
     基于以上应用模式,支持服务协同的PaaS平台将汇聚众多专业化的软件服务资源,这些资源为大型复杂的协同应用提供了构建基础。但是由于资源的提供商不同,缺乏统一的行业标准,要想把这些资源动态装配成协同应用还需要面临诸多挑战,其中一个主要的挑战就是不同应用提供商提供的服务之间的诸多适配问题:1)服务应用之间的接口适配问题。服务由不同的开发商提供,其接口的定义没有统一的标准,造成消息交互出现异常,这时需要通过适配机制对接口进行匹配以完成服务协同过程;2)协同应用的协议适配问题。协同应用的协议是协同服务之间达成的消息交换顺序,即服务的编排(Choreography),服务编排的建立基于各个协同服务的编制(Orchestration),服务编制是服务内部行为,如果协同应用组成服务的内部编制与服务编排及协议不符,那么就需要进行服务的协议适配;3)服务协同适配器的动态构建问题。适配问题出现时即时、动态的构建出满足适配需求的适配器是实现服务协同的有效手段,可以提高服务的重用性和服务的协同效率。
     本文针对上述这些支持服务协同的PaaS平台中出现的适配问题开展了深入研究:1)在支持服务协同的PaaS平台上设计基于适配器的服务动态适配框架;2)针对协同应用构建过程中可能出现的接口不兼容情况基于前人的研究构建具体的行为模型,通过具体行为模型设计行为因素计算算法,计算出行为因素的影响度,从而提出一种综合的基于行为因素的的接口动态适配算法;3)针对协同应用服务协议匹配过程中出现的死锁问题设计死锁检测和可信死锁处理过程;4)针对PaaS平台上协同应用适配器的构建问题设计了基于适配器协议的适配器动态构建方法,相比于传统的适配器构建方法,该方法考虑了接口层和协议层的动态适配结果,同时采用更加灵活的动态方式而不是模板方式来构建适配器。
     本文研究的支持服务协同PaaS平台中的服务动态适配技术是构建大型复杂网络化协同应用,实现面向云计算的新型服务协同应用开发、交付的关键技术,对于提高不同机构或领域服务协同的协作效率,减少组织内部服务重构成本,提高服务的重用效用具有重要意义。同时论文成果也是云计算以服务及其流程为核心计算架构的关键技术之一,具有广阔的应用前景。
As the network technology and the development of computer technology, it appeared more and more large internet applications which cause large complexed network information systems, in coordination with the trend of networked, cross-domained, and collaborative, so collobration appilication has also become more and more widely. But the development, management and support such an collaboration application is very complex, and is still lack of unity based public information technology and supporting platform to shield the complexed application technology. The PaaS of cloud service modes brought new opportunities and deploy technology for how to achieve rapid customization, delivered, use of network applications. Through a series interfaces PaaS platform implementates quickly build or delivery of network application according to customers'demand by the SaaS model. But the current PaaS always search on a single application's building, delivered, use and deployed. The single application supporting cannot satisfy the demand of complex information system construction. In this paper, we puts forward a services collaboration PaaS platform. It supports different service providers or business organizations collaboration work immediately and dynamically through constructing collaboration application according to the user's complicated requirements.The independent software vendores (ISV) can deliver professional applications, the possible collaborative relationship and constraints between them and various application data to the platform. The customers can customized their personal private appliction through SaaS mode. The collaboration providers are familiar with multiple business areas, and can use the existing resources in the platform to construct demanded collaborative services. This kind of collaboration services can be delivered to different industry users according to their personalized use. Industry users can customize on basis of a large complex collaborative application, and can realize the collaboration applications'network providing and trusteeship operation.
     Under this apply mode the PaaS will gather a lot of professional cloud service resources, which are building foundation of large complex collaboration application. But since resources providers lack of unified standard, assembling them dynamically into collaboration application still need more challenges including a major one on different application providers'services adaptation:1) Interface Adaption Problem. Services provided by different developers, so their interfaces definition don't have uniform standard, which causing unusual interaction through adaptation mechanisms to accomplish the collaboration process.2) Protocol adaption Problem. The interactive process collaborative application by the service protocol based on service establishment, composed of collaborative application if internal layout and service service compiled and agree with, then we have agreements on service agreement adapter.3) Dynamic Constructed of Adapter. When the service adaptation problems occurred, constructing the required adapters dynamically are effective method to fulfill the service's collaboration, and it can enhance reusablity of services and collaboration efficiency.
     Based on these adaptation problemes this paper makes some innovations:1) Propose a dynamic adaption solution based on adapter.2) Design an interface layer dynamic adaptive algorithm. It considered both service interface and behavioral factors, and design concrete service behavioral factor computing algrithom which is different from the other researches.3) Design a trusted protocol layer's deadlock detection and processing solution aimed at service protocol layer's mismatching.4) Design a more flexible and compositive adapter implementation method according to the adapter protocol aimed at dynamic construction of service adapter in PaaS platform.
     The service collaboration platform and service adaptation technology in this paper is the key problems facing different organization service collaboration raised by different fields. It reduces organization internal service reconstruction cost, and improves service reuse utility. Meanwhile, the researches are also one of the key technologies of cloud computing and process as the core computational structures, and it has wide application prospects.
引文
[1]Michael Armbrust, Armando Fox. Above the Clouds: A Berkeley View of Cloud Computing, http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-28.ht ml
    [2]D.Mitchell. Defining Platform-As-A-Service, or PaaS.2008 [online] Available:http://blogs.bungeeconnect. com/2008/02/18/defining-platform-asaservi ce-or-paas.
    [3]V. Goncalves and P. Ballon. An Exploratory Analysis of Software as a Service and Platform as a Service Models for Mobile Operators. International Conference on Intelligence in Next Generation Networks (ICIN 2009), Oct 26-29,2009.
    [4]R.Clark. A Break in the Clouds:Towards a Cloud Definition. ACM SIGCOMM Computer Communication Review, Volume 39, Issue 1 (January 2009),pp. 50-55.
    [5]S. Ried and J. Rymer. Forrester's Platform-As-A-Service Reference Architecture, A Tool To Guide ISVs, Hosting Providers, And Middleware Vendors To A SaaS Future. Forrester 2009.
    [6]John W. Rittinghouse, James F.Ransome. Cloud Computing:Implementation, Management, and Security.2010,机械工业出版社.
    [7]Casati F, Ilnickiand S, Jin LJ, Krishnamoorthy V, Shan MC. Adaptive and Dynamic Service Composition in eFlow. In:Wangler B, Bergman L, eds. Proc. of the 12th Int'l Conf. on Advanced Information Systems Engineering (CaiSE 2000). LNCS 1789, Berlin, Heidelberg:Springer-Verlag,2000.13-31.
    [8]D. Hemer. A Formal Approach to Component Adaptation and Composition. In Australasian conference on Computer Science,2005.
    [9]M. Dumas, M. Spork, and K. Wang. Adapt or perish:Algebra and visual notation for service interface adaptation. In BPM'06.
    [10]Sheng QZ, Benatallah B, Dumas M, Mak EOY. SELF-SERV: A platform for rapid composition of Web services in a peer-to-peer environment. In:Proc. of the 28th Int'l Conf. on Very Large Data Bases (VLDB 2002). Hong Kong:Morgan Kaufmann Publishers,2002.1051-1054.
    [11]G Campbell. Adaptable Components. International Conference on Software Engineering,1 999:685-686.
    [12]G Heineman. An Evaluation of Component Adaptation Techniques. Technical Report WPI—CS-TR.1999.
    [13]S. Ducasse,T. Richner. Executable Connectors:towards Reusable Design Elements. European Software Engineering Conference(ESEC),1997:483-499
    [14]乔晓强,魏峻,黄涛.基于分布式协调模型的服务协作方法研究.软件学报,Vol.20,No.6,June 2009,pp.1470-1486.
    [15]Benatallah B, Casati F, Grigori D, Nezhad HRM, Toumani F. Developing adapters for Web services integration. In:Pastor O, Cunha JF, eds. Proc. of the 17th Int'l Conf. on Advanced Information Systems Engineering (CaiSE 2005). LNCS 3520, Berlin, Heidelberg:Springer-Verlag,2005.415-429.
    [16]X. Dong and et. al. Similarity search for web services. In VLDB'04.
    [17]Y. Wang and E. Stroulia. Flexible interface matching for web-service discovery. In WISE'03
    [18]S. Ponnekanti and A. Fox. Interoperability among independently evolving web services. In Middleware'04.
    [19]Berardi D. Automatic service composition:Models, techniques and tools [Ph.D. Thesis], Rome:University of Roma,2005.
    [20]Bultan T, Fu X, Hull R, Su JW. Conversation specification:A new approach to design and analysis of e-service composition. In:Hencsey G, White B, eds. Proc. of the 12th Int'1 Conf. on World Wide Web (WWW 2003). New York:ACM, 2003.403—410.
    [21]Zhang WT, Peng Y, Chen JL. Interface compatibility and composition of session-oriented e-service. Chinese Journal of Computers,2006,29(7):1047— 1056 (in Chinese with English abstract).
    [22]Foster H, Uchitel S, Magee J, Kramer J. Model-Based analysis of obligations in Web service choreography. In:Proc. of the IEEE Int'1 Conf. on Internet & Web Applications and services (ICIW 2006). Washington:IEEE Computer Society, 2006.149-156.
    [23]Yeung WL. Mapping WS-CDL and BPEL into CSP for behavioural specification and verification of Web services. In:Bernstein A, Gschwind T, Zimmermann W, eds. Proc. of the 4th European Conf. on Web Services (ECOWS 2006). Washington:IEEE Computer Society,2006.297-305.
    [24]Busi N, Gorrieri R, Guidi C, Lucchi R, Zavattaro G Choreography and orchestration:A synergic approach for system design. In:Benatallah B, Casati F, Traverso P, eds. Proc. of the 3rd Int'1 Conf. on Service Oriented Computing (ICSOC 2005). LNCS 3826, Berlin, Heidelberg:Springer-Verlag,2005.228-240.
    [25]D. M. Yellin and R. E. Strom. Protocol specifications and component adaptors. ACMTOPLAS,19(2),1997.
    [26]A. Brogi,R. Popescu. Automated Generation of BPEL Adapters. International Conference on Service-Oriented Computing,2006:27-39.
    [27]B. Benatallah,E Casati,D. Grigori,H. M. Nezhad,E Toumani. Developing Adapters for Web Services Integration. International Conference on Advanced Information Systems Engineering,2005:4 15—429.
    [28]W. Kongdenfha,R. Saint—Paul,B. Benatallah,E Casati. An Aspect-oriented Framework for Service Adaptation. International Conference on Service-Oriented Computing 2006:15-26.
    [29]E. Rahm and P. A. Bernstein. A survey of approaches to automatic schema matching. The VLDB Journal,10(4),2001.
    [30]Nezhad H, Benatallah B, Martens A, Curbera F, Casati F. Semi-Automated adaptation of service interactions. In:Proc. of the 16th Int'l Conf. on World wide Web (WWW 2007). New York:ACM,2007.993-1002.
    [31]J. C&nara,C. Canal,J. Cubo,J. M. Murillo. An Aspect-oriented Adaptation Framework for Dynamic Component Evolution. International Workshop on Coordination and Adaption Techniques for Software Entities,2006:21—34.
    [32]A. Bracciali,A. Brogi,C. Canal. A formal Approach to Component Adaptation. Journal of Systems and Software,2005,74(1).
    [33]C. Canal,P. Poizat. Synchronizing Behavioral Mismatch in Software Composition. Formal Methods for Open Object-Based DistributedSystems,2006: 63—77.
    [34]A. Brogi,C. Canal,E. Pimentel. Component Adaptation through Flexible Subservicing. Science of Computer Programming,2006,63(1):39—56.
    [35]Radu Mateescu, Pascal Poizat, Gwen Salaun. Adaptation of Service Protocols Using Process Algebra and On-the-Fly Reduction Techniques. ICSOC 2008, LNCS 5364, pp.84-99,2008。
    [36]乔晓强,魏峻,黄涛.基于适配的服务协作流程动态管理.计算机学报,Vol.31 No.8.Aug.2008.
    [37]李军怀,张璟,张卓彬.一个面向服务契约的Web服务适配器.计算机科学,Vol.36 No.7 July 2009.
    [38]Benatallah B, Casati F, Toumani F. Web services conversa2tion modeling:A cornerstone for E2Business automation. IEEE Internet Computing,2004,8(1): 46254
    [39]E. Rahm, H.-H. Do, and S. Mabmann. Matching large xml schemas. SIGMOD Rec.,33(4),2004.
    [40]J.A Bergstra, J.W. Klop. Algebra of Communicating Processes. North-Holland (Amsterdam).1986.
    [41]Imrich, Wilfried; Klavzar, Sandi; Rall, Douglas F. Graphs and their Cartesian Products. A. K. Peters.2008.
    [42]Radu Mateescu .On-the-Fly State Space Reductions for Weak Equivalences. FMICS2005.
    [43]Michael Boniface, Bassem Nasser. Platform-as-a-Service Architecture for Real-time Quality of Service Management in Clouds. DOI 10.1109/ICIW.2010.91
    [44]Jannis Rake-Revelant, Oliver Holschke, Philipp Offermann, Udo Bub. Platform-As-A-Service for Business Customers, A path for future revenue streams beyongd the bitpipe.2010IEEE.
    [45]Yu Chen Zhou, Liang Xue, Xin Peng Liu, Xi Ning Wang, Xiao Xing Liang and Chang Hua Sun. Service Storm:A Self-Service Telecommunication Service Delivery Platform with Platform-as-a-Service Technology.2010 IEEE 6th World Congress on Services.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700