跨平台人机交互软件组件集成框架  被引量:6

Cross-Platform Integration Framework for HMI Software

在线阅读下载全文

作  者:陈宏君[1] 刘克金[1] 张磊[1] 王国栋[1] 

机构地区:[1]南京南瑞继保电气有限公司,南京211102

出  处:《计算机系统应用》2015年第11期52-57,共6页Computer Systems & Applications

摘  要:提出一种跨平台的人机交互软件组件集成框架,包括三部分内容:一是人机交互软件的框架结构,包括引导程序、主框架、组件实体、消息总线.二是组件的管理方式,组件是跨平台的可单独加载的单元,引导程序将组件二进制代码加载到内存.框架通过虚函数体系动态地派生出不同组件实体对象,并以组件名为关键字散列挂载到消息总线上,组件对应的界面放置在主框架的界面容器内.三是基于领导者-追随者模型的组件状态切换和交互协同工作方式,组件通过鼠标或键盘操作响应获得焦点,进入领导活动状态,处理完事件后进入休眠追随状态.组件之间通过消息交互协同,并支持快速消息总线和事件循环总线.该框架在保护测控装置配置软件、工业控制编程软件进行了应用,实践表明基于该架构显著降低了组件间耦合关系,提高了开发效率和组件复用度.The paper promotes a cross-platform components integration framework for human-machine interaction (HMI) software and illustrates it from three aspects. First of all, the paper introduces its frame construction which includes bootstrap program, mainframe, component entity and message bus. Then it presents the management approach of all components: each component entity is a cross-platform unit loaded by the mainframe separately with the bootstrap program. The framework derives all component entities dynamically through virtual function system, then mounts them to the message bus with their name as hash keyword and inserts their interfaces into the mainframe interface container. Thirdly the paper elaborates the approach for component status switch and interactive collaboration which is based on the leader-imitator pattern and supports fast message bus and event loop bus. In the approach a component gets focus by mouse or keyboard event, it is selected as active leader and enters dormant imitator status again after processing the event. And all components interact with each other through messages. The framework was already put into application in configuration software for protection and monitoring control device and programming software for industrial control, and was demonstrated observably efficient in reducing coupling relationship of components while boosting the development efficiency and component reusability.

关 键 词:跨平台组件 集成框架 消息总线 状态切换 组件协同 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象