计算机应用 ›› 2016, Vol. 36 ›› Issue (5): 1434-1438.DOI: 10.11772/j.issn.1001-9081.2016.05.1434

• 计算机软件技术 • 上一篇    下一篇

基于选择性加载策略的电能质量数据处理

赵霞1,2, 林天华2, 马素霞3, 齐林海3   

  1. 1. 北京航空航天大学 自动化科学与电气工程学院, 北京 100191;
    2. 河北经贸大学 信息技术学院, 石家庄 050061;
    3. 华北电力大学 控制与计算机工程学院, 北京 102206
  • 收稿日期:2015-10-14 修回日期:2016-01-01 出版日期:2016-05-10 发布日期:2016-05-09
  • 通讯作者: 赵霞
  • 作者简介:赵霞(1979-),女,河北定州人,副教授,博士,CCF会员,主要研究方向:软件工程、非线性控制;林天华(1979-),男,福建上杭人,副教授,硕士,主要研究方向:软件工程、软件架构、信息系统;马素霞(1964-),女,山东章丘人,教授,主要研究方向:软件工程、软件体系结构、软件构件技术;齐林海(1964-),男,北京人,副教授,主要研究方向:数据挖掘、信息系统、商务智能。
  • 基金资助:
    河北省教育厅高等学校科学技术研究项目(YQ2013038);河北省自然科学基金资助项目(F2015207009);河北经贸大学科研基金资助项目(2013KYY17)。

Method for processing power quality data based on selective reloading

ZHAO Xia1,2, LIN Tianhua2, MA Suxia3, QI Linhai3   

  1. 1. School of Automation Science and Electrical Engineering, Beihang University, Beijing 100191, China;
    2. School of Information Technology, Hebei University of Economics and Business, Shijiazhuang Hebei 050061, China;
    3. School of Control and Computer Engineering, North China Electric Power University, Beijing 102206, China
  • Received:2015-10-14 Revised:2016-01-01 Online:2016-05-10 Published:2016-05-09
  • Supported by:
    This work is partly supported by the Science Technology Research Projects for the High school of Hebei Education Department (YQ2013038), the Natural Science Foundation of Hebei Province(F2015207009) and the Science Research Project of Hebei University of Economics and Business(2013KYY17).

摘要: 根据电能质量系统中监测数据海量化的趋势,提出了一种基于部分存储和选择性加载的数据处理算法,彻底解决了现有数据处理算法中重复排序和多余处理的问题。在计算日指标时,根据存储率存储部分日排序数据;在计算周(月、季、年)指标时,利用多路归并算法将存储的部分日排序数据合并,计算出临时95概率大值(CP95);根据临时CP95确定需要重载的日数据,对部分存储的日数据和重载数据重新排序以计算稳态指标。部分存储的日排序数据可以重复利用,有效解决了传统处理方案中的重复排序问题;排序过程中只需读取部分日排序数据和少量重载数据,有效解决了传统处理方案中冗余处理问题。与传统的数据处理方法做测试对比,结果表明:日采样数据较小时,性能提升3倍以上;日采样数据超过2880时,性能提升15倍以上。数据量越大,性能提升越明显。所提方案已在山西、河北等监测系统中成功应用,实践证明所提方案正确、有效。

关键词: 电能质量, 海量数据, 多路归并, 存储率, 重载率

Abstract: The monitoring data in the power quality monitoring system increased quickly. A new method based on partial storage and selective reloading was proposed, which can solve the problem of repetitive sorting and redundant processing in the tradition methods. In the calculation of the daily index, daily data was sorted and stored partly based on saving rate. In the calculation of week (month, season or year) index, the partly saved daily data in a week (month, season or year) were merged by the multiple merge algorithm to calculate a temporary 95 percentile (CP95), which could be used to determine which daily data should be reloaded. Besides the reloaded data, all other needed data were reordered to calculate the steady index. The sorting process only needed part of the stored daily data and a small amount of reloaded data, so the redundant processing problem in traditional processing method was solved effectively. Compared with the traditional data processing method, the experimental results show the efficiency can be increased more than 3 times using the proposed method when daily sampling data is relatively small. When the number of daily sampling data is more than 2880, the efficiency can be increased more than 15 times. The larger the amount of sampling data is, the more obviously the performance improves.The method has been applied in the monitoring system of Shanxi, Hebei and other provinces successfully. It is proved in practice that the method is correct and effective.

Key words: power quality, mass data, multiple merge, store rate, reload rate

中图分类号: