Skip to main content

2016 | OriginalPaper | Buchkapitel

Automated Choreography Repair

verfasst von : Samik Basu, Tevfik Bultan

Erschienen in: Fundamental Approaches to Software Engineering

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Choreography analysis is a crucial problem in concurrent and distributed system development. A choreography specifies the desired ordering of message exchanges among the components of a system. The realizability of a choreography amounts to determining the existence of components whose communication behavior conforms to the given choreography. The realizability problem has been shown to be decidable. In this paper, we investigate the repairability of un-realizable choreographies, where the goal is to identify a set of changes to a given un-realizable choreography that will make it realizable. We present a technique for automatically repairing un-realizable choreographies and provide formal guarantees of correctness and termination. We demonstrate the viability of our technique by applying it to several representative unrealizable choreographies from Singularity OS channel contracts and Web services.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
Note that, the realizability problem for the MSC-graphs, which considers both send and receive actions for realizability, is undecidable [1].
 
Literatur
1.
Zurück zum Zitat Alur, R., Etessami, K., Yannakakis, M.: Realizability and verification of MSC graphs. In: Proceedings of 28th International Colloquium on Automata, Languages, and Programming, pp. 797–808 (2001) Alur, R., Etessami, K., Yannakakis, M.: Realizability and verification of MSC graphs. In: Proceedings of 28th International Colloquium on Automata, Languages, and Programming, pp. 797–808 (2001)
2.
Zurück zum Zitat Armstrong, J.: Getting Erlang to talk to the outside world. In: Proceedings of ACM SIGPLAN Workshop on Erlang, pp. 64–72 (2002) Armstrong, J.: Getting Erlang to talk to the outside world. In: Proceedings of ACM SIGPLAN Workshop on Erlang, pp. 64–72 (2002)
3.
Zurück zum Zitat Autili, M., Di Ruscio, D., Di Salle, A., Inverardi, P., Tivoli, M.: A model-based synthesis process for choreography realizability enforcement. In: Cortellessa, V., Varró, D. (eds.) FASE 2013 (ETAPS 2013). LNCS, vol. 7793, pp. 37–52. Springer, Heidelberg (2013)CrossRef Autili, M., Di Ruscio, D., Di Salle, A., Inverardi, P., Tivoli, M.: A model-based synthesis process for choreography realizability enforcement. In: Cortellessa, V., Varró, D. (eds.) FASE 2013 (ETAPS 2013). LNCS, vol. 7793, pp. 37–52. Springer, Heidelberg (2013)CrossRef
4.
Zurück zum Zitat Basu, S., Bultan, T., Ouederni, M.: Deciding choreography realizability. In: ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (2012) Basu, S., Bultan, T., Ouederni, M.: Deciding choreography realizability. In: ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (2012)
5.
Zurück zum Zitat Bultan, T., Fu, X.: Specification of realizable service conversations using collaboration diagrams. Serv. Oriented Comput. Appl. 2(1), 27–39 (2008)CrossRef Bultan, T., Fu, X.: Specification of realizable service conversations using collaboration diagrams. Serv. Oriented Comput. Appl. 2(1), 27–39 (2008)CrossRef
6.
Zurück zum Zitat Deniélou, P.-M., Yoshida, N.: Multiparty session types meet communicating automata. In: Seidl, H. (ed.) Programming Languages and Systems. LNCS, vol. 7211, pp. 194–213. Springer, Heidelberg (2012)CrossRef Deniélou, P.-M., Yoshida, N.: Multiparty session types meet communicating automata. In: Seidl, H. (ed.) Programming Languages and Systems. LNCS, vol. 7211, pp. 194–213. Springer, Heidelberg (2012)CrossRef
7.
Zurück zum Zitat Fu, X., Bultan, T., Su, J.: Conversation protocols: a formalism for specification and verification of reactive electronic services. In: Ibarra, O.H., Dang, Z. (eds.) CIAA 2003. LNCS, vol. 2759, pp. 188–200. Springer, Heidelberg (2003)CrossRef Fu, X., Bultan, T., Su, J.: Conversation protocols: a formalism for specification and verification of reactive electronic services. In: Ibarra, O.H., Dang, Z. (eds.) CIAA 2003. LNCS, vol. 2759, pp. 188–200. Springer, Heidelberg (2003)CrossRef
8.
Zurück zum Zitat Güdemann, M., Salaün, G., Ouederni, M.: Counterexample guided synthesis of monitors for realizability enforcement. In: Chakraborty, S., Mukund, M. (eds.) ATVA 2012. LNCS, vol. 7561, pp. 238–253. Springer, Heidelberg (2012)CrossRef Güdemann, M., Salaün, G., Ouederni, M.: Counterexample guided synthesis of monitors for realizability enforcement. In: Chakraborty, S., Mukund, M. (eds.) ATVA 2012. LNCS, vol. 7561, pp. 238–253. Springer, Heidelberg (2012)CrossRef
9.
Zurück zum Zitat Hallé, S., Bultan, T.: Realizability analysis for message-based interactions using shared-state projections. In: SIGSOFT Foundations of Software Engineering (2010) Hallé, S., Bultan, T.: Realizability analysis for message-based interactions using shared-state projections. In: SIGSOFT Foundations of Software Engineering (2010)
10.
Zurück zum Zitat Honda, K., Yoshida, N., Carbone, M.: Multiparty asynchronous session types. In: Proceedings of Symposium Principles of Programming Languages (2008) Honda, K., Yoshida, N., Carbone, M.: Multiparty asynchronous session types. In: Proceedings of Symposium Principles of Programming Languages (2008)
11.
Zurück zum Zitat Hunt, G.C., Larus, J.R.: Singularity: rethinking the software stack. Operating Syst. Rev. 41(2), 37–49 (2007)CrossRef Hunt, G.C., Larus, J.R.: Singularity: rethinking the software stack. Operating Syst. Rev. 41(2), 37–49 (2007)CrossRef
12.
Zurück zum Zitat Kumaran, S., Nandi, P., Hanson, J., Heath, T., Patnaik, Y.: Conversational browser. IBM Techreport (2004) Kumaran, S., Nandi, P., Hanson, J., Heath, T., Patnaik, Y.: Conversational browser. IBM Techreport (2004)
13.
Zurück zum Zitat Lanese, I., Montesi, F., Zavattaro, G.: Amending choreographies. In: Automated Specification and Verification of Web Systems (2013) Lanese, I., Montesi, F., Zavattaro, G.: Amending choreographies. In: Automated Specification and Verification of Web Systems (2013)
14.
Zurück zum Zitat Lohmann, N., Wolf, K.: Realizability is controllability. In: Laneve, C., Su, J. (eds.) WS-FM 2009. LNCS, vol. 6194, pp. 110–127. Springer, Heidelberg (2010)CrossRef Lohmann, N., Wolf, K.: Realizability is controllability. In: Laneve, C., Su, J. (eds.) WS-FM 2009. LNCS, vol. 6194, pp. 110–127. Springer, Heidelberg (2010)CrossRef
15.
Zurück zum Zitat Qiu, Z., Zhao, X., Cai, C., Yang, H.: Towards the theoretical foundation of choreography. In: Proceedings of Conference on World Wide Web (2007) Qiu, Z., Zhao, X., Cai, C., Yang, H.: Towards the theoretical foundation of choreography. In: Proceedings of Conference on World Wide Web (2007)
17.
Zurück zum Zitat Stengel, Z., Bultan, T.: Analyzing singularity channel contracts. In: Proceedings of 18th International Symposium on Software Testing and Analysis (ISSTA), pp. 13–24 (2009) Stengel, Z., Bultan, T.: Analyzing singularity channel contracts. In: Proceedings of 18th International Symposium on Software Testing and Analysis (ISSTA), pp. 13–24 (2009)
19.
Zurück zum Zitat Yoon, Y., Ye, C., Jacobsen, H.-A.: A distributed framework for reliable and efficient service choreographies. In: Proceedings of the 20th International Conference on World wide web, WWW 2011, pp. 785–794. ACM (2011) Yoon, Y., Ye, C., Jacobsen, H.-A.: A distributed framework for reliable and efficient service choreographies. In: Proceedings of the 20th International Conference on World wide web, WWW 2011, pp. 785–794. ACM (2011)
Metadaten
Titel
Automated Choreography Repair
verfasst von
Samik Basu
Tevfik Bultan
Copyright-Jahr
2016
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-662-49665-7_2