Specifying the Interactions Builds on agent types and scenario descriptors Interaction Diagrams( IDs) involve –Replacing each functionality with the agent.

Slides:



Advertisements
Similar presentations
CPSC 333: Foundations of Software EngineeringJ. Denzinger 2.2. Use Cases: Scenario based requirements modeling Recommended: Booch, Rumbaugh, Jacobson:
Advertisements

Entity-Relationship (ER) Modeling
Use Case & Use Case Diagram
BTS430 Design Model: Sequence Diagrams involving collections.
Actors and use cases Use-case diagram Brief notation Prioritization Fully dressed notation Requirements Functional requirements  Use-cases.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Requirements to Design Chapter 6. Moving from “lots of Requirements” to “organized Product Design” Product Design ? User/Market/Business “Requirements”
CS3773 Software Engineering Lecture 03 UML Use Cases.
Systems Analysis and Design in a Changing World, Fourth Edition
Summary Class responsibility cards can be used to help allocate responsibilities between different classes. The use of stereotype classes, such as entity,
Chapter 14 Requirements and Specifications. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Software Engineering The implementation.
Business Process Orchestration
1 © Wolfgang Pelz UML2 UML Part Two. 2 © Wolfgang Pelz UML2 Chapters Four & Twelve Interaction Diagrams.
Interaction Models. Interaction Definition An interaction is a behavior that comprises a set of messages exchanged among a set of objects within a context.
Object Collaborations. Objectives: Object Interaction (cont.) You will be able to:  Use sequence diagrams to detail object interactions.
1 UML Component and Deployment Diagrams. Models, Views, and Diagrams Use Case Diagrams Use Case Diagrams Use Case Diagrams Scenario Diagrams Scenario.
1 © Wolfgang Pelz UML2 UML Part 3. 2 © Wolfgang Pelz UML2 Chapter Ten State Machine Diagrams.
1COM6030 Systems Analysis and Design © University of Sheffield 2005 COM 6030 Software Analysis and Design Lecture 6 - Use cases and activity diagrams Dr.
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
CS3773 Software Engineering
Interactions. 2 Objects communicate with each other by sending messages. Sending a message is another name for a member function call. –Some C++ examples.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
Software Engineering Design & Modelling
מידול התנהגותי 1. Today’s Session Sequence Diagrams State Machines 2.
BTS330 Documenting Use Cases.
Intro: Use Case and Use Case Diagram Documentation.
Interaction Modeling Interaction model describes how objects interact to produce useful results. Interactions can be modeled at different levels of abstraction:
System Specification Specify system goals Develop scenarios Define functionalities Describe interface between the agent system and the environment.
10/12/ Recall The Team Skills 1. Analyzing the Problem (with 5 steps) 2. Understanding User and Stakeholder Needs 1. Interviews & questionnaires.
Systems Analysis and Design in a Changing World, 6th Edition
Behavioral Modeling: Sequence and Communication Diagrams Copyright © 2009 John Wiley & Sons, Inc. Copyright © 2005 Pearson Education Copyright © 2009 Kannan.
Kyung Hee University System Functional Model OOSD 담당조교 석사과정 이정환.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented Design.
PRJ566 System Sequence Diagrams.  A system sequence diagram …. Illustrates input and output events related to the system under discussion.  Larman,
95-843: Service Oriented Architecture 1 Master of Information System Management Service Oriented Architecture Lecture 7: BPEL Some notes selected from.
A Use Case Primer 1. The Benefits of Use Cases  Compared to traditional methods, use cases are easy to write and to read.  Use cases force the developers.
1 System Analysis and Design Using UML INSTRUCTOR: Jesmin Akhter Lecturer, IIT, JU.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
West Virginia University Slide 1 Copyright © K.Goseva 2010 CS 736 Software Performance Engineering Comments on Homework #1  Please revise the solution.
Object-Oriented Modeling: Static Models. Object-Oriented Modeling Model the system as interacting objects Model the system as interacting objects Match.
Capabilities, Plans, and Events Each capability is further broken down either into further capabilities or, eventually into the set of plans that provide.
Scenario A scenario is a sequence of steps describing an interaction between a user and a system. Use case is a set of scenarios tied together by a common.
Moving from “lots of Requirements” to “organized Product Design” Product Design ? User/Market/Business “Requirements” May be in various forms May also.
Week 10 1 Sequence Diagrams. Outline a)Add scenarios to the system to describe how Use Cases are realized as interactions among societies of objects b)Describe.
Winter 2007SEG2101 Chapter 31 Chapter 3 Requirements Specifications.
Chapter 3: Introducing the UML
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
UML - Development Process 1 Software Development Process Using UML.
Use Case Model Use case description.
Fall 2007 Week 9: UML Overview MSIS 670: Object-Oriented Software Engineering.
Use Case Diagrams. Introduction In the previous Lecture, you saw a brief review of the nine UML diagrams. Now that you have the clear, you'll start to.
1 Kyung Hee University Interaction Diagrams Spring 2001.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
Requirement Elicitation Review – Class 8 Functional Requirements Nonfunctional Requirements Software Requirements document Requirements Validation and.
UC Diagram & Scenario RKPL C & D. Using Use Case Diagram Use case diagrams are used to visualize, specify, construct, and document the (intended) behavior.
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
1 Seminar on SOA Seminar on Service Oriented Architecture BPEL Some notes selected from “Business Process Execution Language for Web Services” by Matjaz.
Systems Analysis and Design in a Changing World, Fourth Edition
Using Use Case Diagrams
Recall The Team Skills Analyzing the Problem (with 5 steps)
Use case diagrams A use case diagram is UML’s notation for showing the relationships among a set of use cases and actors A use case diagram can help the.
Use Case Model Use case description.
SYS366 Documenting Use Cases.
SAD ::: Spring 2018 Sabbir Muhammad Saleh
UML Diagrams: Sequence Diagrams Dynamic Analysis Model
Interaction diagrams Interaction diagrams are models that describe how groups of objects collaborate in some behavior. Typically, an interaction diagram.
Using Use Case Diagrams
Seminar 2 Design of Informatics Systems
Chapter 4 Sequence Diagrams
Presentation transcript:

Specifying the Interactions Builds on agent types and scenario descriptors Interaction Diagrams( IDs) involve –Replacing each functionality with the agent that includes it –Inserting a communication between agents where it is needed, and then –Expressing the result as an interaction diagram For example, see page 68-69

Determining where communication between agents is required Whenever there is a step in the scenario that involves a functionality from a new agent, there must be some interaction from a previously involved agent to the newly participating agent –Analyzing the sequential dependencies will identify where messages are required –Initially assume that each message in the ID is a new type. Later, it might be possible to coalesce some of them into a single type

Steps in Scenarios Not necessarily sequential (see Figure 6.2 page 70); analyze options (see sample options on page 70-71) See larger example on pages Interaction Protocols follow IDs, by defining exactly which interaction sequences are valid within the system. They use different notations, and provide control structures (most popular are FIPA standard protocols). Select one and consider alternatives required by application

Developing Protocols Ask: “what are the possible continuations (i.e., sequences of messages)” –In most cases best described by parallelism or looping (see credit card example middle of page 76) Variation field of use case scenario(s) is one source for possible alternatives (for example, see bottom of page 76)

Develop protocol and message descriptors Protocol template includes –Name –Description –Scenarios –Agents –Messages –Notes Message template includes –Name –Description –From agent –To agent –Purpose –Information carried For example, see bottom page 78