Stepwise refinement of sequence diagrams with soft real-time constraints

UML sequence diagrams and similar notations are much used to specify and analyze computer systems and their requirements. Probabilities are often essential, in particular for capturing soft real-time constraints. It is also important to be able to specify systems at different levels of abstraction. Refinement is a means to relate abstract specifications to more concrete specifications in such a way that constraints and analysis results are preserved through the transition. In order to allow soft real-time constraints to be included as an integral part of sequence diagram specifications, this paper presents an approach to extend UML 2.x sequence diagrams to capture probabilistic choice in general and soft real-time constraints in particular. The approach is supported by formal semantics and pragmatic refinement relations with mathematical properties that allow stepwise and modular development of specifications. An example focusing on communication is provided to demonstrate the language and refinement relations.

[1]  Andreas Mitschele-Thiel,et al.  An annotational extension of message sequence charts to support performance engineering , 1997, SDL Forum.

[2]  Rajeev Alur,et al.  An Analyzer for Message Sequence Charts , 1996, Softw. Concepts Tools.

[3]  Mass Soldal Lund,et al.  Operational analysis of sequence diagram specifications , 2007 .

[4]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[5]  Eric C. R. Hehner,et al.  Probabilistic Predicative Programming , 2004, MPC.

[6]  Loïc Hélouët,et al.  A Semantics for Timed MSC , 2002, Electron. Notes Theor. Comput. Sci..

[7]  Annabelle McIver,et al.  Developing and Reasoning About Probabilistic Programs in pGCL , 2004, PSSE.

[8]  Ernst-Rüdiger Olderog,et al.  Real-time systems - formal specification and automatic verification , 2008 .

[9]  Jeffrey Parsons,et al.  How UML is used , 2006, CACM.

[10]  Thomas A. Henzinger,et al.  Compositional Methods for Probabilistic Systems , 2001, CONCUR.

[11]  Roberto Segala,et al.  Modeling and verification of randomized distributed real-time systems , 1996 .

[12]  Kim Guldstrand Larsen,et al.  Specification and refinement of probabilistic processes , 1991, [1991] Proceedings Sixth Annual IEEE Symposium on Logic in Computer Science.

[13]  A AL ABDULLATIF,et al.  A COMPUTER ASSISTED STATE MARKING METHOD FOR EXTRACTING PERFORMANCE MODELS FROM DESIGN MODELS , 2007 .

[14]  Ketil Stølen,et al.  Why Timed Sequence Diagrams Require Three-Event Semantics , 2003, Scenarios: Models, Transformations and Tools.

[15]  Lennard Lambert,et al.  PMSC for Performance Evaluation , 1998 .

[16]  Ketil Stølen,et al.  Relating computer systems to sequence diagrams: the impact of underspecification and inherent nondeterminism , 2013, Formal Aspects of Computing.

[17]  Ketil Stølen,et al.  Relating computer systems to sequence diagrams with underspecification, inherent nondeterminism and probabilistic choice : Part 2 , 2007 .

[18]  Karen Seidel,et al.  Probabilistic Communicating Processes , 1992, Theor. Comput. Sci..

[19]  Nancy A. Lynch,et al.  Probabilistic Simulations for Probabilistic Processes , 1994, Nord. J. Comput..

[20]  Ketil Stølen,et al.  How to transform UML neg into a useful construct , 2005 .

[21]  Øystein Haugen,et al.  Refining UML Interactions with Underspecification and Nondeterminism , 2005, Nord. J. Comput..

[22]  Ketil Stølen,et al.  Specification and Refinement of Soft Real-Time Requirements Using Sequence Diagrams , 2005, FORMATS.

[23]  Sjouke Mauw,et al.  Message sequence charts in the software engineering process , 2001 .

[24]  Ralph-Johan Back,et al.  Refinement Calculus: A Systematic Introduction , 1998 .

[25]  Nora Szasz,et al.  UML 2.0 interactions with OCL/RT constraints , 2008, 2008 Forum on Specification, Verification and Design Languages.

[26]  David Harel,et al.  LSCs: Breathing Life into Message Sequence Charts , 1999, Formal Methods Syst. Des..

[27]  Rajeev Alur,et al.  Inference of message sequence charts , 2000, Proceedings of the 2000 International Conference on Software Engineering. ICSE 2000 the New Millennium.

[28]  Wang Yi,et al.  Testing and Refinement for Nondeterministic and Probabilistic Processes , 1994, FTRTFT.

[29]  Cliff B. Jones,et al.  Systematic software development using VDM , 1986, Prentice Hall International Series in Computer Science.

[30]  Edsger W. Dijkstra,et al.  A Discipline of Programming , 1976 .

[31]  Ketil Stølen,et al.  Underspecification, Inherent Nondeterminism and Probability in Sequence Diagrams , 2006, FMOODS.

[32]  Ketil Stølen,et al.  Stepwise refinement of sequence diagrams with soft real-time requirements , 2011 .

[33]  Alexander Knapp,et al.  UML 2 . 0 Interactions : Semantics and Refinement , 2004 .

[34]  Zoltán Micskei,et al.  The many meanings of UML 2 Sequence Diagrams: a survey , 2011, Software & Systems Modeling.

[35]  Dudley,et al.  Real Analysis and Probability: Measurability: Borel Isomorphism and Analytic Sets , 2002 .

[36]  David Harel,et al.  Come, let's play - scenario-based programming using LSCs and the play-engine , 2003 .

[37]  Wang Yi,et al.  Compositional testing preorders for probabilistic processes , 1995, Proceedings of Tenth Annual IEEE Symposium on Logic in Computer Science.

[38]  Ketil Stølen,et al.  STAIRS towards formal design with sequence diagrams , 2005, Software & Systems Modeling.

[39]  Ketil Stølen,et al.  A Fully General Operational Semantics for UML 2.0 Sequence Diagrams with Potential and Mandatory Choice , 2006, FM.

[40]  P. S. Thiagarajan,et al.  Message Sequence Charts , 2003, UML for Real.

[41]  C. A. R. Hoare,et al.  Communicating sequential processes , 1978, CACM.

[42]  Fa A Comprare,et al.  Come , 1890, The Hospital.

[43]  Rajeev Alur,et al.  An Analyser for Mesage Sequence Charts , 1996, TACAS.

[44]  Adding Soft Real-Time Requirements in a Step-Wise Development Process , 2009 .

[45]  Annabelle McIver,et al.  Abstraction, Refinement and Proof for Probabilistic Systems , 2004, Monographs in Computer Science.

[46]  Manfred Broy,et al.  Specification and development of interactive systems: focus on streams, interfaces, and refinement , 2001 .