The Research of Formal Transformation and Verification of UML

Author
ZhangYang
Advisor
DuanFu
School
Taiyuan University of Technology
Major
Computer Science and Technology
Classification
TP311.5 Software Engineering
Degree
Master's thesis
Year
2013
Downloads
1
Citations
0

Request the full text

Abstract

Formal Methods (Formal Method) is based on rigorous mathematical foundation and can generate unambiguous, precise formal specification, enables software developers to have a rigorous mathematical foundation and plays a positive role in improving software reliability. Formal technical requires that developers have a certain mathematical basis; it needs to use the rigorous mathematical notation to describe specification, which causes the technical threshold for software developers. At the same time, the readability of formal specification is not strong; expression is not intuitive enough, which makes difficulties to communicate with the user. The reasons above limit the research and application of formal methods.UML (Unified Modeling Language) language thanks to the intuitive graphical notation for system modeling has been widely used as strong versatility in the software engineering industry standard. Many described UML concepts are based on non-formal semantics; so it is difficult to achieve a precise definition of the target model that may result in the expression of vagueness or ambiguity, thus increasing difficulty of the analysis and validation of formal specification.UML and formal method have complementary, formal methods can make up for the lack in UML precise semantics, and ensured the the consistency of the model of the system obtained by the needs analysis in the development process. Meanwhile, UML can broaden the field of application of formal methods to improve the effectiveness of formal methods in the software development process. In short, the combination of both has a significant positive significance in the field of software development.This article mainly aims at UML class diagram and state diagram, gives their conversions of the mapping between the UML semantics and the B method and Z specifications. First, the software developers rely on UML class diagrams and state diagrams to construct model, then, according to the proposed conversion framework, constructed the B and Z formal specification of the corresponding system, at last used the appropriate method for dynamic analysis, and then verifies the system through model checking and theorem proving.Finally, according to an elevator system instance and LR(1), specifically expounds the transformation framework between the UML model and B method and Z specification, and build experimental environment for the simulation of the example to verify the program’s feasibility and effectiveness by ProB and Z/EVES.

Table of contents

Summary 3-5 Abstract 5-9 first chapter 9-13 1.1 Background 9-10 1.2 research papers and major work 10-11 1.3 thesis is organized 11-13 chapter formal technical 13 - 31 2.1 formal technology 13-16 2.1.1 Overview 13 2.1.2 formal technology related content 13-15 <br / > application Trends 2.1.3 formal Methods 15-16 2.2 B methods and tools 16-27 2.2.1 B method Introduction 16 -17 2.2.2 B summary of Method 17-20 2.2.3 abstract automata AMN 20-23 2.2.4 proof obligations 23-24 2.2.5 common mechanism type 24-26 2.2.6 Elaboration and implementation 26 2.2.7 ProB aids 26-27 2.3 Z specifications and related tools 27-29 2.3.1 Z Specifications Introduction 27-28 2.3.2 Z mode 28 2.3.3 status and operation 28-29 2.3.4 schema contains and modified 29 2.3.5 Z / EVES aids 29 2.4 Summary 29-31 Chapter III unified Modeling Language 31-41 3.1 UML Overview 31 3.2 UML framework 31-32 3.3 UML models and OCL 32-35 3.3.1 model Construction 32-34 3.3.2 OCL 34-35 3.4 UML applications 35-37 3.5 UML major problems introducing 37-38 3.6 formal methods 38 -39 3.7 Summary 39-41 Chapter UML formalization transformation framework 41-53 4.1 UML class diagram formalization 41-47 4.1.1 class A and Class diagram formalization 41-44 4.1.2 class interaction between formal 44-47 4.2 UML state diagram formalization 47-51 4.3 Summary 51-53 Chapter experimental analysis 53-77 5.1 model checking 53-64 5.1.1 system description 53 5.1.2 UML model 53-55 5.1.2.1 model class diagram 53-54 5.1.2.2 model state machine diagrams 54-55 5.1.3 UML and B mapping 55-60 5.1.3.1 elevator B Statute 56-57 5.1.3.2 button Statute 57-58 5.1.3.3 door Statute 58-59 5.1.3.4 system Statute 59-60 5.1.4 system model checking 60-64 5.2 Theorem 64-76 5.2.1 grammar description 64 5.2.2 UML model 64-65 5.2.2.1 model class diagram 64-65 5.2.2.2 model state machine diagram 65 5.2.3 formal description 65-72 5.2.3.1 symbol definition 66 5.2.3.2 state model 66-67 5.2.3.3 operation mode 67-72 5.2.4 grammar theorem proving 72-76 5.3 summary 76-77 sixth chapter summary and Prospect 77-79 6.1 summarizes 77-78 6.2 Prospects 78-79 References 79-83 <br / > Thanks published during 83-85 pursue a degree academic catalog 85

Related dissertations

  1. Research on AADL model generation based on B method
    WangRiLei ·Northwestern University ·2012 ·Master's thesis
  2. The Research on Software Modeling Methods Based on B Method
    YangLiLi ·Northeast Normal University ·2012 ·Master's thesis
  3. A Research on Design and Formal Construction of Trusted Routing Protocols in Mobile Ad-hoc Networks
  4. Application Research of Distribution Automation System Based on B Method
    MengZuo ·Henan University ·2010 ·Master's thesis
  5. Research of B Formal Specification Based on UML Class Diagram
  6. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  7. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  8. Research on C/S Architectural Style Based on XYZ/SE
    LiuManXia ·Hunan University ·2013 ·Master's thesis
  9. Study on conversion and UML testing and model based on AADL
    LiuBo ·Shaanxi Normal University ·2013 ·Master's thesis
  10. Analysis of Design and Implementation of B2C E-business Store System
  11. Designing and Implementing for Guizhou Huaxi Guest House Information Management System
  12. Design and implementation of the Qilu Petrochemical Industries Co bidding management system
  13. Design and implementation of hotel management system based on UML
  14. Design and Implementation of Personnel Management System of University
    WangJianLong ·Shandong University ·2013 ·Master's thesis
  15. The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
    WangFeng ·Shandong University ·2013 ·Master's thesis
  16. Design and Implement of Telematics System Service Center Subsystem
    WangHuaChen ·Northeastern University ·2013 ·Master's thesis
  17. The Design and Realization of Motor Vehicle Pre-registration System
    ZhangFuFeng ·Hebei University of Technology ·2013 ·Master's thesis
  18. Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
    SunQing ·Shanghai Jiaotong University ·2013 ·Master's thesis
  19. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  20. The architecture of B/S auto repair technical support system design and Implementation Based on