首页> 外国专利> GENERAL AND AUTOMATIC APPROACH TO INCREMENTALLY COMPUTING SLIDING WINDOW AGGREGATES IN STREAMING APPLICATIONS

GENERAL AND AUTOMATIC APPROACH TO INCREMENTALLY COMPUTING SLIDING WINDOW AGGREGATES IN STREAMING APPLICATIONS

机译:在流水应用中增量计算滑动窗口集合体的一般和自动方法

摘要

A method of incrementally computing an aggregate function of a sliding window in a streaming application includes receiving a plurality of data tuples in the sliding window, extracting at least one data tuple from the sliding window, and storing the at least one extracted data tuple in a data structure in a memory. The data structure is a balanced tree and the at least one data tuple is stored in leaf nodes of the balanced tree. The method further includes maintaining at least one intermediate result in at least one internal node of the balanced tree. The at least one intermediate result corresponds to a partial window aggregation. The method further includes generating a final result in the balanced tree based on the at least one intermediate result, and outputting the final result from the balanced tree. The final result corresponds to a final window aggregation.
机译:一种在流应用中递增地计算滑动窗口的聚合函数的方法,包括:在滑动窗口中接收多个数据元组;从滑动窗口中提取至少一个数据元组;以及将至少一个提取的数据元组存储在一个滑动窗口中。存储器中的数据结构。数据结构是平衡树,并且至少一个数据元组存储在平衡树的叶节点中。该方法还包括在平衡树的至少一个内部节点中保持至少一个中间结果。至少一个中间结果对应于部分窗口聚集。该方法还包括基于至少一个中间结果在平衡树中生成最终结果,以及从平衡树输出最终结果。最终结果对应于最终的窗口聚合。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号