1 CPN Models as Enhancements to a Traditional Software Specification for an Elevator Controller Jens Bæk Jørgensen Department of Computer Science University.

Slides:



Advertisements
Similar presentations
Ch:8 Design Concepts S.W Design should have following quality attribute: Functionality Usability Reliability Performance Supportability (extensibility,
Advertisements

Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 12Slide 1 Software Design l Objectives To explain how a software design may be represented.
Software system modeling
System Modelling System modelling helps the analyst to understand the functionality of the system and models are used to communicate with customers. Different.
MOCA'021 Executable Use Cases for Pervasive Healthcare Jens Bæk Jørgensen and Claus Bossen Centre for Pervasive Computing Department of Computer Science.
OASIS Reference Model for Service Oriented Architecture 1.0
Temporal Specification Chris Patel Vinay Viswanathan.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
CPN'021 Coloured Petri Nets in UML-Based SW Development – Designing Middleware for Pervasive Healthcare Jens Bæk Jørgensen Centre for Pervasive Computing.
Communication Notation Part V Chapter 15, 16, 18 and 19.
1 Modelling and Validation of Distributed Systems: Research Area and Thesis Opportunities Jens Bæk Jørgensen Department of Computer Science University.
1 Design Methods for Reactive Systems, R.J. Wieringa Part IV: Behavior Notations Jens Bæk Jørgensen, University of Aarhus.
General information CSE 230 : Introduction to Software Engineering
1 Design Methods for Reactive Systems, R.J. Wieringa Part V: Communication Notations.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models September 29, 2008.
Lecture 6 & 7 System Models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented design 2.
Reza Gorgan Mohammadi AmirKabir University of Technology, Department of Computer Engineering & Information Technology, Intelligent.
The meaning of requirements Vahid Jalali October 2007 Amirkabir university of technology, Department of computer engineering and information technology,
Modelling with Coloured Petri Nets Søren Christensen Department of Computer Science University of Aarhus.
Modeling State-Dependent Objects Using Colored Petri Nets
1 Modeldrevet softwareudvikling – 16. november 2004 Design Methods for Reactive Systems, R.J. Wieringa Part IV: Software Specification Methods Jens Bæk.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
1 Design Methods for Reactive Systems, R.J. Wieringa Part V: Communication Notations Jens Bæk Jørgensen, University of Aarhus.
TCS2411 Software Engineering1 Functional and Behavioural Modeling “What is the software supposed to do?”
1 Requirements Engineering for a Pervasive Health Care System Jens Bæk Jørgensen and Claus Bossen ACPN: Presented by Søren Christensen and Michael Westergaard.
1 CPN Workflow Models as Functional Requirements Jens Bæk Jørgensen Department of Computer Science University of Aarhus CPN05, Aarhus, October
1 Modeldrevet softwareudvikling – 7. september 2004 Design Methods for Reactive Systems, R.J. Wieringa Part II: Function Notations Jens Bæk Jørgensen,
Chapter 2 - Overview of the Systems Engineering Design Process1 Aerospace Systems Engineering Chapter 2 - Overview of the Systems Engineering Design Process.
Chapter 7: System models
CPN'09, Aarhus, Denmark, October 19-21, 2009 Verification of Railway Interlocking Tables using Coloured Petri Nets * Somsak Vanit-Anunchai
Architectural Design.
Chapter 10 Architectural Design
Chapter 6 System Engineering - Computer-based system - System engineering process - “Business process” engineering - Product engineering (Source: Pressman,
System Models Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn Lecture 6 & 7.
Slide 16B.51 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering.
October 2002J. B. Wordsworth: J2ISDPPS1 Information Systems Development Problem Frames: Problems and Subproblems.
Engineering System Design
1 Requirements Engineering for the Adviser Portal Bank System – a BPM Case in Coloured Petri Nets Jens Bæk Jørgensen Department of Computer Science University.
University of Toronto Department of Computer Science © Steve Easterbrook. This presentation is available free for non-commercial use with attribution.
1 Analysis Extracting from Use Cases to Create Diagrams.
CSC 395 – Software Engineering Lecture 13: Object-Oriented Analysis –or– Let the Pain Begin (At Least I’m Honest!)
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 Object-oriented and Structured System Models.
Software Engineering, 8th edition Chapter 8 1 Courtesy: ©Ian Somerville 2006 April 06 th, 2009 Lecture # 13 System models.
1 Introduction to Software Engineering Lecture 1.
Refining middleware functions for verification purpose Jérôme Hugues Laurent Pautet Fabrice Kordon
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
Slide 12A.1 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Integrating UML and Petri Nets Problem with Current Software Engineering Methodology Stochastic Petri nets and their useful properties Translating UML.
Lecture 1: Introduction to Software Engineering WXGE6103 Software Engineering Process and Practice Object-oriented Design.
What is Object-Oriented?  Organization of software as a collection of discreet objects that incorporate both data structure and behavior.
Petri Nets Invented by Carl Adam Petri in 1962 Concurrent systems with timing problems  Synchronization, race problem, deadlock A petri net consists of.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 10a: Architectural Design Software Engineering: A Practitioner’s Approach, 6/e Chapter 10a:
THE ANALYSIS WORKFLOW  The specification document  Informal specifications  The analysis workflow  Extracting the entity classes  Functional modeling:
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Requirements specification Why is this the first major stage of software development? –Need to understand what customer wants first Goal of requirements.
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
Winter 2011SEG Chapter 11 Chapter 1 (Part 1) Review from previous courses Subject 1: The Software Development Process.
Chapter 2 – Software Processes Lecture 1 1Chapter 2 Software Processes.
Elevator Example.
Chapter 6: System Models Omar Meqdadi SE 273 Lecture 6 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Elevator Example. Problem GSU schedules to upgrade all the campus elevators in 6 months. Due to incompatibility with the new hardware, the current software.
Design Review.
Advanced Computer Systems
Cmpe 589 Spring 2006.
Case Study -- Weather system
Object-Oriented Analysis
Energy-Efficient Storage Systems
Presentation transcript:

1 CPN Models as Enhancements to a Traditional Software Specification for an Elevator Controller Jens Bæk Jørgensen Department of Computer Science University of Aarhus Denmark MOCA’04, Aarhus, October 2004

2 Problem: design of an elevator controller zSubject domain yTen floors yTwo cages yButtons, doors, sensors, … zController responsibilities yControl movement of cages yDisplay information

3 Wieringa’s specification: desired functionality zMission statement, function refinement tree, service descriptions zPartial context diagram zAlso dictionary and descriptions of entities in subject domain

4 Wieringa’s specification: desired behaviour of cage movement Also descriptions of desired behaviour of allocation of request to cages, location indication, etc.

5 CPN model: representation of controller specification zSet of Standard ML functions ysetdirection ystophere yturnidle yservenow yresetdirection yaddrequest yremoverequest yupdatelocationindicators

6 CPN model: desired behaviour of subject domain Entities in subject domain represented as tokens – cages as (cageid,floor,requestlist, direction) Three net modules: - Basic Cage Movement - Requests and Allocations - UpDown and Indicators

7 CPN model: requirements-level architecture zRepresentation of controller yProcesses ~ Standard ML functions yData stores ~ tokens zRepresentation of subject domain yEntities ~ tokens zCommunications yPossible internal communications in system ~ transitions yPossible communications between controller and entities in environment ~ transitions

8 CPN model: basis for system engineering argument zArgue that specification and domain properties together entail requirements zPrerequisites for argument yCPN model executable yCPN model coherent zExample requirement: Collect passengers yTrigger: Passenger pushes floor button F yDelivered service: Controller ensures that cage stops at floor F and allows passengers to enter

9 Some perspectives on CPN in software engineering zCompliance with Jackson’s basic tenets yDistinguish the machine from the problem domain yDon’t restrict description to the machine yState explicitly what is described zAdvantages compared with statecharts yCPN adequate to address scheduling yCPN conveniently describe two cages together yCPN facilitate prototyping and experiments

10 Conclusions and discussion zAdvantages of adding CPN model yCan be used as requirements-level architecture yFacilitates system engineering argument zCost-benefit issues of adding CPN model yGap between model and implementation yCan existing specification be improved with simpler means? zFormal verification viable? yImprove quality of system engineering argument yArgue about more advanced behavioural properties yScalability problems