当横切关注点组合到主关注点时,可能出现冲突的情况。该冲突导致体系结构设计难以决策,然而目前也缺乏有效的对这些可能冲突进行处理的方法。针对这一问题,提出了一种体系结构层方面组合的冲突处理方法。该方法结合AHP和加权平均思想的优点,并在定量分析时对结果进行一致性评估,达到了有效解决问题的目的,从而有助于提高软件体系结构设计的质量。最后通过案例和实验证实该冲突处理方法的有效性。
When multiple crosscutting concerns are composed into a primary concern,and two or more crosscutting concerns affect negatively each other and have the same importance,known as contribution conflicts,which bring out architecture design decision problem.Towards this problem,this paper proposed an conflict management approach which handled conflicts firstly based on multiple criteria decision making method analytical hierarchical process(AHP),next using weighted average(WA) theory.The advantage of the approach is combining qualitative description and quantitative analysis,evaluating consistency of results during quantitative analysis,and combining the advantages of AHP with the advantages of WA to solve problems efficiently,moreover helping to improve the design quality of software architecture.Lastly,this conflict management approach was illustrated in detail through case study and experiment.