23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

192 Modelling <strong>of</strong> Concurrent <strong>Reactive</strong> Behaviour<br />

static links and excludes the use <strong>of</strong> dynamic links. Weakly distributed communication<br />

uses dynamic links and excludes the use <strong>of</strong> autistic communication. In practice an object<br />

can use a mixed form <strong>of</strong> communication. In such a case individual communications can<br />

be characterised to be in a strongly distributed fashion or weakly distributed fashion.<br />

6.4.5 Static and Dynamic Linking<br />

The concepts <strong>of</strong> physical and logical distribution as well as the concepts <strong>of</strong> weak and<br />

strong distribution do not specify whether the number <strong>of</strong> links <strong>of</strong> a process is static<br />

or dynamic. In general, the design <strong>of</strong> hardware, s<strong>of</strong>tware and mixed systems requires<br />

attention for dynamic and static connectivity.<br />

A process object is statically linked if it has a fixed collection <strong>of</strong> communication partners.<br />

A process is dynamically linked if it has a dynamic collection <strong>of</strong> communication partners.<br />

A dynamically linked process has static links available for all potential communication<br />

partners. In addition however, the concept <strong>of</strong> dynamic linking specifies that dynamic<br />

links are available and are dynamically used. This means that an object has a flexible<br />

number <strong>of</strong> identifiers <strong>of</strong> the communication partners. When we relate weak and strong<br />

Statically Linked Dynamically Linked<br />

Weakly Distributed fixed set <strong>of</strong> dynamic links variable set <strong>of</strong> dynamic links<br />

Strongly Distributed autistic communication (not applicable)<br />

Table 6.1: Distributed Communication Fashions<br />

distribution to static and dynamic linking we observe various types <strong>of</strong> collaboration (see<br />

Table 6.1). Process objects are always statically interconnected via channels and their<br />

message interfaces are also statically determined in the class descriptions. So for all<br />

cases there is a fixed set <strong>of</strong> static links. A weakly distributed process can in principle<br />

obtain or transfer identifiers <strong>of</strong> communication partners (process objects) so that it can<br />

have a variable set <strong>of</strong> dynamic links. Such a process is dynamically linked. If its set<br />

<strong>of</strong> dynamic links is constrained to be fixed the process is statically linked. A strongly<br />

distributed module (subsystem) always communicates autistically. Dynamic linking is<br />

then not applicable.<br />

So the meaning <strong>of</strong> static linking appears to be context dependent:<br />

Static linking implies a fixed set <strong>of</strong> identifiers in a weakly distributed case.<br />

Static linking implies the connection by static channels in a strongly distributed<br />

case.<br />

So there are several definitions <strong>of</strong> forms <strong>of</strong> distribution. These forms are not always<br />

directly visible in a model. Most complex systems will contain a mix <strong>of</strong> various forms<br />

on various hierarchical levels. Physical distribution can be shown explicitly by a distribution<br />

boundary. However, weak and strong distribution are not shown as distribution<br />

boundaries. They are forms <strong>of</strong> logical distribution. These concepts can be used to reason<br />

about the constructs to be used in the behaviour description <strong>of</strong> (a part <strong>of</strong>) the system.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!