(Re-)configura.on of Communica.on Networks in the Context - - PowerPoint PPT Presentation

re configura on of communica on networks in the context
SMART_READER_LITE
LIVE PREVIEW

(Re-)configura.on of Communica.on Networks in the Context - - PowerPoint PPT Presentation

(Re-)configura.on of Communica.on Networks in the Context of M2M Applica.ons Iulia Nica and Franz Wotawa Technische Universitt Graz Ins6tute for


slide-1
SLIDE 1

(Re-­‑)configura.on ¡of ¡ Communica.on ¡Networks ¡in ¡the ¡ Context ¡of ¡M2M ¡Applica.ons ¡ ¡

Iulia ¡Nica ¡and ¡Franz ¡Wotawa ¡ Technische ¡Universität ¡Graz ¡ Ins6tute ¡for ¡So:ware ¡Technology ¡ 8010 ¡Graz, ¡Inffeldgasse ¡16b/2, ¡Austria ¡ wotawa@ist.tugraz.at

Research ¡par6ally ¡funded ¡within ¡the ¡BRIDGE ¡research ¡project ¡Simula6on ¡and ¡ Configura6on ¡of ¡Mobile ¡networks ¡with ¡M2M ¡Applica6ons ¡(SIMOA) ¡

slide-2
SLIDE 2

Mo.va.on ¡

slide-3
SLIDE 3

System ¡architecture ¡

slide-4
SLIDE 4

SIMOA ¡M2M ¡GUI ¡

slide-5
SLIDE 5

SIMOL ¡

  • General ¡purpose ¡

modeling ¡language ¡

  • Syntax ¡close ¡to ¡Java ¡
  • OO ¡ ¡
  • bool, ¡int, ¡arrays ¡
  • Equa6on/constraint ¡

based ¡seman6cs ¡

slide-6
SLIDE 6

kbase GPRSCell; component P2PMeter { attribute int mdist,codeset,mRate; constraints { mdist = {1..3}; codeset = {1..4}; } } component FPC { attribute int value; constraints(default) { value = 1; } constraints(x1) { value = {2..4}; } constraints(unknown) { } }

Constraints ¡ Behavior ¡modes ¡

slide-7
SLIDE 7

component BTS { attribute int fpc; constraints { FPC fpc1; fpc = fpc1.value; } } component Cell { attribute int neededR, realR; constraints { BTS b1; P2PMeter s[100]; realR = sum([s], mRate)/P2PNo; realR >= neededR; .. } transition { forall ( P2PMeter ) { if (mdist = 1 and codeset = 2) codeset.next = {2,3}; if (mdist = 3 and codeset = 2) codeset.next = {2,1}; } } }

new ¡instance ¡of ¡FPC ¡ sum ¡constraint ¡ state ¡transi.on ¡ condi.onal ¡ constraint ¡

slide-8
SLIDE 8

Seman.cs ¡of ¡SIMOL ¡

kbase GPRSCell; component P2PMeter { .... constraints { mdist = {1..3}; codeset = {1..4}; } } component Cell { .... P2PMeter s[100]; .... }

cell _ s_1_ p2pmeter _ diss ∈ 1,2,3

{ }

cell _ s_2_ p2pmeter _ diss ∈ 1,2,3

{ }

 cell _ s_100_ p2pmeter _ diss ∈ 1,2,3

{ }

 p2pmeter _ mdist ∈ 1,2,3

{ }

p2pmeter _codeset ∈ 1,2,3,4

{ }

slide-9
SLIDE 9

Seman.cs ¡of ¡SIMOL ¡(II) ¡

kbase GPRSCell; component P2PMeter { .... constraints { mdist = {1..3}; codeset = {1..4}; } } component MyP2PMeter extends P2PMeter { .... constraints { mdist = 1; } }

p2pmeter _ mdist ∈ 1,2,3

{ }

p2pmeter _codeset ∈ 1,2,3,4

{ }

myp2pmeter _ mdist ∈ 1,2,3

{ }

myp2pmeter _ mdist =1 myp2pmeter _codeset ∈ 1,2,3,4

{ }

slide-10
SLIDE 10

Summary ¡SIMOL ¡

  • Syntax ¡close ¡to ¡Java ¡
  • Seman6cs ¡represented ¡as ¡set ¡of ¡equa6ons/

constraints ¡

  • Implementa6on: ¡ ¡

– Mapping ¡to ¡MINION ¡constraints ¡

slide-11
SLIDE 11

Reconfigura.on ¡engine ¡

  • Based ¡on ¡finding ¡

modes ¡that ¡allow ¡ fulfilling ¡the ¡ requirements ¡

  • Use ¡CSP ¡solver ¡

(Minion) ¡

slide-12
SLIDE 12

Underlying ¡idea ¡

  • The ¡component ¡modes ¡

can ¡be ¡changed ¡by ¡the ¡ reasoning ¡engine ¡

  • Search ¡for ¡component ¡

modes ¡such ¡that ¡there ¡ is ¡no ¡contradic6on ¡with ¡ requirements ¡

  • Reconfigura6on ¡as ¡

diagnosis ¡

component FPC { attribute int value; constraints(default) { value = 1; } constraints(x1) { value = {2..4}; } constraints(unknown) { } } Requirement: value = {4,5}

slide-13
SLIDE 13

Formal ¡defini.ons... ¡

slide-14
SLIDE 14

... ¡up ¡to ¡minimality ¡

slide-15
SLIDE 15

Implementa.on ¡

  • Based ¡on ¡constraint ¡solver ¡MINION ¡
  • Algorithm ¡close ¡to ¡model-­‑based ¡diagnosis ¡
slide-16
SLIDE 16
slide-17
SLIDE 17

SOME ¡LESSONS ¡LEARNED ¡

slide-18
SLIDE 18

Lesson ¡1 ¡

  • Using ¡the ¡right ¡reasoning ¡engine ¡in ¡the ¡right ¡

way ¡is ¡the ¡key! ¡

slide-19
SLIDE 19

Coding ¡is ¡essen.al ¡

slide-20
SLIDE 20

Logic ¡gates ¡ encoded ¡ using ¡truth ¡ tables ¡ Logic ¡gates ¡ encoded ¡ using ¡ integer ¡ constraints ¡ directly ¡

slide-21
SLIDE 21

Lesson ¡2 ¡

  • Modeling ¡is ¡the ¡key! ¡

– Modeling ¡is ¡not ¡that ¡easy ¡ – Modeling ¡languages ¡are ¡hardly ¡used ¡ – Training ¡is ¡essen6al ¡(but ¡requires ¡6me ¡and ¡effort ¡

  • n ¡side ¡of ¡the ¡industrial ¡partners) ¡
slide-22
SLIDE 22

Lesson ¡3 ¡

  • Bringing ¡research ¡into ¡(daily) ¡prac6ce ¡is ¡hard ¡

– Addi6onal ¡effort ¡and ¡money ¡needed ¡ – Both ¡is ¡hard ¡to ¡get ¡(even ¡in ¡case ¡industry ¡is ¡happy ¡ with ¡the ¡obtained ¡project ¡results) ¡

slide-23
SLIDE 23

Conclusions ¡

slide-24
SLIDE 24

QUESTIONS? ¡