Embedded Systems: Review and OMT modeling Slides by Gretel Coombs and Betty H.C. Cheng.

Slides:



Advertisements
Similar presentations
Introduction to Object Orientation System Analysis and Design
Advertisements

Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
Use Case Modeling SJTU. Unified Modeling Language (UML) l Standardized notation for object-oriented development l Needs to be used with an analysis and.
Ch 12: Object-Oriented Analysis
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
CS3773 Software Engineering Lecture 03 UML Use Cases.
1 Chapter 4 Dynamic Modeling and Analysis (Part I) Object-Oriented Technology From Diagram to Code with Visual Paradigm for UML Curtis H.K. Tsang, Clarence.
Embedded Systems Details. Object Model: Four main system objects or classes Controller object might be made up of several controllers is the brains of.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 8 Slide 1 System models.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Lecture 5a: Sequence Interaction Diagrams CSE 111 Copyright W. Howden1.
1 SWE Introduction to Software Engineering Lecture 25 – Object-Oriented Design (Chapter 14)
Slide 1 Chapter 7 Structural Modeling. Slide 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 8 Slide 1 System models.
R R R CSE870: Advanced Software Engineering: Extending and Using UML (Cheng, Sp2003) Supplementary: Using and Extending UML.
1 Objectives To introduces the concept of software Design. To introduce the concept of Object- Oriented Design (OOD). To Define various aspects about object.
©Ian Sommerville 2000Software Engineering, 6/e, Chapter 71 System models l Abstract descriptions of systems whose requirements are being analysed.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 14 Slide 1 Object-oriented design 2.
Software Engineering CSE470: Requirements Analysis 1 Requirements Analysis Defining the WHAT.
Analysis of Requirements Developed by Gretel Coombs VESL Project - NSF Grant under the direction of Dr. Betty Cheng.
Unified Modeling Language
Business Modeling Domain Modeling Source: Use Case Driven Object Modeling with UML – A Practical Approach By Doug Rosenberg ISBN:
Objects What are Objects Observations
Chapter 5: Modeling Systems Requirements: Events and Things
OO Analysis and Design CMPS OOA/OOD Cursory explanation of OOP emphasizes ▫ Syntax  classes, inheritance, message passing, virtual, static Most.
Modeling System Requirements:
程建群 博士(Dr. Jason Cheng) 年03月
Chapter 4 System Models A description of the various models that can be used to specify software systems.
System models Abstract descriptions of systems whose requirements are being analysed Abstract descriptions of systems whose requirements are being analysed.
Interaction Modeling Interaction model describes how objects interact to produce useful results. Interactions can be modeled at different levels of abstraction:
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 25. Review Design Level Class Diagram Identifying classes/Operations/Attributes Associations – Simple associations.
Slide 1 Structural Modeling Chapter 7. Slide 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business.
Approaching a Problem Where do we start? How do we proceed?
MCS 270 Spring 2014 Object-Oriented Software Development.
Chapter 7 System models.
Slide 1 System models. Slide 2 Objectives l To explain why the context of a system should be modelled as part of the RE process l To describe behavioural.
System models l Abstract descriptions of systems whose requirements are being analysed.
Modified by Juan M. Gomez Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
Software Engineering, 8th edition Chapter 8 1 Courtesy: ©Ian Somerville 2006 April 06 th, 2009 Lecture # 13 System models.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 7 Slide 1 Chapter 7 System Models.
Analysis and Design. PROCESS OVERVIEW A software development process provides a basis for the organized production.
An Introduction to the Unified Modeling Language
Modeling System Requirements: Events and Things. Objectives Explain the many reasons for creating information system models Describe three types of models.
What is a Structural Model?
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
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.
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.
CS212: Object Oriented Analysis and Design Lecture 32: Use case and Class diagrams.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
1 LAB What is Collaboration diagram? 4 Collaboration diagrams illustrate the interaction between the objects, using static spatial structure. 4.
Object-Oriented Application Development Using VB.NET 1 Chapter 5 Object-Oriented Analysis and Design.
Object Modeling THETOPPERSWAY.COM. Object Modelling Technique(OMT)  Building a model of an application domain and then adding implementation.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
1 Object-Oriented Static Modeling of the Banking System - III Lecture # 33.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 8 Slide 1 System models.
Chapter 5 – System Modeling Lecture 1 1Chapter 5 System modeling.
Design Review.
Appendix 3 Object-Oriented Analysis and Design
Case Study -- Weather system
Object-Oriented Analysis and Design
Dynamic Modeling of Banking System Case Study - I
Object-Oriented Static Modeling of the Banking System - I
Rumbaugh’s Objectmodeling Technique
Object Oriented Modeling and Design
Design and Implementation
CIS 375 Bruce R. Maxim UM-Dearborn
Chapter 4 System Modeling.
Presentation transcript:

Embedded Systems: Review and OMT modeling Slides by Gretel Coombs and Betty H.C. Cheng

Topics covered review details OMT for embedded systems Object model: –real world objects –data dictionary –common classes –associations Dynamic Model: –importance to embedded systems –scenerios and traces –user interfaces Future lectures –more on Dynamic Model –Functional Model

Review of Embedded Systems Software controller that is interacting with its hardware environment through sensors and activators. Concurrency and real time issues. Safety critical nature of many of these systems. Increased demand for these systems to be designed well.

High level design: Initial thoughts for embedded systems. Assume there is a hardware environment. Assume that somehow the needed signals are coming from the environment (sensors.) Assume the needed hardware is there to respond to your signals (activators.)

Object Model In OMT the object model is the starting place for the modeling process. The object model will include objects and their relationships. The Object Model will be the static, structural aspect of the system. Class attribute operation

Identify Real World Objects Read over the problem description and find the nouns in the text. These nouns are candidates for objects in your object model. Discard unnecessary and incorrect classes. Object classes will include the controller (software unit that will be built), sensors, and activators.

Data Dictionary: needs to be written A written paragraph describing each modeling entity. Needed so that names are non-ambiguous.

Class: Sensor Because of the common properties of all sensors, this can be a class of objects, called a superclass. Generalization - this superclass can be generalized into subclasses. Inheritance - each subclass will inherit the properties or features from the superclass. Examples: user interface (buttons etc), thermometers, hardware sensors.

Class: Actuator Similarly the activators will probably become a superclass. Generalization - The various activators can be generalized into subclasses. Inheritance - each activator subclass will inherit properties or features from the superclass. Examples: LEDs, motor controls, etc.

The Controller At an abstract level, this would be only one object in most embedded systems. This object would be refined at lower levels of the modeling process into subsystems or sub-objects. Aggregation could be used to show the parts of the controller.

Model itself Graphically a class is shown as a box with the name on top. Attributes (middle third) and operations (bottom third) added eventually. Attributes and operations are not needed for high-level object model. Class attribute operation

Find the Associations Interaction between objects must be show by associations or lines draw with labels. –ex: line between user button and associated LED. Many time these associations will be a physical connection between objects in an embedded system. Help in Rumbaugh. (section & 8.4.5) Multiplicity must be shown eventually.

Example Controller Activators Sensors Water level User buttons MotorLED reads turned on by

Conclusion about Object Model: Look at Dr. Cheng’s ‘Creation Tips.’ Not very complex at first. More details will come as designer proceeds from abstraction to more and more concreteness. –controller will be divided into more objects –attributes and operations are identified and included. Starting place for OMT. Sets the stage.

Next step: Dynamic Model The dynamic model shows the control aspect of the system. Because embedded systems are mainly controllers, the dynamic model is the ‘key’ model for embedded systems. This model can show the timing aspects. Shows sequence of operations in response to external stimuli.

Getting started on a Dynamic Model Helpful to make a scenario: –sequence of events that happens in one execution of a system. –Example: insert coins, make selection, pop dispensed. Interface (high-level prototyping) –a rough draft of user interface will help thinking about the events in an embedded system.

Interface (type of rapid prototyping) clearentercancel receiptscash slot ATM interface from Figure 8.17 by Rumbaugh

continue getting started…. Next make an event trace. –each object is a vertical line. –events as horizontal arrow. –time goes from top to bottom. Use Dr. Cheng's ‘creation tips.’ Follow the steps in Rumbaugh 8.5.

Example of an Event Trace User ATMConsortiumBank insert card request password enter password verify account verify card with bank bank account OK account OK request kind enter kind request amount enter amount process transaction process bank transactions bank transaction succeeds Example from Figure 8.18 of Rumbaugh Event trace for ATM scenario