Dynamic semantics of UML in the form of sub-graph
- Author
- ZhaoYeFei
- Advisor
- YangZongYuan
- School
- East China Normal University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Doctoral dissertation
- Year
- 2010
- Downloads
- 321
- Citations
- 3
- UML
- Process algebra
- Probabilistic Model Checking
- XMI
- Consistency Checker
- quantitative analysis
- Real-time concurrent systems
Abstract
Universal Modeling Language (UML, Unified Modeling Language), is a powerful, visual object-oriented modeling language, which provides a variety of sub-UML diagram, you can portray different aspects of the system, including static topology, dynamic behavior, assembly methods. After decades of development, in the field of system modeling, design and development staff create a system widely used UML models, UML has become a reality now an industry standard. UML present in all stages of the software life cycle: requirements, design, analysis, implementation, testing, release and maintenance. A number of safety-critical systems, such as network protocols, rail traffic control system, embedded real-time concurrent systems, etc., in demand, pre-design phase, a key requirement to ensure the system model functional properties and derive quantifiable non-functional attributes. Design and development staff usually UML modeling complex systems, however, UML is a semi-formal meta-model, do not have the precise formal semantics, key system attributes can not be automated reasoning. If you give the formal semantics of UML given, will be able to model the detector with the support of key system properties, automated functional verification and performance analysis. UML is used to characterize the static subgraph system topology, dynamic UML subgraph for characterization system behavior, design and development staff, are usually more concerned about the system is running (run-time) properties. This research work is mainly given to the dynamic form of the subgraph UML semantics concerns are: UML semantic description of imprecise, causing between requirements and design, design and implementation exists between ambiguity; describe a system different types of UML subgraph between semantic inconsistencies may exist, even in different levels of abstraction, the same type of UML diagrams yuan between, there may be semantic conflicts; certain probability, ratio, time-related, real-time concurrent systems , UML modeling and verification of lack of capacity. Process algebra (Process Algebras), communication with the algebraic theory of concurrent systems. Tag-based migration process algebra system, using a set of operators as a basic ingredient, with a combination of inter-operator portray complex systems. Process Algebra is the core: bisimilarities theory, namely in what sense, the two processes behave the same. First, the label migration system can describe UML state diagram / sequence diagram of the dynamic behavior, and secondly, bisimulation equivalence theory, for the detection of different UML diagrams semantic equivalence between the elements, providing a theoretical basis. Probabilistic model checking (Probabilistic Model Checking), supports discrete time Markov chains and continuous-time Markov chain, suitable for modeling the probability, ratio, time-related real-time concurrent systems. Probabilistic model checking first proposed by the University of Birmingham, and provide support model checker PRISM, suitable for modeling and verification probability ratio related real-time model of the system for quantifying key performance indicators, automatic derivation and analysis. In this paper, the dynamic aspects of UML formalization subgraph conducted research, the main research contents and innovations are summarized as follows: 1. Give UML state diagrams / sequence diagrams given LTS operational semantics of UML state diagram / sequence diagrams, the basic elements and several kinds of assembly methods (or a combination of fragments) composition. UML state diagrams / sequence diagrams are abstracted as a mathematical model, LTS structure is extracted as another mathematical model. The UML state diagrams / sequence diagrams basic elements, this paper presents the structure of its mapping rules to the LTS; the UML state diagrams / sequence diagrams assembly methods (or a combination of fragments), this paper gives its LTS operational semantics, and conversion rules. First to UML state diagrams / sequence diagrams given LTS operational semantics, rather than directly into a process algebra specification, the benefits of doing so: because the process algebra is based on the LTS structure, so that if a given LTS operational semantics, can be based on different syntax, convert it to any one process algebra formal specification, rather than a particular form of process algebra specification. The UML state diagrams / sequence diagrams into a formal specification of a process algebra, and if the pi-calculus based on bisimulation equivalence theory, tool support, can be verified between elements of different UML semantic consistency, the system dead Lock sex; single-step through the tool, you can observe the dynamics of the system operation, to verify the requirements and design are the same. For pi-calculus based UML sequence diagrams, this paper analyzed and deduced: Verify bisimilarities, system deadlock time complexity of the algorithm is given theorem, and conclusions. (2) to extend the UML state diagrams given probability / random Kripke structure semantics of UML state diagram after expansion, and probabilistic model checking the syntax and semantics, with the implicit mappings, suitable for modeling the probability ratio related to real-time concurrency systems. Extended UML state diagram is abstracted to a mathematical model, probability / random Kripke structure is defined as the addition of a mathematical model, given mapping rules and transformation algorithm to achieve the two mathematical transformations between models. Extended UML state diagram, the basic elements and a number of assembly means constituted benefits of doing so are: ease of use mathematical induction, the accuracy of the conversion algorithm for analysis. To UML state diagrams given probability / random Kripke structure semantics, you can model and verify real-time concurrent systems, such as queuing networks, Ad Hoc probabilistic networks. In support of model checking tool PRISM, you can quantify performance indicators for automatic analysis and derivation; also available through PRISM single-step execution, observation probability, dynamic real-time system operation. 3 XMI tags and extract key data structures, given formal semantics generation algorithm usually given in the form of a UML semantics research work, are at a higher level of abstraction, from the given element to the formal semantics of UML diagrams conversion rules and algorithms. However, in the design and implementation of formal semantics of UML converter, the need for dynamic UML subgraph exported XMI file parsing, so the formal semantics generation algorithm, and stores the key data / structure information XMI tags are closely related. This not only at a higher level, given the operational semantics subgraph UML and conversion rules, and extract the key XMI tag to abstract data structures, lower levels of abstraction, is given in the form of XMI tag semantics generation algorithm can be used to design implement UML formal semantics converter. 4 is designed and implemented a formal semantics of UML converter prototype tool in the Eclipse integrated development environment, the use of the Java language and the Xerces parser, designed and implemented a formal semantics of UML converter prototyping tool for UML state diagrams / sequence diagrams given LTS formal semantics, or probability / random Kripke formal semantics, and finally converted to pi-calculus code or PRISM code. Software prototyping tool uses a multi-layer architecture: XMI file parsing → key data / information storage structure generates → → formal semantics formal specification transformation, enhanced software tools robustness, portability and scalability.
Table of contents
Abstract 6-9
ABSTRACT 9-16
first chapter 16-26
1.1 Background 16-19
1.2 research status 19-21
1.3 This research 21-24
1.4 This organizational structure 24-26
Chapter related technical overview 26-34
2.1 UML 2.0 26-29
2.1.1 UML Overview 26-27
2.1.2 UML state diagram 27-28
2.1.3 UML sequence diagram 28-29
2.2 Formal Methods 29-32
2.2.1 Forms method outlined 29-31
2.2.2 LTS structure based pi-calculus 31-32
2.2.3 probabilistic model checking 32
2.3 XMI Overview 32-34
Chapter UML state diagram LTS operational semantics 34-52
3.1 Introduction 34-36
3.1.1 Background 34-35
3.1.2 related work 35-36
3.2 UML state diagram LTS assembly mechanism and its operational semantics 36-41
3.2.1 sequence assembly and no trigger assembly 36-37
3.2.2 Select assembled 37-38
3.2.3 fork assembly and aggregation assembly 38-40
3.2.4 Parallel assembly and replication assembly 40-41
3.3 UML state diagram LTS formal semantics generation algorithm 41-46
3.3. a key XMI tag and its data structures 41-44
3.3.2 Algorithm Description 44-46
3.4 UML state diagram of the model refinement automatically prove semantic equivalence 46-49
3.5 Summary 49-52
Chapter operational semantics of UML sequence diagrams and the refinement of the model consistency checking 52-76
4.1 Introduction 52-54
4.1.1 Background 52-53
4.1.2 related work 53-54
4.2 UML sequence graph operational semantics 54-60
4.2.1 messages sent asynchronously 54-55
4.2.2 synchronization messages sent and internal messages 55-56
4.2.3 branch combined fragment 56-57
4.2.4 loop combination fragment 57-58
4.2.5 Interrupt combined fragment 58 - 59
4.2.6 concurrent combined fragment 59-60
4.2.7 Other 60
4.3 UML sequence diagram of the LTS operational semantics generation algorithm 60 -68
4.3.1 XMI tags and their critical data structures 60-65
4.3.2 Algorithm Description 65-68
4.4 UML state diagrams and sequence diagrams consistency checks 68-74
4.4.1 UML sequence diagram telephone system model and its pi-calculus conversion 68-69
4.4.2 phone system for UML state diagram model and its pi-calculus conversion 69-71
4.4.3 automatic verification process algebra tool 71
4.4.4 System Deadlock manual derivation and time complexity 71-73
4.4.5 UML semantic consistency between subgraphs manual derivation and time complexity 73-74
4.5 Summary 74-76
Chapter extensions based on probabilistic model checking UML state diagrams quantitative analysis 76-104
5.1 Introduction 76-79
5.1.1 Background 76 -77
5.1.2 related work 77-78
5.1.3 Probability / Stochastic Kripke structure of the formal definition 78-79
5.2 extend UML state diagram The probability / random Kripke structure semantics 79-87
5.2.1 system initialization and status labels 79-80
5.2.2 Status Order migration 80-82
5.2.3 Status Internal migration 82
5.2.4 states choose to migrate 82-85
5.2.5 module declarations and module rename 85-86
5.2.6 Synchronous and asynchronous concurrency concurrent combination combination 86-87
5.3 Probability / Stochastic Kripke formal semantics generation algorithm 87-92
5.3. a key XMI tag and its data structures 87-90
5.3.2 Algorithm Description 90-92
5.4 Kripke structure model based on probabilistic quantitative analysis 92 - 97
5.4.1 UML state diagram probability Kripke structure semantics 92-94
5.4.2 System description and key attributes PCTL automatic verification 94-97
5.5 based on random Kripke structure of system performance analysis 97-102
5.5.1 queuing network CTMC formal semantics 97-98
5.5.2 Automatic derivation of critical system properties and prove 98-100
5.5.3 Derivation manual key system properties and analysis 100-102
5.6 Summary 102-104
Chapter Software Design and Implementation of a prototype tool 104-110
6.1 UML formal semantics converter architecture 104-105
6.2 UML formal semantics converter design and implementation 105-109
6.2.1 software prototyping tool design principles 105-106
6.2.2 algorithms and data structures 106-108
6.2.4 Software prototyping tool operation and use 108-109
6.3 Summary 109-110
Chapter VII Conclusion 110-113
7.1 The main contribution 110-111
7.2 next research work 111-113
References 113-121
authors of papers published during the PhD 121-122
authors PhD other outcomes achieved during 122-123
Thanks 123-124
Related dissertations
- The Analyse on Chinese Enterprises Retirees Basic Pension Differences Influencing Factors
- The Research on the Financial Situation in the Credit Rating of the Life Insurance Company
- The Financial Risk Research of the Central Enterprises’ M&A in China
- Studies of the Recessive Unemployment of Chinese Agricultural
- A Study on Poverty in Destitute Concentration Areas of Lvliang Mountainous Regions
- Bibliometric Studies on the Development of Leisure&Sightseeing Agriculture Research of China Based on CNKI
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- The Real-Time Detection System of On-line Chromatograph
- 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 hotel management system based on UML
- Design and Implementation of Personnel Management System of University
- The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
- Design and Implement of Telematics System Service Center Subsystem
- The Design and Realization of Motor Vehicle Pre-registration System
- Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System