A controller synthesis framework for automated service composition

Nowadays, Web services allow interoperability among distributed software applications deployed on different platforms and architectures which in effect plays a major role in electronic businesses. Web services allow organizations to carry out certain business activities automatically and in a distributed fashion. However, in some circumstances, a single service is not able to perform a certain task and it becomes imperative to compose two or more services in order to complete it. Thus, a key research challenge in this field is the problem of automatic service composition. Several approaches exist that tackle the problem of automatic service composition, however, the task of generating provably correct Web service compositions still remains a challenging and complex task. In this paper, we develop a formal framework for modeling Web service compositions based on Supervisory Control Theory (SCT) of discrete-event systems. We model services that exchange messages and exhibit nondeterministic behaviours. The objective is to synthesize a supervisor which interacts with a given set of Web services through messages to guarantee that a given specification is satisfied. A key novelty of this work is the application of control theory to service-oriented computing and the incorporation of run-time input into the supervisor generation process. First, we describe a novel supervisory control framework for automated composition of Web services. The framework employs Labelled Transition Systems equipped with guards and data variables to model Web services and provides a technique to synthesize a controller. We model the interactions of services asynchronously and we use the guards and data variables to allow us to express certain preconditions which are then propagated from the system requirements through the overall composite service. Second, we develop a set of algorithms to generate a controller satisfying a given functional requirement also specified as a Labelled Transition System equipped with guards and data variables. Besides the standard disabling and enabling of events, the generated controller in our framework has the ability to enforce certain events based on run-time information to drive the system towards its goal. In addition, the controller is able to impose restrictions on the kind of data that can be sent or received by services. This includes the automatic generation of stronger guards or preconditions which impose restrictions on which path to take during execution. Lastly, we state a theorem capturing the existence of a controller and provide a proof to demonstrate the correctness of the proposed approach.

[1]  Xiang Fu,et al.  Analysis of interacting BPEL web services , 2004, WWW '04.

[2]  Alexander Ferrein,et al.  Embedding fuzzy controllers in golog , 2009, 2009 IEEE International Conference on Fuzzy Systems.

[3]  Daniel Brand,et al.  On Communicating Finite-State Machines , 1983, JACM.

[4]  Gerard J. Holzmann,et al.  The SPIN Model Checker - primer and reference manual , 2003 .

[5]  Keshab Nath,et al.  Web 1.0 to Web 3.0 - Evolution of the Web and its various challenges , 2014, 2014 International Conference on Reliability Optimization and Information Technology (ICROIT).

[6]  James A. Hendler,et al.  HTN planning for Web Service composition using SHOP2 , 2004, J. Web Semant..

[7]  D. Skogan,et al.  Web service composition in UML , 2004 .

[8]  Jürgen Dingel,et al.  Concurrency control generation for dynamic threads using Discrete-Event Systems , 2009, 2009 47th Annual Allerton Conference on Communication, Control, and Computing (Allerton).

[9]  P. Ramadge,et al.  On the supermal controllable sublanguage of a given language , 1987 .

[10]  Paolo Traverso,et al.  Service-Oriented Computing: State of the Art and Research Challenges , 2007, Computer.

[11]  Marcelo R. Campo,et al.  Revising WSDL Documents: Why and How , 2010, IEEE Internet Computing.

[12]  Robin Milner,et al.  Communication and concurrency , 1989, PHI Series in computer science.

[13]  Mario Tokoro,et al.  An Object Calculus for Asynchronous Communication , 1991, ECOOP.

[14]  Matthias Klusch,et al.  Semantic Web Service Composition Planning with OWLS-Xplan , 2005, AAAI Fall Symposium: Agents and the Semantic Web.

[15]  Piergiorgio Bertoli,et al.  Automated composition of Web services via planning in asynchronous domains , 2005, Artif. Intell..

[16]  Paul Hofmann,et al.  A Mixed Initiative Approach to Semantic Web Service Discovery and Composition: SAP's Guided Procedures Framework , 2006, 2006 IEEE International Conference on Web Services (ICWS'06).

[17]  Daniel Brand,et al.  Towards Analyzing and Synthesizing Protocols , 1980, IEEE Trans. Commun..

[18]  Francis Atampore Towards Provably Correct Services: Automated Service Composition Via Supervisory Control Synthesis , 2017 .

[19]  Dana S. Nau,et al.  SHOP2: An HTN Planning System , 2003, J. Artif. Intell. Res..

[20]  Thomas Erl,et al.  Service-Oriented Architecture: A Field Guide to Integrating XML and Web Services , 2004 .

[21]  Bengt Lennartson,et al.  On non-deterministic supervisory control , 1996, Proceedings of 35th IEEE Conference on Decision and Control.

[22]  Vasant Honavar,et al.  MOSCOE: an Approach for Composing Web Services through Iterative Reformulation of Functional Specifications , 2008, Int. J. Artif. Intell. Tools.

[23]  Antonio Bucchiarone,et al.  Domain Objects for Dynamic and Incremental Service Composition , 2014, ESOCC.

[24]  Flávio Oliveira Silva,et al.  The quest for the web services stack: a fast trip , 2006, ICWE '06.

[25]  Christos G. Cassandras,et al.  Introduction to Discrete Event Systems , 1999, The Kluwer International Series on Discrete Event Dynamic Systems.

[26]  Jürgen Dingel,et al.  Automated service composition via supervisory control theory , 2016, 2016 13th International Workshop on Discrete Event Systems (WODES).

[27]  Jürgen Dingel,et al.  Generation of concurrency control code using discrete-event systems theory , 2008, SIGSOFT '08/FSE-16.

[28]  Zhao Xing,et al.  Web Service Composition Automation based on Timed Automata , 2014 .

[29]  V. Prasanna Venkatesan,et al.  A Goal-Directed Orchestration Approach for Agile Service Composition , 2015 .

[30]  B. Lennartson,et al.  Extraction and representation of a supervisor using guards in extended finite automata , 2008, 2008 9th International Workshop on Discrete Event Systems.

[31]  Annapaola Marconi,et al.  Data-Flow Requirements for Dynamic Service Composition , 2013, 2013 IEEE 20th International Conference on Web Services.

[32]  Mária Bieliková,et al.  Automatic Dynamic Web Service Composition: A Survey and Problem Formalization , 2011, Comput. Informatics.

[33]  Annapaola Marconi,et al.  Automated synthesis of composite BPEL4WS Web services , 2005, IEEE International Conference on Web Services (ICWS'05).

[34]  Pathathai Na-Lumpoon Toward a framework for automated service composition and execution , 2014, The 8th International Conference on Software, Knowledge, Information Management and Applications (SKIMA 2014).

[35]  MengChu Zhou,et al.  Automated web service composition supporting conditional branch structures , 2014, Enterp. Inf. Syst..

[36]  Joachim Peer,et al.  A POP-Based Replanning Agent for Automatic Web Service Composition , 2005, ESWC.

[37]  Yixin Chen,et al.  QoS-Aware Dynamic Composition of Web Services Using Numerical Temporal Planning , 2014, IEEE Transactions on Services Computing.

[38]  Manuel Mucientes,et al.  Automatic Web Service Composition with a Heuristic-Based Search Algorithm , 2011, 2011 IEEE International Conference on Web Services.

[39]  Ratnesh Kumar,et al.  Control of nondeterministic discrete-event systems for bisimulation equivalence , 2007, IEEE Transactions on Automatic Control.

[40]  Piergiorgio Bertoli,et al.  Message-Based Web Service Composition, Integrity Constraints, and Planning under Uncertainty: A New Connection , 2009, J. Artif. Intell. Res..

[41]  Robin Diekmann,et al.  Event enforcement in the context of the supervisory control theory , 2013, 2013 18th International Conference on Methods & Models in Automation & Robotics (MMAR).

[42]  Annapaola Marconi,et al.  Vibes: A Platform-Centric Approach to Building Recommender Systems. , 2008 .

[43]  Tristan Le Gall,et al.  Supervisory Control of Infinite Symbolic Systems using Abstract Interpretation , 2005, Proceedings of the 44th IEEE Conference on Decision and Control.

[44]  Wojciech Penczek,et al.  A Hybrid Approach to Web Service Composition Problem in the PlanICS Framework , 2014, MobiWIS.

[45]  Xining Li,et al.  An efficient I/O based clustering HTN in Web Service Composition , 2013, 2013 International Conference on Computing, Management and Telecommunications (ComManTel).

[46]  Tran Cao Son,et al.  Adapting Golog for Composition of Semantic Web Services , 2002, KR.

[47]  Antonio Bucchiarone,et al.  ASTRO-CAptEvo: Dynamic Context-Aware Adaptation for Service-Based Systems , 2012, 2012 IEEE Eighth World Congress on Services.

[48]  Diego Calvanese,et al.  Automatic Service Composition Based on Behavioral Descriptions , 2005, Int. J. Cooperative Inf. Syst..

[49]  Eric van der Vlist,et al.  XML Schema , 2002 .

[50]  Giuseppe De Giacomo,et al.  Automatic Service Composition via Simulation , 2008, Int. J. Found. Comput. Sci..

[51]  Scott A. Mahlke,et al.  The theory of deadlock avoidance via discrete control , 2009, POPL '09.

[52]  Diego Calvanese,et al.  Automatic Composition of Web Services in Colombo , 2005, SEBD.

[53]  Vijay K. Garg,et al.  Predicates and predicate transformers for supervisory control of discrete event dynamical systems , 1993, IEEE Trans. Autom. Control..

[54]  W. Murray Wonham,et al.  Supervisory Control of Discrete-Event Systems , 2018 .

[55]  Philippe Balbiani,et al.  Composition of Interactive Web Services Based on Controller Synthesis , 2008, 2008 IEEE Congress on Services - Part I.

[56]  Scott A. Mahlke,et al.  Supervisory control of software execution for failure avoidance: Experience from the Gadara project , 2010, WODES.

[57]  Amit P. Sheth,et al.  Automatic Composition of Semantic Web Services using Process and Data Mediation , 2007 .

[58]  Marcelo R. Campo,et al.  Artificial intelligence in service-oriented software design , 2016, Eng. Appl. Artif. Intell..

[59]  Annapaola Marconi,et al.  Automated Composition of Web Services by Planning at the Knowledge Level , 2005, IJCAI.

[60]  Wenbin Li,et al.  WaaS: Wisdom as a Service , 2014, IEEE Intell. Syst..

[61]  P. Ramadge,et al.  Supervisory control of a class of discrete event processes , 1987 .

[62]  Mara Nikolaidou,et al.  Semantically Aware Web Service Composition Through AI Planning , 2015, Int. J. Artif. Intell. Tools.

[63]  Amr Kamel,et al.  ACUAI framework for automatic composition of web services using gaming AI , 2015, 2015 Fifth International Conference on Digital Information and Communication Technology and its Applications (DICTAP).

[64]  Ahmed Khoumsi A simple formal method to synthesize an orchestrator in web service composition , 2013, 2013 American Control Conference.

[65]  Jie Yang,et al.  A novel method for Web Service Composition based on extended BDI , 2014, ICNSC.

[66]  Sheila A. McIlraith,et al.  Optimizing Web Service Composition While Enforcing Regulations , 2009, SEMWEB.

[67]  Robi Malik,et al.  Supervisory Control of DES With Extended Finite-State Machines and Variable Abstraction , 2015, IEEE Transactions on Automatic Control.