计算机应用 ›› 2015, Vol. 35 ›› Issue (2): 326-331.DOI: 10.11772/j.issn.1001-9081.2015.02.0326

• 网络与通信 • 上一篇    下一篇

基于事件共享机制的物联网复杂事件处理方法

许冬冬, 袁凌云   

  1. 云南师范大学 信息学院, 昆明 650500
  • 收稿日期:2014-09-11 修回日期:2014-11-14 出版日期:2015-02-10 发布日期:2015-02-12
  • 通讯作者: 袁凌云
  • 作者简介:许冬冬(1989-),男,江苏南通人,硕士研究生,主要研究方向:语义物联网、复杂事件处理; 袁凌云(1980-),女,云南昭通人,副教授,博士,CCF会员,主要研究方向:无线传感器网络、物联网。
  • 基金资助:

    国家自然科学基金资助项目(61262071);教育部人文社会科学研究青年基金资助项目(13YJCZH233);云南省教育厅面上项目(2012Y286);云南省应用基础研究计划面上项目(2013);云南师范大学研究生科研创新基金项目。

Method of IOT complex event processing based on event sharing mechanism

XU Dongdong, YUAN Lingyun   

  1. School of Information Science and Technology, Yunnan Normal University, Kunming Yunnan 650500, China
  • Received:2014-09-11 Revised:2014-11-14 Online:2015-02-10 Published:2015-02-12

摘要:

针对物联网(IOT)复杂事件查询处理过程中的重复查询、存储和处理的问题,提出了事件共享机制(ESM)。首先,为了实现复杂事件的查询与检测,给出了物联网语义事件定义及事件操作符的语义描述;其次,从公共子查询的定义、公共内部查询结构的设计以及事件资源的共享三个角度对物联网事件共享机制展开研究,通过查询表达式的重写、有向无环图(DAG)的构建,以及在结点上使用改进的Continuous参数上下文对事件流进行处理,实现公共子事件查询、存储和处理的共享;最后,构建了基于事件共享机制的语义形式化查询计划处理模型(SFQPM),该模型可自动对查询表达式和查询谓词进行处理,实现复杂事件检测和处理的自动化。仿真结果表明,与基于二叉树(BTree)的处理方法进行对比,所提出的SFQPM具有较高的处理效率和可靠性,实现了复杂事件检测与中间结果共享机制的有机统一,提高了系统的处理效率。最后通过案例研究验证了所提出算法的有效性和可行性。

关键词: 物联网, 复杂事件处理, 查询计划, 有向无环图, 参数上下文

Abstract:

Concerning the problems including repetitive query, storage and processing in the process of complex event query processing in Internet of Things (IOT), an Event Sharing Mechanism (ESM) was proposed. Firstly, in order to realize the query and detection of complex events, a semantic event definition about IOT and semantic descriptions of event operators were presented. Secondly, research on the IOT ESM was done from the following three aspects: the definition of public subqueries, the design of public internal query structure and the sharing of event resources. Through rewriting the query expression, building the Directed Acyclic Graph (DAG) related to the query expression and using the improved Continuous, one of the parameter contexts, on each node to handle event streams, the sharing of public events' query, storage and processing was implemented. Finally, a Semantics Formal Query-plan Processing Model (SFQPM) based on ESM was also designed, which could process query expressions and predicates automatically, and fulfill the automation of complex event detection and processing. The simulation results show that, compared with the method based on BTree (Binary Tree), the proposed SFQPM has high efficiency and reliability in processing, and can process massive and real-time IOT event streams timely and efficiently. In addition, a case study was given to verify the effectiveness and feasibility of the proposed SFQPM.

Key words: Internet of Things (IOT), complex event processing, query plan, Directed Acyclic Graph (DAG), parameter context

中图分类号: