[1]陈宏君,熊蕙. 类C脚本架构设计及在电力系统中的应用[J].计算机技术与发展,2017,27(03):171-175.
 CHEN Hong-jun,XIONG Hui. Design of C Style Script Structure and Its Application in Power System[J].,2017,27(03):171-175.
点击复制

 类C脚本架构设计及在电力系统中的应用()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
27
期数:
2017年03期
页码:
171-175
栏目:
应用开发研究
出版日期:
2017-03-10

文章信息/Info

Title:
 Design of C Style Script Structure and Its Application in Power System
文章编号:
1673-629X(2017)03-0171-05
作者:
 陈宏君熊蕙
 南京南瑞继保电气有限公司
Author(s):
 CHEN Hong-jun;XIONG Hui
关键词:
 类C脚本元件脚本 全局脚本装置配置
Keywords:
 C style scriptcomponent scriptglobal scriptdevice configuration
分类号:
TP39
文献标志码:
A
摘要:
 不同国家和地区的用户在电力系统装置功能和配置上有一定的差别,要求基于工具软件实现装置的灵活配置需求.研发人员在采用模块化、图形化元件搭建装置功能过程中,也需要有手段减轻人机接口配置工作量.为此,提出类C脚本的解决方案,设计了适用于电力系统装置配置建模的API接口函数,支持设置变量属性、信号连线、定值分组、元件投退、IEC61850建模等功能.开发了脚本解析器,通过构建基于表驱动的词法提取、基于命令模式的脚本执行、基于递归下降法的表达式计算、基于多级Hash查找等关键算法,实现了脚本快速解析执行,6万行脚本解析耗时小于3 s.基于该脚本架构,装置研发人员可定义模块化元件脚本,实现多个元件实例配置的自动化复用;可定义全局脚本,根据用户选项,触发条件执行语句,实现灵活的装置选型配置.实践表明,类C脚本显著提高了电力系统保护测控装置的研发效率和产品的适用范围.
Abstract:
 In different countries and regions,power system users have certain difference on the device function and configuration,so the tool software need to achieve the flexible allocation of equipment requirements. Developers also need to reduce the HMI configuration work when using modular and graphical components to setup the device. The solution of C style script is presented,in which API interface is suitable for power system device configuration,and the scripts support variable properties setting,signals linking,parameters grouping, enable or disable components,IEC61850 modeling and other functions. The main modules and script parser processes are implemented by establishment of the key algorithms including lexical extraction based on table driven,script execution based on command mode,expres-sion calculation based on the recursive descent method,and lookup based on multiple Hash. 60000 lines of resolution takes less than 3 seconds. Device developers can define components script, to realize the automatic configuration of reuse. They also can define global scripts,which provide maximum device features and configuration options. Practice shows that class C script can significantly improve the development efficiency of measurement and control device for power system protection and scope of the product.

相似文献/References:

[1]张志宏,吴庆波,邵立松,等.基于飞腾平台TOE协议栈的设计与实现[J].计算机技术与发展,2014,24(07):1.
 ZHANG Zhi-hong,WU Qing-bo,SHAO Li-song,et al. Design and Implementation of TCP/IP Offload Engine Protocol Stack Based on FT Platform[J].,2014,24(03):1.
[2]梁文快,李毅. 改进的基因表达算法对航班优化排序问题研究[J].计算机技术与发展,2014,24(07):5.
 LIANG Wen-kuai,LI Yi. Research on Optimization of Flight Scheduling Problem Based on Improved Gene Expression Algorithm[J].,2014,24(03):5.
[3]黄静,王枫,谢志新,等. EAST文档管理系统的设计与实现[J].计算机技术与发展,2014,24(07):13.
 HUANG Jing,WANG Feng,XIE Zhi-xin,et al. Design and Implementation of EAST Document Management System[J].,2014,24(03):13.
[4]侯善江[],张代远[][][]. 基于样条权函数神经网络P2P流量识别方法[J].计算机技术与发展,2014,24(07):21.
 HOU Shan-jiang[],ZHANG Dai-yuan[][][]. P2P Traffic Identification Based on Spline Weight Function Neural Network[J].,2014,24(03):21.
[5]李璨,耿国华,李康,等. 一种基于三维模型的文物碎片线图生成方法[J].计算机技术与发展,2014,24(07):25.
 LI Can,GENG Guo-hua,LI Kang,et al. A Method of Obtaining Cultural Debris’ s Line Chart Based on Three-dimensional Model[J].,2014,24(03):25.
[6]翁鹤,皮德常. 混沌RBF神经网络异常检测算法[J].计算机技术与发展,2014,24(07):29.
 WENG He,PI De-chang. Chaotic RBF Neural Network Anomaly Detection Algorithm[J].,2014,24(03):29.
[7]刘茜[],荆晓远[],李文倩[],等. 基于流形学习的正交稀疏保留投影[J].计算机技术与发展,2014,24(07):34.
 LIU Qian[],JING Xiao-yuan[,LI Wen-qian[],et al. Orthogonal Sparsity Preserving Projections Based on Manifold Learning[J].,2014,24(03):34.
[8]尚福华,李想,巩淼. 基于模糊框架-产生式知识表示及推理研究[J].计算机技术与发展,2014,24(07):38.
 SHANG Fu-hua,LI Xiang,GONG Miao. Research on Knowledge Representation and Inference Based on Fuzzy Framework-production[J].,2014,24(03):38.
[9]叶偲,李良福,肖樟树. 一种去除运动目标重影的图像镶嵌方法研究[J].计算机技术与发展,2014,24(07):43.
 YE Si,LI Liang-fu,XIAO Zhang-shu. Research of an Image Mosaic Method for Removing Ghost of Moving Targets[J].,2014,24(03):43.
[10]余松平[][],蔡志平[],吴建进[],等. GSM-R信令监测选择录音系统设计与实现[J].计算机技术与发展,2014,24(07):47.
 YU Song-ping[][],CAI Zhi-ping[] WU Jian-jin[],GU Feng-zhi[]. Design and Implementation of an Optional Voice Recording System Based on GSM-R Signaling Monitoring[J].,2014,24(03):47.

更新日期/Last Update: 2017-05-18