Top Banner
Mapping QoS Requirements Universidad del Pais Vasco (UPVEHU) [email protected] ArtistDesign Workshop on RealTime System Models for Schedulability Analysis
20

Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

May 11, 2018

Download

Documents

truongcong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Universidad del Pais Vasco (UPV‐EHU)[email protected]

ArtistDesign Workshop on  Real‐Time System Models for Schedulability Analysis

Page 2: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Outline

2

o Introduction

o Modeling Approacho Infrastructure View

o Specification View

o Open Issues: Mapping QoS Requirements

Page 3: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

o The concept of model in iLAND

Introduction

3

hotspot

CAU

Internet

LAPU

LAPU

GW

GW

CP

MM

MM MM

WM

WM

WS

AC

AC

CP

BUS

BUS

hotspot

CAU

Internet

LAPU

LAPU

GW

GWGW

CP

MM

MM MM

WM

WM

WS

AC

AC

CP

BUSBUS

BUSBUS

S1

EPMS

S2

S3

Elderly PeopleMonitoring System

Bloodpressure

Thermometer

Fall downdetector

Receiver node

Sender node

Central System

3

Page 4: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

SpecificationInfrastructure

Introduction

4

Service Implementations

NodesGW

Non Functional Requirements

Network Segment

Service Serv. Functional Graph of SOA

Serv. Serv.

o Identification of Domain Specific Models

Page 5: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Infrastructure View

5

o Meta‐model

Page 6: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Infrastructure View

6

o UML profileo Set of stereotypes and tagged values

o Applied to the identified UML elements

o UML diagrams and UML elements

Page 7: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Infrastructure View

7

o Services and Service Implementationso Diagrams:

o Class diagram

o Elementso Class

Page 8: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Infrastructure View

8

o Network Segments, Nodes and their resourceso Diagrams:

o Deployment diagram

o Elementso Communication path / association, Node, device (memory, processor, battery and network interface), execution environment, artefact

Page 9: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

9

o Service in SOA (SiS) / Macro_SiS

o Port

o Connector

o Service Oriented Application (SOA)

o Timeout

o Event

Page 10: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

10

o Service in SOA (SiS) / Macro_SiS

o Port

o Connector

o Service Oriented Application (SOA)

o Service in SOAo Encapsulates services defined at Infrastructure view

ServiceInput Port

Output Port

ServiceInput Port

Output Port

o Macro_SiSo Encapsulates SiS during modeling phase

o Complex graphs in a compact way 

TemperatureAcq & Filter

DataFusion

DataFusion_SiSData

concentration

CO_2Acq & Filter

SmokeAcq & Filter

PressureAcq & Filter

LightAcq & Filter

WAIT

TemperatureAcq & Filter

DataFusion

DataFusion_SiSData

Fusion

DataFusion_SiSData

Fusion

DataFusion_SiSData

concentrationData

concentrationData

concentration

CO_2Acq & Filter

SmokeAcq & Filter

PressureAcq & Filter

LightAcq & Filter

WAIT

Page 11: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

11

o Service in SOA (SiS) / Macro_SiS

o Port

o Connector

o Service Oriented Application (SOA)

o Input Porto Reception of input parameters

o Input logic:o WAIT (Default): waits for all its predecessors

o NO‐WAIT: input parameters may come from different sources

o Output Porto Sending of output parameters

o Output logic:o AND (Default): sends to all its sucessors

o Generic: custom logic described by an activity diagram

ServiceInput Port

Output Port

ServiceInput Port

Output Port

o Timeout

o Event

Page 12: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

12

o Service in SOA (SiS) / Macro_SiS

o Port

o Connector

o Service Oriented Application (SOA)

o Timeout

o Event

o Collect information exchanged among SiS

o From output ports  associated to output parameters

o To input ports  used by input parameters

o Timeoutso Maximum duration of a situation

o Operations:o Activation

o Reset

o Get  current value

Page 13: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

13

o Service in SOA (SiS) / Macro_SiS

o Port

o Connector

o Service Oriented Application (SOA)

o Timeout

o Event

o Reconfiguration at application level

o create/destroy applications and allocate/de‐allocate their corresponding resources at runtime

o Event triggering logic associated to output ports  activity diagrams

o Types:o Create: triggers a new SOA and the original SOA remains executing

o Replace: triggers a new SOA and the original SOA is destroyed

o Switch: two SOAs execute continuously and alternately

o Destroy: triggers the stop of a running SOA

Page 14: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

14

o Event

ImageSource

ImageAdapter

ANDObjectTracker

VideoStorage

VirtualFence SOA2

SWITCH

ImageSource

ImageAdapter

AND

ObjectTracker

VideoStorage

ActivityLogger

VideoMonitor

EventDisplay

AND

ANDVirtualFence

SOA1SWITCH

NO-WAIT

ImageSource

ImageAdapter

AND

ObjectTracker

VideoStorage

ActivityLogger

VideoMonitor

EventDisplay

AND

ANDVirtualFence

SOA1SWITCH

ImageSource

ImageAdapter

AND

ObjectTracker

VideoStorage

ActivityLogger

VideoMonitor

EventDisplay

AND

ANDVirtualFence

SOA1SWITCH

ImageSourceImageSource

ImageAdapterImage

Adapter

AND

ObjectTrackerObjectTracker

VideoStorageVideo

Storage

ActivityLoggerActivityLogger

VideoMonitorVideo

Monitor

EventDisplayEvent

Display

AND

ANDVirtualFenceVirtualFence

SOA1SWITCH

NO-WAIT

Page 15: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

15

o Meta‐model

Page 16: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

16

o UML profileo Set of stereotypes and tagged values

o Applied to the identified UML elements

o UML diagrams and UML elements

Page 17: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

17

o Diagrams:o Service graph  component diagram

o Output port logic  activity diagram

o Elements:o SiS  Component

o Input port, output port  Port

o Infrastructure Service association  Component realization

Page 18: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

18

o Elements:o Connectors (Data Flow) 

o Outputs  Interface Realization

o Inputs  Interface Usage

Page 19: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements

Specification View

19

o Elements:o SOA  Component

o Reconfiguration event  Dependency

Page 20: Mapping Requirements - ArtistDesign NoE - Home Page UML diagrams and UML elements Mapping QoS Requirements Specification View 17 o Diagrams: o Service graph component diagram o Output

Mapping QoS Requirements 20

Application Modeling Tool

Compositor

Schedulability Analysis & Resource Manager

Open Issues: Mapping QoS Requirements

ServiceInput Port

Output Port

ServiceInput Port

Output PortSOA

•SOA QoS: 

end to end latency, fps

• Reconfiguration QoS:

Maximum delay to video monitoringmaximun  delay to video storage

• maximum latency of a SiS 

Selection of Service Implementations(Execution Graph)