![Page 1: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/1.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/2.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/3.jpg)
Smart Sensors
3
Sensing Data disseminaRon Processing
![Page 4: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/4.jpg)
Smart Sensors
4
Sensing Data disseminaRon Processing
Embedded soUware
![Page 5: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/5.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/6.jpg)
Requirements
6
Test: debug facili1es
Quick modificaRons: modularity
![Page 7: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/7.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/8.jpg)
Actor-‐based approach
8
Internal State
Behavior
MessageBox
Object
InteracRng
Concurrent
![Page 9: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/9.jpg)
• 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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/10.jpg)
• Efficient integrated debug environment
Smalltalk for test
![Page 11: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/11.jpg)
• Efficient integrated debug environment
• Extendable Debug faciliRes
Smalltalk for test
Biniou
![Page 12: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/12.jpg)
Our framework
12
ComputaRon Actor 1
CommunicaRon Actor
ComputaRon Actor 2
![Page 13: Early exploring design alterna1ves of smart sensor so5ware with actors](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/13.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/14.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/15.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/16.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/17.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/18.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022052904/55819cd5d8b42a417f8b5530/html5/thumbnails/19.jpg)
Conclusion and Future Work
19
Hardware emulaRon
ComposiRon of models of communicaRon for Sea floor
observatories