期刊文献+

UML活动图的操作语义 被引量:9

An Operational Semantics for UML Activity Diagrams
下载PDF
导出
摘要 越来越多的系统采用UML(unified model language,统一建模语言)作为建模语言来进行系统分析和设计.UML活动图是UML语言中描述系统动态行为的一种方法,它广泛地运用于业务建模.由于UML活动图缺乏精确的动态语义,所以不利于对其所描述的系统进行形式化的分析、验证和确认.为解决这一问题,根据UML1.5语义文档,给出UML活动图的形式化操作语义.首先给出UML活动图的形式化的语法,然后详细地定义了活动图的格局和变迁,最后基于LTS给出了活动图的演绎规则.主要工作是:引入状态包的概念,使得描述更加清楚、完善;通过LTS定义活动图的操作语义,并详细阐述演绎规则,从而获得活动图的全局状态转移图,使定义的操作语义很容易地应用到形式化验证中.该语义覆盖了UML活动图的绝大部分特征,为对UML活动图进行模型检验奠定了基础. More and more large systems are taking UML(unified model language) as requirements description language for system analysis and design,especially in those safety-critical systems.One of the most important dynamic behaviors specifying the mechanism of UML is the UML activity diagram,which is widely used for modeling of business.The UML activity diagram lacks strictly defined formal dynamic semantics.It is difficult using the UML activity diagram to make formal analysis,verification and assertation.An operational semantics for UML activity diagram is proposed according to UML1.5 specification documents.First,the formal syntax of UML activity diagram is provided.Then,the configuration and the transitions are defined in detail.Finally,the deduct rules of UML activity diagram are described based on the LTS.The main contributions are:Firstly,in order to get more precise and clearer description of formal semantics,the hierarchy of activity state is abandoned and instead the concept of state bag is introduced to define the configuration.Secondly,the LTS semantics and the detailed deduction rules of UML activity diagram are defined.The global state transition diagram can be computed from the LTS semantics conveniently.Therefore,the formal semantics is able to deal with most of the features of UML activity diagram and can be used in formal verification.
作者 王聪 王智学
出处 《计算机研究与发展》 EI CSCD 北大核心 2007年第10期1801-1807,共7页 Journal of Computer Research and Development
关键词 UML活动图 操作语义 格局 变迁 加标记的变迁系统 UML activity diagram operational semantics configuration transition LTS
  • 相关文献

参考文献11

  • 1OMG Unified Modeling Language Specification (Version 1.5)[S].Needham:Object Management Group,Inc,2003
  • 2J Rumbaugh,I Jacobson,G Booch.The Unified Modeling Language Reference Manual[M].Boston:Addison-Wesley,1999
  • 3G McLeod.Extending UML for enterprise and business process modeling[C].UML 98'Workshop,Mulhouse,France,1998
  • 4D Latella,I Majzik,M Massink.Towards a formal operational semantics of UML Statechart diagrams[C].In:P Ciancarini,A Fantechi,R Gorrieri,eds.Proc of the 3rd Int'l Conf on Formal Methods for Open Object-Oriented Distributed Systems.Boston:Kluwer Academic Publishers,1999.15-18
  • 5I Paltor,J Lilius.Formalising UML state machines for model checking[G].In:R France,B Rumpe,eds.Proc of the Unified Modeling Language (UML'99),LNCS 1723.Berlin:Springer,1999
  • 6J Lilius,I Paltor.The semantics of UML state machines[R].Turku Centre for Computer Science,Tech Rep:273,1999
  • 7李留英,王戟,齐治昌.UML Statechart图的操作语义[J].软件学报,2001,12(12):1864-1873. 被引量:22
  • 8蒋慧,谢希仁,林东.UML状态机的形式语义[J].软件学报,2002,13(12):2244-2250. 被引量:26
  • 9R Eshuis,R Wieringa.A formal semantics for UML activity diagrams[R].University of Twente,Tech Rep:TR-CTIT-01-04,2001
  • 10E Borger,A Cavarra,E Riccobene.An ASM semantics for UML activity diagrams[G].In:T Rus ed.Proc of Int'l Conf on Algebraic Methodology and Software Technology (AMAST 2000),LNCS 1826.Berlin:Springer,2000.293-308

二级参考文献31

  • 1[1]UML version 1.3. http://www.omg.org.
  • 2[2]Booch, G., Rumbaugh, J., Jacobson, I. The Unified Modeling Language User Guide. Boston: Addison-Wesley, 1999.
  • 3[3]Jézéquel, J.M., Le Guennec, A., Pennaneach, F. Validating distributed software modeled with UML. In: Bézivin, J., Muller, P.A.,eds. Proceedings of the lst International Workshop on the Unified Modeling Language, UML'98-Beyond the Notation. Vol. 1618 of LNCS, Springer-Verlag, 1998.331~340. http://www.essaim. univ-mulhouse.fr/uml/evenements/.
  • 4[4]Evans, A., France, R., Lano, K., et al. Developing the UML as a formal modelling notation. In: Bézivin, J., Muller, P.A., eds.Proceedings of the lst International Workshop on the Unified Modeling Language, UML'98-Beyond the Notation. Vol. 1618 of LNCS, Springer-Verlag, 1998. 293~307. http://www.essaim. univ-mulhouse.fr/uml/evenements/.
  • 5[5]Offutt, J., Abdurazik, A. Generating tests from UML specifications. In: France, R., Rumpe, B., eds. Proceedings of the 2nd International Conference on UML'99, the United Modeling Language, Beyond the Standard. Vol. 1723 of LNCS, Springer-Verlag,1999. http://www.cs.colostate.edu/UML99/.
  • 6[6]Arafjo, J. Formalizing sequence diagrams. In: Andrade, L., Moreira, A., Deshpande, A., eds. Proceedings of the OOPSLA'98 Workshop on Formalizing UML. Why? How? 1998. http://www.acm.org/sigplan/oopsla/oopsla98/.
  • 7[7]Geisler, R. Precise UML semantics through formal metamodeling. In: Andrade, L., Moreira, A., Deshpande, A., eds. Proceedings of the OOPSLA'98 Workshop on Formalizing UML. Why? How? 1998. http://www.acm.org/sigplan/oopsla/oopsla98/.
  • 8[8]Kim, S.K., Carrington, D. Formalizing the UML class diagram using object_z. In: Rumpe, B., France, R.B., eds. Proceedings of the 2nd International Conference on the Unified Modeling Language. Vol. 1723 of LNCS. 1999. http://www.cs.colostate.edu/UML99/.
  • 9[9]von der Beeck, M. A concise compositional statecharts semantics definition. In: Proceedings of the FORTE/PSTV 2000. Kluwer,2000. http://forte-pstv-2000.cpr, it/
  • 10[10]Uselton, A., Smolka, S. A process-algebraic semantics for statecharts via state refinement. In: Olderog, E-R., ed. Proceedings of the IFIP TC2/WG2.1/WG2.2/WG2.3 working Conference on Programming Concepts, Methods and Calculi (PROCOMET'94), North Holland/Elsevier, 1994.

共引文献50

同被引文献42

引证文献9

二级引证文献18

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部