摘要
IEEE提出的标准二进制电能质量数据格式(PQDIF)采用了通道定义和数据序列分离的数据结构,不仅降低了数据查询效率,而且读取、修改和结合应用程序实现复杂。在现有PQDIF数据模型的基础上,提出了一种用XML实现的电能质量数据模型:模型将测量类型、相位、序列值等以子对象方式嵌套于3种记录类型,通道定义和数据序列以索引相连,提高了数据查询效率;同时在XML模式定义中采用base64binary二进制储存PQ数据,有效地减少数据占用空间;最后,提出了基于模式转换的映射数据交换方法,任何2个XML文档解析出来的树结构元素都可以根据距离根节点的深度和数据字典进行语义自动匹配,精确度更高,处理速度也更快。基于以上数据交换模型和模式转换方法成功地实现了异构电能质量数据的交换,实践证明所提出的数据模型及实现方式具有良好的鲁棒性和可行性,能较好地实现电能质量数据的跨平台交换与共享。
PQDIF(standard binary Power Quality Data Interchange Format) introduced by IEEE owns data structure with channel definition and separated data series,which not only lowers the query efficiency but also complicates the process of data reading,modifying and combination with applications. On the basis of current PQDIF data model,a PQ data model implemented with XML is proposed. Measurement quantity,phase and data series are nested in three recording types as subobjects,while channel definition is connected with data series by index,which improves the data query efficiency. Base64bianary is applied for PQ data storage to decrease considerably data space. Mapping data exchange method based on Schema conversion is suggested,the tree structure elements parsed by two XML documents may automatically match each other according to the depth to root node and data dictionary,with higher precision and faster processing speed. On the basis of data exchange model and schema conversion method mentioned above,heterogeneous PQ data exchange is successfully implemented. Applications show its better robustness and feasibility in cross-platform PQ data exchange and sharing.
出处
《电力自动化设备》
EI
CSCD
北大核心
2007年第12期88-92,共5页
Electric Power Automation Equipment
关键词
电能质量
数据格式
模式转换
跨平台实现
power quality
data format
schema conversion
cross-platform implementation