• 论文 •    

面向大规模感知数据的实时数据流处理方法及关键技术

亓开元1,2,3,韩燕波1,赵卓峰1,马强2,3   

  1. 1.北方工业大学 云计算研究中心,北京100144;2.中国科学院 计算技术研究所,北京100190;3.中国科学院大学,北京100190
  • 收稿日期:2013-03-25 修回日期:2013-03-25 出版日期:2013-03-25 发布日期:2013-03-25

Real-time data stream processing and key techniques oriented to large-scale sensor data

QI Kai-yuan1,2,3, HAN Yan-bo1, ZHAO Zhuo-feng1, MA Qiang2,3   

  1. 1.Cloud Computing Research Center, North China University of Technology, Beijing 100144, China; 2.Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190, China; 3.Graduate University, Chinese Academy of Sciences, Beijing 100190, China
  • Received:2013-03-25 Revised:2013-03-25 Online:2013-03-25 Published:2013-03-25

摘要: 为了在大规模历史感知数据基础上实现针对高速传感数据流的实时计算,提出一种面向大规模历史数据的数据流处理方法RTMR,通过中间结果缓存、流水化和本地化改进了MapReduce的数据流处理能力。在此基础上,为了适应性地构造RTMR集群,利用模型分析方法根据应用特征和集群环境配置节点类型和拓扑结构。为实现集群的负载均衡,通过计算负载状态转换关系分组空闲节点和过载节点,将NP难的动态负载均衡问题快速分解为规模较小的子问题,并且综合执行时间和数据移动代价作为子问题的优化目标,提高应对负载倾斜的反应速度。实验表明,上述方法和技术能够保障大规模历史数据上数据流处理的可伸缩性。

关键词: 数据流处理, 大规模数据处理, MapReduce方法

Abstract: With the development of Internet of Things, how to realize real time computation for high speed data stream based on large scale history sensor data became a new challenge to cloud manufacturing. A processing method named Real-Time MapReduce (RTMR) oriented to large scale historical data was proposed, which improved data stream processing capacity of MapReduce through intermediate result cache, pipelining and localization. To construct RTMR sets, the model analysis method was used to configure the node type and topological structure based on application characteristics and cluster environments. Furthermore, to realize cluster load balancing, the idle nodes and overload nodes were grouped by computing load state transition relation. Thus the dynamic load balancing problem of NP hard was decomposed into small scale sub-problems, and execution time as well as data cost were integrated as sub-problem's optimization objective. The experiment result showed that the proposed method and technology could ensure the scalability for data stream processing of large scale historical data.

Key words: data stream processing, large scale data processing, MapReduce, adaptive architecture, load balance

中图分类号: