提出一种针对移动设备的上下文感知中间件MCSM(Mobile Context Sensing Middleware).MCSM可以动态地感知当前移动设备的内外部计算环境及用户活动等上下文信息,并以统一的接口将感知到的上下文数据提供给上层应用程序.为了克服外部传感器数据的高异构性,MCSM采用了一种基于XML的上下文数据描述语言CDDL.基于MCSM的原型系统表明,MCSM具有良好的运行效率和可扩展性,并可显著提高上下文应用程序的开发效率.
A context-aware middleware,named MCSM(Mobile Context Sensing Middleware) is proposed based on mobile devices in this paper.MCSM can dynamically sense the device's current internal and external computing environment and the user's activities,and then provide such information to the upper application through a unified interface.In order to cope with the high dynamics of external sensor data,an XML-based context data description language(CDDL) is applied by MCSM.A MCSM-based prototype system shows that MCSM has good running performance and scalability,and can significantly improve the efficiency in the development of context-aware applications as well.