A kind of CCD document change impact analysis method based on CRC check

文档序号:1774566 发布日期:2019-12-03 浏览:18次 中文

阅读说明:本技术 一种基于crc校验的ccd文件变更影响分析方法 (A kind of CCD document change impact analysis method based on CRC check ) 是由 叶远波 陈实 黄太贵 谢民 王同文 董怀普 汪胜和 程小平 邵庆祝 王薇 项忠华 于 2019-09-10 设计创作,主要内容包括:本发明公开了一种基于CRC校验的CCD文件变更影响分析方法,分别解析两个CCD文件的数据结构,获取GOOSE接收控制块与SV接收控制块配置信息;将GOOSE接收控制块与SV接收控制块配置信息按照相同的外部装置进行分类,同一个外部装置的接收GOOSE和SV控制块配置信息组成一个数据集,对若干个原有和新的数据集进行CRC校验码计算,定位变更的外部装置;根据定位到的变更的外部装置对应的原有和新的数据集,分析具体变更信息,定位改扩建影响范围。保证改扩建中修改信息不影响已运行装置的配置信息,快速定位改扩建影响范围,避免全站停电进行调试,提高调试效率,减少调试范围,满足智能变电站二次设备改扩建应用需求。(The invention discloses a kind of CCD document change impact analysis method based on CRC check parses the data structure of two CCD files respectively, obtains that GOOSE receives control block and SV receives control block configuration information;GOOSE is received control block to classify with SV reception control block configuration information according to identical external device (ED), reception GOOSE and SV the control block configuration information of the same external device (ED) forms a data set, cyclic redundancy check calculating is carried out to several original and new data sets, positions the external device (ED) of change;According to the corresponding original and new data set of the external device (ED) of the change navigated to, specific modification information is analyzed, positions reorganization and expansion coverage.Modification information does not influence the configuration information of running gear in guarantee reorganization and expansion, quickly positions reorganization and expansion coverage, and whole station power failure is avoided to be debugged, and improves debugging efficiency, and reduction debugging range meets secondary equipment of intelligent converting station reorganization and expansion application demand.)

1. a kind of CCD document change impact analysis method based on CRC check, it is characterised in that:

Step 1: being configured to the SCD file of intelligent substation reorganization and expansion device, exported according to the SCD file and changed for device The new CCD file of enlarging parses two from that will obtain original CCD file in the intelligent substation device of reorganization and expansion respectively The data structure of CCD file obtains GOOSE and receives control block and SV reception control block configuration information;

Step 2: the new CCD file and original CCD file are used, method for distinguishing is known based on secondary circuit configuration information, it will GOOSE receives control block and classifies with SV reception control block configuration information according to identical external device (ED), the same external dress Reception GOOSE and SV the control block configuration information set forms a data set, obtains GOOSE and SV and receives control block configuration information Several the original and new data sets classified by external device (ED);

Step 3: cyclic redundancy check calculating is carried out to several described original and new data sets, it is fixed by comparing CRC check value The external device (ED) of position change;

Step 4: according to the corresponding original and new data set of the external device (ED) of the change navigated to, specific modification information is analyzed, Position reorganization and expansion coverage.

2. a kind of CCD document change impact analysis method based on CRC check according to claim 1, it is characterized in that: institute It states GOOSE and receives control block configuration information are as follows: assembling device receives the relevant GOOSE of external device (ED) data with confidence under CCD file Breath;The SV receives control block configuration information are as follows: assembling device receives the relevant SV of external device (ED) data with confidence under CCD file Breath;It include messaging parameter, port information and the Quadratic Imaginary circuit inside and outside address of external device (ED) in the control block configuration information Mapping relations.

3. a kind of CCD document change impact analysis method based on CRC check according to claim 1, it is characterized in that: institute The SCD file for being configured to intelligent substation reorganization and expansion device is stated, specifically: the configuration increased mounted cast information of reorganization and expansion, Messaging parameter, virtual terminator between associated apparatus.

4. a kind of CCD document change impact analysis method based on CRC check according to claim 1, it is characterized in that: institute It states in step 2 and GOOSE reception control block is classified with SV reception control block configuration information according to identical external device (ED), Reception GOOSE and SV the control block configuration information of the same external device (ED) forms a data set, and specific steps include:

1) control block is received according to GOOSE and communicates unique mark with the SV control block for receiving control block configuration information acquisition control block Know, obtains the logical device title of external device (ED) title and external device (ED);

2) control block configuration information is received according to GOOSE or SV, obtains the logical device title of external device (ED);

3) according to the combination title and logical device title of external device (ED) title and logical device title, the outside of device is obtained GOOSE and SV under identical device name is received control block configuration information and is divided into one group by device name.

5. a kind of CCD document change impact analysis method based on CRC check according to claim 1, it is characterized in that: institute State step 3, detailed process are as follows:

1) several data sets that control block configuration information presses external device (ED) classification are received to GOOSE and SV, calculates CRC check Code;

2) the corresponding CRC check value of identical external device (ED) in more original CCD file and new CCD file, if identical, Determining the configuration information of the external device (ED) in new CCD file, no change has taken place, if two crc values are inconsistent, it is determined that The configuration information of the external device (ED) is changed in new CCD file.

6. a kind of CCD document change impact analysis method based on CRC check according to claim 1, it is characterized in that: institute Calculating cyclic redundancy check is stated, specifically: nybble CRC-32 check code is calculated using exchange standard code sequence.

7. a kind of CCD document change impact analysis method based on CRC check according to claim 1, it is characterized in that: institute Step 4 is stated, is specifically included:

Messaging parameter is extracted in the data set corresponding original and new from the external device (ED) of change, by communication before and after two reorganization and expansion Parameter is compared, and identifies the communications parameter information of change;

Empty circuit information is extracted in the data set corresponding original and new from the external device (ED) of change, and address is received to interior arrangement Address is sent with external device (ED) to be compared, and determines that void circuit information is changed if inconsistent.

Technical field

The present invention relates to relay protection of power system secondary devices to manage technical field, and in particular to one kind is based on the school CRC The CCD document change impact analysis method tested.

Background technique

Intelligent substation configuration description SCD(Substation Configuration Description) file describes Complete substation's configuration, protects the model information of all secondary devices, communication parameter configuration information and process layer device it Between secondary loop information, be equivalent to the secondary cable circuit that a secondary device is connected in conventional substation.

Intelligent substation largely puts into operation, and since intelligent substation designs initial stage, there are limitation, equipment moulds for technology Type design considers not comprehensive, and construction debugging test experience is fewer, and intelligent power transformation operation state has a very big deficiency, while by In the development of economic technology, user power consumption is quickly increased, and needs to carry out reorganization and expansion to original design pattern, to meet power grid Quick growth requirement.It is encountered in reorganization and expansion and newly increases interval, it is expected that do not had an impact to running equipment, need to guaranteed pair The configuration of running equipment is not changed.For route line reorganization and expansion, so as to cause the fortune of associated busbar protective device Row configuration information needs reconfigure with lower dress, but the configuration file of busbar protective device modification whether to running gear Configuration information change, can not be positioned.In the reorganization and expansion stage, for the sake of security, need to carry out whole station whole power failures, It is tested, verifying secondary circuit configuration, coverage is too big, reorganization and expansion low efficiency.The technology of intelligent substation reorganization and expansion at present Relatively not mature enough, not can guarantee does not influence running gear reliability service in reorganization and expansion stage reorganization and expansion device.

Configuration describing document of the SCD file as intelligent substation, is the important evidence of electrical secondary system running configuration, in intelligence Can be in the debugging of substation, examination, maintenance, maintenance and reorganization and expansion link, the control of SCD file is extremely important, SCD file set The model information of whole secondary devices, device communication parameter information and process Quadratic Imaginary path incidence configuration information are closed.In Intelligent substation carries out reorganization and expansion or engineering debugs the stage, and SCD file changes, and leads to field adjustable or operations staff The direct otherness of version is not known, and whether the configuration information downloaded to inside device is changed, what kind of is caused It influences.During intelligent substation reorganization and expansion, a link is by system configuration utility from SCD file generating means The process layer configuration file of operation, and download to inside device (present apparatus i.e. hereafter) and run, process layer configuration text Part, that is, CCD (Configured Circuit Description) file, CCD file is secondary equipment of intelligent converting station IED (Intelligent Electronic Device intelligent electronic device) void loop configuration file, for define IED subscribe to Issue the transformer substation case of the general object-oriented of GOOSE(Generic Object Oriented Substation Events) With SV(Sampled Value sampled value) configuration file of information, comprising empty loop inner address and external device (ED) (relative to It is lower dress CCD device) address mapping relation, control block communications parameter information, virtual terminator receiving port information and virtual terminator Description information, State Grid Corporation of China's publication implement " intelligent substation relay protection project file technical specification " and have standardized CCD File consolidation normative content and format.IEC61850 to the data object unification mode of electric substation automation system kind, by IED from On be divided into logical device (LD), logical node (LN), data (DO) and data attribute (DA) down, and LN is data, data set And the synthetic of various control blocks, wherein control block includes report-control block RCB(Report Control Block) and day Will control block LCB(Log Control Block).Control block indicates: the data block of data communication, includes data phase in control block The definition information of pass.

Summary of the invention

To solve deficiency in the prior art, the present invention provides a kind of CCD document change impact analysis based on CRC check Method, solving intelligent substation reorganization and expansion can not learn whether configuration file modification influences running equipment and match confidence in the process The problem of breath, needs to carry out whole station whole power failures, reorganization and expansion low efficiency.

In order to achieve the above objectives, the present invention adopts the following technical scheme: a kind of CCD document change based on CRC check Impact analysis method, it is characterised in that:

Step 1: being configured to the SCD file of intelligent substation reorganization and expansion device, exported according to the SCD file and changed for device The new CCD file of enlarging parses two from that will obtain original CCD file in the intelligent substation device of reorganization and expansion respectively The data structure of CCD file obtains GOOSE and receives control block and SV reception control block configuration information;

Step 2: the new CCD file and original CCD file are used, method for distinguishing is known based on secondary circuit configuration information, it will GOOSE receives control block and classifies with SV reception control block configuration information according to identical external device (ED), the same external dress Reception GOOSE and SV the control block configuration information set forms a data set, obtains GOOSE and SV and receives control block configuration information Several the original and new data sets classified by external device (ED);

Step 3: cyclic redundancy check calculating is carried out to several described original and new data sets, it is fixed by comparing CRC check value The external device (ED) of position change;

Step 4: according to the corresponding original and new data set of the external device (ED) of the change navigated to, specific modification information is analyzed, Position reorganization and expansion coverage.

A kind of CCD document change impact analysis method based on CRC check above-mentioned, it is characterized in that: the GOOSE is received Control block configuration information are as follows: assembling device receives the relevant GOOSE configuration information of external device (ED) data under CCD file;The SV connects Receive control block configuration information are as follows: assembling device receives the relevant SV configuration information of external device (ED) data under CCD file;The control block It include messaging parameter, port information and the Quadratic Imaginary circuit inside and outside address mapping relation of external device (ED) in configuration information.

A kind of CCD document change impact analysis method based on CRC check above-mentioned, it is characterized in that: described be configured to The SCD file of intelligent substation reorganization and expansion device, specifically: the configuration increased mounted cast information of reorganization and expansion, messaging parameter close Virtual terminator between coupling device.

A kind of CCD document change impact analysis method based on CRC check above-mentioned, it is characterized in that: will in the step 2 GOOSE receives control block and classifies with SV reception control block configuration information according to identical external device (ED), the same external dress Reception GOOSE and SV the control block configuration information set forms a data set, and specific steps include:

1) control block is received according to GOOSE and communicates unique mark with the SV control block for receiving control block configuration information acquisition control block Know, obtains the logical device title of external device (ED) title and external device (ED);

2) control block configuration information is received according to GOOSE or SV, obtains the logical device title of external device (ED);

3) according to the combination title and logical device title of external device (ED) title and logical device title, the outside of device is obtained GOOSE and SV under identical device name is received control block configuration information and is divided into one group by device name.

A kind of CCD document change impact analysis method based on CRC check above-mentioned, it is characterized in that: the step 3, tool Body process are as follows:

1) several data sets that control block configuration information presses external device (ED) classification are received to GOOSE and SV, calculates CRC check Code;

2) the corresponding CRC check value of identical external device (ED) in more original CCD file and new CCD file, if identical, Determining the configuration information of the external device (ED) in new CCD file, no change has taken place, if two crc values are inconsistent, it is determined that The configuration information of the external device (ED) is changed in new CCD file.

A kind of CCD document change impact analysis method based on CRC check above-mentioned, it is characterized in that: the school calculating CRC Code is tested, specifically: nybble CRC-32 check code is calculated using exchange standard code sequence.

A kind of CCD document change impact analysis method based on CRC check above-mentioned, it is characterized in that: the step 4, tool Body includes:

Messaging parameter is extracted in the data set corresponding original and new from the external device (ED) of change, by communication before and after two reorganization and expansion Parameter is compared, and identifies the communications parameter information of change;

Empty circuit information is extracted in the data set corresponding original and new from the external device (ED) of change, and address is received to interior arrangement Address is sent with external device (ED) to be compared, and determines that void circuit information is changed if inconsistent.

Advantageous effects of the invention:

The present invention parses the data structure of two CCD files respectively, obtains GOOSE and receives control block and SV reception control block configuration Information;GOOSE is received control block to classify with SV reception control block configuration information according to identical external device (ED), it is same Reception GOOSE and SV the control block configuration information of a external device (ED) forms a data set, obtains GOOSE and SV and receives control block Configuration information presses several original and new data sets of external device (ED) classification;To several described original and new data sets into Row cyclic redundancy check calculates, by comparing the external device (ED) of CRC check value positioning change;According to the external dress of the change navigated to Corresponding original and new data set is set, specific modification information is analyzed, positions reorganization and expansion coverage.Guarantee to modify in reorganization and expansion Information does not influence the configuration information of running gear, quickly positions reorganization and expansion coverage, avoids whole station power failure from being debugged, mentions High adjustment efficiency reduces debugging range, meets the application demand of secondary equipment of intelligent converting station reorganization and expansion.

Detailed description of the invention

Fig. 1 is the method for the present invention flow chart.

Specific embodiment

The invention will be further described below in conjunction with the accompanying drawings.Following embodiment is only used for clearly illustrating the present invention Technical solution, and not intended to limit the protection scope of the present invention.

As shown in Figure 1, a kind of CCD document change impact analysis method based on CRC check, specifically includes step:

Step 1: being configured to the SCD file of intelligent substation reorganization and expansion device, exported according to the SCD file and changed for device The new CCD file of enlarging parses two from that will obtain original CCD file in the intelligent substation device of reorganization and expansion respectively The data structure of CCD file obtains GOOSE and receives control block and SV reception control block configuration information;

GOOSE receives control block configuration information are as follows: interior arrangement (being also the present apparatus, i.e., the device of lower dress CCD file) receives outer The relevant GOOSE configuration information of part device data;

SV receives control block configuration information are as follows: the present apparatus receives the relevant SV configuration information of external device (ED) data;

It is configured to the SCD file of intelligent substation device reorganization and expansion, specifically, the increased mounted cast letter of configuration reorganization and expansion It ceases, messaging parameter, virtual terminator between associated apparatus;

Due to the requirement of nine unified devices, all devices support configuration file and CCD file by recruiting device on FTP, therefore It can be from original CCD file will be obtained in the intelligent substation device of reorganization and expansion;

It is subscribed to by GOOSE and SV subscription information obtains GOOSE and receives control block and SV reception control block configuration information;Control block It include messaging parameter, port information and the Quadratic Imaginary circuit inside and outside address mapping relation of external device (ED) in configuration information.

Step 2: the CCD file new to intelligent substation reorganization and expansion device and original CCD file use and are based on secondary circuit Configuration information knows method for distinguishing, and GOOSE is received control block and SV receives control block configuration information according to identical external device (ED) Classify, reception GOOSE and SV the control block configuration information of the same external device (ED) forms a data set, obtains GOOSE Several original and new data set that control block configuration information presses external device (ED) classification is received with SV;

Specific steps include:

1) control block is received according to GOOSE and communicates unique identification with the SV control block for receiving control block configuration information acquisition control block Appid obtains the logical device title LDName of external device (ED) title IEDName and external device (ED), such as: appid=" IL2201ARPIT/LLN0 $ GO $ GCB1 ", the group of paths become: IEDName+LDName+ /+LLN0+ $+GO+ $+GCBName, Thus it obtains IEDName+LDName and combines entitled IL2201ARPIT;

2) control block configuration information is received according to GOOSE or SV, obtains the logical device title LDName of external device (ED), example Such as: < FCDA bType=" Dbpos " daName=" stVal " desc=" position 1G " doName=" Pos " fc=" ST " LdInst=" RPIT " lnClass=" XSWI " lnInst=" 1 " prefix=" " >, wherein ldInst is exactly logical device, is obtained Obtaining LDName is RPIT;

3) title and LDName are combined with LDName according to IEDName, obtains the IEDName of device, it will according to device name Receiving GOOSE and SV points is one group, for example, it is IL2201A that IEDName, which can be obtained, according to IL2201ARPIT and RPIT, it will be identical Device name under GOOSE receive control block and SV and receive control block configuration information and be divided into one group.

Intelligent substation reorganization and expansion device is used above, method for distinguishing is known based on secondary circuit configuration information, by GOOSE Control block is received with SV to classify according to identical external device (ED).

Step 3: cyclic redundancy check calculating being carried out to the device different data collection that step 2 obtains, by comparing original CCD text The external device (ED) of the CRC check value of part and new CCD file positioning change, detailed process include:

1) several data sets that control block configuration information presses external device (ED) classification are received to GOOSE and SV, using exchange standard generation Code sequence calculates nybble CRC-32 check code;

2) the corresponding CRC check value of identical external device (ED) in more original CCD file and new CCD file, if identical, Determining the configuration information of the external device (ED) in new CCD file, no change has taken place, if two crc values are inconsistent, it is determined that The configuration information of the external device (ED) is changed in new CCD file;

Step 4: according to the corresponding original and new data set of the external device (ED) of the change navigated to, specific modification information is analyzed, Position reorganization and expansion coverage.

Specific steps include:

1) messaging parameter is extracted from the corresponding original and new data set of the external device (ED) of change, it will be logical before and after two reorganization and expansion Letter parameter is compared, and identifies the communications parameter information of change, and messaging parameter includes control block mailing address APPID, control Block physical address MAC-Address, control block virtual LAN VLAN-ID, control block priority VLAN-PRIORITY, etc.;

2) empty circuit information is extracted from the corresponding original and new data set of the external device (ED) of change, receives ground to interior arrangement Location and external device (ED) send address and are compared, and determine that void circuit information is changed if inconsistent, such as return Road information:

< FCDA bType=" Dbpos " daName=" stVal " desc=" position 1G " doName=" Pos " fc=" ST " ldInst="RPIT" lnClass="XSWI" lnInst="1" prefix="">

<intAddr desc=" 1 disconnecting link position of bus " name=" MUGO/GOINGGIO4.DPCSO1.stVal ">

<DAI name="stVal" sAddr="45.0.1.9.2" />

</intAddr>

</FCDA>

Wherein, FCDA are as follows: Functionally Constrained Data Attribute functional restraint data attribute; BType: data type;DaName: data attribute;Desc: data description;DoName: data object;Fc:functional Constraint functional restraint;LdInst: logical device;LnClass: logic classification;LnInst: serial number;Prefix: prefix; IntAddr: home address;Desc: object factory;DAI: data attribute;

External device (ED) sends address are as follows: ldInst+/+lnClass+lnInst++ doName++ daName, It is the name in intAddr element that interior arrangement, which receives address, it can thus be concluded that external device (ED) sends address are as follows: RPIT/ XSWI1/.Pos. stVal, home address are as follows: MUGO/GOINGGIO4.DPCSO1.stVal, address is different, determines void circuit Information is changed.

For extending route, need to carry out busbar protective device to reconfigure lower dress, as long as guaranteeing bus protection CCD text In part, the crc value for receiving empty circuit to the device that put into operation does not change, and the configuration information of put into operation device and bus protection does not just have Change passes through the interval crc value before and after comparison reorganization and expansion, it will be able to ensure whether reorganization and expansion influences the route that put into operation.

The present invention is by analyzing the information content and format that CCD file includes, and data are sent in CCD file and data connect Receipts are independent control block message, and for data receiver, the reception control block configuration information of each external device (ED) forms a number According to set, control block configuration information will be received and be grouped automatically according to reception device title, group is combined into a new character string letter Breath carries out CRC calculating to each group of character string information, is believed by device secondary circuit configuration file before and after comparing reorganization and expansion Breath, analytical equipment influence circuit information, and positioning change device configuration determines the configuration information of reorganization and expansion device with running gear It does not change, for running gear, can manage, guarantee to control block configuration information is received without drive experiments Modification information does not influence the configuration information of running gear in reorganization and expansion, quickly positions reorganization and expansion coverage, whole station is avoided to stop Electricity is debugged, and debugging efficiency is improved, and is reduced debugging range, is met the application demand of secondary equipment of intelligent converting station reorganization and expansion.

It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.

The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.

These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.

These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.

The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformations can also be made, these improvement and deformations Also it should be regarded as protection scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种进线及母联备自投装置的定值整定方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!