Early exploring design alterna1ves of smart sensor so5ware with actors

19
Early exploring design alterna1ves of smart sensor so5ware with actors JeanPhilippe Schneider , Zoé Drey, JeanChristophe Le Lann IWST 2013 – September, 10th 2013

description

Early exploring design alterna1ves of smart sensor so5ware with actors Jean-Philippe Schneider, Zoé Drey, Jean-Christophe Le Lann IWST 2013 – September, 10th 2013

Transcript of Early exploring design alterna1ves of smart sensor so5ware with actors

Page 1: Early exploring design alterna1ves of smart sensor so5ware with actors

Early  exploring  design  alterna1ves  of  smart  sensor  

so5ware  with  actors  

Jean-­‐Philippe  Schneider,  Zoé  Drey,  Jean-­‐Christophe  Le  Lann  

IWST  2013  –  September,  10th  2013  

Page 2: Early exploring design alterna1ves of smart sensor so5ware with actors

Cabled  Seafloor  Observatory  

Source:  MeDON  project  (hKp://medon.info)  

2  

Sensors  Servers  

Large  amount  of  generated  data  to  handle  

Page 3: Early exploring design alterna1ves of smart sensor so5ware with actors

Smart  Sensors  

3  

Sensing   Data  disseminaRon  Processing  

Page 4: Early exploring design alterna1ves of smart sensor so5ware with actors

Smart  Sensors  

4  

Sensing   Data  disseminaRon  Processing  

Embedded  soUware  

Page 5: Early exploring design alterna1ves of smart sensor so5ware with actors

Prototyping  

1.  Enable  to  quickly  design  various  alternaRves  of  architectures:  –  ComputaRon  –  CommunicaRon  

 

2.  Test  the  alternaRves  and  help  to  make  a  choice  

5  

Page 6: Early exploring design alterna1ves of smart sensor so5ware with actors

Requirements  

6  

Test:  debug  facili1es  

Quick  modificaRons:  modularity  

Page 7: Early exploring design alterna1ves of smart sensor so5ware with actors

Modularity  

7  

Composite  structure  

P1   P2   P3  

Sensor  1  

Seafloor  

Sensor  2  

SeparaRon  of  computaRon  and  communicaRon  

Page 8: Early exploring design alterna1ves of smart sensor so5ware with actors

Actor-­‐based  approach  

8  

Internal  State  

Behavior  

MessageBox  

Object  

InteracRng  

Concurrent  

Page 9: Early exploring design alterna1ves of smart sensor so5ware with actors

•  Actors  are  easy  to  implement  

•  Good  abstracRons  for  handling  composiRon  

Smalltalk  for  modularity  

Page 10: Early exploring design alterna1ves of smart sensor so5ware with actors

•  Efficient  integrated  debug  environment  

Smalltalk  for  test  

Page 11: Early exploring design alterna1ves of smart sensor so5ware with actors

•  Efficient  integrated  debug  environment  

•  Extendable  Debug    faciliRes  

Smalltalk  for  test  

Biniou  

Page 12: Early exploring design alterna1ves of smart sensor so5ware with actors

Our  framework  

12  

ComputaRon  Actor  1  

CommunicaRon  Actor  

ComputaRon  Actor  2  

Page 13: Early exploring design alterna1ves of smart sensor so5ware with actors

Our  framework  

13  

Agile  architecture  

SeparaRon  of  concerns  

ComputaRon  Actor  1  

CommunicaRon  Actor  

ComputaRon  Actor  2  

Page 14: Early exploring design alterna1ves of smart sensor so5ware with actors

Our  framework  

14  

ComputaRon  Actor  1  

CommunicaRon  Actor  

ComputaRon  Actor  2  

Put   Get  

Data  Ack  

Smalltalk  defineClass:  #Message          isPut                  ^false.          isGet                  ^false.  …  

Page 15: Early exploring design alterna1ves of smart sensor so5ware with actors

Our  framework  

15  

Smalltalk  defineClass:  #Get          superclass:  #{Message}          instanceVariableNames:  'consumer  ‘          isGet                  ^true.  

ComputaRon  Actor  1  

CommunicaRon  Actor  

ComputaRon  Actor  2  

Put   Get  

Data  Ack  

Page 16: Early exploring design alterna1ves of smart sensor so5ware with actors

Our  framework  

16  

message  :=  messageQueue  next.  (message  isGet)  ifTrue:  [        shouldConRnue  :=  (self  getReceived:  message).  ].  

ComputaRon  Actor  1  

CommunicaRon  Actor  

ComputaRon  Actor  2  

Put   Get  

Data  Ack  

Page 17: Early exploring design alterna1ves of smart sensor so5ware with actors

Our  framework  

17  

readerMq  :=  getMessage  consumer.  isPutReceived  :=  false.  [isPutReceived  not]  whileTrue:  […]  

ComputaRon  Actor  1  

CommunicaRon  Actor  

ComputaRon  Actor  2  

Put   Get  

Data  Ack  

Page 18: Early exploring design alterna1ves of smart sensor so5ware with actors

Conclusion  and  Future  Work  

18  

Agile  architecture  for  quick  design  and  test  

Well-­‐suited  environment  for  fast  prototyping  

Page 19: Early exploring design alterna1ves of smart sensor so5ware with actors

Conclusion  and  Future  Work  

19  

Hardware  emulaRon  

ComposiRon  of  models  of  communicaRon  for  Sea  floor  

observatories