Electric Power ›› 2024, Vol. 57 ›› Issue (1): 255-262.DOI: 10.11930/j.issn.1004-9649.202308062

• Power System • Previous Articles    

SCD Two-Layer Vectorization and Change Verification Technology Based on Hash and Edit Distance Algorithm

Yuanbo YE1(), Jiwen WANG1, Wei WANG1, Yurong MAO2(), Zhihua WANG2   

  1. 1. State Grid Anhui Electric Power Co., Ltd., Hefei 230022, China
    2. Wuhan Kemov Electric Co., Ltd., Wuhan 430223, China
  • Received:2023-08-15 Accepted:2023-11-13 Online:2024-01-23 Published:2024-01-28
  • Supported by:
    This work is supported by National Natural Science Foundation of China (No.U2166205) and Science and Technology Project of SGCC (Research on Key Technology of Relay Automatic Debugging in Module Substation, No.5212002000AR).

Abstract:

In view of the sharp increase in operation and maintenance workloads caused by changes in substation configuration description (SCD) file and unclear configuration of secondary equipment in intelligent substations, a two-layer vectorization and change verification technology based on hash and edit distance algorithm for SCD is proposed. Firstly, considering the initiation and verification of file changes, a two-layer vector model for SCD file parsing is constructed using node elements, verification codes and element attributes. Secondly, the hash algorithm is used to transform the constructed text vector model into a hash string vector model. Then, the edit distance algorithm is introduced to calculate the two-layer vector model similarity between the original file and the changed file. Based on the comparison of the first layer similarities, the second layer verification initiation criterion is formed, and the change verification is achieved based on the second layer similarity in combination with the backtracking path method. Finally, the effectiveness of the proposed algorithm was verified through numerical analysis.

Key words: intelligent substation, SCD file verification, vector model, hash algorithm, edit distance, similarity calculation