2008/10E-Enterprise Integration - eEI1 Lecture 6 Petri Net Techniques for Modeling Workflows and Their Support of Reuse.

Slides:



Advertisements
Similar presentations
School of Computer Science & Software Engineering
Advertisements

Principles of Engineering System Design Dr T Asokan
Workflow Management Systems © Dr. Rafael A. Calvo – Edited by Mark Aufflick (pumptheory.com) School of Electrical and Information Eng, University of Sydney.
1 SE-561 Formal Methods in Software Petri Nets - I.
An Introduction to Petri Nets
Principles of Engineering System Design Dr T Asokan
Based on: Petri Nets and Industrial Applications: A Tutorial
Architecture Representation
Formal Modelling of Reactive Agents as an aggregation of Simple Behaviours P.Kefalas Dept. of Computer Science 13 Tsimiski Str Thessaloniki Greece.
Discrete Interaction Design Specification Prof. Dr. Matthias Rauterberg Faculty Industrial Design Technical University of Eindhoven
Introduction to Research Methodology
Object-Oriented Analysis and Design
Petri Nets Overview 1 Definition of Petri Net C = ( P, T, I, O) Places P = { p 1, p 2, p 3, …, p n } Transitions T = { t 1, t 2, t 3, …, t n } Input.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 An Introduction to Software Engineering.
Lecture 6 & 7 System Models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 An Introduction to Software Engineering.
Mata kuliah :K0362/ Matematika Diskrit Tahun :2008
Sharif University of Technology Session # 7.  Contents  Systems Analysis and Design  Planning the approach  Asking questions and collecting data 
Distributed, Collaborative Processing System (COBRA Virtual Office)
Chapter 7: The Object-Oriented Approach to Requirements
Formal Methods 1. Software Engineering and Formal Methods  Every software engineering methodology is based on a recommended development process  proceeding.
An Information Theory based Modeling of DSMLs Zekai Demirezen 1, Barrett Bryant 1, Murat M. Tanik 2 1 Department of Computer and Information Sciences,
PROCESS MODELING Chapter 8 - Process Modeling
1 Conceptual Modeling of User Interfaces to Workflow Information Systems Conceptual Modeling of User Interfaces to Workflow Information Systems By: Josefina.
Managing Software Quality
System Models Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn Lecture 6 & 7.
OHT 11.1 © Marketing Insights Limited 2004 Chapter 9 Analysis and Design EC Security.
An Introduction to Petri Nets Marjan Sirjani Formal Methods Laboratory University of Tehran.
Introduction to Formal Methods Based on Jeannette M. Wing. A Specifier's Introduction to Formal Methods. IEEE Computer, 23(9):8-24, September,
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
Chapter 1: Introduction Omar Meqdadi SE 2730 Lecture 1 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
WSMX Execution Semantics Executable Software Specification Eyal Oren DERI
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
Winter 2007, rev. 2008SEG Chapter 21 Chapter 2 Basic Principles.
An Introduction to Software Engineering. Communication Systems.
1 Introduction to Software Engineering Lecture 1.
UML Use Case Diagramming Guidelines. What is UML? The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing,
Stochastic Activity Networks ( SAN ) Sharif University of Technology,Computer Engineer Department, Winter 2013 Verification of Reactive Systems Mohammad.
Requirements Engineering Methods for Requirements Engineering Lecture-30.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
Generalized stochastic Petri nets (GSPN)
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Petri Nets Lecturer: Roohollah Abdipour. Agenda Introduction Petri Net Modelling with Petri Net Analysis of Petri net 2.
Modelling by Petri nets
Process Modeling
1 Copyright  2001 Pao-Ann Hsiung SW HW Module Outline l Introduction l Unified HW/SW Representations l HW/SW Partitioning Techniques l Integrated HW/SW.
Systems Analysis and Design in a Changing World, Fourth Edition
CSCI1600: Embedded and Real Time Software Lecture 11: Modeling IV: Concurrency Steven Reiss, Fall 2015.
School of Computer Science & Software Engineering
CAP 4800/CAP 5805: Computer Simulation Concepts
Topic 4 - Database Design Unit 1 – Database Analysis and Design Advanced Higher Information Systems St Kentigern’s Academy.
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
Requirement Analysis SOFTWARE ENGINEERING. What are Requirements? Expression of desired behavior Deals with objects or entities, the states they can be.
1 CEN 4020 Software Engineering PPT4: Requirement analysis.
1 Software Requirements Descriptions and specifications of a system.
An Introduction to Software Engineering
Advantages of FSM Their simplicity make it easy for inexperienced developers to implement with little to no extra knowledge (low entry level)
Concurrent Systems Modeling using Petri Nets
Object-Oriented Software Engineering Using UML, Patterns, and Java,
CSS 496 Business Process Re-engineering for BS(CS)
Dr. Eng Amr T. Abdel-Hamid
Clockless Computing COMP
Workflow Management Systems
CAP 4800/CAP 5805: Computer Simulation Concepts
CAP 4800/CAP 5805: Computer Simulation Concepts
Department of Computer Science Abdul Wali Khan University Mardan
An Introduction to Petri Nets
CAP 4800/CAP 5805: Computer Simulation Concepts
Petri Nets Laurie Frazier.
Presentation transcript:

2008/10E-Enterprise Integration - eEI1 Lecture 6 Petri Net Techniques for Modeling Workflows and Their Support of Reuse

E-Enterprise Integration - eEI2 Abstract 4 Several authors propose their own technique based on Petri Nets to model workflow processes. But suggest totally different solutions. 4 Because the proposed techniques and fundamentally different, eleven of these techniques are briefly discussed and compared

E-Enterprise Integration - eEI3 What is workflow? 4 The automation of a business process, in whole or part, during which documents, information or tasks are passed from one participant to another for action, according to a set of procedural rules.

E-Enterprise Integration - eEI4 Definition of Basic Workflow 4 Workflow Management Coalition (WEMC): provides a common “Reference Model” of workflow management systems to identify workflow management system’s characteristics, terminology and components. 4 Workflow management system is a software system that defines, coordinates, manages, and executes complex business activities.

E-Enterprise Integration - eEI5 Why Petri Nets to Model Workflow? Van der Aalst (1996) -formal semantics despite their graphical nature -can explicitly model states -have abundance of available and theoretically proven analysis techniques 4 Oberweis et al (1997) 4 -Integration of data and behaviour 4 aspects. -Support for concurrent, cooperative 4 processes. -Different degrees of formality -Availability of analysis techniques -Flexibility Merz. Et al (1995) -mathematical foundation -graphical representation -possibility

E-Enterprise Integration - eEI6 Event Why Petri Nets to Model Workflow?

E-Enterprise Integration - eEI7 Petri Nets evolution

E-Enterprise Integration - eEI8 High Level Petri Nets 4 Information Control Nets (ICN) adding a complementary data flow model, generalising control flow primitives and simplifying semantics 4 Coloured Petri Nets in order to enhance the distributed systems architecture Common Open Service Market (COSM), with concurrent workflow modeling. 4 Reconfigurable Nets consists in fact of several Petri Nets which constitute the different possible configurations of the system.

E-Enterprise Integration - eEI9 Introduction 4 First introduced by Carl Adam Petri in A diagrammatic tool to model concurrency and synchronization in distributed systems. 4 Very similar to State Transition Diagrams. 4 Used as a visual communication aid to model the system behaviour. 4 Based on strong mathematical foundation.

E-Enterprise Integration - eEI10 A Petri Net Specification... 4 consists of three types of components: places (circles), transitions (rectangles) and arcs (arrows): –Places represent possible states of the system; –Transitions are events or actions which cause the change of state; And –Every arc simply connects a place with a transition or a transition with a place.

E-Enterprise Integration - eEI11 A Change of State … 4 is denoted by a movement of token(s) (black dots) from place(s) to place(s); and is caused by the firing of a transition. 4 The firing represents an occurrence of the event or an action taken. 4 The firing is subject to the input conditions, denoted by token availability.

E-Enterprise Integration - eEI12 A Change of State 4 A transition is firable or enabled when there are sufficient tokens in its input places. 4 After firing, tokens will be transferred from the input places (old state) to the output places, denoting the new state. 4 Note that the EFTPOS example is a Petri net representation of a finite state machine (FSM).

E-Enterprise Integration - eEI13 Net Structures 4 A sequence of events/actions: 4 Concurrent executions: e1 e2e3 e1 e2 e3 e4 e5

E-Enterprise Integration - eEI14 Net Structures 4 Non-deterministic events - conflict, choice or decision: A choice of either e1, e2 … or e3, e4... e1e2 e3e4

E-Enterprise Integration - eEI15 Net Structures 4 Synchronization e1

E-Enterprise Integration - eEI16 Net Structures 4 Synchronization and Concurrency e1

Online EC transaction example: 17 4 A sequence of as-is events/actions (i.e., INCOME behavior model): 4 A sequence of to-be events/actions: Choose items (place items in shopping cart) Proceed check-out (confirm purchased items) Proceed check-out Login Confirm Purchased items Choose items (place items in shopping cart) Login

Online EC transaction example: 4 To-be behavior model and linkages to object model (SQL data tables!) and organization model (Customers!). Proceed check-out Login Confirm Purchased items Choose items (place items in shopping cart) Product List Custom er List Shopping Cart List

Your web exercise (due on 11/19) –Sample web program: as-is model –Challenge 1 web program: to-be model –Challenge 2 “your own” to-be model E-Enterprise Integration - eEI19

E-Enterprise Integration - eEI20 Stochastic Petri Nets GSPN (Generalized Stochastic Petri Nets) 1.Quantitative analysis 2.Qualitative analysis CGSPN (the Coloured Generalized Stochastic Petri Nets) – which are based on Coloured Petri Nets as pure Petri Net formalism instead of Place/Transition Petri Nets.

E-Enterprise Integration - eEI21 Behavioural Properties Reachability “Can we reach one particular state from another?” Boundedness “Will a storage place overflow?” Liveness “Will the system die in a particular state?”

E-Enterprise Integration - eEI22 Other Types of Petri Nets High-level Petri nets Tokens have “colours”, holding complex information. Timed Petri nets Time delays associated with transitions and/or places. Fixed delays or interval delays. Stochastic Petri nets: exponentially distributed random variables as delays.

E-Enterprise Integration - eEI23 Other Types of Petri Nets Object-Oriented Petri nets Tokens are instances of classes, moving from one place to another, calling methods and changing attributes. Net structure models the inner behaviour of objects. The purpose is to use object-oriented constructs to structure and build the system.

E-Enterprise Integration - eEI24 An O-O Petri Net ready produce Storage accepted consume ready ProducerConsumer send accept Producer data: ITEM ITEM produce( ) void send(ITEM) Consumer data: ITEM ITEM accept( ) void consume(ITEM)

E-Enterprise Integration - eEI25 Application Generators and Very High-Level Languages 4 Allow users to specify the requirements at a very high level of abstraction. 4 In the long term, it would have the highest potential profit. However, it remains very difficult to build generators that scale up to industrial production

E-Enterprise Integration - eEI26 Evaluation 4 Most common approach  black-box reuse 4 The notion of compositionality remains unanswered 4 Questions(which advantages exactly can be achieved or which type of reuse leads to these advantages)remains unanswered

E-Enterprise Integration - eEI27 A Critical Remark Concerning Reuse in the IS-Literature 4 It has remained extremely difficult to realize a systematic approach to reuse. managerial 4 The potential reasons for the lack of systematic reuse : some technical but many are managerial

E-Enterprise Integration - eEI28 Hidden Assumptions 4 A fundamental problem of software 4 Intended environment (1)implicit (2)don’t match the actual environment or (3)conflict with those of other parts of the system

E-Enterprise Integration - eEI29 Final Remarks very ambitious goal 4 Realizing a systematic form of reuse has proven to be a very ambitious goal ---To reach this goal,good modeling constructs alone have been insufficient 4 Making quick progress towards deciding which modeling constructs are most appropriate 4 Empirical and experimental studies are required(have yet find in the literature)

E-Enterprise Integration - eEI30 Conclusion 4 Identify the existing Patri Net formalisms proposed by various authors 4 Is that even a very good Petri Net formalism for modeling workflows is not worth much if there are no Workflow Management Systems or other computer based on it? 4 V.S database models : far from being mature 4 Much progress is being made towards developing an adequate modeling construct for modeling workflows using Patri Nets 4 Construct alone isn’t sufficient in IS-field, and how’s in workflow field?