A method and system for controlling configuration files of secondary equipment in smart substations
Through information management of secondary equipment configuration files of substations, the problems of low management efficiency and poor accuracy are solved, and efficient and accurate configuration file management is achieved.
Patent Information
- Application Number
- CN202510498789.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2045-04-21
AI Technical Summary
In the prior art, the management efficiency of the secondary equipment configuration files of the substation is low and artificial errors are prone to occur, resulting in an increase in management time and a decrease in accuracy.
Through the information management method, update configuration files are obtained, corresponding analysis of configuration locations is performed, replacement relationships are determined, and consistency analysis is performed to ensure the correctness of the parameters and format of the configuration files.
Improve the efficiency and accuracy of configuration file management, reduce human errors, and ensure the rationality and correctness of configuration files.
Smart Images

Figure CN120011313B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of secondary equipment configuration file management, and in particular to a method and system for managing and controlling secondary equipment configuration files in an intelligent substation. Background Art
[0002] Substation secondary equipment is updated and adjusted based on actual usage and needs. These adjustments require simultaneous configuration updates. Configuration files serve as guidance for secondary equipment updates. Typically, configuration file management is performed manually. This significantly reduces efficiency, requiring operators to constantly perform comparative analysis and storage. This consumes significant time before configuration files are used, increasing operational time. Furthermore, manual management can lead to errors due to human factors.
[0003] Therefore, designing a method and system for controlling configuration files of secondary equipment in intelligent substations, realizing efficient and accurate management of equipment configuration files through information management, improving management efficiency and greatly reducing management errors caused by human factors, is an urgent problem to be solved. Summary of the Invention
[0004] The purpose of the present invention is to provide a method for managing and controlling configuration files of secondary equipment in intelligent substations. By informatizing the acquired updated configuration files and performing a correspondence analysis of the configuration locations, the replacement relationship of the configuration files is determined, and then the replaced configuration files and the updated configuration files are subjected to consistency analysis. On the one hand, the parameter information of the updated configuration files can be verified to ensure that the parameters of the updated configuration files are complete and valid. On the other hand, the content format of the configuration files can be adjusted to form the correct content format to ensure that the updated configuration files are correctly used and referenced. Compared with manual management and processing of updated configuration files, this method not only greatly improves the efficiency of management and processing of updated configuration files, but also ensures accurate verification of the rationality and correctness of the updated configuration files.
[0005] The present invention also aims to provide a smart substation secondary equipment configuration file management and control system. The system is configured to collect and update configuration files to determine the configuration location, analyze and verify the consistency of the configuration content, and perform post-use storage processing. This system greatly improves the processing efficiency, correctness, and rationality of the updated configuration files, and is an important material basis for achieving efficient and reasonable management and control of secondary equipment configuration files.
[0006] In a first aspect, the present invention provides a method for managing and controlling configuration files of secondary equipment in a smart substation, comprising: obtaining all updated configuration files, performing file correspondence analysis, and determining configuration files to be replaced corresponding to different updated configuration files; performing replacement consistency analysis on different updated configuration files according to the corresponding configuration files to be replaced, and forming replacement consistency analysis result data; and outputting and storing the replacement configuration file according to the replacement consistency analysis result data.
[0007] In this invention, the method digitizes the acquired update configuration file and performs a correspondence analysis of the configuration locations to determine the replacement relationship between the configuration files. This method then performs a consistency analysis between the replaced configuration file and the update configuration file. This not only verifies the parameter information in the update configuration file to ensure its completeness and validity, but also adjusts the configuration file's content format to ensure proper use and reference of the update configuration file. Compared to manual management of update configuration files, this method not only significantly improves the efficiency of update configuration file management but also ensures accurate verification of the rationality and correctness of the update configuration file.
[0008] As a possible implementation method, all updated configuration files are obtained and file correspondence analysis is performed to determine the configuration files to be replaced corresponding to different updated configuration files, including: obtaining all current device configuration files, and performing matching correspondence analysis in combination with different updated configuration files to form matching correspondence analysis result data; based on the matching correspondence analysis result data, performing matching analysis based on connection relationships to determine the configuration files to be replaced corresponding to different updated configuration files.
[0009] In the present invention, determining the configuration file to be replaced that corresponds to the updated configuration file within the current configuration relationship essentially means determining the user of the updated configuration file. Since the positional relationship of devices in the secondary circuit is relative, in order to accurately determine the replacement configuration file corresponding to the updated configuration file, a matching analysis can be performed based on the connection relationship information contained in the updated configuration file. This not only determines the corresponding configuration file to be replaced, but also performs a verification and sorting of the connection relationship.
[0010] As a possible implementation method, all current device configuration files are obtained, and matching and corresponding analysis are performed in combination with different updated configuration files to form matching and corresponding analysis result data, including: determining the corresponding configuration device based on the updated configuration file, and determining the corresponding current device based on the device configuration file; performing matching and corresponding analysis based on the configuration devices corresponding to different updated configuration files and the current devices corresponding to different device configuration files to form matching and corresponding analysis result data.
[0011] In the present invention, a positional relationship matching and correspondence analysis is performed on the updated configuration file. First, the object device to be configured and updated by the updated configuration file needs to be determined. Then, a corresponding determination is performed through the object device under the current secondary loop configuration to preliminarily lock the possible configuration update objects of the updated configuration file.
[0012] As a possible implementation method, a matching correspondence analysis is performed based on the configuration devices corresponding to different update configuration files and the current devices corresponding to different device configuration files to form matching correspondence analysis result data, including: for any configuration device, there is only one current device corresponding to the configuration device among all current devices, and there are no other identical configuration devices among all configuration devices, then the update configuration file corresponding to the configuration device and the device configuration file set corresponding to the corresponding current device are formed to form a matching replacement file set; for any configuration device, there is only one current device corresponding to the configuration device among all current devices, but there are other identical configuration devices among all configuration devices, then the corresponding update configuration files of all identical configuration devices and the device configuration file set corresponding to the corresponding current device are formed. Suspected replacement file set; for any configuration device, there are multiple current devices corresponding to the configuration device among all current devices, but there is no other identical configuration device among all configuration devices, then the device configuration files corresponding to the multiple current devices and the corresponding update configuration file set of the corresponding configuration devices are formed to form a suspected replacement file set; for any configuration device, there are multiple current devices corresponding to the configuration device among all current devices, and there is other identical configuration device among all configuration devices, then the device configuration files corresponding to the multiple current devices and the corresponding update configuration file set of all identical configuration devices are formed to form a suspected replacement file set; for any configuration device, there is no current device corresponding to the configuration device among all current devices, then the update configuration file corresponding to the configuration device is determined as a new configuration file.
[0013] In the present invention, of course, there are many situations in which the matching of devices based on the corresponding configuration updates is first performed, specifically including the matching of devices with a unique corresponding relationship. In this case, it can basically be determined that the updated configuration file is the configuration file that needs to be updated for the device. The second is that the devices that need to update the configuration may be added under the current device configuration, and the added device type also exists in the current device. In this way, it is only possible to preliminarily judge the suspected configuration range of the updated configuration file. The third is that the current device itself reuses the same type of device, and the configuration file also provides the updated configuration information of these devices. In this way, only a certain suspected range can be delineated, and further matching confirmation is required. The fourth is that the updated configuration file is for the configuration of the newly added device that the current device does not have. This updated configuration file is a preliminary configuration file and does not require excessive matching processing.
[0014] As a possible implementation method, a matching analysis based on the connection relationship is performed according to the matching correspondence analysis result data to determine the configuration files to be replaced corresponding to different update configuration files, including: extracting the corresponding update connection relationship information for different update configuration files, and extracting the corresponding device connection relationship information for different device configuration files; performing a matching verification analysis based on the connection relationship on all matching replacement file sets according to the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files to form matching verification analysis result information; performing a matching correspondence analysis based on the connection relationship on all suspected replacement file sets according to the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files to form matching correspondence analysis result information.
[0015] In the present invention, the preliminary matching results generated by device matching can be further accurately matched by extracting the logical connection relationships in the configuration files. Of course, for the one-to-one correspondence determined in the device matching, although it has been basically determined that the updated configuration file is the replacement update file of the corresponding device configuration file, verification is still required. After all, the updated matching file is obtained by input, which carries a certain risk of initial data input errors. For suspected matching sets, the matching relationship can be accurately determined based on the connection relationship. Of course, this matching determination also verifies the matching between the two to a certain extent.
[0016] As a possible implementation method, according to the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files, a matching verification analysis based on the connection relationship is performed on all matching replacement file sets to form matching verification analysis result information, including: extracting the update connection relationship information corresponding to the update configuration files and the device connection relationship information corresponding to the device configuration files in the matching replacement file set, and performing the following matching verification analysis: if there is a new connection relationship in the update connection relationship information relative to the device connection relationship information, and the remaining connection relationship after excluding all new connection relationships has a one-to-one correspondence with the connection relationship in the device connection relationship information, then the device configuration file is determined to be the configuration file to be replaced by the update configuration file; if there is no new connection relationship in the update connection relationship information relative to the device connection relationship information, and all connection relationships have a one-to-one correspondence with the connection relationship in the device connection relationship information, then the device configuration file is determined to be the configuration file to be replaced by the update configuration file.
[0017] In the present invention, the connection relationship matching verification of the uniquely corresponding update matching file and device matching file should be noted that after removing the interface connection relationship or other configuration connection relationship that has been changed and added or subtracted in the update configuration file, the remaining configuration connection relationship should have a one-to-one correspondence with the connection relationship provided by the current configuration file. If there is any mismatch, it is considered that the information in the update configuration file is incorrect.
[0018] As a possible implementation method, according to the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files, a matching correspondence analysis based on the connection relationship is performed on all suspected replacement file sets to form matching correspondence analysis result information, including: extracting the update connection relationship information corresponding to all update configuration files and the device connection relationship information corresponding to all device configuration files in the suspected replacement file set; determining the matching quantity of the connection relationship in the device connection relationship information corresponding to all device configuration files according to the update connection relationship information corresponding to different update configuration files; determining the update configuration file with the largest connection relationship matching quantity among all update configuration files corresponding to the device configuration file as the corresponding matching update configuration file, and using the device configuration file as the configuration file to be replaced corresponding to the update configuration file.
[0019] In the present invention, regarding the suspected match set, it can be understood that if the updated configuration file and the device configuration file have an exact match, then the connection relationship between the two files has the highest degree of match. Even if the connection relationship in the updated configuration file modifies or adds or removes certain interfaces from the current connection relationship, the degree of match is still the highest. Therefore, based on the number of matches, the updated configuration file corresponding to the highest number of matches can be determined as the replacement file for the device configuration file.
[0020] As a possible implementation method, for different update configuration files, according to the corresponding configuration files to be replaced, replacement consistency analysis is performed to form replacement consistency analysis result data, including: format correspondence between the configuration file to be replaced and the corresponding update configuration file: if the format of the configuration file to be replaced is consistent with the format of the update configuration file, the update configuration file is calibrated for format consistency; if the format of the configuration file to be replaced is inconsistent with the format of the update configuration file, the update configuration file is calibrated for format adjustment; for the update configuration file that is calibrated as having consistent format, parameter correspondence consistency analysis is performed between the configuration file to be replaced and the update configuration file to form parameter consistency analysis result information.
[0021] In the present invention, after completing the configuration location matching of the updated configuration file, it is necessary to perform a consistency analysis on the content of the configuration file. This analysis mainly compares the format and parameters of the configuration file to ensure that the format standard of the configuration file is consistent with the device configuration file, avoiding configuration errors caused by inconsistencies. First, the format consistency analysis is performed. Only under the premise of format consistency can the subsequent parameter consistency matching analysis be achieved. Therefore, different formats may cause errors when locating parameter positions.
[0022] As a possible implementation method, for the update configuration file that is calibrated as having a consistent format, a parameter correspondence consistency analysis is performed between the configuration file to be replaced and the update configuration file to form parameter consistency analysis result information, including: position marking of all parameters in the configuration file to be replaced, and extracting the position information of all parameters in the update configuration file, and performing the following consistency analysis: if the position information of all parameters in the configuration file to be replaced corresponds one-to-one with the position information in the update configuration file, the update configuration file is calibrated for parameter consistency; if the position information of all parameters in the configuration file to be replaced is inconsistent with the position information in the update configuration file, the update configuration file is calibrated for parameter inconsistency; and the update configuration file calibrated as having consistent parameters is used as the replacement configuration file for the device configuration file.
[0023] In the present invention, the consistency analysis of parameters is mainly to determine the position information of the corresponding parameters and perform correspondence analysis of the position information. It should be noted that the parameters corresponding to the parameters will not be subjected to consistency analysis. After all, the updated parameters will be adaptively adjusted. In addition, the update of the configuration file will increase or decrease the parameters. The new additions can be accurately compared, and the reductions are not directly omitted, but the parameters of the parameters are reset to zero or suppressed. Therefore, there will be no erroneous judgment of inconsistent matching due to increases or decreases.
[0024] In a second aspect, the present invention provides a smart substation secondary equipment configuration file management and control system, including: a data input unit for obtaining all updated configuration files; a data storage unit for storing all configuration files for update operations; a consistency analysis unit for obtaining the updated configuration files obtained by the data input unit and the configuration files stored by the data storage unit, performing replacement consistency analysis, and forming replacement consistency analysis result data; an output acquisition unit for outputting the updated configuration files that have completed the analysis according to the consistency analysis unit, and obtaining the updated configuration files that are imported again after the configuration operation is performed, and storing the updated configuration files in the data storage unit for replacing the corresponding configuration files.
[0025] In the present invention, the system is configured to collect and update configuration files to determine the configuration location, analyze and verify the consistency of the configuration content, and perform post-use storage processing as an organic whole, which greatly improves the processing efficiency, correctness, and rationality of the updated configuration files. It is an important material basis for achieving efficient and reasonable management and control of secondary device configuration files.
[0026] The beneficial effects of the intelligent substation secondary equipment configuration file management method and system provided by the present invention are:
[0027] This method digitizes the acquired update configuration files and performs a correspondence analysis of their configuration locations to determine the replacement relationship between the configuration files. This method then performs a consistency analysis between the replaced configuration files and the update configuration files. This not only verifies the update configuration file's parameters to ensure their completeness and validity, but also adjusts the configuration file's content format to ensure proper use and reference. Compared to manual management of update configuration files, this method significantly improves the efficiency of update configuration file management and ensures accurate verification of the update configuration file's rationality and correctness.
[0028] The system is configured to collect updated configuration files for configuration location determination, configuration content consistency analysis and verification, and post-use storage processing, which greatly improves the processing efficiency, correctness and rationality of updated configuration files. It is an important material basis for achieving efficient and reasonable management and control of secondary equipment configuration files. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0030] Figure 1 A diagram showing the steps of a method for managing and controlling configuration files of secondary equipment in a smart substation provided by an embodiment of the present invention;
[0031] Figure 2 A schematic diagram of the structure of a smart substation secondary equipment configuration file management and control system provided by an embodiment of the present invention;
[0032] Figure 3 This is a diagram of the consistency analysis steps of the smart substation secondary equipment configuration file management method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
[0034] Substation secondary equipment is updated and adjusted based on actual usage and needs. These adjustments require simultaneous configuration updates. Configuration files serve as guidance for secondary equipment updates. Typically, configuration file management is performed manually. This significantly reduces efficiency, requiring operators to constantly perform comparative analysis and storage. This consumes significant time before configuration files are used, increasing operational time. Furthermore, manual management can lead to errors due to human factors.
[0035] refer to Figures 1 to 3 An embodiment of the present invention provides a method for managing and controlling configuration files of secondary equipment in a smart substation. The method digitizes the acquired updated configuration files, performs correspondence analysis of the configuration locations, determines the replacement relationship of the configuration files, and then performs consistency analysis between the replaced configuration files and the updated configuration files. On the one hand, the parameter information of the updated configuration files can be verified to ensure that the parameters of the updated configuration files are complete and valid. On the other hand, the content format of the configuration files can be adjusted to form the correct content format to ensure that the updated configuration files are correctly used and referenced. Compared with manual management and processing of updated configuration files, this method not only greatly improves the efficiency of management and processing of updated configuration files, but also ensures accurate verification of the rationality and correctness of the updated configuration files.
[0036] The smart substation secondary equipment configuration file management method specifically includes the following steps:
[0037] S1: Obtain all update configuration files, perform file correspondence analysis, and determine configuration files to be replaced corresponding to different update configuration files.
[0038] Obtain all updated configuration files and perform file correspondence analysis to determine the configuration files to be replaced corresponding to different updated configuration files, including: obtaining all current device configuration files, and performing matching correspondence analysis in combination with different updated configuration files to form matching correspondence analysis result data; based on the matching correspondence analysis result data, perform matching analysis based on connection relationships to determine the configuration files to be replaced corresponding to different updated configuration files.
[0039] Determining the configuration file to be replaced based on the current configuration relationship of the updated configuration file essentially means determining the user of the updated configuration file. Since the positional relationship of the devices in the secondary circuit is relative, in order to accurately determine the replacement configuration file corresponding to the updated configuration file, a matching analysis can be performed based on the connection relationship information contained in the updated configuration file. This not only determines the corresponding configuration file to be replaced, but also performs a verification and sorting of the connection relationship.
[0040] Obtain all current device configuration files, and perform matching and corresponding analysis in combination with different update configuration files to form matching and corresponding analysis result data, including: determining the corresponding configuration device based on the update configuration file, and determining the corresponding current device based on the device configuration file; performing matching and corresponding analysis based on the configuration devices corresponding to different update configuration files and the current devices corresponding to different device configuration files to form matching and corresponding analysis result data.
[0041] To perform a matching correspondence analysis on the positional relationship of the updated configuration file, it is first necessary to determine the object device for which the configuration of the updated configuration file is to be updated, and then perform a corresponding determination through the object device under the current secondary circuit configuration to preliminarily lock the possible configuration update objects of the updated configuration file.
[0042] According to the configuration devices corresponding to different update configuration files and the current devices corresponding to different device configuration files, a matching correspondence analysis is performed to form matching correspondence analysis result data, including: for any configuration device, there is only one current device corresponding to the configuration device among all current devices, and there are no other identical configuration devices among all configuration devices, then the update configuration file corresponding to the configuration device and the device configuration file set corresponding to the corresponding current device are formed to form a matching replacement file set; for any configuration device, there is only one current device corresponding to the configuration device among all current devices, but there are other identical configuration devices among all configuration devices, then the corresponding update configuration files of all identical configuration devices and the device configuration file set corresponding to the corresponding current device are formed to form a suspected replacement file set. set; for any configuration device, there are multiple current devices corresponding to the configuration device among all current devices, but there is no other identical configuration device among all configuration devices, then the device configuration files corresponding to the multiple current devices and the corresponding update configuration file set of the corresponding configuration devices are formed to form a suspected replacement file set; for any configuration device, there are multiple current devices corresponding to the configuration device among all current devices, and there are other identical configuration devices among all configuration devices, then the device configuration files corresponding to the multiple current devices and the corresponding update configuration file set of all identical configuration devices are formed to form a suspected replacement file set; for any configuration device, there is no current device corresponding to the configuration device among all current devices, then the update configuration file corresponding to the configuration device is determined as a new configuration file.
[0043] Of course, there are many situations in the first matching of devices based on the corresponding configuration update, including the matching of devices with unique corresponding relationships. In this case, it can basically be determined that the updated configuration file is the configuration file that needs to be updated for the device. The second is that the devices that need to be updated may be added under the current device configuration, and the added device type also exists in the current device. In this way, it is only possible to preliminarily judge the suspected configuration range of the updated configuration file. The third is that the current device itself reuses the same type of device, and the configuration file also provides the updated configuration information of these devices. In this way, only a certain suspected range can be circled, and further matching confirmation is required. The fourth is that the updated configuration file is for the configuration of newly added devices that the current device does not have. This updated configuration file is a preliminary configuration file and does not require excessive matching processing.
[0044] According to the matching correspondence analysis result data, a matching analysis based on the connection relationship is performed to determine the configuration files to be replaced corresponding to different update configuration files, including: extracting the corresponding update connection relationship information for different update configuration files, and extracting the corresponding device connection relationship information for different device configuration files; performing a matching verification analysis based on the connection relationship for all matching replacement file sets based on the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files to form matching verification analysis result information; performing a matching correspondence analysis based on the connection relationship for all suspected replacement file sets based on the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files to form matching correspondence analysis result information.
[0045] For the preliminary matching results formed by matching the devices, further accurate matching can be performed by extracting the logical connection relationship in the configuration file. Of course, for the one-to-one correspondence determined in the device matching, although it has been basically determined that the updated configuration file is the replacement update file of the corresponding device configuration file, verification is still required. After all, the acquisition of the updated matching file is input, and there is a certain risk of initial data input error. For suspected matching sets, the matching relationship can be accurately determined based on the connection relationship. Of course, this matching determination also verifies the matching between each other to a certain extent.
[0046] According to the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files, a matching verification analysis based on the connection relationship is performed on all matching replacement file sets to form matching verification analysis result information, including: extracting the update connection relationship information corresponding to the update configuration files and the device connection relationship information corresponding to the device configuration files in the matching replacement file set, and performing the following matching verification analysis: if there is a new connection relationship in the update connection relationship information relative to the device connection relationship information, and the remaining connection relationship after excluding all new connection relationships has a one-to-one correspondence with the connection relationship in the device connection relationship information, then the device configuration file is determined to be the configuration file to be replaced by the update configuration file; if there is no new connection relationship in the update connection relationship information relative to the device connection relationship information, and all connection relationships have a one-to-one correspondence with the connection relationship in the device connection relationship information, then the device configuration file is determined to be the configuration file to be replaced by the update configuration file.
[0047] When verifying the connection relationship matching between the uniquely corresponding update matching file and the device matching file, it should be noted that after removing the interface connection relationships or other configuration connection relationships that have been changed and added or subtracted in the update configuration file, the remaining configuration connection relationships should have a one-to-one correspondence with the connection relationships provided by the current configuration file. If there is any mismatch, it is considered that the information in the update configuration file is incorrect.
[0048] According to the update connection relationship information corresponding to different update configuration files and the device connection relationship information corresponding to different device configuration files, a matching correspondence analysis based on the connection relationship is performed on all suspected replacement file sets to form matching correspondence analysis result information, including: extracting the update connection relationship information corresponding to all update configuration files and the device connection relationship information corresponding to all device configuration files in the suspected replacement file set; according to the update connection relationship information corresponding to different update configuration files, determining the matching quantity of the connection relationship in the device connection relationship information corresponding to all device configuration files; determining the update configuration file with the largest connection relationship matching quantity among all update configuration files corresponding to the device configuration file as the corresponding matching update configuration file, and using the device configuration file as the configuration file to be replaced corresponding to the update configuration file.
[0049] For a suspected match set, it's understood that if the updated configuration file and the device configuration file exactly match, the connection relationships between the two files will have the highest degree of match. Even if the connection relationships in the updated configuration file modify, add, or remove certain interfaces from the existing connection relationships, the match level will still be the highest. Therefore, based on the number of matches, the updated configuration file with the highest number of matches can be determined as the replacement for the device configuration file.
[0050] S2: For different update configuration files, perform replacement consistency analysis according to the corresponding configuration files to be replaced, and generate replacement consistency analysis result data.
[0051] For different update configuration files, replacement consistency analysis is performed according to the corresponding configuration files to be replaced to form replacement consistency analysis result data, including: format correspondence between the configuration file to be replaced and the corresponding update configuration file: if the format of the configuration file to be replaced is consistent with the format of the update configuration file, the update configuration file is calibrated for format consistency; if the format of the configuration file to be replaced is inconsistent with the format of the update configuration file, the update configuration file is calibrated for format adjustment; for the update configuration file that is calibrated as having consistent format, parameter correspondence consistency analysis is performed between the configuration file to be replaced and the update configuration file to form parameter consistency analysis result information.
[0052] After completing the configuration location match of the updated configuration file, a consistency analysis of the configuration file content is required. This analysis mainly compares the format and parameters of the configuration file to ensure that the format standard of the configuration file is consistent with the device configuration file, avoiding configuration errors caused by inconsistencies. The format consistency analysis is performed first. Only under the premise of format consistency can the subsequent parameter consistency matching analysis be performed. Therefore, different formats may cause errors when locating parameter positions.
[0053] For the updated configuration file that is calibrated as having a consistent format, a parameter correspondence consistency analysis is performed between the configuration file to be replaced and the updated configuration file to form parameter consistency analysis result information, including: position marking of all parameters in the configuration file to be replaced, and extracting the position information of all parameters in the updated configuration file, and performing the following consistency analysis: if the position information of all parameters in the configuration file to be replaced corresponds one-to-one with the position information in the updated configuration file, the updated configuration file is calibrated for parameter consistency; if the position information of all parameters in the configuration file to be replaced is inconsistent with the position information in the updated configuration file, the updated configuration file is calibrated for parameter inconsistency; the updated configuration file calibrated as having consistent parameters is used as the replacement configuration file for the device configuration file.
[0054] The consistency analysis of parameters is mainly to determine the position information of the corresponding parameters and perform correspondence analysis of the position information. It should be noted that the parameters corresponding to the parameters will not be analyzed for consistency. After all, the updated parameters will be adaptively adjusted. In addition, the update of the configuration file will increase or decrease the parameters. The new additions can be accurately compared, and the reductions are not directly omitted, but the parameters of the parameters are reset to zero or suppressed. Therefore, there will be no erroneous judgment of inconsistent matching due to increases or decreases.
[0055] S3: Output the replacement configuration file based on the replacement consistency analysis result data and store it.
[0056] The replacement configuration file can be output for storage, or the replacement configuration file can be collected for use after output, which is equivalent to an actual verification of the project, and then stored.
[0057] The present invention also provides a smart substation secondary equipment configuration file management and control system, which includes: a data input unit for obtaining all updated configuration files; a data storage unit for storing all configuration files for update operations; a consistency analysis unit for obtaining the updated configuration files obtained by the data input unit and the configuration files stored by the data storage unit, performing replacement consistency analysis, and forming replacement consistency analysis result data; an output acquisition unit for outputting the updated configuration files after analysis according to the consistency analysis unit, obtaining the updated configuration files imported again after the configuration operation, and storing the updated configuration files in the data storage unit for replacing the corresponding configuration files.
[0058] The system is configured to collect updated configuration files for configuration location determination, configuration content consistency analysis and verification, and post-use storage processing, which greatly improves the processing efficiency, correctness and rationality of updated configuration files. It is an important material basis for achieving efficient and reasonable management and control of secondary equipment configuration files.
[0059] In summary, the beneficial effects of the smart substation secondary equipment configuration file management and control method and system provided by the embodiments of the present invention are:
[0060] This method digitizes the acquired update configuration files and performs a correspondence analysis of their configuration locations to determine the replacement relationship between the configuration files. This method then performs a consistency analysis between the replaced configuration files and the update configuration files. This not only verifies the update configuration file's parameters to ensure their completeness and validity, but also adjusts the configuration file's content format to ensure proper use and reference. Compared to manual management of update configuration files, this method significantly improves the efficiency of update configuration file management and ensures accurate verification of the update configuration file's rationality and correctness.
[0061] The system is configured to collect updated configuration files for configuration location determination, configuration content consistency analysis and verification, and post-use storage processing, which greatly improves the processing efficiency, correctness and rationality of updated configuration files. It is an important material basis for achieving efficient and reasonable management and control of secondary equipment configuration files.
[0062] In the embodiment of the present application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be achieved by means of the arrangement order of each piece of information agreed in advance (such as specified in the protocol), thereby reducing the indication overhead to a certain extent. At the same time, the common parts of each piece of information can also be identified and indicated uniformly to reduce the indication overhead caused by indicating the same information separately.
[0063] In addition, the specific indication method can also be various existing indication methods, such as but not limited to the above-mentioned indication methods and various combinations thereof. The specific details of the various indication methods can be referred to the prior art and will not be repeated herein. As can be seen from the above, for example, when it is necessary to indicate multiple information of the same type, there may be a situation where the indication methods for different information are different. In the specific implementation process, the required indication method can be selected according to specific needs. The embodiment of the present application does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present application should be understood to cover various methods that can enable the party to be indicated to obtain the information to be indicated.
[0064] It should be understood that the information to be indicated can be sent as a whole or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in the embodiments of this application. The sending period and / or sending time of these sub-information can be predefined, for example, predefined according to a protocol, or can be configured by the transmitting device by sending configuration information to the receiving device.
[0065] "Pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in the device, and the embodiments of the present application do not limit the specific implementation method. Among them, "saving" can mean saving in one or more memories. The one or more memories can be set separately or integrated in an encoder or decoder, a processor, or a communication device. The one or more memories can also be partially set separately and partially integrated in a decoder, a processor, or a communication device. The type of memory can be any form of storage medium, and the embodiments of the present application do not limit this.
[0066] The "protocol" involved in the embodiments of the present application may refer to a protocol family in the communication field, a standard protocol with a similar protocol family frame structure, or a related protocol used in future communication systems. The embodiments of the present application do not make specific limitations on this.
[0067] In the embodiments of the present application, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will perform corresponding processing under certain objective circumstances. It does not limit the time, nor does it require the device to perform judgment actions when implemented, nor does it mean that there are other limitations.
[0068] In the description of the embodiments of this application, unless otherwise specified, " / " indicates that the associated objects are in an "or" relationship. For example, A / B can mean A or B. "And / or" in the embodiments of this application is merely a description of the associated relationship between the associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A alone, A and B together, or B alone. A and B can be singular or plural. Furthermore, in the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, "at least one of a, b, or c" can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural. Furthermore, to facilitate the clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish between identical or similar items with substantially the same function or effect. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. At the same time, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0069] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), but may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0070] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0071] The above embodiments can be implemented in whole or in part via software, hardware (e.g., circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When loaded or executed on a computer, the processes or functions described in the embodiments of this application are fully or partially generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired means (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium accessible by a computer or a data storage device such as a server or data center that contains a collection of one or more available media. The available medium can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. The semiconductor media can be a solid-state drive.
[0072] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. A and B can be singular or plural. Furthermore, the character " / " as used herein generally indicates an "or" relationship between the associated objects, but it may also indicate an "and / or" relationship. For specific understanding, please refer to the context.
[0073] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, "at least one of a, b, or c" can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or plural.
[0074] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0075] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0076] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0077] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0078] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0079] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0080] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0081] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A method for managing and controlling configuration files of secondary equipment in smart substations, characterized in that: include: Obtain all updated configuration files and perform file correspondence analysis to determine the configuration files to be replaced corresponding to the different updated configuration files; specifically including: obtaining all current device configuration files, determining the corresponding configuration devices based on the updated configuration files, and determining the corresponding current devices based on the device configuration files; For any of the configuration devices, if there is only one current device among all the current devices that corresponds to the configuration device, but the configuration device exists in other identical configuration devices among all the configuration devices, then the update configuration files corresponding to all the identical configuration devices and the device configuration files corresponding to the corresponding current device are collected to form a suspected replacement file set; For any of the configuration devices, if there are multiple current devices corresponding to the configuration device among all the current devices, and if the configuration device does not have any other identical configuration device among all the configuration devices, then the device configuration files corresponding to the multiple current devices and the set of update configuration files corresponding to the corresponding configuration devices are combined to form a suspected replacement file set; if the configuration device has any other identical configuration device among all the configuration devices, then the device configuration files corresponding to the multiple current devices and the set of update configuration files corresponding to the identical configuration devices are combined to form a suspected replacement file set; Extracting update connection relationship information corresponding to all the update configuration files and device connection relationship information corresponding to all the device configuration files in the suspected replacement file set; determining, according to the updated connection relationship information corresponding to different updated configuration files, a matching quantity of connection relationships in the device connection relationship information corresponding to all the device configuration files; Determine the updated configuration file with the largest connection relationship matching amount among all the updated configuration files corresponding to the device configuration file as the updated configuration file corresponding to the device configuration file, and use the device configuration file as the corresponding configuration file to be replaced; For different update configuration files, performing replacement consistency analysis according to the corresponding configuration files to be replaced, and forming replacement consistency analysis result data; According to the replacement consistency analysis result data, a replacement configuration file is output and stored.
2. The method for controlling configuration files of secondary equipment in smart substations according to claim 1, characterized in that: The method further comprises: For any of the configuration devices, if no current device among all the current devices corresponds to the configuration device, the updated configuration file corresponding to the configuration device is determined as a newly added configuration file; For any of the configuration devices, there is only one current device corresponding to the configuration device among all the current devices, and there are no other identical configuration devices among all the configuration devices, then the update configuration file corresponding to the configuration device and the device configuration file corresponding to the corresponding current device are set to form a matching replacement file set.
3. The method for controlling configuration files of secondary equipment in smart substations according to claim 2, characterized in that: Performing a matching verification analysis based on the connection relationship on all the matching replacement file sets to form matching verification analysis result information, including: Extract the update connection relationship information corresponding to the update configuration file and the device connection relationship information corresponding to the device configuration file from the matching replacement file set, and perform the following matching verification analysis: If there is a newly added connection relationship in the updated connection relationship information relative to the device connection relationship information, and the connection relationships remaining after excluding all the newly added connection relationships have a one-to-one correspondence with the connection relationships in the device connection relationship information, then determining that the device configuration file is the configuration file to be replaced by the updated configuration file; If there is no new connection relationship in the updated connection relationship information relative to the device connection relationship information, and all connection relationships have a one-to-one correspondence with the connection relationships in the device connection relationship information, then the device configuration file is determined to be the configuration file to be replaced by the updated configuration file.
4. The method for controlling configuration files of secondary equipment in smart substations according to claim 1, characterized in that: The performing of replacement consistency analysis on different update configuration files according to the corresponding configuration files to be replaced to form replacement consistency analysis result data includes: Match the format of the configuration file to be replaced with the corresponding update configuration file: If the format of the configuration file to be replaced is consistent with the format of the updated configuration file, performing format consistency calibration on the updated configuration file; If the format of the configuration file to be replaced is inconsistent with the format of the updated configuration file, performing format adjustment and calibration on the updated configuration file; For the update configuration file that is marked as having the same format, a parameter consistency analysis is performed between the configuration file to be replaced and the update configuration file to generate parameter consistency analysis result information.
5. The method for controlling configuration files of secondary equipment in smart substations according to claim 4, characterized in that: The performing of a parameter consistency analysis between the configuration file to be replaced and the update configuration file on the update configuration file that is marked as having the same format, and forming parameter consistency analysis result information, includes: Mark the positions of all parameters in the configuration file to be replaced, extract the position information of all parameters in the updated configuration file, and perform the following consistency analysis: If there is a one-to-one correspondence between the position information of all parameters in the configuration file to be replaced and the position information in the updated configuration file, then performing parameter consistency calibration on the updated configuration file; If there is inconsistency between the position information of all parameters in the configuration file to be replaced and the position information in the updated configuration file, performing parameter inconsistency calibration on the updated configuration file; The updated configuration file marked as having consistent parameters is used as a replacement configuration file for the device configuration file.
6. A smart substation secondary equipment configuration file management and control system, characterized in that: Implementing the method for controlling configuration files of secondary equipment in a smart substation according to any one of claims 1 to 5, comprising: A data input unit for obtaining all updated configuration files; A data storage unit, used for storing all configuration files for update operations; a consistency analysis unit, configured to obtain the update configuration file obtained by the data input unit and the configuration file stored by the data storage unit, perform replacement consistency analysis, and generate replacement consistency analysis result data; The output collection unit is used to output the updated configuration file analyzed by the consistency analysis unit, obtain the updated configuration file imported again after the configuration operation, and store the updated configuration file in the data storage unit to replace the corresponding configuration file.
Citation Information
Patent Citations
Intelligent substation secondary equipment configuration file change management method
CN116610637A
Method, device and equipment for determining reconstruction and extension information of transformer substation and medium
CN117194336A