Software%20System%20Design - PowerPoint PPT Presentation

About This Presentation
Title:

Software%20System%20Design

Description:

Master subsystem has responsibility for managing execution of (other) subsytems ... air-bag deployment; fire-control systems. 8/30/09. System Architectures - II. 11 ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 15
Provided by: RowanUni8
Learn more at: http://elvis.rowan.edu
Category:

less

Transcript and Presenter's Notes

Title: Software%20System%20Design


1
Software System Design
  • System Architecture
  • System structuring
  • Control models
  • Modular decomposition
  • Domain-specific architectures

2
Control Models
  • How subsystems behavior is coordinated
  • Orthogonal to system structure
  • Two broad categories
  • Centralized control
  • Master subsystem
  • Event-based control
  • Each subsystem able to respond to external events

3
Centralized Control
  • Master subsystem has responsibility for managing
    execution of (other) subsytems
  • Call-Return Model
  • Manager Model

4
Centralized Control
  • Master subsystem has responsibility for managing
    execution of (other) subsytems
  • Call-Return Model
  • Subsystems invoked using traditional
    subroutine/function calls
  • Applicable in sequential execution only
  • Manager Model

5
Call-Return Model (figure)
6
Centralized Control
  • Master subsystem has responsibility for managing
    execution of (other) subsytems
  • Call-Return Model
  • Manager Model
  • Subsystems run as separate processes
  • Manager starts/suspends/stops processes
  • Implied in concurrent systems, can be useful in
    sequential ones

7
Event-Based Control
  • No master controller
  • Subsystems react to external events
  • Subsystems can signal events to others
  • Specific examples
  • Spreadsheet (cell state changes)
  • Soar, Linda (AI-inspired production systems)
  • Ethernet

8
Event-Based ControlBroadcast Models
  • Event is broadcast to all subsystems
  • Appropriate subsystem responds
  • Conflict resolution?
  • Event Handler
  • Subsystem can register interest in particular
    events
  • Handler passes off to registered subsystem
  • Reduces overhead on uninterested subsystems

9
Event-Based ControlBroadcast Models
  • Pros
  • Simple to evolve (add/remove/change event
    handlers)
  • Subsystems dont need to know others by name
  • Cons
  • Caller doesnt know if/when event will be handled
  • Conflict resolution

10
Event-Based ControlInterrupt-Driven Models
  • Preferable to broadcast models for real-time
    reaction
  • Interrupt handlers
  • Hardware supported
  • Triggered by raising of interrupt event
  • Assume control of subsystems
  • E.g. air-bag deployment fire-control systems

11
Event-Based ControlInterrupt-Driven Models
  • Pros
  • Allows for fast responses context switches
  • Cons
  • Complex to program
  • Difficult to validate (reproducing timings)
  • Number limited by hardware

12
Domain-Specific Architectures
  • Can be useful to frame, guide architectural
    design for a specific domain
  • Generic Models
  • Generalized architecture of real applications in
    domain
  • Reference Models
  • Idealized architecture for an application domain

13
The OSI Networking Model
  • OSI Open Systems Interconnection
  • A layered model for communication systems
    (similar to Abstract Machine Model)

14
The OSI Networking Model
  • 7. Application
  • 6. Presentation
  • 5. Session
  • 4. Transport
  • 3. Network
  • 2. Data Link
  • 1. Physical
Write a Comment
User Comments (0)
About PowerShow.com