第 1 页
goupee.vn TRƢỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI goupee.com KHOA ĐIỆN TỬ VIỄN THÔNG PHÂN TÍCH THIẾT KẾ HƢỚNG ĐỐI TƢỢNG CHƢƠNG 3. Phân tích Bộ môn Điện tử tin học fb.com/goupee.vn04/2007 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn TRƢỜNG ĐẠI HỌC BÁCH KHOA HÀ NỘI goupee.com KHOA ĐIỆN TỬ VIỄN THÔNG PHÂN TÍCH THIẾT KẾ HƢỚNG ĐỐI TƢỢNG CHƢƠNG 3. Phân tích Bộ môn Điện tử tin học fb.com/goupee.vn04/2007 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Chƣơng 3. Phân tích 3.1. Xác định rõ yêu cầu 3.2. Mô hình hóa chức năng 3.3. Mô hình hóa cấu trúc 3.4. Mô hình hóa hoạt động fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 2 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com 3.2. Mô hình hóa chức năng Tiền đề: Các yêu cầu ngƣời sử dụng (phần trƣớc) Các bƣớc mô hình hóa chức năng 1: Sử dụng sơ đồ hoạt động (activiy diagrams) để mô hình hóa toàn bộ quá trình nghiệp vụ thông qua các yêu cầu thu thập được. 2: Xác định các use cases có thể xuất hiện thông qua việc nhận biết các hoạt động 3: Chuẩn bị các bản mô tả cho các use cases 4: Đưa các use cases vào các sơ đồ use case (use case diagram) để thể hiện quá trình xử lý nghiệp vụ đối với bên ngoài hệ thống Bƣớc tiếp theo: mô hình hóa cấu trúc. fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 3 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com BPM With Activity Diagrams A number of activities support a business process across several departments Activity diagrams model the behavior in a business process Sophisticated data flow diagrams Addresses Parallel concurrent activities and complex processes fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 4 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com BPM With Activity Diagrams Elements of an Activity Diagram Guidelines for Creating Activity Diagrams fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 5 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Actions and Activities Performed for a specific business reason Names begin with a verb and end with a noun “Make Appointment” Each activity normally associated with a use case <name> fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 6 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Object Nodes Activity and Actions usually modify objects Object nodes model these objects Objects represent a flow of information from between activities or actions <name> fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 7 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Control & Object Flows Control Flows Paths of execution through the business process Can only be attached to actions or activities Object Flows Model the flow of objects through a business process Show actual objects entering and exiting the system An object is on one end, an action or activity is on the other end fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 8 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Control Nodes 1. Initial – Only one, at top left 2. Final Activity – Stop the process 3. Final Flow – Stop this flow only 4. Decision – Guarded test conditions [Dicision [Dicision Criteria] Criteria] 5. Merge – Following decisions 6. Fork – Split parallel execution 7. Join – Join parallel execution fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 9 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Swimlanes The business process may be broken into persons of responsibility Identify this with swimlanes <Name> fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 10 CuuDuongThanCong.com https://fb.com/tailieudientucntt
Activity Diagram Example - Activity Diagram goupee.vn goupee.com for Appointment System An Object Node: ■ Is used to represent the flow of information from one activity to another ■ Is labelled by its class name An Object Flow: ■ Shows the flow of an object from one activity (or action) to another fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 11 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Guidelines for Creating Activity Diagrams 1. Set the context or scope of the activity being modeled and give the diagram an appropriate title. 2. Identify the activities, control flows, and object flows that occur between the activities. 3. Identify any decisions that are part of the process being modeled. 4. Attempt to identify any prospects for parallelism in the process. 5. Draw the activity diagram. fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 12 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Internet Order System – Functional requirements: 1. Maintain CD Information 1.1…… 1.2….. 1.3….. 2. Maintain CD marketing information 2.1…. 2.2…. 2.3…. 3. Place CD Orders 3.1 Search CDs from “CD Selection” web site; 3.2 Place orders; 3.3…… 4. Maintain Orders 4.1….. 4.2… 4.3 Place Instore Hold: If ordered CDs are available in a near store, the CDs are on hold and to be picked up in the store 4.4. Place Special Order: If ordered CDs is not available in a near store, the ordered CDs will be sent to a near store and email to the customer when it is available in the near store fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 13 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Exercise: Create the activity diagram for Internet Order System Analysis: Main activities: Maintain CD Information, Maintain CD marketing information, Place CD Orders, Maintain ordered CDs Control flows: Three main parallel processes: Maintain CD Information Maintain CD marketing information Place CD Orders -> Maintain ordered CDs in which a decision needs to be made related to placing instore hold or placing special order fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 14 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vnApplication goupee.com Example: Solution to the exercise: Maintain CD Place CD marketing Maintain CD Order information Information [If available in near store] [If not] Place Place instore hold special order fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 15 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com USE-CASE DESCRIPTIONS fb.com/goupee.vn CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Key Ideas A use case illustrates the activities that are performed by users of a system. Use cases are logical models -- they describe the activities of a system without specifying how the activities are implemented. fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 17 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Use Case A formal way of representing how a business interacts with its environment The discrete activities performed by the user External bird's eye view of the system from the user's point of view Used to document the As-Is system, or to develop the To-Be system fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 18 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Use Case Use cases are logical models They describe the activities of a system Do not address implementation details The implementation is addressed in the Design Phase fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 19 CuuDuongThanCong.com https://fb.com/tailieudientucntt
goupee.vn goupee.com Use Case Steps to create a use case: 1. Gather requirements 2. Prepare Use Case Descriptions for each Use Case 3. Prepare Use Case Diagrams for each Use Case fb.com/goupee.vn October 20 OOD - DEI.FET.HUT 20 CuuDuongThanCong.com https://fb.com/tailieudientucntt
显示前 20 页。下载资料查看完整内容。
暂无评论。快来抢沙发吧!
评论 (0)
暂无评论。快来抢沙发吧!