簡易檢索 / 詳目顯示

研究生: 林信又
LIN, HSIN-YU
論文名稱: 統一塑模語言中循序圖之轉換-以XML為基礎
UML Sequence Diagram Transformation-Based on XML
指導教授: 朱治平
chu, Chih-Ping
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2006
畢業學年度: 94
語文別: 中文
論文頁數: 74
中文關鍵詞: 統一塑模語言,延伸標記語言
外文關鍵詞: UML, XML
相關次數: 點閱:73下載:5
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在軟體工程蓬勃發展的這個世代,採用統一塑模語言(UML)來完成物件導向設計與分析(OOA/D)顯然已是目前資訊系統開發的標準。然而,在統一塑模語言中提供許多的模型圖以不同的觀點與抽象層次來表示一個系統,模型之間會有一定的相依關係與重疊性,過去有多位學者曾提出在統一塑模語言中模型圖的轉換理論[1][2][5][10],但他們並沒有明確的定義細部轉換方法,以及映射(mapping)所使用的原則。本論文提出一個從循序圖到類別圖的轉換架構及方法,藉由母模型(metamodel)的分析與映射來強化過去學者所提出的理論,然後實作一個以延伸標記語言(XML)儲存統一塑模語言表示的系統來驗證我們所提出的轉換理論。運用此系統,程式設計師可自動地將循序圖轉為類別圖,再補足靜態結構塑模來完成完整的類別圖,然後可利用工具自動產生程式樣版,從而增加系統開發的效率,並且提高資訊的交換性以及重用性。

    Using Unified Modeling Language (UML) to represent Object Oriented Analysis/Design(OOA/D) has become a standard for information system development obviously in this era of software engineering. UML defines many different models to present information system with different views and abstract levels. In these models, there are certainly some interdependent relations and overlapping parts. Although many scholars had proposed transformation theory between the models, they did not define and transformation mapping methods and detail steps. In this study we propose a procedure which transforms sequence diagram into class diagram by using metamodel. We propose a model transformation system that uses XML specification to describe UML models and verify the transformation procedure proposed can work currently. By means of the proposed system, programmer can transform sequence diagram into class diagram automatically. This results in that the software system can be developed effectively, due to programmer can manually enforcing the static structure to achieve the final class diagram. Another advantage is using XML to represent data can enhance the exchangeability and reusability.

    摘要 i Abstract ii 目錄 iv 圖目錄 vi 表目錄 viii 第一章 緒論 1 1.1 背景 1 1.2 研究動機與目的 3 1.3 範圍與限制 6 1.4 章節提要 7 第二章 文獻探討 8 2.1物件導向技術與UML 8 2.1.1物件資料結構塑模 10 2.1.2 物件互動行為塑模 11 2.2 母模型(Metamodel) 12 2.2.1 母模型的定義 13 2.2.2 使用母模型的原因 14 2.2.3 循序圖的元件 14 2.2.4 類別圖元件 15 2.3 延伸標記語言( eXtensible Markup Language, XML ) 16 2.4 XML的轉換設計語言 16 2.4.1 延伸樣式語言( eXtensible Style Language, XSL ) 17 2.4.2 延伸樣式語言轉換( eXtensible Style Language Transformation, XSLT) 17 2.5 其他 18 2.5.1 模型驅動架構( Model Driven Architecture, MDA ) 19 2.5.2 延伸標記語言次資料交換( XML Metadata Interchange , XMI ) 22 第三章 轉換理論的架構 26 3.1使用母模型 26 3.1.1 循序圖的母模型 26 3.1.2 類別圖的母模型分析 30 3.1.3 分析 32 3.2 從循序圖到類別圖的映射 35 3.2.1 理論架構 35 3.3 轉換規則 36 3.3.1 直接映射 36 3.3.2 間接映射 38 3.3.3 規則整理: 40 第四章 轉換工具與其應用案例 42 4.1 轉換工具 42 4.1.1 將循序圖與類別圖儲存成XML的方法: 42 4.1.2 使用XSLT完成XML的轉換 47 4.2 應用轉換工具的案例 51 4.2.1 UML使用介面 52 4.2.2 使用轉換工具於案例 53 4.3 結果分析 60 4.4 問題與討論 62 第五章 研究成果與未來工作 63 5.1 研究成果 63 5.2 未來工作 64 參考文獻: 65 附錄一 67 附錄二 69

    [1]. Petri Selonen Kai Koskimies, Markku Sakkinen, Transformations between UML diagrams, Jul-Sep 2003, Journal of Database Management ABI/INFORM Global
    [2]. Petri Selonen, How to Make Apples from Oranges in UML, Proceedings of the 34th Hawaii International Conference on System Sciences – 2001 IEEE
    [3]. OMG, Unified Modeling Language (UML) Specification: Infrastructure, Version 2.0, 2003
    [4]. OMG, Unified Modeling Language (UML) Specification: Superstructure, Version 2.0, 2003
    [5]. Kai Koskimies, Tarja Systä, and Jyrki Tuomi, Tatu Männistö, Automated Support for Modeling OO Software, 1998 IEEE
    [6]. Bennett, S., McRobb, S. and Farmer, R., Object-Oriented Systems Analysis And Design Using UML Second Edition, McGraw-Hill, 2002.
    [7]. Booch, G., Rumbaugh, J. and Jacobson, I., The Unified Modeling Language User Guide, Addison-Wesley, 1999.
    [8]. Connie U. Smith Catalina M. Lladó Vittorio Cortellessa, Antinisca Di Marco Lloyd G. Williams, From UML models to software performance results: An SPE process based on XML interchange formats
    [9]. Mikaël Peltier, Jean Bézivin, Gabriel Guillaume, MTRANS: A general framework, based on XSLT, for model transformations
    [10]. Tetsuro Katayama,Miyazaki, Proposal of a Supporting Method for Diagrams Generation with the Transformation Rules in UML, Proceedings of the Ninth Asia-Pacific Software Engineering Conference (APSEC’02)
    [11]. Elliotte Rusty Harold & W.Scott Means, XML In a Nutshell, O’RELLY;ISBN:857-8247-77-X
    [12]. Brian Henderson-Sellers, Some problems with the UML v1.3 metamodel
    [13]. 吳仁和, 物件導向系統分析與設計實作個案與教材
    [14]. Fowler, Scott, UML Distilled 2ed, Addision-Wesley
    [15]. LI Juan, LI Ming-Shu, A SPEM-Based Software Metamodel for CMM, Joural of Software; 2004
    [16]. Brian Dobing, Jeffrey Parsons, UML in Practice: A Survey of UML Use, Feb. 2, 2005, OMG ADTF Meeting – Burlingame

    下載圖示 校內:2009-08-23公開
    校外:2009-08-23公開
    QR CODE