Message Sequence Charts

Slides:



Advertisements
Similar presentations
INTERVAL Next Previous 13/02/ Timed extensions to SDL Analysis requirements –Assumptions on moments and duration Semantics with controllable time.
Advertisements

INTERVAL Project Copyright 2000 by the INTERVAL Consortium Last revised 24 October 2000 ETSI-MTS Meeting, Sophia Consortium Objectives Technical.
International Telecommunication Union © ITU-T Study Group 17 Integrated Application of URN Daniel Amyot University of Ottawa, Canada
System and Software Engineering Research 1 Motorola 2003 Integrated Application of MSC Clive Jervis Rapporteur Q15 Motorola UK Research Labs.
International Telecommunication Union © ITU-T Study Group 17 Use of ITU-T Formal Languages Amardeo Sarma NEC Europe Ltd.
Lei Bu Message Sequence Chart. MSCs Message sequence chart (MSC) is a graphical and textual language for the description and specification of the interactions.
Tool support for Distributed Object Technology
An Aspect-Oriented Approach For Web Application Access Control Presented by: Mohamed Hassan Carleton University Carleton University
Real-time systems and the UML Morgan Björkander
August Moscow meeting1August Moscow meeting1August Moscow meeting11 Deductive tools in insertion modeling verification A.Letichevsky.
OOAD Using the UML - Use-Case Analysis, v 4.2 Copyright  Rational Software, all rights reserved 1/18 Use Case Analysis – continued Control Classes.
Object-Oriented Analysis and Design
IBM WebSphere survey Kristian Bisgaard Lassen. University of AarhusIBM WebSphere survey2 Tools  WebSphere Application Server Portal Studio Business Integration.
1Spring 2005 Specification and Analysis of Information Systems Modeling Behavior with UML Sequence Diagrams Eran Toch
Slide 1 Specification & Description Language (SDL) - Part I.
Slide 1 MSC and SDL. Slide 2 Relationship of MSC to SDL An MSC describes one or more traces of an SDL system specification. An entity in MSC may map to.
Systems Engineering Project: System Validation and Verification Using SDL Ron Henry ENSE 623 November 30, 2004.
© Copyright Eliyahu Brutman Programming Techniques Course.
Use Case Analysis – continued
An Introduction to Rational Rose Real-Time
Process-oriented System Automation Executable Process Modeling & Process Automation.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
State and Sequence Diagrams Modelling dynamic information So far we have seen: Use Case Diagrams – requirements capture, interface.
Software Engineering 1 The Life Cicle of Software Lesson 5.
CS3773 Software Engineering
UML REVIEW –PART1 1. Introduction What is UML visual modelling language UML is a language not a methodology? Q: why is this distinction important? UML.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Verification and Validation.
BPMN By Hosein Bitaraf Software Engineering. Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes.
Workshop on Integrated Application of Formal Languages, Geneva J.Fischer Mappings, Use of MOF for Language Families Joachim Fischer Workshop on.
Data Flow Diagrams.
System and Software Engineering Research 1 Motorola Copyright 2001 A Perspective on Harmonisation: Benefits and Barriers Clive Jervis Rapporteur Q15 Motorola.
1 SAD2 - UML 2 nd Lecture Sequence Diagram and other dynamic views Lecturer: Dr Dimitrios Makris
1. Validating Wireless Protocol Conformance Test Cases Amresh Nandan Paresh Jain June 2004.
Chapter 2, Modeling with UML, Part 3 UML 2 Hightlights
FDT Foil no 1 On Methodology from Domain to System Descriptions by Rolv Bræk NTNU Workshop on Philosophy and Applicablitiy of Formal Languages Geneve 15.
Copyright SOLINET GmbH SDL & Requirements of Signalling Systems William H. Skelton SOLINET, Stuttgart.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
FDT Foil no 1 MSC Structuring MSCs Using Message Sequence Charts for real systems.
International Telecommunication Union © ITU-T Study Group 17 Integrated Application of SDL Amardeo Sarma NEC Europe Ltd.
CSCI 3428: Software Engineering Tami Meredith UML Unified Modeling Language.
Software Systems Verification and Validation Laboratory Assignment 4 Model checking Assignment date: Lab 4 Delivery date: Lab 4, 5.
Winter 2007SEG2101 Chapter 121 Chapter 12 Verification and Validation.
TTCN-3 Testing and Test Control Notation Version 3.
Main issues: • What do we want to build • How do we write this down
SysML 2.0 Formalism: Requirement Benefits, Use Cases, and Potential Language Architectures Formalism WG December 6, 2016.
Object-Oriented Analysis and Design
SysML v2 Formalism: Requirements & Benefits
Unified Modeling Language
Herbert V. Bertine Lucent Technologies Amardeo Sarma NEC Europe Ltd.
STF 454 TDL – Overview Last change:
SIMPL-T: SDL Intended for Management and Planning of Tests By
Abstract descriptions of systems whose requirements are being analysed
Chapter 10: Process Implementation with Executable Models
Princess Nourah bint Abdulrahman University
UML Activity Diagrams & State Charts
UML Sequence Diagrams.
Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel
Princess Nourah bint Abdulrahman University
System Sequence Diagrams
TTCN-3 Status Report.
Opening, purpose and summary of the framework
Decentralized Model-Based Testing of Distributed Systems
Software Engineering Group, Motorola India Electronics Pvt. Ltd.,
Overview of the ETSI Test Description Language
Overview of the ETSI Test Description Language
PPT4: Requirement analysis
Preliminary analysis of presentations
Use Case Analysis – continued
STF 454 TDL – Overview Last change:
Comparing UML 2.0 Interactions and MSC-2000
Presentation transcript:

Message Sequence Charts Clive Jervis Rapporteur Z.120

Message Sequence Charts ITU-T Standard Z.120 Topics: Overview Uses Language Future Summary Current Version: MSC 2000 Previous Version: MSC ’96 Next Version: MSC 2004 Standard consists of: graphical grammar ASCII grammar static & dynamic semantics formal semantics, Annex B examples Z.120 UK USA RMTR air_in taxi_in taxi_out air_out MSC is: used widely in industry has good tool support strong ties to other ITU languages ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 Overview msc call_set_up mobile_1 base_1 network base_2 mobile_2 up_call_req up_call_req down_req down_req call_ack call_ack up_call_resp up_call_resp down_resp down_resp Intuitive, widespread informal use Focuses on external interactions rather than internal behaviour Only notation that shows complete system interactions Good for partial specifications - i.e. scenarios Can be used independently of other languages Universal data language interface ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 MSCs in the Lifecycle UK USA RMTR air_in taxi_in taxi_out air_out MSCs Used Formally Throughout Lifecycle ITU, ETSI Standards System/Integration Testing UK USA RMTR air_in taxi_in taxi_out air_out UK USA RMTR air_in taxi_in taxi_out air_out Test Generation System Requirements TTCN Automation Requires Formal Languages UK USA RMTR air_in taxi_in taxi_out air_out UK USA RMTR air_in taxi_in taxi_out air_out Test Generation Box Testing Box Requirements TTCN Code Generation ASN.1 Everywhere! Code Generation SDL Design Code ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 MSC Uses Formality Enables Useful Tool Support Verification & Validation: feature interactions race conditions tracing Tracing: model validation application code validation test validation Design Verification: model checking SDL upholds MSCs Test Generation: conformance testing test purposes (one-2- many) test specification (one-2-one) UK USA RMTR air_in taxi_in taxi_out air_out Requirements V&V UK USA RMTR air_in taxi_in taxi_out air_out SDL Tracing UK USA RMTR air_in taxi_in taxi_out air_out SDL Verification UK USA RMTR air_in taxi_in taxi_out air_out TTCN Generation ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 Basic Features msc call_expiration base network manager Time Progresses Downwards initiate handler wait(5) ready ‘handle call’ call_set_up No linearity No synchronicity Interleaving expired terminate instance message timer co-region create reference local action stop msc call_set_up network ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 Semantics Single MSC defines a set of event traces Events interleaved Timing constraints can reduce possible traces msc call_expiration A message consists of: a send event a receive event Semantics prescribes no buffering mechanism mobile base network identify initialise send initialise receive initialise Three traces! receive identify send identify receive identify receive initialise send initialise receive initialise receive identify ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 High-Level MSCs Structuring MSCs msc call_blocking initiate_call call_refused call_set_up terminate_call call_proceeding References can be to basic MSCs or high-level MSCs start point end point reference branching looping parallel (not shown) guards (not shown) Single telecom. feature may have >100 basic MSCs structured through 3 levels of high-level MSCs ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 In-Line Expressions Structuring event behaviour within an MSC msc MyLife mobile_1 mobile_2 infra req_refused alt call_req t(5) t when idle otherwise call_ack call_accept In-line expressions: alternative parallel optional loop exceptional Operands: non-deterministic choice may be guarded events interleaved with those outside expression ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

Time Constraints/Data Real-Time Constraints • Message Contents Data Dependent Behaviour • Parameterisation Time Constraints: absolute (tracing) relative (specification) single point, intervals constrain regions base manager network set_up(time_out + 3) terminate expired (“z1”, _, x) initiate ready msc call_expiration(time_out: time) [5, 10] @10:00 x := f(_, 5) Data: static variables - parameterises MSC - global to MSC - also instances, etc. dynamic variables - local to instance - assigned in actions - declared MSC Document underspecification - “don’t care” values ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

Instance Decomposition Splitting an Instance Into Constituent Processes msc call network decomposed as network_call base manager initiate ready set_up Hierarchical view of processes Instance structure defined in enclosing MSC Document Internal messages hidden in upper view msc network_call base_handler manager_handler initiate ready initiate_set_up set_up ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 Other Features MSC: a Comprehensive Specification Language mscdocument network_manager inst base_handler(x : integer); inst call_controller; msg initiate(integer, integer, bool); call_set_up call_proceeding terminate_call MSC Document module encapsulation all declarations definition of data interface inheritance/decomposition Control Flow alignment with UML method calls suspension regions Gates connecting messages across boundaries msc call mobile base_1 network base_2 call initiate set_up call_set_up g h done ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 Future Features Z.120 MSC 2004 Message Channels - superseding gates - organising messages through channels - buffering semantics Presentation Formats - TTCN Graphical presentation format, Z.142 - semantic restrictions, e.g. tracing Formal Semantics, Z.120 Annex B - Currently compliant only with MSC ’96 Instantiations of Universal Data Interface - SDL interface scheduled 2002, Z.121 - ASN.1 interface? - TTCN-3 interface? UML alignment - OMG UML v2.0 sequence diagrams Plenty to do Please Contribute! ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019

ITU-T - Bangalore Workshop, 30-31st August 2001 Summary MSC is a rich language suitable for requirements specification many uses across lifecycle ‘engineer friendly’ language used in telecom standards Good tool support getting more sophisticated industrial use integrated with SDL, TTCN tools Standardisation Continues interesting problems to work on good forum for insight, new ideas learn latest methods/technology Topics: Overview Uses Language Future Summary UK USA RMTR air_in taxi_in taxi_out air_out Improved productivity comes through automating manual processes Automation requires formal languages ITU-T - Bangalore Workshop, 30-31st August 2001 05.02.2019