摘要
针对现有构件通信技术的灵活性低、通用性差以及修改复杂度高等问题,提出一种以参数配置进行构件通信的方式。首先采用软件总线模型建立构件组装平台,然后在总线平台上建立参数共享池、事件共享池等管理对象,最后采用配置参数对象和反射机理实现构件通信技术。结果表明,提出的构件通信技术的灵活性和通用性明显优于其他构件通信技术。基于反射机理的构件组装通信技术在构件组装过程中不需要修改接口代码,不但提高了软件开发的效率而且可以提高软件系统的稳定性。
This paper proposed a new way for component communication based on configuration parameters,aiming at solving such deficiencies of existing component communication technologies as low flexibility,poor versatility,and high complexity modify,etc.At first,a component assembly platform was built up by using the software bus model.Then,a parameter share pool and an event share pool were created on the assembly platform.Finally,component communication technology was realized by using configuration parameters of objects and reflection mechanism.The results showed that the proposed method was obviously better than other counterparts,and it did not need to modify the interface codes in the process of component assembling.This could improve not only the efficiency of software development,but also the stability of software system.
出处
《长春理工大学学报(自然科学版)》
2014年第6期111-114,共4页
Journal of Changchun University of Science and Technology(Natural Science Edition)
关键词
构件组装
构件
反射
构件通信
component assembling
component
reflection
component communications