View
485
Download
3
Category
Preview:
Citation preview
By: A.J.M. Imtiajur Rahman
1
Data Flow Diagram (Level-0 to Level-1)
Scenario
Consider a Garment system where foreign buyer gives some order to the garment. The garment management receives the order and distributes the work to its employees. After the completing the task employees send the task to the QC department to check. QC checks the work quality and send it back to employee for correction if there is any defect found. Employee resolve the defects and re-send the corrected work to the QC again. QC checks the corrected work and submit the final report to the management (if the work pass the QC test). Management then deliver the shipment the buyer (along with the QC report). All user need to log in the system to use it.
Now prepare a complete Logical design for the system.
3
DFD Level-0 (Context Diagram)
Garment Management Process
DFD Level-0Foreign Buyer
Employee QC
Garment Management
Buyer Registration Information
Buyer Registration Confirmation
Give Order
Receive defects form QC (if any)
Employee Registration Information
Employee Registration Confirmation
Submit finished task to QC
Submit corrected work to QC (if required)
Receive Shipment
Management Registration Information
Management Registration Confirmation
Receive Order
Deliver Shipment
Submit defects (if any)
QC Registration Information
QC Registration Confirmation
Receive finished task to check
Submit Final QC Report
Receive the corrected task (if required)
Figure-1: Context Diagram of Garments Management System
Receive final QC clearance
By: A.J.M. Imtiajur Rahman
Receive Distributed task
Distribute task to the employee
4
How process can be broken down to next level
Rules:• Focus on the major incidents of the scenario• Stakeholders relevance with the incidents • Every sub-process along with its dataflow can create independent system.
Example:
Garment Management Process
DFD Level-0 User Registration Process
Order Dealing Process
Quality Checking Process
DFD 1.1
DFD 1.2
DFD 1.3
Lev
el-1
DFD
Figure-1: Process breakdown from upper level to lower level
By: A.J.M. Imtiajur Rahman
5
DFD Level-1
DFD Level-1
Foreign Buyer
Employee
QC
Garment Management
Buyer Registration Information
Buyer Registration Confirmation
Give Order
Receive defects form QC (if any)
Submit finished task to QC
Submit corrected QC work (if required)
Receive Shipment
Management Registration Information
Management Registration Confirmation
Del
iver
Shi
pmen
t
Submit defects (if any)
QC Registration Information
QC Registration Confirmation
Receive finished task to check
Submit Final QC Report
Receive the corrected task (if required)
Figure-1: DFD Level-1 of Garments Management System
User Registration Process
Order Dealing Process
Quality Checking Process
DFD 1.1
DFD 1.2
DFD 1.3
User List
Prod. List
Rec
eive
Ord
er
Emp. Registration Information
Emp. Registration Confirmation
By: A.J.M. Imtiajur Rahman
Receive Final QC Report
Management distribute task
Emp. Receive distributed task
By: A.J.M. Imtiajur Rahman
6
And That’s How DFD Works!
Recommended