UML state diagram model checking techniques and tools to achieve

Author
GuoWei
Advisor
ZhangDaFang , ZuoYingZuo
School
Hunan University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
152
Citations
1

Request the full text

Abstract

UML is already a standard language for software modeling, UML state diagram describes the system in its life cycle dynamic behavior. As the system scale and complexity increase, UML state diagrams often contain designer unanticipated risks, through the model checking UML state diagram technologies on an exhaustive testing has become an important issue. Firstly, a subset of UML state diagrams to complete formal analysis, this subset contains levels of concurrency semantics, to meet the general application requirements; formal analysis of this subset of UML state diagram and its syntax and semantics of the elements after , a subset of this state diagram formal definition; based on the formal definition, this paper presents the state diagram model checking for a new method, this new method includes state diagram Mountains algorithms and migrate extraction algorithm. Mountains algorithm using state diagrams in the UML state diagrams transformed into an intermediate language (XML) process, this algorithm will UML state diagrams into three-dimensional view, extended UML state diagram semantics of migration and state, so that the state has a \according to all the layers to the map status classification; make migration has a \migration into the state sets and sets exit status, and finally to formalize UML state diagrams into XML files in text format. Migration extraction algorithm to be used in XML documents into Promela document, the state different from the previous extraction algorithm that extracts the migration, the migration of the XML block extraction Promela file and placed in the main loop. Since the state of the state diagram with static characteristics and dynamic migration of the state diagram of the dynamic characteristics of the main embodiment, the extraction extraction compared to the migration state, the state diagram of the dynamic characteristics of more obvious. Event processing, the paper with a first-in, first-out queue of events to achieve the state diagram event handling, Promela code, the event queue module and migration module in the main program module, the realization of UML state diagrams run-to-completion step semantics. This realization software SC2Spin, application state diagram Mountains algorithm, migration extraction algorithm and event queues can be converted into a UML state diagram Spin's input language Promela, users simply add the file header in Promela state diagram variables used in the definition and initialization, you can directly enter the Spin to verify UML state diagrams deadlock, live lock errors and temporal logic formulas.

Table of contents

Abstract 5-6 ABSTRACT 6-11 Chapter 1 Introduction 11-17 1.1 Background 11-12 1.1.1 Unified Modeling Language UML 11 1.1.2 UML state diagram 11 1.1.3 Model Checking 11-12 1.1.4 Spin / Promela 12 1.2 model checking statecharts Research 12-14 1.2.1 Study abroad 12-13 1.2.2 Domestic research 13-14 1.3 research this topic 14-15 1.4 This organizational structure 15-17 Chapter 2 Formal Analysis UML state diagram 17-34 2.1 Unified Modeling Language UML 17-19 2.1.1 UML Profile 17-18 2.1.2 UML goal 18 2.1.3 UML conceptual framework and classification 18-19 2.1.4 UML view 19 2.2 UML state machine view 19-28 2.2.1 Event 20-21 2.2.2 Status 21-22 2.2.3 Migration 22-25 2.2.4 composite state 25-28 2.2.5 pseudo-state 28 2.3 UML state diagram formalization 28-33 2.3.1 UML state diagram formal definition 28-30 2.3.2 operational semantics and run-to-completion step semantics 30-33 2.4 Summary 33-34 Chapter 3 Model Checking state diagram 34-41 3.1 Model Checking 34-35 3.2 linear temporal logic LTL 35 3.3 model checking tool 35-37 3.3.1 model checking tool Spin 35-36 3.3.2 model checking tool SMV 36-37 3.4 model checking state diagram difficulty 37-38 3.5 Model Checking the state diagram of the general method 38-40 3.5.1 using the SMV model checker RSML 38 3.5.2 using the SMV model checker STATEMATE 38 3.5.3 Using Spin model checking STATEMATE 38-39 3.5.4 Using Spin model checking UML state diagram 39 3.5.5 Use vUML model checking UML state diagram 39-40 3.6 Summary 40-41 Chapter 4 UML state diagram model checking algorithm 41-46 4.1 State Diagram Mountains algorithm 41-42 4.2 Migration extraction algorithm 42-43 4.3 conversion algorithm analysis 43-45 4.3.1 Migration conflict 43-44 4.3.2 Hierarchical problems 44 4.3.3 concurrency issues 44 4.3.4 Communication problems 44 4.3.5 step semantics 44 4.3.6 event queue simulation 44 4.3.7 Select Spin as conversion goals 44-45 4.4 Summary 45-46 Chapter 5 SC2Spin design, implementation and use of 46-57 5.1 SC2Spin design 46-49 5.2 SC2Spin realization 49-52 5.3 SC2Spin use 52-56 5.4 Summary 56-57 Chapter 6 experimental 57-76 6.1 using method one of the dining philosophers problem 57-67 6.1.1 Problem Description 57 6.1.2 SC2Spin generated code analysis 57-66 6.1.3 validation results 66-67 6.2 methods used two of the dining philosophers problem 67-73 6.2.1 Problem Description 67 6.2.2 SC2Spin generated code analysis 67-72 6.2.3 validation results 72-73 6.3 methods used three of the dining philosophers problem 73 6.3.1 Problem Description 73 6.3.2 validation results 73 6.4 prisoners 73-74 6.4.1 Problem Description 73-74 6.4.2 validation results 74 6.5 Summary 74-76 Conclusion 76-77 References 77-81 Appendix A degree program during the papers and to participate in projects 81-82 Thanks 82

Related dissertations

  1. Formal model checking based authentication protocol
  2. The Improvement and Application of the PPTL Model Checker
  3. Research of Ada Program Model Checking Based on Program Slicing
  4. The Socket Communication Program Analysis System Based on SPIN
    YuLiQuan ·Nanchang University ·2012 ·Master's thesis
  5. Trusted Transmission of VoIP Traffic and Formal Verification
    QinYing ·Beijing Jiaotong University ·2013 ·Master's thesis
  6. Formal Analysis for UML Model of Security Protocols Using SPIN
    ZhuYiBing ·Nanchang University ·2007 ·Master's thesis
  7. The Automatic Analysis System for Network Authentication Protocols
    LiJing ·Nanchang University ·2007 ·Master's thesis
  8. UML sequence diagram analysis technique
  9. From Transaction Processing to Reliable Service Composition
    XiaoQingJun ·Shanghai Jiaotong University ·2007 ·Master's thesis
  10. Model Checking Propositional Projection Temporal Logic with Infinite Model
  11. The Spin Model Checker Research and Application
    WangQiaoLi ·Guizhou University ·2006 ·Master's thesis
  12. Security Protocol Analysis and Verification Based on Model Checker SPIN
    SunShouQing ·Lanzhou University ·2006 ·Master's thesis
  13. UML - based security protocol modeling and automatic detection
    LiuWanShou ·South China Normal University ·2005 ·Master's thesis
  14. Model Checking Propositional Projection Temporal Logic Based on SPIN
  15. Verification of UML Activity Chart Using SPIN
    XueKe ·East China Normal University ·2008 ·Master's thesis
  16. Process Modeling and Verification of Service Oriented Architecture
    ZhangXiaoYan ·Beijing Jiaotong University ·2010 ·Master's thesis
  17. On the Model Checking and Analysis of Wireless Authentication Protocol
  18. The Verification Method of UML Interactive Charts Based on Model Checking
    ChenDong ·East China Normal University ·2009 ·Master's thesis
  19. Study of Some Key Issues on Model Checking in Formal Analysis
    XiongZuo ·Nanchang University ·2008 ·Master's thesis
  20. SPIN model checker mechanism of formal analysis and application
    LiuQiaoWei ·Nanchang University ·2008 ·Master's thesis