{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T04:20:04Z","timestamp":1750306804646,"version":"3.41.0"},"reference-count":64,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2014,3,1]],"date-time":"2014-03-01T00:00:00Z","timestamp":1393632000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2014,3]]},"abstract":"<jats:p>Many reusable software artifacts such as design patterns and design aspects make use of UML sequence diagrams to describe interaction behaviors. When a pattern or an aspect is reused in an application, it is important to ensure that the sequence diagrams for the application conform to the corresponding sequence diagrams for the pattern or aspect. Reasoning about conformance relationship between sequence diagrams has not been addressed adequately in literature. In this article, we focus on required behaviors specified by a UML sequence diagram and provide a semantic-based formalization of conformance relationships between sequence diagrams. A novel trace semantics is first given that captures precisely required behaviors. A refinement relation between sequence diagrams is then defined based on the semantics. The refinement relation allows a sequence diagram to be refined by changing its structure so long as its required behaviors are preserved. A conformance relation between sequence diagrams is finally given that includes the refinement relation as a special case. It allows one to introduce and rename lifelines, messages, and system variables when reusing sequence diagrams. Properties of the semantics, refinement, and conformance relations are studied. Two case studies are provided to illustrate the efficacy of semantic-based conformance reasoning.<\/jats:p>","DOI":"10.1145\/2523108","type":"journal-article","created":{"date-parts":[[2014,4,8]],"date-time":"2014-04-08T12:24:20Z","timestamp":1396959860000},"page":"1-28","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":12,"title":["Required behavior of sequence diagrams"],"prefix":"10.1145","volume":"23","author":[{"given":"Lunjin","family":"Lu","sequence":"first","affiliation":[{"name":"Oakland University"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Dae-Kyoo","family":"Kim","sequence":"additional","affiliation":[{"name":"Oakland University"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2014,4,4]]},"reference":[{"doi-asserted-by":"publisher","key":"e_1_2_1_1_1","DOI":"10.1109\/TSE.2003.1214326"},{"doi-asserted-by":"crossref","unstructured":"R. Alur and M. Yannakakis . 1999 . Model checking of message sequence charts. In Proceedings of the 10th International Conference on Concurrency Theory. J. C. M. Baeten and S. Mauw (Eds.) Lecture Notes in Computer Science vol. 1664 Springer 114--129. R. Alur and M. Yannakakis. 1999. Model checking of message sequence charts. In Proceedings of the 10th International Conference on Concurrency Theory. J. C. M. Baeten and S. Mauw (Eds.) Lecture Notes in Computer Science vol. 1664 Springer 114--129.","key":"e_1_2_1_2_1","DOI":"10.1007\/3-540-48320-9_10"},{"key":"e_1_2_1_3_1","first-page":"674","article-title":"A framework for semantics of UML sequence diagrams in PVS","volume":"8","author":"Aredo D. B.","year":"2002","unstructured":"D. B. Aredo . 2002 . A framework for semantics of UML sequence diagrams in PVS . J. Univ. Comput. Sci. 8 , 7, 674 -- 697 . D. B. Aredo. 2002. A framework for semantics of UML sequence diagrams in PVS. J. Univ. Comput. Sci. 8, 7, 674--697.","journal-title":"J. Univ. Comput. Sci."},{"doi-asserted-by":"crossref","unstructured":"F. Baader and T. Nipkow. 1998. Term Rewriting and All That. Cambridge University Press. F. Baader and T. Nipkow. 1998. Term Rewriting and All That. Cambridge University Press.","key":"e_1_2_1_4_1","DOI":"10.1017\/CBO9781139172752"},{"doi-asserted-by":"publisher","key":"e_1_2_1_5_1","DOI":"10.1016\/0304-3975(85)90088-X"},{"volume-title":"Proceedings of the 23rd International Conference on Information Technology Interfaces. 3--14","author":"Cardoso J.","unstructured":"J. Cardoso and C. Sibertin-Blanc . 2001. Ordering actions in sequence diagrams of UML . In Proceedings of the 23rd International Conference on Information Technology Interfaces. 3--14 . J. Cardoso and C. Sibertin-Blanc. 2001. Ordering actions in sequence diagrams of UML. In Proceedings of the 23rd International Conference on Information Technology Interfaces. 3--14.","key":"e_1_2_1_6_1"},{"doi-asserted-by":"crossref","unstructured":"A. Cavarra and J. K\u00fcster-Filipe . 2004 . Formalizing liveness-enriched sequence diagrams using ASMs. In Proceedings of the 11th International Workshop on Abstract State Machines. W. Zimmermann and B. Thalheim (Eds.) Lecture Notes in Computer Science vol. 3052 Springer 62--77. A. Cavarra and J. K\u00fcster-Filipe. 2004. Formalizing liveness-enriched sequence diagrams using ASMs. In Proceedings of the 11th International Workshop on Abstract State Machines. W. Zimmermann and B. Thalheim (Eds.) Lecture Notes in Computer Science vol. 3052 Springer 62--77.","key":"e_1_2_1_7_1","DOI":"10.1007\/978-3-540-24773-9_6"},{"doi-asserted-by":"publisher","key":"e_1_2_1_8_1","DOI":"10.1016\/j.entcs.2006.05.020"},{"volume-title":"Proceedings of the 3rd International Workshop on Critical Systems Development with UML. 85--99","author":"Cengarle M. V.","unstructured":"M. V. Cengarle and A. Knapp . 2004. UML 2.0 Interactions: Semantics and Refinement. Technical Report TUM-I0415, Institut f\u00fcr Informatik, Technische Universit\u00e4t M\u00fcnchen . In Proceedings of the 3rd International Workshop on Critical Systems Development with UML. 85--99 . M. V. Cengarle and A. Knapp. 2004. UML 2.0 Interactions: Semantics and Refinement. Technical Report TUM-I0415, Institut f\u00fcr Informatik, Technische Universit\u00e4t M\u00fcnchen. In Proceedings of the 3rd International Workshop on Critical Systems Development with UML. 85--99.","key":"e_1_2_1_9_1"},{"doi-asserted-by":"publisher","key":"e_1_2_1_10_1","DOI":"10.1109\/ASWEC.2005.8"},{"doi-asserted-by":"publisher","key":"e_1_2_1_11_1","DOI":"10.1049\/ip-sen:20010558"},{"doi-asserted-by":"publisher","key":"e_1_2_1_12_1","DOI":"10.1016\/S0020-0190(02)00270-3"},{"doi-asserted-by":"publisher","key":"e_1_2_1_13_1","DOI":"10.1007\/BF01211314"},{"key":"e_1_2_1_14_1","volume-title":"Lockwood","author":"Constantine Larry L.","year":"1999","unstructured":"Larry L. Constantine and Lucy A. D . Lockwood . 1999 . Software for Use: A Practical Guide to the Models and Methods of Usage-Centered Design. ACM Press\/Addison-Wesley Publishing Co. , New York, NY. Larry L. Constantine and Lucy A. D. Lockwood. 1999. Software for Use: A Practical Guide to the Models and Methods of Usage-Centered Design. ACM Press\/Addison-Wesley Publishing Co., New York, NY."},{"doi-asserted-by":"publisher","key":"e_1_2_1_15_1","DOI":"10.1007\/11506843_9"},{"key":"e_1_2_1_16_1","volume-title":"Proceedings of the 1st Workshop of the SDL Forum Society on SDL and MSC. 104","author":"Engels A.","year":"1998","unstructured":"A. Engels . 1998 . Message refinement: Describing multi-level protocols in MSC . In Proceedings of the 1st Workshop of the SDL Forum Society on SDL and MSC. 104 , 67--74. A. Engels. 1998. Message refinement: Describing multi-level protocols in MSC. In Proceedings of the 1st Workshop of the SDL Forum Society on SDL and MSC. 104, 67--74."},{"key":"e_1_2_1_17_1","doi-asserted-by":"crossref","first-page":"297","DOI":"10.3233\/FUN-2002-52402","article-title":"Comparing refinements for failure and bisimulation semantics","volume":"52","author":"Eshuis R.","year":"2002","unstructured":"R. Eshuis and M. M. Fokkinga . 2002 . Comparing refinements for failure and bisimulation semantics . Fundam. Inform. 52 , 4, 297 -- 321 . R. Eshuis and M. M. Fokkinga. 2002. Comparing refinements for failure and bisimulation semantics. Fundam. Inform. 52, 4, 297--321.","journal-title":"Fundam. Inform."},{"doi-asserted-by":"publisher","key":"e_1_2_1_18_1","DOI":"10.1109\/SCESM.2007.1"},{"doi-asserted-by":"publisher","key":"e_1_2_1_19_1","DOI":"10.1007\/978-3-642-03466-4_14"},{"doi-asserted-by":"publisher","key":"e_1_2_1_20_1","DOI":"10.1145\/1453101.1453144"},{"doi-asserted-by":"publisher","key":"e_1_2_1_21_1","DOI":"10.1145\/1147249.1147254"},{"doi-asserted-by":"publisher","key":"e_1_2_1_22_1","DOI":"10.1049\/ip-sen:20040920"},{"key":"e_1_2_1_23_1","volume-title":"Design Patterns: Elements of Reusable Object-Oriented Software","author":"Gamma E.","year":"1995","unstructured":"E. Gamma , R. Helm , R. Johnson , and J. Vlissides . 1995 . Design Patterns: Elements of Reusable Object-Oriented Software . Addison Wesley . E. Gamma, R. Helm, R. Johnson, and J. Vlissides. 1995. Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley."},{"doi-asserted-by":"publisher","key":"e_1_2_1_24_1","DOI":"10.1145\/940071.940106"},{"doi-asserted-by":"publisher","key":"e_1_2_1_25_1","DOI":"10.1109\/ACSD.2005.31"},{"volume-title":"Proceedings of the 3rd International Conference on the United Modeling Language: Advancing the Standard. 482--496","author":"Guennec A. L.","unstructured":"A. L. Guennec , G. Sunye , and J. Jezequel . 2000. Precise modeling of design patterns . In Proceedings of the 3rd International Conference on the United Modeling Language: Advancing the Standard. 482--496 . A. L. Guennec, G. Sunye, and J. Jezequel. 2000. Precise modeling of design patterns. In Proceedings of the 3rd International Conference on the United Modeling Language: Advancing the Standard. 482--496.","key":"e_1_2_1_26_1"},{"doi-asserted-by":"publisher","key":"e_1_2_1_27_1","DOI":"10.1007\/11888116_20"},{"doi-asserted-by":"publisher","key":"e_1_2_1_28_1","DOI":"10.1007\/s10270-007-0054-z"},{"doi-asserted-by":"publisher","key":"e_1_2_1_29_1","DOI":"10.1007\/s10270-005-0087-0"},{"doi-asserted-by":"publisher","key":"e_1_2_1_30_1","DOI":"10.1145\/4221.4249"},{"volume-title":"Algebraic Theory of Processess","author":"Hennessy M.","unstructured":"M. Hennessy . 1988. Algebraic Theory of Processess . The MIT Press . M. Hennessy. 1988. Algebraic Theory of Processess. The MIT Press.","key":"e_1_2_1_31_1"},{"volume-title":"Communicating Sequential Processes","author":"Hoare C. A. R.","unstructured":"C. A. R. Hoare . 1985. Communicating Sequential Processes . Prentice-Hall . C. A. R. Hoare. 1985. Communicating Sequential Processes. Prentice-Hall.","key":"e_1_2_1_32_1"},{"unstructured":"International Telecommunication Union. 1999. Message Sequence Chart (MSC). ITU-T Recommendation Z.120. International Telecommunication Union. 1999. Message Sequence Chart (MSC). ITU-T Recommendation Z.120.","key":"e_1_2_1_33_1"},{"volume-title":"Proceedings of the IFIP TC6\/WG6.1 - 21st International Conference on Formal Techniques for Networked and Distributed Systems. Kluwer, B.V., 19--34","author":"Khendek F.","unstructured":"F. Khendek , S. Bourduas , and D. Vincent . 2001. Stepwise design with message sequence charts . In Proceedings of the IFIP TC6\/WG6.1 - 21st International Conference on Formal Techniques for Networked and Distributed Systems. Kluwer, B.V., 19--34 . F. Khendek, S. Bourduas, and D. Vincent. 2001. Stepwise design with message sequence charts. In Proceedings of the IFIP TC6\/WG6.1 - 21st International Conference on Formal Techniques for Networked and Distributed Systems. Kluwer, B.V., 19--34.","key":"e_1_2_1_34_1"},{"volume-title":"The role-based metamodeling language for specifying design patterns","author":"Kim D.","unstructured":"D. Kim . 2007. The role-based metamodeling language for specifying design patterns . In Design Pattern Formalization Techniques, Toufik Taibi (Ed.). Idea Group Inc ., 183--205. D. Kim. 2007. The role-based metamodeling language for specifying design patterns. In Design Pattern Formalization Techniques, Toufik Taibi (Ed.). Idea Group Inc., 183--205.","key":"e_1_2_1_35_1"},{"key":"e_1_2_1_36_1","volume-title":"Workshops and Symposia at MoDELS","volume":"4364","author":"Knapp A.","year":"2006","unstructured":"A. Knapp and J. Wuttke . 2007. Model checking of UML 2.0 interactions. In Models in Software Engineering , Workshops and Symposia at MoDELS 2006 , Reports and Revised Selected Papers, T. K\u00fchne (Ed.), Lecture Notes in Computer Science , vol. 4364 , Springer, 42--51. A. Knapp and J. Wuttke. 2007. Model checking of UML 2.0 interactions. In Models in Software Engineering, Workshops and Symposia at MoDELS 2006, Reports and Revised Selected Papers, T. K\u00fchne (Ed.), Lecture Notes in Computer Science, vol. 4364, Springer, 42--51."},{"doi-asserted-by":"publisher","key":"e_1_2_1_37_1","DOI":"10.1007\/978-3-642-11486-1_18"},{"doi-asserted-by":"publisher","key":"e_1_2_1_38_1","DOI":"10.1145\/1595696.1595756"},{"volume-title":"Proceedings of the 3rd Annual Symposium on Logic in Computer Science. IEEE Computer Society, 203--210","author":"Larsen K. G.","unstructured":"K. G. Larsen and B. Thomsen . 1988. A modal process logic . In Proceedings of the 3rd Annual Symposium on Logic in Computer Science. IEEE Computer Society, 203--210 . K. G. Larsen and B. Thomsen. 1988. A modal process logic. In Proceedings of the 3rd Annual Symposium on Logic in Computer Science. IEEE Computer Society, 203--210.","key":"e_1_2_1_39_1"},{"doi-asserted-by":"publisher","key":"e_1_2_1_40_1","DOI":"10.1109\/ICECCS.2011.20"},{"key":"e_1_2_1_41_1","first-page":"2455","article-title":"Verification of structural pattern conformance using logic programming","volume":"16","author":"Lu L.","year":"2010","unstructured":"L. Lu , D.-K. Kim , Y. Zhu , and S. Kim . 2010 . Verification of structural pattern conformance using logic programming . J. Univ. Comput. Sci. 16 , 17, 2455 -- 2474 . L. Lu, D.-K. Kim, Y. Zhu, and S. Kim. 2010. Verification of structural pattern conformance using logic programming. J. Univ. Comput. Sci. 16, 17, 2455--2474.","journal-title":"J. Univ. Comput. Sci."},{"doi-asserted-by":"publisher","key":"e_1_2_1_42_1","DOI":"10.1007\/11813040_26"},{"volume-title":"Proceedings of the 40th International Conference on Technology of Object-Oriented Languages and Systems (TOOLS). ACS, 3--11","author":"Mapelsden D.","unstructured":"D. Mapelsden , J. Hosking , and J. Grundy . 2002. Design pattern modelling and instantiation using DPML . In Proceedings of the 40th International Conference on Technology of Object-Oriented Languages and Systems (TOOLS). ACS, 3--11 . D. Mapelsden, J. Hosking, and J. Grundy. 2002. Design pattern modelling and instantiation using DPML. In Proceedings of the 40th International Conference on Technology of Object-Oriented Languages and Systems (TOOLS). ACS, 3--11.","key":"e_1_2_1_43_1"},{"doi-asserted-by":"publisher","key":"e_1_2_1_44_1","DOI":"10.1093\/comjnl\/37.4.269"},{"doi-asserted-by":"crossref","unstructured":"S. Mauw and M. A. Reniers . 1996 . Refinement in interworkings. In Proceedings of the 7th International Conference on Concurrency Theory. U. Montanari and V. Sassone (Eds.) Lecture Notes in Computer Science vol. 1119 Springer 671--686. S. Mauw and M. A. Reniers. 1996. Refinement in interworkings. In Proceedings of the 7th International Conference on Concurrency Theory. U. Montanari and V. Sassone (Eds.) Lecture Notes in Computer Science vol. 1119 Springer 671--686.","key":"e_1_2_1_45_1","DOI":"10.1007\/3-540-61604-7_83"},{"doi-asserted-by":"publisher","key":"e_1_2_1_46_1","DOI":"10.1007\/s10270-010-0157-9"},{"volume-title":"Communication and Concurrency","author":"Milner R.","unstructured":"R. Milner . 1989. Communication and Concurrency . Prentice-Hall, Inc. , Upper Saddle River, NJ. R. Milner. 1989. Communication and Concurrency. Prentice-Hall, Inc., Upper Saddle River, NJ.","key":"e_1_2_1_47_1"},{"volume-title":"Proceedings of the 2nd Workshop on SDL and MSC. E. Sherratt (Ed.), VERIMAG, IRISA, SDL Forum, 3--17","author":"Muscholl A.","unstructured":"A. Muscholl and D. Peled . 2000. Analyzing message sequence charts . In Proceedings of the 2nd Workshop on SDL and MSC. E. Sherratt (Ed.), VERIMAG, IRISA, SDL Forum, 3--17 . A. Muscholl and D. Peled. 2000. Analyzing message sequence charts. In Proceedings of the 2nd Workshop on SDL and MSC. E. Sherratt (Ed.), VERIMAG, IRISA, SDL Forum, 3--17.","key":"e_1_2_1_48_1"},{"doi-asserted-by":"crossref","unstructured":"A. Muscholl D. Peled and Z. Su . 1998 . Deciding properties for message sequence charts. In Proceedings of the 1st International Conference on Foundations of Software Science and Computation Structure M. Nivat (Ed.) Lecture Notes in Computer Science vol. 1378 Springer 226--242. A. Muscholl D. Peled and Z. Su. 1998. Deciding properties for message sequence charts. In Proceedings of the 1st International Conference on Foundations of Software Science and Computation Structure M. Nivat (Ed.) Lecture Notes in Computer Science vol. 1378 Springer 226--242.","key":"e_1_2_1_49_1","DOI":"10.1007\/BFb0053553"},{"doi-asserted-by":"publisher","key":"e_1_2_1_50_1","DOI":"10.1016\/0304-3975(84)90113-0"},{"key":"e_1_2_1_51_1","volume-title":"OMG Unified Modeling Language#8482","author":"OMG.","year":"2010","unstructured":"OMG. 2011. OMG Unified Modeling Language#8482 ; (OMG UML), Superstructure . Version 2.4. OMG Document: ptc\/ 2010 -11-14. The Object Management Group . OMG. 2011. OMG Unified Modeling Language#8482; (OMG UML), Superstructure. Version 2.4. OMG Document: ptc\/2010-11-14. The Object Management Group."},{"doi-asserted-by":"publisher","key":"e_1_2_1_52_1","DOI":"10.5555\/647210.720030"},{"doi-asserted-by":"publisher","key":"e_1_2_1_54_1","DOI":"10.1109\/35.312842"},{"doi-asserted-by":"publisher","key":"e_1_2_1_55_1","DOI":"10.1109\/TSE.2006.82"},{"doi-asserted-by":"publisher","key":"e_1_2_1_56_1","DOI":"10.1145\/1368088.1368095"},{"key":"e_1_2_1_57_1","volume-title":"Proceedings of the 2nd International Workshop on Critical Systems Development with UML. 79--94","author":"St\u00f6rrle H.","year":"2003","unstructured":"H. St\u00f6rrle . 2003 a. Assert, negate and refinement in UML-2 interactions . In Proceedings of the 2nd International Workshop on Critical Systems Development with UML. 79--94 . H. St\u00f6rrle. 2003a. Assert, negate and refinement in UML-2 interactions. In Proceedings of the 2nd International Workshop on Critical Systems Development with UML. 79--94."},{"doi-asserted-by":"publisher","key":"e_1_2_1_58_1","DOI":"10.5555\/1153917.1153980"},{"doi-asserted-by":"publisher","key":"e_1_2_1_59_1","DOI":"10.1109\/TSE.2006.112"},{"doi-asserted-by":"publisher","key":"e_1_2_1_60_1","DOI":"10.1109\/TSE.2008.107"},{"doi-asserted-by":"publisher","key":"e_1_2_1_61_1","DOI":"10.1109\/TSE.2003.1178048"},{"doi-asserted-by":"publisher","key":"e_1_2_1_62_1","DOI":"10.1145\/1005561.1005563"},{"doi-asserted-by":"publisher","key":"e_1_2_1_63_1","DOI":"10.1145\/337180.337217"},{"doi-asserted-by":"publisher","key":"e_1_2_1_64_1","DOI":"10.1109\/ICNC.2009.218"},{"doi-asserted-by":"publisher","key":"e_1_2_1_65_1","DOI":"10.5555\/998675.999429"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2523108","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/2523108","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T07:34:53Z","timestamp":1750232093000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/2523108"}},"subtitle":["Semantics and conformance"],"short-title":[],"issued":{"date-parts":[[2014,3]]},"references-count":64,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2014,3]]}},"alternative-id":["10.1145\/2523108"],"URL":"https:\/\/doi.org\/10.1145\/2523108","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"type":"print","value":"1049-331X"},{"type":"electronic","value":"1557-7392"}],"subject":[],"published":{"date-parts":[[2014,3]]},"assertion":[{"value":"2013-02-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2013-08-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2014-04-04","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}