针对纷繁复杂的高层应用亟需的多样化、个性化的环境感知服务需求,提出一种支持情境感知计算的上下文服务框架,自底向上包含上下文信息采集层、信息管理层、事件管理层和门面访问层。信息采集层负责封装感知器捕获的环境资源信息;信息管理层提供信息的组织、维护及持久化;事件管理层建立了复合上下文事件的形式化表达,并引入时间窗口凸显事件的强时效特点;门面访问层提供同步和异步互补的灵活访问机制。实验结果表明了该框架的合理性与可行性。
According to the complicated application requirements and the demand of context-aware service,a context service framework is established,which contents context acquisition layer,context management layer,event management layer and context access layer.Acquisition layer is used to catch context information;Context management layer took the responsibility of context information persistence;Event management layer is responsible for the management of various context events and providing event formalization description;Context access layer realize the convenient context access mechanism.Finally,experimental results show that the context service framework has better performance on providing context-aware service.