摘要
基于现有构件以演化方式产生出新的构件是提高软件复用水平和满足用户不断变化需求的关键技术。首先,给出了一种基于多个代理的构件演化交互模型,该模型能够以自治方式实现演化一致性数据处理;其次,利用方面织入机制将新的功能代码准确织入现有构件内部,降低了构件不同功能代码的耦合度;然后,对构件演化的复杂度进行了讨论,给出了四项演化复杂度评价指标和一个复杂度计算模型,以对构件演化成本进行量化估算;最后,以数字化校园中各应用系统间数据交换构件演化为例,证明了方法的可行性和有效性。
Evolving new software component based on previous software components is a key technique to improve software reusability and satisfy users' various demands. In this paper, an interactive evolution model was proposed based on multiple Agents, which could autonomously process consistent data. Then, the aspect weaving mechanism, which can effectively reduce the coupling degree of different function areas, was introduced in evolution to insert new codes into the exact places of target component. Furthermore, the evolution complexity was also discussed and several indicators and a model were given to calculate evolution cost. Finally, a data exchange component used in digital campus system was given to illustrate the effectiveness of above evolution methods.
出处
《计算机应用》
CSCD
北大核心
2011年第3期826-830,共5页
journal of Computer Applications
基金
浙江省自然科学基金资助项目(Y106603)
关键词
软件产品族构件
构件演化
代码织入
演化复杂度
software product family component
component evolution
code weaving
evolution complexity