A SCD file communication parameter and port verification method and system
By extracting and verifying the configuration information of the SCD file in the smart substation, the problem of configuration inaccuracy in the existing technology is solved, and the stable operation and safety improvement of the smart substation are achieved.
Patent Information
- Application Number
- CN202310019145.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-01-06
AI Technical Summary
The existing technology lacks standards for smart substation SCD file communication parameters and port verification, resulting in configuration inaccuracies and omissions or misjudgments in manual review, affecting the stable operation of the substation.
By extracting the IED device configuration information from the smart substation SCD file, set MMS configuration rules, GOOSE block configuration rules and process layer switch port verification rules, and perform matching verification to ensure configuration consistency.
It achieves the accurate identification of the IP address, MAC address and other attributes of the IED in the SCD file, improves the accuracy of the verification and the stability of the configuration, and enhances the safe operation reliability of the substation.
Smart Images

Figure CN116132291B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of intelligent substation operation and maintenance, and relates to a SCD file communication parameter and port verification method and system. Background Art
[0002] With the vigorous promotion of smart substation construction, the configuration of related IEDs is completely dependent on the correctness of SCD (Substation Configuration Description) file configuration and manual debugging. However, the current smart substation SCD file configuration is manually made by each system integrator, and the same is true for communication parameters and port configuration. The correctness of IED IP and network division is determined by communication parameters, and the correctness of switch configuration is determined by port configuration.
[0003] The SCD file communication parameters and port verification method can accurately determine the station control layer network and process layer network divided by the IED device in the SCD file, and detect the MMS configuration and GOOSE block configuration of the device; it can also detect the configuration between the process layer switch and each IED in the SCD file.
[0004] At present, there is no relevant verification standard for the communication parameters and port verification of SCD files, which can not guarantee the accuracy of the communication parameters and port verification in SCD files, avoid omissions or misjudgments in manual review, and realize intelligent verification to ensure the stable operation of substations. Summary of the invention
[0005] In order to solve the deficiencies in the prior art, the present invention provides a method and system for verifying SCD file communication parameters and ports to strengthen the management and control of on-site configuration consistency.
[0006] The present invention adopts the following technical solution.
[0007] A method for verifying SCD file communication parameters and ports, comprising the following steps:
[0008] Step 1: Extract the valid configuration information of each IED device from the SCD file of the smart substation, including the station control layer network, process layer network and its communication parameters where the IED is located, and the valid configuration information in the process layer switch;
[0009] Step 2: Set the MMS configuration rules and the station control layer network division rules, the GOOSE block configuration rules and the process layer network division rules and the process layer switch port verification rules;
[0010] Step 3: Match and verify the station control layer network where the IED is located and its communication parameters with the MMS configuration rules and the station control layer network division rules;
[0011] Step 4: Match and verify the process layer network where the IED is located and its communication parameters with the GOOSE block configuration rules and the process layer network division rules;
[0012] Step 5: Match and verify the valid configuration information in the process layer switch with the process layer switch port verification rules.
[0013] Preferably, in step 1, the station control layer network, process layer network and network communication parameters where the IED is located, and valid configuration information in the process layer switch are extracted from the SCD file of the smart substation according to the name of each IED device;
[0014] The communication parameters include: IED type, bay type, voltage level, IED number, IP address and GOOSE block information.
[0015] Preferably, in step 2, the MMS configuration rules are as follows:
[0016] (1) The IP address is unique throughout the site and ranges from 0.0.0.0 to 255.255.255.255;
[0017] (2) The gateway address is set to 0.0.0.0;
[0018] (3) When the IP address adopts the standard Class C address, use the 192.168.YN address format and set the subnet mask to 255.255.255.0;
[0019] When the IP address adopts the standard Class B address, the address format is 172.YXN, and the subnet mask is 255.255.0.0;
[0020] (4) The "Y" field of the IP address follows the A, B, C and switch networks, ranging from 16 to 31. Network A uses "16"; Network B uses "17"; Network C1 uses "21"; Network C2 uses "22" or "20"; Network C3 uses "18", "19", "23" or "30";
[0021] (5) The field "X" of the IP address is defined as the voltage level, 50 for 500 kV, 33 for 330 kV, 22 for 220 kV, 11 for 110 kV, 66 for 66 kV, 35 for 35 kV, 10 for 10 kV, and 99 for public equipment;
[0022] (6) The fourth field of the IP address cannot use specially defined numbers.
[0023] Preferably, in step 2, the station control layer network division rules are as follows:
[0024] The station control layer network is divided into five categories: station control layer A network, station control layer B network, station control layer C1 network, station control layer C2 network, and station control layer C3 network;
[0025] Among them, A and B networks are monitoring networks, C1 network is a protection substation network, C2 network is an intelligent recorder acquisition unit network, and C3 network is a switch network.
[0026] Preferably, in the field "Y" of the IP address, "18" is the A network switch, "19" is the B network switch, "23" is the C network switch, and "30" is a single network switch, all of which are C3 networks.
[0027] Preferably, in step 2, the GOOSE block configuration rules include:
[0028] (1) The VLAN-ID configuration should be a 3-digit hexadecimal value ranging from 0x000 to 0xFFF. If VLANs are not divided, it is uniformly set to "000";
[0029] (2) APPID configuration should be a 4-bit hexadecimal value ranging from 0x0000 to 0x3FFF;
[0030] (3) The values of MinTime and MaxTime in GSE configuration are 2ms and 5000ms;
[0031] (4) MAC-Address value range 01-0C-CD-01-00-00 to 01-0C-CD-01-3F-FF;
[0032] (5) VLAN priorities are divided into 8 levels from 0 to 7;
[0033] (6) GOID, APPID, and MAC-Address parameters are unique;
[0034] (7) The last four bytes of APPID and MAC-Address are consistent.
[0035] Preferably, in Vlan priority, 0 is the lowest priority and 7 is the highest priority, which is set to 7 in the GSE configuration.
[0036] Preferably, the process layer network division rule is:
[0037] First, the different process layer networks are divided according to the voltage level. The redundant multi-networks are represented by A1, A2, B1, B2, C1, and C2. Then, the process layer networks are further divided according to the IED type, bay type, voltage level, and IED number in the extracted configuration file.
[0038] Preferably, in step 2, the rules for checking the process layer switch port include:
[0039] (1) Cable name identification rules: The Cable name is defined as: IEDNAME: port number_IEDNAME: port number. One of the two IEDNAMEs is definitely a switch. The name format must comply with the standard name definition.
[0040] (2) According to the voltage level in the switch IEDNAME and the process layer network where the switch is located, the voltage level of the switch described by the cable is compared with that of the opposite device for consistency;
[0041] (3) The port type on the device side is LC;
[0042] (4) Identify switch attributes based on IED name;
[0043] (5) Devices in the process layer network, except for the main transformer protection and main transformer recording devices, which can have multiple connections with the switch, other protection and intelligent terminals are connected to the switch with only two optical fiber links;
[0044] (6) According to the Cable name defined in the switch configuration, analyze the IEDs and port numbers on both sides, and find the Cable name in the port of the opposite device. The cable numbers on both sides must be consistent.
[0045] Preferably, the switch attributes include whether it is a central switch, switch network, switch voltage level, etc.;
[0046] The central switch is only used for switch cascading, fault record collection and connection with public equipment.
[0047] Preferably, in step 3 to step 5, if the result is consistent with the rule, a correct result is output; if the result is inconsistent with the rule, an incorrect result is output.
[0048] An SCD file communication parameter and port verification system, comprising:
[0049] The information extraction module is used to extract the effective configuration information of each IED device from the SCD file of the smart substation, including the station control layer network, process layer network and its communication parameters where the IED is located, and the effective configuration information in the process layer switch;
[0050] The rule setting module is used to set the MMS configuration rules and the station control layer network division rules, the GOOSE block configuration rules and the process layer network division rules and the process layer switch port verification rules;
[0051] The verification module is used to match and verify the station control layer network where the IED is located and its communication parameters with the MMS configuration rules and the station control layer network division rules; match and verify the process layer network where the IED is located and its communication parameters with the GOOSE block configuration rules and the process layer network division rules; match and verify the valid configuration information in the process layer switch with the process layer switch port verification rules.
[0052] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions;
[0053] The processor is configured to operate according to the instructions to execute the steps of the method.
[0054] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.
[0055] The beneficial effects of the present invention are as follows:
[0056] The present invention provides a method for verifying the standardization of a model file in an SCD file, which can effectively realize the accuracy and rationality judgment of the IP address, MAC address, subnet mask and other attributes of each IED in the SCD file of the smart substation, and the port configuration in the SCD file directly affects the configuration file of the process layer switch. The communication parameter verification and port verification avoid the tediousness and errors of manual verification, and improve the accuracy of verification under the premise of convenience and speed. It can strengthen the management and control of the configuration of the SCD file of the smart substation and improve the reliability of the safe operation of the substation. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 The present invention is a flow chart of a SCD file communication parameter and port verification method. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0059] like Figure 1 As shown, Example 1 of the present invention provides a method for verifying SCD file communication parameters and ports. In a preferred but non-limiting embodiment of the present invention, the method includes:
[0060] Step 1: Extract the valid configuration information of each IED device from the SCD file of the smart substation, including the station control layer network, process layer network and its communication parameters where the IED is located, and the valid configuration information in the process layer switch;
[0061] Further preferably, the station control layer network, process layer network and network communication parameters where the IED is located, and the valid configuration information in the process layer switch are extracted from the SCD file of the smart substation according to the name of each IED device; wherein the valid configuration information in the process layer switch specifically includes the parameter information required in the rules (1)-(6) of the process layer switch port verification later.
[0062] The communication parameters include: IED type, bay type, voltage level, IED number, IP address and GOOSE block information. The GOOSE block information specifically includes the parameter information required in the GOOSE block configuration rules (1)-(7) below.
[0063] Step 2: Set the MMS configuration rules and the station control layer network division rules, the GOOSE block configuration rules and the process layer network division rules and the process layer switch port verification rules;
[0064] 1. Set a MMS configuration rule and station control layer network division rule in the SCD configuration file of the smart substation:
[0065] 1. MMS configuration rules include:
[0066] (1) The IP address should be unique throughout the site, ranging from 0.0.0.0 to 255.255.255.255;
[0067] (2) The gateway address is set to 0.0.0.0.
[0068] (3) When the IP address adopts the standard Class C address, the address format is 192.168.YN, and the subnet mask is set to 255.255.255.0; when the IP address adopts the standard Class B address, the address format is 172.YXN, and the subnet mask is 255.255.0.0;
[0069] (4) The "Y" field of the IP address follows the A, B, C and switch networks, and the range is 16 to 31. Network A uses "16"; network B uses "17"; network C1 uses "21"; network C2 uses "22"; and single network uses "20".
[0070] The other network segments cannot be repeated when setting;
[0071] (5) The field "X" of the IP address is defined as the voltage level, 50 for 500 kV, 33 for 330 kV, 22 for 220 kV, 11 for 110 kV, 66 for 66 kV, 35 for 35 kV, 10 for 10 kV, and 99 for public equipment;
[0072] (6) The fourth field of the IP address cannot use specially defined numbers such as 1 and 255;
[0073] 2. The network division rules of the station control layer include:
[0074] SubNetwork_Stationbus_A monitors network A
[0075] SubNetwork_Stationbus_B monitors network B
[0076] SubNetwork_Stationbus_C1 protection substation network
[0077] SubNetwork_Stationbus_C2 Intelligent Recorder Collection Unit Network
[0078] SubNetwork_Stationbus_C3 Switch Network
[0079] 3. Based on the MMS configuration rules and the station control layer network division rules, each IED can be divided into each station control layer network according to the IP address in the effective configuration information of the IED device. Specifically:
[0080] According to the IP address format in the MMS configuration rules, if the "Y" field is "16", it is divided into network A, if it is "17", it is divided into network B, if it is "21", it is divided into network C1, if it is "22" or "20", it is divided into network C2, and if it is "18", "19", "23" or "30", it is divided into network C3.
[0081] "18" is the switch of network A, "19" is the switch of network B, "23" is the switch of network C, and "30" is a single network switch, all of which are assigned to network C3.
[0082] 2. Set a GOOSE block configuration rule and process layer network division rule in the SCD configuration file of the smart substation;
[0083] 1. GOOSE block configuration rules include:
[0084] (1) The VLAN ID configuration should be a 3-digit hexadecimal value ranging from 0x000 to 0xFFF. If VLANs are not divided, it is uniformly set to "000";
[0085] (2) APPID configuration should be a 4-bit hexadecimal value ranging from 0x0000 to 0x3FFF;
[0086] (3) The values of MinTime and MaxTime in GSE configuration are 2ms and 5000ms;
[0087] (4) MAC-Address value range 01-0C-CD-01-00-00 to 01-0C-CD-01-3F-FF;
[0088] (5) VLAN priorities are divided into 8 levels from 0 to 7, where 0 is the lowest priority and 7 is the highest priority. It is set to 7 in the GSE configuration.
[0089] (6) The uniqueness of GOID, APPID, and MAC-Address parameters should be ensured.
[0090] (7) The last four bytes of APPID and MAC-Address are consistent.
[0091] 2. The process layer network division rules are:
[0092] (1) Different process layer networks are divided according to voltage levels, and redundant multi-networks are represented by A1, A2, B1, B2, C1, and C2;
[0093] (2) The process layer network is further divided according to the IED type, bay type, voltage level, and IED number.
[0094] Here are some examples:
[0095] SubNetwork_Processbus_A1_xxx
[0096] SubNetwork_Processbus_A2_xxx
[0097] SubNetwork_Processbus_B1_xxx
[0098] SubNetwork_Processbus_B2_xxx
[0099] Among them, xxx represents the voltage level;
[0100] (1) SubNetwork_Processbus_A1 / A2 network includes devices whose 1st and 2nd characters (IED type) in IEDNAME are C_, I_, P_, NI, IB, PN, PV, PS, SP, PC, PI, PT, and whose 8th character (IED number) is A (first set / first set of main transformer low branch 1), C (third set), X (single set), E (first set of main transformer low branch 2);
[0101] (2) SubNetwork_Processbus_B1 / B2 network includes the devices whose 1.2 characters (IED type) in IEDNAME are C_, I_, P_, NI, IB, PN, PV, PS, SP, PC, PI, PT, and whose 8th character (IED number) is B (second set / second set of main transformer low branch one), D (fourth set), F (second set of main transformer low branch two); public measurement and control, i.e. C_PxxxxX, is divided into this network. Then, it is divided into the process layer network of each voltage level according to the 4.5 characters (voltage level) in IEDNAME;
[0102] (3) When 35kV and 10kV do not have a separate process layer network, their equipment can be divided into the 110kV (110kV or 220kV station) or 220kV (500kV station) process layer network.
[0103] 3. Set a rule for checking the process layer switch port in the SCD configuration file of the smart substation;
[0104] The rules for process layer switch port verification include:
[0105] (1) According to the Cable attribute, the name is defined as IEDNAME: port number_IEDNAME: port number. One of the two IEDNAMEs is definitely a switch. If the name format is incorrect, the connection is judged as wrong. If the cable name is Template1 / Template / template and a space, it is not judged as wrong.
[0106] (2) The voltage level and the process layer network where the switch is located can be extracted based on the switch IEDNAME. When judging the correctness of the cable connection, the voltage level of the switch described by the cable is compared with that of the opposite device. If they are inconsistent, the cable connection is judged as an incorrect connection;
[0107] (3) If the port type on the device side is not LC and is connected to the switch, the corresponding cable is judged to be wrong;
[0108] (4) The switch attributes should be identified according to the IED name, including whether it is a central switch, switch network, switch voltage level, etc. The central switch is only used for switch cascading, fault data collection and connection with public equipment (safety and bus protection). If non-central switches are cascaded, different networks are cascaded (for example, A1 network switches are cascaded with B1 network switches, A1 network switches are cascaded with A2 network switches, etc.), and non-fault data and public equipment are connected to the central switch, the corresponding connection error will be judged;
[0109] (5) For devices in the process layer network, except for the main transformer protection and main transformer recording devices, which can have multiple connections with the switch (each voltage level requires a connection), other protection and intelligent terminals have only two connections with the switch (dual network). If there is a missed connection, multiple connections or no connection of the device, an error will be judged.
[0110] (6) Based on the Cable name defined in the switch configuration, the IEDs and port numbers on both sides can be analyzed to find the Cable name in the port of the opposite device. If the two sides are inconsistent, it is judged that the cable number is wrong.
[0111] Step 3: Match and verify the station control layer network where the IED is located and its communication parameters with the MMS configuration rules and the station control layer network division rules;
[0112] That is, the extracted IP address of the IED extracted from the configuration file in step 1 and the station control layer network in which it is located are compared with the MMS configuration rules and station control layer network division rules defined in step 2. If they are consistent with the rules, the correct result is output; if they are inconsistent with the rules, an incorrect result is output.
[0113] Step 4: Match and verify the process layer network where the IED is located and its communication parameters with the GOOSE block configuration rules and the process layer network division rules;
[0114] That is, the GOOSE block information of the IED extracted from the configuration file and the process layer network in which it is located are compared with the GOOSE block configuration rules and process layer network division rules defined in step 2. If they are consistent with the rules, the correct result is output; if they are inconsistent with the rules, an incorrect result is output.
[0115] In specific implementation, step 3 and step 4 use program algorithms to compare the communication parameter information in the SCD configuration file with the extracted valid configuration information of the IED device, determine whether the communication network division result is consistent with the rule, and obtain a comparison result.
[0116] Step 5: Match and verify the valid configuration information in the process layer switch with the port verification rules of the process layer switch.
[0117] That is, using the program algorithm, the valid configuration information in the process layer switch extracted from the SCD configuration file in step 1 is matched and verified with the process layer switch port verification rules defined in step 2, including the Cable name, Cable attributes, port type, device or switch cascade and device connection number judgment in the switch configuration. If it is consistent with the rules, the correct result is output, if it is inconsistent with the rules, the wrong result is output.
[0118] A SCD file communication parameter and port verification system, the verification system comprising:
[0119] The information extraction module is used to extract the effective configuration information of each IED device from the SCD file of the smart substation, including the station control layer network, process layer network and its communication parameters where the IED is located, and the effective configuration information in the process layer switch;
[0120] The rule setting module is used to set the MMS configuration rules and the station control layer network division rules, the GOOSE block configuration rules and the process layer network division rules and the process layer switch port verification rules;
[0121] The verification module is used to match and verify the station control layer network where the IED is located and its communication parameters with the MMS configuration rules and the station control layer network division rules; match and verify the process layer network where the IED is located and its communication parameters with the GOOSE block configuration rules and the process layer network division rules; match and verify the valid configuration information in the process layer switch with the process layer switch port verification rules.
[0122] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions;
[0123] The processor is configured to operate according to the instructions to execute the steps of the method.
[0124] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.
[0125] The beneficial effects of the present invention are as follows:
[0126] The present invention provides a method for verifying the standardization of a model file in an SCD file, which can effectively realize the accuracy and rationality judgment of the IP address, MAC address, subnet mask and other attributes of each IED in the SCD file of the smart substation, and the port configuration in the SCD file directly affects the configuration file of the process layer switch. The communication parameter verification and port verification avoid the tediousness and errors of manual verification, and improve the accuracy of verification under the premise of convenience and speed. Strengthening the management and control of the configuration of the SCD file of the smart substation is also a necessary factor for improving the reliability of the safe operation of the substation.
[0127] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0128] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0129] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0130] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for verifying SCD file communication parameters and ports, characterized in that: The method comprises the following steps: Step 1: Extract the valid configuration information of each IED from the SCD file of the smart substation, including the station control layer network, process layer network and its communication parameters where the IED is located, and the valid configuration information in the process layer switch; Step 2: Set the MMS configuration rules and the station control layer network division rules, the GOOSE block configuration rules and the process layer network division rules and the process layer switch port verification rules; Step 3: Match and verify the station control layer network where the IED is located and its communication parameters with the MMS configuration rules and the station control layer network division rules; Step 4: Match and verify the process layer network where the IED is located and its communication parameters with the GOOSE block configuration rules and the process layer network division rules; Step 5: Match and verify the valid configuration information in the process layer switch with the port verification rule of the process layer switch; In step 1, the station control layer network, process layer network and its communication parameters, and the valid configuration information in the process layer switch where the IED is located are extracted from the SCD file of the smart substation according to the name of each IED; The communication parameters include: IED type, bay type, voltage level, IED number, IP address and GOOSE block information; In step 2, the MMS configuration rules are as follows: (1) The IP address is unique throughout the site and ranges from 0.0.0.0 to 255.255.255.255; (2) The gateway address is set to 0.0.0.0; (3) When the IP address adopts the standard Class C address, use the 192.168.YN address format and set the subnet mask to 255.255.255.0; When the IP address adopts the standard Class B address, the address format is 172.YXN, and the subnet mask is 255.255.0.0; (4) The "Y" field of the IP address ranges from 16 to 31. Network A uses "16"; Network B uses "17"; Network C1 uses "21"; Network C2 uses "22" or "20"; Network C3 uses "18", "19", "23" or "30"; (5) The field "X" of the IP address is defined as the voltage level, 50 for 500kV, 33 for 330kV, 22 for 220kV, 11 for 110kV, 66 for 66kV, 35 for 35kV, 10 for 10kV, and 99 for public equipment; (6) The fourth field of the IP address cannot use specially defined numbers; In step 2, the network division rules of the station control layer are as follows: The station control layer network is divided into five categories: station control layer A network, station control layer B network, station control layer C1 network, station control layer C2 network, and station control layer C3 network; Among them, A and B networks are monitoring networks, C1 network is a protection substation network, C2 network is an intelligent recorder acquisition unit network, and C3 network is a switch network; In the "Y" field of the IP address, "18" is the switch of network A, "19" is the switch of network B, "23" is the switch of network C, and "30" is the switch of single network, all of which are network C3; In step 2, the GOOSE block configuration rules include: (1) The VLAN-ID configuration should be a 3-digit hexadecimal value ranging from 0x000 to 0xFFF. If VLANs are not divided, it should be uniformly set to "000". (2) APPID configuration should be a 4-bit hexadecimal value ranging from 0x0000 to 0x3FFF; (3) The values of MinTime and MaxTime in GSE configuration are 2ms and 5000ms; (4) MAC-Address value range 01-0C-CD-01-00-00 to 01-0C-CD-01-3F-FF; (5) VLAN priorities are divided into 8 levels from 0 to 7; (6) GOID, APPID, and MAC-Address parameters are unique; (7) The last four bytes of APPID and MAC-Address are consistent; In Vlan priority, 0 is the lowest priority and 7 is the highest priority, which is set to 7 in GSE configuration; The process layer network division rules are: First, the different process layer networks are divided according to the voltage level. The redundant multi-network is represented by A1, A2, B1, B2, C1, and C2. Then, the process layer network is further divided according to the IED type, bay type, voltage level, and IED number in the extracted configuration file. In step 2, the process layer switch port verification rules include: (1) Cable name identification rules: The Cable name is defined as: IEDNAME: port number_IEDNAME: port number. One of the two IEDNAMEs is definitely a switch. The name format must comply with the standard name definition. (2) According to the voltage level in the switch IEDNAME and the process layer network where the switch is located, the voltage level of the switch described by the cable is compared with that of the opposite device for consistency; (3) The port type on the device side is LC; (4) Identify switch attributes based on IED name; (5) Devices in the process layer network, except for the main transformer protection device and the main transformer recording device, which can have multiple connections with the switch, other protection devices and intelligent terminals are connected to the switch by only two optical fiber links; (6) According to the Cable name defined in the switch configuration, analyze the IEDs and port numbers on both sides, find the Cable name in the port of the opposite device, and the cable numbers on both sides must be consistent; The switch attributes include whether it is a central switch, switch network, and switch voltage level; The central switch is only used for switch cascading, fault record collection and connection with public equipment.
2. A SCD file communication parameter and port verification method according to claim 1, characterized in that: In step 3 to step 5, if the result is consistent with the rule, the correct result is output; if the result is inconsistent with the rule, the wrong result is output.
3. A SCD file communication parameter and port verification system, used to implement the method of claim 1 or 2, characterized in that: The verification system comprises: The information extraction module is used to extract the effective configuration information of each IED from the SCD file of the smart substation, including the station control layer network, process layer network and its communication parameters where the IED is located, and the effective configuration information in the process layer switch; The rule setting module is used to set the MMS configuration rules and the station control layer network division rules, the GOOSE block configuration rules and the process layer network division rules and the process layer switch port verification rules; The verification module is used to match and verify the station control layer network where the IED is located and its communication parameters with the MMS configuration rules and the station control layer network division rules; match and verify the process layer network where the IED is located and its communication parameters with the GOOSE block configuration rules and the process layer network division rules; match and verify the valid configuration information in the process layer switch with the process layer switch port verification rules.
4. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to claim 1 or 2.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.
