Abstract

In the cloud manufacturing environment, innovative service composition is an important way to improve the capability and efficiency 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 quantification. Experimental results verify the applicability and effectiveness of the proposed method.

1. 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 on-demand 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. This has effectively solved numerous problems, such as high product input, a lengthy R&D cycle, and widespread of resources. This greatly improves the utilization rate of manufacturing resources within the group, industry, and region. The 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. The 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.

The 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. The 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 [810](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)Third, 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) [1316](iv)Finally, we conduct comprehensive experiments to evaluate our model by employing a synthesized manufacturing service flow and validate the effectiveness of our model

The 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.

2.1. Search and Match Service

The 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 corner-stone 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. The 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 supply-demand 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. Their 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. The 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.

2.2. 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) [2427] 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, Thar et al. [27] provided a multicloud service computing approach (Cloud-SEnergy). Their 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 graph-based 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 resource-service 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.

The 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.

3. Theoretical Background

3.1. Symbol Description

(1)X is a set, and 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, (4) is the boundary region of (5) is the rough number of , represent the lower and upper limits, respectively(6) is the comprehensive prospect value, calculated by the subjective value and the decision weight (7), respectively, represent the coefficients of risk attitude for the decision makers on risk “preference” and “avoidance”(8) and , respectively, represent the risk attitude coefficients of decision makers when they perceive the gains and losses(9) is the probability of an event(10) is the distance between the two numbers(11) is the expectation of number (12) is the variance of number (13) is the cooperative desire of core enterprise for the ith subtask to the jth service; is the cooperative desire of the jth service to core enterprise and the ith subtask(14) is the constraint(15) is the student, coded and (16) is the learning factor(17)“Mean” is the average of academic achievement(18)“IF” is the teaching factor

3.2. Rough Number Theory

The 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 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. The whole of all sets with the same lower approximation and upper approximation is called a rough set, which is presented as .
The 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, , and Y is an arbitrary object of U. If these classes are sorted as , the upper approximation and lower approximation of each class are defined as follows:The boundary region of is as follows:Then, Ni can be indicated by a rough number , which is determined by lower and upper limits. The lower and upper limits can be calculated bywhere BU and BL are, respectively, the number of objects that are included in and .

3.3. Prospect Theory

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.” The prospect utility function consists of two parts:where , is the subjective value, and is the decision weight.

The value function given by Tversky et al. is a power function:where , 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 , the larger the parameters are, the weaker the sensitivity of the decision maker is. means more aversion to losses than to gains.

The decision weights are inferred from the expected selection. It is found that there is a nonlinear relationship between the decision weight function 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. The formula given by Tversky et al. iswhere is the weight function, is the probability weight function under risk, is the probability of judgment, and Ai is the ith event.

The 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.iswhere and is the nonlinear weight function of gains and losses, respectively, and , and and , respectively, represent the risk attitude coefficients of decision makers when they perceive the gains and losses.

4. Building Innovative Service Composition Based on Two-Way Selection

4.1. 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. This enterprise, which is called core enterprise, is the initiator in innovative service composition.

C = {c1, c2, …, cf} is a set of attributes that the core enterprise evaluates the services in the cloud manufacturing service platform. The ck is the kth index, where k is in (1, 2, …and f) and c1, c2, …, cf are, respectively, independent. A = {a1, a2, …, } is an attribute set that candidates of services evaluate the innovative service and core enterprise. The at is the tth index where t = 1, 2, …, g, and a1, a2, …, are independent of each other too. The requirements of both sides of collaborators are called constraints. The constraints that must be met are called hard constraints, and the rest are called soft constraints. There 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

The 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. The 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. The core enterprise is responsible for the operation, maintenance, revocation, and coordination of new services.

4.2. Evaluation Based on Prospect Theory

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),  = <0.420, 0.580>/1 = <0.420, 0.580> and  = (<0.420, 0.580> + <0.580, 0.740> + <0.740, 0.900>  8 + <0.900, 1.000>  10)/20 = <0.7960, 0.9260>. In the same way, the rough number  = {<0.500, 0.660>,<0.816, 0.944>},  = {<0.692, 0.852>, <0.829, 0.956>}, and  = {<0.796, 0.926>, <0.900, 1.000>}. If each assessment is equally important, the average rough number is {<0.721, 0.866>, <0.862, 0.976>}. We can see that the upper limits and lower limits of quantized rough numbers are interval numbers.

Definition 4. Suppose is an interval rough number. Then, the expectation of is as follows:where the is in {1, …, f } or {1, …, }.
The variance iswhere is the variance between the and the expectation of .

Definition 5. Suppose and are two interval rough numbers. The distance between two interval rough numbers is as follows:The and are the interval rough numbers after quantization of qualitative attribute for perceived value and expected value, respectively. When , if ,  >  else if ,  < . When , if , then  < , else  > .
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 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 , 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 and use to represent cooperative desire of the core enterprise to the ith potential service. In the same way, the was calculated which represents the cooperative desire of the ith potential service to the core enterprise and new service.

4.3. 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:

There 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. Therefore, the serial structure is as the basis to research the service composition.

The 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, is the maximum number of cooperation, is the constraints, M is a manufacturing task that includes m subtasks, M = {MT1, MT2, …, MTm}, 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. The 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 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), when = 1, it is selected; when  = 0, it is not selected.

4.4. 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].

4.4.1. 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.

4.4.2. Teaching Stage

In the teaching stage, the individual with the optimal fitness value in the class is selected as the teacher. The 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. The updating formula of individual student [13] iswhere t is the number of iterations, “Mean” is the average of academic achievements, is the learning factor, which is a random number in [0, 1], and “IF” is the teaching factor, whose value is 1 or 2:

4.4.3. 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] iswhere rj is random number in [0, 1], are individual fitness values respectively, and are different candidate services for a subtask.

In the process of learning, individuals should avoid learning from themselves. After learning, the is better than the old one.

4.4.4. Opposition-Based Learning

The algorithm of OBL was proposed by Tizhoosh [14], whose core idea was that current student sj was producing the opposition population (Pj) in the community, and the better individual went into the next generation instead of sj after competition between Pj and sj. There was a 50% higher probability of Pj than sj 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.

Definition 6. Suppose x is a real number in interval [a, b], the opposite number of x is . Then, if there is a multidimensional point X = {x1, x2, …, xi, …, xn}, , the opposite solution of X is defined as , where , and is a random number uniformly distributed between [0, 1].
In the opposite-based optimization (OBO), if , then take the place of , where is the opposite solution of X and the is the fitness function in the two-way selection model.

4.4.5. Solving Process

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

5. 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. The 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. The 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 [MT1, MT2, MT3, and MT4]. The core enterprise can accomplish MT1, 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. Through 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.

5.1. Evaluate Services Based on Prospect Theory

In order to study the impact of psychological expectation on the evaluation results, we take the MT2 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]. The requirements for MT2 are (Good, 3000, [1214], Better). There are 20 cloud-manufacturing services that meet the functional requirements with different QoS in the simulation platform. The 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. The 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. The transportation costs are determined by past expenses. The 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 MT2 (Good, 3000, [1214], Better) as reference points, calculate the distance (dk) 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 dk using formula (14). Based on the type of attributes, the decision matrix of gains and losses is established through formula (15).

In the solution of prospect theory, and  = 2.25 in formula (16) and and 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}. Then, we use formula (16) to adjust the distance to the prospect value and use formula (17) to adjust weight to preference weights according to in . 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. The results of three methods are shown in Table 4.

From Table 4, we can get the sorting results of three methods, Prospect theory: s13 > s11 > s5 > s2 > s14 > s19 > s20 > s10 > s17 > s9 > s6 > s8 > s18 > s4 > s7 > s1 > s15 > s16 > s12 > s3; TOPSIS: s13 > s5 > s11 > s9 > s18 > s2 > s20 > s17 > s19 > s10 > s14 > s6 > s7 > s8 > s1 > s4 > s16 > s15 > s3 > s12; Extension evaluation: s13 > s5 > s11 > s2 > s20 > s9 > s18 > s10 > s19 > s14 > s7 > s6 > s1 > s4 > s16 > s8 > s3 > s17 > s12 > s15.

There 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. The 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. The 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. The 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 (, ) in prospect theory. It is necessary to further analyze the influence of their changes. The 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. That is say decision makers are more sensitive to losses than gains, risk-averse to the gains, and risk appetite for losses. The 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.

5.2. Two-Way Selection Based on OBL-TLBO

We then analyze the application of OBL-TLBO in two-way selection. Let and be the fitness function where are the cooperative desires of the core enterprise to each potential service for MT2, MT3, and MT4 and are the cooperative desires of each service provider to the core enterprise and related subtask. The 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]. The problem size is designed at 20 × 20 × 20, 100 × 100 × 100, and 500 × 500 × 500, that is, to say each subtask (MT2, MT3, and MT4) has 20, 100, and 500 candidate services. At population size is 30 × 3, Figures 810 show the convergence curves in three cases, respectively.

As seen from Figures 810, 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. The convergence curves of OBL-TLBO in Figures 810 also show more variation and faster convergence than others.

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. The cooperative expectations of candidate services are evaluated by four indicators: credibility, technical difficulty level, risk, and investment cost. The 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 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 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. The “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.

6. Conclusion

The 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. The result of semantic evaluation is transformed into a rough number whose upper and lower limits are intervals. This 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. This 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. The 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

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

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This paper was supported by the National Natural Science Foundation of China (Grant no. U1504622), Key Subjects of Social Science Development in Hebei Province (Grant nos. 201602020215 and 201802020211), and Science and Technology Research and Development Program in Shijiazhuang (Grant no. 191130561A).