Professional Documents
Culture Documents
LONDON
MADRID
PARIS
TURIN
WARSAW
Professors
Louis-David Benyayer / Ghali Bensouda
Session 2 2-1
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
E. Real use-case
2
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
E. Real use-case
3
CLASS RULES
✓3 hours sessions with 15 minutes break.
✓Intervention method : someone in the classroom to ask the
questions for the ones in remote.
✓Interactive & practical course as much as possible:
exercises and real-world use case.
✓Ask questions or make comments whenever you want
✓Evaluation method: an open-book exam
Session 2 2-4
LEARNING OBJECTIVES (1/2)
✓Understand the process modeling by studying examples
of data flow diagrams (DFDs).
✓Draw data flow diagrams following specific rules and
guidelines that lead to accurate and well-structured
process models.
✓Decompose data flow diagrams into lower-level
diagrams.
✓Balance higher-level and lower-level data flow
diagrams.
Session 2 2-5
5
LEARNING OBJECTIVES (2/2)
✓Use data flow diagrams as a tool to support the analysis
of information systems.
✓Discuss a real data modeling use case for an
international car manufacturer.
Session 2 2-6
PROCESS MODELING IS DONE DURING
THE ANALYSIS PHASE
FIGURE 2-1
Systems development life cycle with the analysis phase highlighted
Session 2 2-7
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
E. Real use-case
8
PROCESS MODELING IS ONE OF THE THREE
COMPLEMENTARY VIEWS OF A SYSTEM
Process Logic
modeling modeling
(1) (2)
Data
modeling
(3)
(1) Identify processes, data flows & data stores
(2) Detail the logic inside the processes
(3) Structure & relationships within the tables
Session 2 2-9
PROCESS MODELING DEFINITION
Graphically represent the processes that capture, manipulate,
store, and distribute data between a system and its environment
and among system components.
FIGURE 2-2
Example of a Data Flow Diagram
Session 2 2-11
PROCESS MODELING DELIVERABLES
Context data flow diagram (DFD)
Delimits the scope of system
DFDs of current physical system
Specify people & technology used in each processes
DFDs of current logical system
Enable analysts to understand current system
DFDs of new logical system
Show what data processing functions the new systems will perform
Thorough descriptions of each DFD component
Centralized documentation in a shared repository
Session 2 2-12
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
E. Real use-case
13
FOUR DIFFERENT TYPES OF DFDS
Current Physical
Process labels identify technology (people or systems) used to process the
data.
Data flows and data stores identify actual name of the physical media.
Current Logical
Physical aspects of system are removed as much as possible.
Current system is reduced to data and processes that transform them.
New Logical
Includes additional functions
Obsolete functions are removed.
Inefficient data flows are reorganized.
New Physical
Represents the physical implementation of the new system.
Session 2 2-14
SYMBOLS USED IN DFD - REPRESENTATION
FIGURE 2-3
DeMarco and Yourdon
VS Gane and Sarson DFD symbol
sets
Session 2 2-15
SYMBOLS USED IN DFD - DEFINITION
Session 2 2-16
CONTEXT DIAGRAM - DEFINITION
Session 2 2-17
CONTEXT DIAGRAM - REPRESENTATION
FIGURE 2-4
Context diagram of Hoosier Burger’s food-ordering system
Session 2 2-18
LEVEL-0 DIAGRAM - DEFINITION
Session 2 2-19
LEVEL-0 DIAGRAM - REPRESENTATION
FIGURE 2-5
Level-0 DFD of Hoosier Burger’s
food-ordering system
Session 2 2-20
VIDEO RECAP OF WHAT A DFD IS
https://www.youtube.com/watch?v=6VGTvgaJllM&ab_channel=SmartDraw
Session 2 2-21
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
1. DFD rules
2. Decomposition & Balancing
3. Guidelines for drawing DFDs
E. Real use-case
22
DATA FLOW DIAGRAMMING RULES
Session 2 2-23
DATA FLOW DIAGRAMMING RULES
FIGURE 2-6
Rules Governing Data
Flow diagramming
Session 2 2-24
DATA FLOW DIAGRAMMING RULES
FIGURE 2-7
Rules Governing Data
Flow diagramming
Session 2 2-25
DATA FLOW DIAGRAMMING RULES
FIGURE 2-8
Incorrect and correct ways to draw DFDs
Session 2 2-26
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
1. DFD rules
2. Decomposition & Balancing
3. Guidelines for drawing DFDs
E. Real use-case
27
DECOMPOSITION OF DFDS - DEFINITION
Session 2 2-28
DECOMPOSITION OF DFDS - EXAMPLES
Level-1 diagram results from decomposition of Level-0
diagram.
Level-n diagram is a DFD diagram that is the result of n
nested decompositions from a process on a level-0 diagram.
Session 2 2-29
LEVEL-1 DFD
FIGURE 2-9
Level-1 diagram showing the decomposition of Process 4.0 from
the level-0 diagram for Hoosier Burger’s food-ordering system
Session 2 2-30
LEVEL-N DFD
FIGURE 2-10
Level-2 diagram showing the decomposition of Process 4.3 from the
level-1 diagram for Process 4.0 for Hoosier Burger’s food-ordering
system Level-n DFD shows
the sub-processes
of one of the
processes in the
Level n-1 DFD.
This is a Level-2
DFD for Process
Processes are labeled 4.3.1, 4.3.2, etc. If this is the 4.3.
lowest level of the hierarchy, it is called a primitive DFD.
Session 2 2-31
BALANCING DFDS - DEFINITION
Balancing is based on a conservation principles. It consists
on conserving inputs and outputs to a data flow diagram
process when that process is decomposed to a lower level.
Session 2 2-32
BALANCING DFDS - EXAMPLE
(a) Context diagram
1 input
This is
1 output unbalanced
because the
(b) Level-0 diagram
process of the
context
diagram has
2 inputs only one input
but the Level-0
1 output
diagram has
two inputs.
Session 2 2-34
BALANCING DFDS - DATA FLOW SPLITTING
EXAMPLE
(a) Composite data flow
FIGURE 2-12
Example of data flow splitting
Session 2 2-35
BALANCING DFDS - MORE ADVANCED DFD
RULES
FIGURE 2-13
Advanced rules governing Data Flow Diagramming
Session 2 2-36
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
1. DFD rules
2. Decomposition & Balancing
3. Guidelines for drawing DFDs
E. Real use-case
37
GUIDELINES FOR DRAWING DFDS
Completeness
DFD must include all components necessary for system.
Each component must be fully described in the project dictionary.
Consistency
The extent to which information contained on one level of a set of nested
DFDs is also included on other levels.
Timing
Time is not represented well on DFDs.
Best to draw DFDs as if the system has never started and will never stop.
Session 2 2-38
GUIDELINES FOR DRAWING DFDS
Iterative Development
Analyst should expect to redraw diagram several times before reaching the
closest approximation to the system being modeled.
Primitive DFDs
Decision has to be made when to stop decomposition (CF. Slides 40-45)
Session 2 2-39
RULES FOR STOPPING DECOMPOSITION
• When each process has been reduced to a single
decision, calculation or database operation
• When the system user does not care to see any more
detail
Session 2 2-40
RULES FOR STOPPING DECOMPOSITION
• When every data flow does not need to be split further
to show that data are handled in various ways
Session 2 2-41
USING DFDS AS ANALYSIS TOOLS
Session 2 2-42
A. Introduction
B. Process modeling
C. DFD concepts
D. Developing DFDs
1. DFD rules
2. Decomposition & Balancing
3. Guidelines for drawing DFDs
E. Real use-case
50
REAL USE-CASE - DESIGNING A SYSTEM
FOR AN INTERNATIONAL CAR PRODUCER
VALUE STATEMENT
Calculate the real contribution of digital leads to new car sales:
• Ensure an industrial, standard & controlled calculation. The first aim of ESCP Reconciliation system is a standardized calculation across markets &
brands of the sales-on-lead ratio KPI.
• Provide end-users with a simple and user-friendly tool to perform regular and bespoke analysis.
• Provide the data in tables the local BI teams can reprocess by themselves
Session 2 2-51
51
LEADS DEFINITION
▪ A lead is a mean to capture the willingness from a prospect / customer that :
o expresses an interest in our cars or services
o requests to go furtherregarding offers on vehicles, after-sales, services
▪ The lead enables the Group to follow the prospect / customer demand
o all along the Group sales & distributionnetwork
o on all steps of the sales funnel, from the lead capture until the sales
Session 2 2-52
PERSONA OF KEY USER 1 – SENIOR
EXECUTIVE (CORPORATE)
• Define and own the strategy, • Strategic necessity to internalize • To perform data based decisions
and responsible of the end competencies and to build value on
performance corporate data • To increase countries efficiency &
better business performance
• Animation of their scope • Compare real performance vs
considered reference (Y-1, Y Target)
• Occasional reporting
• Have a country/region-based
• Comparison between countries summary of performance
& regions
• Have a broader and clearer
understanding of where to focus:
• key steps of the funnel
• key countries
• best resources allocation
Session 2 2-53
53
PERSONA OF KEY USER 2 – DIGITAL OR
CRM MANAGER (COUNTRY)
• Frequent / Daily usage for • Data should be reliable and it’s not • Provide in a simple way, a reliable
leads analysis, and always the case reporting
campaign performance
analysis • Focus less on data management • Better perform business
and more on value added analysis performance analysis and
• Provides raw data to build manage perimeter
corporate monthly reporting • Have a simple tool to perform deep
and custom analysis based on my
• Own the budget local KPIs
Session 2 2-54
54
THE ESCP-R SYSTEM VALUE IS BASED ON
THE RELEVANT PROCESSING & MATCHING
X-Leads
Leads
Deduplicate Other
Sales Sales reports
Local
Session 2 2-55
THE ESCP RECONCILIATION SYSTEM
ANSWER TO 3 LEVEL BUSINESS ISSUES
Corporate Teams
▪ Performance monitoring team stop time-consuming
reporting using R-Solve directly
▪ Corporate digital teams measure their own
performance via R-Solve
Session 2 2-56
56
DFD FOR THE ESCP-R SYSTEM
Session 2 2-57
57
CONTEXT DIAGRAM OF ESCP-R SYSTEM
FIGURE 2-14
Context Diagram of ESCP-R System
Session 2 2-58
58
LEVEL-0 DIAGRAM OF ESCP-R SYSTEM
FIGURE 2-15
Level-0 Diagram of ESCP-R System
Session 2 2-59
LEVEL-1 DIAGRAM OF ESCP-R SYSTEM
FIGURE 2-16
Level-1 Diagram of Process 1.0
Session 2 2-60
SUMMARY
In this chapter you learned how to:
✓Understand process modeling via data flow diagrams (DFDs).
✓Draw data flow diagrams of well-structured process models.
✓Decompose data flow diagrams into lower-level diagrams.
✓Balance high-level and low-level data flow diagrams.
✓Use data flow diagrams for analyzing information systems.
Session 2 2-61