laboratory of advanced network technologies msc scstudio
play

Laboratory of Advanced Network Technologies. MSC & SCStudio Mat - PowerPoint PPT Presentation

Laboratory of Advanced Network Technologies. MSC & SCStudio Mat u s Madzin Faculty of Informatics Masaryk University Autumn 2011 1 / 30 Message Sequence Chart Message Sequence Chart (MSC) is a formalism for communication


  1. Laboratory of Advanced Network Technologies. MSC & SCStudio Mat´ uˇ s Madzin Faculty of Informatics Masaryk University Autumn 2011 1 / 30

  2. Message Sequence Chart Message Sequence Chart (MSC) is a formalism for communication description between a number of independent components. 2 / 30

  3. Message Sequence Chart Message Sequence Chart (MSC) is a formalism for communication description between a number of independent components. Standardized by ITU-T as the Z.120 recommendation 1993: the first version ... 2011: current version 2 / 30

  4. Why? Why should we use any formalism? 3 / 30

  5. Why? Why should we use any formalism? automatic/computer processing model checking equivalence checking testing simulation theorem proving 3 / 30

  6. MSC Components Which components does MSC provide for the user? communicating processes message ordering time information high-level form 4 / 30

  7. Advantages What MSC is good for? 5 / 30

  8. Advantages What MSC is good for? Both human and computer readable formalizm for: basic behaviour demonstration (use cases), high level system behaviour description, test case specification, and (test) log visualization. 5 / 30

  9. Disadvantages What MSC is NOT good for? 6 / 30

  10. Disadvantages What MSC is NOT good for? detailed specification (before implementation), hierarchical structure of communicating entities, implementation details (primitives for communication, detailed data manipulation), etc. 6 / 30

  11. Message Sequence Chart (MSC) 7 / 30

  12. Sequence Chart Studio MSC drawing and verification tool developed at FI MU. http://scstudio.sourceforge.net 8 / 30

  13. Message Sequence Chart (MSC) - semantics 9 / 30

  14. Message Sequence Chart (MSC) - semantics 9 / 30

  15. MSC Properties What is an unwanted behaviour/property? 10 / 30

  16. MSC Properties What is an unwanted behaviour/property? Fundamental problems in the specified model, e.g. an implementation of the model does not exist in the given environment. 10 / 30

  17. Acyclic/Cyclic property cyclic dependency among events unrealizable in any environment 11 / 30

  18. Acyclic/Cyclic property 12 / 30

  19. FIFO/non-FIFO property overleaping messages 13 / 30

  20. FIFO/non-FIFO property overleaping messages unrealizable in an environment preserving message order 13 / 30

  21. FIFO/non-FIFO property overleaping messages unrealizable in an environment preserving message order 13 / 30

  22. FIFO/non-FIFO property overleaping messages unrealizable in an environment preserving message order realizable in an environment with P2P channel but unrealizable in case of a global channel 13 / 30

  23. Race Condition 14 / 30

  24. Race Condition 14 / 30

  25. Race Condition Informally, race is when some receive event can come earlier. 14 / 30

  26. Solution #1 - Coregion Construction Let us demonstrate that some events are not ordered. 15 / 30

  27. Solution #1 - Coregion Construction Let us demonstrate that some events are not ordered. 15 / 30

  28. Solution #1 - Coregion Construction Let us demonstrate that some events are not ordered. Events in a coregion are not ordered; except of related by general ordering . 15 / 30

  29. Solution #2 - List/set of all possibilities 16 / 30

  30. High-Level MSC (HMSC) - ITU-T Z.120 17 / 30

  31. High-Level MSC (HMSC) - ITU-T Z.120 18 / 30

  32. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  33. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  34. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  35. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  36. High-Level MSC (HMSC) - ITU-T Z.120 these events are not ordered! 19 / 30

  37. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  38. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  39. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  40. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  41. High-Level MSC (HMSC) - ITU-T Z.120 19 / 30

  42. Deadlock Property 20 / 30

  43. Livelock Property 21 / 30

  44. Find Flow Is a given MSC included in a given HMSC? 22 / 30

  45. Find Flow Is a given MSC included in a given HMSC? 22 / 30

  46. Universal Boundedness What size of buffer is needed to be sure it will not overflow? 23 / 30

  47. Universal Boundedness What size of buffer is needed to be sure it will not overflow? Every finite input buffer of Y can overflow. 23 / 30

  48. Universal Boundedness What size of buffer is needed to be sure it will not overflow? 23 / 30

  49. Universal Boundedness What size of buffer is needed to be sure it will not overflow? Buffers of size 1 will not overflow. 23 / 30

  50. Time Consistency Are the given time conditions consistent? 24 / 30

  51. Time Tightening Some time conditions can be tightened. 25 / 30

  52. Time Tightening Some time conditions can be tightened. 25 / 30

  53. MSC - Summary Basic MSC instances High-level MSC (HMSC) messages start node send events end node receive events reference nodes conditions connection points coregions lines general ordering conditions inline expressions time constraints time constraints timers 26 / 30

  54. MSC - Properties Acyclic property FIFO property Race Condition Deadlock Livelock Find Flow Nonlocal Choice Universal Boundedness Existential Boundedness Time Race Condition Time Consistency Tighten Time 27 / 30

  55. MSC - Tools IBM Rational, SanDriLa SDL, Cinderella SDL Sequence Chart Studio (SCStudio) MS Visio addon drawing, import, export checkers for all the mentioned properties MSCan academic tool only textual input some checkers Mesa academic tool local choice and time checkers 28 / 30

  56. TCP Demonstration known TCP diagram HMSC diagram detailed diagram 29 / 30

  57. Thanks for your attention 30 / 30

Recommend


More recommend