计算机工程与应用 ›› 2013, Vol. 49 ›› Issue (16): 47-52.

• 理论研究、研发设计 • 上一篇    下一篇

一种面向情境的情境感知应用编程框架

陈  秀1,余  萍2,徐  锋2   

  1. 1.南京大学 计算机科学与技术系,南京 210046
    2.南京大学 计算机软件新技术国家重点实验室,南京 210046
  • 出版日期:2013-08-15 发布日期:2013-08-15

Context oriented context-aware application programming framework

CHEN Xiu1, YU Ping2, XU Feng2   

  1. 1.Department of Computer Science and Technology, Nanjing University, Nanjing 210046, China
    2.State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210046, China
  • Online:2013-08-15 Published:2013-08-15

摘要: 随着信息技术的快速发展,各种各样的环境信息影响着我们生活中的各种决策,因此提供一种智能化的应用程序,能够根据用户当前的情境信息为用户提供所需要的最适合的服务变得越来越重要。许多遗产软件并不支持情境感知功能,目前的一些主要的编程语言和编程框架并没有提供一个很好的方式来支持这种情境感知应用程序的开发。提出了一个新的面向情境的编程框架,支持情境信息的定义、封装、发布,支持对应用行为的驱动和约束,允许应用快速响应非预期情境。通过该框架可以快速开发情境感知应用,也可以以非侵入的方式改造遗产软件,使之具有情境感知能力。

关键词: 情境感知, Context, 框架, 遗产软件

Abstract: With the fast development of the information technology, our decisions are effected by all kinds of information in the environment. Therefore it’s more and more important to provide intelligent applications that can offer appropriate services according to users’ current situation and needs. However many legacy applications don’t support context-awareness and the main programming languages or frameworks do not provide efficient approach to weave context-awareness into legacy applications. This paper proposes a novel context-oriented context-aware application programming framework. It can support context definition, encapsulation and publication. With the framework, application behaviors can be driven and constrained in a context-aware manner. The framework allows applications to rapidly response to unanticipated context. Moreover, it provides an approach to add context-awareness functions to the legacy applications in a non-intrusive way.

Key words: context-aware, Context, framework, legacy software