###
DOI:
计算机系统应用英文版:2015,24(11):52-57
本文二维码信息
码上扫一扫!
跨平台人机交互软件组件集成框架
(南京南瑞继保电气有限公司, 南京 211102)
Cross-Platform Integration Framework for HMI Software
(NR Electric Co. Ltd., Nanjing 211102, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1147次   下载 2955
Received:March 12, 2015    Revised:April 26, 2015
中文摘要: 提出一种跨平台的人机交互软件组件集成框架,包括三部分内容:一是人机交互软件的框架结构,包括引导程序、主框架、组件实体、消息总线.二是组件的管理方式,组件是跨平台的可单独加载的单元,引导程序将组件二进制代码加载到内存.框架通过虚函数体系动态地派生出不同组件实体对象,并以组件名为关键字散列挂载到消息总线上,组件对应的界面放置在主框架的界面容器内.三是基于领导者-追随者模型的组件状态切换和交互协同工作方式,组件通过鼠标或键盘操作响应获得焦点,进入领导活动状态,处理完事件后进入休眠追随状态.组件之间通过消息交互协同,并支持快速消息总线和事件循环总线.该框架在保护测控装置配置软件、工业控制编程软件进行了应用,实践表明基于该架构显著降低了组件间耦合关系,提高了开发效率和组件复用度.
Abstract: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.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
陈宏君,刘克金,张磊,王国栋.跨平台人机交互软件组件集成框架.计算机系统应用,2015,24(11):52-57
CHEN Hong-Jun,LIU Ke-Jin,ZHANG Lei,WANG Guo-Dong.Cross-Platform Integration Framework for HMI Software.COMPUTER SYSTEMS APPLICATIONS,2015,24(11):52-57