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

跨平台人机交互软件组件集成框架
引用本文:陈宏君,刘克金,张磊,王国栋.跨平台人机交互软件组件集成框架[J].计算机系统应用,2015,24(11):52-57.
作者姓名:陈宏君  刘克金  张磊  王国栋
作者单位:南京南瑞继保电气有限公司, 南京 211102,南京南瑞继保电气有限公司, 南京 211102,南京南瑞继保电气有限公司, 南京 211102,南京南瑞继保电气有限公司, 南京 211102
摘    要:提出一种跨平台的人机交互软件组件集成框架,包括三部分内容:一是人机交互软件的框架结构,包括引导程序、主框架、组件实体、消息总线.二是组件的管理方式,组件是跨平台的可单独加载的单元,引导程序将组件二进制代码加载到内存.框架通过虚函数体系动态地派生出不同组件实体对象,并以组件名为关键字散列挂载到消息总线上,组件对应的界面放置在主框架的界面容器内.三是基于领导者-追随者模型的组件状态切换和交互协同工作方式,组件通过鼠标或键盘操作响应获得焦点,进入领导活动状态,处理完事件后进入休眠追随状态.组件之间通过消息交互协同,并支持快速消息总线和事件循环总线.该框架在保护测控装置配置软件、工业控制编程软件进行了应用,实践表明基于该架构显著降低了组件间耦合关系,提高了开发效率和组件复用度.

关 键 词:跨平台组件  集成框架  消息总线  状态切换  组件协同
收稿时间:2015/3/12 0:00:00
修稿时间:2015/4/26 0:00:00

Cross-Platform Integration Framework for HMI Software
CHEN Hong-Jun,LIU Ke-Jin,ZHANG Lei and WANG Guo-Dong.Cross-Platform Integration Framework for HMI Software[J].Computer Systems& Applications,2015,24(11):52-57.
Authors:CHEN Hong-Jun  LIU Ke-Jin  ZHANG Lei and WANG Guo-Dong
Affiliation:NR Electric Co. Ltd., Nanjing 211102, China,NR Electric Co. Ltd., Nanjing 211102, China,NR Electric Co. Ltd., Nanjing 211102, China and NR Electric Co. Ltd., Nanjing 211102, China
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.
Keywords:cross-platform component  integration framework  message bus  status switch  component cooperation
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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