首页 | 本学科首页   官方微博 | 高级检索  
     

基于Spark Streaming的实时能耗分项计量系统
引用本文:武志学. 基于Spark Streaming的实时能耗分项计量系统[J]. 计算机应用, 2017, 37(4): 928-935. DOI: 10.11772/j.issn.1001-9081.2017.04.0928
作者姓名:武志学
作者单位:1. 成都五舟汉云科技有限公司, 成都 611731;2. 成都信息工程大学 信息安全工程学院, 成都 610225
摘    要:能耗分项计量能够准确、及时、有效地发现能源使用问题,形成和实现最有效的节能措施。能耗分项计量系统需要对各项能源使用量在不同粒度上进行统计,既有实时性的需求,又需要涉及到聚合、去重、连接等较为复杂的统计需求。由于数据产生快、实时性强、数据量大,所以很难统一采集并入库存储后再作处理,这便导致传统的数据处理架构不能满足需求。为此,提出基于Spark Streaming大数据流式技术构建一个实时能耗分项计量系统,对实时能耗分项计量的系统架构和内部结构进行了详细介绍,并通过实验数据分析了系统的实时数据处理能力。与传统架构不同,实时能耗分项计量系统在数据流动的过程中实时地进行捕捉和处理,一方面把捕捉到的异常信息及时报警到前端,同时把分类分项统计处理的结果保存到数据库,以便进行离线分析和数据挖掘,能有效地解决上述数据处理过程中遇到的问题。

关 键 词:流式计算  能耗分项计量  Spark Streaming  Apache Kafka  大数据  
收稿时间:2016-10-10
修稿时间:2016-12-21

Real-time detailed classification energy consumption measurement system based on Spark Streaming
WU Zhixue. Real-time detailed classification energy consumption measurement system based on Spark Streaming[J]. Journal of Computer Applications, 2017, 37(4): 928-935. DOI: 10.11772/j.issn.1001-9081.2017.04.0928
Authors:WU Zhixue
Affiliation:1. Chengdu Wuzhou Handge Technology Limited, Chengdu Sichuan 611731, China;2. School of Information Security Engineering, Chengdu University of Information Technology, Chengdu Sichuan 610225, China
Abstract:Detailed classification energy consumption measurement can discover energy consuming issues more accurately, timely and effectively, which can form and implement the most effective energy-saving measures. Detailed classification energy measurement system needs to calculate energy consumption amounts at multiple time scales according to detailed classification coding. Not only does it need to complete the tasks timely, but also need to deal with data aggregating, data de-duplication and data joining operations. Due to the fast speed of the data being generated, the requirement of the data being processed in real-time, and the big size of the data volume, it is difficult to store the data to a database system first, and then to process the data afterwards. Therefore, the traditional data processing infrastructure cannot fulfil the requirements of detailed classification energy consumption measurement system. A new real-time detailed classification energy consumption measurement system based on Spark Streaming technologies was designed and implemented, the system infrastructure and the internal structure of the system were introduced in detail, and its real-time data processing capabilities were proved through experiments. Different from the traditional ways, the proposed system processes energy consumption data in real-time to capture any unusual behaviour timely; at the same time, it separates the data and calculates the consumption usages according to the detailed classification coding, and stores the results to a database system for offline analysis and data mining, which can effectively solve the previously mentioned problems encountered in the data processing process.
Keywords:stream computing   detailed classification energy consumption measurement   Spark Streaming   Apache Kafka   big data
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号