Documente Academic
Documente Profesional
Documente Cultură
Customer
Customer Data
Charge Data
Invoice Data
Report Data
Vendor Data
Accounting
Employee Data
Manager Vendor
Process Modeling
Metadata (I) for the Video Current Operation DFDs Level 1 Diagram
Externals Accounting the person who keeps the financial and accounting data at Video. Credit Card Company the company that processes credit card transactions for Video. Customer people who wish to rent videos at a store. A customer must become a member to rent a video. Manager Video store manager(s) and Mr. Cosier Vendor companies that sell videos to .
Member Data
Customers
2
Credit Card Company
Charge Data Confirm Data
Member Data
Status Data
Video Rentals
Rental Data
3
Record return of video(s)
Return Date
Custome r
Return Data
Invoices
4 Accounting
Invoice Data
Invoice Data
Employee Data
Report Data
Manager 5 Vendor
Vendor Rental Data
Video Rentals
Video Data
Guidelines for Creating the Current Operation First Level Explosion DFD
Match the narrative Provide clear detail on what happens Show data stores owned or maintained by other systems as externals Provide clear metadata on all DFD components Insure that DFD and narrative models are consistent
Process Modeling
Source: http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
13
Process Modeling
Source: http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
14
Process Modeling
15
Process Modeling
Business Process Diagram for Process 3.2.3: Give a Discount on the Purchase
Calculate Discount
End
16
Process Modeling
The DFD would show only that the discounting process uses product price data, but would not show what conditions are tested (i.e. would not show what specific tests are made on the product-price-data values).
17
Process Modeling
Problems: what discount do we give if a purchase of 120 is paid within 7 days? Probably 9% we need to be explicit about which rule takes precedence across various different scenarios.
Source: Adapted from http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
18
Process Modeling
Note: Rather than hard-code these rules in program code (e.g. C++, Java, etc.) it would be best to provide a pricing configuration engine that allowed the marketer to adjust the pricing rules dynamically at run-time. (i.e. store the rules as data, rather than create them in program code).
Source: http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
19
Process Modeling
Decision Tables/Matrices
Simple Decision Table for Process 3.2.3: Give a Discount on the Purchase
Source: http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
20
Process Modeling
Source: http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
21
Process Modeling
Decision Trees
(Vertical Layout)
Source: http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
22
Process Modeling
Decision Trees
(Horizontal Layout)
Source: http://www.cems.uwe.ac.uk/~tdrewry/procdefs.htm
23
UML
The UML (Unified Modeling Language) is the most commonly used analysis notation for object-oriented systems. Originally developed by Rational Corporation (Booch, Rumbaugh, and Jacobson The Thee Amigos), it is now maintained by the Object Management Group (OMG) an industry standards organization for the OO community.
Rational is now part of IBM. Rational Rose is the CASE tool produced by Rational for UML modeling. Find out more about UML at:
or
http://www.omg.org/uml/ http://www.uml.org/
24
Process Modeling
Participates-In / Takes-part-in
nc lu d
External System
[system name] <<system>>
Indicates that a process e> is included in (i.e. is a > component in) more than one other process.
<< ex t
Indicates that a process is a special en d> > case (e.g. an error or exception case) of another process.
25
Type
Brief Description
A role played by a person, other system or other objects A start-to-finish feature of the system The communication path between an actor and a use case that it participates in
Notation
Actor Use case Association Extend Use case realization Include Boundary
The insertion of additional behavior into a base<<extend>> use case that does not know about it A relationship between a general use case and a more specific use case that inherits and adds features to it The insertion of additional behavior into a base<<include>> use case that explicitly describes the insertion The boundary of the information system
Actors
Actor definitions:
An abstraction for entities outside a system, subsystem, or class that interact directly with the system. An actor participates in a use case or coherent set of use cases to accomplish an overall purpose. [UML] A coherent set of roles that users of use cases play when interacting with the use cases. [Booch, Rumbaugh and Jacobson] Roles people or other information systems play when interacting through a use case with this information system. [Norman]
Actors
Actors are not part of the systemthey represent anyone or anything [another system] that must interact with the system Actors input to and/or receive output from the information system Actors are often identified via conversations with subject domain [matter] experts
Actor Examples
Customer
Mary Tom Jack Dino
Process Modeling
Source: http://www.modelingstyle.info/useCaseDiagram.html
30
Features
A prominent or significant functional, behavioral or descriptive part of an information system
Broad in scope; apply to whole system Narrow in scope; apply to one part of the system
An end-to-end (start-to-finish) significant process of the information system Synonymous with the UMLs Use Case Granularity is arbitrary
Feature Examples
(note the start-to-finish characteristic)
Course Registration or
Add a course Drop a course Check seat availability
Membership Maintenance or
Add a members information Change a members information Delete a membership Print/Display membership information
page 1 of 3
Log Information
(needed information) Business Problem Reference Data (Master, Foundational data)
Conduct Business
Business Problem Transaction Data
Analyze results
Business Problem Results
page 2 of 3
Features Examples
x
Log Information:
Maintain membership information Maintain product information Maintain vendor (supplier) information Maintain employee security information etc Rental transaction Sales transaction Order products transaction etc...
Conduct Business:
page 3 of 3
Features Examples
x
Analyze results:
Produce Periodic Sales Report s by: Product Employee Fastest-moving rentals Fastest-moving sales Produce On-Order Report sorted by Vendor Produce On-Order Report sorted by Product etc
Actor #1
Actor #2
Feature #1 Feature #2 Feature #3
Actor #4
Feature #1 Feature #2 Feature #3
Process Modeling
Source: http://www.modelingstyle.info/useCaseDiagram.html
37
Process Modeling
(Closed head arrow indicates that the Enroll Family Member process is a type of Enroll Student process, and International Student is a type of Student. <<include>> indicates that the Enroll in Seminar process is used by the Enroll Student process and other processes. <<extend>> indicates that Enroll International Student is a special case of Enroll Student: i.e. it contains some additional processing steps to cater for the special case when the student is a foreigner.)
Source: http://www.modelingstyle.info/useCaseDiagram.html
40
Process Modeling
Multiple actors may participate in a single usecase (i.e. process) and multiple usecases may be associated with a single actor.
41
Arrange Credit
Process Modeling
45
Process Modeling
46
Process Modeling
47
Process Modeling
Source: Sample Order System model (ordersys.mdl file), packaged with Rational Rose.
48
Process Modeling
One of these Use Case Description forms is filled out for each use case (i.e. process) in the system.
Process Modeling
50
Process Modeling
End State
Synchronization Bar: indicates merging of parallel activities, or splitting into parallel activities.
51
Process Modeling
52
Process Modeling
53
Process Modeling
Notice how each Activity Diagram is associated with one use-case (i.e. one high-level process).
Source: http://www.iqsoft.hu/termekek/rational/images/Image38.gif
54
Makes
Supplies
EMPLOYEE
VENDOR
EDM Metadata
Customer. A customer is a person who rents videotapes from Video. Before a customer can rent a video, the customer must become a member. A customer may make multiple rentals. Rental. A rental is the set of transactions for a customer to rent and return multiple video. Video. A video is a tape or CD that may be rented to multiple customers. Employee. An employee is a clerk, manager or other person employed by Video who may handle multiple rentals. Vendor. A vendor is a firm that may sell multiple videotapes to Video