40
Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Modelling as a Communication Tool:

Introduction to Process Modelling

CSE1204 - Information Systems 1

Page 2: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

The requirements specification document Must be communicated to key stakeholders Should contain:

• Functions and services the system should provide• Non-functional requirements• Constraints affecting the system’s development and

operations• Information about other systems the system must

interface with System models are used to help understand the existing

system and describe the proposed system

Page 3: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Example system Easy Go Hotel

BOOKING

SAFE DEPOSIT

ROOMS

BEDS

01

makebooking

03

checkin

02

cancelreserv ation

04

check out

05

makesaf e

deposit

Page 4: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Modelling

Why do we do it?• Our own understanding

• Communication with others

How do we do it?• informal techniques

• formal techniques

How effective is it?• different techniques for different purposes

• eg. a road map, an organisation chart, a data flow diagram

Page 5: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Simplification in modelling

all models are simplifications of the real world: they omit some features and emphasise others

this is called “abstraction”

the choice of model and modelling method requires decisions about:• what things should be included• what things can be omitted

Page 6: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Representation in modelling

a model is a simulation: it is composed from something which represents reality

Suitability the choice of model and modelling method

requires decisions about the form of representation that can best represent the real-life object being modelled

Page 7: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Partitioning and level of detail in modelling

partitioning: all models simplify complex reality by breaking it down into smaller, less complex parts which can be considered separately

partitioning allows the modeller to vary the amount of detail which is given at different levels of the model

the choice of model and modelling method requires decisions about:

how to partition without losing the overall picture of the thing being modelled

how much detail can be included at each level of the model

Page 8: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Audience the suitability of different forms and languages for

modelling will vary for different audiences

all models assume some level of familiarity and understanding on the part of the audience

the choice of model and modelling method requires decisions about which modelling form and language the target audience will best understand

Page 9: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Purpose of models all models are built to serve some purpose

there is no ‘best’ model independent of any purpose

the quality of a model is dependent on the purpose for which it was built

the choice of model and modelling method requires an understanding of the model’s purpose and decisions about the best method for achieving that purpose

Page 10: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Models in analysis and design in order to model a system, the systems analyst must

choose an appropriate modelling form in terms of its:• audience• purpose • degree of abstraction (simplification)• form of representation• level of partitioning• level of detail

Page 11: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Modelling: for whom?

System users and sponsors• Saltwater Head Librarian; Shire Council; residents of Saltwater

Other systems analysts• Analysts who will help build the system

Designers• Designers of the finished system

Other technical staff - programmers, database builders, systems administrators, etc• Code writers, database designers, help desk, technical support

Page 12: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

What can we use to build a model?

words - written descriptions pictures - photographs, drawings,

diagrams, graphs, mixed (words+pictures) - charts,

annotated drawings, maps, physical models - real life equivalents,

scaled models, simulations

Page 13: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Model paraphernalia

standardisation of symbols special modelling terminology/ rules

provides a “shorthand” way of conveying the model’s message

Page 14: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

What aspects can we model?

to illustrate the relevant aspects of a system, we must use models of appropriate system components

for example, for a house we can model:• its appearance (to show the look and feel)

• the physical layout of rooms (to show functions)

• the layout and connections between its structural components (to show the builders how to construct it)

What are the components of an information system which we can use in a model to illustrate specific features of that system?

Page 15: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Modelling information systems

Three aspects of information systems are typically modelled:

data • what information is used in the system:

entity relationship diagrams, data structure diagrams

process• what jobs use or manipulate data in the system:

function decomposition, structure charts, data flow diagrams

behaviour• what changes are wrought on information in the system

entity life history diagrams, state transition diagrams

Page 16: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Problems in modelling will other people interpret our models of the

world as we do? what happens to things which we cannot model

(exceptions; non-standard processes; errors)? can we communicate all aspects of a system

satisfactorily using our standard modelling techniques?

which models work best with which information and which audience?

standardisation generalisation abstraction

Page 17: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Process modelling

processes are the “action” part of businesses

process modelling graphically represents the processes which act on data to • capture• manipulate• store• distribute

Page 18: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Process modelling principal techniques

• function decomposition• data flow diagrams

associated techniques for modelling the details of low-level processes• structured English• decision tables and decision trees

Page 19: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Data Flow Diagrams model the flow of data into, through, and

out of an information system represent an information system as a

network of communicating processes• show the processes that change or transform

data• show the movement of data between

processes

Page 20: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Example-Easy Go Hotel

Make a reservation Check in Use safe deposit Check out

Page 21: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

01make

areserv ation

03use saf edeposit

02check in

04check

out

RESERVATION

OCCUPANCYGUEST

BED

SAFE DEPOSIT

Easy Go Hotel

Page 22: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Data Flow Diagrams (DFDs) a well-known technique easily understood a good communication tool used to model both manual and

automated processes described in Chapter 8 of the text book:

Whitten et al (2001)

Page 23: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

23

2

calculateprice

loan application

Products

Suppliers

Components of a DFD

• process

• data flow

• data store

• external agent

Page 24: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

24

Gane & Sarson

DeMarco

Alternative sets of symbols

• process

• data flow

• data store

• external agent

Page 25: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

2

calculateprice

Process represents the work performed which

changes data transforms incoming data flows into

outgoing data flows has a unique number and name

Page 26: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Naming processes

name each process using a verb and a noun phrase:

"calculate price"

"validate customer details"

"accept supplier delivery” the name of a process should describe what the

process does avoid vague names such as "process data” the number of a process is an identifier .. it does not

indicate the sequence of processing

Page 27: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

loan application

Data Flow

represents data in motion describes a "packet" of data or data that

move together may consist of many individual, related

elements that move together to the same destination

Page 28: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

2

validatecustomer

order

customer order

valid customer order

invalid customer order

Naming data flows

name each data flow using a noun or noun phrase

the name should describe the contents and should include as much information as possible about the data flow

Page 29: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Data Store

represents a collection of data flows at rest has a unique name which should describe the

contents of the data store may represent many different types of physical

locations of data may be a temporary or a permanent repository of

data

Sales Orders

Page 30: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

30

data flows to and from a data store can remain unlabelled if all attributes in the store are moving, i.e. if an entire data packet (or packets) is going into or out of the data store

2

checksalesorder

Sales orders

3produceweekly sales totals

sales order

weekly salestotals

Data stores

Page 31: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Suppliers

External Agent (source/sink)

represents an entity in the environment with which the system communicates

a source if it is an origin of data coming into the system

a sink if it is a destination for data leaving the system

Page 32: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

External Agent (source/ sink) data flows connecting the external agents to the

processes within the system represent the interface between the system and its environment

external agents are outside the system and define its boundaries

an external agent may be both a source and a sink what a sink does with data it receives from the

system and how a source produces data which it inputs to the system are outside the boundary of the system and are not shown on the data flow diagram

Page 33: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

33

1

editsalesorder

Sales orders

2

create purchase

order

sales orderCustomers

Suppliers

purchase order

1

Example Data Flow Diagram

Page 34: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Guidelines for Drawing DFDs

each object on a data flow diagram must have a unique name

each process must have at least one data flow coming in (input) and at least one data flow going out (output)

the inputs to a process are different from the outputs of that process

a process must be able to build its outputs using only the information in its input data flows plus any constant information

Page 35: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

35

Guidelines for Drawing DFDs

data flows are permitted:

between 2 processesfrom a data store to a processfrom a process to a data storefrom a source to a processfrom a process to a sink

Page 36: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

36

Guidelines for Drawing DFDs

see page 287 in Hoffer, George and Valacich

data flows are NOT permitted:

• between 2 external agents

• between 2 data stores

• from an external agent to a data store

Page 37: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

37

Guidelines for Drawing DFDs

registered application

valid application

2

validateapplication

1 3

registerapplication

application

reject

assessapplication

approved application

APPLICATIONS1

Omit any processing required to handle trivial rejects (i.e. where no work needs to be undone):

show the possibility of trivial rejects with a data flow labelled reject which has no destination indicated

Page 38: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

38

Guidelines for Drawing DFDs

• data flows can diverge when duplicate "packets" of data are sent to different parts of the system

2

producecustomerinvoice

1

validatesalesorder 3

generateshipping

slip

valid sales order

customer invoice

shipping slip

sales order

Page 39: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

Process Modelling Using Data Flow Diagrams

data flow diagrams generally do not show :

the flow of control

(i.e. triggers and controls on processes) the particular implementation sequence

(only the input and output data flows should determine the processing sequence shown) the timing of processing DFDs show the set of possible paths through the processing that occurs within a system from the viewpoint of what happens to the data flows

Page 40: Modelling as a Communication Tool: Introduction to Process Modelling CSE1204 - Information Systems 1

References WHITTEN, J.L., BENTLEY, L.D. and DITTMAN, K.C. (2001) 5th

ed., Systems Analysis and Design Methods, Irwin/McGraw-HilI, New York, NY. Chapters 5, 8

HOFFER, J.A., GEORGE, J.F. and VALACICH (1999) 2nd ed., Modern Systems Analysis and Design, Benjamin/Cummings, Massachusetts. Chapter 8