CN115712839B - Automatic matching system and method for relay protection device communication model - Google Patents

Automatic matching system and method for relay protection device communication model Download PDF

Info

Publication number
CN115712839B
CN115712839B CN202211420943.0A CN202211420943A CN115712839B CN 115712839 B CN115712839 B CN 115712839B CN 202211420943 A CN202211420943 A CN 202211420943A CN 115712839 B CN115712839 B CN 115712839B
Authority
CN
China
Prior art keywords
file
data
model
model file
data model
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.)
Active
Application number
CN202211420943.0A
Other languages
Chinese (zh)
Other versions
CN115712839A (en
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.)
Rizhao Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
Rizhao Power Supply Co of State Grid Shandong Electric Power Co Ltd
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 Rizhao Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical Rizhao Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority to CN202211420943.0A priority Critical patent/CN115712839B/en
Publication of CN115712839A publication Critical patent/CN115712839A/en
Application granted granted Critical
Publication of CN115712839B publication Critical patent/CN115712839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Emergency Protection Circuit Devices (AREA)

Abstract

The invention relates to an automatic matching system and method for a relay protection device communication model, comprising the following steps: the data model file acquisition module is used for selecting a standard equipment data model file and an SCD file and extracting an actual equipment data model file of the relay protection device from the SCD file; the model comparison module adopts a fuzzy matching algorithm and a synonym matching algorithm, and the standard equipment data model file and the device actual model file are in one-to-one correspondence according to the data identifications of the logic equipment and the data set; the device mapping file forming module is used for forming a device mapping file after the standard equipment data model file and the device actual model file are matched, wherein the mapping file describes the data association relationship between the standard equipment data model file and the device actual model file; and the testing module is used for testing the actual device through the standard equipment data model file and the equipment model mapping file.

Description

Automatic matching system and method for relay protection device communication model
Technical Field
The invention belongs to the technical field of power systems, and relates to an automatic matching system and method for a relay protection device communication model.
Background
The relay protection device is used as an important component of the power system, and the reliability, the correctness and the sensitivity of the action of the relay protection device directly influence the safe and stable operation of the power system. With the popularization and application of smart grids in power systems, the inspection work of relay protection devices tends to be complex.
In the prior art, relay protection device inspection instrument manufacturers all push out an automatic test system for the relay protection device, and the system can realize the automatic inspection of the relay protection device.
However, because of large differences in modeling of relay protection devices of different voltages, different device types and different manufacturers, an automatic test system can only automatically test according to model pre-test templates (the test templates are a set of functional and performance test cases of the relay protection devices) of the corresponding relay protection devices. The method only transfers the time-consuming work of inspection to the pre-test template, and the problem is not fundamentally solved.
In view of the above, the invention provides an automatic matching system and method for a communication model of a relay protection device; to solve the above technical defects existing in the prior art, it is very necessary.
Disclosure of Invention
The invention aims to provide an automatic matching system and method for a relay protection device communication model, aiming at the defects in the prior art, so as to solve the technical problems.
In order to achieve the above purpose, the present invention provides the following technical solutions:
an automatic matching system of a relay protection device communication model, comprising:
the data model file acquisition module is used for selecting a standard equipment data model file and an SCD file, extracting an actual equipment data model file of the relay protection device from the SCD file, analyzing the relay protection device model from the SCD file and generating a device actual model file consistent with the standard data model file in format;
the model comparison module adopts a fuzzy matching algorithm and a synonym matching algorithm, the standard equipment data model file and the device actual model file are in one-to-one correspondence according to the logic equipment and the data identification of the data set, the algorithm matching word stock is a data model word stock, and the word stock carries out word segmentation definition on the description of the data in the device data model by each large relay protection device manufacturer;
the device mapping file forming module is used for forming a device mapping file after the standard equipment data model file and the device actual model file are matched, wherein the mapping file describes the data association relationship between the standard equipment data model file and the device actual model file;
and the testing module is used for testing the actual device through the standard equipment data model file and the device mapping file.
Preferably, the calculation formula of the fuzzy matching algorithm is as follows:
wherein x is fuzzy matching degree;
p is the number of successfully matched phrases;
xstd is the number of data word segmentation in the standard equipment data model file;
xrel is the number of data word segmentation in the actual equipment data model file;
max { n, m } is the maximum value between n and m.
Preferably, in the synonym matching algorithm, for the data which is not successfully matched according to fuzzy matching, the data which does not have any same character from the text description but has the common meaning phrase in the data is bound and associated, so that the model comparison module determines that the phrases can be communicated.
The invention also provides an automatic matching method of the relay protection device communication model, which comprises the following steps:
step S1: a step of obtaining a data model file, in which a standard equipment data model file and an SCD file are selected, an actual equipment data model file of the relay protection device is extracted from the SCD file, a relay protection device model is analyzed from the SCD file, and a device actual model file consistent with the standard data model file in format is generated;
step S2: a step of model comparison, in which a fuzzy matching algorithm and a synonym matching algorithm are adopted, standard equipment data model files and device actual model files are in one-to-one correspondence according to data identifications of logic equipment and a data set, an algorithm matching word stock is a data model word stock, and word segmentation definition is carried out on description of data in a device data model by each large relay protection device manufacturer in the word stock;
step S3: forming a device mapping file, namely forming the device mapping file after the standard equipment data model file and the device actual model file are matched, wherein the mapping file describes the data association relationship between the standard equipment data model file and the device actual model file;
step S4: and testing the actual device through the standard equipment data model file and the device mapping file.
Preferably, the fuzzy matching algorithm in the step S2 has the following calculation formula:
wherein x is fuzzy matching degree;
p is the number of successfully matched phrases;
xstd is the number of data word segmentation in the standard equipment data model file;
xrel is the number of data word segmentation in the actual equipment data model file;
max { n, m } is the maximum value between n and m.
Preferably, in the synonym matching algorithm in step S2, for the data that is not successfully matched according to fuzzy matching, the data that has no identical character from the text description but has a phrase with common meaning in the data is bound and associated, so that the model comparison module determines that the phrases can be mutually communicated.
The automatic test template for the relay protection device has the beneficial effects that the universality of the same-voltage-class automatic test templates for the same type of relay protection device is realized, the workload of developing the test templates is simplified, the overhaul work efficiency of the transformer substation is greatly improved, and the problem that the inspection of the relay protection device cannot be completed quickly due to the fact that a corresponding test template is lacking in an automatic test system for the relay protection device for the transformer substation field maintainer is solved.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
It can be seen that the present invention has outstanding substantial features and significant advances over the prior art, as well as its practical advantages.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic block diagram of an automatic matching system for a communication model of a relay protection device.
Fig. 2 is a software architecture diagram of an automatic matching system for a communication model of a relay protection device.
Fig. 3 is a flowchart of a method for automatically matching a communication model of a relay protection device.
The system comprises a 1-data model file acquisition module, a 2-model comparison module, a 3-device mapping file forming module and a 4-test module.
Detailed Description
The present invention will be described in detail below by way of specific examples with reference to the accompanying drawings, the following examples being illustrative of the present invention and the present invention is not limited to the following embodiments.
Example 1:
as shown in fig. 1 and 2, the automatic matching system for a communication model of a relay protection device provided in this embodiment includes:
the data model file acquisition module 1 is used for selecting a standard equipment data model file and an SCD file, extracting an actual equipment data model file of the relay protection device from the SCD file, analyzing the relay protection device model from the SCD file and generating a device actual model file consistent with the standard data model file in format;
the model comparison module 2 adopts a fuzzy matching algorithm and a synonym matching algorithm, the standard equipment data model file and the device actual model file are in one-to-one correspondence according to the data identifications of the logic equipment and the data set, an algorithm matching word stock is a data model word stock, and the word stock carries out word segmentation definition on the description of the data in the device data model by each large relay protection device manufacturer; the calculation formula of the fuzzy matching algorithm is as follows:
wherein x is fuzzy matching degree;
p is the number of successfully matched phrases;
xstd is the number of data word segmentation in the standard equipment data model file;
xrel is the number of data word segmentation in the actual equipment data model file;
max { n, m } is the maximum value between n and m.
In the synonym matching algorithm, for the data which are not successfully matched according to fuzzy matching, the data which do not have any identical characters from the text description but have common meaning phrases in the data are bound and associated, so that a model comparison module determines that the phrases can be communicated.
The device mapping file forming module 3 is used for forming a device mapping file after the standard equipment data model file and the device actual model file are matched, wherein the data association relationship between the standard equipment data model file and the device actual model file is described by the mapping file;
and a test module 4 for testing the actual device through the standard equipment data model file and the device mapping file.
Example 2:
as shown in fig. 3, the method for automatically matching a communication model of a relay protection device provided in this embodiment includes the following steps:
step S1: a step of obtaining a data model file, in which a standard equipment data model file and an SCD file are selected, an actual equipment data model file of the relay protection device is extracted from the SCD file, and a relay protection device model is analyzed from the SCD file and a device actual model file consistent with the standard data model file in format is generated;
step S2: a step of model comparison, in which a fuzzy matching algorithm and a synonym matching algorithm are adopted, standard equipment data model files and device actual model files are in one-to-one correspondence according to data identifications of logic equipment and a data set, an algorithm matching word stock is a data model word stock, and word segmentation definition is carried out on description of data in a device data model by each large relay protection device manufacturer in the word stock; the calculation formula of the fuzzy matching algorithm is as follows:
wherein x is fuzzy matching degree;
p is the number of successfully matched phrases;
xstd is the number of data word segmentation in the standard equipment data model file;
xrel is the number of data word segmentation in the actual equipment data model file;
max { n, m } is the maximum value between n and m.
In the synonym matching algorithm, aiming at the data which are not successfully matched according to fuzzy matching, the data which do not have any identical characters from the text description but have common meaning phrase in the data are bound and associated, so that a model comparison module determines that the phrases can be communicated.
Step S3: forming a device mapping file, namely forming the device mapping file after the standard equipment data model file and the device actual model file are matched, wherein the mapping file describes the data association relationship between the standard equipment data model file and the device actual model file;
step S4: and testing the actual device through the standard equipment data model file and the device mapping file.
The foregoing disclosure is merely illustrative of the preferred embodiments of the invention and the invention is not limited thereto, since modifications and variations may be made by those skilled in the art without departing from the principles of the invention.

Claims (2)

1. An automatic matching system for a communication model of a relay protection device is characterized by comprising the following components:
the data model file acquisition module is used for selecting a standard equipment data model file and an SCD file, extracting an actual equipment data model file of the relay protection device from the SCD file, analyzing the relay protection device model from the SCD file and generating a device actual model file consistent with the standard data model file in format;
the model comparison module adopts a fuzzy matching algorithm and a synonym matching algorithm, the standard equipment data model file and the device actual model file are in one-to-one correspondence according to the logic equipment and the data identification of the data set, the algorithm matching word stock is a data model word stock, and the word stock carries out word segmentation definition on the description of the data in the device data model by each large relay protection device manufacturer;
the device mapping file forming module is used for forming a device mapping file after the standard equipment data model file and the device actual model file are matched, wherein the mapping file describes the data association relationship between the standard equipment data model file and the device actual model file;
the testing module tests the actual device through the standard equipment data model file and the device mapping file;
the calculation formula of the fuzzy matching algorithm is as follows:
wherein x is fuzzy matching degree;
p is the number of successfully matched phrases;
xstd is the number of data word segmentation in the standard equipment data model file;
xrel is the number of data word segmentation in the actual equipment data model file;
max { n, m } is the maximum value of n and m;
in the synonym matching algorithm, for the data which are not successfully matched according to fuzzy matching, the data which do not have any identical characters from the text description but have common meaning phrases in the data are bound and associated, so that a model comparison module determines that the phrases can be communicated.
2. The automatic matching method for the communication model of the relay protection device is characterized by comprising the following steps of:
step S1: a step of obtaining a data model file, in which a standard equipment data model file and an SCD file are selected, an actual equipment data model file of the relay protection device is extracted from the SCD file, a relay protection device model is analyzed from the SCD file, and a device actual model file consistent with the standard data model file in format is generated;
step S2: a step of model comparison, in which a fuzzy matching algorithm and a synonym matching algorithm are adopted, standard equipment data model files and device actual model files are in one-to-one correspondence according to data identifications of logic equipment and a data set, an algorithm matching word stock is a data model word stock, and word segmentation definition is carried out on description of data in a device data model by each large relay protection device manufacturer in the word stock;
step S3: forming a device mapping file, namely forming the device mapping file after the standard equipment data model file and the device actual model file are matched, wherein the mapping file describes the data association relationship between the standard equipment data model file and the device actual model file;
step S4: testing the actual device through the standard equipment data model file and the device mapping file;
the calculation formula of the fuzzy matching algorithm in the step S2 is as follows:
wherein x is fuzzy matching degree;
p is the number of successfully matched phrases;
xstd is the number of data word segmentation in the standard equipment data model file;
xrel is the number of data word segmentation in the actual equipment data model file;
max { n, m } is the maximum value of n and m;
in the synonym matching algorithm in the step S2, for the data which are not successfully matched according to fuzzy matching, binding and associating are carried out on the data which do not have any identical characters from the text description but have the common meaning phrase in the data, so that the model comparison module determines that the phrase can be communicated.
CN202211420943.0A 2022-11-14 2022-11-14 Automatic matching system and method for relay protection device communication model Active CN115712839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211420943.0A CN115712839B (en) 2022-11-14 2022-11-14 Automatic matching system and method for relay protection device communication model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211420943.0A CN115712839B (en) 2022-11-14 2022-11-14 Automatic matching system and method for relay protection device communication model

Publications (2)

Publication Number Publication Date
CN115712839A CN115712839A (en) 2023-02-24
CN115712839B true CN115712839B (en) 2023-10-24

Family

ID=85233083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211420943.0A Active CN115712839B (en) 2022-11-14 2022-11-14 Automatic matching system and method for relay protection device communication model

Country Status (1)

Country Link
CN (1) CN115712839B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105866567A (en) * 2016-03-24 2016-08-17 南京能云电力科技有限公司 Automatic testing system for relay protection device based on base template technology
WO2020233256A1 (en) * 2019-07-12 2020-11-26 之江实验室 General medical termbase-based multi-center medical terminology standardization system
CN113282955A (en) * 2021-06-01 2021-08-20 上海交通大学 Method, system, terminal and medium for extracting privacy information in privacy policy

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041746B2 (en) * 2007-10-30 2011-10-18 Sap Ag Mapping schemas using a naming rule

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105866567A (en) * 2016-03-24 2016-08-17 南京能云电力科技有限公司 Automatic testing system for relay protection device based on base template technology
WO2020233256A1 (en) * 2019-07-12 2020-11-26 之江实验室 General medical termbase-based multi-center medical terminology standardization system
CN113282955A (en) * 2021-06-01 2021-08-20 上海交通大学 Method, system, terminal and medium for extracting privacy information in privacy policy

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Space reduction using string and synonym matching algorithm;P Ghost, et al;《IEEE Access》;1-6 *
继电保护整定系统的开发与研究;牟锐;《东北电力大学学报》;1-10 *

Also Published As

Publication number Publication date
CN115712839A (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN109376353B (en) Natural language processing-based power grid starting operation ticket generation device and method
CN102331967B (en) Method for managing chip verification test cases
CN103529377B (en) The Auto-Test System of intelligent transformer substation digital protection device and method
CN110765639A (en) Electrical simulation modeling method and device and readable storage medium
CN110401692A (en) A kind of automatic Acceptance Test System of supervisory control of substation information integral and method
CN117421217A (en) Automatic software function test method, system, terminal and medium
CN115712839B (en) Automatic matching system and method for relay protection device communication model
CN117439264A (en) Automatic acceptance checking system for monitoring information of substation of dispatching master station
CN103217597A (en) Construction method of general test template of digital relay protective device
CN115794639B (en) Visual test based on flow and visual simulation test system and method
CN111176995A (en) Test method and test system based on big data test case
CN111596647B (en) Efficient and intelligent test system and method for wind turbine generator
CN112988120B (en) Satellite telemetering downlink scheduling parameter dynamic online binding method and system for Ada language
CN109471637A (en) The examination script debugging method of circuit diagram
CN113468301A (en) Automatic generation method and system of integrated circuit test scheme
CN109639520B (en) Computer-aided test method for network communication of reactor protection system
CN105912380A (en) Method for converting EDIF netlist file to Protel netlist file
CN112396399A (en) Distribution network operation ticket simulation method based on natural language processing technology
CN110070189B (en) Intelligent substation protection system safety measure checking method
CN111274355A (en) Lucene-based main plant station remote signaling signal automatic comparison method
CN112306767A (en) Automatic testing method for chip signal connection relation
CN109635480A (en) A kind of control logic verifying and adjustment method based on graphics software
CN107506448A (en) A kind of method and system of intelligent grid time scale measurement data interchange format
CN107576926A (en) A kind of method for generating simulation ammeter returned data
Minghao et al. A Big Data analysis based new method for power grid dispatch and control training simulation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant