70
By Orvilla V. Balangue, MSCS SAS-ICT Faculty

By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Embed Size (px)

Citation preview

Page 1: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

By Orvilla V. Balangue, MSCS

SAS-ICT Faculty

Page 2: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Learning ObjectivesDifferentiate 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 interfaces with its environment.Perform even partitioning and organize events

in a functional decomposition diagram.Draw event diagrams and merge those event

diagrams into system diagrams.Document the distribution of processes to

locations.

Page 3: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Topic OutlineV. SYSTEM ANALYSIS METHODS-PROCESS

MODELING

System Modeling

Logical Process Modeling

Process Models

Page 4: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

System modellingSystem modelling helps the analyst to

understand the functionality of the system and models are used to communicate with customers.

Different models present the system from different perspectivesExternal perspective showing the system’s

context or environment;Behavioural perspective showing the behaviour

of the system;Structural perspective showing the system or

data architecture.

Page 5: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Model TypesData processing model showing how the

data is processed at different stages.Composition model showing how entities

are composed of other entities.Architectural model showing principal

sub-systems.Classification model showing how entities

have common characteristics.Stimulus/response model showing the

system’s reaction to events.

Page 6: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

V. SYSTEM ANALYSIS METHODS-PROCESS MODELING

System Modeling

Logical Process Modeling

Process Models

Page 7: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Logical Process ModelA logical level process model is used to model

the detailed requirements of an application system. During analysis, the conceptual process model evolves into the detailed functional requirements, or logical process model.

It describes the behaviour of processes and their interactions.

Process modelling at the logical level builds a detailed process model used to describe the functional requirements of an application system from which a physical design can be derived.

Page 8: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

(Padernal, 2013) Flood Monitoring and Warning System

Page 9: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

(Hinojales, 2014) Mobile Commerce for Nerp’s RIG Enterprise

Page 10: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Document Flow DiagramsA document flow diagram is a

graphical image that is used to provide a clear representation of a business function.

It is a technique that begins with an overall picture of the business and then proceeds to analyze each of the functional zones of interest.

Page 11: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

What is a Workflow Diagram?Workflow diagram usually denotes

movement of documents, resources, and data throughout the entire work process for a specific product or service.

Work processes can be very complicated, so visual representation of how the task should be completed can help employees better understand the process and work more efficiently.

Page 12: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Workflow DiagramWorkflow diagrams show persons responsible for every sub-process, necessary documents, resources, data and amount of time requires at each stage.

Page 13: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 14: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Why use Workflow diagrams?Workflow diagram is important to understand the complete work process as it helps you to:

- Understand your own responsibilities;

- Understand role of other employees; - Analyze the entire process and define problem areas and bottlenecks;

Page 15: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Why use Workflow diagrams?Identify critical stages;Improve communication as diagram shows relationships between different stages in a process;

Explore the complete list of required documents and resources.

Page 16: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 17: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 18: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 19: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Context modelsContext models are used to illustrate the

operational context of a system - they show what lies outside the system boundaries.

Social and organisational concerns may affect the decision on where to position system boundaries.

Architectural models show the system and its relationship with other systems.

Page 20: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

The context of an ATM system

Auto-tellersystem

Securitysystem

Maintenancesystem

Accountdatabase

Usagedatabase

Branchaccounting

system

Branchcountersystem

Page 21: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Process modelsProcess models show the overall process and

the processes that are supported by the system.

Data flow models may be used to show the processes and the flow of information from one process to another.

Page 22: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Equipment procurement process

Get costestimates

Acceptdelivery ofequipment

Checkdelivered

items

Validatespecification

Specifyequipmentrequired

Choosesupplier

Placeequipment

order

Installequipment

Findsuppliers

Supplierdatabase

Acceptdelivered

equipment

Equipmentdatabase

Equipmentspec.

Checkedspec.

Deliverynote

Deliverynote

Ordernotification

Installationinstructions

Installationacceptance

Equipmentdetails

Checked andsigned order form

Orderdetails plusblank order

form

Spec. +supplier +estimate

Supplier listEquipment

spec.

Page 23: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Data-processing modelsData flow diagrams (DFDs) may be used to

model the system’s data processing.These show the processing steps as data

flows through a system.DFDs are an intrinsic part of many analysis

methods.Simple and intuitive notation that customers

can understand.Show end-to-end processing of data.

Page 24: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

What are Data Flow Diagrams? A data flow diagram (DFD) is a graphical

representation of the "flow" of data through an information system.

A data flow diagram can also be used for the visualization of data processing (structured design).

It is common practice for a designer to draw a context-level DFD first which shows the interaction between the system and outside entities.

This context-level DFD is then "exploded" to show more detail of the system being modeled

Page 25: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Advantage of DFDHelps to understand the technical

implementation of the system too early

Helps to understand the interrelationships of systems and subsystems

Helps in communicating current system knowledge to users

Helps to analyze the system

Page 26: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Four Basic Symbols

Page 27: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 28: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 29: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

External EntitiesRepresent people or organizations outside of

the system being studiedShows the initial source and final recipient of

data and informationShould be named with a noun, describing

that entity

Customer

Page 30: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

External EntitiesExternal entities may be

A person, such as CUSTOMER or STUDENTA company or organization, such as BANK

or SUPPLIERAnother department within the company,

such as ORDER FULFILLMENTAnother system or subsystem, such as the

INVENTORY CONTROL SYSTEM

Page 31: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

ProcessesRepresent either:

A whole systemA subsystemWork being done, an activity

Names should be in the form verb-adjective-nounThe exception is a process that represents

an entire system or subsystem

1

Add NewCustomer

2Customer

InquirySubsystem

Page 32: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Data StoresName with a noun, describing the data Data stores are usually given a unique

reference number, such as D1, D2, D3 Include any data stored, such as:

A computer file or databaseA transaction file A set of tables A manual file of records

D1 CustomerMaster

Page 33: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Data Flow

Shows the data about a person, place, or thing that moves through the system

Names should be a noun that describes the data moving through the system

Arrowhead indicates the flow directionUse double headed-arrows only when a

process is reading data and updating the data on the same table or file

Customer RecordNew Customer

Page 34: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Guidelines for Developing DFD

Create the context level diagram, including all external entities and the major data flow to or from them

Create Diagram 0 by analyzing the major activities within the context process Include the external entities and major data

storesCreate a child diagram for each complex

process on Diagram 0

Page 35: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Creating Data Flow DiagramsMaking a list of business activitiesAnalyzing what happens to an input data

flow from an external entityAnalyzing what is necessary to create an

output data flow to an external entityExamining the data flow to or from a data

storeAnalyzing a well-defined process for data

requirements and the nature of the information produced

Unclear areas of a data flow diagram should be noted and investigated

Page 36: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Context Level DFDContains only one process, representing

the entire systemThe process is given the number zeroAll external entities are shown on the

context diagram as well as major data flow to and from them

The diagram does not contain any data stores

Page 37: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Context Level DFD (Example)

Page 38: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Diagram 0Diagram 0 is the explosion of the context level

diagramShould include up to 7 or 9 processes

Any more will result in a disorganized diagramProcesses are numbered with an integerThe major data stores and all external entities are

included on Diagram 0

Page 39: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Diagram 0 (Example)

Page 40: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Child Diagrams (Levels 1, 2, 3, …)Each process on diagram zero may be

exploded to create a child diagramEach process on a lower-level

diagram may be exploded to create another child diagram

The processes on the child diagram are numbered using the parent process number, a decimal point

Page 41: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Child Diagrams

Examples are:Process 3.2 is the child of process 3Process 5.2.7 is the child of process 5.2

3.2

EditCustomer

5.2.7

CalculateCustomerDiscount

Page 42: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Child DiagramsExternal entities are usually not shown on

the child diagrams below Diagram 0If the parent process has data flow

connecting to a data store, the child diagram may include the data store as well

Page 43: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Child Diagrams (Example)

Page 44: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Child DiagramsA lower-level diagram may contain data

stores not shown on the parent process, such asA file containing a table of information (such

as a tax table)A file linking two processes on the child

diagramMinor data flow, such as an error line, may

be included on a child diagram

Page 45: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

DFD Rules Each process must have a minimum of one data flow going into it

and one data flow leaving it.

Each data store must have at least one data flow going into it and

one data flow leaving it.

A data flow out of a process should have some relevance to one or

more of the data flows into a process.

Data stored in a system must go through a process.

Filing systems within an organization cannot logically

communicate with one another unless there is a process involved.

All processes in DFD must be linked to either another process or

a data store.

Page 46: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 47: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 48: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 49: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

DFD Errors

Page 50: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 51: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 52: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

DFD is categorized as:Physical DFD

Shows how the system will be implemented including software, hardware, file, people etc.

Logical DFDShows how business operatesIt is concerned with how the system will be constructed.

Describes business events and data required and produced by the event

Page 53: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Advantages of Logical DFD Better communication with usersMore stable systems, since the design is based on a business framework

Increased understanding of the business by analysts

The system will have increased flexibility and be easier to maintain

Page 54: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 55: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Logical DFD to Physical DFD

Create a logical DFD of the current system

Next add all the data and processes not in the current system which must be present in the new system

Finally derive the physical data flow diagram for the new system

Page 56: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Data flow diagrams can be used to provide a clear representation of any business function.

The technique starts with an overall picture of the business and continues by analyzing each of the functional areas of interest.

This analysis can be carried out to precisely the level of detail required.

Page 57: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Who makes DFD tools? ConceptDraw - Windows and MacOS X data flow

diagramming tool Dia - Free source diagramming tool with flowchart

support Kivio - Free source diagramming tool for KDE Microsoft Visio - Windows diagramming tool which

includes very basic DFD support (Images only, does not record data flows)

SILVERRUN ModelSphere - cross-platform tool for business process modelling and data flow diagramming

SmartDraw - Windows diagraming tool with "Yourdon and Coad Process Notations" and "Gane and Sarson Process Notation"

Page 58: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Sample 1Overview of the System

The Electronic Flood Monitoring and Warning using SMS Technology (E-FMWS) for Brgy. Banago Bacolod City is a web-based and SMS early warning system designed and developed for the disaster committee, barangay officials, and residents of Brgy. Banago. The E-FMWS provides an early warning message and accurate typhoon advisory for the safety of the community and avoid loss of life and damage to properties. (Padernal, 2013)

Page 59: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Overview of the SystemThe E-FMWS includes several features for

the users of the system. These are: login/logout services for security purposes; real time status board for dissemination of current water level alert warning for each zone; SMS technology, to broadcast the alert warnings faster and quicker; user account management, to allow admin to register authorized users of E-FMWS and recipients of text messages; record archives, stores alert logs; and news and updates about disaster management and its projects.

Page 60: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 61: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

(Sorongon, 2013)

Page 62: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 63: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Sample 2:Overview of the SystemThe Consumer Relation Management System

was designed and developed for CENECO, Bacolod City. The main objective of the study is to provide an automated system that will process the complaint of CENECO consumer. The system also generates statistical reports to determine what kind of complaint and services that is mostly rendered by CENECO to its consumers.

The features of the developed system are: User’s log-in/log-out; Reports; Utilities; Query Services; File Maintenance and Help Assistance.

(Gesulgon, 2012)

Page 64: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 65: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 66: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain
Page 67: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Use Case and DFDCreating a use case is another

approach used to develop a data flow diagram adapted from UML (Unified Modeling Language)

A use case is used to create a data flow diagram by providing a framework for obtaining processes, input, output, and data stores required for user activities

A use case shows the steps performed to accomplish a task

Page 68: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Use CaseThe major sections of a use case are

Use case nameDescriptionTriggerTrigger typeInput name and sourceOutput name and destinationSteps performedInformation required for each step

Page 69: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

Use Case Format

Page 70: By Orvilla V. Balangue, MSCS SAS-ICT Faculty. Learning Objectives Differentiate logical and physical system models. Define process modeling and explain

References: http://en.wikipedia.org/wiki/Data_flow_diagram http://www.agilemodeling.com/artifacts/

dataFlowDiagram.htm http://www.edrawsoft.com/Data-Flow-

Diagrams.php Sommerville, Ian. Software Engineering, 7e. Sorongon, et. al. (2013). Flood Monitoring and

Warning System. Gesulgon, et. al (2012). Consumer Relations

Management System for CENECO.