首页 | 本学科首页   官方微博 | 高级检索  
     

基于.NET反射技术的规约插件实现原理
引用本文:朱有产,李玉凯,李自强.基于.NET反射技术的规约插件实现原理[J].电力系统保护与控制,2006,34(22):60-63,83.
作者姓名:朱有产  李玉凯  李自强
作者单位:华北电力大学信息与网络管理中心 河北保定071003
摘    要:针对SCADA系统中远动规约标准的不统一,在分析现有解决方案的基础上,提出了一种基于.NET反射技术的规约插件设计与实现原理。通过将规约处理模块封装成程序集,通信主程序利用反射技术动态加载该程序集,调用其中相关对象的接口函数以完成远动规约的转换。这种设计模式不仅简化了规约插件的开发和部署,而且避免了在W indows环境下所遇到的“DLL地狱”问题。这为SCADA系统中多厂家RTU的集成、多种远动规约的集成提供了灵活方便的解决方案。文中最后给出了用C#实现的具体方法和步骤。

关 键 词:.NET反射技术  规约插件  SCADA  COM
文章编号:1003-4897(2006)22-0060-04
收稿时间:2006-06-21
修稿时间:2006-06-212006-08-01

An implementation principle of protocol plug-in based on technology of. NET reflection
ZHU You-chan, LI Yu-kai, LI Zi-qiang.An implementation principle of protocol plug-in based on technology of. NET reflection[J].Power System Protection and Control,2006,34(22):60-63,83.
Authors:ZHU You-chan  LI Yu-kai  LI Zi-qiang
Affiliation:Center of Information and Network Management, North China Electric Power University, Baoding 071003, China
Abstract:In allusion to the different remote protocol standards in SCADA system,the paper analyzes available solutions and proposes a kind of new design and implementation principle of protocol plug-in based on.NET reflection technology.By using the reflection technology,main communication program loads the assembly dynamically in which the implementation module of protocol has been encapsulated and calls the interface procedure of object in the assembly to implement the task of translation of remote protocol.This design not only simplifies the complexity of development and deployment of protocol plug-in,but also avoids the 'DLL Hell' problem which is existing under Windows environment.As a result,an easy flexible solution scheme for integrating different remote protocols and different RTUs from different manufacturers in SCADA system is available.Finally,the paper presents its implementation method and procedure with C# in detail.
Keywords:,NET Reflection,protocol plug-in,SCADA,COM
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《电力系统保护与控制》浏览原始摘要信息
点击此处可从《电力系统保护与控制》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号