Method and system for physical configuration system visualization based on scd files

By parsing SCD files and combining them with a depth-first algorithm to establish the internal port relationships of switches, the lack of visualization of real circuits in SCD files in smart substations was solved, achieving consistency between real and virtual circuits and improving the accuracy and efficiency of engineering construction.

CN115940419BActive Publication Date: 2026-07-14CHONGQING PINSHENG TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING PINSHENG TECHNOLOGY CO LTD
Filing Date
2022-12-07
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

The lack of existing technology for visualizing the real circuits in SCD files of smart substations makes it impossible to directly map virtual and real circuit information, affecting the accuracy and efficiency of engineering construction.

Method used

By parsing the SCD file, the characteristic information and logical circuit data of the substation are obtained. The internal port relationship of the switch is established by combining the depth-first algorithm, realizing bidirectional verification of real and virtual circuits, and generating the physical circuit file of the entire station.

Benefits of technology

This achieves consistency in the correspondence between real and virtual circuits, improves the accuracy and efficiency of engineering construction, reduces unnecessary workload, and increases the work efficiency of substation staff.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115940419B_ABST
    Figure CN115940419B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of smart grid, and particularly discloses a physical configuration system visualization method and system based on an SCD file. The method acquires and inputs feature information of a system, analyzes a whole station system configuration file in a system logic loop, acquires corresponding function constraint data attribute data set, exports the function constraint data attribute data set into a JSON format engineering file index information set file, puts the file into a file directory of a terminal, reads the file on the terminal, obtains visual display of a virtual loop of a substation, and perfects data of a PC terminal system. On the basis of perfecting the data of the PC terminal system, feature information of a substation, a control room, a screen cabinet, equipment, a cable and a port of the system is bidirectionally verified with the virtual loop of the substation, and a whole station physical loop file is obtained. According to the technical scheme, the data of the PC terminal system and SCD data are corresponded, real connection of a field link is ensured, and connection of a real loop is perfected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of smart grid technology and relates to a visualization method and system for physical configuration systems based on SCD files. Background Technology

[0002] With the construction of my country's smart grid, the transformation of conventional substations into smart substations is also progressing rapidly. After substations become intelligent, the original automation system structure changes from a station control layer and bay layer to a three-layer structure: station control layer, bay layer, and process layer. The equipment composition of the station control layer and bay layer of a smart substation is basically the same as that of a conventional monitoring system. The newly added process layer is used to complete the acquisition of primary equipment switching and analog signals, as well as the execution of control commands. The process layer network is equivalent to the secondary cabling of a conventional substation, but optical fiber replaces traditional cable connections, greatly simplifying wiring and connection.

[0003] The use of fiber optic cables instead of traditional control cables for secondary circuit information transmission between the intelligent control cabinet in the process layer of a smart substation and the equipment cabinet in the secondary equipment compartment is no longer sufficient to accurately and completely represent the fiber optic circuits, nor can it describe the detailed physical and logical circuit information. The lack of correlation between virtual circuit logic information and actual physical connection circuits makes it difficult to correlate virtual and physical circuits, and it lacks an intuitive representation and quick reference method. This is detrimental to the full lifecycle management of smart substations and hinders daily work efficiency.

[0004] Currently, smart substations utilize digital methods to construct communication network systems for secondary equipment. This is based on the series of standards of my country's power industry standard "DL 860 Substation Communication Network and System" and other standards derived from this series. DL 860 specifies an SCL file to describe the substation configuration. SCL (Substation Configuration Description Language) files are divided into four categories: SSD (EC61850 system specification description) files describing the substation specifications; ICD (IED Capability Description) files describing the capabilities of IED (Index of Engineering Document); SCD files describing the complete configuration of the entire substation; and CID files describing the configuration of individual IEDs. Because the SCD (substation configuration file) describes the configuration of the entire substation, it receives much attention during substation construction, operation and maintenance after commissioning, and renovation and expansion. However, the SCD file is a text file based on the XML specification, which is large in content, complex in structure, and difficult to read and understand. In practical scenarios, the logical loop information described by the SCD file cannot be directly mapped and associated with the actual loop information.

[0005] While there are already many results on the parsing and visualization of SCD files, they mainly focus on the graphical techniques for virtual loops, but lack research on the visualization of real loops in secondary systems. In engineering practice, it is often necessary to know the signal flow direction described in the virtual loop, the specific optical fiber through which the signal flow passes, and the information flow carried by the fiber. Current technologies lack visualization methods for this information, and also lack methods for verifying the accuracy of the file descriptions in actual engineering construction. Summary of the Invention

[0006] The purpose of this invention is to provide a method and system for visualizing physical configuration systems based on SCD files, in order to solve the problems of lack of visualization means for this information in the prior art, as well as lack of accuracy verification in actual engineering construction and file description.

[0007] To achieve the above objectives, the basic solution of this invention is: a visualization method for a smart substation physical configuration system based on SCD files, comprising the following steps:

[0008] Based on the system configuration file, optical port information table, and field port connection status, obtain and input the characteristic information of the substation, central control room, cabinet, equipment, cable and port of the system;

[0009] The system configuration file of the entire substation in the system logic loop is parsed to obtain the index information of all engineering files (I ED) in the system configuration file and the index information of all engineering files at the other end. The control block related to the index information of the engineering files at the local end of the system configuration file is found. The dataset under the corresponding engineering file index information is found through the dataset of the control block. The corresponding functional constraint data attribute dataset is obtained. The functional constraint data attribute dataset is exported as a collection file of engineering file index information in JSON format, placed in the file directory of the terminal, and read on the terminal to obtain the visualization of the virtual loop of the substation.

[0010] Traverse the port data of devices on the system to obtain all connected paths in the local project file index information and the peer project file index information, establish the relationship between the internal ports of the switch on the path, and improve the system data.

[0011] Based on the improved system data, the characteristic information of the substation, central control room, cabinet, equipment, cable and port of the system is bidirectionally verified with the virtual circuit of the substation to obtain the physical circuit file of the whole station.

[0012] The working principle and beneficial effects of this basic scheme are as follows: By matching the system data with the SCD (system configuration file) data, bidirectional verification is performed while ensuring the real connection of the field links. This verifies the virtual terminal relationship between devices in the SCD file, while also improving the connection of the real circuits between devices in the system. Finally, the correspondence between the real circuit relationship, the virtual circuit relationship, and the real connection relationship in the field is realized, ensuring the consistency of the data relationship presentation.

[0013] It can quickly locate the device position and quickly and intuitively see the signal set, signal type, connection status, etc. sent by the link, avoiding some unnecessary workload caused by data inconsistency in daily work, improving the work efficiency of substation staff, and making it efficient and simple.

[0014] Furthermore, the method for parsing the whole-station system configuration file in the system logic loop is as follows:

[0015] Based on the IEC 61850 standard, implement the parsing of the entire site's system configuration files:

[0016] Step 1: Import the entire site's system configuration file (SCD file), and use the SAXReader utility class to read the SCD file and obtain its root element.

[0017] Step 2: Parse the Communication section, extract the control block information under each communication network, obtain the Communication tag, and then obtain the SubNetwork tag under it. Summarize the GSE tag and SMV tag under it into GOOSE control block and SV control block respectively, thereby obtaining all the incomplete control block information.

[0018] Step 3: Obtain the I ED part. After obtaining all the project file index information tags, based on the Server tag, LDevi ce tag, LN tag and LN0 tag in the AccessPoint tag, you can obtain all the Doi tag data sets, FCDA datasets and complete the control block information that was incomplete in Step 2.

[0019] Step 4: Traverse all LN0 tags under the AccessPoint tag under the IED tag, and obtain the Inputs set of all IEDs based on all Doi data obtained in Step 3;

[0020] Step 5: Traverse all IED sets. Based on the data in the Inputs set from Step 4, which corresponds to the unique attribute of the current IED through the external address of Inputs, summarize it as the data pointing to the peer IED of the current IED; and summarize the data in the Inputs set, which corresponds to the unique attribute of the current IED through the internal address of Inputs, summarize it as the data pointed to by the current IED from other peer IEDs, thereby obtaining all peer IED devices pointed to and pointed to by the current IED device.

[0021] From the information of the local IED and the remote IED, the set of outgoing control blocks toControl and the set of incoming control blocks fromControl corresponding to the local IED can be obtained. Then, based on the information of the control blocks and all the FCDA datasets in step three, the set of FCDA data corresponding to the control blocks can be obtained. Finally, all IED data can be acquired, and the SCD file can be parsed.

[0022] The logic loop SCD file is parsed to obtain relevant data for use.

[0023] Furthermore, the method for establishing the internal port relationships of the switch is as follows:

[0024] Based on the project file index information in the system configuration file and the project file index information of the peer, it is known that the project file index information on this end and every project file index information on the peer end have a "to" relationship.

[0025] Ensure that the system device name in the feature information is consistent with the name of the project file index information in the whole station system configuration file in the logic loop. Use a depth-first algorithm to traverse the port data of the devices on the system. The starting device needs to traverse all ports with "to" information.

[0026] Patch panel is a unidirectional port; it directly traverses the "to" ports of the current port.

[0027] The switch ports are traversed by iterating through all ports except the current one;

[0028] If the device to which the port "to" is the previous device, then the current port is skipped, and other ports are traversed until a certain path or several paths are obtained. These paths are paths that connect the local IED and the peer IED, indicating that the obtained path is correct. This establishes the relationship between the internal ports of the switch on the path, making the system data more complete.

[0029] Establishing relationships between internal ports of the switch along the path improves the data in the PC system and optimizes the physical loop.

[0030] Furthermore, the method for completing the physical circuit is as follows:

[0031] Iterate through the ports of the device, obtaining the "from" port of each port. If the "from" port is a device or the "from" port is empty, then that port is the top port.

[0032] Iterate continuously based on the "to" information of the top port until the "to" device is a device or the "to" port is empty, then obtain one or more "to" relationship links for that port;

[0033] Conversely, iterate to obtain the "to" top port of the port, and then obtain one or more "from" relationship links through the top port;

[0034] Finally, all the relationship links for that port are obtained.

[0035] This solution implements the physical loop link for the port by establishing complete physical loop data on the PC side. It is simple to operate and easy to use.

[0036] Furthermore, if it is a port of the switch, since there are internal port relationships in the switch, for the relationship links of the switch ports, first look for the internal relationship of the switch port from\to. If the internal relationship of from\to is empty, then look for the external from\to, so as to obtain the complete relationship links of the switch port.

[0037] Export the physical loop file for the entire station.

[0038] By utilizing the port information of each port, targeted link information can be obtained, which is beneficial for extracting the physical loop file of the entire site.

[0039] The present invention also provides a visualization system for the physical configuration of intelligent substations based on SCD files, including a substation management unit, a central control room management unit, a cabinet management unit, a patch panel management unit, a device list management unit, a switch management unit, a cable management unit, a port management unit, and a terminal, wherein the terminal has a built-in program for executing the method described in the present invention.

[0040] The data entered through the PC-side system may have a different data structure. This solution implements the physical loop link for the port by completing the physical loop based on the data in the PC-side system. Attached Figure Description

[0041] Figure 1 This is a schematic diagram of port labels for the visualization method of the intelligent substation physical configuration system based on SCD files according to the present invention;

[0042] Figure 2 This is a schematic diagram of the virtual loop structure of the visualization method for the physical configuration system of intelligent substations based on SCD files according to the present invention;

[0043] Figure 3 This is a schematic diagram of the physical circuit structure of the intelligent substation physical configuration system visualization method based on SCD files according to the present invention. Detailed Implementation

[0044] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0045] In the description of this invention, it should be understood that the terms "longitudinal", "lateral", "up", "down", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.

[0046] In the description of this invention, unless otherwise specified and limited, it should be noted that the terms "installation", "connection" and "linking" should be interpreted broadly. For example, they can refer to mechanical or electrical connections, or internal connections between two components. They can be direct connections or indirect connections through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms according to the specific circumstances.

[0047] In existing technologies, the physical port-related identification fields obtained from SCD files (system configuration files) are not entirely consistent with reality, or are mostly empty, thus lacking the necessary prerequisite data for visualization. Virtual-physical loop visualization only includes the connection relationships of IEDs (project file index information) parsed from the SCD file in virtual loops and the physical ports associated with their input / output virtual terminals. Furthermore, the visualization objects only include the IEDs described in the SCD file, excluding the switches and patch panels used for networking and patch cords in actual engineering construction. Due to the lack of actual connection information between switches and patch panels in the secondary system and IEDs, the visualization of physical loops relies on the display of virtual loops, lacking a complete understanding of the actual loop connection relationships.

[0048] This invention discloses a visualization method for the physical configuration system of intelligent substations based on SCD files, solving the problems of lacking actual physical path connections and the inability to guarantee the accuracy of virtual and physical circuits in existing technologies. This solution uses data from the PC-side system to correspond with SCD data. While ensuring the actual connection of field links, bidirectional verification is performed to check the virtual terminal relationships between devices in the SCD file, while also perfecting the physical circuit connections between devices in the PC-side system. Finally, the correspondence between physical circuit relationships, virtual circuit relationships, and actual field connection relationships is achieved, ensuring the consistency of data relationship presentation.

[0049] The method includes the following steps:

[0050] Based on the system configuration file SCD, CAD files (Computer-Aided Design), optical port information table, and field port connection status, and referring to the IEC 61850 communication protocol, the characteristic information of the substation, control room, cabinets, equipment, cables, and ports of the PC-side system is obtained and entered. The characteristic information includes the local end name, local end port number, transmit or receive function, remote end name, remote end port number, port function, port identification QR code, and identification ID.

[0051] Preferably, the equipment includes patch panels, switches, and devices. The switches include external ports and internal ports. The switches connect to the patch panels and devices via external ports, and perform local data connections via internal ports. The port information includes fields such as port number, port name, associated device, associated cabinet, associated control room, associated substation, from / to cable, from / to core number, and from / to port. Labels indicating the port's from / to relationship are printed, such as... Figure 1 As shown. The label content includes: local device name, local port number, RX / TX (receive / transmit), remote device name, remote port number, port function, and port identification QR code (for terminal scanning and quick location). The port identification QR code uses the unique identifier id field from the data stored in the PC system, concatenated with underscores, such as: "Substation id_Control Room id_Panel id_Equipment id [_Level id\Board id] (depending on the equipment type, whether it is a patch panel or device)_Port id".

[0052] The system's global system configuration file (SCD) in the system logic loop is parsed to obtain all engineering file index information (IED) and its counterpart (signal flow pointing, signal flow pointing) in the global system configuration file. The system then searches for (matches the control blocks related to the local engineering file in the SCD file based on the engineering file index information; this binds the IED device to its associated control blocks, obtains the control block-related dataset, and acquires the virtual loop information flow of the local device) control blocks (which can be understood as the communication parameters of the IED device) related to the local engineering file index information in the global system configuration file. The system then searches for the corresponding dataset under the engineering file index information through the control block's dataset (datSet), obtains the corresponding Functional Constraint Data Attribute Data Set (FCDA), and exports the FCDA dataset as JSON (JavaScript Object Notation, a lightweight data exchange format) format for the engineering file index information (IED). The ED) collection file is placed in the file directory of the handheld terminal and read on the terminal to obtain a visual representation of the substation virtual circuit, such as Figure 2 As shown.

[0053] Traverse the port data of devices on the system to obtain all connected paths in the local project file index information and the peer project file index information, establish the relationship between the internal ports of the switch on the path, and improve the system data.

[0054] Based on the improved system data, the characteristic information of the substation, control room, cabinets, equipment, cables, and ports of the system is bidirectionally verified with the virtual circuit of the substation to obtain the physical circuit file of the entire station, such as... Figure 3 As shown.

[0055] In a preferred embodiment of the present invention, the method for parsing the whole-station system configuration file in the system logic loop is as follows:

[0056] Based on the IEC 61850 standard, implement the parsing of the entire site's system configuration files:

[0057] Step 1: Import the SCD file and use the SAXReader utility class to read the SCD file and obtain the root element of the SCD file;

[0058] Step 2: Analyze the Communication section, extract the control block information under each communication network, obtain the Communication tag, and then obtain the SubNetwork tag. Summarize the GSE and SMV tags under it into GOOSE (Gross Object-Oriented Substation Event) control blocks and SV (Sample Value) control blocks, respectively, thereby obtaining all incomplete control block information.

[0059] Step 3: Obtain the IDE (Intelligent Electronic Device) section. After obtaining all the project file index information tags, based on the Server, LDevice, LN (Logical Node), and LN0 (Logical Node) tags in the AccessPoint tag, you can obtain all the Doi (Data Object Instance) tag data sets, FCDA (Functional Constraint Data Attribute) datasets, and complete the control block information that was incomplete in Step 2.

[0060] Step 4: Traverse all IED tags under the AccessPoint tag and LN0 tag, and obtain the I ED Inputs (connection information) set based on all DOI (Data Object Instance) data obtained in Step 3;

[0061] Step 5: Traverse all IED sets. Based on the data corresponding to the unique attributes of the current IED's external address in the Inputs (connection information) set from Step 4, summarize it into peer IED data pointing to the current IED (smart electronic device); summarize the data corresponding to the unique attributes of the current IED's internal address in the Inputs set into data pointed to by the current IED by other peer IEDs, thereby obtaining all peer IED devices pointed to and indicated by the current IED device;

[0062] From the information of the local IED and the remote IED, the set of outgoing control blocks toControl (indicating the control block) and the set of incoming control blocks fromControl (indicating the incoming control block) corresponding to the local IED can be obtained. Then, based on the information of the control blocks and all the FCDA (Functional Constraint Data Attributes) datasets in step three, the FCDA data set corresponding to the control block can be obtained. Finally, all IED data can be acquired, and the SCD file can be parsed.

[0063] In a preferred embodiment of the present invention, the method for establishing the internal port relationships of the switch is as follows:

[0064] Based on the project file index information in the system configuration file and the project file index information of the peer, it is known that the project file index information of this end and each project file index information of the peer (signal flow pointing to) have a "to" relationship;

[0065] Ensure that the system device name in the feature information is consistent with the name of the project file index information in the whole station system configuration file in the logic loop. Use the depth-first search algorithm (DFS) to traverse the port data of the devices (patch panels, switches, devices) on the system. The starting device needs to traverse all ports with "to" information.

[0066] Patch panel is a unidirectional port; it directly traverses the "to" ports of the current port.

[0067] The switch ports are traversed by iterating through all ports except the current one;

[0068] If the device to which the port "to" is the previous device, then the current port is skipped, and other ports are traversed until a certain path or several paths are obtained. These paths are paths that connect the local IED and the peer IED, indicating that the obtained path is correct. This establishes the relationship between the internal ports of the switch on the path, making the system data more complete.

[0069] In a preferred embodiment of the present invention, the method for establishing a complete physical circuit, based on complete data in the PC-side system, is as follows:

[0070] Iterate through the ports of the device, and obtain the "from" port of port A-1. If the "from" port is a device or the "from" port is empty, then the port is the top port.

[0071] Based on the "to" information of the top port, it iterates continuously until the "to" device is a device or the "to" port is empty, then one or more "to" relationship links of port A-1 are obtained;

[0072] Conversely, iterate to obtain the "to" top port of the port, and then obtain one or more "from" relationship links through the top port;

[0073] Finally, all the relationship links of port A-1 are obtained.

[0074] If it is a port of the switch, because the switch has internal port relationships, for the relationship links of the switch port, first look for the internal relationship of the switch port from\to. If the internal relationship of from\to is empty, then look for the external from\to, so as to obtain the complete relationship links of the switch port.

[0075] Finally, export a full-site physical loop file named substat i on.json, which contains data on the substation, control room, cabinets, patch panels, switches, and other devices.

[0076] This invention also provides a visualization system for the physical configuration of intelligent substations based on SCD files, including a substation management unit, a central control room management unit, a cabinet management unit, a patch panel management unit, a device list management unit, a switch management unit, a cable management unit, a port management unit, and a terminal. The terminal has a built-in program for executing the method described in this invention.

[0077] This solution uses a B / S architecture to enable "beginner-friendly" data entry from substations via a web-based system. Consistency between diagrams and physical objects ensures data accuracy, with each step interconnected to prevent issues caused by errors in on-site data entry. It proactively identifies inconsistencies between SCD files, CAD files, and on-site connections, allowing for early detection and correction during data verification. The final result is a unified visual display terminal that integrates the PC system, CAD files, and SCD files.

[0078] In routine maintenance or abnormal alarms at substations, the device location can be quickly identified, and the signal set, signal type, and connection status of the link can be quickly and intuitively viewed. This avoids unnecessary workload caused by data inconsistencies in daily work, improves the work efficiency of substation staff, and makes the process efficient and simple.

[0079] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0080] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

1. A visualization method for a smart substation physical configuration system based on SCD files, characterized in that, Includes the following steps: Based on the system configuration file, optical port information table, and field port connection status, obtain and input the characteristic information of the substation, central control room, cabinet, equipment, cable and port of the system; The system configuration file of the entire substation in the system logic loop is parsed to obtain all engineering file index information (IED) in the system configuration file and all engineering file index information of the peer end. The control block related to the engineering file index information of the local end of the system configuration file is found. The dataset under the corresponding engineering file index information is found through the dataset of the control block. The corresponding functional constraint data attribute dataset is obtained. The functional constraint data attribute dataset is exported as a JSON format engineering file index information collection file, placed in the file directory of the terminal, and read on the terminal to obtain the visualization of the substation virtual loop. Traverse the port data of devices on the system to obtain all connected paths in the local project file index information and the peer project file index information, establish the relationship between the internal ports of the switch on the path, and improve the system data. Based on the improved system data, the characteristic information of the substation, central control room, cabinet, equipment, cable and port of the system is verified bidirectionally with the virtual circuit of the substation to obtain the physical circuit file of the whole station. The method for parsing the whole-site system configuration file in the system logic loop is as follows: Based on the IEC61850 standard, implement the parsing of the entire system configuration file: Step 1: Import the entire site's system configuration file SCD, use the SAXReader utility class to read the SCD file, and obtain the root element of the SCD file; Step 2: Parse the Communication section, extract the control block information under each communication network, obtain the Communication tag, then obtain the SubNetwork tag under it, and summarize the GSE tag and SMV tag under it into GOOSE control block and SV control block respectively, thereby obtaining all the incomplete control information; Step 3: Obtain the IED part. After obtaining all the project file index information tags, based on the Server tag, LDevice tag, LN tag and LN0 tag in the AccessPoint tag, obtain all the Doi tag data sets, FCDA datasets and complete the incomplete control information in Step 2. Step 4: Traverse all LN0 tags under the AccessPoint tag under the IED tag, and obtain the Inputs set of all IEDs based on all DOI data obtained in Step 3; Step 5: Traverse all IED sets. Based on the data in the Inputs set from Step 4, which corresponds to the unique attribute of the current IED at the external address of the Inputs, summarize it into data pointing to the peer IED of the current IED. Also, summarize the data in the Inputs set, which corresponds to the unique attribute of the current IED at the internal address of the Inputs, into data pointing from the current IED to other peer IEDs. This way, you can obtain all peer IEDs that the current IED device points to and points to. Based on the information from the local IED and the remote IED, the set of outgoing control blocks (toControl) and the set of incoming control blocks (fromControl) corresponding to the local IED are obtained. Then, based on the information of the control blocks and all the FCDA datasets in step three, the set of FCDA data corresponding to the control blocks is obtained. Finally, the acquisition of all IED data is completed, and the parsing of the SCD file is completed.

2. The visualization method for intelligent substation physical configuration system based on SCD files as described in claim 1, characterized in that, The method for establishing the internal port relationships of a switch is as follows: Based on the project file index information in the system configuration file and the project file index information of the peer, it is known that the project file index information on this end and every project file index information on the peer end have a "to" relationship. Ensure that the system device name in the feature information is consistent with the name of the project file index information in the whole station system configuration file in the logic loop. Use a depth-first algorithm to traverse the port data of the devices on the system. The starting device needs to traverse all ports with "to" information. Patch panel is a unidirectional port; it directly traverses the "to" ports of the current port. The switch ports are traversed by iterating through all ports except the current one; If the device to which the port "to" is the previous device, then the current port is skipped, and other ports are traversed until a certain path or several paths are obtained. If the path is a path that connects the local IED and the peer IED, it means that the obtained path is correct. This establishes the relationship between the internal ports of the switch on the path, making the system data more complete.

3. The visualization method for the intelligent substation physical configuration system based on SCD files as described in claim 1, characterized in that, The method for obtaining the full-site physical loop file through two-way verification is as follows: Iterate through the ports of the device, obtaining the "from" port of each port. If the "from" port is a device or the "from" port is empty, then that port is the top port. Iterate continuously based on the "to" information of the top port until the "to" device is a device or the "to" port is empty, then obtain one or more "to" relationship links for that port; Conversely, iterate to obtain the "to" top port of the port, and then obtain one or more "from" relationship links through the top port; Finally, all the relationship links for that port are obtained.

4. The visualization method for the intelligent substation physical configuration system based on SCD files as described in claim 3, characterized in that, If it is a port of the switch, because the switch has internal port relationships, for the relationship links of the switch port, first look for the internal relationship of the switch port from\to. If the internal relationship of from\to is empty, then look for the external from\to, so as to obtain the complete relationship links of the switch port. Export the physical loop file for the entire station.

5. A visualization system for the physical configuration of an intelligent substation based on SCD files, characterized in that, It includes a substation management unit, a central control room management unit, a cabinet management unit, a patch panel management unit, a device management unit, a switch management unit, a cable management unit, a port management unit, and a terminal, wherein the terminal has a built-in program for executing the method described in any one of claims 1-4.