09.08.2013 Views

Architecture Modeling - SPES 2020

Architecture Modeling - SPES 2020

Architecture Modeling - SPES 2020

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

can be uused<br />

to generate<br />

the arch hitecture. Whhen<br />

specifyin ng requireme ents there is nno<br />

strict typin ng like int<br />

or real but<br />

there are categories th hat specify wwhat<br />

is described<br />

by the different d attribbutes.<br />

To not ccomplicate<br />

thhe<br />

language e too much and to be also a expressive<br />

enough the set of supported s<br />

attributess<br />

has to be ccarefully<br />

chosen:<br />

Event<br />

Events repreesent<br />

the act tivity in the syystem.<br />

An ev vent can be for f example a received signal,<br />

a<br />

uuser<br />

input byy<br />

a pressed button, b a commputational<br />

result r or the change of a value. Event ts occur<br />

aat<br />

one point of time and have h no duraation<br />

in time. .<br />

CCondition<br />

A condition is<br />

a logic and d/or arithmetiic<br />

expression n based on variables v andd<br />

the status of<br />

eevents.<br />

Condditions<br />

can be b used in twwo<br />

different ways w in patter rns. On the oone<br />

hand the ey can be<br />

uused<br />

as pseudo<br />

events to t trigger an action if the condition becomes<br />

true. On the other<br />

hand<br />

tthe<br />

conditionn<br />

can be the system statee<br />

that has to hold for a sp pecified time.<br />

The values s the<br />

ccondition<br />

is bbased<br />

on ma ay change wiith<br />

time only.<br />

IInterval<br />

Intervals desscribe<br />

a cont tinuous fragmment<br />

of time which can ha ave relative aand<br />

quantita ative time<br />

mmeasures<br />

ass<br />

delimiters or o events. Inttervals<br />

can be b open “]x,y[“<br />

or closed “ “[x,y]” or a<br />

ccombination<br />

of them.<br />

JJitter<br />

JJitter<br />

of an eevent<br />

is the variation<br />

in thhe<br />

point of tim me of occurre ence in a reaal<br />

time contex xt. In this<br />

ddocument<br />

jittter<br />

is conside ered as alwaays<br />

positive, i.e. the even nt is delayed. .<br />

CComponentt<br />

CComponentss<br />

refer to entities<br />

that aree<br />

able to hand dle events or r condition vaariables.<br />

Typ pically<br />

tthese<br />

compoonents<br />

refer to t an actual architecture, , but in early design stagees,<br />

where the<br />

system<br />

hhas<br />

not beenn<br />

designed completely c thhere<br />

are also “possible” component<br />

naames<br />

allowe ed. These<br />

iidentifiers<br />

caan<br />

either be used u to geneerate<br />

the mis ssing architec cture or be mmapped<br />

to the<br />

design<br />

iin<br />

later development<br />

stag ges.<br />

6.1.1 PPattern<br />

sppecification<br />

In this ssection<br />

the different pat tterns get described<br />

in more detail.<br />

The patterns<br />

are liste ed in the<br />

previoussly<br />

mentioned<br />

categories s. Some of tthe<br />

patterns can be use ed to expresss<br />

requireme ents from<br />

more thaan<br />

one cateegory.<br />

Althou ugh there arre<br />

only listed d in the mos st used cateegory,<br />

other applying<br />

categoriees<br />

are menttioned<br />

in the e descriptionn.<br />

For each pattern the syntax and a descriptio on of the<br />

semanticcs<br />

are providded.<br />

In secti ion 6.1.2 wee<br />

give an exe emplary view w on the formmal<br />

semantics<br />

of the<br />

observerr<br />

of a patternn<br />

that is used d to verify thee<br />

correct beh havior of a co omponent aggainst<br />

a requirement.<br />

6.1.1.1<br />

Functionnal<br />

Pattern n:<br />

<strong>Architecture</strong> <strong>Modeling</strong><br />

The funcctional<br />

patterns<br />

describe e relationshipps<br />

between events, cond dition and suubjects.<br />

For example<br />

events ccan<br />

depend on other ev vents or connditions<br />

have e to hold af fter an evennt<br />

has occurred.<br />

This<br />

pattern ccan<br />

be usedd<br />

to express the functional<br />

behavior of a system.<br />

Since all paatterns<br />

have e optional<br />

interval aattributes,<br />

thhese<br />

patterns s can also bbe<br />

used to ex xpress simple<br />

timing connstraints.<br />

On n the one<br />

hand theese<br />

constrains<br />

may refer<br />

to events and conditio ons, on the other o hand tthese<br />

constrains<br />

may<br />

refer to rreal<br />

time.<br />

Functionnal<br />

pattern coonsist<br />

of a tr rigger and ann<br />

action. If the<br />

trigger oc ccurs, the paattern<br />

“starts”<br />

and the<br />

action haas<br />

to occur tooo.<br />

110/ 156

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

Saved successfully!

Ooh no, something went wrong!