摘要
采用传统资源描述框架(RDF)方式描述电力系统公共信息模型(CIM)对象存在着无法直接进行数据验证和数据负载率低的问题,针对这种情况,提出采用可扩展标记语言(XML)直接编码CIM对象。首先设计一种CIM对象的XML编码规范,并利用XML架构定义(XSD)技术制定CIM/XSD模式,给出类及其关系到XML/XSD的映射方法。同时为CIM中的每个类添加序列化与反序列化方法,并详细设计了两个方法的逻辑算法,该算法用来完成CIM对象集和CIM/XML文档之间的双向转换。案例研究表明,所设计的CIM对象编码规范、制定的CIM/XSD模式,以及设计的序列化与反序列化算法可有效应用于电力企业各异构系统间的数据导入/导出操作。
To describe the objects of common information model( CIM) of power system with traditional resource description framework( RDF) has the problems of unable to perform data validation directly and low data load rate. In light of these,we proposed to use extensible markup language( XML) to encode CIM objects directly. First,we designed an XML encoding specification for CIM objects,and constituted the CIM / XSD schemas by applying XML schema definition( XSD) technology,as well as provided the method of mapping class and relation to XML / XSD as well. At the same time,we added the serialisation and deserialisation methods for every class in CIM,and designed in detail the logical algorithms of these two methods,they were used to implement the bidirectional conversion between CIM object set and CIM / XML document. Case study showed that the designed CIM object encoding specification,the constituted CIM / XSD schema and the designed algorithms of serialisation and deserialisation could be effectively applied to import / export CIM data under heterogeneous environment for electric power enterprise.
出处
《计算机应用与软件》
CSCD
2015年第12期59-63,共5页
Computer Applications and Software