结合软件agent技术,从构件角度出发,通过对传统构件进行包装,加入行为规则驱动和行为推导两大机制,提出了一种能够在运行时实时适应用户需求变化和运行环境变化的自适应构件。在自适应构件的运行和支撑方面,实现了一个可动态定制自适应构件行为规则的工具,改进了现有的构件支撑平台使得能满足自适应构件的运行需求;最后通过一个例子说明了自适应构件的设计、实现、运行和演化等一系列工作流程。初步实践表明,上述机制和整套框架为开发具有自适应性的网构软件提供了有效支持。
Combined with the technology of agent, from component perspective, through the way of packing the traditional component, adding behavior rule driven and behavior deduced mechanism into the traditional component, this paper presented a self-adaption component which could adapt itself to the varieties of user' s requirements and runtime environment. In the area of self-adaption component' s running environment and its support platform, implemented a tool which could dynamically customize self-adaption component' s behavior, and improved the existing component' s support platform to meet the needs of self-adaption component of running. In the end, explained the self-adaption component' s designing, implementation, running and evolution through an example. Some development examples imply that this mechanism and the whole support framework can support the development of the self-adaption internetware effectively.