Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-t7czq Total loading time: 0 Render date: 2024-12-01T04:43:57.870Z Has data issue: false hasContentIssue false

11 - Software Architectural Patterns for Real-Time Embedded Systems

from Part II - Real-Time Software Design Method

Published online by Cambridge University Press:  05 March 2016

Hassan Gomaa
Affiliation:
George Mason University, Virginia
Get access

Summary

In software design, designers frequently encounter a problem that they have solved before on a previous project. Often the context of the problem is different; it might be a different application, a different platform, or a different programming language. Because of the different context, a designer usually ends up redesigning and reimplementing the solution, thereby falling into the trap of “reinventing the wheel.” The field of software patterns, including architectural and design patterns, is helping developers avoid unnecessary redesign and reimplementation.

In software development, the field of design patterns was popularized by Gamma, Helm, Johnson, and Vlissides in their book Design Patterns (1995), in which they described twenty-three design patterns. Later, Buschmann et al. (1996) described patterns that span different levels of abstraction, from high-level architectural patterns through design patterns to low-level idioms.

This chapter describes several software architectural patterns that can be used in the development of real-time embedded systems. Section 11.1 provides an overview of the different kinds of software patterns. Sections 11.2 through 11.7 describe the different software architectural patterns, with Sections 11.2 through 11.4 focusing on patterns that address the structure of the software architecture and Sections 11.5 through 11.7 discussing patterns that address the message communication among distributed components of the software architecture. Section 11.8 describes how to document software architectural patterns using a standard template. Section 11.9 describes how to apply software architectural patterns to build a new software architecture.

SOFTWARE DESIGN PATTERNS

A design pattern describes a recurring design problem to be solved, a solution to the problem, and the context in which that solution works (Buschmann et al. 1996, Gamma et al. 1995). The description is in terms of communicating objects and classes customized to solve a general design problem in a particular context. A design pattern is a larger-grained form of reuse than a class. A design pattern involves more than one class along with the interconnection among the different classes.

After the original success of the design pattern concept, other kinds of patterns were developed. The main kinds of reusable patterns are given below:

  1. Design patterns. In a widely cited book (Gamma et al. 1995), design patterns were described by four software designers – Erich Gamma, Richard Helm, Ralph Johnson, […]

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2016

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×