UML Tutorial for Beginners
Blog containing resources for uml like lecture notes, lecture videos, lab manual, uml diagrams, objective bits, important questions and more.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.

Categories: Architectural Modeling. No Comments on Deployment
4.7
(7)

Introduction

 

A node is a physical element that exists at runtime and represents a computational resource, generally having atleast some memory and, often, processing capability.

 

We use nodes to model the topology of the hardware on which our system executes. A node typically represents a processor or a device on which components may be deployed.

 

When we architect a software-intensive system, we have to consider both its logical and physical dimensions. On the logical side, you’ll find things such as classes, interfaces, collaborations, interactions and state machines. On the physical side you’ll find components and nodes.

 


Subscribe to our monthly newsletter. Get notified about latest articles, offers and contests.


In UML, a node is represented as a cube as shown below. Using stereotypes we can tailor this notation to represent specific kinds of processors and devices.

 

1-node

2-nodes

 

Nodes and Components

 

In many ways, nodes are like components: Both have names, both may participate in dependency, generalization and association relationships. Both may be nested, both may have instances, both may be participants in interactions. However, there are significant differences between nodes and components:

  • Components are things that participate in the execution of a system. Nodes are things that execute components.
  • Components represent the physical packaging of logical elements, nodes represent the physical deployment of components.

 

This first difference is the most important. Simply put, nodes execute components; components are things that are executed by nodes.

 

A set of objects or components that are allocated to a node as a group is called a distribution unit.

 

3-nodes-vs-components

 

Connections

 

The most common kind of relationship we’ll use among nodes is an association. In this context, an association represents a physical connection among nodes, such as an Ethernet connection, a serial line, or a shared bus as shown below. We can even use associations to model indirect connections, such as a satellite link between distant processors.

 

4-connections

 

Common Modeling Techniques

 

Modeling processors and devices

 

To model processors and devices:

  • Identify the computational elements of your system’s deployment view and model each as a node.
  • If these elements represent generic processors and devices, then stereotype them as such. If they are kinds of processors and devices that are part of the vocabulary of your domain, then specify an appropriate stereotype with an icon for each.
  • As with class modeling, consider the attributes and operations that might apply to each node.

 

5-modeling-processors-and-devices

 

Modeling the distribution of components

 

To model the distribution of components:

  • For each significant component in your system, allocate it to a given code.
  • Consider duplicate locations for components.
  • Render this allocation in one of the three ways:
  1. Don’t make the allocation visible, but leave it as part of the backplane of your model that is, in each node’s specification.
  2. Using dependency relationships, connect each node with the components it deploys.
  3. List the components deployed on a node in an additional compartment.

 

6-modeling-distribution-of-components

 

How useful was this post?

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Suryateja Pericherla

Suryateja Pericherla, at present is a Research Scholar (full-time Ph.D.) in the Dept. of Computer Science & Systems Engineering at Andhra University, Visakhapatnam. Previously worked as an Associate Professor in the Dept. of CSE at Vishnu Institute of Technology, India.

He has 11+ years of teaching experience and is an individual researcher whose research interests are Cloud Computing, Internet of Things, Computer Security, Network Security and Blockchain.

He is a member of professional societies like IEEE, ACM, CSI and ISCA. He published several research papers which are indexed by SCIE, WoS, Scopus, Springer and others.

Note: Do you have a question on this article or have a suggestion to make this article better? You can ask or suggest us by filling in the below form. After commenting, your comment will be held for moderation and will be published in 24-48 hrs.

Leave a Reply

Your email address will not be published. Required fields are marked *