检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈宏君[1] 刘克金[1] 张磊[1] 王国栋[1]
出 处:《计算机系统应用》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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145