引用本文:张竞,肖先勇.基于XML的电能质量标准数据共享模型及跨平台数据交换[J].电力自动化设备,2007,27(12):88-92
.XML-based power quality data sharing model and cross-platform data exchange[J].Electric Power Automation Equipment,2007,27(12):88-92
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3840次   下载 1464 本文二维码信息
码上扫一扫!
基于XML的电能质量标准数据共享模型及跨平台数据交换
张竞,肖先勇
作者单位
摘要:
IEEE提出的标准二进制电能质量数据格式(PQDIF)采用了通道定义和数据序列分离的数据结构,不仅降低了数据查询效率,而且读取、修改和结合应用程序实现复杂。在现有PQDIF数据模型的基础上,提出了一种用XML实现的电能质量数据模型:模型将测量类型、相位、序列值等以子对象方式嵌套于3种记录类型,通道定义和数据序列以索引相连,提高了数据查询效率;同时在XML模式定义中采用base64binary二进制储存PQ数据,有效地减少数据占用空间;最后,提出了基于模式转换的映射数据交换方法,任何2个XML文档解析出来的树结构元素都可以根据距离根节点的深度和数据字典进行语义自动匹配,精确度更高,处理速度也更快。基于以上数据交换模型和模式转换方法成功地实现了异构电能质量数据的交换,实践证明所提出的数据模型及实现方式具有良好的鲁棒性和可行性,能较好地实现电能质量数据的跨平台交换与共享。
关键词:  电能质量,数据格式,模式转换,跨平台实现
DOI:
分类号:TM734 TM76
基金项目:
XML-based power quality data sharing model and cross-platform data exchange
ZHANG Jing  XIAO Xian-yong
Abstract:
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 appli-cations.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 sub-objects,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.
Key words:  power quality,data format,schema conversion,cross-platform implementation

用微信扫一扫

用微信扫一扫