上下文感知的普适服务组合研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着计算技术和网络技术的发展,普适计算成为新一代的计算模式,普适应用系统也随之得到长足的发展。普适计算的理念是“以人为本”,即随时随地为用户提供其所需的服务,而面向服务的架构(SOA)以其灵活的软件构筑方式,被认为是实现动态普适应用的理想软件架构模式,传统的Web服务已经发展为普适服务,服务组合技术也被广泛的运用于动态构建普适应用。然而,由于普适环境中设备计算和存储能力的差异性,以及网络等基础配置的动态性,传统的服务组合技术无法直接应用于普适环境。普适应用需要紧密结合用户和服务的上下文,才能实现按用户需求提供服务。为此,学术界和工业界都开展了广泛的研究,并取得了不少研究成果,但是尚未从真正意义上实现动态的普适服务组合,为用户提供最适当的服务。
     为此,我们从如下几个方面展开了研究工作:
     (1)基于本体的上下文描述和管理系统
     根据上下文的特征,利用语义网技术,建立了多个本体用于描述上下文信息。基于本体的上下文模型既能描述实体的一般特征,适用于大部分领域实体,又能够通过拓展本体属性描述特定个体,具有良好的可扩展性。此外,针对普适环境中语义异构的上下文信息源,提出了上下文预处理机制用于处理原始信息,并将其转化为上下文本体中的标准信息供其他应用使用。
     (2)基于Petri网的普适服务过程模型和自动合成技术
     采用Petri网作为形式化模型,建立了普适服务过程模型,用于描述普适服务的功能,该模型能有效描述普适服务这样的自治实体以及基于服务组合的松耦合普适应用。在此模型基础上提出了组合服务自动化合成机制。根据用户的输入、期望的输出和期望的动作,自动化生成组合服务规范。
     (3)基于上下文的组合服务路径构建
     普适服务的异构性导致相同功能的服务性能具有较大的差异,对于已生成的组合服务,系统根据普适环境和用户的上下文选择合适的服务调度策略,并根据该策略选择服务副本,构成组合服务路径,使得由这些服务副本构成的组合服务能够为用户提供最佳质量的服务。
     (4)基于移动Agent的组合服务执行
     提出了基于移动Agent的组合服务执行机制,采用分布式运行模式,能有效降低数据传输量,克服集中式服务执行带来的单点失效等弊端。此外,进一步讨论了Agent驻留策略和Agent之间的数据传输机制,该技术能进一步降低服务之间的数据传输,并有效防止Agent的重复迁移,从而显著提高系统性能。
     本文以普适空间上下文的描述和管理为基础,深入研究了普适服务合成及其相关技术,提出了上下文感知的普适服务自适应合成机制,动态为用户提供所需的服务。该服务合成机制能够根据用户的需求和可用服务动态合成组合服务,并且根据当前上下文生成组合服务路径,为用户提供具有最佳服务质量的组合服务。此外,针对传统集中式的组合服务执行引擎在效率和鲁棒性等方面的问题,提出了基于移动Agent的组合服务执行机制,用于实现组合服务。
With the development of computing technology and network technology, pervasive computing is becoming a novel computing paradigm and pervasive application systems have been developed rapidly. The idea of pervasive computing is human centric, i.e. user can acquire service at any time any place. At the mean time, service oriented architecture (SOA) is considered as the ideal software architecture for pervasive applications. Traditional Web services have been developed as pervasive services and service composition techonology also has been widely used in dynamic constructing pervasive applications. In pervasive space, however, the devices have different computing and storage ability and the network is in dynamic. Thus, traditional service composition technology cannot be applicated directly. In both acadimica and industry, researchers have widely investigated this problem, and gotten several good results. But none of them really achieved dynamic pervasive service composition which provids suitable service for user.
     For this,we did research on following subjects.
     (i) Ontology based context modeling and management system
     According to the characteristic of context, several ontologies are builded to represent context. Ontology based context model is able denote the general characteristics of entities which is suitable to most of domain entities. It also can describe the personal characteristic through extending ontology. Furthermore, for the heterogeneous context source, pre-process mechanism to handle source information and converts the source information into the standard attributes in context ontology are proposed.
     (ii) Petri net based pervasive service process model and automatic service composition
     Base on Petri net, pervasive process model is builded to describe the function of pervasive services. This model is able to describe pervasive service and such loosely coupled pervasive applications. This paper proposes automatic service composition mechanism based on this model, which can automatically generate service specification according to user's input, expected output and actions.
     (iii) Context based composite service path construction
     The heregeneous of pervasive service leads to the different performance of service with same function. For the composite service, system gets the best service policy in accordance with the context of both pervasive space and user, based on which the service instances are selected to construct composite service path. This service path can offer best performance for user.
     (iv) Mobile agent based composite service execution
     Mobile agent based composite service execution mechanism which is a distributed service execution mechanism is presented. It can greatly reduce the data transformation and overcome the centrilized disadvantages. This paper further discusses the agent residing policy and the data transformation mechanism between agents, which can reduce the data transformation and prevent the multi-migration of agent, so that improve the system performance.
     Based on the study of context modeling and magament, this paper investigates the pervasive service composition and related technology and proposes context aware pervasive service composition mechanism which can dynamically provide services. This service composition mechanism provides composite services based on users' requirement and available services, and then it generates composite service path based on context, so that offers best composite service. Furthermore, traditional centrilized composite service execution engines are not effective and robost, this paper proposes mobile agent based composite service execution machenism to achieve composite services.
引文
[1]MIT.http://oxygen.lcs.mit.edu/.[Online]6 2,2004.
    [2]CMU.http://www.cs.cmu.edu/~aura/.[Online]12 17,2002.
    [3]Interactive Workspaces.Johanson,Brad,Winograd,Terry and Fox,Armando.2003,Computer,Vol.36,pp.99-101.
    [4]PisterKris.http://robotics.eecs.berkeley.edu/~pister/SmartDust/.[联机]1999 年.
    [5]UIUC.http://gaia.cs.uiuc.edu/.[Online]2000.
    [6]Advanced Interaction in Context.Sehmidt,A.,Aidoo,K.A.and Takaluomai,A.s.l.:Springer,1999.International Symposium on Handheld and Ubiquitous Computing(HUC99).pp.89-101.
    [7]Moran,T.P.and Dourish,P.Introduction to This Special Issue on Context-Aware Computing.Human-Computer Interaction.2001,pp.87-95.
    [8]Chert,G.L.and Kotz,D.A Survey of Context-Aware Mobile Computing Research.2000.Dartmouth Computer Science Technical Report.
    [9]Towards a Better Understanding of Context and Context-Awareness.Dey,A.K.and Abowd,G.D.New York:ACM Press.Proceedings of the What,Who,Where,when,and How of Context-AwarenessWorkshop,CHI 2000 Conference on Human Factors in Computer Systems.
    [10]Dey,Anind K and Abowd,Gregory D.New York:ACM,2000.Proceedings of the what,who,Where,When,and How of Context-AwarenessWorkshop,CHI 2000 Conference on Human Factors in Computer Systems.
    [11]Strang,Th.Service-Interoperabilit"at in Ubiquitous Computing Umgebungen.Ludwig-Maximilians-Universif'at M"unchen.2003.PhD thesis.
    [12]Ontology-Based Context Modeling and Reasoning using OWL.Wang,X.H.,et al.2004.Context Modeling and Reasoning Workshop at PerCom.pp.18-22.
    [13]Chert,H.,Finin,T.and Joshi,A.An Ontology for Context-Aware Pervasive Computing Environments.Special Issue on Ontologies for Distributed Systems,Knowledge Engineering Review.2004,pp.197-207.
    [14]Peter,L.An Introduction to Formal Languages and Automata,Third Edition.s.l.:Jones & Bartlett Publishers,2000.
    [15]Song,W and Zhang,M.A First Step Towards the Semantic Web.s.l.:Higher Education Press,2004.
    [16]Stateful Web Services.[Online] http://xml.coverpages.org/statefulWebServices.html.
    [17]Web services:Axis.[Online]http://ws.apache.org/axis/.
    [18]SOAP Toolkit 2.0:New Definition Languages Expose Your COM Objects to SOAP Clients.[Online]http://msdn.microsoft.com/msdnmag/issues/01/04/toolkit20/.
    [19]W3C.Web Services Description Language(WSDL) Version 2.0 Part 1:Core Language.[Online]http://www.w3.org/TR/wsdl20/.
    [20]Web Services Conversation Language(WSCL) 1.0.[Online]2002.http://www.w3.org/TR/wscl10/.
    [21]Web Service Choreography Interface(WSCI) 1.0.[Online]2002.http://www.w3.org/TR/wsci.
    [22]Leymann,F.Web Service Flow Language(WSFL 1.0).[Online]2001.http://www-4.ibm.com/software/solutions/webservices/pdf/WSFL.pdf.
    [23]Satish,T.XLANG:Web Services for Business Process Design,Microsoft Document..[Online]2001.http://www.gotdotnet.com/team/xml/wsspecs/xlang-c/default.htm.
    [24]Oracle.Oracle BPEL Process Manager.[Online]http://www.oracle.com/technology/products/ias/bpel/index.html.
    [25]AlphaWorks.BPWS4J:Overview.[Online]http://www.alphaworks.ibm.com/tech/bpws4j.
    [26]ActiveBPEL.ActiveBPEL Open Source Engine Project.[Online]http://www.active-endpoints.com/open-source-active-bpel-Intro.htm.
    [27]JBossBPEL.Generate BPEL for JBoss workflow engine.[Online]http://resource.visual- paradigm.com/vpsuite2.3sp2/generate_bpel_for_jboss.html.
    [28]W3C.OWL Web Ontology Language for Services(OWL-S).[Online]2004.http://www.w3.org/Submission/2004/07/.
    [29]DAML-S 0.7.[Online]http://www.daml.org/services/daml-s/0.7/.
    [30]W3C.OWL Web Ontology Language Overview.[Online]10 2004.http://www.w3.org/TR/owl-features/.
    [31]Web Components:A Substrate for Web Service Reuse and Composition(CAiSE 2002).Yang,J.and Papazoglou,M.P.s.l.:LNCS,Springer,2002.Proceedings of the 14th International Conference on Advanced Information Systems.pp.21-36.
    [32]Orriens,B.,Yang,J.and Papazoglou,M.P.Service Component:a mechanism for web service composition reuse and specialization.Transactions of the SDPS:Journal of Integrated Design and Process Science.2004,Vol.2,pp.13-28.
    [33]ServiceCom:A Tool for Service Composition Reuse and Specialization.Orriens,B.,Yang,J.and Papazoglou,M.P.s.l.:IEEE Computer Societ,2003.Proceedings of the 4th International Conference onWeb Information Systems Engineering(WISE2003).pp.355-358.
    [34]Automatic composition of e-services that export their behavior.Berardi,D.,et al.Trento,Italy:s.n.,2003.Proceedings of International Conference of Service Oriented Computing 2003.pp.43-58.
    [35]Synthesis of Underspecified Composite E-services based on Automated Reasoning.Berardi,D.,et al.New York:s.n.,2004.Proceedings of the 2nd International Conference on Service Oriented Computing(ICSOC2004).pp.105-114.
    [36]Automatic composition of process-based web services a challenge,Web Service Semantics:Towards Dynamic Business Integration.Daniela,B.,Giuseppe,G.D.and Massimo,M.2005.Proceeding of workshop at The Fourteenth International World Wide Web Conference(WWW 2005).
    [37]Kozen,D.and Tiuryn,J.Logics of Programs.Handbook of Theoretical Computer Science - Formal Models and Semantics.s.l.:ESP,1990.
    [38]Medjahed,B.,et al.Business-to-business interactions:issues and enabling technologies.Very Large Data Base Journal.2003,Vol.1,pp.59-85.
    [39]Web Components:A Substrate for Web Service Reuse and Composition.Yang,J.and Papazoglou,M.P.s.l.:Springer LNCS,2002.Proceedings of the 14th International Conference on Advanced Information Systems Engineering(CAiSE 2002).Vol.2348,pp.21-36.
    [40]Orriens,B.,Yang,J.and Papazoglou,M.P.Service Component:a mechanism for web service composition reuse and specialization.Transactions of the SDPS:Journal of Integrated Design and Process Science.2004,Vol.8,pp.13-28.
    [41]ServiceCom:A Tool for Service Composition Reuse and Specialization.Orriens,B.,Yang,J.and Papazoglou,M.P.s.l.:IEEE Computer Society,2003.Proceedings of the 4th International Conference onWeb Information Systems Engineering(WISE2003).pp.355-358.
    [42]Yang,J.and Papazoglou,M.P.Service Components for Managing the Life-cycle of Service Compositions.Information Systems.2004,pp.97-125.
    [43]Aalst,W.and Hee,K.workflow management:models,methods,and systems,s.l.:MIT Press,2002.
    [44]Developing e-service composition in eflow.Casati,F.,Sayal,M.and Shah,M.C.Stockholm,Sweden:s.n.,2000.Proceedings of 12th International Conference on Advanced Information Systems Engineering(CAiSE).
    [45]Adaptive and dynamic service composition in eFlow.Casati,F.,et al.s.l.:Springer-Vedag,2000.Proceedings of the International Conference on Advanced Information Systems Engineering.pp.13-31.
    [46]Russell and Norvig.Artificial Intelligence:A Modern Approach.s.l.:Prentice Hall,1995.
    [47]Nilsson,N.Artificial Intelligence:A new Synthesis.s.l.:Morgan Kaufmann,2000.
    [48]Kambhampati,S.AI Planning:A prospectus on theory and applications.ACM Computing Survyes:Symposium on Artificial Intelligence.1995.
    [49]Composing and Maintaining Web-based Virtual Enterprises.Benatallah,B.,et al.TES 2000.pp.155-174.
    [50]Deductive composition of astronomical software from subroutine libraries.Stickel,M.,et al.Nancy,France:s.n.,1994.Proceedings of the Twelfth International Conference on Automated Deduction(CADE- 12).pp.341-355.
    [51]Conversation specification:a new approach to design and analysis of e-service composition.Bultan,T.,et al.Budapest,Hungary:s.n.,2003.Proceedings of the Twelfth International World Wide Web Conference(WWW2003).pp.403-410.
    [52]Analysis of interacting BPEL web services.Fu,X.,Bultan,T.and Su,J.W.New York,USA:s.n.,2004.Proceedings of the 13th international conference on World Wide Web(WWW 2004).pp.621-630.
    [53]Design for verification for asynchronously communicating web services.Aysu,B.C.,Bultan,T.and Fu,X.Chiba,Japan:s.n.,2005.Proceedings of the 14th international conference on World Wide Web(WWW 2005).pp.750-759.
    [54]Conception of web services.[Online]http://www.webopedia.com/TERM/W/Web_services.html..
    [55]Berardi,D.Automatic Composition Services:Models,Techniques and Tools.2005.Ph.D.Thesis.
    [56]Cardellini,V,Colajanni,M and Yu,PS.Dynamic load balancing on Web-server systems.IEEE Internet Computing.1999,p.28-39.
    [57]Shan,Z,et al.Modeling and performance analysis of QoS-aware load balancing of web-server clusters.Computer Networks.2002.p.235-256.
    [58]郭成城 和 晏蒲柳.一种异构Web服务器集群动态负载均衡算法.计算机学报.2005年,页179-184.
    [59]The SAHARA model for service composition across multiple providers.Raman,B,et al.Z(u|¨)rich:Springer-Verlag,LNCS 2414,2002.Mattern F,Naghshineh M,eds. Proc.of the Int'l Cone on Pervasive Computing(Pervasive 2002).p.1-14.
    [60]CANS:Compassable,adaptive network services infrastructure.Fu,X,et al.San Francisco:USENIX,2001.the 3rd USENIX Symp.on Internet Technologies and Systems.p.135-146.
    [61]QoS-Assured service composition in managed service overlay networks.Gu,X,et al.Providence:IEEE Computer Society,2003.the 23rd Int'l Conf.on Distributed Computing Systems(ICDCS 2003).p.194-203.
    [62]SpiderNet:An integrated peer-to-peer service composition framework.Gu,X,Nahrstedt,K and Yu,B.Honolulu:IEEE Computer Society,2004.the Int'l Symp.on High-Performance Distributed Computing(HPDC-13).p.110-119.
    [63]Choi,S,Turner,J and Wolf,T.Configuring sessions in programmable networks.Computer Networks.2004,p.269-284.
    [64]On path selection for traffic with bandwidth guarantees.Ma,Q and Steenkiste,P.Atlanta:IEEE Computer Society,1997.the Int'l Conf.on Network Protocols (ICNP'97).p.191-202.
    [65]Load balancing and stability issues in algorithms for service composition.Raman,B and Katz,RH.San Franciso:IEEE Communications Society,2003.the 22nd Annual Joint Conf.of the IEEE Computer and Communications Societies (INFOCOM 2003).p.1477-1487.
    [66]An Ontology-based Context Model in Intelligent Environments.Gu,T.2004.Communication Networks and Distributed Systems Modeling and Simulation Conference.
    [67]A Context Modeling Survey.Strang,T.and Popien,C.L.Nottingham,England:s.n.,2004.pp.Workshop on Advanced Context Modelling,Reasoning and Management as part of UbiComp 2004 - The Sixth International Conference on Ubiquitous Computing.
    [68]A.Generating Context Management Infrastructure from High-Level Context Models.Henricksen,K.,Indulska,J.and Rakortonirainy.Melbourne,Australi:s.n.,2003.Proceedings of the 4th International Conference on Mobile Data Management(MDM2003).
    [69]Schmidt,A.,Beigl,M.and Gellersen,H.W.There is more to context than location.Computers and Graphics.1999,pp.893-901.
    [70]Gruber,T.G.A translation approach to portable ontologies.Knowledge Acquisition.1993,pp.199-220.
    [71]Uschold,M.and Gruninger,M.Ontologies:Principles,methods,and applications.Knowledge Engineering Review.1996,pp.93-155.
    [72]A.Towards a model of context for case-based diagnostic problem solving.OtztuRK,P.and AAMODT.Proceedings of the interdisciplinary conference on modeling and using context,pp.198-208.
    [73]CoOL:A Context Ontology Language to enable Contextual Interoperability.Strang,Th.,Linnhoff-Popien,C.and Frank,K.2003.4th Int'l Conf.on Distributed Applications and Interoperable Systems.pp.236-247.
    [74]Khedr,M.and Karmoueh,A.Negotiation Context Information in Context-Aware Systems.IEEE Intelligent Systems.2004,pp.21-29.
    [75]Representing Context in an Agent Architecture for Context-Based Decision Making.Beaune,Ph.,Boissier,O.and Butut,O.2005.Context Representation and Reasoning Satellite Workshop of CONTEXT'05.
    [76]An ontology-based approach to context modeling and reasoning in pervasive computing.Ejigu,D.,Scuturici,M.and Brunie,L.2007.Pervasive Computing and Communications Workshops.pp.14-19.
    [77]A.Using OWL in a Pervasive Computing Broker.Chen,H.,Finin,T.and Joshi,A.2003.Proceedings of Workshop on Ontologies in Open Agent Systems(AAMAS 2003).
    [78]Representing Context in an Agent Architecture for Context-Bused Decision Making.Beaune,Ph.,Boissier,O.and Bueur,O.2005.Context Representation and Reasoning Satellite Workshop of CONTEXT'05.
    [79]Towards a Better Understanding of Context and Context-awareness.Dey,K.A.and Abowd,G.D.Hague,The Netherlands:s.n.,2000.workshop on The What,Who,Where,When and How of Context-Awareness,as part of the 2000Conference on Human Factors in Computing Systems(CHI 2000).
    [80]Ontology Based Context Modeling and Reasoning using OWL.Gu,T.,Wang,X.H.and Pung,H.K.San Diego,CA,USA:s.n.,2004.Proceedings of the 2004Communication Networks and Distributed Systems Modeling and Simulation Conference(CNDS2004).
    [81]Jena2:Semantic Web Framework.[Online]http://www.hpl.hp.com/semweb/jena2.htm.
    [82]Khedr,M.and Karmoueh,A.Negotiation Context Information in Context-Aware Systems.EEE Intelligent Systems.2004,pp.21- 29.
    [83]Hybrid context model based on multilevel situation theory and ontology for contact centers.Kalyan,A.and Gopalan,Sridhar,S.and and V.2005. Pervasive Computing and Communications Workshops,2005.Third IEEE International Conference.pp.3-7.
    [84]Jena2:Semantic Web Framework.[Online]http://www.hpl.hp.com/semweb/jena2.htm.
    [85]An ontology-based approach to context modeling and reasoning in pervasive computing.Ejigu,D.,Scuturici,M.and Brunie,L.2007.Pervasive Computing and Communications Workshops.pp.14-19.
    [86]E-Services:a look behind the curtain.Hull,R,et al.San Diego,USA:s.n.,2003.Proceedings of the 22nd ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems.pp.1-14.
    [87]Sundsted,T.The practice of peer-to-peer computing:Introduction and history.[Online]3 1,2001.http://www-128.ibm.com/developerworks/java/library/j-p2p/.
    [88]Krishnan,S,Wagstrom,P and Laszewski,G.GSFL:A workflow framework for Grid services,s.l.:Argonne National Laboratory,2002.Technical Report Preprint ANL/MCS-P980-0802.
    [89]Beyond discrete e-services:Composing session-oriented services in telecommunications.Christophides,V,Hull,R and Karvounarakis,V.Rome:Spinger,2001.Proceedings of Workshop on Technologies for E-Services(TES).pp.58-73.
    [90]Web service composition based on BPWS-Net.Sun,J and Jiang,CJ.ZhenJiang,China:s.n.,2004.Proceedings of Content Computing Advanced Workshop on Content Computing(AWCC2004).pp.303-313.
    [91]A Petri-net based specification model for web services.Zhang,J,et al.San Diego,USA:s.n.,2004.Proceedings of the IEEE International Conference on Web Services(ICWS2004).pp.420-427.
    [92]Transform BPEL workflow into hierarchical CP-Nets to make tool support for verification.Yang,YP,et al.Harbin,China:s.n.,2006.Proceedings of 8th Asia-Pacific Web Conference.pp.275-284.
    [93]Proceedings of Trends in network and pervasive computing.Schmeck,H,Ungerer,T and Wolf,L.Karlsruhe,Germany:s.n.,2002.International Conference on Architecture of Computing Systems.
    [94]ZhangYY.Mobile agent and application.无出版地:Tsinghua University Press,2002.
    [95]Antoniou,G and van Harmelen,F.A semantic web primer,s.l.:The MIT Press,2004.
    [96]Hendler,J.Ontologies on the Semantic Web.IEEE Intelligent Systems.2002.
    [97]Wikipedia.http://en.wikipedia.org/wiki/Waypoint.[Online]10 11,2008.
    [98]Automatic Composition of Petri Net based Web services.Qian,Zhuzhong,Lu,Sanglu and Xie,Li.7 2006,Chinese Journal of Computer,Vol.29,pp.1057-1066.
    [99]VAST.SensorML.[Online]http://vast.uah.edu/index.php?option=com_content&view=article&id= 14&Itemid=52.
    [100]Shaw,M and Garlan,D.Software Architecture:Perspectives on an Emergin Discipline.s.l.:Prentice Hall,1996.
    [101]Murata,T.Petri Nets:Properties,Analysis and Application.';.Proceedings of the IEEE.1989,Vol.77,pp.541-580.
    [102]袁崇义.Petri网原理与应用.北京:电子工业出版社,2005.
    [103]Coloured Petri Nets.Jensen,K.s.1.:Springer-Vedag,1997,Basic Concepts,Analysis Methods and Practical Use.Volume 1,Basic ConceptsMonographs in Theoretical Computer Science.
    [104]Mobile Agent System for Web Services Integration in Pervasive Networks.lshikawa,F,et al.2004.International Workshop on Ubiquitous Computing (IWUC 2004).pp.38-47.
    [105]Andrews,T.Specification:Business Process Execution Language for Web Services Version 1.1.s.l.:Microsoft,IBM,2003.Technic Report.
    [106]Leymann,F.Web Services Flow Language(WSFL) 1.0.s.l.:IBM,2001.Technic Report.
    [107]ArldnA.Web Service Choreography Interface(WSCI) 1.0.无出版地:W3C,2002.Technic Report.
    [108]Business Process Modeling Language.BPMI.2002.Technic Report.
    [109]Mobile agent applications.Milojicic,D.1999,IEEE Concurrency,pp.7-13.
    [110]Aho,AV,Sethi,R and Ullman,JD.Compilers:Principles,Techniques and Tools.s.l.:Addison Wesley,1986.