从业务模型中发现和识别业务层服务是面向服务架构系统设计的关键活动。为面向服务架构设计,提出了一种基于聚类分析的自动化服务提取方法。该方法将服务提取问题转换为多目标优化求解的问题,以C/U矩阵业务模型为基础,综合考虑服务设计中耦合度、内聚度、重用性、可维护性等原则,构建优化设计的目标函数,并提出模拟退火的求解方法。最后通过案例进行验证。
A key process in the design of the service oriented architecture (SOA) system is to identify appli- cation level service from business models. An automated service identification method is provided based on clus- tering. Based on the business model of the C/U matrix, service identification is formulated as a multi-objective optimization problem. An optimization objective function is presented that derives service design principles, such as coupling, cohesion, reusability and maintainability, and the solving method of the simulated annealing optimization is provided. A case is given to illustrate the method.