A method and system for optimizing service processes based on qualitative and quantitative service attributes

By mixing intelligent optimization algorithms and TCP-nets models, combined with the evaluation of quantitative and qualitative service attributes, the problem of low efficiency in processing qualitative service attributes in the existing technology is solved, and the rapid optimization and efficient solution of the service process are achieved.

CN117354178BActive Publication Date: 2024-08-27SUZHOU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311263568.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2024-08-27
Estimated Expiration
2043-09-27

AI Technical Summary

Technical Problem

Existing service process optimization methods cannot effectively handle qualitative service attributes and their preferences, resulting in low processing efficiency and local optimal problems.

Method used

Using a hybrid intelligent optimization algorithm, combined with a genetic algorithm and an improved longhorn beetle search algorithm, the service process performance is measured through the utility values ​​of quantitative and qualitative service attributes. The TCP-nets model is used to quantitatively evaluate the qualitative service attributes, and through adaptive crossover and mutation probability improve the convergence accuracy of the algorithm.

Benefits of technology

It achieves rapid and accurate optimization of service processes, can comprehensively consider quantitative and qualitative service quality, improves search efficiency and solution quality, and finds the optimal service combination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117354178B
    Figure CN117354178B
Patent Text Reader

Abstract

This invention relates to a service process optimization method and system based on qualitative and quantitative service attributes. The method includes: Step S1: Obtaining a service process, wherein the service process includes several abstract tasks, each abstract task of which is implemented by a specific service in a cloud service. The service process is realized through a service combination composed of several services, and the service performance of the service process is jointly measured by the utility values ​​of the quantitative service attributes and the qualitative service attributes of the service combination; Step S2: Finding the optimal service combination corresponding to the abstract tasks in the service process through a hybrid intelligent optimization algorithm to optimize the service process, wherein the hybrid intelligent optimization algorithm consists of a genetic algorithm and an improved longhorn beetle whisker search algorithm. This invention can effectively optimize service processes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of service process optimization, and in particular to a service process optimization method and system based on qualitative and quantitative service attributes. Background Art

[0002] A service process is a collection of logically related business activities that an enterprise builds based on Web services (referred to as services) and workflow technologies to achieve specific management goals. With the rapid development of cloud computing, building service processes through cloud services is an inevitable trend for enterprises to continue to develop and enhance their core competitiveness. Since cloud platforms provide a large number of services with similar service functions but different quality of service (QoS), how to assemble the optimal service process is a hot topic in academia and industry.

[0003] Most of the existing service process optimization methods only consider quantitative service quality. Their goal is to find the combination with the highest service quality under the premise of satisfying quantitative service quality constraints (such as service time not exceeding 3 seconds and reliability greater than 95%). However, in the actual business environment, some service qualities cannot be described in a quantitative form, such as the storage type and deployment method of the service. These attributes are collectively referred to as qualitative service attributes, which are generally described by categorical values. Unlike quantitative attributes that can be explicitly calculated, the evaluation of qualitative service quality usually depends on user preferences. Users may not only have preferences for the value of a qualitative attribute, but also have different focuses between different qualitative attributes. For example, in terms of service storage type, a user prefers a file system rather than a database system, and believes that the storage type of the service is more important than its deployment method. Since the service process optimization method that only considers quantitative service attributes cannot be applied to qualitative service attributes, it is urgent to further improve the original service process optimization model based on qualitative attributes and their preference relationships.

[0004] In the field of service process optimization, swarm intelligence optimization algorithms have been widely used, such as genetic algorithms, particle swarm algorithms, ant colony algorithms, etc. However, a single swarm intelligence algorithm is prone to problems such as local optimality and poor global search capabilities, so hybrid intelligence algorithms are currently more popular algorithms. However, various optimization algorithms only consider quantitative service attributes and ignore qualitative service attributes and their preference issues.

[0005] In 2017, Wang et al. first proposed a service process optimization algorithm that considers both qualitative and quantitative service quality. The algorithm uses TCP-nets to model user preferences in qualitative attribute patterns and obtains the priority relationship of qualitative patterns through induced graphs. On this basis, a genetic algorithm is used to construct service process optimization. However, the processing is fuzzy in the qualitative pattern optimization, and the advantages and disadvantages of qualitative combinations cannot be accurately located, resulting in low processing efficiency. In addition, the "premature" problem is not considered in the genetic algorithm processing, which is prone to premature convergence and poor local search ability of the algorithm. Summary of the invention

[0006] Therefore, the technical problem to be solved by the present invention is to overcome the problem of low processing efficiency of the service process optimization method in the prior art.

[0007] To solve the above technical problems, the present invention provides a service process optimization method based on qualitative and quantitative service attributes, comprising:

[0008] Step S1: Obtain a service process, wherein the service process includes a plurality of abstract tasks, each of which is implemented by a specific service in the cloud service, and the service process is implemented by a service combination consisting of a plurality of the services, and the service performance of the service process is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service combination;

[0009] Step S2: finding the optimal service combination corresponding to the abstract task in the service process through a hybrid intelligent optimization algorithm to optimize the service process, wherein the hybrid intelligent optimization algorithm is composed of a genetic algorithm and an improved beetle whisker search algorithm.

[0010] In one embodiment of the present invention, the utility value of the quantitative service attribute in step S1 is represented by Quan(SC), and the formula is:

[0011]

[0012] Where Quan(SC) represents the utility value of the quantitative service attribute of the service combination SC, w k is the kth quantitative service attribute, V k (SC) is the aggregated value of service quality at the kth quantitative service attribute level, and is the maximum and minimum value of the service quality at the kth quantitative service attribute level in all service combinations, ASC is the set of quantitative service attributes in ascending order, and DSC is the set of quantitative service attributes in descending order;

[0013]

[0014] Among them, xij is the service selected by the jth abstract task of the i-th service process; V k (xij) is service x ij is the service quality value of the k-th quantitative service attribute, AggFunk(·) is the service quality aggregation function of the k-th quantitative service attribute, and AggFunk k (·)∈{∑,∏,MAX,MIN}, ∑ is a continuous addition symbol used to add the service quality values ​​of the quantitative service attributes, ∏ is a continuous multiplication symbol used to multiply the service quality values ​​of the quantitative service attributes, MAX is a large value symbol used to take the large value of the service quality of the quantitative service attribute, and MIN is a small value symbol used to take the small value of the service quality of the quantitative service attribute.

[0015] In one embodiment of the present invention, the service quality constraints of the quantitative service attributes are:

[0016]

[0017] Among them, HC u is the set of service quality constraints for quantitative service attributes, V k (SC sub ) u represents the sum of the service quality of the quantitative service attributes of the assigned services involved in the u-th constraint, d u is the threshold of the u-th quality of service constraint, and U is the number of quality of service constraints for quantitative service attributes.

[0018] In one embodiment of the present invention, the utility value of the qualitative service attribute in step S1 is represented by Qual(SC), and the formula is:

[0019]

[0020] Among them, Qual max and Qual min are the maximum and minimum qualitative service attribute utility values ​​in all service combinations, and the formulas are:

[0021]

[0022]

[0023] Among them, TS is the abstract task set, CS ij is an abstract task t ij The corresponding candidate service set, pen(s) is the candidate service set CS ij The penalty value of any service s in ,Qual max is the sum of the maximum penalty values ​​of candidate services for each abstract task, Qualmin The minimum sum of penalty values ​​for candidate services of each abstract task;

[0024] pen(s) represents the penalty value of a specific service s in the service combination SC and the formula is:

[0025]

[0026] Where V is the set of qualitative service attributes of service s, rank s (X i ) is a qualitative attribute X in service s i The value sorting of w s (X i ) is the qualitative service attribute X in service s i The importance weight of is:

[0027]

[0028] Among them, ri(X i ), ci(X i ), cp(X i ) and sci(X i ) are respectively from X i The starting relative importance arc ri-arc, conditional relative importance arc ci-arc, conditional preference arc cp-arc and additional relative importance arc sci-arc set, Represents attribute X i X j More important.

[0029] In one embodiment of the present invention, the service performance of the service process in step S1 is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service combination, and the formula is:

[0030] Utility(SC)=p×Quan(SC)+(1-p)×Qual(SC)

[0031] Among them, Quan(SC) represents the utility value of the quantitative service attributes of the service combination SC, Qual(SC) represents the utility value of the qualitative service attributes of the service combination SC, and p represents the measurement weight of the two types of service attributes. If p=1, it means that only quantitative service attributes are considered, and if p=0, it means that only qualitative service attributes are considered.

[0032] In one embodiment of the present invention, in step S2, the optimal service combination corresponding to the abstract task in the service process is found by a hybrid intelligent optimization algorithm to optimize the service process, and the method includes:

[0033] According to the execution order of the abstract tasks in the service process, services for executing the abstract tasks are determined in sequence to obtain a service combination for executing the service process; the selected services are binary-coded according to their position numbers in the candidate services, and the coding results of the service combination are used as individuals;

[0034] N individuals are randomly generated through coding as the first generation population;

[0035] Performing crossover and mutation on the N individuals to generate 2N individuals, calculating the fitness functions of the 2N individuals respectively, and selecting N individuals from the 2N individuals as the next generation population based on a binary tournament;

[0036] The next generation population generated by the genetic algorithm is optimized by using the improved beetle whisker search algorithm;

[0037] Determine whether the next generation population optimized by the improved beetle whisker algorithm meets the global stop iteration condition. If so, stop the iteration; if not, continue to iteratively execute the genetic algorithm and the improved beetle whisker search algorithm to generate a new generation of population until the global stop iteration condition is met, and find the optimal service combination corresponding to the abstract task in the service process.

[0038] In one embodiment of the present invention, the fitness function includes the fitness of the quantitative service attribute, the fitness of the qualitative service attribute and the service quality constraint, and the formula is:

[0039] f(SC)=f quan +f qual -f con

[0040] in,

[0041] f quan =Quan(SC)×p

[0042] Among them, f quan represents the fitness function of the quantitative service attribute, Quan(SC) represents the normalized quantitative service attribute utility value of the service combination SC, and p represents the measurement weight between the quantitative service attribute and the qualitative service attribute;

[0043] f qual =Qual(SC)×(1-p)

[0044] Among them, f qual represents the fitness function of qualitative service attributes, Qual(SC) represents the normalized qualitative service attribute utility value of the service combination SC;

[0045]

[0046] Among them, q represents the weight between feasible solutions and infeasible solutions, and f com It represents the penalty value for violating the quantitative constraint of the service composition.

[0047] In one embodiment of the present invention, when performing crossover and mutation on the N individuals, the probability of individual crossover and mutation is controlled by a nonlinear adaptive strategy, including an adaptive crossover probability and an adaptive mutation probability, and the formulas are respectively:

[0048]

[0049] Among them, α, β are control parameters, e is a natural constant, g is the current population iteration number, G is the total iteration number, pc max and PC min are the maximum and minimum crossover probabilities, respectively;

[0050]

[0051] Among them, f(SC) is the fitness value of the current individual SC, f max and f avg are the maximum and average fitness values ​​of the current population, pm max and pm min are the maximum and minimum mutation probabilities respectively.

[0052] In one embodiment of the present invention, the method of optimizing the next generation population generated by the genetic algorithm by using the improved beetle whisker search algorithm includes:

[0053] Randomly select a preset percentage of individuals from the next generation population obtained by the genetic algorithm as the beetle whisker population that needs to be updated;

[0054] m longhorn beetles are pre-selected, wherein each longhorn beetle can generate two new individuals based on the left longhorn beetle whisker search and the right longhorn beetle whisker search, and the m longhorn beetles generate 2m new individuals in each iteration process, and an individual with the highest fitness value is selected from the 2m new individuals generated by each iteration, and the individual with the highest fitness value is used to cover the best individual in the longhorn beetle whisker population that needs to be updated, and the iteration is continued until the stop condition of the longhorn beetle whisker search algorithm is met, wherein the two new individuals generated by any i-th longhorn beetle through the left longhorn beetle whisker search and the right longhorn beetle whisker search among the pre-selected m longhorn beetles are marked as SC 2i and SC 2i+1 , the left beard search and right beard search formula are:

[0055]

[0056]

[0057] in, represents the position of the tth generation of the i-th longicorn beetle, d t represents the search step length of the beetle whiskers of the tth generation, represents the random search direction of any i-th beetle, represents the search direction of the left beetle of the i-th beetle, represents the search direction of the right beetle whisker of the i-th beetle. SerMap(·) is a service mapping function. This function first converts or By retaining decimals, the search direction of the beetle whiskers is mapped to a value range of 0 to 1, and then each search direction value is multiplied by the number of candidate services of the abstract task corresponding to the service process and rounded down to obtain the service number selected by each abstract task. Finally, the selected service is binary-coded according to its position number in the candidate service to form a new individual.

[0058] The m longhorn beetles are preselected, and any i-th longhorn beetle adjusts its position according to the longhorn beetle whisker search result. To guide subsequent searches, the formula for adjusting the position of the longicorn is:

[0059]

[0060] Among them, δ t represents the step length of the t-th generation of longhorn beetles, Indicates the position of the t+1th generation of the i-th beetle. is a random unit vector, sgn(·) is a step function used to determine the adjustment direction of the beetle position. If f(SC 2i )-f(SC 2i+1 )>0, then return 1, if f(SC 2i )-f(SC 2i+1 )=0, then return 0, otherwise if f(SC 2i )-f(SC 2i+1 )<0, then return -1;

[0061] The formula for the stopping condition of the longicorn beard search algorithm is:

[0062]

[0063] Among them, the best individual in the current g+1 generation of the beetle population Fitness and the best individual of the gth generation If the absolute value of the fitness difference is less than ε, the beetle whisker search algorithm terminates.

[0064] To solve the above technical problems, the present invention provides a service process optimization system based on qualitative and quantitative service attributes, comprising:

[0065] Acquisition module: used to acquire a service process, which includes a number of abstract tasks. Each abstract task of the service process is implemented by a specific service in the cloud service. The service process is implemented by a service combination consisting of a number of the services. The service performance of the service process is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service combination.

[0066] Optimization module: used to find the optimal service combination corresponding to the abstract task in the service process through a hybrid intelligent optimization algorithm to optimize the service process, wherein the hybrid intelligent optimization algorithm is composed of a genetic algorithm and an improved beetle whisker search algorithm.

[0067] The above technical solution of the present invention has the following advantages compared with the prior art:

[0068] The present invention constructs a new mathematical model for the service process optimization problem. The utility values ​​of quantitative service quality and qualitative service quality are considered in the model objectives, and the quantitative service quality constraints and qualitative service quality preference constraints are considered in the constraints. The model can support multiple service processes and complex process structures, and comprehensively considers the influencing factors of the service process.

[0069] The present invention designs a hybrid intelligent optimization algorithm for solving a new mathematical model of service process optimization problems, and utilizes the beetle whisker search algorithm as an operator in a genetic algorithm to improve search efficiency and solution quality. In addition, the present invention also adopts adaptive dynamic crossover and mutation probability, which greatly improves the convergence accuracy of the genetic algorithm and accelerates the convergence speed. It can accurately and quickly find the optimal service combination corresponding to the abstract task in the service process, and realize the optimization of the service process. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to make the contents of the present invention more clearly understood, the present invention is further described in detail below based on specific embodiments of the present invention in conjunction with the accompanying drawings.

[0071] Figure 1 is a flow chart of the method of the present invention;

[0072] Figure 2 It is a TCP-nets structure diagram and its dependency diagram in an embodiment of the present invention;

[0073] Figure 3 It is a diagram of an example of service process coding in an embodiment of the present invention;

[0074] Figure 4 is a diagram comparing the computing time under different numbers of abstract tasks in an embodiment of the present invention;

[0075] Figure 5is a comparison diagram of overall utility values ​​under different numbers of abstract tasks in an embodiment of the present invention;

[0076] Figure 6 is a diagram comparing the computing time under different numbers of candidate services in an embodiment of the present invention;

[0077] Figure 7 is a comparison diagram of overall utility values ​​under different numbers of candidate services in an embodiment of the present invention;

[0078] Figure 8 is a comparison diagram of calculation time under different weights in an embodiment of the present invention;

[0079] Fig. 9 3 is a comparison diagram of overall utility values ​​under different weights in an embodiment of the present invention. DETAILED DESCRIPTION

[0080] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0081] Embodiment 1

[0082] Reference Figure 1 As shown, the present invention relates to a service process optimization method based on qualitative and quantitative service attributes, comprising:

[0083] Obtain a service process, wherein the service process includes a plurality of abstract tasks, each of which is implemented by a specific service in the cloud service, and the service process is implemented by a service composition consisting of a plurality of the services, and the service performance of the service process is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service composition;

[0084] The optimal service combination corresponding to the abstract tasks in the service process is found through a hybrid intelligent optimization algorithm to optimize the service process, wherein the hybrid intelligent optimization algorithm is composed of a genetic algorithm and an improved beetle whisker search algorithm.

[0085] The following is a detailed introduction to this embodiment:

[0086] 1. Service process optimization problem modeling

[0087] In this embodiment, a service combination that implements a service process is represented as SC, where each abstract task in the service process is implemented by a specific service. Since the performance of a service process can be measured by quantitative service attributes and qualitative service attributes, and the attribute characteristics and processing methods of these two types of attributes are different, this embodiment discusses them separately as follows:

[0088] First, the quantitative service attributes in the service process are processed. When evaluating the quantitative performance of a service process, an aggregated utility value is usually used. As shown in formula (1), the utility value of the quantitative service attributes of a service process usually consists of two parts: one part is the ascending quantitative service attributes, the larger the value, the better; the other part is the descending quantitative service attributes, the smaller the value, the better.

[0089]

[0090] Where Quan(SC) represents the quantitative service attribute utility value of the service combination SC. k is the kth quantitative service attribute. k (SC) is the aggregated value of service quality at the kth quantitative service attribute level. and is the maximum and minimum value of the service quality at the kth quantitative service attribute level in all service combinations. ASC is the set of quantitative service attributes in ascending order and DSC is the set of quantitative service attributes in descending order.

[0091] Formula (2) describes how to calculate the service quality aggregation value at the level of the th quantitative service attribute in the service composition SC.

[0092]

[0093] Among them, x ij is the service selected by the jth abstract task of the i-th service process; V k (x ij ) is service x ij The service quality value of the k-th quantitative service attribute, AggFun k (·) is the service quality aggregation function of the k-th quantitative service attribute, and AggFum k (·)∈{∑,∏,MAX,MIN}, ∑ is the addition symbol, which is used to add the service quality values ​​of quantitative service attributes, ∏ is the multiplication symbol, which is used to multiply the service quality values ​​of quantitative service attributes, MAX is the maximum value symbol, which is used to take the maximum value of the service quality of the quantitative service attribute, and MIN is the minimum value symbol, which is used to take the minimum value of the service quality of the quantitative service attribute. Which aggregation function to use depends on the structure of the process and the attribute type of the service. For example, for a sequential process, the total time is the sum of the time of each selected service (∑), and the total reliability is the multiplication of the reliability of each selected service (∏). For a parallel process, the total time is the time corresponding to the service process with the longest execution time (MAX).

[0094] In addition, the constraint of the quantitative service attribute should also be considered. According to the ascending and descending properties of the quantitative service attribute, this embodiment makes the following two definitions of the constraint, as shown in formula (4).

[0095]

[0096] Among them, HC u is a set of service quality constraints for quantitative service attributes. k (SC sub ) u Represents the sum of the service qualities of the quantitative service attributes of the assigned services involved in the u-th constraint. u is the threshold of the u-th service quality constraint, and U is the number of service quality constraints for quantitative service attributes. For example, a service process contains two quantitative service quality constraints. Constraint 1 requires that the execution time of the service process does not exceed 3 seconds; Constraint 2 requires that the reliability of the service process is greater than 95%, which can be expressed as V T (SC) 1 ≤3, V A (SC) 2 ≥95%.

[0097] Secondly, the qualitative service attributes in the service process are processed. This embodiment uses TCP-nets to model the qualitative service attributes and their preferences, and uses penalty values ​​to quantitatively evaluate the performance of the service process in terms of qualitative service attributes. The larger the penalty value of a service, the worse the qualitative service attribute performance of the service, and accordingly, the less satisfied the user is with the service.

[0098] As shown in formula (5), pen(s) represents the penalty value of a specific service s in the service combination SC. Similarly, this embodiment needs to normalize the penalty value of the service to obtain the qualitative service attribute utility value Qual(SC) of the service combination SC.

[0099]

[0100] Among them, Qual max and Qual min are the maximum and minimum qualitative service attribute utility values ​​in all service combinations, respectively expressed as:

[0101]

[0102]

[0103] Among them, TS is the abstract task set, CS ij is an abstract task t ij The corresponding candidate service set, pen(s) is the candidate service set CS ij The penalty value of any service s in ,Qual max is the sum of the maximum penalty values ​​of candidate services for each abstract task, Qualmin The minimum sum of penalty values ​​for candidate services of each abstract task.

[0104] Finally, the overall utility value of the service combination SC is determined by the quantitative service attribute utility value Qual(SC) and the qualitative service attribute utility value Qual(SC), as shown in formula (6).

[0105] Utility(SC)=p×Quan(SC)+(1-p)×Qual(SC) (6)

[0106] Wherein, p represents the weight of the two types of service attributes. If p = 1, it means that only quantitative service attributes are considered, and if p = 0, it means that only qualitative service attributes are considered.

[0107] Given (1) a set of service processes PNS consisting of a set of abstract tasks TS; (2) a set of candidate services CS, where all candidate services containing specific quantitative and qualitative service attributes can realize an abstract task; (3) a set of service quality constraints QCS caused by quantitative service attributes, including ascending service quality constraints and descending service quality constraints; (4) a set of preference relation constraints PRS caused by qualitative service attributes, including conditional preference (CP), relative importance (RI) and conditional relative importance (CI).

[0108] Therefore, this embodiment needs to find the optimal service combination SC, so that the service combination SC can maximize the utility Utility (SC) while satisfying all service quality constraints QCS of quantitative service attributes and satisfying the user's preference PRS for qualitative service attributes as much as possible.

[0109] 2. Quantitative evaluation of qualitative service attributes

[0110] This embodiment uses TCP-nets (such as Figure 2 (a) models qualitative service attributes and their preference relationships, and uses penalty values ​​to quantitatively evaluate qualitative service quality.

[0111] TCP-nets is a graphical model G=<V,cp,ri,ci,cpt,cit> ,in,

[0112] (1) V = {X 1 ,X 2 ,…,X n} is a node set, corresponding to the qualitative service attribute set;

[0113] (2) cp is the set of conditional preference arcs (cp-arc), cp-arc = <X i ,X j >, where X i Yes Xj The conditional node, that is, X i =Pa(X j );

[0114] (3) ri is the relative importance preference arc (ri-arc) set, ri-arc = <X i ,X j > represents X i X j More importantly,

[0115] (4) ci is the set of conditional relative importance arcs (ci-arc), ci-arc = (X i ,X j ) indicates X i and X j The importance of depends on the value of the conditional node;

[0116] (5) cpt is a set of conditional preference tables (CPTs), CPT (X i ) is used to store the conditional node X i Partial order relation of values;

[0117] (6) cit is the set of conditional importance tables (CIT), CIT (X i ,X j ) is used to store the conditional node X i and X j The partial order relation of .

[0118] In order to represent the topological ordering of all nodes in a network graph G, it is necessary to generate its corresponding dependency graph G*. Figure 2 The dependency graph G* corresponding to the TCP-nets network graph G in (a) is as follows Figure 2 (b) As shown in the figure, the dependency graph G* is based on the network graph G and introduces the directed arc sci-arc: <X i ,X j > represents the pointing relationship between the conditional node and the corresponding node in ci-arc. It should be noted that when generating the dependency graph G* based on the network graph G, all ci-arcs in the network graph G are first found. For the corresponding nodes of the ci-arc, each corresponding node shares the preceding node (i.e., the conditional node).

[0119] Given any service s, its penalty value pen(s) is calculated as follows:

[0120] First, this embodiment considers the quantitative evaluation of each qualitative service attribute value in service s, that is, calculating rank s (X i ). Assume that the qualitative service attribute X i The value range is Then rank s (X i ) ranges from [0,|D(X i )|-1]. If rank s (X i ) is smaller, the better the attribute value is. Figure 2 As an example, for the qualitative service attribute deployment platform (X 2 ), the user prefers hybrid cloud, followed by private cloud, and finally public cloud. Then, if the deployment platform type of service s is hybrid cloud, then rank s (X 2 )=0; if it is a public cloud, then rank s (X 2 )=2.

[0121] Secondly, the qualitative service attributes X in service s are calculated in turn according to the reverse topological order of the nodes in the dependency graph. i The importance weight w s (X i ), the formula is:

[0122]

[0123] Among them, ri(X i ), ci(X i ), cp(X i ) and sci(X i ) are respectively from X i The starting relative importance arc ri-arc, conditional relative importance arc ci-arc, conditional preference arc cp-arc and additional relative importance arc sci-arc set, Represents attribute X i X j More importantly, any arc value v in formula (6) ij is the downstream node X j The range size and X j The node weights of v are jointly determined, and the specific calculation formula is: ij =w s (X j )•|D(X j )|, where |D(X j )|isX j The value range size, w s (X j ) is X jIn the reverse topological sorting, since the first node (i.e., the last node in the dependency graph) has no arcs, its node weight is 1. Then, according to the reverse topological order, the arc values ​​vij from the upstream node Xi to each downstream node Xj can be iteratively calculated in sequence, and substituting them into formula (6) to calculate w s (X j ).

[0124] Finally, this embodiment calculates the penalty value pen(s) of service s according to formula (7).

[0125]

[0126] Where V is the set of qualitative service attributes of service s. s (X i ) is a qualitative attribute X in service s i The value sorting of w s (X i ) is the qualitative service attribute X in service s i The importance weight of .

[0127] Figure 2 (a) is an example of TCP-nets. Figure 2 There are three different types of arcs in (a), representing three preference relationships: conditional preference arcs cp-arc marked with arrows: <X 1 ,X 3 >, which means X 1 and X 3 There is a conditional preference relationship; the importance preference arc ri-arc is marked with a black triangle: <X 3 ,X 4 >, which means X 3 and X 4 There is a relative importance preference relationship; the ci-arc marked with a black square: (X 2 ,X 3 ), which means X 2 and X 3 There is a conditional relative importance preference relationship. Accordingly, Figure 2 In (a), the specific information of the preference relationship is explained through the condition preference table (CPT) and the condition importance table (CIT). The dependency graph G* corresponding to the TCP-nets network graph G is as follows: Figure 2 (b) as shown.

[0128] Take the service s with qualitative service quality of “database ∧ private cloud ∧ China ∧ GA” as an example. First, according to Figure 2 (a), the rank values ​​of these four attributes can be calculated to be [0, 1, 1, 0].2 In terms of attributes, the user prefers hybrid cloud, followed by private cloud, and finally public cloud. Since the deployment platform type of service s is private cloud, the rank s (X 2 )=1.

[0129] Secondly, according to Figure 2 (b) shows the reverse topological sorting of the nodes. In this embodiment, X 4 , X 3 , X 2 , X 1 The node weight of node X. 4 There are no arcs pointing to other nodes, v 41 =v 42 =v 43 = 0 and weight w s (X4) = 1. Next, process node X 3 . Due to the existence of 3 Point to X 4 The relative importance arc, so v 34 =w(X 4 )·|X 4 |=1*2=2. In addition, since X 1 The value of is the database, according to Figure 2 The preference relationship described in (a) means that X 3 X 2 More important. Therefore 32 =w s (X 2 )·|X 2 |=1×3=3. In summary, X 3 The node weight is w s (X 3 )=max(2,3)+1=4. Then process node X 2 , due to X 2 Not as good as X 3 More importantly, therefore, X 2 The node weight is w s (X 2 )=0+1=1. Finally, according to v 12 =w s (X 2 )·|X 2 |=1×3=3 and v 13 =w s (X 3 )·|X 3 |=4×2=8, we can get X 1 The node weight w s (X 1)=3+8+1=12. In summary, the weights of the qualitative attributes of service s are [12,1,4,1]. Finally, substituting into formula (7), we can calculate the penalty value of service s: pen(s)=[0,1,1,0]·[12,1,4,1]=5.

[0130] After calculating the penalty value of each service in the service combination in turn, this embodiment can use formula (5) to calculate the qualitative service attribute utility value of the service combination. Substituting it into the fitness function can evaluate the quality of the service combination in terms of qualitative service quality, and search for the optimal service process under the guidance of the hybrid intelligent optimization algorithm. 3. Service process optimization considering qualitative and quantitative service attributes

[0131] At present, genetic algorithms (GA) are widely used in service process optimization problems. However, traditional genetic algorithms have slow convergence speed and poor local search capabilities, and it is difficult to show good performance in complex service process optimization problems. The beetle whisker search algorithm (BAS) is inspired by the detection and search behavior of long-horned beetles to solve optimization problems. It has the advantages of fast convergence speed, simple implementation, and strong local search capabilities. Therefore, for the service process optimization problem based on quantitative and qualitative service attributes, this embodiment proposes a hybrid BGA algorithm composed of BAS and GA to solve the optimal service process. This algorithm can consider the service quality at both the quantitative and qualitative levels when evaluating fitness, and can give full play to the global optimization advantages of GA and the local optimization capabilities of BAS to improve the algorithm performance.

[0132] (1) Coding

[0133] Chromosomes are the manifestation of solutions in genetic algorithms. Since the problem to be solved in this embodiment is to assign specific services to each abstract task in the service process, chromosomes are encoded according to the position of the specific services in each abstract service class in the candidate services. Specifically, this embodiment determines the services used to execute the abstract tasks in sequence according to the execution order of the abstract tasks in the service process, and obtains a service combination for executing the service process; the selected services are binary-encoded according to their position numbers in the candidate services, and the encoding results of the service combination are used as individuals.

[0134] Figure 3 An example of service process coding is shown, which includes n service processes. 1 For example, according to the number of candidate services, the chromosome length of each abstract task is 5 (PN 1 The first abstract task in contains 20 candidate services, so it requires 5 bits of binary encoding), 3 (PN 1 The second abstract task in contains 5 candidate services, so it requires 3 bits of binary encoding), 4 (PN 1The third abstract task in contains 15 candidate services, so it requires 4 bits of binary encoding). 11_13 、s 12_3 、s 13_9 …to implement the solution to the abstract task, whose chromosomes are 01101, 011, 1001, … Therefore, the chromosome composed of the above services is 011010111001….

[0135] (2) Fitness function

[0136] The fitness function is used to evaluate each solution. This embodiment adopts the standard of "the higher the fitness value, the better". In this problem, not only the quantitative service attributes and their service quality constraints need to be considered, but also the qualitative service attribute preferences of users need to be met. Therefore, the fitness function of the solution consists of three parts: quantitative service attributes, qualitative service attributes, and service quality constraints.

[0137] a) Fitness function for quantitative service attributes

[0138] According to the utility value of the quantitative service attribute in formula (1), the fitness function of the quantitative service attribute is shown in formula (9):

[0139] f quan =Quan(SC)×p (9)

[0140] Among them, f quan represents the fitness function of the quantitative service attributes, Quan(SC) represents the normalized quantitative service attribute utility value of the service combination SC, and p represents the measurement weight between the quantitative service attributes and the qualitative service attributes.

[0141] b) Fitness function for qualitative service attributes

[0142] According to the utility value of the qualitative service attribute in formula (5), the fitness function of the qualitative service attribute is shown in formula (10):

[0143] f qual =Qual(SC)×(1-p) (10)

[0144] Among them, f qual represents the qualitative service attribute fitness function, and Qual(SC) represents the normalized qualitative service attribute utility value of the service combination SC.

[0145] c) Service quality constraints

[0146] Since infeasible solutions may contain local optimization information, each infeasible service combination should not be discarded directly, but a penalty caused by violating the service quality constraint should be added to it.

[0147] The fitness function of the service quality constraint part is shown in formula (11).

[0148]

[0149] Among them, q represents the weight between feasible solutions and infeasible solutions. con represents the penalty value for the service combination violating the quantitative constraints. For example, if the given service quality constraints are time ≤ 8h, cost ≤ 6$, and q = 0.5. However, the actual values ​​of the above attributes are 5h and 12$. Since the time meets the requirements but the cost does not, the resulting constraint penalty is f con =[(12-6)+1]×0.5=3.

[0150] Finally, the total fitness function of the service combination is shown in formula (12).

[0151] f(SC)=f quan +f qua lf con (12)

[0152] (3) Selection, crossover, and mutation

[0153] First, in the selection strategy, the present invention adopts a binary tournament selection method without replacement, which is efficient and easy to implement. In the selection process, two individuals are randomly selected from the population, and the individual with the better fitness value is selected. Under this strategy, the best individual in the population is retained.

[0154] In addition, the probability of crossover and mutation will also affect the performance of the algorithm. If a fixed probability is used, a probability that is too large may affect the randomness of the algorithm, while a probability that is too small may affect the convergence. Therefore, this embodiment adopts a nonlinear adaptive strategy to control the crossover and mutation probabilities. Among them, the adaptive crossover probability and the adaptive mutation probability are shown in formula (13) and formula (14):

[0155]

[0156] Among them, α, β are control parameters. e is a natural constant, g is the current population iteration number. G is the total number of iterations. pc max and PC min are the maximum and minimum crossover probabilities, respectively. Formula (13) ensures that a larger crossover probability is used at the beginning of the iteration to improve the diversity of the population, while a smaller probability is used at the end of the iteration to improve convergence.

[0157]

[0158] Among them, f(SC) is the fitness value of the current individual SC.max and f avg are the maximum and average fitness values ​​of the current population respectively. max and pm min are the maximum and minimum mutation probabilities respectively. Formula (14) can ensure that during the mutation process, individuals with higher fitness are given a lower crossover probability to retain these individuals; while individuals with lower fitness are given a higher crossover probability to better explore these individuals.

[0159] In short, this embodiment randomly generates N individuals by encoding as the first generation population; crossover and mutation are performed on the N individuals to generate 2N individuals, the fitness functions of the 2N individuals are calculated respectively, and N individuals with the highest fitness functions are selected from the 2N individuals as the next generation population; the next generation population generated by the genetic algorithm is optimized by the improved beetle whisker search algorithm; it is determined whether the next generation population optimized by the improved beetle whisker algorithm meets the global stop iteration condition, if so, the iteration is stopped; if not, the genetic algorithm and the improved beetle whisker search algorithm are continued to be iteratively executed to generate a new generation population until the global stop iteration condition is met, and the optimal service combination corresponding to the abstract task in the service process is found.

[0160] (4) Longicorn Whiskers Search Algorithm

[0161] Since the genetic algorithm has a slow convergence speed and poor precision, this method uses the beetle whisker search algorithm as an operator to continue to enhance optimization after crossover and mutation. In order to prevent premature convergence and balance exploration and optimization, this embodiment randomly selects 20% of the solutions from the contemporary population of the genetic algorithm each time to form the beetle whisker algorithm population.

[0162] A preset percentage of individuals is randomly selected from the next generation population obtained by the genetic algorithm as the beetle whisker population that needs to be updated.

[0163] Pre-select m longhorn beetles (1 longhorn beetle corresponds to 2 service combinations), wherein each longhorn beetle can generate 2 new individuals based on the left longhorn beetle whisker search and the right longhorn beetle whisker search, and the m longhorn beetles generate 2m new individuals in each iteration process, and select an individual with the highest fitness value from the 2m new individuals generated by themselves in each iteration, and use the individual with the highest fitness value to cover the best individual in the longhorn beetle whisker population that needs to be updated, and iterate continuously until the stop condition of the longhorn beetle whisker search algorithm is met, wherein, among the pre-selected m longhorn beetles, any ith longhorn beetle, through the left longhorn beetle whisker search and the right longhorn beetle whisker search, generates two new individuals marked as SC 2i and SC 2i+1 The left beetle whisker search formula and the right beetle whisker search formula are shown in formula (15).

[0164]

[0165]

[0166] in, represents the position of the tth generation of the i-th longicorn beetle, d t represents the search step length of the beetle whiskers of the tth generation, represents the random search direction of any i-th beetle, represents the search direction of the left beetle of the i-th beetle, represents the search direction of the right beetle whisker of the i-th beetle. SerMap(·) is a service mapping function. This function first converts or By retaining decimals, the search direction of the beetle is mapped to a value range of 0 to 1, and then the search direction value is multiplied by the number of candidate services of the abstract task corresponding to the service process and rounded down to obtain the service number selected by each abstract task. Finally, the selected service is binary-coded according to its position number in the candidate service to form a new individual. Figure 3 For example, if The length of this vector is the number of tasks in the service process. By retaining decimals, we can get [0.5, 0.8, 0.6, …]. Since the number of candidate services for each abstract task is [20, 5, 15, …], it can be determined that the service list selected by each task is [0.5, 0.8, 0.6, …] × [20, 5, 15, …] = [10, 4, 9, …], which means that the first abstract task selects the 10th candidate service, the second abstract task selects the 4th candidate service, and so on. Finally, according to the coding rules of this patent, the individual 010101001001… can be obtained. Among the pre-selected m longhorn beetles, a random search direction needs to be generated for any i-th longhorn beetle. Therefore, the number of m longicorn beetles constitute As shown in formula (16).

[0167]

[0168] Here, rand(·) is a random function used to generate m random vectors of Dim dimension, where m is the number of longhorn beetles and Dim is the spatial dimension, indicating the number of abstract tasks.

[0169] Among the pre-selected m longhorn beetles, any i-th longhorn beetle adjusts its position according to the longhorn beetle whisker search result To guide subsequent searches, the position of the longicorn is adjusted as shown in formula (17).

[0170]

[0171] Among them, δt represents the step length of the t-th generation of longhorn beetles, Indicates the position of the t+1th generation of the i-th beetle. is a random unit vector, sgn(·) is a step function used to determine the adjustment direction of the beetle position. If f(SC 2i )-f(SC 2i+1 )>0, then return 1, if f(SC 2i )-f(SC 2i+1 )=0, then return 0, otherwise if f(SC 2i )-f(SC 2i+1 )<0, returns -1.

[0172] The above steps will be iterated many times, so that the local solution can be continuously searched and optimized. Considering that the fitness of individuals is different, some good individuals only need a small number of iterations to obtain the best direction. Therefore, a threshold is set for the best individuals of adjacent generations, and the stop condition of the beetle beard search algorithm is dynamically adjusted. The judgment condition is shown in formula (18). If the best individual of the current g+1 generation Fitness and the best individual of the generation If the absolute value of the fitness difference is less than ε, the beetle algorithm terminates the search.

[0173]

[0174] It should be noted that it is necessary to judge whether the next generation population after optimization by the improved beetle whisker algorithm meets the global stop iteration condition. If it does, the iteration is stopped; if not, the genetic algorithm and the improved beetle whisker search algorithm are continued to be iteratively executed to generate a new generation of population until the global stop iteration condition is met, and the optimal service combination corresponding to the abstract task in the service process is found. Among them, the global stop iteration condition includes: not exceeding the maximum number of iterations, and the difference between the best fitness value of the current population and the best fitness value of the previous generation population is less than a certain threshold.

[0175] 4. Overall algorithm process

[0176] In summary, this embodiment uses Algorithm 1 to demonstrate the overall process of the service process optimization algorithm (BGATL) based on quantitative and qualitative service attributes. First, the corresponding preference information network (TCP-nets) and its dependency graph are generated according to the qualitative attribute preferences provided by the user. Next, the optimization algorithm is run to search for the optimal service process. After the initial population, the fitness of each service combination in the population is evaluated, and the current optimal individual is selected. Then, selection, crossover and mutation operations are performed with a specific probability to generate a new population. In addition, some individuals in the population will participate in the beetle whisker search optimization to improve the fitness of the population. In the beetle whisker search, multiple search directions will be formed, and the optimal individual will be updated according to the step size and search distance. Then, the step size and search distance will be updated. The beetle whisker search runs until the stop condition is reached. Repeat the above process until the stop condition is reached. Finally, the optimal service combination bstSer is output.

[0177]

[0178]

[0179] The effectiveness of the method of this embodiment is verified by the following specific experiments:

[0180] Experimental setup

[0181] In order to demonstrate the effectiveness and efficiency of the method in this embodiment, several experiments of different complexity were conducted. The experiments used a combination of real data and simulated data. In terms of quantitative service attributes, the data came from the open source QWS dataset. This embodiment selected the four most commonly used attributes: response time, throughput, reliability, and availability as quantitative service attributes. However, since the dataset does not contain qualitative service attributes, for each candidate service, the following Figure 2 The qualitative service quality data shown. In addition, user preference information is randomly generated.

[0182] In terms of comparison methods, this embodiment selects the latest meta-heuristic algorithms MGSS and SFGA for service process optimization problems. In addition, since the GA-VP method also proposes a service process optimization algorithm that comprehensively considers qualitative and quantitative attributes, it is also used as one of the comparison algorithms. The comparison algorithms are introduced as follows:

[0183] (1) MGSS: MGSS is a task scheduling algorithm based on genetic algorithm. It uses an improved genetic algorithm combined with a greedy strategy to optimize the task scheduling process. Although the algorithm is mainly aimed at task scheduling problems, it is also applicable to service process optimization. In order to adapt to the problem setting of this embodiment, the algorithm adds qualitative calculation when considering service attributes, that is, a directly quantified penalty function.

[0184] (2) SFGA: SFGA is a service process optimization algorithm that combines the frog leaping algorithm and the genetic algorithm. Similarly, this algorithm does not consider qualitative service attributes and their preferences. In order to ensure the comparability of the experiment, this embodiment also uses a penalty function for qualitative service attributes to improve the algorithm.

[0185] (3) GA-VP: This method proposes a service process optimization algorithm that simultaneously processes quantitative and qualitative service attributes, where the processing of qualitative attributes is based on the induced graph. In addition, a genetic algorithm is used to optimize the service process. Therefore, the method of this embodiment can be directly compared with it.

[0186] All algorithms are implemented in Python 3.8 and run on a machine with a 2.90 GHz CPU and 16 GB RAM. For fairness, the population size is set to popSize = 50 and the population iteration number genNum = 150. The algorithm parameters of this embodiment are as follows: max =0.9, pc min =0.5, pm max =0.1, pm min =0.01, α=0.5, β=1. In addition, this embodiment uses 20% of the individuals in the population to participate in the longhorn beetle beard search optimization. The specific parameters of the longhorn beetle beard search optimization are as follows: the number of longhorn beetles m=3, the initial step length step=4, the initial search distance d 0 =5, decrement factor eta = 0.95, number of iterations of beetle whisker search iter = 50. The parameters of other algorithms are set according to the recommendations of each method.

[0187] Experimental Results

[0188] (1) Experiment 1: Changing the number of abstract tasks

[0189] In this set of experiments, the number of abstract tasks ranges from 5 to 50. Each set of abstract tasks contains 500 candidate services. The weight between quantitative and qualitative service attributes is set to 0.5. Each service contains randomly generated quantitative and qualitative service qualities. The overall utility and computation time of the four service process optimization algorithms are shown in Figure 2. Figure 4 and Figure 5 shown.

[0190] (2) Experiment 2: Changing the number of candidate services

[0191] In this set of experiments, the number of candidate services for each abstract task ranges from 100 to 1000. The number of abstract tasks in each group is fixed to 10. The weight between quantitative and qualitative service attributes is set to 0.5. Each service contains randomly generated quantitative and qualitative service qualities. The overall utility and computation time of the four service process optimization algorithms are shown in Figure 2. Figure 6 and Figure 7 shown.

[0192] (3) Experiment 3: Changing the weights between quantitative and qualitative service attributes

[0193] In this set of experiments, the weights between quantitative and qualitative service attributes are 0 to 1, with an interval of 0.1. The number of abstract tasks in each group is fixed to 10. Each group of abstract tasks contains 500 candidate services. Each service contains randomly generated quantitative and qualitative service qualities. The overall utility and computation time of the four service process optimization algorithms are shown in Figure 2. Figure 8 and Fig. 9 shown.

[0194] Figure 4-Figure 9 It can be seen that for service process optimization problems with different numbers of tasks, different candidate services, and different weight values, the service process optimization algorithm (BGATL) proposed in the present invention uses less time than the other three optimization algorithm methods and obtains a higher quality solution.

[0195] Embodiment 2

[0196] This embodiment provides a service process optimization system based on qualitative and quantitative service attributes, including:

[0197] Acquisition module: used to acquire a service process, which includes a number of abstract tasks. Each abstract task of the service process is implemented by a specific service in the cloud service. The service process is implemented by a service combination consisting of a number of the services. The service performance of the service process is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service combination.

[0198] Optimization module: used to find the optimal service combination corresponding to the abstract task in the service process through a hybrid intelligent optimization algorithm to optimize the service process, wherein the hybrid intelligent optimization algorithm is composed of a genetic algorithm and an improved beetle whisker search algorithm.

[0199] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0200] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.

Claims

1. A service process optimization method based on qualitative and quantitative service attributes, characterized by: include: Step S1: Obtain a service process, wherein the service process includes a plurality of abstract tasks, each of which is implemented by a specific service in the cloud service, and the service process is implemented by a service combination consisting of a plurality of the services, and the service performance of the service process is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service combination; Step S2: finding the optimal service combination corresponding to the abstract task in the service process through a hybrid intelligent optimization algorithm to optimize the service process, wherein the hybrid intelligent optimization algorithm is composed of a genetic algorithm and an improved beetle beard search algorithm; The utility value of the quantitative service attribute in step S1 is represented by Quan(SC), and the formula is: Where Quan(SC) represents the utility value of the quantitative service attribute of the service combination SC, w k is the kth quantitative service attribute, V k (SC) is the aggregated value of service quality at the kth quantitative service attribute level, and is the maximum and minimum value of the service quality at the kth quantitative service attribute level in all service combinations, ASC is the set of quantitative service attributes in ascending order, and DSC is the set of quantitative service attributes in descending order; Among them, x ij is the service selected by the jth abstract task of the i-th service process; V k (x ij ) is service x ij is the service quality value of the k-th quantitative service attribute, AggFunk(·) is the service quality aggregation function of the k-th quantitative service attribute, and AggFunk k (·)∈{∑, ∏, MAX, MIN}, ∑ is a continuous addition symbol, used to add the service quality values ​​of the quantitative service attributes, ∏ is a continuous multiplication symbol, used to multiply the service quality values ​​of the quantitative service attributes, MAX is a maximum value symbol, used to take the service quality of the quantitative service attribute as a large value, and MIN is a minimum value symbol, used to take the service quality of the quantitative service attribute as a small value; The service quality constraints of the quantitative service attributes are: Among them, HC u is the set of service quality constraints for quantitative service attributes, V k (SC sub ) u represents the sum of the service quality of the quantitative service attributes of the assigned services involved in the u-th constraint, d u is the threshold of the u-th QoS constraint, U is the number of QoS constraints for the quantitative service attributes; The utility value of the qualitative service attribute in step S1 is represented by Qual(SC), and the formula is: Among them, Qual max and Qual min are the maximum and minimum qualitative service attribute utility values ​​in all service combinations, and the formulas are: Among them, TS is the abstract task set, CS ij is an abstract task t ij The corresponding candidate service set, pen(s) is the candidate service set CS ij The penalty value of any service s in Qual max is the sum of the maximum penalty values ​​of candidate services for each abstract task, Qual min The minimum sum of penalty values ​​for candidate services of each abstract task; pen(s) represents the penalty value of a specific service s in the service combination SC and the formula is: Where V is the set of qualitative service attributes of service s, rank s (X i ) is a qualitative attribute X in service s i The value sorting of w s (X i ) is the qualitative service attribute X in service s i The importance weight of is: Among them, ri(X i ), ci(X i ), cp(X i ) and sci(X i ) are respectively from X i The starting relative importance arc ri-arc, conditional relative importance arc ci-arc, conditional preference arc cp-arc and additional relative importance arc sci-arc set, Represents attribute X i X j More important.

2. The service process optimization method based on qualitative and quantitative service attributes according to claim 1, characterized in that: The service performance of the service process in step S1 is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service combination, and the formula is: Utility(SC)=p×Quan(SC)+(1-p)×Qual(SC) Among them, Quan(SC) represents the utility value of the quantitative service attributes of the service combination SC, Qual(SC) represents the utility value of the qualitative service attributes of the service combination SC, and p represents the measurement weight of the two types of service attributes. If p=1, it means that only quantitative service attributes are considered, and if p=0, it means that only qualitative service attributes are considered.

3. The service process optimization method based on qualitative and quantitative service attributes according to claim 2 is characterized by: In step S2, the optimal service combination corresponding to the abstract task in the service process is found by a hybrid intelligent optimization algorithm to optimize the service process. The method includes: According to the execution order of the abstract tasks in the service process, services for executing the abstract tasks are determined in sequence to obtain a service combination for executing the service process; binary encoding is performed on the selected services according to their position numbers in the candidate services, and the encoding result of the service combination is used as an individual; N individuals are randomly generated through coding as the first generation population; Performing crossover and mutation on the N individuals to generate 2N individuals, calculating the fitness functions of the 2N individuals respectively, and selecting N individuals from the 2N individuals as the next generation population based on a binary tournament; The next generation population generated by the genetic algorithm is optimized by using the improved beetle whisker search algorithm; Determine whether the next generation population optimized by the improved beetle whisker algorithm meets the global stop iteration condition. If so, stop the iteration; if not, continue to iteratively execute the genetic algorithm and the improved beetle whisker search algorithm to generate a new generation of population until the global stop iteration condition is met, and find the optimal service combination corresponding to the abstract task in the service process.

4. The method for optimizing service flow based on qualitative and quantitative service attributes according to claim 3, characterized in that: The fitness function includes the fitness of quantitative service attributes, the fitness of qualitative service attributes and service quality constraints, and the formula is: f(SC)=f quan +f qual -f con in, f quan =Quan(SC)×p Among them, f quan represents the fitness function of the quantitative service attribute, Quan(SC) represents the normalized quantitative service attribute utility value of the service combination SC, and p represents the measurement weight between the quantitative service attribute and the qualitative service attribute; f qual =Qual(SC)×(1-p) Among them, f qual represents the fitness function of qualitative service attributes, Qual(SC) represents the normalized qualitative service attribute utility value of the service combination SC; Among them, q represents the weight between feasible solutions and infeasible solutions, and f con It represents the penalty value for violating the quantitative constraint of the service composition.

5. The method for optimizing service flow based on qualitative and quantitative service attributes according to claim 3, characterized in that: When the N individuals are subjected to crossover and mutation, the probability of individual crossover and mutation is controlled by a nonlinear adaptive strategy, including an adaptive crossover probability and an adaptive mutation probability, and the formulas are: Among them, α, β are control parameters, e is a natural constant, g is the current population iteration number, G is the total iteration number, pc max and PC min are the maximum and minimum crossover probabilities, respectively; Among them, T(SC) is the fitness value of the current individual SC, T max and f avg are the maximum and average fitness values ​​of the current population, pm max and pm min are the maximum and minimum mutation probabilities respectively.

6. The method for optimizing service flow based on qualitative and quantitative service attributes according to claim 3, characterized in that: The method of optimizing the next generation population generated by the genetic algorithm by using the improved beetle whisker search algorithm includes: Randomly select a preset percentage of individuals from the next generation population obtained by the genetic algorithm as the beetle whisker population that needs to be updated; m longhorn beetles are pre-selected, wherein each longhorn beetle can generate two new individuals based on the left longhorn beetle whisker search and the right longhorn beetle whisker search, and the m longhorn beetles generate 2m new individuals in each iteration process, and an individual with the highest fitness value is selected from the 2m new individuals generated by each iteration, and the individual with the highest fitness value is used to cover the best individual in the longhorn beetle whisker population that needs to be updated, and the iteration is continued until the stop condition of the longhorn beetle whisker search algorithm is met, wherein the two new individuals generated by any i-th longhorn beetle through the left longhorn beetle whisker search and the right longhorn beetle whisker search among the pre-selected m longhorn beetles are marked as SC 2i and SC 2i+i , the left beard search and right beard search formula are: in, represents the position of the tth generation of the i-th beetle, d t represents the search step length of the beetle whiskers of the tth generation, represents the random search direction of any i-th beetle, represents the search direction of the left beetle of the i-th beetle, represents the search direction of the right beetle whisker of the i-th beetle. SerMap(·) is a service mapping function. This function first converts or By retaining decimals, the search direction of the beetle whiskers is mapped to a value range of 0 to 1, and then each search direction value is multiplied by the number of candidate services of the abstract task corresponding to the service process and rounded down to obtain the service number selected by each abstract task. Finally, the selected service is binary-coded according to its position number in the candidate service to form a new individual. The m longhorn beetles are preselected, and any i-th longhorn beetle adjusts its position according to the longhorn beetle whisker search result. To guide subsequent searches, the formula for adjusting the position of the longicorn is: Among them, δ t represents the step length of the t-th generation longhorn beetle, Indicates the position of the t+1th generation of the i-th beetle. is a random unit vector, sgn(·) is a step function used to determine the adjustment direction of the beetle position. If f(SC 2i )-f(SC 2i+1 )>0, then return 1, if T(SC 2i )-f(SC 2i+1 )=0, then return 0, otherwise if f(SC 2i )-f(SC 2i+1 )<0, then return -1; The formula for the stopping condition of the longicorn beard search algorithm is: Among them, the best individual in the current g+1 generation of the beetle population Fitness and the best individual of the gth generation If the absolute value of the fitness difference is less than ε, the beetle whisker search algorithm terminates.

7. A service process optimization system based on qualitative and quantitative service attributes, characterized by: include: Acquisition module: used to acquire a service process, which includes a number of abstract tasks. Each abstract task of the service process is implemented by a specific service in the cloud service. The service process is implemented by a service combination consisting of a number of the services. The service performance of the service process is measured by the utility value of the quantitative service attribute and the utility value of the qualitative service attribute of the service combination. Optimization module: used to find the optimal service combination corresponding to the abstract task in the service process through a hybrid intelligent optimization algorithm to optimize the service process, wherein the hybrid intelligent optimization algorithm is composed of a genetic algorithm and an improved beetle whisker search algorithm; The utility value of the quantitative service attribute in the acquisition module is represented by Quan(SC), and the formula is: Where Quan(SC) represents the utility value of the quantitative service attribute of the service combination SC, w k is the kth quantitative service attribute, V k (SC) is the aggregated value of service quality at the kth quantitative service attribute level, and is the maximum and minimum value of the service quality at the kth quantitative service attribute level in all service combinations, ASC is the set of quantitative service attributes in ascending order, and DSC is the set of quantitative service attributes in descending order; Among them, x ij is the service selected by the jth abstract task of the i-th service process; V k (x ij ) is service x ij The service quality value of the k-th quantitative service attribute, AggFun k (·) is the service quality aggregation function of the k-th quantitative service attribute, and AggFun k (·)∈{∑, ∏, MAX, MIN}, ∑ is a continuous addition symbol, used to add the service quality values ​​of the quantitative service attributes, ∏ is a continuous multiplication symbol, used to multiply the service quality values ​​of the quantitative service attributes, MAX is a maximum value symbol, used to take the service quality of the quantitative service attribute as a large value, and MIN is a minimum value symbol, used to take the service quality of the quantitative service attribute as a small value; The service quality constraints of the quantitative service attributes are: Among them, HC u is the set of service quality constraints for quantitative service attributes, V k (SC sub ) u represents the sum of the service quality of the quantitative service attributes of the assigned services involved in the u-th constraint, d u is the threshold of the u-th QoS constraint, U is the number of QoS constraints for the quantitative service attributes; The utility value of the qualitative service attribute in the acquisition module is represented by Qual(SC), and the formula is: Among them, Qual max and Qual min are the maximum and minimum qualitative service attribute utility values ​​in all service combinations, and the formulas are: Among them, TS is the abstract task set, CS ij is an abstract task t ij The corresponding candidate service set, pen(s) is the candidate service set CS ij The penalty value of any service s in Qual max is the sum of the maximum penalty values ​​of candidate services for each abstract task, Qual min The minimum sum of penalty values ​​for candidate services of each abstract task; pen(s) represents the penalty value of a specific service s in the service combination SC and the formula is: Where V is the set of qualitative service attributes of service s, rank s (X i ) is a qualitative attribute X in service s i The value sorting of w s (X i ) is the qualitative service attribute X in service s i The importance weight of is: Among them, ri(X i ), ci(X i ), cp(X i ) and sci(X i ) are respectively from X i The starting relative importance arc ri-arc, conditional relative importance arc ci-arc, conditional preference arc cp-arc and additional relative importance arc sci-arc set, Represents attribute X i X j More important.