System Analysis and Design系统分析与设计概要
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
DocumentList
GraphicFile File
FileList
Deployment diagram
Window95
Windows95
Windows95
¹®¼ °ü¸® Ŭ¶óÀ̾ ðÆ ®.EXE
Windows NT
¹®¼ °ü¸® ¿£Áø.EXE
Windows NT
¹®¼ °ü¸® ¾ ÖÇø´
Sequence
Diagrams (順序圖)
Collaboration
Diagrams (合作圖)
Dynamic Diagrams
(動態觀點)
Statechart
Diagrams (狀態圖)
Use-Case Diagrams (使用案例圖)
Models
Activity Diagrams (活動圖)
Class
Class diagram
Actor B
FileMgr
fetchDoc( ) sortByName( )
DocumentList
add( ) delete( )
FileList fList
add( ) delete( )
1
Document
name : int docid : int numField : int
1: Doc view request ( )
mainWnd : MainWnd
L
user : Clerk
2: fetchDoc( )
4: create ( ) 8: fillFile ( )
gFile : GrpFile
fileMgr : FileMgr
3: create ( ) 6: fillDocument ( )
Writing close file
Reading
close file
Closing
Collaboration 9: sortByName ( )
rep
Repository
(from Persistence) name : char * = 0 readDoc( ) readFile( )
diagram
– Reference: “The Unified Modeling Language User Guide”, Addison Wesley, 1999.
• Supported by several CASE tools
– Rational ROSE – Together/J
Visual Modeling with Uห้องสมุดไป่ตู้ified Modeling Language
software. – Resulted from the convergence of notations from three
leading object-oriented methods:
• OMT (James Rumbaugh) • OOSE (Ivar Jacobson) • Booch (Grady Booch)
between objects of the system. • Statechart diagrams(狀態圖)
– Describe the dynamic behavior of an individual object as a finite state
machine. • Activity diagrams(活動圖)
7: readFile ( ) 5: readDoc ( )
repository : Repository
document : Document
File read( )
GrpFile
read( ) open( ) create( ) fillFile( )
FileManager
Repository Document
• Class diagrams(類別圖)
– 描述系統的靜態結構: Objects, Attributes, and Associations. • Sequence diagrams(順序圖)
– Describe the dynamic behavior between actors and the system and
Solaris
ÀÀ¿ë¼ ¹ö.EXE
IBM Mainframe
Alpha UNIX
µ¥ÀÌŸº£À̽ º¼ ¹ö
Æ ¯Á¤¹®¼ ¿¡ ´ëÇÑ º¸±â¸¦ »ç¿ëÀÚ°¡¿äûÇÑ´Ù.
ÈÀÏ°ü¸®ÀÚ´Â Àо î¿Â ¹®¼ ÀÇ Á¤º¸¸¦ÇØ´ç ¹®¼ °´Ã¼ ¿¡¼ ³Á¤À» ¿äûÇÑ´Ù.
get( ) open( ) close( ) read( ) sortFileList( ) create( ) fillDocument( )
Statechart
diagram
add file
read() fill the code..
Openning
add file [ numberOffile==MAX ] / flag OFF
System Analysis and Design 系統分析與設計
物件導向式分析設計 - 使用 UML 使用案例圖
What is UML?
• UML (Unified Modeling Language)
– 統一塑模語言 – An emerging standard for modeling object-oriented
Diagrams (類別圖)
Object
Diagrams (物件圖)
Component
Diagrams (元件圖)
Deployment
Diagrams (部署圖)
Static Diagrams
(靜態觀點)
UML First Pass
• Use case diagrams(使用案例圖)
– 描述使用者所見之系統的功能性行為.
– Model the dynamic behavior of a system, in particular the workflow,
i.e. a flowchart.
使用 UML 來產生視覺化模型
Use-case diagram
Actor A
Use Case 1 Use Case 2 Use Case 3
È¸é °´Ã¼ ´Â Àо îµéÀÎ °´Ã¼ µé¿¡´ëÇØ À̸§º°·Î Á¤·ÄÀ» ½ ÃÄÑ È¸é¿¡ º¸¿©ÁØ´Ù.