Research and Implementation of Converting UML Activity Diagram to PNML
- Author
- XingGuanNan
- Advisor
- ZhouJianTao
- School
- Inner Mongolia University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 60
- Citations
- 1
Abstract
As we all know, UML is semi-formal. Petri net is a formal tool but is not easy to apply. The purpose of this thesis was to describe UML activity diagram with PNML, so that the correctness of the system could be analyzed with Petri net analysis tools. The major research in this thesis included as follows.First, the activity diagram model which was extracted from Rational Rose, was converted into a file format which can be identified by analysis tools. By a "Rose XML Tools" plug-in fixed in Rational Rose, the model can be stored in ". xml" file. Opening the file, the activity diagram was shown with XML. And then, reading and storing XML file information could be carried out by java.Second, according to the type of elements and the relationship in activity diagram, transformation rules were drawn up and a tool used to convert activity diagram to PNML was implemented. The elements of activity diagram were extracted from a directed graph, and then were conversed into a directed graph. After that, the directed graph was traversed by conversion rules in the thesis and then the results were exported.Third, an example was designed which contained elements of all kinds of a UML activity diagram. And the conversion process and the final result were presented detailedly.Fourth, the equivalence of the set of behavior of the PNML described UML activity diagrams and activity diagrams were proved.
Table of contents
Abstract 4-5
ABSTRACT 5-6
directory 6-9
chart catalog 9-10
Chapter Introduction 10-13
1.1 thesis background 10-11
1.2 papers the purpose and significance 11-12
1.3 papers organizational structure 12-13
the second chapter of the theoretical basis 13-28
2.1 software engineering concept 13
2.2 Unified Modeling Language UML 13-16
2.2.1 UML definition is 14
2.2.2 UML composition 14-15
Rational Rose UML modeling tools
2.2.3 introduced 15-16
2.3 activity diagram (the activity diagram) 16-18
2.3.1 the definition of the activity diagram 16
2.3.2 Activity Diagram application 16
2.3.3 constitute activity diagram model elements 16-18
2.4 Petri net 18-19
2.5 XML technology 19-21
2.5.1 XML About 20
2.5.2 with Dom4j realization of an XML document parsing 20-21
the
2.6 PNML of is basic knowledge 21-27
2.6.1 the PNML of design ideas 21-22
2.6.2 PNML structure 22
2.6.3 the PNML of element model 22-25
2.6.4 a PNML instance 25-27
2.7 Summary 27-28
activity diagram the PNML of conversion mechanism 28-40
3.1 UML activity diagram to the the PNML conversion feasibility analysis 28-29
3.2 activity diagram to the general idea of ??PNML conversion 29
3.3 UML activity diagrams to Petri net transformation rules 29-35
3.3.1 initial state 30-31
3.3.2 termination status 31
3.3.3 activities 31-32
3.3.4 migration 32-33
3.3.5 lane 33
3.3.6 objects and object flow 33-34
3.3.7 synchronization 34
3.3.8 decision point status 34-35
3.3.9 converted the integration of Petri nets and run 35
3.4 Application Examples 35-37
3.5 UML activity diagram to the consistency of PNML conversion 37-39
3.6 Summary 39-40
conversion tool UMLTOPNMLTOOL, Design and Implementation 40-50
4.1 conversion tool UMLtoPNMLtool design ideas 40
4.2 tool development environment 40-41
4.3 UMLtoPNMLtool realization of the tools 41-48
4.3.1 tool architecture 41-42
4.3.2 to extract the activity diagram 42-43
4.3.3 main function design 43-44
4.3.4 main function 44-48
4.4 conversion results 48-49
4.5 Summary 49-50
Chapter Summary and Outlook 50-52
5.1 summarize 50-51
5.2 further research 51-52
References 52-55
thank 55-56
attached: the period to participate in research projects for Master 56
Related dissertations
- Research on Metadata and Information Model of Unconventional Emergent Event
- Key Technology Research for Networking Automatic Test System
- Research on Activity Diagram Polymorphic Test Method with OCL Constraints
- The Engineering Drawing Files Based on Web Information Management System Design and Implementation
- 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
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML