Study on Formal Method in UML Sequence Diagram and Statechart
- Author
- ChenHui
- Advisor
- ZuoWanFeng
- School
- Nanjing Normal University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 417
- Citations
- 6
Abstract
Unified Modeling Language (Unified Modeling Language, UML) is a description powerful and intuitive meaning visual modeling language, it offers a variety of view portrayed from different angles, and application-level system characteristics and complex operating environment. UML syntax structure with a formal statute, but the semantic part is to use natural language to describe. Prone to vague or ambiguous. Therefore, the formal semantics of UML research can improve the accuracy, consistency and scalability of the language. UML2.0 version of the sequence diagram is often used to describe concurrent system design needs to reflect the dynamic interactive relationship between the object and underscores the message passing between objects in chronological order, therefore, given an appropriate temporal logic description language its semantics is feasible. XYZ / E is an executable linear temporal logic language can describe the system's dynamic behavior can be said that the nature of the proceeding, the formal specification of the sequence diagram, the analysis of the nature of the sequence diagram in a unified framework for sequential logic . The paper gives an improved sequence diagram syntax definition, at the same time carried out in-depth study of existing UML sequence diagram based on XYZ / E temporal logic language semantics, its problems, according to the syntax definition given new solutions, to more accurately describe the semantics of a sequence diagram. UML support users from different points of view of the system modeling exists between the different views of the redundancy of information, such as the sequence diagram and state diagram to describe the dynamic behavior of overlap, which may lead to the generation of inconsistencies between views. First, the paper describes the principles and characteristics of the formal model checking methods, expounded the principles and syntax of the model checking tool SPIN. Second, the characteristics of sequence diagram logic semantic diversity, proposed a method of analysis, and given a new definition of the semantics. Again, proposed a more comprehensive state diagram syntax definition and characteristics of the complex hierarchy of the state diagram, the introduction of the finite state automata automata decomposition algorithm FSADA, and decomposed automata tree. Finally, the proposed new sequence diagram and state diagram consistency test criteria, the Promela code structure, as well as the state diagrams into Promela code ATTP algorithm with model checking tool SPIN to achieve a consistency test between the two.
Table of contents
Abstract 6-7
ABSTRACT 7-8
first chapter 8-12
1.1 Introduction 8
1.2 Research 8-10
1.3 In this paper, the main work and organizational structure 10-12
UML formalized research 12-19
2.1 UML language architecture 12-14
2.1.1 the UML four-layer model architecture 12-13
2.1.2 exist 13-14
2.2 UML formal semantics research 14-15
2.3 UML model consistency 15-18
2.3.1 UML model consistency reasons 15
2.3.2 UML model consistency classification scheme 15-16
2.3.3 UML model consistency detection methods 16-18
2.4 This chapter Summary 18-19
the the
UML2.0 sequence diagrams XYZ / E of temporal logic semantics 19-32
3.1 UML sequence diagram 19-21
3.1.1 of UML2.0 sequence diagram new features Overview 19-21
3.1.2 UML sequence diagram formalized semantics Research 21
3.2 temporal logic language XYZ / E 21-23
3.2.1 XYZ / E conjunction 22
3.2.2 XYZ / E Timing operator 22
3.2.3 XYZ / E basic command format 22-23
3.3 UML sequence diagram syntax 23-24
3.4 UML sequence diagram semantics 24-29
the 3.4.1 sequence diagram semantic ambiguity 24-25
3.4.2 XYZ / E-based sequence diagram semantics 25-29
3.5 Experimental 29-30
3.5.1 instance described 29-30
3.5.2 instance analysis 30
3.6 This chapter Summary 30-32
Chapter UML2.0 sequence diagram and state diagram consistency 32-50
4.1 sequence diagram and state diagram consistency 32-33
4.1.1 research 32-33
4.1.2 verify UML model semantic consistency of the general method 33
4.2 state diagram 33-39
4.2.1 state diagram Overview 33-35
4.2.2 UML state diagram syntax 35
4.2.3 finite state automata 35-36
4.2.4 decomposition of finite state automata 36-39
4.3 UML sequence diagram of the semantic analysis 39
4.4 model checking 39-44
4.4.1 model checking process 40
4.4.2 tense logic 40-41
4.4.3 model checking tool SPIN 41-44
4.5 of sequence charts and state consistency test 44-49
4.5.1 consistency test guidelines 44-45
4.5.2 sequence diagram convert Promela 45
4.5.3 finite state automata convert Promela 45-46
4.5.4 Experimental 46-49
4.6 This chapter Summary 49-50
Chapter V Conclusion 50-51
the
References 51-55
Acknowledgements 55-56
Appendix 56
Related dissertations
- Design and implementation of hotel management system based on UML
- Air Disinfector Design Based on Rhapsody
- Application and Research of UML Modeling in Online System of Motoring Pollution
- Research on Business Process Modeling with Uml and Implementation of Development Tools’ Integration Based on Eclipse
- Research on Model Transformation between UML Behavior Models
- Hardware/Software Co-Design Research for Embedded Systems
- Consistency Verification of Dynamic Behavioral Models in Real-time Software Based on UML2.0
- Object-Oriented Software Testing Method
- The Research on Translating UML Diagram to B-Method Formal Specification and Its Application
- Studies on Generating of UML Behavior Models in Reverse Engineering
- Research on Formalization of UML Based on Petri Net
- Research on Consistency of UML Models Based on Automata Theory
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- Study on conversion and UML testing and model based on AADL
- Analysis of Design and Implementation of B2C E-business Store System
- Designing and Implementing for Guizhou Huaxi Guest House Information Management System
- Design and implementation of the Qilu Petrochemical Industries Co bidding management system
- Design and Implementation of Personnel Management System of University
- The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere