Advertisement

On-the-Fly Synthesis of Scarcely Synchronizing Distributed Controllers from Scenario-Based Specifications

  • Christian Brenner
  • Joel Greenyer
  • Wilhelm Schäfer
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9033)

Abstract

Distributed systems consist of subsystems that usually need to coordinate with each other. Each subsystem must decide its actions locally, based on its limited knowledge. However, these decisions can be interdependent due to global requirements, i.e., one subsystem may need to know how another one decided. Complex communication can be required to exchange this knowledge. With rising complexity, a correct manual implementation of all subsystems becomes unlikely. Therefore, our goal is to automate the implementation process as far as possible. This paper presents a novel approach for the automatic synthesis of a distributed implementation from a global specification. In our approach, MSDs—a scenario-based specification language—can be used to intuitively, but formally define the requirements. The resulting implementation comprises one automaton for each subsystem, controlling its behavior. Contrary to similar approaches, we automatically add communication behavior to the system only when local knowledge is insufficient.

Keywords

Goal State Controller System Controller Transition Controller State Winning Strategy 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Bontemps, Y., Heymans, P., Schobbens, P.-Y.: Lightweight formal methods for scenario-based software engineering. In: Leue, S., Systä, T.J. (eds.) Scenarios: Models, Transformations and Tools. LNCS, vol. 3466, pp. 174–192. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  2. 2.
    Brenner, C., Greenyer, J., Holtmann, J., Liebel, G., Stieglbauer, G., Tichy, M.: Scenariotools real-time play-out for test sequence validation in an automotive case study. In: Proc. of 13th Int. Workshop on Graph Transformation and Visual Modeling Techniques, GT-VMT 2014 (2014)Google Scholar
  3. 3.
    Brenner, C., Greenyer, J., Panzica La Manna, V.: The ScenarioTools play-out of modal sequence diagram specifications with environment assumptions. In: Proc. of 12th Int. Workshop on Graph Transformation and Visual Modeling Techniques, GT-VMT 2013 (2013)Google Scholar
  4. 4.
    Damm, W., Harel, D.: LSCs: Breathing life into message sequence charts. In: Formal Methods in System Design, vol. 19, pp. 45–80. Kluwer (2001)Google Scholar
  5. 5.
    Finkbeiner, B., Schewe, S.: Uniform distributed synthesis. In: Proc. of 20th IEEE Symp. on Logic in Computer Science, pp. 321–330 (2005)Google Scholar
  6. 6.
    Halle, S., Bultan, T.: Realizability Analysis for Message-based Interactions Using Shared-State Projections. In: Proc. of 18th ACM SIGSOFT Int. Symp. on Foundations of Software Engineering, FSE 2010, Santa Fe, New Mexico (2010)Google Scholar
  7. 7.
    Harel, D., Kugler, H.: Synthesizing state-based object systems from LSC specifications. Foundations of Computer Science 13(1), 5–51 (2002)CrossRefzbMATHMathSciNetGoogle Scholar
  8. 8.
    Harel, D., Kugler, H.-J., Pnueli, A.: Synthesis revisited: Generating statechart models from scenario-based requirements. In: Kreowski, H.-J., Montanari, U., Orejas, F., Rozenberg, G., Taentzer, G. (eds.) Formal Methods in Software and Systems Modeling. LNCS, vol. 3393, pp. 309–324. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  9. 9.
    Harel, D., Maoz, S.: Assert and negate revisited: Modal semantics for UML sequence diagrams. Software and Systems Modeling (SoSyM) 7(2), 237–252 (2008)CrossRefGoogle Scholar
  10. 10.
    Harel, D., Marelly, R.: Come, Let’s Play: Scenario-Based Programming Using LSCs and the Play-Engine. Springer (2003)Google Scholar
  11. 11.
    Katz, G., Peled, D., Schewe, S.: Synthesis of distributed control through knowledge accumulation. In: Gopalakrishnan, G., Qadeer, S. (eds.) CAV 2011. LNCS, vol. 6806, pp. 510–525. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  12. 12.
    Peled, D., Schewe, S.: Practical distributed control synthesis. In: Yu, F., Wang, C. (eds.) Proc. Int. Workshop on Verification and Infinite State Systems (INFINITY 2011). EPTCS, vol. 73, pp. 2–17 (2011)Google Scholar
  13. 13.
    Sun, J., Dong, J.S.: Synthesis of distributed processes from scenario-based specifications. In: Fitzgerald, J.S., Hayes, I.J., Tarlecki, A. (eds.) FM 2005. LNCS, vol. 3582, pp. 415–431. Springer, Heidelberg (2005)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2015

Authors and Affiliations

  • Christian Brenner
    • 1
  • Joel Greenyer
    • 2
  • Wilhelm Schäfer
    • 1
  1. 1.Software Engineering Group, Heinz Nixdorf InstituteUniversity of PaderbornPaderbornGermany
  2. 2.Software Engineering GroupLeibniz Universität HannoverHannoverGermany

Personalised recommendations