在面临动态、复杂多变的运行环境以及用户灵活多变的需求时,软件要能及时调整其结构和行为,以适应环境以及需求的变更,达到延长软件系统生命周期的目标,即具有在线演化的特性.在线演化是当前软件体系结构中研究的热点,本文在研究自适应演化的过程中,基于面向对象程序模型,利用动态对象替换的机制,提出一种灵活的在线演化框架.通过具体的实例验证,该机制简单灵活,适合软件的在线调整,满足软件运行时变更的需求.
Faced with Dynamic, complex and variable running environment and flexible requirements of users, software must be able to adapt its structure and behavior to satisfy the changes and prolong the life cycle of software, which indicate the software have online-evolution property. Online-evolution software was one of the focuses in the domain of software architecture. Along the research of self-adaptive, utilizing dynamic object replace mechanism, we propose an online evolution framework in the paper, which support evolution based on object-oriented program paradigm. The concrete sample shows that the framework is simple and flexible, which is suit for online evolution and satisfy the dynamic requirements of software.