动态配置是指在软件系统运行时动态地改变系统的配置项。基于构件的软件系统配置项涉及系统的构件组成、构件间的连接关系和构件的物理分布。根据支持软件系统动态配置的反射体系结构,建立了动态配置模型,分析了动态配置模型的构成要素,定义了动态配置模型的元数据,以保障运行时系统一致性为基础,构造了动态配置模型的元协议。最后,通过实例,分析了所提出的动态配置机制在水利信息系统软件功能动态配置中的应用。实践表明,基于反射的系统动态配置模型及其实现机制,能在水利信息系统中有效应用,为解决水利信息系统的资源动态配置、支持动态需求等问题,提供了可行的技术方案。
Dynamic reconfiguration refers to the change of a software system' s configuration items when the system is running. The configuration items of a software system based components consist of the instantiation and bindings of software components as well as the allocation of components to hardware systems. According to the reflecting architecture of dynamic reeonfiguration systems, this thesis puts forward a reflection based dynamic reconfiguration model and analyzes its composing elements. The metadata of dynamic reconfiguration model are defined and based on the analysis of system consistency, the meta-protocol are also structured. Its application in water information system shows that reflection based dynamic reconfiguration model and mechanism can be effectively used to offer feasible technical scheme for solving problems of resources dynamic reconfiguration and support for dynamic needs of water information system.