CN115687258A - Method, system and medium for detecting model file of traction power supply system - Google Patents

Method, system and medium for detecting model file of traction power supply system Download PDF

Info

Publication number
CN115687258A
CN115687258A CN202211434143.4A CN202211434143A CN115687258A CN 115687258 A CN115687258 A CN 115687258A CN 202211434143 A CN202211434143 A CN 202211434143A CN 115687258 A CN115687258 A CN 115687258A
Authority
CN
China
Prior art keywords
file
configuration file
power supply
supply system
traction power
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
CN202211434143.4A
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.)
Chengdu Southwest Jiaotong University Xuji Electric Co ltd
Original Assignee
Chengdu Southwest Jiaotong University Xuji Electric 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 Chengdu Southwest Jiaotong University Xuji Electric Co ltd filed Critical Chengdu Southwest Jiaotong University Xuji Electric Co ltd
Priority to CN202211434143.4A priority Critical patent/CN115687258A/en
Publication of CN115687258A publication Critical patent/CN115687258A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method, a system and a medium for detecting model files of a traction power supply system, relates to the field of traction power supply of electrified railways, solves the problem that the conventional traction power supply system is lack of an icd model file detection method, and has the technical scheme that: analyzing a traction power supply system standard model to obtain standard information; according to the specification information, establishing a configuration file, wherein the configuration file comprises: a data set configuration file, a data set content configuration file, a logic node configuration file and a logic node data object configuration file; obtaining an icd model file to be detected, and comparing the configuration file with the icd model file to be detected to obtain a detection result; according to the method, the configuration file is established through the standard model of the traction power supply system IEC61850, the configuration file is compared with the icd model file to be detected, the detection result is output, and the rapid detection of the IEC61850icd model file of the traction power supply system is realized.

Description

Method, system and medium for detecting model file of traction power supply system
Technical Field
The invention relates to the field of traction power supply of electrified railways, in particular to a method, a system and a medium for detecting a model file of a traction power supply system.
Background
With the wide application of the IEC61850 communication technology in the traction power supply system of the electrified railway, a series of related standards are developed in the traction power supply field in recent years, the standards strictly require the modeling of the bay level device of the traction substation, and the icd model file of the device is required to meet the specification so as to realize the interchangeability of the bay level protection measurement and control device. However, the icd model file of the device has many items and complicated content, and missing items and wrong items are very easily caused by manual inspection.
At present, the rapid detection of a model is realized in an electric power system, but the electric power system is different from a traction power supply system, and great difference exists in both project requirements and specific data contents, so that the model detection method of the electric power system cannot be directly applied to the traction power supply system; therefore, a method for detecting model files of a traction power supply system is urgently needed, so that accurate and rapid inspection of the icd model files is realized, interchangeability of a bay level protection measurement and control device is ensured, and reliable operation of an electrified railway is guaranteed.
Disclosure of Invention
The method, the system and the medium for detecting the model files of the traction power supply system are used for establishing the configuration files through the standard model of the traction power supply system IEC61850, comparing the configuration files with the icd model files to be detected and outputting the detection result, so that the rapid detection of the IEC61850icd model files of the traction power supply system is realized.
The technical purpose of the application is realized by the following technical scheme: comprises that
Analyzing a standard model of the traction power supply system to obtain standard information;
according to the specification information, establishing a configuration file, wherein the configuration file comprises: a data set configuration file, a data set content configuration file, a logic node configuration file and a logic node data object configuration file;
and obtaining an icd model file to be detected, and comparing the configuration file with the icd model file to be detected to obtain a detection result.
By adopting the technical scheme, the configuration file is established through the standard model of the traction power supply system IEC61850, the data set content, the logic nodes and the logic node data objects in the icd model file to be detected are quickly and accurately detected through the configuration file, the detection result is output, and the method is suitable for quickly detecting the IEC61850icd model file of the traction power supply system.
Further, according to the specification information, a configuration file is established, which includes:
extracting English names and Chinese descriptions of the data sets from the specification information, and writing the English names and the Chinese descriptions of the data sets into an ini format file through a data set configuration grammar to form a data set configuration file;
extracting each data item of each data set from the specification information, analyzing the Chinese description and the reference of the data item, and writing the Chinese description of the data set, the Chinese description of the data item and the reference into an ini format file through a data set content configuration grammar to form a data set content configuration file;
extracting each logic node from the specification information, analyzing a device type code, an LD name and an lnClass serial number corresponding to each logic node, and writing the device type code, the LD name and the lnClass serial number of the logic node into an ini format file through a logic node configuration grammar to form a logic node configuration file;
and extracting the definition of each logic node from the specification information, and writing the definition of the logic node into an xml format file through a logic node data object configuration grammar to form a logic node data object configuration file.
Further, the data set configuration syntax includes: english names and Chinese descriptions of the data sets are written in sequence, the English names and the Chinese descriptions of the data sets are separated by a space, and one data set occupies one text line.
Further, the data set content configuration syntax includes: and sequentially writing the Chinese description of the data set, the Chinese description of the data item and the reference of the data item, wherein the Chinese description of the data set, the Chinese description of the data item and the reference of the data item are separated by a space.
Further, the logical node configuration syntax includes: and for one logic node, writing a device type code, an LD name and an lnClass serial number corresponding to the logic node, wherein each logic node occupies one text line.
Further, comparing the configuration file with the icd model file to be tested to obtain a test result, including: and searching a corresponding item in the icd model file to be detected through the configuration file, and if the corresponding item is searched, performing full-word matching on the configuration file and the corresponding item to obtain a detection result.
Further, the detection result includes: item type, whether an item exists, number of times an item appears, items that do not match the configuration file, items that exceed the configuration file.
Further, comparing the data set configuration file and the data set content configuration file with the icd model file to be detected to generate a data set detection result;
comparing the logic node configuration file with the icd model file to be detected to generate a logic node detection result;
and comparing the logic node data object configuration file with the icd model file to be detected to generate a logic node content item detection result.
In a second aspect of the present application, a system for detecting model files of a traction power supply system is provided, which includes: a processor and a machine-readable storage medium having stored therein machine-executable instructions that are loaded and executed by the processor to implement the traction power system model file detection method described above.
In a third aspect of the present application, a computer-readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the above-mentioned traction power supply system model file detection method.
Compared with the prior art, the method has the following beneficial effects: the invention provides a method, a system and a medium for detecting model files of a traction power supply system, wherein configuration files are established through a standard model of the traction power supply system IEC61850, data sets, data set contents, logic nodes and logic node data objects in an icd model file to be detected are quickly and accurately detected through the configuration files, and a detection result is output.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
fig. 1 is a flowchart of a method for detecting a model file of a traction power supply system according to an embodiment of the present invention;
FIG. 2 is a flow chart of data set detection provided by an embodiment of the present invention;
fig. 3 is a flowchart of logical node and logical node data object detection according to an embodiment of the present invention.
Detailed Description
Hereinafter, the terms "includes" or "may include" used in various embodiments of the present application indicate the presence of the claimed function, operation, or element, and do not limit the addition of one or more functions, operations, or elements. Furthermore, as used in various embodiments of the present application, the terms "comprising," "having," and their derivatives, are intended to be inclusive and mean only that a particular feature, number, step, operation, element, component, or combination of the foregoing is meant, and should not be construed as first excluding the presence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
In various embodiments of the present application, the expression "or" at least one of B or/and C "includes any or all combinations of the words listed simultaneously. For example, the expression "B or C" or "at least one of B or/and C" may include B, may include C, or may include both B and C.
Expressions (such as "first", "second", and the like) used in various embodiments of the present application may modify various constituent elements in the various embodiments, but may not limit the respective constituent elements. For example, the above description does not limit the order and/or importance of the elements described. The foregoing description is for the purpose of distinguishing one element from another. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of various embodiments of the present application.
It should be noted that: if it is described that one constituent element is "connected" to or "connected" with another constituent element, the first constituent element may be directly connected to the second constituent element, and the third constituent element may be "connected" between the first constituent element and the second constituent element. In contrast, when one constituent element is "directly connected" to or with another constituent element, it is understood that there is no third constituent element between the first constituent element and the second constituent element.
The terminology used in the various embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the various embodiments of the present application. As used herein, the singular forms are intended to include the plural forms as well, unless the context clearly indicates otherwise. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of the present application belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments.
To make the purpose, technical solution and advantages of the present application more apparent, the present application is further described in detail below with reference to examples and drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present application and are not used as limitations of the present application.
Example 1
According to the method, the configuration file is established through the IEC61850 standard model of the traction power supply system, the configuration file is compared with the icd model file to be detected, the detection result is output, whether the icd model file meets the standard or not is detected based on the standard requirement of the traction power supply system, and the method is suitable for rapid detection of the IEC61850icd model file of the traction power supply system.
Referring to fig. 1, fig. 1 is a flowchart of a method for detecting a model file of a traction power supply system, where the method includes:
s1, analyzing a standard model of a traction power supply system to obtain standard information;
s2, establishing a configuration file according to the specification information, wherein the configuration file comprises: a data set configuration file, a data set content configuration file, a logic node configuration file and a logic node data object configuration file;
and S3, obtaining an icd model file to be detected, and comparing the configuration file with the icd model file to be detected to obtain a detection result.
Specifically, in step S1, the specification model of the traction power supply system is an icd model file strictly meeting the specification, and the specification information is analyzed from the icd model file strictly meeting the specification, that is, the specification information is analyzed from the IED node and DataTypeTemplates node of the icd model file strictly meeting the specification:
a data set description file comprising: english name and Chinese description of the data set;
a data set content file comprising: chinese description and corresponding reference of each data item in the data set;
a logical node file comprising: a description of all logical nodes under all logical devices, an LNodeType definition of a logical node, and a data object DO definition of a logical node.
In step S2, according to the specification information, a configuration file is established, including:
extracting English names and Chinese descriptions of the data sets from the specification information, and writing the English names and the Chinese descriptions of the data sets into an ini format file through a data set configuration grammar to form a data set configuration file; the dataset configuration grammar comprising: english names and Chinese descriptions of the data sets are written in sequence, the English names and the Chinese descriptions of the data sets are separated by a space, and one data set occupies one text line. Specifically, the english name and the corresponding chinese description of each data set are extracted from the specification information, according to: when writing the description in the English name dataset into the DATASET. Ini file, the filling of one dataset must occupy one text line.
Extracting each data item of each data set from the specification information, analyzing the Chinese description and reference of the data item, and writing the Chinese description of the data set, the Chinese description of the data item and the reference into an ini format file through a data set content configuration grammar to form a data set content configuration file; the data set content configuration grammar comprising: and sequentially writing the Chinese description of the data set, the Chinese description of the data item and the reference of the data item, wherein the Chinese description of the data set, the Chinese description of the data item and the reference of the data item are separated by a space. Specifically, the chinese descriptions of the data sets, the chinese descriptions of the data items, and the corresponding references are extracted from the specification information according to: the 'reference of the Chinese description data item of the data set' is written into a dev.
Extracting each logic node from the specification information, analyzing a device type code, an LD name and an lnClass sequence number corresponding to each logic node, and writing the device type code, the LD name and the lnClass sequence number to which the logic node belongs into an ini format file through a logic node configuration grammar to form a logic node configuration file; a logical node configuration syntax comprising: and for one logic node, writing a device type code, an LD name and an lnClass serial number corresponding to the logic node, wherein each logic node occupies one text line. Specifically, a device type code, an LD name, and an lnClass sequence number corresponding to the logical node are extracted from the specification information, and written in an lnodetype ini file according to "CR _ device type code _ LD name _ lnClass sequence number", for example:
if the device type code of a certain logical node is GD, LD name is GL, lnClass serial number is LLN0, the logical node is written as: LNodeType1= CR _ GD _ GL _ LLN0; for another example:
if the device type code of a certain logical node is GD, LD name is GL, lnClass serial number is LPHD, then the logical node writes: LNodeType2= CR _ GD _ GL _ LPHD, each logical node occupying a separate row.
And extracting the definition of each logic node from the specification information, and writing the definition of the logic node into an xml format file through a logic node data object configuration grammar to form a logic node data object configuration file. Specifically, the logical node data object configuration syntax is:
<LNodeTypelnClass="LPHD"id="CR_GD_GL_LPHD">
<DOname="PhyNam"cdc="DPL"mop="M"/>
<DOname="PhyHealth"cdc="INS"mop="M"/>
<DOname="Proxy"cdc="SPS"mop="M"/>
</LNodeType>
and filling the definition of each newly added logic node in the following sequence, and writing the definition into an LNodeTypeALL.
In step S3, comparing the configuration file with the icd model file to be tested to obtain a test result, including:
and searching a corresponding item in the icd model file to be detected through the configuration file, and if the corresponding item is searched, performing full-word matching on the configuration file and the corresponding item to obtain a detection result. The detection result comprises: item type, whether an item exists, number of times an item appears, items that do not match the profile, items that exceed the profile.
Specifically, after comparing the data set configuration file and the data set content configuration file with an icd model file to be detected, generating a data set detection result; comparing the logic node configuration file with an icd model file to be detected to generate a logic node detection result; and comparing the logical node data object configuration file with an icd model file to be detected, and generating a logical node content item detection result.
Referring to fig. 2, fig. 2 is a flow chart of data set detection, including:
and searching corresponding items in the icd model file to be detected through the data set configuration file, wherein the corresponding items are data set description files containing English names and Chinese descriptions of the data sets, performing full-word matching through the data set configuration file and the data set description files, recording error results if data are found to be wrong during full-word matching, and generating data set detection results until all items are detected.
Referring to fig. 3, fig. 3 is a flowchart of logical node and logical node data object detection, including:
searching a corresponding item in an icd model file to be detected through a logic node configuration file and a logic node data object configuration file, wherein the corresponding item is a logic node file which comprises descriptions of all logic nodes under all logic devices, LNodeType definitions of the logic nodes and data object DO definitions of the logic nodes, carrying out full-word matching on the logic node configuration file and the logic node file, confirming whether names and the number of the logic nodes LN are wrong or not, recording if the names and the number of the logic nodes LN are wrong, carrying out full-word matching on the logic node data object configuration file and the logic node file, confirming whether DO, CDC, M and O of the logic nodes LN are wrong or not, and recording if the names and the number of the logic nodes LN are wrong until the logic node file is detected completely, and generating an edit node detection result and a logic node content item detection result.
The present embodiment further provides a system for detecting model files of a traction power supply system, where the system for detecting model files of a traction power supply system includes: a processor and a machine-readable storage medium having stored therein machine-executable instructions that are loaded and executed by the processor to implement the traction power system model file detection method described above.
The present embodiment also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned method for detecting a model file of a traction power supply system.
The invention provides a method, a system and a medium for detecting model files of a traction power supply system, aiming at IEC61850icd model files of the traction power supply system, and quickly and accurately detecting data sets, data set contents, logic nodes and logic node data objects in the icd model files.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for detecting a model file of a traction power supply system is characterized by comprising the following steps: comprises that
Analyzing a standard model of the traction power supply system to obtain standard information;
according to the specification information, establishing a configuration file, wherein the configuration file comprises: a data set configuration file, a data set content configuration file, a logic node configuration file and a logic node data object configuration file;
and obtaining an icd model file to be detected, and comparing the configuration file with the icd model file to be detected to obtain a detection result.
2. The method for detecting the model file of the traction power supply system as claimed in claim 1, wherein the method comprises the following steps: according to the specification information, establishing a configuration file, including:
extracting English names and Chinese descriptions of the data sets from the specification information, and writing the English names and the Chinese descriptions of the data sets into an ini format file through a data set configuration grammar to form a data set configuration file;
extracting each data item of each data set from the specification information, analyzing the Chinese description and the reference of the data item, and writing the Chinese description of the data set, the Chinese description of the data item and the reference into an ini format file through a data set content configuration grammar to form a data set content configuration file;
extracting each logic node from the specification information, analyzing a device type code, an LD name and an lnClass serial number corresponding to each logic node, and writing the device type code, the LD name and the lnClass serial number of the logic node into an ini format file through a logic node configuration grammar to form a logic node configuration file;
and extracting the definition of each logic node from the specification information, and writing the definition of the logic node into an xml format file through a logic node data object configuration grammar to form a logic node data object configuration file.
3. The method for detecting the model file of the traction power supply system as claimed in claim 2, wherein the method comprises the following steps: the dataset configuration grammar comprising: english names and Chinese descriptions of the data sets are written in sequence, the English names and the Chinese descriptions of the data sets are separated by a space, and one data set occupies one text line.
4. The method for detecting the model file of the traction power supply system as claimed in claim 2, wherein the method comprises the following steps: the data set content configuration grammar includes: writing the Chinese description of the data set, the Chinese description of the data item and the reference of the data item in sequence, wherein the Chinese description of the data set, the Chinese description of the data item and the reference of the data item are separated by a space.
5. The method for detecting the model file of the traction power supply system as claimed in claim 2, wherein the method comprises the following steps: a logical node configuration syntax comprising: and for a logic node, writing a device type code, an LD name and an lnClass sequence number corresponding to the logic node, wherein each logic node occupies a text line.
6. The method for detecting the model file of the traction power supply system as claimed in claim 1, wherein the method comprises the following steps: comparing the configuration file with the icd model file to be detected to obtain a detection result, wherein the detection result comprises the following steps:
and searching a corresponding item in the icd model file to be detected through the configuration file, and if the corresponding item is searched, performing full-word matching on the configuration file and the corresponding item to obtain a detection result.
7. The method for detecting the model file of the traction power supply system as claimed in claim 6, wherein the method comprises the following steps: the detection result comprises: item type, whether an item exists, number of times an item appears, items that do not match the configuration file, items that exceed the configuration file.
8. The method for detecting the model file of the traction power supply system as claimed in claim 7, wherein the method comprises the following steps: comparing the data set configuration file and the data set content configuration file with the icd model file to be detected to generate a data set detection result;
comparing the logic node configuration file with the icd model file to be detected to generate a logic node detection result;
and comparing the logic node data object configuration file with the icd model file to be detected to generate a logic node content item detection result.
9. A traction power supply system model file detection system, characterized in that the traction power supply system model file detection system comprises a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions, and the machine-executable instructions are loaded and executed by the processor to realize the traction power supply system model file detection method according to any one of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the method for detecting a model file of a traction power supply system according to any one of claims 1 to 8.
CN202211434143.4A 2022-11-16 2022-11-16 Method, system and medium for detecting model file of traction power supply system Pending CN115687258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211434143.4A CN115687258A (en) 2022-11-16 2022-11-16 Method, system and medium for detecting model file of traction power supply system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211434143.4A CN115687258A (en) 2022-11-16 2022-11-16 Method, system and medium for detecting model file of traction power supply system

Publications (1)

Publication Number Publication Date
CN115687258A true CN115687258A (en) 2023-02-03

Family

ID=85054793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211434143.4A Pending CN115687258A (en) 2022-11-16 2022-11-16 Method, system and medium for detecting model file of traction power supply system

Country Status (1)

Country Link
CN (1) CN115687258A (en)

Similar Documents

Publication Publication Date Title
CN106502896B (en) A kind of generation method and device of function test code
CN102289407B (en) Method for automatically testing document format conversion
CN107168762B (en) Body-based RUCM (robust object model) consistency checking method
CN108563629B (en) Automatic log analysis rule generation method and device
US20130290933A1 (en) Translation verification testing
CN103761189A (en) Test case management method and system
CN104615544A (en) Problem-oriented GUI software correlation function analysis method and device
CN109710518A (en) Script checking method and device
CN115757483A (en) Automatic testing method and device, electronic equipment and storage medium
CN115563303A (en) Intelligent substation secondary virtual loop functionality verification method and system
CN103235757B (en) Several apparatus and method that input domain tested object is tested are made based on robotization
US10268754B2 (en) Full text indexing in a database system
CN118245050A (en) Front end frame assembly automatic conversion method, system, electronic device and storage medium
CN113987815A (en) Method and system for checking converter station model
CN115687258A (en) Method, system and medium for detecting model file of traction power supply system
CN104461890A (en) Qt program memory using static test method for air traffic control training system
CN109471637B (en) Circuit diagram examination script debugging method
CN107506339B (en) Character offset-based SCD node verification error positioning method and device
CN107015955B (en) Document editing method and device
CN109144563A (en) Application component constructs packaging method, device and computer storage medium
CN114528218A (en) Test program generation method, test program generation device, storage medium, and electronic device
CN114461193A (en) Method, device, equipment and storage medium for generating communication protocol code
CN110852077B (en) Method, device, medium and electronic equipment for dynamically adjusting Word2Vec model dictionary
CN106909511A (en) A kind of automated testing method based on RedwoodHQ
CN114327614A (en) Method and application for recording and analyzing data flow of reference model

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