期刊文献+

基于Spin的UML状态图模型检查的设计与实现 被引量:3

Model checking UML Statechart based on Spin
下载PDF
导出
摘要 UML已经是软件建模方面的标准语言,UML Statechart描述了系统在其生命周期中的动态行为。随着系统规模的扩大和复杂度的提高,Statechart往往包含设计者所未预料到的隐患,通过模型检查来对Statechart进行穷举检验就成为一个重要课题,首先给出了含层次、并发Statechart的语义;随后提出了对Statechart进行模型检查的一种新方法,并且已经编写软件SC2Spin实现此方法,该方法使用了提出的Statechart山脉算法和迁移提取法,可以将一个Statechart自动转化为Spin的输入语言Promela,从而验证Statechart的死锁、活锁等错误和时序逻辑公式。 Being an industry standard of software modeling language,UML is well accepted and extensively used in the industry. The UML Statechart describes some dynamic behavior of a system in its lifeeycle,With systems to be modeled using Statechart become more and more large and complex,the Statechart often contain unexpected hidden dangers,It is then necessary to check the consistency and correctness.The paper presents an approach to model checking UML Statechart containing hierarchy and concurrent states,The software named SC2Spin is completed to check Statechart automatically.First semantics of Statechart is defined and then a new method to check Stateehart is proposed,the Statechart is translated to Promela which is the input language of the famous model checking tool SPIN.To implement this method,this paper proposes Statechart Mountain Algorithm (SMA) to analyze the Translation in Statechart,proposes Translation Extraction to implement the translation.SC2Spin can detect errors like Deadlocks and Livelocks and verify LTL formulas.
出处 《计算机工程与应用》 CSCD 北大核心 2008年第10期43-47,共5页 Computer Engineering and Applications
基金 国家部委基础科研“十一五”项目 国家自然科学基金(the National Natural Science Foundation of China under Grant No.60673155)
关键词 模型检查 STATECHART Statechart山脉算法 迁移提取 SPIN model checking Statechart Statechart Mountain Algorithm (SMA) Transition Extraction Spin
  • 相关文献

参考文献8

  • 1Object Management Group.version 2.1.1 Unified Modeling Language : Superstructure[S].2007.
  • 2Clarke E M Jr,Grumberg O,Peled D A.Model checking[M|.4th ed. Cambridge, Massachusetts : MIT Press, 2002.
  • 3Holzmann G J.The spin model checker:primer and reference manual[M].[S.1.] : Addison Wesley, 2003.
  • 4MOCES :Model ChEcking Statecharts [CP/OL].http://www.informatik. uni-kiel.de/inf/deRoever/research.html.
  • 5Mikk E,Lakhnech Y,Siegel M,et al.Implementing statecharts in PROMELA/SPIN[C]//Proceedings of the 2nd IEEE Workshop on Industrial-Strength Formal Specification Techniques,IEEE Computer Society,October 21-23,1998.90-101.
  • 6Latella D,Majzik I,Massink M.Automatic verification of a behavioural subset of UML stateehart diagrams using the SPIN modelcheeker[J].Formal Aspects of Computing, 1999,11 (6) : 637-664.
  • 7Latella D,Majzik I,Massink M.Towardsa formal operational semantics of UML statechart diagrams[C]//Proc FMOODS'99,IFIPTC6/ WG6.1.Third International Conference on Formal Methods for Open Object-Based Distributed Systems,Florence,Italy,February 15-18,1999.
  • 8Paltor I,Lilius J.Vuml:a tool for verifying UML models[C]//Proc of the 14th IEEE International Conference on Automated Software Engineering, ASE'99, IEEE, 1999.

同被引文献21

  • 1肖美华,薛锦云.基于SPIN/Promela的并发系统验证[J].计算机科学,2004,31(8):201-203. 被引量:20
  • 2CHRIS RAISTRICK, PAUL FRANCIS, JOHN WRIGHT,等.MDA与可执行UML[M].北京:机械工业出版社,2006.
  • 3Jori Dobrovin, Tommi Junttila. Symbolic model checking of hierar- chical UML state machine [C]. Xi'an. 8th International Con- ference on Application of Concurrency to System Design, 2008: 108-117.
  • 4WEI Dong. Compositional verification of UML dymamic models [C]. Nagoya, Japan . 14th Asica-Pacific Software Engineering Conference, 2007: 286-293.
  • 5Vitus S W Lam. Julian padget an integrated environment forcommunicating UML statechart diagram [C]. Cairo, Egypt : The 3rd Computer Systems and Applications International Con- ference, 2005.
  • 6OMG (object management group). UML2.1 standard [EB/ OL]. [2007-11-02]. http://www, omg. org/spec/UML/2. 1.2.
  • 7Sven Efftinge. Open architecture ware user guide version 4.3 [EB/OL]. [2008-12-11]. http://www, openarchitectureware. org/index. php.
  • 8Roberto Cavada. NuSMV user manual [EB/OL] . [2007-05- 22]. http://nusmv, fbk. eu/NuSMV/userman/index-v2, html.
  • 9James Rumbauch.UML参考手册[M].2版.北京:机械工业出版社,2006.
  • 10Linacre House. Jordan Hill: Practical UML statecharts in C/C++ [M]. 2nd ed. America: Newnes, 2009.

引证文献3

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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