计算机与现代化

• 数据挖掘 • 上一篇    下一篇

一种复杂事件处理语言的自定义函数功能扩展

  

  1. (北京工业大学信息学部计算机学院,北京100124)
  • 收稿日期:2018-03-15 出版日期:2018-10-26 发布日期:2018-10-26
  • 作者简介:刘婧妍(1992-),女,北京人,北京工业大学信息学部计算机学院硕士研究生,研究方向:复杂事件处理; 廖湖声(1954-),男,教授,研究方向:软件自动化方法,编译技术,XML数据处理,程序分析与程序变换; 高红雨(1968-),男,副教授,研究方向:数据库技术和理论,编译技术与程序理论。
  • 基金资助:
    国家自然科学基金青年科学基金资助项目(61202074)

User-defined Function Extending in a Complex Event Processing Language

  1. (College of Computer Science, Faculty of Information Technology, Beijing University of Technology, Beijing 100124, China)
  • Received:2018-03-15 Online:2018-10-26 Published:2018-10-26

摘要: 为使复杂事件处理语言满足股票分析、故障监控等行业的细粒度查询需求,本文为一种复杂事件处理语言CEStream扩展支持细粒度数据处理的用户自定义函数功能。函数通过对数据逐个处理和函数重载实现细粒度处理功能。同时函数内可调用原有语句,给用户提供基础的模块化功能,提高语言的复用性。实验结果表明扩展的函数功能使语言能够支持更细粒度的查询需求,同时在完成相同查询需求时使用函数相对于使用原有语句完成系统吞吐量基本相同。

关键词: 复杂事件处理, 自定义函数, 事件处理语言

Abstract: When a complex event processing language is used in the stock analysis, fault monitoring and other industries, the demand for fine-grained query is increasing. To meet these requirements, this paper extends user-defined function that supports fine-grained data processing in a complex event processing language CEStream. Functions implement fine-grained processing by processing data one by one and function overloading. In addition, the function provides the user with the encapsulation function of the statement and improves the reusability of the language. The experimental results show that the extended function enables the language to support more fine-grained query requirements. At the same time, using the function when completing the same query requirement is basically the same as using the original statement.

Key words: complex event processing, user-defined function, event processing language

中图分类号: