首页> 中文期刊> 《计算机技术与发展》 >SCL文件逐级自动更新算法设计与实现

SCL文件逐级自动更新算法设计与实现

         

摘要

针对SCL文件前后变化导致变电站工程升级工作量较大的问题,文中设计了基于层次关键字逐级匹配的自动更新算法。该算法基于流文本方式快速解析两个版本的SCL文件,并以层次树型结构管理各文件节点数据。通过导入预先定义的节点匹配关键字设置信息,以旧版本文件数据为基准,在两个版本文件数据的各层结构内基于关键字进行匹配,标记节点的新增、删除或部分更新的标记,并将新版本文件差异内容更新到旧版本文件中,还进行逻辑节点内DAI短地址配置匹配处理和数据模板的刷新处理。基于该方法实现了变电站SCL文件自动对比、增量更新功能,方便了工程的升级维护。%To solve the problem that massive updating workload is aroused by the change of SCL file in substations,it designs an automat-ic updating algorithm based on stepwise matching of hierarchical keywords in this paper. The algorithm implements fast analysis of two different version SCL files with streaming-text based approach,and manages data nodes of each SCL file with hierarchical tree structure. Firstly the algorithm imports pre-defined data nodes to match primary key information and considers the old version SCL file as a base-line. Then it compares the keyword of each node between the two version SCL files and marks every different node as added,deleted or partial updated. Finally the algorithm upgrades the old version SCL file node by node hierarchically with the marked distinctions,mean-while implements the matching process of DOI short addresses within logic nodes and the refreshing of data templates. The algorithm a-chieves automatic comparison and incremental updating of substation SCL files and facilitates the engineering upgraded maintenance ob-servably.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号