计算机应用 ›› 2013, Vol. 33 ›› Issue (12): 3363-3367.

• 2013年全国开放式分布与并行计算学术年会(DPCS2013)论文 • 上一篇    下一篇

基于谓词检测方法的上下文感知案例研究

方超1,2,杨怡玲1,2,黄宇1,2   

  1. 1. 计算机软件新技术国家重点实验室(南京大学),南京 210046;
    2. 南京大学 计算机科学与技术系,南京 210046
  • 收稿日期:2013-07-19 出版日期:2013-12-01 发布日期:2013-12-31
  • 通讯作者: 方超
  • 作者简介:方超(1990-),男,安徽六安人,硕士研究生,主要研究方向:分布式系统、普适计算;
    杨怡玲(1987-),男,江苏丹阳人,博士研究生,CCF会员,主要研究方向:分布式系统、普适计算;
    黄宇(1982-),男,江苏淮安人,副教授,CCF会员,主要研究方向:分布式系统与理论、形式化方法、普适计算。
  • 基金资助:
    国家自然科学基金资助项目

Case study of achieving context-awareness based on predicate detection

FANG Chao1,2,YANG Yiling1,2,HUANG Yu1,2   

  1. 1. Department of Computer Science and Technology, Nanjing University, Nanjing Jiangsu 210046, China
    2. State Key Laboratory for Novel Software Technology (Nanjing University), Nanjing Jiangsu 210046, China
  • Received:2013-07-19 Online:2013-12-31 Published:2013-12-01
  • Contact: FANG Chao

摘要: 当前,开发灵活的适应环境变化的上下文感知应用较为复杂。在上下文感知应用开发过程中,很多未知情况无法事先被充分考虑到,实际的开发又需要处理很多意外情形,因此有效地表示和处理上下文尤为重要。谓词检测作为实现上下文感知的重要方法之一,能够有效对上下文信息进行建模,但在实际应用中对于真实物理设备的支持如何在很大程度上仍然是未知的。为了应对以上问题,通过构建一个简单的物理场景,将谓词检测方法应用于真实的机器小车上,支持其在一个既定轨道上完成运行任务。在该场景下对原始的上下文环境进行建模,将环境特性逐步规约成特定的快照谓词和序列谓词,并在案例研究中,对规约化的谓词进行检测,将谓词检测应用于真实的机器小车实验上。实验分析的结果表明,谓词检测的方法能有效检测小车的上下文特性并成功支撑小车完成既定的行走目标。

关键词: 上下文感知, 谓词检测, 快照谓词, 序列谓词

Abstract: Currently, to develop context-aware applications that are flexible and adaptable is complex and laborious. There are many unexpected cases to handle. As one of the important approaches to achieve context-awareness, predicate detection can represent context effectively. However, how predicate detection supports the development of context-aware applications on a real device is still largely unknown. In order to cope with these issues, a simple scenario was created. Predicate detection was practically applied to control the car running in a designated environment. The original context was formally modeled and contextual properties were specified into snapshot predicates and sequence predicates. By detecting these specified predicates in the case study, predicate detection was applied to the robot car. The performance analysis shows that predicate detection can effectively detect the car's contextual properties and successfully help the car finish the running task.

Key words: context-aware, predicate detection, snapshot predicate, sequence predicate

中图分类号: