Abstract
Scenario based requirements specifications are the industry norm for defining communication protocols. Basic scenarios captured as UML sequence diagrams, Message Sequence Charts (MSCs) or Live Sequence Charts (LSC) have partial order semantics that characterize system traces by restricting the possible order of events within those traces. The semantic partial order of the scenario specification is called the causal ordering.
Semantic inconsistencies often occur in partial order scenarios between the specified causal ordering and the order that events can occur in practice. Such inconsistencies are known as race conditions. The paper proves that there is a unique race free partial order that is a minimal weakening of the causal ordering. In other words, there is a canonical generalization of the requirements that corrects all race conditions. Hence any race free generalization of the original scenario is in fact a generalization of the canonical scenario. The paper also proves the dual result, there is a unique race free partial order that is a minimal strengthening of the causal order. I.e. there is a canonical refinement of the requirements that corrects all race conditions.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Alur, R., Etessami, K., Yannakakis, M.: Inference of Message Sequence Charts. In: Proceedings 22nd International Conference on Software Engineering, pp. 304–313 (2000)
Beyer, M., Dulz, W., Zhen, F.: Automated TTCN-3 Test Case Generation by Means of UML Sequence Diagrams and Markov Chains. In: Proceedings of 12th Asian Test Symposium (ATS 2003). IEEE, Los Alamitos (2003)
Bontemps, Y., Schobbens, P.-Y.: Synthesis of Open Reactive Systems from Scenario-Based Specifications (ACSD 2003)
Bontemps, Y., Heymens, P.: Turning high-level live sequence charts into automata. In: Proc. of Scenarios and State Machines: Models Algorithms and tools, 24th International Conf. on Software Engineering. ACM, New York (2002)
Gunter, E., Muscholl, A., Peled, D.: Compositional message sequence charts. In: Margaria, T., Yi, W. (eds.) TACAS 2001. LNCS, vol. 2031, p. 496. Springer, Heidelberg (2001)
Baker, P., Bristow, P., Jervis, C., King, D., Mitchell, B.: Automatic generation of conformance tests from message sequence charts. In: Sherratt, E. (ed.) SAM 2002. LNCS, vol. 2599, pp. 170–198. Springer, Heidelberg (2003)
Harel, D., Damm, W.: LSCs: Breathing Life into Message Sequence Charts. Formal Methods in System Design 19, 45–80 (2001)
Gehrke, T., Hilhn, M., Wehrkeim, H.: An algebraic semantics for message sequence chart documents. In: FORTE/PSTV 1998, pp. 3–18. Kluwer Academic Publishers, Dordrecht (1998)
Holzmann, G.J., Peled, D.A.: Message Sequence Chart Analyzer. United States Patent 5,812,145
Holzmann, G.J., Peled, D.A., Redberg, M.H.: An analyzer for message sequence charts. Software Concepts and Tools 17(2) (1996)
Mitchell, B., Thomson, R., Jervis, C.: Phase Automaton for Requirements Scenarios. In: Feature Interactions in Telecommunications and Software Systems VII, pp. 77–84. IOS Press, Amsterdam (2003)
Muscholl, A., Peled, D.: From finite state communication protocols to high-level message sequence charts. In: Orejas, F., Spirakis, P.G., van Leeuwen, J. (eds.) ICALP 2001. LNCS, vol. 2076, pp. 720–731. Springer, Heidelberg (2001)
Peled, D.: Specification and Verification using Message Sequence Charts. Electronic Notes in Theoretical Computer Science, vol. 65(7) (2002)
Rudolph, E., Schieferdecker, I., Grabowski, J.: Development of a MSC/UML Test Format. In: Formale Beschreibungstechniken fur verteilte Systeme, pp. 153–164. Verlag Shaker, Aachen (2000) ISBN 3-8265-7491-5
Schumann, J., Whittle, J.: Generating Statechart Designs From Scenarios. In: Proceedings 22nd international conference on Software engineering (2000)
Tsiolakis, A.: Integrating Model Information in UML Sequence Diagrams. Electronic Notes in Theoretical Computer Science (June 2001)
Uchitel, S., Kramer, J., Magee, J.: Synthesis of Behavioral Models from Scenarios. IEEE Transactions on Software Engineering 29(2) (February 2003)
Z.120 (11/99)ITU-T Recommendation - Message Sequence Chart (MSC)
Object Management Group (OMG), Unified Modeling Language (UML): Superstructure, Version 2.0 (2003), Available from: http://www.omg.org
Wong, E., Horgan, J.R., Zage, W., Zage, D., Syring, M.: Applying Design Metrics to a Large-Scale Software System (Motorola). In: Proceedings of the 9th International Symposium on Software Engineering Reliability (ISSRE 1998), Paderborn, Germany, November 4-7 (1998)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Mitchell, B. (2005). Inherent Causal Orderings of Partial Order Scenarios. In: Liu, Z., Araki, K. (eds) Theoretical Aspects of Computing - ICTAC 2004. ICTAC 2004. Lecture Notes in Computer Science, vol 3407. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-31862-0_10
Download citation
DOI: https://doi.org/10.1007/978-3-540-31862-0_10
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-25304-4
Online ISBN: 978-3-540-31862-0
eBook Packages: Computer ScienceComputer Science (R0)