Beruflich Dokumente
Kultur Dokumente
Mandar Chitre
Course Outline
Introduction to real-time systems Real-time system design Inter-process communication Inter-process synchronization Implementation of concurrency Case studies Real-time operating systems Process scheduling Verication and validation
2010 Mr Cr
What to avoid!
2010 Mr Cr
Design Languages
Data Flow Diagrams (DFD)
Time Server
Context Diagram
Alarm Time Time
User
Time
Alarm Clock
Alarm
Stop Alarm
2010 Mr Cr
Process
External Entity
Data Flow
Data Store
2010 Mr Cr
Layered DFDs
Context Diagram
External Entity
Process
Level 1 DFD
External Entity
Process 2
Process 1
Data Store
Process 1b
Process 2b
Process 1a
Process 2 Data Store
Process 2a
Data Store
2010 Mr Cr
Real-time Extensions
Pulse Generator
Sonar Pulse Transmit Trigger Sonar Pulse
Sonar Pulse
Sonar Pulse
Matched Filter
Detections
Targets
Target Tracker
Sonar Display
2010 Mr Cr
2010 Mr Cr
Messy DFD!
Source http://www.astro.princeton.edu/PBOOK/datasys/dataproc.gif
2010 Mr Cr
Context Diagram
Alarm Time Time
User
Time
Alarm Clock
Alarm
Stop Alarm
2010 Mr Cr
Alarm Time
Alarm Time
Current Time
Oscillator
2010 Mr Cr
Current Time
2010 Mr Cr
Alarm Time
Alarm Time
Current Time
Oscillator
2010 Mr Cr
Alarm Time
Alarm Time
Alarm
Compare Time
Stop Alarm
Current Time
2010 Mr Cr
Object
Diagram
Deployment
Diagram
Diagram
Class
Component
Diagram
Activity
Diagram
Structural
Diagrams
Use Case
Diagram
Behavioral
Diagrams
UML
2.0
Functional
Diagrams
Statechart
Diagram
Interaction
Diagrams
Info Flow
Diagram
Sequence
Diagram
Timing
Diagram
Communication
Diagram
2010 Mr Cr
2010 Mr Cr
Activity Diagrams
Like owcharts, but more exible Denitions: An action has a "run to completion" semantics An activity is like an action, but it may be terminated by received events Token execution semantics
2010 Mr Cr
Activity Diagrams
2010 Mr Cr
Statechart Diagrams
2010 Mr Cr
Statechart Diagrams
2010 Mr Cr
Class Diagrams
Classname
Method signature
2010 Mr Cr
Class Diagrams
Association the related classes have a link that allows them to invoke services from each other Aggregation () one or more of the "part" class is aggregated to form the "whole" class Composition () stronger aggregation relationship, with the "whole" class having the responsibility of creating and destroying the "part" objects Generalization () one class denes a set of features that are specialized or extended by another class Dependency (---) a relation between two classes that does not fall into one of the other types
2010 Mr Cr
Class Diagrams
2010 Mr Cr
Class Diagrams
An operation is an abstraction of a method without specifying the steps needed to provide the service An interface is a named collection of services The services provided by an interface are represented by operations A class is said to realize an interface, if it provides methods for each of the interface operations Interfaces are denoted in UML using stereotypes or the lollipop notation
2010 Mr Cr
Class Diagrams
2010 Mr Cr
Sequence Diagrams
2010 Mr Cr
Component Diagrams
2010 Mr Cr
Deployment Diagrams
2010 Mr Cr
2010 Mr Cr
Process
System Design
URS HLD Detailed Design
Requirement Gathering
Implementation
Testing
Test Reports
Code
Code Docs
2010 Mr Cr
Waterfall Model
Source: Wikipedia
2010 Mr Cr
Spiral Model
Source: Wikipedia
2010 Mr Cr
V-Model
Source: Wikipedia
2010 Mr Cr
Summary
Data ow diagrams Layered data ow design UML Use case diagrams Activity diagrams Statechart diagrams Class diagrams Sequence diagrams Component diagrams Deployment diagrams Development processes
2010 Mr Cr