Skip to main content
Log in

Evolutionary computation for automatic Web service composition: an indirect representation approach

  • Published:
Journal of Heuristics Aims and scope Submit manuscript

Abstract

Web services have become increasingly popular in recent years, and they are especially suitable to the process of Web service composition, which is when several services are combined to create an application that accomplishes a more complex task. In recent years, significant research efforts have been made on developing approaches for performing Quality of Service -aware Web service composition. Evolutionary computing (EC) techniques have been widely used for solving this problem, since they allow for the quality of compositions to be optimised, meanwhile also ensuring that the solutions produced have the required functionality. Existing EC-based composition approaches perform constrained optimisation to produce solutions that meet those requirements, however these constraints may hinder the effectiveness of the search. To address this issue, a novel framework based on an indirect representation is proposed in this work. The core idea is to first generate candidate service compositions encoded as sequences of services. Then, a decoding scheme is developed to transform any sequence of services into a corresponding feasible service composition. Given a service sequence, the decoding scheme builds the workflow from scratch by iteratively adding the services to proper positions of the workflow in the order of the sequence. This is beneficial because it allows the optimisation to be carried out in an unconstrained way, later enforcing functionality constraints during the decoding process. A number of encoding methods and corresponding search operators, including the PSO, GA, and GP-based methods, are proposed and tested, with results showing that the quality of the solutions produced by the proposed indirect approach is higher than that of a baseline direct representation-based approach for twelve out of the thirteen datasets considered. In particular, the method using the variable-length sequence representation has the most efficient execution time, while the fixed-length sequence produces the highest quality solutions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12

Similar content being viewed by others

References

  • Aggarwal, R., Verma, K., Miller, J., Milnor, W.: Constraint Driven Web Service Composition in Meteor-s. In: Services Computing, 2004. (SCC 2004). Proceedings. 2004 IEEE International Conference on, IEEE, pp. 23–30 (2004)

  • Ahuja, R.K., Ergun, Ö., Orlin, J.B., Punnen, A.P.: A survey of very large-scale neighborhood search techniques. Discret. Appl. Math. 123(1), 75–102 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  • Anand, A., de Veciana, G.: Invited paper: Context-Aware Schedulers: Realizing Quality of Service/Experience Trade-offs for Heterogeneous Traffic Mixes. In: Modeling and Optimization in Mobile, Ad Hoc, and Wireless Networks (WiOpt), 2016 14th International Symposium on, IEEE, pp. 1–8 (2016)

  • Bansal, A., Blake, M.B., Kona, S., Bleul, S., Weise, T., Jaeger, M.C.: WSC-08: Continuing the Web Services Challenge. In: E-Commerce Technology and the Fifth IEEE Conference on Enterprise Computing, E-Commerce and E-Services, 2008 10th IEEE Conference on, IEEE, pp. 351–354 (2008)

  • Bartalos, P., Bieliková, M.: QoS Aware Semantic Web Service Composition Approach Considering Pre/Postconditions. In: Web Services (ICWS), 2010 IEEE International Conference on, IEEE, pp. 345–352 (2010)

  • Bierwirth, C., Mattfeld, D.C., Kopfer, H.: On Permutation Representations for Scheduling Problems. In: International Conference on Parallel Problem Solving from Nature, Springer, pp. 310–318 (1996)

  • Blum, A.L., Furst, M.L.: Fast planning through planning graph analysis. Artif. Intell. 90(1), 281–300 (1997)

    Article  MATH  Google Scholar 

  • Boussalia, S.R., Chaoui, A.: Optimizing QoS-based Web Services Composition by Using Quantum Inspired Cuckoo Search Algorithm. In: International Conference on Mobile Web and Information Systems, Springer, pp. 41–55 (2014)

  • Canfora, G., Di Penta, M., Esposito, R., Villani, M.L.: An Approach for Qos-Aware Service Composition Based on Genetic Algorithms. In: Proceedings of the 7th annual conference on Genetic and evolutionary computation, ACM, pp. 1069–1075 (2005)

  • Cardoso, J., Sheth, A., Miller, J., Arnold, J., Kochut, K.: Quality of service for workflows and web service processes. Web Semant. Sci. Serv. Agents World Wide Web 1(3), 281–308 (2004)

    Article  Google Scholar 

  • Cavendish, D., Gerla, M.: Internet qos routing using the bellman-ford algorithm. In: van As, H. R. (ed.) IFIP TC-6 Eighth International Conference on High Performance Networking (HPN’98), vol. 8, pp. 627–646. Springer, Boston (1998)

  • Chen, L., Heinzelman, W.B.: A survey of routing protocols that support qos in mobile ad hoc networks. IEEE Netw. 21(6), 30–38 (2007)

    Article  Google Scholar 

  • Chen, S., Nahrstedt, K.: An overview of quality of service routing for next-generation high-speed networks: problems and solutions. IEEE Netw. 12(6), 64–79 (1998)

    Article  Google Scholar 

  • Chifu, V.R., Pop, C.B., Salomie, I., Suia, D.S., Niculici, A.N.: Optimizing the semantic web service composition process using cuckoo search. In: Brazier, F. M. T., Nieuwenhuis, K., Palvin, G., Warnier, M., Badica, C., (eds.) Proceedings of the 5th International Symposium on Intelligent Distributed Computing, pp. 93–102. Springer, Berlin, Heidelberg (2012)

  • Chifu, V.R., Salomie, I., Pop, C.B., Niculici, A.N., Suia, D.S.: Exploring the selection of the optimal web service composition through ant colony optimization. Comput Inform. 33(5), 1047–1064 (2015)

    Google Scholar 

  • da Silva, A., Ma, H., Zhang, M.: Graphevol: A Graph Evolution Technique for Web Service Composition. In: Database and Expert Systems Applications, LNCS, vol 9262, Springer International Publishing, pp. 134–142 (2015)

  • da Silva, A.S., Mei, Y., Ma, H., Zhang, M.: A Memetic Algorithm-Based Indirect Approach to Web Service Composition. In: Evolutionary Computation (CEC), 2016 IEEE Congress on, IEEE, pp. 3385–3392 (2016a)

  • da Silva, A.S., Mei, Y., Ma, H., Zhang, M.: Particle Swarm Optimisation with Sequence-Like Indirect Representation for Web Service Composition. In: European Conference on Evolutionary Computation in Combinatorial Optimization, Springer, pp. 202–218 (2016b)

  • Fränti, P., Kivijärvi, J.: Randomised local search algorithm for the clustering problem. Pattern Anal. Appl. 3(4), 358–369 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  • Gabrel, V., Manouvrier, M., Megdiche, I., Murat, C.: A New 0–1 Linear Program for Qos and Transactional-Aware Web Service Composition. In: Computers and Communications (ISCC), 2012 IEEE Symposium on, IEEE, pp. 845–850 (2012)

  • Jaeger, M.C., Mühl, G.: Qos-Based Selection of Services: The Implementation of a Genetic Algorithm. In: Communication in Distributed Systems (KiVS), 2007 ITG-GI Conference, VDE, pp. 1–12 (2007)

  • Jatoth, C.,Gangadharan, G.: QoS-aware web service composition using quantum inspired particle swarm optimization. In: Neves-Silva, R., Jain, L.C., Howlett, R.J. (eds.) Intelligent Decision Technologies. Proceedings of the 7th KES International Conference on Intelligent Decision Technologies (KES-IDT 2015), vol. 39, pp. 255–265. Springer International Publishing, Cham (2015)

  • Keller, A., Ludwig, H.: The WSLA framework: specifying and monitoring service level agreements for web services. J. Netw. Syst. Manag. 11(1), 57–81 (2003)

    Article  Google Scholar 

  • Kona, S., Bansal, A., Blake, M.B., Bleul, S., Weise, T.: WSC-2009: A Quality of Service-Oriented Web Services Challenge. In: Commerce and Enterprise Computing, 2009. CEC’09. IEEE Conference on, IEEE, pp. 487–490 (2009)

  • Koza, J.R.: Genetic Programming: On The Programming Of Computers By Means of Natural Selection, vol. 1. MIT press, Cambridge (1992)

    MATH  Google Scholar 

  • Lacomme, P., Prins, C., Ramdane-Cherif, W.: Competitive memetic algorithms for arc routing problems. Ann. Oper. Res. 131(1–4), 159–185 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  • Larranaga, P., Kuijpers, C.M.H., Murga, R.H., Inza, I., Dizdarevic, S.: Genetic algorithms for the travelling salesman problem: a review of representations and operators. Artif. Intell. Rev. 13(2), 129–170 (1999)

    Article  Google Scholar 

  • Liu, G., Zhao, Y., Wang, Z., Liu, Y.: A service chain discovery and recommendation scheme using complex network theory. Math. Probl. Eng. 2014, 1–6 (2014)

  • Ludwig, S., et al: Applying Particle Swarm Optimization to Quality-of-Service-Driven Web Service Composition. In: Advanced Information Networking and Applications (AINA), 2012 IEEE 26th International Conference on, IEEE, pp. 613–620 (2012)

  • Ma, Q., Steenkiste, P.: Quality-of-service routing for traffic with performance guarantees. In: Campbell, A.T., Nahrstedt, K. (eds.) Building QoS into Distributed Systems, pp. 115–126. Springer (1997)

  • Menascé, D.A.: QoS issues in web services. IEEE Internet Comput. 6(6), 72–75 (2002)

    Article  Google Scholar 

  • Menasce, D.A.: Composing web services: a qos view. Internet Comput. IEEE 8(6), 88–90 (2004)

    Article  Google Scholar 

  • Milanovic, N., Malek, M.: Current solutions for web service composition. IEEE Internet Comput. 8(6), 51 (2004)

    Article  Google Scholar 

  • Miller, B.L., Goldberg, D.E.: Genetic algorithms, tournament selection, and the effects of noise. Complex Syst. 9(3), 193–212 (1995)

    MathSciNet  Google Scholar 

  • Moghaddam, M., Davis, J.G.: Service selection in web service composition: A comparative review of existing approaches. In: Bouguettaya, A., Sheng, Q.Z., Daniel, F. (eds.) Web Services Foundations, pp. 321–346. Springer, New York (2014)

  • Niu, Q., Peng, Q., ElMekkawy, Y.T.: Improvement in the operating room efficiency using tabu search in simulation. Bus. Process Manag. J. 19(5), 799–818 (2013)

    Article  Google Scholar 

  • Oliver, I., Smith, D., Holland, J.R.: Study of permutation crossover operators on the traveling salesman problem. In: Genetic algorithms and their applications: proceedings of the second International Conference on Genetic Algorithms: July 28-31, 1987 at the Massachusetts Institute of Technology, Cambridge, MA, Hillsdale, NJ: L. Erlhaum Associates, 1987

  • Papazoglou, M., Traverso, P., Dustdar, S., Leymann, F.: Service-oriented computing: state of the art and research challenges. Computer 11, 38–45 (2007)

    Article  Google Scholar 

  • Perez, R., Behdinan, K.: Particle swarm approach for structural design optimization. Comput. Struct. 85(19), 1579–1588 (2007)

    Article  Google Scholar 

  • Pistore, M., Barbon, F., Bertoli, P., Shaparau, D., Traverso, P.: Planning and Monitoring Web Service Composition. In: Artificial Intelligence: Methodology, Systems, and Applications, Springer, pp. 106–115 (2004)

  • Rao, J., Su, X.: A Survey of Automated Web Service Composition Methods. In: Semantic Web Services and Web Process Composition, Springer, pp. 43–54 (2004)

  • Resende, M.G.C., Ribeiro, C.C.: Local search. In: Optimization by GRASP: Greedy Randomized Adaptive Search Procedures, pp. 63–93. Springer, New York (2016)

    MATH  Google Scholar 

  • Rodriguez-Mier, P., Mucientes, M., Lama, M.: Automatic Web Service Composition With a Heuristic-Based Search Algorithm. In: Web Services (ICWS), 2011 IEEE International Conference on, IEEE, pp. 81–88 (2011)

  • Rodriguez-Mier, P., Mucientes, M., Lama, M., Couto, M.I.: Composition of web services through genetic programming. Evolut. Intell. 3(3–4), 171–186 (2010)

    Article  Google Scholar 

  • Sabata, B., Chatterjee, S., Davis, M., Sydir, J.J., Lawrence, T.F.: Taxonomy for Qos Specifications. In: Object-Oriented Real-Time Dependable Systems, 1997. Proceedings., Third International Workshop on, IEEE, pp. 100–107 (1997)

  • Schantz, R.E.: Quality of service. In: Urban, J., Dasgupta, P. (eds.) Encyclopedia of Distributed Computing, Kluwer Academic Publishers, The Netherlands (1998)

  • Shi, Y., et al: Particle Swarm Optimization: Developments, Applications and Resources. In: evolutionary computation. Proceedings of the 2001 Congress on, IEEE, 1:81–86 (2001)

  • Sirin, E., Parsia, B., Wu, D., Hendler, J., Nau, D.: Htn planning for web service composition using shop2. Web Semant. Sci. Serv. Agents World Wide Web 1(4), 377–396 (2004)

    Article  Google Scholar 

  • Venkatraman, S., Yen, G.G.: A generic framework for constrained optimization using genetic algorithms. Evolut. Comput. IEEE Trans. 9(4), 424–435 (2005)

    Article  Google Scholar 

  • Wada, H., Suzuki, J., Yamano, Y., Oba, K.: E\(^3\): a multiobjective optimization framework for SLA-aware service composition. IEEE Trans. Serv. Comput. 5(3), 358–372 (2012)

    Article  Google Scholar 

  • Wang, A., Ma, H., Zhang, M.: Genetic Programming with Greedy Search for Web Service Composition. In: Database and Expert Systems Applications, Springer, pp. 9–17 (2013)

  • Wohed, P., van der Aalst, W.M., Dumas, M., Ter Hofstede, A.H.: Analysis of Web Services Composition Languages: The Case of bpel4ws. In: International Conference on Conceptual Modeling, Springer, pp. 200–215 (2003)

  • Yu, Y., Ma, H., Zhang, M.: An Adaptive Genetic Programming Approach to QoS-Aware Web Services Composition. In: IEEE Congress on Evolutionary Computation (CEC), IEEE, pp. 1740–1747 (2013)

  • Yu, Q., Chen, L., Li, B.: Ant colony optimization applied to web service compositions in cloud computing. Comput. Electr. Eng. 41, 18–27 (2015)

    Article  Google Scholar 

  • Zeng, L., Benatallah, B., Dumas, M., Kalagnanam, J., Sheng, Q.Z.: Quality Driven Web Services Composition. In: Proceedings of the 12th international conference on World Wide Web, ACM, pp. 411–421 (2003)

  • Zhang, W., Chang, C.K., Feng, T., Jiang, H.y.: QoS-Based Dynamic Web Service Composition with Ant Colony Optimization. In: 2010 IEEE 34th Annual Computer Software and Applications Conference, IEEE, pp. 493–502 (2010)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alexandre Sawczuk da Silva.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

da Silva, A.S., Mei, Y., Ma, H. et al. Evolutionary computation for automatic Web service composition: an indirect representation approach. J Heuristics 24, 425–456 (2018). https://doi.org/10.1007/s10732-017-9330-4

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10732-017-9330-4

Keywords

Navigation