Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-t8hqh Total loading time: 0 Render date: 2024-11-26T23:25:06.676Z Has data issue: false hasContentIssue false

9 - Dynamic Interaction Modeling for Real-Time Embedded Software

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

Dynamic modeling provides a dynamic (also referred to as behavioral) view of a system in which control and sequencing is considered, either within an object (by means of a state machine) or among objects (by analysis of object interactions). Dynamic state machine modeling is described in Chapter 7. This chapter describes dynamic interaction modeling among objects. However, for state dependent control objects, this chapter also describes how state machines are used to help determine state dependent object interactions. Please note that all references to system in this chapter are to the software system.

Dynamic interaction modeling is based on the realization of the use cases developed during use case modeling. For each use case, it is necessary to determine how the objects that participate in the use case dynamically interact with each other. The object structuring criteria described in Chapter 8 are applied to determine the objects that participate in each use case. This chapter describes how, for each use case, an interaction diagram is developed to depict the objects that participate in the use case and the sequence of messages passed between them. The interaction is depicted on either a sequence diagram or a communication diagram. A textual description of the object interaction is also provided in a message sequence description.

There are two main kinds of dynamic interaction modeling. Stateless dynamic interaction modeling is applied if the interaction sequence does not involve a state dependent control object. State dependent dynamic interaction modeling is applied if at least one of the objects is a state dependent control object, in which case the interaction is state dependent and necessitates the execution of a state machine. State dependent dynamic interaction modeling is particularly important in real-time embedded systems, because object interactions in these systems are frequently state dependent.

For large systems, a preliminary determination of the subsystems is usually necessary – for example, based on geographical distribution, as in distributed component-based systems described in Chapter 12. The analysis is then conducted to determine the object communication in each subsystem. Subsystem structuring is carried out in more depth during the design phase as described in Chapter 10.

Section 9.1 gives an overview of object interaction modeling. Section 9.2 describes message sequence descriptions.

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
×