Context-Aware Smart City Geospatial Web Service Composition
-
摘要: 智慧城市的功能之一是构建可智能感知的、泛在化的空间信息服务,并将这些服务按需求进行组合提供灵活的服务,这就要求空间信息服务能更好地适应不断变化的地理上下文环境。设计了上下文感知的空间信息服务的语义模型,该模型扩展了OWL-S本体,增加了地理上下文类、上下文前提条件类、上下文效果类和上下文绑定类以支持地理上下文和地理上下文适应性,并使用智能规划技术和语义增强技术,将上下文感知的空间信息服务组合转化为智能规划的求解过程,提高了服务组合精度。最后通过智慧旅游验证了上下文感知的空间信息服务组合方法的可行性和有效性。Abstract: One of the challenges to build a smart city is to create intelligent and ubiquitous geospatial Web services, and provide a composition of these services available to users. These geospatial Web services must be better-tuned to a given context. Using AI planning techniques and semantic enhancement, this paper presents a dynamic, context-aware service composition method which is achieved by transforming the service composition problem into a planning problem described in a standardized fashion using PDDL. Semantic representation of a geospatial Web service is modeled by extending OWL-S ontology with GeoContext class, GeoContextPrecondition class, GeoContextEffect class and GeoContextBinding class, which support geo-context and geo-context adaptation. Semantic information is used for the enhancement of the composition process as well as for approximating the optimal composite service when exact solutions are not found. Independence from specific planners is maintained. The generating plan is transformed to a WS-BPEL compatible representation, which is executable on the business process execution engine. A case study about smart travel is also presented to demonstrate the functionality, effectiveness and potential of the approach.
-
-
表 1 游客旅游的问题描述
Table 1 Problem Description of Travel
问题描述项 内容 当前上下文 用户名称 语言 文字的显示风格 运营商网络 游客流量消费 GPS数据 拍摄角度 初始状态 当前欣赏的景点 目标 当前景点相关视频播放 当前景点的中文文字显示 表 2 游客旅游的领域描述
Table 2 Domain Services Description of Travel
服务名称 输入 输出 前提条件 效果 地理上下文前提条件 地理上下文效果 景点拍摄 真实景点 图片 GPS数据,拍摄角度 游客位置匹配 基础地理数据,GPS数据,拍摄角度 游客精确位置 GPS数据,拍摄角度 搜索景点 位置,拍摄角度,基础地理数据 当前景点信息 基础地理数据完备性 拍摄角度 景点反投照片像素位置 景点,精确位置,拍摄角度 景点在照片像素坐标 拍摄角度 文字标注显示 图片,景点文字,像素坐标, 文字显示 文字显示风格 中文 导览视频播放 图片,景点视频 视频播放 运营商网络状况,游客流量消费 中文 -
[1] 李德仁,姚远,邵振峰. 智慧城市中的大数据[J]. 武汉大学学报·信息科学版, 2014, 39(6): 631-640) Li Deren, Yao Yuan, Shao Zhenfeng. Big Data in Smart City[J]. Geomatics and Information Science of Wuhan Univerity, 2014, 39(6):631-640
[2] 李德仁,邵振峰.论新地理信息时代[J].中国科学F辑(信息科学),2009, 39(6): 579-587 Li Deren, Shao Zhenfeng. The New Era of Geographic Information[J]. Science in China(Series F: Information Sciences), 2009, 39(6): 579-587
[3] 龚健雅,王国良. 从数字城市到智慧城市:地理信息技术面临的新挑战[J].测绘地理信息,2013, 38(2): 1-6) Gong Jianya, Wang Guoliang. From Digital City to Smart City: New Challenges to Geographic Information Technology[J]. Journal of Geomatics, 2013, 38(2): 1-6
[4] Li Li, Liu Dongxi, Bouguettaya A. Semantic Based Aspect-Oriented Programming for Context-aware Web Service Composition[J]. Information Systems, 2011, 36(3): 551-564
[5] Hafiddi H, Baidouri H, Nassar M, Kriouile A. An Aspect Based Pattern for Context-Awareness of Services[J]. International Journal of Computer Science and Network Security, 2012, 12(1): 71-78
[6] Martin D, Burstein M, Hobbs J, et al. OWL-S: Semantic Markup for Web Services, 2004[OL]. http://www.w3.org/Submission/OWL-S/,2015
[7] Mokhtar S B, Fournier D, Georgantas N, et al. Context-Aware Service Composition in Pervasive Computing Environments[C]. Proceedings of the 2nd International Workshop on Rapid Integration of Software Engineering Techniques, Heraklion, Crete, Greece, 2005
[8] Furno A, Zimeo E. Context-Aware Composition of Semantic Web Services [J]. Mobile Networks and Applications, 2014, 19 (2): 235-248
[9] 薛霄,常静坤,安吉宇.智慧矿山服务系统的情景感知实现技术研究[J].计算机研究与发展,2014, 51(12): 2746-2758) Xue Xiao, Chang Jingkun, An Jiyu. Intelligent Service System with Context-Awareness Capability for Coal Mine Industry: Design and Implementation [J]. Journal of Computer Research and Development, 2014, 51(12):2746-2758
[10] Klusch M, Gerber A, Schmidt M. Semantic Web Service Composition Planning with OWLS-XPlan[C]. Proceedings of the 1st International AAAI Fall Symposium on Agents and the Semantic Web, Arlington, VA, USA, 2005
[11] Hatzi O, Vrakas D, Nikolaidou M, et al. An Integrated Approach to Automated Semantic Web Service Composition through Planning[J]. IEEE Transactions on Services Computing, 2012, 5(3): 319-332
[12] Sirin E. Combining Description Logic Reasoning with AI Planning for Composition of Web Services[D]. College Park, M D, USA: University of Maryland, 2006
[13] Rao Jinghai, Su Xiaomeng . A Survey of Automated Web Service Composition Methods[C]. Proceedings of the IEEE International Conference on Web Services, San Diego, CA, USA, 2004
[14] Truong H, Dustdar S. A Survey on Context-Aware Web Service Systems[J]. International Journal of Web Information Systems, 2009, 5(1): 5-31
[15] 莫同, 李伟平, 吴中海,等.一种情境感知服务系统框[J]. 计算机学报, 2010, 33(11): 2084-2092) Mo Tong, Li Weiping, Wu Zhonghai, et al. Framework of Context-Aware Based Service System [J]. Chinese Journal of Computers, 2010, 33(11): 2084-2092
[16] Han S N, Lee G M, Crespi N. Semantic Context-Aware Service Composition for Building Automation System[J]. IEEE Transactions on Industrial Informatics, 2014, 10(1): 752-761
[17] Zhou Jiehan, Gilman E, Palola J, et al. Context-Aware Pervasive Service Composition and Its Implementation[J]. Personal and Ubiquitous Computing, 2011, 15(3): 291-303
[18] Gerevini A, Long D. Plan Constraints and Preferences in PDDL3[R]. Technical Report, Department of Electronics for Automation, University of Brescia, Italy, 2005
[19] Alves A, Arkin A, Askary S, et al. Web Services Business Process Execution Language Version 2.0, 2007[OL]. http://docs.oasis-open.org/wsbpel/2.0/wsbpel-v2.0.html,2015
[20] 王静远,李超,熊璋,等. 以数据为中心的智慧城市研究综述[J].计算机研究与发展, 2014, 51(2):239-529) Wang Jingyuan, Li Chao, Xiong Zhang, et al. Survey of Data-Centric Smart City[J]. Journal of Computer Research and Development, 2014, 51(2):239-529
[21] Wang Xiaohang, Zhang Daqing, Gu Tao, et al. Ontology Based Context Modeling and Reasoning Using OWL[C]. Proceedings of the 2nd IEEE Conference on Pervasive Computing and Communications, Orlando, USA, 2004
[22] Sarjakoski L, Nivala A M. Adaptation to Context—A Way to Improve the Usability of Mobile Maps[C]. Map-Based Mobile Services, Theories, Methods and Implementations, Berlin, 2005
[23] Mokbel F M, Levandoski J J. Toward Context and Preference-Aware Location-Based Services[C]. Proceedings of the Eighth ACM International Workshop on Data Engineering for Wireless and Mobile Access, Providence, Rhode Island , 2009
[24] Bradley N, Dunlop M. Toward a Multidisciplinary Model of Context to Support Context-Aware Computing[J]. Human-Computer Interaction, 2005, 20(4): 403-436
[25] W3C OWL Working Group. OWL2 Web Ontology Language Document Overview, 2009-10-27[OL]. http://www.w3.org/TR/2009/REC-owl2-overview,2015
[26] Horrocks I, Patel-Schneider P F, Boley H, et al. SWRL: A Semantic Web Rule Language Combining OWL and RuleML, 2004[OL]. http://www.w3.org/Submission/SWRL,2015
[27] Bevilacqua L, Furno A, di Carlo V, et al. A Tool for Automatic Generation of WS-BPEL Compositions from OWL-S Described Services[C]. The 5th International Conference on Software, Knowledge Information, Industrial Management and Applications (SKIMA), Benevento, Italy, 2011