首页 | 官方网站   微博 | 高级检索  
     

基于UML状态图和Qt状态机框架的 IEC104规约的分析与实现
引用本文:余存,黄利军,黄浩然,申艳红,张睿,崔晓优,贾帅峰.基于UML状态图和Qt状态机框架的 IEC104规约的分析与实现[J].电力系统保护与控制,2015,43(15):118-125.
作者姓名:余存  黄利军  黄浩然  申艳红  张睿  崔晓优  贾帅峰
作者单位:许继电气直流输电系统公司,河南 许昌 461000;许继电气直流输电系统公司,河南 许昌 461000;许继电气直流输电系统公司,河南 许昌 461000;许继电气直流输电系统公司,河南 许昌 461000;许继电气直流输电系统公司,河南 许昌 461000;许继电气直流输电系统公司,河南 许昌 461000;许继电气直流输电系统公司,河南 许昌 461000
摘    要:为了提高软件的可维护性和可扩展性,降低规约开发的复杂度,基于统一建模语言(UML)的状态图理论对IEC 60870-5-104规约主站端进行了分析。抽象定义了动作、事件和状态,利用UML状态图分层和并发特性设计了规约逻辑状态图,并使用Qt的自动机框架进行了软件实现。结果表明,设计出的状态图层次结构分明,逻辑关系清晰,各功能模块间相互独立,而且降低了耦合度,编程实现简单明了,体现了这种方法的优越性,对其他复杂通信规约的开发也具有一定的参考价值。

关 键 词:IEC  60870-5-104  统一建模语言UML  状态图  有限状态机  Qt
收稿时间:3/9/2015 12:00:00 AM
修稿时间:2015/4/29 0:00:00

Analysis and implementation of IEC 104 based on UML statechart and Qt state machine framework
YU Cun,HUANG Lijun,HUANG Haoran,SHEN Yanhong,ZHANG Rui,CUI Xiaoyou and JIA Shuaifeng.Analysis and implementation of IEC 104 based on UML statechart and Qt state machine framework[J].Power System Protection and Control,2015,43(15):118-125.
Authors:YU Cun  HUANG Lijun  HUANG Haoran  SHEN Yanhong  ZHANG Rui  CUI Xiaoyou and JIA Shuaifeng
Affiliation:XJ HVDC Electric Power Transmission Company, Xuchang 461000, China;XJ HVDC Electric Power Transmission Company, Xuchang 461000, China;XJ HVDC Electric Power Transmission Company, Xuchang 461000, China;XJ HVDC Electric Power Transmission Company, Xuchang 461000, China;XJ HVDC Electric Power Transmission Company, Xuchang 461000, China;XJ HVDC Electric Power Transmission Company, Xuchang 461000, China;XJ HVDC Electric Power Transmission Company, Xuchang 461000, China
Abstract:In order to improve maintainability and expansibility of software, reduce the complexity of protocol development, based on the statechart theory of Unified Modeling Language (UML), this paper analyzes the master side of IEC 60870-5-104, abstracts and defines actions, events and states; designs the statecharts of protocol logic based on the hierarchy and parallel characteristics and implements the software using Qt state machine framework. The results show that the hierarchy structure of statecharts is distinct, the logic is clear, every function model is independent of each other, and the coupling is reduced; programming implementation using Qt state machine framework is easy, showing it is a good solution. This kind of analysis and implementation method has also good reference value to the development of other complex communication protocol.
Keywords:IEC 60870-5-104  Unified Modeling Language  statechart  finite-state machine  Qt
点击此处可从《电力系统保护与控制》浏览原始摘要信息
点击此处可从《电力系统保护与控制》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号