In order to solve the problem of service composition optimization in cloud environment, this paper proposes a composition recommendation method based on bi-level programming model. This method introduces manufacturing agility and other indicators to establish a composition evaluation system, and constructs a bi-level programming model for service composition optimization. The model takes the maximization of service quality as the upper optimization goal and the maximization of resource utilization as the lower optimization goal. Through the NSGA-Ⅱ algorithm, it solves multi-objective optimization question and obtained candidate service composition. The simulation results prove that the algorithm is feasible.
云环境下,服务组合优化配置涉及服务需求方、资源提供方与制造平台三个角色。其中,服务需求方负责发布生产任务和个性化需求到制造平台;资源提供方负责将制造资源与相关信息封装成服务注册到制造平台;制造平台负责将任务分解为制造子任务以及筛选出合适的服务组合来承接各项制造子任务。云环境下的服务组合优化是指制造平台根据制造服务需求方发起的制造任务,在资源提供方注册的资源服务中为其配置出最合理的制造服务组合,制造资源提供方根据所选出的服务组合完成制造任务,整个过程如图1所示。在整个制造服务组合优化任务中,首先需要将服务需求方发起的复杂制造任务Task根据任务的功能特性和资源类型等因素分解为n个制造子任务ST i,即总任务T={ST1,ST2,ST3,…,ST i,…,ST n }。每一项子任务ST i 都对应一个候选服务集合CSS i,候选服务集合中包含若干个候选服务CS i,j,CS i,j 表示由第j项制造资源完成第i个子任务,其中每个候选服务都可以完成ST i 这个子任务,所有子任务对应的候选服务即为一个候选服务组合。但是由于多方面原因导致不同候选服务完成同一个子任务所耗费的时间、成本等资源是不等的,因此不同的服务组合最终完成该项制造任务的时间、成本以及服务质量都是不同的,所以需要选取最优的服务组合来完成复杂制造任务才能实现利益的最大化。因此在匹配出所有满足条件的候选服务组合后,需要通过组合优选以选出最优的服务组合。
LIUW N, LIUB, SUND H. Multi-task oriented service composition in cloud manufacturing [J]. Computer Integrated Manufacturing Systems, 2013, 19(1):199-209 (Ch). DOI: 10.13196/j.cims.2013.01.201.liuwn.021 .
[5]
TAOF, LAILIY J, XUL D, et al. FC-PACO-RM: A parallel method for service composition optimal-selection in cloud manufacturing system [J]. IEEE Transactions on Industrial Informatics, 2012, 9(4):2023-2033. DOI:10.1109/TII.2012.2232936 .
YINL, ZHOUL Z, LIUD F, et al. Research on the method of allocation for cloud manufacturing resources [J]. Modular Machine Tool & Automatic Manufacturing Technique, 2018 (12):155-160. DOI: 10.13462/j.cnki.mmtamt.2018.12.040 (Ch ).
[12]
XUB, TANGY, WANGZ S, et al. Cloud manufacturing service composition with service cooperation level evaluation [J]. International Journal of Wireless and Mobile Computing, 2018, 15(4): 342-350. DOI: 10.1504/ijwmc.2018.097157 .
CHENY L, DUANK H, LIUJ, et al. Manufacturing resource optimization allocation model based on bi-level programming in cloud manufacturing [J]. Application Research of Computers, 2019, 36(12):3713-3717+3724. DOI: 10.19734/j.issn.1001-3695.2018.09.0607(Ch ).
GUANM, LIY L, SONGH C, et al. Resource service composition optimization based on i-NSGA-Ⅱ-JG algorithm for cloud manufacturing [J]. Application Research of Computers, 2020, 37(S2):119-122+125 (Ch).
LIX, LIF. A research on resource allocation in mass customization under cloud environment [J]. Industrial Engineering Journal, 2021, 24(1):147-154. DOI: 10.3969/j.issn.1007-7375.2021.01.020 (Ch ).
[19]
DEBK, PRATAPA, AGARWALS, et al. A fast and elitist multiobjective genetic algorithm: NSGA⁃Ⅱ [J]. IEEE Transactions on Evolutionary Computation, 2002, 6(2): 182-197. DOI: 10.1109/4235.996017 .
[20]
DEBK, JAINH. An evolutionary many-objective optimization algorithm using reference-point-based nondominated sorting approach, part Ⅰ: Solving problems with box constraints [J]. IEEE Transactions on Evolutionary Computation, 2013, 18(4):577-601. DOI: 10.1109/TEVC.2013.2281535 .
[21]
KUMARM, GURIAC. The elitist non-dominated sorting genetic algorithm with inheritance (i-NSGA-Ⅱ) and its jumping gene adaptations for multi-objective optimization [J]. Information Sciences, 2017, 382:15-37. DOI: 10.1016/j.ins.2016.12.003 .
CHENY L, WANGL, LIUJ, et al. Resource service composition optimization based on i-NSGA-Ⅱ-JG algorithm for cloud manufacturing [J]. Computer Integrated Manufacturing Systems, 2019, 25(11):2892-2904. DOI: 10.13196/j.cims.2019.11.018(Ch ).
[24]
AL-MASRIE, MAHMOUDQ H. Qos-based discovery and ranking of web services [C]//2007 16th International Conference on Computer Communications and Networks. New York: IEEE, 2007: 529-534. DOI: 10.1109/icccn.2007.4317873 .