Early exploring design alterna1ves of smart sensor so5ware with actors

493 views
393 views

Published on

Early exploring design alterna1ves of smart sensor so5ware with actors

Jean-Philippe Schneider, Zoé Drey, Jean-Christophe Le Lann
IWST 2013 – September, 10th 2013

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
493
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Early exploring design alterna1ves of smart sensor so5ware with actors

  1. 1. Early  exploring  design   alterna1ves  of  smart  sensor   so5ware  with  actors   Jean-­‐Philippe  Schneider,  Zoé  Drey,   Jean-­‐Christophe  Le  Lann   IWST  2013  –  September,  10th  2013  
  2. 2. Cabled  Seafloor  Observatory   Source:  MeDON  project  (hKp://medon.info)   2   Sensors   Servers   Large  amount  of  generated  data  to  handle  
  3. 3. Smart  Sensors   3   Sensing   Data   disseminaRon  Processing  
  4. 4. Smart  Sensors   4   Sensing   Data   disseminaRon  Processing   Embedded  soUware  
  5. 5. Prototyping   1.  Enable  to  quickly  design  various  alternaRves   of  architectures:   –  ComputaRon   –  CommunicaRon     2.  Test  the  alternaRves  and  help  to  make  a   choice   5  
  6. 6. Requirements   6   Test:  debug  facili1es   Quick  modificaRons:  modularity  
  7. 7. Modularity   7   Composite  structure   P1   P2   P3   Sensor  1   Seafloor   Sensor  2   SeparaRon  of  computaRon  and  communicaRon  
  8. 8. Actor-­‐based  approach   8   Internal   State   Behavior   Message Box   Object   InteracRng   Concurrent  
  9. 9. •  Actors  are  easy  to  implement   •  Good  abstracRons  for  handling  composiRon   Smalltalk  for  modularity  
  10. 10. •  Efficient  integrated  debug  environment   Smalltalk  for  test  
  11. 11. •  Efficient  integrated  debug  environment   •  Extendable  Debug    faciliRes   Smalltalk  for  test   Biniou  
  12. 12. Our  framework   12   ComputaRon   Actor  1   CommunicaRon   Actor   ComputaRon   Actor  2  
  13. 13. Our  framework   13   Agile  architecture   SeparaRon  of  concerns   ComputaRon   Actor  1   CommunicaRon   Actor   ComputaRon   Actor  2  
  14. 14. Our  framework   14   ComputaRon   Actor  1   CommunicaRon   Actor   ComputaRon   Actor  2   Put   Get   Data  Ack   Smalltalk  defineClass:  #Message          isPut                  ^false.          isGet                  ^false.   …  
  15. 15. Our  framework   15   Smalltalk  defineClass:  #Get          superclass:  #{Message}          instanceVariableNames:  'consumer  ‘          isGet                  ^true.   ComputaRon   Actor  1   CommunicaRon   Actor   ComputaRon   Actor  2   Put   Get   Data  Ack  
  16. 16. 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  
  17. 17. Our  framework   17   readerMq  :=  getMessage  consumer.   isPutReceived  :=  false.   [isPutReceived  not]  whileTrue:   […]   ComputaRon   Actor  1   CommunicaRon   Actor   ComputaRon   Actor  2   Put   Get   Data  Ack  
  18. 18. Conclusion  and  Future  Work   18   Agile  architecture  for  quick  design   and  test   Well-­‐suited  environment  for  fast   prototyping  
  19. 19. Conclusion  and  Future  Work   19   Hardware  emulaRon   ComposiRon  of  models  of   communicaRon  for  Sea  floor   observatories  

×