Intelligent substation secondary equipment configuration file management and control method and system
Through the intelligent substation secondary equipment configuration file management methods and systems, information technology means are used to manage configuration files, solving the problems of low manual management efficiency and high error rate, and achieving efficient and accurate configuration file management.
Patent Information
- Application Number
- CN202510498789.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-04-21
AI Technical Summary
In the prior art, the management of secondary equipment configuration files of substations mainly relies on manual labor, resulting in low management efficiency and management errors.
By designing a method and system for the secondary equipment configuration file management of intelligent substations, we use information technology to obtain update configuration files, conduct corresponding analysis of configuration locations, determine the replacement relationship of configuration files, and conduct consistency analysis to ensure that the parameters and format of the update configuration files are effective.
Improve the management and processing efficiency of updating configuration files, ensure the rationality and correctness of configuration files, and reduce management errors caused by human factors.
Smart Images

Figure CN120011313A_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 of an intelligent substation. Background Art
[0002] The secondary equipment of the substation is updated and adjusted according to the actual usage and needs. When making adjustments, the configuration needs to be updated at the same time. The configuration file is the guiding data for the update of the secondary equipment. Usually, the management of the configuration file is done manually. On the one hand, manual management of the configuration file will greatly reduce the efficiency of the configuration file management and processing. The operating personnel need to constantly perform replacement comparative analysis and storage processing, which consumes a lot of time for the analysis and processing of the configuration file before use, thereby increasing the operation time. On the other hand, the manual management method will lead to certain management errors due to human factors.
[0003] Therefore, designing a method and system for controlling configuration files of secondary equipment in smart 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 smart substations. By informatizing the acquired update configuration files, and performing correspondence analysis of the configuration positions, the replacement relationship of the configuration files is determined, and then the replaced configuration files and the update configuration files are analyzed for consistency. On the one hand, the parameter information of the update configuration files can be checked to ensure that the parameters of the update configuration files are complete and valid. On the other hand, the content format of the configuration files is adjusted to form the correct content format to ensure that the update configuration files are correctly used and referenced. Compared with the manual management and processing of the update configuration files, not only the efficiency of the management and processing of the update configuration files is greatly improved, but also the accurate verification of the rationality and correctness of the update configuration files is ensured.
[0005] The purpose of the present invention is also to provide a smart substation secondary equipment configuration file management and control system, which 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, thereby greatly improving 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, and performing file correspondence analysis to determine 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 to form replacement consistency analysis result data; outputting the replacement configuration file according to the replacement consistency analysis result data and storing it.
[0007] In the present invention, the method performs informatization of the acquired update configuration file, performs correspondence analysis of the configuration position, determines the replacement relationship of the configuration file, and then performs consistency analysis on the replaced configuration file and the update configuration file. On the one hand, the parameter information of the update configuration file can be checked to ensure that the parameters of the update configuration file are complete and valid, and on the other hand, the content format of the configuration file is adjusted to form a correct content format to ensure that the update configuration file is correctly used and referenced. Compared with manual management and processing of the update configuration file, not only the efficiency of the management and processing of the update configuration file is greatly improved, but also the accurate verification of the rationality and correctness of the update configuration file is guaranteed.
[0008] As a possible implementation method, all update configuration files are obtained, and file correspondence analysis is performed to determine the configuration files to be replaced corresponding to different update configuration files, including: obtaining all current device configuration files, and performing matching correspondence analysis in combination with different update configuration files to form matching correspondence analysis result data; according to the matching correspondence analysis result data, matching analysis based on connection relationships is performed to determine the configuration files to be replaced corresponding to different update configuration files.
[0009] In the present invention, to determine the configuration file to be replaced corresponding to the updated configuration file in the current configuration relationship is essentially to determine the user object of the updated configuration file. Since the positional relationship of the devices on the secondary circuit is relative, in order to accurately determine the replacement configuration file corresponding to the updated configuration file, matching analysis can be performed through the connection relationship information contained in the updated configuration file, which can determine the corresponding configuration file to be replaced on the one hand, and is equivalent to a verification and sorting of the connection relationship on the other hand.
[0010] As a possible implementation method, all current device configuration files are obtained, and matching and corresponding analysis is performed in combination with different updated configuration files to form matching and corresponding analysis result data, including: determining the corresponding configuration device according to the updated configuration file, and determining the corresponding current device according to the device configuration file; performing matching and corresponding analysis according to 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, the matching correspondence analysis of the positional relationship of the update configuration file is performed. First, the object device to be configured and updated by the update configuration file needs to be determined, and then the corresponding determination is performed through the object device under the current secondary loop configuration to preliminarily lock the possible configuration update object of the update 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 update configuration files corresponding to all identical configuration devices and the device configuration file set corresponding to the corresponding current device are formed to form a matching replacement file set. 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 sets 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 sets of all the same 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 for the matching of devices based on the corresponding configuration update, including the matching of devices with a unique corresponding relationship. In this case, it can be basically determined that the updated configuration file is the configuration file that needs to be updated for the device. The second is that the device that needs 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 determine 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 connection relationship is performed according to the matching corresponding 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 matching verification analysis based on 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 matching corresponding analysis based on 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 corresponding analysis result information.
[0015] In the present invention, for the preliminary matching results formed by matching the device, 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, it still needs to be verified. 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 accurate matching relationship can be determined based on the connection relationship. Of course, this matching determination also verifies the matching between each other 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 the 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 requires that, after removing the interface connection relationship or other configuration connection relationship that has been changed and increased or decreased 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 a 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 files 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, for the suspected matching set, it can be understood that if the updated configuration file and the device configuration file have an exact match, then the matching degree of the connection relationship corresponding to the two files is the highest. Even if the connection relationship in the updated configuration file changes or adds or reduces some interfaces of the current connection relationship, the matching degree is still the highest, so the updated configuration file corresponding to the highest matching number can be determined as the replacement file of the device configuration file according to the matching number.
[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 calibrated as having consistent formats, 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 position matching of the updated configuration file, it is necessary to perform consistency analysis on the content of the configuration file. This analysis mainly compares and analyzes 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 the situation where the configuration error occurs due to inconsistency. First, the format consistency analysis is performed. Only under the premise of format consistency can the subsequent parameter consistency matching analysis be realized. Therefore, different formats may cause errors when locating parameter positions.
[0022] As a possible implementation method, for the update configuration file 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 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 update configuration file, the update configuration file is calibrated for parameter consistency; if there is an inconsistency between the position information of all parameters in the configuration file to be replaced and 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 analyzed for consistency. After all, the updated parameters will be adaptively adjusted. In addition, updating 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, used to obtain all updated configuration files; a data storage unit, used to store all configuration files for update operations; a consistency analysis unit, used to obtain the updated configuration files obtained by the data input unit and the configuration files stored in the data storage unit, perform replacement consistency analysis, and form replacement consistency analysis result data; an output acquisition unit, used to output the updated configuration files that have completed the analysis according to the consistency analysis unit output, and obtain the updated configuration files that are imported again after the configuration operation is performed, and store the updated configuration files in the data storage unit to replace the corresponding configuration files.
[0025] In the present invention, the system is configured to collect 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 update configuration files, and 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 as follows: The method performs informatization of the acquired update configuration file, performs correspondence analysis of the configuration position, determines the replacement relationship of the configuration file, and then performs consistency analysis on the replaced configuration file and the update configuration file. On the one hand, the parameter information of the update configuration file can be checked to ensure that the parameters of the update configuration file are complete and valid. On the other hand, the content format of the configuration file is adjusted to form a correct content format to ensure that the update configuration file is correctly used and referenced. Compared with manual management and processing of the update configuration file, not only the efficiency of the management and processing of the update configuration file is greatly improved, but also the accurate verification of the rationality and correctness of the update configuration file is guaranteed.
[0027] The system is configured to collect updated 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. This greatly improves the processing efficiency, correctness, and rationality of updated configuration files, and is an important material basis for achieving efficient and reasonable management and control of secondary equipment configuration files. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments of the present invention are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 A step diagram of a method for controlling a configuration file of a secondary device in a smart substation provided by an embodiment of the present invention; 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; Figure 3 A diagram of the consistency analysis steps of the smart substation secondary equipment configuration file management method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0031] The secondary equipment of the substation is updated and adjusted according to the actual usage and needs. When making adjustments, the configuration needs to be updated at the same time. The configuration file is the guiding data for the update of the secondary equipment. Usually, the management of the configuration file is done manually. On the one hand, manual management of the configuration file will greatly reduce the efficiency of the configuration file management and processing. The operating personnel need to constantly perform replacement comparative analysis and storage processing, which consumes a lot of time for the analysis and processing of the configuration file before use, thereby increasing the operation time. On the other hand, the manual management method will lead to certain management errors due to human factors.
[0032] refer to Figure 1~Figure 3 The embodiment of the present invention provides a method for managing and controlling the configuration files of secondary equipment in smart substations. The method determines the replacement relationship of the configuration files by informatizing the acquired update configuration files and performing correspondence analysis of the configuration positions, and then performs consistency analysis on the replaced configuration files and the update configuration files. On the one hand, the parameter information of the update configuration files can be checked to ensure that the parameters of the update 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 update configuration files are correctly used and referenced. Compared with the manual management and processing of the update configuration files, it not only greatly improves the efficiency of the management and processing of the update configuration files, but also ensures the accurate verification of the rationality and correctness of the update configuration files.
[0033] The smart substation secondary equipment configuration file management and control method specifically includes the following steps: S1: Obtain all update configuration files, perform file correspondence analysis, and determine configuration files to be replaced corresponding to different update configuration files.
[0034] Obtain all update configuration files, and perform file correspondence analysis to determine the configuration files to be replaced corresponding to different update configuration files, including: obtaining all current device configuration files, and performing matching correspondence analysis in combination with different update configuration files to form matching correspondence analysis result data; performing matching analysis based on connection relationships according to the matching correspondence analysis result data to determine the configuration files to be replaced corresponding to different update configuration files.
[0035] To determine the configuration file to be replaced corresponding to the updated configuration file in the current configuration relationship is essentially to determine the user of the updated configuration file. Since the position relationship of the devices on the secondary circuit is relative, in order to accurately determine the replacement configuration file corresponding to the updated configuration file, the connection relationship information contained in the updated configuration file can be used for matching analysis. This can determine the corresponding configuration file to be replaced on the one hand, and on the other hand, it is equivalent to a verification and sorting of the connection relationship.
[0036] 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 according to the update configuration file, and determining the corresponding current device according to the device configuration file; performing matching and corresponding analysis according to 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.
[0037] To conduct a matching correspondence analysis of 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 in the possible configuration update objects of the updated configuration file.
[0038] 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 used 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 used 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 the same 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.
[0039] Of course, there are many situations in the first matching of devices based on the corresponding configuration update, including the matching of devices with a unique corresponding relationship. In this case, it can be basically determined that the updated configuration file is the configuration file that needs to be updated for the device. The second is that the device that needs 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 determine 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 gives the updated configuration information of these devices. In this way, only a certain suspected range can be identified, which requires further matching and confirmation. 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.
[0040] According to the matching correspondence analysis result data, matching analysis based on connection relationship is performed to determine the configuration files to be replaced corresponding to different update configuration files, including: extracting corresponding update connection relationship information for different update configuration files, and extracting corresponding device connection relationship information for different device configuration files; performing matching verification analysis based on connection relationship for 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 matching correspondence analysis based on connection relationship for 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.
[0041] 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, it still needs to be verified. After all, the acquisition of the updated matching file is input, and there is a certain risk of initial data input errors. For suspected matching sets, the accurate matching relationship can be determined based on the connection relationship. Of course, this matching determination also verifies the matching between each other to a certain extent.
[0042] 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 the 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.
[0043] For the connection relationship matching verification of the uniquely corresponding update matching file and 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 a mismatch, consider that the information in the update configuration file is incorrect.
[0044] 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 files 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.
[0045] For the suspected matching set, it can be understood that if the updated configuration file and the device configuration file have an exact match, then the matching degree of the connection relationship corresponding to the two files is the highest. Even if the connection relationship in the updated configuration file changes or adds or reduces some interfaces of the current connection relationship, the matching degree is still the highest, so the updated configuration file corresponding to the highest matching number can be determined as the replacement file of the device configuration file based on the number of matches.
[0046] S2: 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.
[0047] 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 calibrated as having consistent formats, 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.
[0048] After completing the configuration location match of the updated configuration file, it is necessary to perform 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 to avoid configuration errors caused by inconsistencies. First, perform format consistency analysis. 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.
[0049] For the update configuration file calibrated as having 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 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 update configuration file, the update configuration file is calibrated for parameter consistency; if there is an inconsistency between the position information of all parameters in the configuration file to be replaced and the position information in the update configuration file, the update configuration file is calibrated for parameter inconsistency; the update configuration file calibrated as having consistent parameters is used as the replacement configuration file for the device configuration file.
[0050] The consistency analysis of parameters is mainly to determine the location information of the corresponding parameters and perform correspondence analysis of the location 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, updating 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 are reset to zero or suppressed. Therefore, there will be no erroneous judgment of inconsistent matching due to increases or decreases.
[0051] S3: Output the replacement configuration file and store it according to the replacement consistency analysis result data.
[0052] 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 it can be stored.
[0053] The present invention also provides a smart substation secondary equipment configuration file management and control system, the system comprising: a data input unit, used to obtain all update configuration files; a data storage unit, used to store all configuration files for update operations; a consistency analysis unit, used to obtain the update configuration files obtained by the data input unit and the configuration files stored in the data storage unit, perform replacement consistency analysis, and form replacement consistency analysis result data; an output acquisition unit, used to output the updated configuration files that have been analyzed according to the consistency analysis unit, and obtain the updated configuration files that are imported again after the configuration operation is performed, and store the updated configuration files in the data storage unit to replace the corresponding configuration files.
[0054] The system is configured to collect updated 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. This greatly improves the processing efficiency, correctness, and rationality of updated configuration files, and is an important material basis for achieving efficient and reasonable management and control of secondary equipment configuration files.
[0055] In summary, the beneficial effects of the smart substation secondary equipment configuration file management method and system provided by the embodiments of the present invention are: The method performs informatization of the acquired update configuration file, performs correspondence analysis of the configuration position, determines the replacement relationship of the configuration file, and then performs consistency analysis on the replaced configuration file and the update configuration file. On the one hand, the parameter information of the update configuration file can be checked to ensure that the parameters of the update configuration file are complete and valid. On the other hand, the content format of the configuration file is adjusted to form a correct content format to ensure that the update configuration file is correctly used and referenced. Compared with manual management and processing of the update configuration file, not only the efficiency of the management and processing of the update configuration file is greatly improved, but also the accurate verification of the rationality and correctness of the update configuration file is guaranteed.
[0056] The system is configured to collect updated 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. This greatly improves the processing efficiency, correctness, and rationality of updated configuration files, and is an important material basis for achieving efficient and reasonable management and control of secondary equipment configuration files.
[0057] In the embodiments 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 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 (for example, specified by 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.
[0058] In addition, the specific indication method may 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 refer 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, different indication methods may be used for different information. In the specific implementation process, the desired 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.
[0059] 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 embodiment of the present application. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to a protocol, or can be configured by the sending end device by sending configuration information to the receiving end device.
[0060] "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, which is not limited by the embodiments of the present application.
[0061] 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, and the embodiments of the present application do not make specific limitations on this.
[0062] In the embodiments of the present application, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will make corresponding processing under certain objective circumstances. It does not limit the time, nor does it require the device to have a judgment action when implementing it, nor does it mean that there are other limitations.
[0063] In the description of the embodiments of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship. For example, A / B can represent A or B; "and / or" in the embodiments of the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. These three situations, where A and B can be singular or plural. In addition, in the description of the embodiments of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art will appreciate 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 the difference. 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 designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0064] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor 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 the processor may also be any conventional processor, etc.
[0065] 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).
[0066] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. 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 includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. 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 computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0067] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0068] 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 items 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 multiple.
[0069] 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.
[0070] Those of ordinary skill 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 to be beyond the scope of this application.
[0071] Those skilled in the art can 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.
[0072] In the several embodiments provided in the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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.
[0073] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0074] 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.
[0075] 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0076] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling configuration files of secondary equipment in smart substations, characterized in that: include: Obtain all update configuration files, and perform file correspondence analysis to determine configuration files to be replaced corresponding to different update configuration files; 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 the configuration file of the secondary equipment of the smart substation according to claim 1 is characterized in that: The obtaining of all update configuration files and performing file correspondence analysis to determine configuration files to be replaced corresponding to different update configuration files includes: 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; 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 the different update configuration files.
3. The method for controlling the configuration file of the secondary equipment of the smart substation according to claim 2 is characterized in that: The obtaining of all the current device configuration files and performing matching and corresponding analysis in combination with different updated configuration files to form matching and corresponding analysis result data includes: Determine a corresponding configuration device according to the update configuration file, and determine a corresponding current device according to the device configuration file; According to the configuration devices corresponding to different update configuration files and the current devices corresponding to different device configuration files, a matching and corresponding analysis is performed to form the matching and corresponding analysis result data.
4. The method for controlling the configuration file of the secondary equipment of the smart substation according to claim 3 is characterized in that: The performing matching and corresponding analysis according to the configuration devices corresponding to the different update configuration files and the current devices corresponding to the different device configuration files to form the matching and corresponding analysis result data includes: For any of the configuration devices, if there is only one current device corresponding to the configuration device among all the current devices, and there is no other identical configuration device among all the configuration devices, the update configuration file corresponding to the configuration device and the device configuration file set corresponding to the corresponding current device are combined to form a matching replacement file set; For any of the configuration devices, there is only one current device corresponding to the configuration device among all the current devices, but the configuration device has 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, but there is no other identical configuration device among all the configuration devices, then the device configuration files corresponding to the multiple current devices and the update configuration files corresponding to the corresponding configuration devices are collected to form a suspected replacement file set; For any of the configuration devices, if there are multiple devices corresponding to the configuration device in all the current devices, and the configuration device has other identical configuration devices in all the configuration devices, then the device configuration files corresponding to the multiple current devices and the update configuration files corresponding to all the identical configuration devices are collected to form a suspected replacement file set; For any of the configuration devices, if there is no current device corresponding to the configuration device among all the current devices, the update configuration file corresponding to the configuration device is determined as a newly added configuration file.
5. The method for controlling the configuration file of the secondary equipment of the smart substation according to claim 4 is characterized in that: The performing matching analysis based on the connection relationship according to the matching correspondence analysis result data to determine the configuration files to be replaced corresponding to the different updated configuration files includes: For different update configuration files, extract corresponding update connection relationship information, and for different device configuration files, extract corresponding device connection relationship information; 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, performing matching verification analysis based on connection relationship on all the matching replacement file sets to form matching verification analysis result information; 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, matching and corresponding analysis based on connection relationship is performed on all the suspected replacement file sets to form matching and corresponding analysis result information.
6. The method for controlling the configuration file of the secondary equipment of the smart substation according to claim 5 is characterized in that: 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, performing matching verification analysis based on 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 corresponding to 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 there is a one-to-one correspondence between the remaining connection relationships after excluding all the newly added connection relationships and 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 newly added 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.
7. The method for controlling the configuration file of the secondary equipment of the smart substation according to claim 6 is characterized in that: 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, matching and corresponding analysis based on connection relationship is performed on all the suspected replacement file sets to form matching and corresponding analysis result information, including: Extracting the update connection relationship information corresponding to all the update configuration files and the 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; The update configuration file with the largest connection relationship matching amount among all the update configuration files corresponding to the device configuration file is determined as the corresponding matching update configuration file, and the device configuration file is used as the configuration file to be replaced corresponding to the update configuration file.
8. The method for controlling configuration files of secondary equipment in smart substation according to claim 7, characterized in that: The performing 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: The configuration file to be replaced and the corresponding update configuration file are formatted accordingly: If the format of the configuration file to be replaced is consistent with the format of the update configuration file, then 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 updated configuration file, adjusting and calibrating the format of the updated configuration file; For the update configuration file marked as having the same 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.
9. The method for controlling the configuration file of the secondary equipment of the smart substation according to claim 8 is characterized in that: The step of performing a parameter correspondence consistency analysis between the configuration file to be replaced and the update configuration file for 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 update configuration file, then the update configuration file is calibrated for parameter consistency; If there is inconsistency between the position information of all parameters in the configuration file to be replaced and the position information in the update configuration file, then performing parameter inconsistency calibration on the update configuration file; The updated configuration file marked as having consistent parameters is used as a replacement configuration file for the device configuration file.
10. A smart substation secondary equipment configuration file management and control system, characterized in that: include: A data input unit for obtaining all update configuration files; A data storage unit, used for storing all configuration files for updating 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 form replacement consistency analysis result data; The output acquisition 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
Checking method and device for correctness of virtual terminator association configuration of intelligent substation
CN104715035A
Data processing method and device
CN106844432A
Intelligent substation configuration file management and control method for improving debugging and operation inspection efficiency
CN110865849A
Processing flow updating method and device, equipment, storage medium and program product
CN115495124A
Intelligent substation secondary equipment configuration file change management method
CN116610637A