Top Banner
PROCESS MODELING
33

PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Dec 25, 2015

Download

Documents

Emil Paul
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

PROCESS MODELING

Page 2: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Chapter Nine Process Modeling

Define systems modeling and differentiate between logical and physical system models.Define process modeling and explain its benefits.Recognize and understand the basic concepts and constructs of a process model.Read and interpret a data flow diagram.Construct a context diagram to illustrate a system’s interfaces with its work environment.Identify use cases, external and temporal business events for a system.Perform event partitioning and organize events in a functional decomposition diagram.Draw event diagrams and merge those events into a system diagram.Draw primitive data flow diagrams and describe the elementary data flows and processes in terms of data structures and procedural logic (Structured English and decision tables), respectively.Document the distribution of processes to locations.Synchronize data and process models using a CRUD matrix.

Page 3: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Chapter Map

Page 4: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Models: Logical and Physical

Logical models show what a system is or does. They are implementation independent; that is, they depict the system independent of any technical implementation.

Physical models show not only what a system is or does, but also how the system is (to be) physically and technically implemented. They are implementation dependent because they reflect technology choices.

A model is a representation of reality. Just as a picture is worth a thousand words, most models are pictorial representations of reality. Better understand existing system and Document requirements for proposed system

Page 5: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Why Logical System Models

Logical models remove biases that are the result of the way the system is currently implemented, or the way that any one person thinks the system might be implemented.

Logical models reduce the risk of missing business requirements because we are too preoccupied with technical results.

Logical models allow us to communicate with end-users in nontechnical or less technical languages.

Page 6: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Process Modeling and DFDs

Process modeling is a technique for organizing and documenting the structure and flow of data through a system’s processes, and/or the logic, policies, and procedures to be implemented by a system’s processes.

A data flow diagram (DFD) is a tool (and type of process model) that depicts the flow of data through a system and the work or processing performed by that system.

DFDs have become a popular tool for business process redesign.

Page 7: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Simple Data Flow Diagram

Page 8: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Differences Between DFDs and Flowcharts

Processes on DFDs can operate in parallel (at-the-same-time) Processes on flowcharts execute one at a time

DFDs show the flow of data through a system Flowcharts show the flow of control (sequence and

transfer of control)

Processes on one DFD can have dramatically different timing Processes on flowcharts are part of a single

program with consistent timing

Page 9: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Systems Thinking

Systems thinking is the application of formal systems theory and concepts to systems problem solving.

Systems theory and concepts help us understand how systems are organized and work

DFDs are a tool that supports systems thinking.

Page 10: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Process Concepts

A process is work performed on, or in response to, incoming data flows or conditions.

A System is a Process

TheSystem

is aProcess

input output

input

input output

output

Feedack andControl Loop

The System's Environment(constantly changing)

AProcess

Page 11: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

System Decomposition

Decomposition

Decomposition is the act of breaking a system into its component subsystems, processes, and subprocesses. Each level of abstraction reveals more or less detail.

Page 12: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Decomposition Diagrams

A decomposition diagram or hierarchy chart shows the top-down, functional decomposition of a system.

Page 13: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Decomposition Diagrams

Each process is either a parent process or a child processA parent must have two or more childrenIn most cases a child may have only one parentA child process may be a parent process as well

Page 14: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Types of Logical Processes

A function is set of related and ongoing activities of a business (ie. Order Processing)

An event (or transaction) is a logical unit of work that must be completed as a whole - as part of a function (ie. Process Customer Order)

An elementary process (or primitive process) is a discrete, detailed activity or task required to respond to an event. Usually, several such tasks must be completed to respond to an event (Validate Customer Number)

Page 15: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Functions

Processes that respond to EventsEach event is represented by a respond process Genreate ______________ Process _______________ Respond to ____________

Page 16: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Logical Process Models

Omit Any process that simply moves data from

one location to another

Include Processes that Perform computations Make decisions Sort, filter, or summarize data Organize data into useful information Use stored data (CRUD)

Page 17: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Common DFD Errors

Black Holes Inputs to a process but no output

Miracles Creating output with no input

Gray Hole Insufficient inputs to create the desired

results

Page 18: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Common Process Errors on DFDs

Page 19: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Process Logic

Decomposition diagrams and data flow diagrams are effective tools for identifying processes, but are not good at showing the logic inside those processes. Eventually need to specify detailed instructions. Should effectively communicate with both users

and programmers. Flowcharts and pseudocode are difficult for users

to understand. Natural English is no imprecise (see Figure 9-6). Structured English has advantages of natural

English with some of the rigor of programming logic.

Page 20: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

PROBLEMS WITH NATURAL ENGLISH 1

Source: Adapted from Matthies, Leslie, The New Playscript Procedure, (Stamford, CT: Office Publications, Inc. 1977)

Problems with Natural English

Many of us do not write well,

Many of us are too educated a graduate has a working vocabulary of around 5,000 words.

Some of us write everything like it was a program.

Too often, we allow the jargon and acronyms of computing to dominate our language.

English statements frequently have an excessive or confusing scope.

We overuse compound sentences

Too many words have multiple definitions.

Too many statements use imprecise adjectives.

Conditional instructions can be imprecise.

Compound conditions tend to show up in natural English.

Page 21: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

1. For each CUSTOMER NUMBER in the data store CUSTOMERS: a. For each LOAN in the data store LOANS that matches the above CUSTOMER NUMBER: 1) Keep a running total of NUMBER OF LOANS for the CUSTOMER NUMBER. 2) Keep a running total of thw ORIGINAL LOAN PRINCIPALfor the CUSTOMER NUMBER. 3) Keep a running total of CURRENT LOAN BALANCE for the CUSTOMER NUMBER. 4) Keep a running total of AMOUNTS PAST DUE for the CUSTOMER NUMBER. b. If the TOTAL AMOUNTS PAST DUE for the CUSTOMER NUMBER is greater than $100.00 then: 1) Write the CUSTOMER NUMBER and all their data attributes as described in the data flow LOANS AT RISK. Else 1) Exclude the CUSTOMER NUMBER and data from the data flow LOANS AT RISK.

Structured English

Structured English is a language and syntax, based on the relative strengths of structured programming and natural English, for specifying the underlying logic of elementary processes on DFDs.

Page 22: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Structured English Constructs

Page 23: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Structured English Constructs

complex logic in which rows represent conditions

Page 24: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Policies and Decision Tables

A policy is a set of rules that governs some process of the business.

A decision table is a tabular form of presentation that specifies a set of conditions and their corresponding actions (as required to implement a policy).

Page 25: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

A Simple Decision Table

Page 26: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Structured English Constructs

Page 27: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

A data flow represents an input of data to a process, or the output of data from a process. A data flow may also be used to represent the

creation, reading, deletion, or updating of data in a file or database (called a data store).

A composite data flow is a data flow that consists of other data flows – used in high level DFDs

A control flow represents a condition or nondata event that triggers a process. Used sparingly on DFDs.

Data Flows & Control Flows

Page 28: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Data Flow Packet Concept

Data that should travel together should be shown as a single flow

Page 29: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Composite and Elementary Data Flows

Page 30: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Data Flows to and from Data Stores

Page 31: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Data flow – data that is input to or output from a process. A data flow is data in motion A data flow may also be used to

represent the creation, reading, deletion, or updating of data in a file or database (called a data store).

Composite data flow – a data flow that consists of other data flows.Control flow – a condition or nondata event that triggers a process. Used sparingly on DFDs.

Data Flows & Control Flows

Page 32: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.

Illegal Data Flows

Page 33: PROCESS MODELING. Chapter NineProcess Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling.