Research Article Building Innovative Service Composition Based on Two-Way Selection in Cloud Manufacturing Environment

In the cloud manufacturing environment, innovative service composition is an important way to improve the capability and eﬃciency of resource integration and realize the upgrading and transformational upgrade of the manufacturing industry. In order to build a stable innovative service composition, we propose a novel composite model, which uses two-way selection according to their cooperation to recommend the most suitable partners. Firstly, a rough number is applied to quantify the semantic evaluation. Using the expectation of cooperative condition as reference points, prospect theory is then applied to calculate the cooperative desires for both sides based on participants’ psychological attitudes toward gains and losses. Next, the cooperative desires are used to establish the two-way selection model of innovative service composition. The solution is determined by using an improved teaching-learning-based optimization algorithm. Compared with traditional combined methods in the cloud manufacturing environment, the proposed model fully considers the long-neglected needs and interests of service providers. Prospect theory takes psychological expectations and varying attitudes of decision makers towards gains and losses into account. Moreover, an interval rough number is used to better preserve the uncertain information during semantic quantiﬁcation. Experimental results verify the applicability and eﬀectiveness of the proposed method.


Introduction
Since the formation of networking in the economic environment, competition for complementary advantages and optimized resources in the manufacturing industry exists not only between individual enterprises but also between the supply chain and the industrial chain. Relying on the manufacturing resource-sharing service platform to integrate and optimize the allocation of advanced manufacturing technology and production modes, creating business values with the advantage of technological resources has become a standard practice in the manufacturing industry [1]. Cloud manufacturing (CMfg) has emerged in recent years as a dominant sharing service platform of manufacturing resources [2,3]. Based on user requirements, CMfg organizes online manufacturing resources to provide a variety of ondemand manufacturing services for users [4]. It also simultaneously accomplishes information sharing and resource coordination among enterprises and achieves the goal of rapid response to the market. is has effectively solved numerous problems, such as high product input, a lengthy R&D cycle, and widespread of resources. is greatly improves the utilization rate of manufacturing resources within the group, industry, and region. e idea of cloud manufacturing emphasizes collaboration between enterprises and resource sharing within the social scope, which can maximize the sharing and on-demand use of manufacturing resources, and makes full use of manufacturing capacity and knowledge.
In the cloud manufacturing service platform, innovative service is an important way to improve the capability and efficiency of resource integration and realize the upgrading and transformational upgrade of the manufacturing operations [5]. Enterprises apply new ideas and technologies to improve or change existing service and product processes and to increase efficiency levels, thus creating higher value for customers [6,7]. With the development and maturation of the CMfg business model, numerous manufacturing resources have become available within the cloud manufacturing service platform, which provides more and greater opportunities for enterprises to innovate in-demand services and products quickly and easily. Generally, enterprises target the interests of a particular market group. e vastness of cloud manufacturing resources increases the difficulty of building innovative service composition that serves the needs of all the participants. Another concern is how initiators and participants can find satisfactory and accurate service resources quickly. e aim of the research reported here is to improve the satisfaction levels for initiators and participants in service composition through the proposal of a novel selection model based on two-way selection. In this model, both initiators and participants are evaluated by the opposite side based on their interests and needs.
e main contributions of this work are four-hold: (i) First, in order to preserve the uncertain information in semantic evaluation, we quantify semantic evaluation to fuzzy interval values by using rough numbers [8][9][10] (ii) Second, taking into account the enterprise's market position and psychological attitudes to gains and losses, we use the prospect theory [11,12] to evaluate the cooperative desires of both parties (iii) ird, according to the cooperative desires of both parties, we design the two-way selection model to construct innovative service composition, which is solved by an improved teaching-learning-based optimization algorithm (TLBO) [13][14][15][16] (iv) Finally, we conduct comprehensive experiments to evaluate our model by employing a synthesized manufacturing service flow and validate the effectiveness of our model e remainder of this paper is organized as follows. In Section 2, related works are presented. Section 3 introduces several relevant theoretical bases and concepts. In Section 4, a research model based on two-way selection is proposed and the resolution process is described in detail. In Section 5, the results of several experiments are reported and the implications of the findings are discussed. Finally, concluding comments and a description of necessary future research work are offered in Section 6.

Search and Match Service.
e matching problem of cloud manufacturing services is a multiattribute decision optimization problem [17]. When users retrieve services, they search for resources and services primarily by submitting task attribute requirements, which is a fuzzy retrieval of multiple properties through looking for matching data in the database and filtering it. By applying related technologies of semantic description, many existing studies formulate the search and match strategies to improve matching efficiency and construct a discovery framework of resources and services to standardize the description of resources and tasks and to facilitate the sharing and circulation of knowledge. Using the concept of "Situation" as the conceptual cornerstone and building block of descriptions, Garcia-Crespo et al. [18] proposed a conceptual model of semantic representation and knowledge reasoning in industrial manufacturing processes. But their model lacks an explanation of maintenance processes and diagnostic results and is difficult to feedback knowledge. Based on feedback control, He et al. [19] developed a dynamic update method for the attribute vector and selected cloud services with the technique for order preference by similarity to ideal solution (TOPSIS). Analyzing the essential features, classification, and the modeling requirements of CMfg tasks, Wang et al. [20] achieved the matching of tangible resources and intangible resources by establishing a cloud manufacturing framework which promoted cloud manufacturing to become the advanced manufacturing mode of the manufacturing industry. Lu et al. [21] presented an integrated networked environment to quickly allocate resources, according to policies imposed by users or providers on requests and resources, respectively. e proposed approach uses distributed knowledge for adaptive resource planning and intelligent service composition and achieves an accurate mapping between dynamic service requests and distributed manufacturing resources. Studying the relevant problems in the process of researching manufacturing service supplydemand matching, Tao et al. [22] put forward a simulator framework for manufacturing service supply-demand matching and a configurable research methodology for researchers of different levels and different research directions. To select the proper cloud manufacturing services to satisfy both sides of supply and demand, Zhao et al. [23] proposed a bilevel programming model that employed extension theory to make a multiattribute evaluation. eir proposed model introduces cooperative expectation in evaluation and recommend services by bilevel programming to make the selection result closer to the actual needs of both sides. However, it only analyzes the process of solving a single service by linear regulation and does not study the composition service under mass data. e abovementioned analysis shows that most studies mainly focus on how to select the best services, while less studies have taken demands as a reference for accurate evaluation and rarely considered the impact of decision maker's psychological attitudes in the evaluation selection process.

Optimization and Composition of Service.
For task requirements of multiresource services, optimization and composition of services selects a service resource from the cloud manufacturing resource pool to meet the functional constraint requirements of each subtask and assembles the resource services in a certain order to collaboratively complete the multiresource services task. In general, the service composition problem is a multiobjective programming problem, which attracts a large number of scholars to study. Many studies have taken the quality of service (QoS) [24][25][26][27] as the main objective function and considered other factors such as energy consumption and cost and risk of consumers, providers, and transportation. Because of the advantages of intelligent evolutionary algorithms in generality, speed, and coding, they are widely used and studied in solving the problem for optimization and composition of services. Based on QoS and energy consumption, Xiang et al. [26] established the model of multiobjective service composition, which was mapped to group leader algorithm and solved by a novel globe optimization algorithm. Focusing on the selection of energy-efficient services and service composition, ar et al. [27] provided a multicloud service computing approach (Cloud-SEnergy). eir approach selects the least possible number of composite services based on an effective combination of cloud services' providers that satisfy the user request. Taken a task as a directed acyclic graph, Ahn et al. [28] proposed graphbased algorithms to obtain cost, execution time, quality, and reliability of a task having multiple composition patterns and compared the performances of three metaheuristic algorithms (genetic, variable neighbourhood search, and simulated annealing) in solving the problem. In order to handle complicated many-objective problems of service composition and optimal selection in cloud manufacturing, Zhou et al. [29] improved the artificial bee colony (ABC) algorithm by introducing a new diversity maintenance strategy, a synergetic mechanism for food source perturbation, and a novel computing resources allocation scheme. However, as the number of services increases dramatically, many intelligent algorithms require more loops, produce errors, and waste resources, which make the cloud manufacturing system process cumbersome.
Moreover, from the perspective of composite services and service composite networks, Moghaddam et al. [30,31] studied combinable relationship-based composition service network (CoRCS-Net) in composition of cloud manufacturing services and introduced the concepts of composite strength and composite strength diversity to describe the composite service invocation. Focusing on the social collaboration feature of manufacturing services, Ren et al. [32] proposed a service selection model that could maximize the overall synergy effect based on collaboration requirement. Based on task relatedness and temporal dependencies between CMfg services in workflow, Li et al. [33] presented a two-stage composition method for resourceservice chain. For multidata centers, Kendrick et al. [34] proposed a multiagent-based service composition approach for the efficient retrieval of distributed services and propagation of information within the agent network, which reduced the amount of brute-force search to improve efficiency. To detect security, privacy, and trustworthiness violations of service compositions, Asim et al. [35] presented a monitoring framework for SOA-based systems, which was only one building block of a holistic approach for the secure and trustworthy construction and execution of service compositions, but it was implemented as a stand-alone package which could be applied in diverse service orchestrating platforms. e abovementioned studies have some theoretical significance and practical guidance to solve the manufacturing service optimization combination for complex task requirements. But supply and demand are bilateral, most studies ignore the needs and interests of service providers. Considering the diversity of collected data formats, the impact of psychology on selection, the interests and needs of both parties, and the improvement of intelligent algorithms, we study the innovative service composition from these four aspects based on QoS.

Symbol Description
(1) X is a set, X and X represent the upper and lower limits, respectively (2) U is a universe which is a nonempty finite set, and Y is an arbitrary object of U (3) R is a set which includes q classes, and Lim(N i ) represent the lower and upper limits, respectively (6) V is the comprehensive prospect value, calculated by the subjective value (v(Δx)) and the decision weight (ω(p)) (7) a, β, respectively, represent the coefficients of risk attitude for the decision makers on risk "preference" and "avoidance" (8) c and δ, respectively, represent the risk attitude coefficients of decision makers when they perceive the gains and losses (9) p is the probability of an event (10) d k is the distance between the two numbers (11) E(q k ) is the expectation of number q k (12) σ 2 (q k ) is the variance of number q k (13) V ij is the cooperative desire of core enterprise for the i th subtask to the j th service; V ij is the cooperative desire of the j th service to core enterprise and the i th subtask (14) th is the constraint (15) st is the student, coded V ij and V ij (16) r is the learning factor (17) "Mean" is the average of academic achievement (18) "IF" is the teaching factor

Rough Number eory.
e rough set theory, which is proposed by Pawlak in 1982 [8], is an effective tool to deal with incomplete information such as inaccuracy, inconsistency, and incompleteness, with the advantage of mature mathematical foundation and not requiring prior knowledge. Based on equivalence relation, the rough set describes Mathematical Problems in Engineering any concept through two exact sets about upper approximate and lower approximate. When the upper and lower approximations are equal, the concept is an exact set; otherwise, it is a rough set. Definition 1. Let Z be a universe. X is a set whose upper and lower approximations are defined as follows: where (� means reflexive binary relation with reflexivity, without symmetry and transitivity).

Definition 2.
e whole of all sets with the same lower approximation and upper approximation is called a rough set, which is presented as (X, X). e rough number theory is the sublimation and development of the rough set theory, which is first proposed by Zhai et al. [10]. A rough number usually includes lower approximation, upper approximation, and the rough boundary interval, which only depends on the original data.
Because not requiring any auxiliary information or data analysis and adjustment, it can better capture real perception of users and keep the objectivity of assessment information.
Definition 3. Suppose U is a universe which is a nonempty finite set, R is a set which includes q classes, R � N 1 , N 2 , . . . , N q }, and Y is an arbitrary object of U. If these classes are sorted as N 1 < N 2 < · · · < N q , the upper approximation (Apr(N i )) and lower approximation (Apr (N i )) of each class N i (N i ∈ R, i � 1, 2, . . . , q) are defined as follows: e boundary region (Bnd(N i )) of N i is as follows: en, N i can be indicated by a rough number , which is determined by lower and upper limits. e lower and upper limits can be calculated by where B U and B L are, respectively, the number of objects that are included in Apr(N i ) and Apr (N i ).

Prospect eory.
Prospect theory is proposed by Kahneman and Tversky [11,12]. Prospect theory considers that people are limited rational and have various attitudes towards losses and gains in making decisions. People, in prospect theory, are more sensitive to losses than to gains, and their value functions are in the shape of "S." e prospect utility function consists of two parts: where is the subjective value, and ω(p) is the decision weight. e value function given by Tversky et al. is a power function: where a and β, respectively, represent the coefficients of risk attitude for the decision makers on risk "preference" and "avoidance" and θ is the sensitivity coefficient to losses and gains. When 0 < a, β < 1, the larger the parameters are, the weaker the sensitivity of the decision maker is. θ > 1 means more aversion to losses than to gains. e decision weights are inferred from the expected selection. It is found that there is a nonlinear relationship between the decision weight function (ω(p)) and the objective probability in the expected utility, which is the ratio of the weight of probability p to the weight of deterministic events. It neither conforms to the probability formula nor is understood as subjective probability. e formula given by Tversky et al. is where W is the weight function, ω is the probability weight function under risk, p is the probability of judgment, and A i is the i th event. e p(A i ) is given by the assessor's judgment. Considering the focus of the system application and the impact of some risk uncertainties on unknown probability events, the probability weight given by Kahneman et al.is where ω + (p) and ω − (p) is the nonlinear weight function of gains and losses, respectively, ω(0) � 0 and ω(1) � 1, and c and δ, respectively, represent the risk attitude coefficients of decision makers when they perceive the gains and losses.

A Research Model Based on Two-Way Selection.
Suppose that an enterprise decides to develop a new product or service after market research and analysis. Due to the lack of resources or capabilities to complete the full work, the enterprise hopes to build a service composition in the cloud manufacturing service platform to quickly respond to the market. is enterprise, which is called core enterprise, is the initiator in innovative service composition. C � {c 1 , c 2 , . . ., c f } is a set of attributes that the core enterprise evaluates the services in the cloud manufacturing service platform. e c k is the k th index, where k is in (1, 2, . . .and f ) and c 1 , c 2 , . . ., c f are, respectively, independent. A � {a 1 , a 2 , . . ., a g } is an attribute set that candidates of services evaluate the innovative service and core enterprise. e a t is the t th index where t � 1, 2, . . ., g, and a 1 , a 2 , . . ., a g are independent of each other too. e requirements of both sides of collaborators are called constraints. e constraints that must be met are called hard constraints, and the rest are called soft constraints. ere are three types in soft constraints: (1) Cost-constrained properties: the smaller their value, the better, such as the cost and the energy consumption (2) Benefit-constrained properties: the values of this type are as big as possible, for example, the quality of service and the reliability (3) Zone-type constraint properties: this type attributes change in a range, for instance, the manufacturing period e research model based on two-way selection is shown in Figure 1.
After defining the structure of the product or service, the core enterprise divides the cooperative task into many subtasks according to the work process. e core enterprise clearly describes and submits the cooperative tasks and the QoS requirements of each subtask according to the market positioning of the product or service. Receiving the request, the composite service management center queries the monitoring system for the services that meet the functional requirements and calculates the cooperative desire of the core enterprise to each candidate service by prospect evaluation combining cooperative expectation and the psychological attitude towards gain and loss. While, the cooperative desires of candidate service providers to the core enterprise and project are calculated in the same way. After two-way selection, the composite service management center structures the innovative service composition and sends the requests for elected candidates. If candidates accept the invitation, a new service composition is registered in a service registration center, otherwise reselected. e core enterprise is responsible for the operation, maintenance, revocation, and coordination of new services.

Evaluation
Based on Prospect eory. In order to obtain the values about gains and losses in prospect theory, the cooperative expectations of core enterprise to each subtask and that of partner services to core enterprise and product are taken as the reference points to calculate the distances between actual values and reference values, and the values of gains and losses are calculated according to whether the attributes are the cost or benefit type.
In the evaluation process, the perceived values are expressed as three types: numeric, semantic, and interval numbers. To facilitate the calculation automatically, the semantic evaluation must be quantized firstly. According to the actual situation in this system, the comment set is divided into seven levels. Each uncertain evaluation comment corresponds to a fuzzy interval, as shown in Table 1.
For example, there are 20 evaluations of reputation for a service within a month in Table 2: According to formula (4) en, the expectation of q k is as follows: Mathematical Problems in Engineering where σ 2 (q k ) is the variance between the q k and the expectation of q k .
Definition 5. Suppose q k � 〈q low k , q low k 〉, 〈q numbers. e distance between two interval rough numbers is as follows: e q k and e k are the interval rough numbers after quantization of qualitative attribute for perceived value and expected value, respectively. When E(q k ) ≠ E(e k ), if E(q k ) > E(e k ), q k > e k else if E(q k ) < E(e k ), q k < e k . When E(q k ) � E(e k ), if σ 2 (q k ) > y(e k ), then q k < e k , else q k > e k .
When the attribute values are interval numbers, this is the same as the upper limit and lower limit of the interval rough number, respectively, is a numeric value. Formula (11) degrades to formula (12): When the attribute value is numeric, the attribute value and the desired value are both real numbers, and the distance     Mathematical Problems in Engineering between the actual value and the reference value can be calculated directly: Other cases can be considered as the degradation and deformation of formula (11) or formula (12).
In order to remove the influence of different dimensions on the calculation results, the distance is normalized to the value of [0, 1]: According to the type of attributes, we can establish the decision matrix of gains and losses for the core enterprise to each partner service in each subtask: When q k ≥ e k , the distance is regarded as the gain attribute value relative to the reference point, otherwise, it is the loss. Because there is a varying risk attitude to gain and loss in prospect theory, the attribute prospect matrix of core enterprise to partner services can be obtained from formula (6): Considering the decision-maker preference to each evaluation attribute and the influence of uncertain factors on unknown probability events, the weight calculation formula of the core enterprise's preference to each attribute index of the candidate service is obtained according to formula (8): Substituting the results of formulas (16) and (17) into formula (5), we can obtain the composite prospect value (V i ) and use V i to represent cooperative desire of the core enterprise to the i th potential service. In the same way, the V i was calculated which represents the cooperative desire of the i th potential service to the core enterprise and new service.

A Two-Way Selection Mathematical Model of Innovative
Service Composition. According to the demand and technology, the core enterprise decomposes the tasks of new products or services to form a task flow containing multiple subtasks. Based on the existing research results [36,37], we analyzed the manufacturing task flow and summarized the following relationships between adjacent subtasks, as shown in Figure 2: ere are usually four structures in the subtask order: serial, loop, selective, and parallel. Most of them are serial structures, and the other three structures can be simplified as an independent manufacturing link which is equivalent to serial structures. erefore, the serial structure is as the basis to research the service composition. e process of building innovative service composition is actually a two-way selection process between the core enterprise and the manufacturing service provider. On the one hand, the core enterprise selects the optimal service in the cloud manufacturing service platform. On the other hand, potential service providers have their own market position and cooperation intentions and decide whether to cooperate based on their views on the core enterprise and new service. Aiming to best meet the needs of both sides, we establish the mathematical model shown as follows: where n is the number of candidate services for each subtask, m is the number of subtasks, θ i is the maximum number of cooperation, th is the constraints, M is a manufacturing task that includes m subtasks, M � {MT 1 , MT 2 , . . ., MT m }, and S is the set of services. Formula (18) is the optimization function for core enterprise which selects the most satisfying service for each subtask, while formula (19) is the objective function of potential service providers to core enterprise and innovative service composition that service providers select most willing to cooperate. e constraint formula (20) indicates that the core enterprise only selects one service for a subtask, and the constraint formula (21) limits a service to participate in θ i service compositions. Formula (22) limits the range of services that meet the basic constraints while formula (23) describes the market positioning and interests of service provider. In formula (24), whenx ij � 1, it is selected; when x ij � 0, it is not selected.

Solving Process Based on Teaching-Learning-Based Optimization Algorithm.
Teaching-learning-based optimization algorithm (TLBO) is a new swarm intelligence optimization algorithm proposed by Rao et al. in 2010 [13], which simulates the teaching process of teachers to students and the learning process of students, with the aim of improving students' academic performance through the "teaching" of teachers and the mutual "learning" between students. TLBO algorithm has fewer parameters, simple algorithm, easy to understand, fast solving speed, high accuracy, and strong convergence ability, which has attracted the attention of many scholars and has been a good application in a short time. In order to improve the global convergence ability of TLBO and improve its solution accuracy, an improved TLBO is proposed in this paper based on opposition-based learning (OBL) [14].

Individual Coding.
How to achieve the mapping between the problem about solving the two-way selection model and the individual student in the class is the first problem to be solved. In this paper, a real number coding method is adopted so that each student represents a candidate enterprise and the number of subjects is the number of subtasks, as shown in Figure 3.

Teaching Stage.
In the teaching stage, the individual with the optimal fitness value in the class is selected as the teacher. e teacher will improve students' achievements in various subjects through teaching, and try his best to make the average grade of the class close to his own. An individual student learns according to the difference between the teacher and the average value. e updating formula of individual student [13] is where t is the number of iterations, "Mean" is the average of academic achievements, r t is the learning factor, which is a random number in [0, 1], and "IF" is the teaching factor, whose value is 1 or 2: IF � round (1 + rand (0, 1)).

Learning Stage.
In the learning stage, each student randomly selects a learning object in the group and studies by analyzing the difference between him and other students.
In the TLBO, each student adopts different learning factors, and the updating formula of student [13] is where r j is random number in [0, 1], f(st j ) and f(st k ) are individual fitness values respectively, and st j and st k are different candidate services for a subtask.
In the process of learning, individuals should avoid learning from themselves. After learning, the st new j is better than the old one.

Opposition-Based Learning.
e algorithm of OBL was proposed by Tizhoosh [14], whose core idea was that current student s j was producing the opposition population (P j ) in the community, and the better individual went into the next generation instead of s j after competition between P j and s j . ere was a 50% higher probability of P j than s j to approach the global optimal, which was proven in detail in reference [14]. After analyzing the principle and process of OBL, it can be seen that students can improve their abilities by learning from the surrounding environment. So, we apply OBL in TLBO for students to reflect on their own problems and improve their knowledge literacy through OBL.  In the opposite-based optimization (OBO), if is the opposite solution of X and the f is the fitness function in the two-way selection model.

Solving Process.
e solving process of the composition model based on two-way is described in Figure 4.

Experiment and Analysis
Since no standard test platform and test data presently exists, to verify the rationality and practicability of the proposed method, an experimental simulation environment was built in our laboratory. e development environment consists of JDK8, eclipse4.3, and SQL Server2005. Tomcat7.0 is also included as a server to build the simulation platform of cloud manufacturing services. e simulation platform was developed by Java to reproduce the establishment and management of composite services in the cloud manufacturing environment.
Suppose that a core enterprise decides to produce a new mold based on market research. According to current processing technology, the task will be divided into four relatively independent subtasks [MT 1 , MT 2 , MT 3, and MT 4 ]. e core enterprise can accomplish MT 1 , then find the other three subtasks in the cloud manufacturing service platform, and this information can be used to form an innovative service composition in response to the targeted market. rough two-way selection, based on the psychological expectation of all parties, the cloud manufacturing service platform can recommend the most suitable service to construct service composition, that all parties are willing to cooperate with. Because there are great differences between manufacturing industries, the evaluation indexes used for the various industries are also different. In this paper, the evaluation indexes for core enterprise to choose new manufacturing services include credibility, price, delivery time, and reliability, and indicators of service providers to evaluate core enterprise and new service include technical difficulty level, risk, and investment cost.

Evaluate Services Based on Prospect eory.
In order to study the impact of psychological expectation on the evaluation results, we take the MT 2 as an example to analyze the evaluation process of prospect theory and compare it with the TOPSIS algorithm [19] and the extension evaluation algorithm [23]. e requirements for MT 2 are (Good, 3000, [12][13][14], Better). ere are 20 cloud-manufacturing services that meet the functional requirements with different QoS in the simulation platform. e perceived values of each service are shown in Table 3.
In Table 3, the credibility comes from the perceptive module, which collects user evaluation information periodically.
e price is the cost of good reaching the demander or next manufacturing node that includes two parts: manufacturing cost and transportation cost whose unit is RMB. e transportation costs are determined by past expenses. e delivery time includes manufacturing time and transportation time, which is measured in days. In addition, the reliability is represented by the ratio of the number of satisfied tasks to the number of received tasks.
As shown in Figure 5, we take the requirements of MT 2 (Good, 3000, [12][13][14], Better) as reference points, calculate the distance (d k ) between the perceived value of each attribute to the reference point by formulas (9)-(13) according to the quantized format of the attribute, and normalize the d k using formula (14). Based on the type of attributes, the decision matrix of gains and losses [T 2 (k)] is established through formula (15 In the solution of prospect theory, α � β � 0.88 and θ � 2.25 in formula (16) and c � 0.61 and δ � 0.69 in formula (17). Most researchers believe that these values can reflect the irrational people's preference for losses and gains. For the convenience of calculation, the weight of the core enterprise is given as {0.3, 0.3, 0.2, 0.2}. en, we use formula (16) to adjust the distance to the prospect value v 2 (k) and use formula (17) to adjust weight to preference weights according to v 2 (k) in [T 2 (k)]. Finally, the results of formulas (16) and (17) are substituted into formula (5) to obtain the comprehensive prospect value, which is regarded as the cooperative desire. In order to analyze the differences of prospect theory in services evaluation, we compared the TOPSIS algorithm and extension evaluation method with the proposed algorithm in this part. e results of three methods are shown in Table 4.
From Table 4 ere are some differences in the sorting results of these three methods. TOPSIS algorithm takes the positive ideal and negative ideal points as reference points. After the reference points are determined, there is only one sorted result for the fixed services, which follows the same sorting   criteria for all sorts. Its evaluation result is relatively objective, but less relevant to users' requirements. e extension evaluation takes the expectation of core enterprises as the optimal points and finds out the acceptable range of core enterprises as the classical domain, which ties to the needs of each subject. So, there is a sorting result for each specific requirement. e proposed method also takes the expectation of the core enterprise as the reference points, which is an improvement of the TOPSIS method, calculates the distance between each attribute and the reference point, and considers the varying attitudes of decision makers towards gains and losses. e proposed method in this paper has a sorting result for each subject too. Extension evaluation and proposed method all embody the idea of demand as the basis for decision-making. Moreover, the proposed method takes into account people's varying psychological attitudes towards gains and losses, which interprets the psychology of decision-making and enables the optimization process to reflect human behavior.
In the abovementioned experiment, we used the suggested sensitivity coefficient (α, β) and weight coefficient (c, δ) in prospect theory. It is necessary to further analyze the influence of their changes. e influences of the sensitivity coefficient and weight coefficient on comprehensive prospect value are shown in Figures 6 and 7.
From Figure 5, we can see that the influences of the sensitivity coefficient in losses are more sensitive than in gains.
at is say decision makers are more sensitive to losses than gains, risk-averse to the gains, and risk appetite for losses. e tow functions are same for the weight coefficient, and the key is the parameter values from experiences. Based on simulation analysis, the values of the abovementioned parameters are within a reasonable range in the calculation process of this study. But there were varying psychologies for difference decision makers, so we need to subdivide small groups in the future to determine precise parameters and provide fine services for different small groups.

Two-Way Selection Based on OBL-TLBO.
We then analyze the application of OBL-TLBO in two-way selection. Let Max(V 2j + V 3j + V 4j ) and Max(V 2j + V 3j + V 4j ) be the fitness function where V 2j , V 3j , and V 4j are the cooperative desires of the core enterprise to each potential service for MT 2 , MT 3, and MT 4 and V 2j , V 3j , and V 4j are the cooperative desires of each service provider to the core enterprise and related subtask. e core enterprise selects a service for each subtask and each candidate service has the opportunity further collaboration. In order to show the advantages of improved teaching and learning algorithms (OBL-TLBO), we compare it with standard TLBO [15] and feedback elitist TLBO [16]. e problem size is designed at 20 × 20 × 20, 100 × 100 × 100, and 500 × 500 × 500, that is, to say each subtask (MT 2 , MT 3, and MT 4 ) has 20, 100, and 500 candidate services. At population size is 30 × 3, Figures 8-10 show the convergence curves in three cases, respectively.
As seen from Figures 8-10, three algorithms find almost same optimal solutions at different sizes, and the OBL-TLBO is obviously superior to standard TLBO and elitist TLBO in convergence speed and accuracy of optimal solution. Elitist TLBO strengthens the search ability by using the elite substitution strategy and enhances the convergence ability by keeping the best elite individual to the next generation. On this basis, OBL-TLBO enhances learning ability by performing OBL, which has been indicated by Tizhoosh that there is a 50% higher probability than old one to closer to the global optimal. So, OBL-TLBO is easier to jump out of the local optimum and has a faster convergence speed. e    On three sizes, the program of each algorithm is ran independently 20 times, and Table 5 shows the average number of iterations of three methods to obtain the optimal solution.
From Table 5, we can see that the performance of each algorithm is stable at different scales, and the average number of iterations for OBL-TLBO is much less than the other two algorithms.
Moreover, we analyze the influences of one-way and two-way recommended on innovative service composition. e cooperative expectations of candidate services are evaluated by four indicators: credibility, technical difficulty level, risk, and investment cost. e gaps between the actual situations and cooperation expectations for both sides in the one-way and two-way recommended mode at size of 20 × 20 × 20 are shown in Table 6, which are evaluated by prospect theory.      As can be seen from Table 6, in the one-way service combination optimization process, the recommended service for each subtask is the best one that core enterprises consider, so the value of "V" is very high while the providers of recommended services are reluctant to the core enterprise and the project, so V is negative and lower. But, in the two-way service combination optimization process, the recommended services for the core enterprise are considered better by the core enterprise. At the same time, the providers of candidate services are also willing to cooperate and have the good evaluations, so V and V are positive numbers and larger. And, formulas (22) and (23) prevent the occurrence of some extreme conditions and reduce the amount of calculation.
Building innovative service composition is a two-way negotiation process. Each enterprise has its own market positioning and has some requirements for partners and cooperative projects. Enterprises with good conditions are naturally required to cooperate with higher requirements while ordinary enterprises are also willing to cooperate with enterprises with the same market positioning. e "best" one is not necessarily the "most suitable" one. Mutual satisfaction between the two sides of the composite service is the basis for stable, harmonious, and healthy development. From the abovementioned analysis, it can be seen that the proposed model based on two-way is more consistent with the actual application environment of CMfg. In addition, in the process of building innovative service composition, the varying attitudes of all parties to "gains" and "losses" are fully considered, which makes the choice more suitable for the limited rationality of human beings.

Conclusion
e cooperative desires of both partners are imperative for building an innovative service composition in the cloud manufacturing environment and provide the main basis for optimization and composition of services. Based on the existing research results, this paper proposes a two-way selection method, taking cooperative desires as the maximum optimization objective. Compared with previous studies, the proposed model has the following characteristics: (1) Because of the advantage of mature mathematical foundation and not requiring prior knowledge, we use rough numbers to quantify semantic evaluation into fuzzy interval values. e result of semantic evaluation is transformed into a rough number whose upper and lower limits are intervals. is method minimizes the loss of uncertain information in the process of semantic evaluation quantification and extends the application range of rough numbers.
(2) According to the different data formats, we have designed different calculation methods for distance. Taking demands as the reference points, we construct the loss-benefit matrix, use prospect theory to evaluate services, and analyze the influences of parameter changes on the evaluation results. Such evaluation results are more in line with people's way of thinking. (3) With the cooperation desire of both parties, we have constructed a two-way selection model so that the recommended services can meet the needs of both suppliers and demanders, and the composed innovative services will also be stable. is method overcomes the shortcomings of traditional composition methods that have long neglected the needs and interests of service providers. (4) Opposition-based learning greatly improves the learning ability of students and improves the efficiency of teaching and learning algorithms. It shows better results in solving the two-way selection model.
Analysis of the process of constructing innovative service composition in a mold enterprise provides verification of the proposed model's effectiveness and feasibility.
e other experiments were tested in smart device and software development services and achieved good results. However, in the application of the proposed model, the complex task flow is simplified into a linear structure and relatively independent subtasks, and the complex task flows and service compositions with dependencies and constraints need further study. Future extensions about this work include potential constraints of subtasks and other complex service composition scenarios, such as time constraint, technology dependence, regional restrictions, and social relationships. Other future research avenues include the quantification of heterogeneous network data and efficient optimization algorithm.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that there are no conflicts of interest regarding the publication of this paper.