[go: up one dir, main page]

CN103578048A - Method for checking and comparing configuration related information of intelligent substation SCL documents - Google Patents

Method for checking and comparing configuration related information of intelligent substation SCL documents Download PDF

Info

Publication number
CN103578048A
CN103578048A CN201310565692.XA CN201310565692A CN103578048A CN 103578048 A CN103578048 A CN 103578048A CN 201310565692 A CN201310565692 A CN 201310565692A CN 103578048 A CN103578048 A CN 103578048A
Authority
CN
China
Prior art keywords
information parameter
information
layer
scl
comparison
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310565692.XA
Other languages
Chinese (zh)
Inventor
郑永康
时鹏
常政威
刘明忠
丁宣文
张茜
孟雷
张俊夫
阴玉婷
何笠
向博
姚辉昌
冯世林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
State Grid Corp of China SGCC
Original Assignee
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
State Grid Corp of China SGCC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd, State Grid Corp of China SGCC filed Critical Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Priority to CN201310565692.XA priority Critical patent/CN103578048A/en
Publication of CN103578048A publication Critical patent/CN103578048A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及智能变电站二次系统的调试,具体涉及一种对智能变电站SCL文件配置相关信息校核及比对方法,包括以下步骤:选择某智能变电站SCL文件变更前后的两个版本分别加载,并通过Qt中的QXmlStreamReader对两个SCL文件进行解析;读取包含SCL文件配置的信息参数层和信息参数层包含的信息参数;文本比较;得出比较结果并保存。本方法采用了QXmlStreamReader解析方式,大大缩短了解析的时间,同时也减小了程序占用的内存;比较过程更加简单,比对结果更加全面。

Figure 201310565692

The present invention relates to the debugging of the secondary system of an intelligent substation, in particular to a method for checking and comparing information related to the SCL file configuration of an intelligent substation, comprising the following steps: selecting two versions of an SCL file before and after a change of an intelligent substation and loading them respectively, and The two SCL files are parsed by QXmlStreamReader in Qt; the information parameter layer containing the configuration of the SCL file and the information parameters contained in the information parameter layer are read; the text is compared; the comparison result is obtained and saved. This method adopts the QXmlStreamReader parsing method, which greatly shortens the parsing time and also reduces the memory occupied by the program; the comparison process is simpler and the comparison result is more comprehensive.

Figure 201310565692

Description

一种对智能变电站SCL文件配置相关信息校核及比对方法A method for checking and comparing information related to SCL file configuration in smart substations

技术领域technical field

本发明涉及智能变电站二次系统的调试,具体涉及一种对智能变电站SCL文件配置相关信息校核及比对方法。The invention relates to debugging of a secondary system of an intelligent substation, in particular to a method for checking and comparing information related to SCL file configuration of an intelligent substation.

背景技术Background technique

IEC61850-6定义了四种SCL(变电站配置语言)文件类型:(1)ICD文件,描述IED提供的基本数据模型及服务;(2)SSD文件,描述变电站开关场一次系统结构以及相关联的逻辑节点;(3)SCD文件,描述全站所有IED的实例配置和通信参数信息、IED之间的联系信息以及变电站一次系统结构;(4)CID文件,由装置厂商根据SCD文件中本IED相关信息生成。在智能变电站二次系统调试中SCL文件会经常被修改,而调试人员又很难记住上次修改的内容和本次修改的内容,是否修改正确。急需一种对SCL文件配置相关信息进行比对的文件,通过比对两个版本的文件来查找修改的内容,以此检查是否修改正确。IEC61850-6 defines four types of SCL (Substation Configuration Language) files: (1) ICD file, which describes the basic data model and services provided by IED; (2) SSD file, which describes the primary system structure and associated logic of the substation switchyard Node; (3) SCD file, which describes the instance configuration and communication parameter information of all IEDs in the whole station, the contact information between IEDs, and the primary system structure of the substation; (4) CID file, which is provided by the device manufacturer according to the relevant information of the IED in the SCD file generate. In the debugging of the secondary system of the smart substation, the SCL file is often modified, and it is difficult for the debugger to remember the content of the last modification and the content of this modification, and whether the modification is correct. There is an urgent need for a file that compares the relevant information of the SCL file configuration. By comparing the two versions of the file, you can find the modified content, so as to check whether the modification is correct.

由于目前缺乏对SCL文件配置相关信息进行快速、便捷的比对的工具,调试人员若要提前检查SCL文件是否修改正确,有时只能借助文本比较工具甚至是采取人工比对的落后方法。而文本比较工具中,字符位置的不对应也会被作为不同之处显示在比较结果中。往往SCL文件在被修改或者增添内容后,其内的字符位置会有很大的变动,而调试人员只是希望通过比较两个SCL文件找出相应的配置相关信息的差异,不会去关心每一个字符、每一行在文件中的位置。如果采用此类方法,调试人员不得不面对成千上万行的比较结果,因此很难全面乃至快速地找出SCL文件在配置过程中出现的问题。也有研究机构提出通过建立比较模型的办法实现SCL文件差异性比较,因为建模本身的局限性,这种比较方法有比较结果不全面的缺点。Due to the current lack of tools for quick and convenient comparison of SCL file configuration related information, if debuggers want to check whether the SCL file is modified correctly in advance, sometimes they can only use text comparison tools or even manual comparison. In the text comparison tool, the incompatibility of the character position will also be displayed as a difference in the comparison result. Often after the SCL file is modified or added, the character position in it will change a lot, and the debugger just hopes to find the difference in the corresponding configuration-related information by comparing the two SCL files, and will not care about each character, the position of each line in the file. If such a method is adopted, the debugger has to face the comparison results of thousands of lines, so it is difficult to comprehensively and even quickly find out the problems in the configuration process of the SCL file. Some research institutions also proposed to realize the difference comparison of SCL files by establishing a comparison model. Because of the limitations of the modeling itself, this comparison method has the disadvantage of incomplete comparison results.

发明内容Contents of the invention

本发明的目的在于提供一种对智能变电站SCL文件配置相关信息校核及比对方法,解决目前智能变电站调试工具的缺乏,检查智能变电站SCL文件配置相关信息耗费时间及检查不全面,效率低的问题。The purpose of the present invention is to provide a method for checking and comparing information related to SCL file configuration in smart substations, to solve the lack of debugging tools for smart substations at present, and to check the information related to SCL file configuration in smart substations, which is time-consuming, incomplete and inefficient. question.

为解决上述的技术问题,本发明采用以下技术方案:一种对智能变电站SCL文件配置相关信息校核及比对方法,包括以下步骤:In order to solve the above-mentioned technical problems, the present invention adopts the following technical solutions: a method for checking and comparing information related to the SCL file configuration of an intelligent substation, comprising the following steps:

步骤一,选择某智能变电站SCL文件变更前后的两个版本分别加载,并通过Qt中的QXmlStreamReader对两个SCL文件进行解析;Step 1, select the two versions of the SCL file of a smart substation before and after the change and load them separately, and analyze the two SCL files through QXmlStreamReader in Qt;

步骤二,读取包含SCL文件配置的信息参数层和信息参数层包含的信息参数;Step 2, reading the information parameter layer comprising the configuration of the SCL file and the information parameters contained in the information parameter layer;

步骤三,文本比较;Step 3, text comparison;

步骤四,得出比较结果并保存。Step 4, get the comparison result and save it.

进一步的,所述Qt中的QXmlStreamReader对两个SCL文件进行解析具体是:根据SCL文件结构特征,QXmlStreamReader解析SCL文件为树状态分层结构,并提取各层级的信息参数层及信息参数层包含的信息参数。Further, the QXmlStreamReader in the Qt parses the two SCL files specifically: according to the structural characteristics of the SCL file, the QXmlStreamReader parses the SCL file into a tree state hierarchical structure, and extracts the information parameter layer of each level and the information contained in the information parameter layer. information parameter.

进一步的,所述文本比较主要包括:Further, the text comparison mainly includes:

判断信息参数层是否相同,如果信息参数层不相同则完成本信息参数层比较;Judging whether the information parameter layers are the same, if the information parameter layers are not the same, the comparison of the information parameter layers is completed;

如果信息参数层相同则再判断信息参数是否一致,如果信息参数一致则完成本信息参数层比较;If the information parameter layers are the same, then judge whether the information parameters are consistent, and if the information parameters are consistent, complete the comparison of the information parameter layers;

如果信息参数不一致则输出相应信息参数,完成本信息参数层比较;If the information parameters are inconsistent, output the corresponding information parameters to complete the comparison of this information parameter layer;

筛选出信息参数层不相同或信息参数不一致的信息参数作为比较结果。Information parameters with different information parameter layers or inconsistent information parameters are screened out as comparison results.

进一步的,所述SCL文件以IEC61850标准层次化的模型为基础,在结构上采用与之对应的树形分层结构,上一层级类由下一层级的若干类“聚合”而成,每一层都定义相应的抽象类,并定义这些类的属性和服务。Further, the SCL file is based on the hierarchical model of the IEC61850 standard, and adopts a tree-like hierarchical structure corresponding to it in structure. Classes at the upper level are "aggregated" by several classes at the lower level. Each Each layer defines corresponding abstract classes, and defines the properties and services of these classes.

进一步的,所述SCD文件结构包括五部分:<Header>、<Substation>、<Communication>、<IED>和<DataTypeTemplates>,所述<IED>(智能电子设备)层下含有<Services>(服务)和<AccessPoint>(访问点),<AccessPoint>层自上而下分为<Server>(服务器)、<Logical-Device>(逻辑设备)、<Logical-Node>(逻辑节点)、<Data>(数据对象)、和<DataAttribute>(数据属性)。所述的<Header>包含配置文件的版本信息和修订信息以及名称映射信息等;<Substation>包含变电站的功能结构、主元件和电气连接以及相应的功能节点;<Communication>定义了通信子网中IED接入点的相关配置信息,包括设备的网络地址和各层物理地址;<IED>描述了IED的配置情况,包括逻辑设备、逻辑节点、数据对象、数据属性实例和所具备的通信服务能力;<DataTypeTemplates>是可实例化的数据属性类型模板。Further, the SCD file structure includes five parts: <Header>, <Substation>, <Communication>, <IED> and <DataTypeTemplates>, the <IED> (Intelligent Electronic Device) layer contains <Services> (service ) and <AccessPoint> (access point), the <AccessPoint> layer is divided into <Server> (server), <Logical-Device> (logical device), <Logical-Node> (logical node), <Data> from top to bottom (data object), and <DataAttribute> (data attribute). The <Header> includes version information, revision information and name mapping information of the configuration file; <Substation> includes the functional structure, main components, electrical connections and corresponding functional nodes of the substation; <Communication> defines the communication subnet The relevant configuration information of the IED access point, including the network address of the device and the physical address of each layer; <IED> describes the configuration of the IED, including logical devices, logical nodes, data objects, data attribute instances, and communication service capabilities. ;<DataTypeTemplates> is an instantiable data attribute type template.

进一步的,所述信息参数层主要包括网络和装置、GOOSE、SV和MMS;所述网络和装置所包括的信息参数主要有子网络个数、子网络类型、子网络描述、装置描述、装置制造厂家和和装置名称;GOOSE包括的信息参数主要有APPID通道个数(应用标识符通道个数)、MAC地址、GoCBRef(goose控制块引用)、DataSet(数据集)、GoID(goose标识符)、没有事件发生时稳态重复发生时间间隔T0、事件发生后的最短发送时间间隔T1、GOOSE的通道个数和GOOSE的通道名称及数据引用;SV包括的信息参数主要有SV的通道个数、MAC地址、SVID(采样值标识符)、DataSet(数据集)和SV通道名称和数据引用;MMS包括的信息参数主要有MMS通讯层的IP地址。Further, the information parameter layer mainly includes network and device, GOOSE, SV and MMS; the information parameters included in the network and device mainly include the number of sub-networks, sub-network type, sub-network description, device description, device manufacturing Manufacturer and device name; the information parameters included in GOOSE mainly include the number of APPID channels (number of application identifier channels), MAC address, GoCBRef (goose control block reference), DataSet (data set), GoID (goose identifier), When no event occurs, the steady-state repeated time interval T0, the shortest sending time interval after the event occurs T1, the number of channels of GOOSE, the channel name and data reference of GOOSE; the information parameters included in SV mainly include the number of channels of SV, MAC Address, SVID (sample value identifier), DataSet (data set) and SV channel name and data reference; the information parameters included in MMS mainly include the IP address of the MMS communication layer.

与现有技术相比,本发明的有益效果是:Compared with prior art, the beneficial effect of the present invention is:

采用了QXmlStreamReader解析方式,大大缩短了解析的时间,同时也减小了程序占用的内存;The QXmlStreamReader parsing method is adopted, which greatly shortens the parsing time and also reduces the memory occupied by the program;

相对于文本比较软件对SCL文件的比较,本发明充分利用了SCL文件的分层结构及其聚合关系,以信息参数层及其包含的信息参数作为比较对象,并以比较对象作为单位为输出比较结果,比较结果一目了然,非常直观,调试人员可以快速、准确的从中检查SCL文件配置相关信息是否修改正确。Compared with the comparison of SCL files by text comparison software, the present invention makes full use of the hierarchical structure and aggregation relationship of SCL files, uses the information parameter layer and the information parameters contained therein as the comparison object, and uses the comparison object as the unit for output comparison As a result, the comparison result is clear at a glance and is very intuitive, and the debugger can quickly and accurately check whether the configuration related information of the SCL file is modified correctly.

相对于定义标识符建立比较模型等方法,本方法采用将解析工具与文本比较结合的方法,比较过程更加简单,直接比较解析后的SCL文件,比较结果更全面。Compared with methods such as defining identifiers and establishing comparison models, this method adopts the method of combining analysis tools with text comparison, the comparison process is simpler, and the analyzed SCL files are directly compared, and the comparison results are more comprehensive.

通过比对SCL文件配置相关信息的校核及比较,也可以检查新增IED的ICD文件导入SCD中,SCD文件原有部分是否被破坏,检查装置中的CID文件和后台系统中的SCD文件信息版本是否一致,改善了变电站调试过程中由于配置文件版本多、管理混乱造成版本不一致的局面,一定程度上提高了智能变电站二次系统调试的效率和质量。By checking and comparing the relevant information of the SCL file configuration, you can also check whether the ICD file of the newly added IED is imported into the SCD, whether the original part of the SCD file is damaged, and check the CID file in the device and the SCD file information in the background system. Whether the version is consistent or not improves the situation of version inconsistency caused by multiple configuration file versions and chaotic management during the commissioning process of the substation, and improves the efficiency and quality of the secondary system commissioning of the smart substation to a certain extent.

附图说明Description of drawings

图1为本发明一种对智能变电站SCL文件配置相关信息校核及比对方法一个实施例的流程示意图。FIG. 1 is a schematic flowchart of an embodiment of a method for checking and comparing information related to configuration of a smart substation SCL file according to the present invention.

图2为本发明一种对智能变电站SCL文件配置相关信息校核及比对方法一个实施例文本比较流程示意图。FIG. 2 is a schematic diagram of a text comparison process of an embodiment of a method for checking and comparing information related to configuration of a smart substation SCL file according to the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

图1示出了本发明一种对智能变电站SCL文件配置相关信息校核及比对方法的一个实施例:一种对智能变电站SCL文件配置相关信息校核及比对方法,包括以下步骤:Fig. 1 shows an embodiment of a method for checking and comparing information related to SCL file configuration in smart substations according to the present invention: a method for checking and comparing related information about SCL file configuration in smart substations, comprising the following steps:

步骤一,选择某智能变电站SCL文件变更前后的两个版本分别加载,并通过Qt中的QXmlStreamReader对两个SCL文件进行解析;Step 1, select the two versions of the SCL file of a smart substation before and after the change and load them separately, and analyze the two SCL files through QXmlStreamReader in Qt;

步骤二,读取包含SCL文件配置的信息参数层和信息参数层包含的信息参数;Step 2, reading the information parameter layer comprising the configuration of the SCL file and the information parameters contained in the information parameter layer;

步骤三,文本比较;Step 3, text comparison;

步骤四,得出比较结果并保存。Step 4, get the comparison result and save it.

本发明一种对智能变电站SCL文件配置相关信息校核及比对方法的一个优选实施例,由于SCL文件实质上是受固定的Schema文件约束的XML文本文件,所述Qt中的QXmlStreamReader对两个SCL文件进行解析,具体是根据SCL文件结构特征,QXmlStreamReader解析SCL文件为树状态分层结构,并提取各层级的信息参数层及信息参数层包含的信息参数,即QXmlStreamReader对SCL内部节点进行操作,其操作具体实现是基于事件的模型,QXmlStreamReader在解析XML文档的时侯触发一系列的事件,当发现给定的tag的时侯,QXmlStreamReader激活一个回调方法,告诉该方法制定的标签已经找到,再根据这些标签提取SCL文件中的信息参数层和信息参数层包含的信息参数。文本比较则以信息参数层及其包含的信息参数作为比较对象,采用双向比较找到比较对象的对应关系进而进行文本比较。A preferred embodiment of the present invention's method for checking and comparing the relevant information of the SCL file configuration of the smart substation, since the SCL file is essentially an XML text file constrained by a fixed Schema file, the QXmlStreamReader in the Qt is capable of two The SCL file is parsed, specifically according to the structural characteristics of the SCL file, QXmlStreamReader parses the SCL file into a tree state hierarchical structure, and extracts the information parameter layer of each level and the information parameters contained in the information parameter layer, that is, QXmlStreamReader operates on the internal nodes of SCL, The specific implementation of its operation is an event-based model. QXmlStreamReader triggers a series of events when parsing an XML document. When a given tag is found, QXmlStreamReader activates a callback method to tell the method that the specified tag has been found, and then The information parameter layer and the information parameters contained in the information parameter layer in the SCL file are extracted according to these tags. Text comparison takes the information parameter layer and the information parameters it contains as the comparison object, uses two-way comparison to find the corresponding relationship between the comparison objects, and then performs text comparison.

图2示出了本发明一种对智能变电站SCL文件配置相关信息校核及比对方法的另一个优选实施例,所述文本比较主要包括:Fig. 2 shows a kind of another preferred embodiment of the present invention to the smart substation SCL file configuration related information checking and comparison method, and the text comparison mainly includes:

判断信息参数层是否相同,如果信息参数层不相同则完成本信息参数层比较;Judging whether the information parameter layers are the same, if the information parameter layers are not the same, the comparison of the information parameter layers is completed;

如果信息参数层相同则再判断信息参数是否一致,如果信息参数一致则完成本信息参数层比较;If the information parameter layers are the same, then judge whether the information parameters are consistent, and if the information parameters are consistent, complete the comparison of the information parameter layers;

如果信息参数不一致则输出相应信息参数,完成本信息参数层比较;If the information parameters are inconsistent, output the corresponding information parameters to complete the comparison of this information parameter layer;

筛选出信息参数层不相同或信息参数不一致的信息参数作为比较结果。Information parameters with different information parameter layers or inconsistent information parameters are screened out as comparison results.

作为优选,所述的比较结果的显示方式区别于一般的文本比较(文本比较采用逐个字符比较方式,并且不对SCL文件解析,直接比较SCL文件中的所有内容)及文本比较的显示方式。而本发明充分利用了SCL文件自身的语法特点,以被解析后的SCL文件中信息参数层及其包含的信息参数作为比较对象,在比较对象间采用字符比较方式,若比较对象中有字符不相同,则以比较对象为单位输出比较结果。如下表,为通过本发明一种对智能变电站SCL文件配置相关信息校核及比对方法比较某智能变电站两个SCL文件得出的部分比较结果。Preferably, the display mode of the comparison result is different from the general text comparison (the text comparison adopts a character-by-character comparison mode, and does not analyze the SCL file, and directly compares all the contents in the SCL file) and the display mode of the text comparison. And the present invention has fully utilized the grammatical characteristic of SCL file self, with the information parameter layer and the information parameter that comprises in the SCL file after being parsed as comparison object, adopt character comparison mode between comparison object, if there is character in comparison object If they are the same, the comparison result is output in units of comparison objects. The following table is a partial comparison result obtained by comparing two SCL files of a certain smart substation through a method for checking and comparing relevant information of smart substation SCL file configuration according to the present invention.

Figure BDA0000414221380000041
Figure BDA0000414221380000041

Figure BDA0000414221380000051
Figure BDA0000414221380000051

根据本发明一种对智能变电站SCL文件配置相关信息校核及比对方法的另一个优选实施例,所述SCL文件以IEC61850标准层次化的模型为基础,在结构上采用与之对应的树形分层结构,上一层级类由下一层级的若干类“聚合”而成,每一层都定义相应的抽象类,并定义这些类的属性和服务。According to another preferred embodiment of the method for checking and comparing relevant information of the SCL file configuration of the smart substation according to the present invention, the SCL file is based on the hierarchical model of the IEC61850 standard, and adopts a corresponding tree structure in structure Hierarchical structure, upper-level classes are "aggregated" from several lower-level classes, and each layer defines corresponding abstract classes, and defines the attributes and services of these classes.

根据本发明一种对智能变电站SCL文件配置相关信息校核及比对方法的另一个优选实施例,所述SCD文件结构包括五部分:<Header>、<Substation>、<Communication>、<IED>和<DataTypeTemplates>,所述<IED>层下含有<Services>和<AccessPoint>,<AccessPoint>层自上而下分为<SERVER>、<LOGICAL-DEVICE>、<LOGICAL-NODE>、<DATA>、和<DATAAttribute>。所述的<Header>包含配置文件的版本信息和修订信息以及名称映射信息等;<Substation>包含变电站的功能结构、主元件和电气连接以及相应的功能节点;<Communication>定义了通信子网中IED接入点的相关配置信息,包括设备的网络地址和各层物理地址;<IED>描述了IED的配置情况,包括逻辑设备、逻辑节点、数据对象、数据属性实例和所具备的通信服务能力;<DataTypeTemplates>是可实例化的数据属性类型模板。According to another preferred embodiment of the method for checking and comparing information related to the SCL file configuration of a smart substation according to the present invention, the SCD file structure includes five parts: <Header>, <Substation>, <Communication>, <IED> and <DataTypeTemplates>, the <IED> layer contains <Services> and <AccessPoint>, and the <AccessPoint> layer is divided into <SERVER>, <LOGICAL-DEVICE>, <LOGICAL-NODE>, <DATA> from top to bottom , and <DATAAttribute>. The <Header> includes version information, revision information and name mapping information of the configuration file; <Substation> includes the functional structure, main components, electrical connections and corresponding functional nodes of the substation; <Communication> defines the communication subnet The relevant configuration information of the IED access point, including the network address of the device and the physical address of each layer; <IED> describes the configuration of the IED, including logical devices, logical nodes, data objects, data attribute instances, and communication service capabilities. ;<DataTypeTemplates> is an instantiable data attribute type template.

根据本发明一种对智能变电站SCL文件配置相关信息校核及比对方法的另一个优选实施例,所述的信息参数层则是SCL文件树形分层结构中的各层级;所述信息参数层主要包括网络和装置、GOOSE、SV和MMS;所述网络和装置所包括的信息参数主要有子网络个数、子网络类型、子网络描述、装置描述、装置制造厂家和和装置名称;GOOSE包括的信息参数主要有APPID通道个数(应用标识符通道个数)、MAC地址、GoCBRef(goose控制块引用)、DataSet(数据集)、GoID(goose标识符)、没有事件发生时稳态重复发生时间间隔T0、事件发生后的最短发送时间间隔T1、GOOSE的通道个数和GOOSE的通道名称及数据引用;SV包括的信息参数主要有SV的通道个数、MAC地址、SVID(采样值标识符)、DataSet(数据集)和SV通道名称和数据引用;MMS包括的信息参数主要有MMS通讯层的IP地址。According to another preferred embodiment of a method for checking and comparing relevant information of the smart substation SCL file configuration according to the present invention, the information parameter layer is each level in the tree-shaped hierarchical structure of the SCL file; the information parameter The layer mainly includes network and device, GOOSE, SV and MMS; the information parameters included in the network and device mainly include the number of sub-networks, sub-network type, sub-network description, device description, device manufacturer and device name; GOOSE The information parameters included mainly include the number of APPID channels (number of application identifier channels), MAC address, GoCBRef (goose control block reference), DataSet (data set), GoID (goose identifier), and steady-state repetition when no event occurs The occurrence time interval T0, the shortest sending time interval T1 after the event occurs, the number of channels of GOOSE, the channel name and data reference of GOOSE; the information parameters included in SV mainly include the number of channels of SV, MAC address, SVID (sampling value identification character), DataSet (data set) and SV channel name and data reference; the information parameters included in MMS mainly include the IP address of the MMS communication layer.

由于SCD文件一般比较大,对模型文件的解析在速度以及内存消耗方面有着较高的要求,相比DOM、SAX解析方式,QXmlStreamReader是在Qt中读取XML文档最快且最简单方式,有效缩短了解析SCL文件的时间,并且内存占用很小。Since SCD files are generally relatively large, the parsing of model files has high requirements in terms of speed and memory consumption. Compared with DOM and SAX parsing methods, QXmlStreamReader is the fastest and easiest way to read XML documents in Qt, effectively shortening the Reduce the time of parsing SCL files, and the memory footprint is very small.

尽管这里参照本发明的多个解释性实施例对本发明进行了描述,但是,应该理解,本领域技术人员可以设计出很多其他的修改和实施方式,这些修改和实施方式将落在本申请公开的原则范围和精神之内。更具体地说,在本申请公开、附图和权利要求的范围内,可以对主题组合布局的组成部件和/或布局进行多种变型和改进。除了对组成部件和/或布局进行的变形和改进外,对于本领域技术人员来说,其他的用途也将是明显的。Although the invention has been described herein with reference to a number of illustrative embodiments thereof, it is to be understood that numerous other modifications and implementations can be devised by those skilled in the art which will fall within the scope of the disclosure disclosed in this application. within the scope and spirit of the principles. More specifically, within the scope of the disclosure, drawings and claims of the present application, various modifications and improvements can be made to the components and/or layout of the subject combination layout. In addition to variations and modifications to the component parts and/or layout, other uses will be apparent to those skilled in the art.

Claims (6)

1. intelligent substation SCL file configuration relevant information is checked and a comparison method, it is characterized in that comprising the following steps:
Step 1, selects two versions of certain intelligent substation SCL document change front and back to load respectively, and by the QXmlStreamReader in Qt, two SCL files is resolved;
Step 2, reads the information parameter that the information parameter layer that comprises SCL file configuration and information parameter layer comprise;
Step 3, text comparison;
Step 4, draws comparative result and preserves.
2. according to claim 1 a kind of to the check of intelligent substation SCL file configuration relevant information and comparison method, it is characterized in that: the QXmlStreamReader in described Qt resolves specifically two SCL files: according to SCL file structure feature, it is tree state hierarchy that QXmlStreamReader resolves SCL file, and extracts the information parameter layer of each level and the information parameter that information parameter layer comprises.
3. according to claim 1 a kind of to the check of intelligent substation SCL file configuration relevant information and comparison method, it is characterized in that: described text mainly comprises:
Judge that whether information parameter layer is identical, if information parameter layer is not identical, complete the comparison of this information parameter layer;
If information parameter layer is identical, then judge that whether information parameter is consistent, if information parameter unanimously, completes the comparison of this information parameter layer;
If information parameter is inconsistent, export corresponding information parameter, complete the comparison of this information parameter layer;
Filter out the not identical or inconsistent information parameter of information parameter of information parameter layer result as a comparison.
4. according to claim 1 a kind of to the check of intelligent substation SCL file configuration relevant information and comparison method, it is characterized in that: described SCL file be take the model of IEC61850 standard stratification and is basis, structurally adopt corresponding with it tree-like hierarchy, last layer level class is formed by some classes " polymerization " of next level, every one deck all defines corresponding abstract class, and defines attribute and the service of these classes.
5. according to claim 4 a kind of to the check of intelligent substation SCL file configuration relevant information and comparison method, it is characterized in that: described SCD file structure comprises five parts: <Header>, <Substation>, <Communication>, <IED> and <DataTypeTemplates>, under described <IED> layer, contain <Services> and <AccessPoint>, <AccessPoint> layer is divided into <Server> from top to bottom, <Logical-Device>, <Logical-Node>, <Data>, and <DataAttribute>.
6. according to a kind of described in claim 1-5 any one, intelligent substation SCL file configuration relevant information is checked and comparison method, it is characterized in that: described information parameter layer mainly comprises network and device, GOOSE, SV and MMS; Described network and the included information parameter of device mainly contain sub-network number, sub-network type, sub-network description, unit describe, device manufacturing firm and and device name; The information parameter that GOOSE comprises mainly contains passage number, MAC Address, GoCBRef, DataSet, the GoID of APPID, the passage number of short transmission time interval T1, GOOSE and tunnel name and the data referencing of GOOSE after not having stable state when event occurs to repeat time of origin interval T 0, event to occur; The information parameter that SV comprises mainly contains passage number, MAC Address, SVID, DataSet and SV tunnel name and the data referencing of SV; The information parameter that MMS comprises mainly contains the IP address of MMS Communication Layer.
CN201310565692.XA 2013-11-13 2013-11-13 Method for checking and comparing configuration related information of intelligent substation SCL documents Pending CN103578048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310565692.XA CN103578048A (en) 2013-11-13 2013-11-13 Method for checking and comparing configuration related information of intelligent substation SCL documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310565692.XA CN103578048A (en) 2013-11-13 2013-11-13 Method for checking and comparing configuration related information of intelligent substation SCL documents

Publications (1)

Publication Number Publication Date
CN103578048A true CN103578048A (en) 2014-02-12

Family

ID=50049776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310565692.XA Pending CN103578048A (en) 2013-11-13 2013-11-13 Method for checking and comparing configuration related information of intelligent substation SCL documents

Country Status (1)

Country Link
CN (1) CN103578048A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601372A (en) * 2014-12-24 2015-05-06 江苏省电力设计院 Three-layer graph-based intelligent substation virtual loop visual comparison method
CN104636490A (en) * 2015-02-28 2015-05-20 国网浙江省电力公司杭州供电公司 Graphical comparing method for SCD (substation configuration description) files of intelligent substation
CN104732453A (en) * 2015-03-16 2015-06-24 国家电网公司 SCD file comparison method based on interconnection and interworking impact factors
CN105868214A (en) * 2015-01-22 2016-08-17 凌群电脑股份有限公司 Automatic test comparison device and method
CN106325826A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Configuration file detection method and apparatus
CN106354798A (en) * 2016-08-26 2017-01-25 山东电力工程咨询院有限公司 Data source display method for comparing sender and receiver of SCD file
CN106372040A (en) * 2016-08-24 2017-02-01 长园深瑞继保自动化有限公司 Difference comparison system of intelligent substation configuration file
CN106656614A (en) * 2016-12-29 2017-05-10 山东鲁能智能技术有限公司 Method and system for generating custom-made forwarding table based on power distribution terminal device XML file
CN106844432A (en) * 2016-12-13 2017-06-13 国网北京市电力公司 Data processing method and device
CN107480883A (en) * 2017-08-11 2017-12-15 国电南瑞科技股份有限公司 A kind of transformer station secondary system resource allocation method and system
CN107819611A (en) * 2017-10-16 2018-03-20 积成电子股份有限公司 Client method of testing based on the more service end emulation of IEC61850
CN109145167A (en) * 2018-06-29 2019-01-04 国网四川省电力公司雅安供电公司 The content deltas comparative approach of IED is corresponded in ICD file and SCD
CN109240755A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 A kind of configuration file comparison method and configuration file Compare System
CN111539187A (en) * 2020-06-24 2020-08-14 贵州电网有限责任公司 Intelligent substation SCL file comparison method
CN113553728A (en) * 2021-09-18 2021-10-26 中国电力科学研究院有限公司 Method and system for generating intelligent substation station control layer application system model

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008011618A2 (en) * 2006-07-21 2008-01-24 Schweitzer Engineering Laboratories, Inc. A method of configuring intelligent electronic devices to facilitate standardized communication messages among a plurality of ieds within a network
CN103218398A (en) * 2013-03-13 2013-07-24 江苏省电力公司电力科学研究院 Intelligent substation SCL (substation configuration description language) file difference comparison method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008011618A2 (en) * 2006-07-21 2008-01-24 Schweitzer Engineering Laboratories, Inc. A method of configuring intelligent electronic devices to facilitate standardized communication messages among a plurality of ieds within a network
CN103218398A (en) * 2013-03-13 2013-07-24 江苏省电力公司电力科学研究院 Intelligent substation SCL (substation configuration description language) file difference comparison method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
霍亚飞: "《Qt Creator快速入门》", 31 May 2012, article "Qt Creator快速入门" *
高磊: "IEC61850 SCL配置文件比对工具的研究与实现", 《电力系统自动化》, vol. 37, no. 20, 25 October 2013 (2013-10-25) *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601372A (en) * 2014-12-24 2015-05-06 江苏省电力设计院 Three-layer graph-based intelligent substation virtual loop visual comparison method
CN105868214A (en) * 2015-01-22 2016-08-17 凌群电脑股份有限公司 Automatic test comparison device and method
CN105868214B (en) * 2015-01-22 2020-03-10 凌群电脑股份有限公司 Automatic test comparison device and method
CN104636490B (en) * 2015-02-28 2018-05-29 国网浙江省电力公司杭州供电公司 A kind of graphical comparison method of intelligent substation SCD file
CN104636490A (en) * 2015-02-28 2015-05-20 国网浙江省电力公司杭州供电公司 Graphical comparing method for SCD (substation configuration description) files of intelligent substation
CN104732453A (en) * 2015-03-16 2015-06-24 国家电网公司 SCD file comparison method based on interconnection and interworking impact factors
CN106325826A (en) * 2015-06-16 2017-01-11 阿里巴巴集团控股有限公司 Configuration file detection method and apparatus
CN106372040A (en) * 2016-08-24 2017-02-01 长园深瑞继保自动化有限公司 Difference comparison system of intelligent substation configuration file
CN106372040B (en) * 2016-08-24 2019-03-12 长园深瑞继保自动化有限公司 Intelligent substation configuration file otherness comparison system
CN106354798A (en) * 2016-08-26 2017-01-25 山东电力工程咨询院有限公司 Data source display method for comparing sender and receiver of SCD file
CN106844432A (en) * 2016-12-13 2017-06-13 国网北京市电力公司 Data processing method and device
CN106656614B (en) * 2016-12-29 2019-07-26 山东鲁能智能技术有限公司 Customization forwarding table generation method and system based on distribution terminal equipment XML file
CN106656614A (en) * 2016-12-29 2017-05-10 山东鲁能智能技术有限公司 Method and system for generating custom-made forwarding table based on power distribution terminal device XML file
CN107480883A (en) * 2017-08-11 2017-12-15 国电南瑞科技股份有限公司 A kind of transformer station secondary system resource allocation method and system
CN107480883B (en) * 2017-08-11 2020-11-10 国电南瑞科技股份有限公司 A kind of substation secondary system resource allocation method and system
CN107819611A (en) * 2017-10-16 2018-03-20 积成电子股份有限公司 Client method of testing based on the more service end emulation of IEC61850
CN107819611B (en) * 2017-10-16 2020-09-22 积成电子股份有限公司 Client test method based on IEC61850 multi-server simulation
CN109240755A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 A kind of configuration file comparison method and configuration file Compare System
CN109145167A (en) * 2018-06-29 2019-01-04 国网四川省电力公司雅安供电公司 The content deltas comparative approach of IED is corresponded in ICD file and SCD
CN109145167B (en) * 2018-06-29 2021-11-09 国网四川省电力公司雅安供电公司 Content difference comparison method for ICD file and corresponding IED in SCD
CN111539187A (en) * 2020-06-24 2020-08-14 贵州电网有限责任公司 Intelligent substation SCL file comparison method
CN113553728A (en) * 2021-09-18 2021-10-26 中国电力科学研究院有限公司 Method and system for generating intelligent substation station control layer application system model

Similar Documents

Publication Publication Date Title
CN103578048A (en) Method for checking and comparing configuration related information of intelligent substation SCL documents
CN102439818B (en) Method and device for automatically generating substation GOOSE signal connection topology relationship
CN104750825B (en) A kind of intelligent substation SCD file fast resolving method
CN103761681B (en) The comparison method of intelligent substation SCD and Excel void terminal tables
CN110134833A (en) Graph data modeling system and method for power grid topology management
US20160252890A1 (en) Method for searching cross-regional power supply area based on cim model and system thereof
CN104182911A (en) Calibration method for realizing CIM (Common Information Model) consistency of power distribution network system
CN102043719B (en) Method for testing IEC61850 configuration description file
CN102663094A (en) IEC61970CIM model checking method
CN103353871A (en) Interoperation picture file checking method based on CIM/G standard
CN104201779B (en) SVG-based automatic integrated monitoring method for online monitoring data
CN114153980A (en) Knowledge graph construction method and device, inspection method and storage medium
CN107194533B (en) Power distribution network full information model construction method and system
CN107357970B (en) Device and method for abnormal element detection of building information model based on data mining
CN103077093B (en) Substation configuration description (SCD) calibration method based on model objectification semantics
CN117112630B (en) Method, device, equipment and storage medium for generating topological structure of power grid data
CN103632307A (en) Method for checking consistency between SCD and virtual loop table of intelligent substation
CN103777934A (en) Method and system for generating controller CAN interaction layer based on MATLAB
CN118035502A (en) Distribution network data graph model construction method, device, electronic device and storage medium
CN103793437A (en) Wafer test data processing method and system
CN115345093A (en) Information association mapping method for secondary equipment circuit in smart substation based on SCD model
CN107203525B (en) Database processing method and device
CN107247827A (en) Empty terminal model modeling and automatic connecting method based on machine learning
CN103631854A (en) ICD and SCD consistency calibration method based on model objectification semantics
CN104361121B (en) A kind of batch analytic method of WEB reporting systems formula

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140212