1. Process-Based Design and
Integration of Wireless Sensor
Network Applications
Stefano Tranquillini, Patrik Spieß, Florian Daniel, Stamatis Karnouskos,
Fabio Casati, Nina Oertel, Luca Mottola, Felix Jonathan Oppermann,
Gian Pietro Picco, Kay Römer, and Thiemo Voigt
BPM 2012 - September 4, 2012, Tallinn, Estonia (Europe)
2. The aim is..
To ease the programming of
Wireless Sensor Network (WSN) applications,
leveraging on the intrinsic process based nature
6. Wireless Sensor Networks
Sensors & Actuators Room: MOON
Temp CO2
Few to many Ventilation
Collaboration
Distributed Presence
Gateway
7. Wireless Sensor Networks
Sensors & Actuators Room: MOON
Temp CO2
Few to many Ventilation
Collaboration
Distributed Presence
Gateway
WSNs are stand-alone systems, coded by highly skilled
programmers
18. Related Work
Expose sensors as web services Orchestrate sensor web services
GWELS
Cobis
Amundson et al.
Socrades
Guinard et al.
19. Related Work
Expose sensors as web services Orchestrate sensor web services
GWELS
Cobis
Amundson et al.
Socrades
Guinard et al.
Sperner & Meyer (Iot-A)
Extend process language for sensors
20. Related Work
Expose sensors as web services Orchestrate sensor web services
GWELS
Cobis
Amundson et al.
Socrades
Guinard et al.
Sperner & Meyer (Iot-A) Caracas et al.
Extend process language for sensors Process based code generation
21. Our idea
To develop a
business process modeling notation
that allows the integrated development
of both the BP and the WSN logic
23. Requirements
Modeling
Model WSN topology and capabilities
Abstract WSN operations into high-level modeling constructs
Express WSN and BP logic and optimization objectives
Provide a dedicated modeling environment
24. Requirements
Modeling
Model WSN topology and capabilities
Abstract WSN operations into high-level modeling constructs
Express WSN and BP logic and optimization objectives
Provide a dedicated modeling environment
Deployment
Generate binary code for WSN and endpoints for the communication
Automatically deploy the process logic over the WSN and the BP engine
25. Requirements
Modeling
Model WSN topology and capabilities
Abstract WSN operations into high-level modeling constructs
Express WSN and BP logic and optimization objectives
Provide a dedicated modeling environment
Deployment
Generate binary code for WSN and endpoints for the communication
Automatically deploy the process logic over the WSN and the BP engine
Runtime
Support the execution of the business process and of the WSN
26. Architecture: Modeling
Application Process and WSN
System Logic compositions
developer
developer
BPMN4WSN editor
WSN Logic
Process
Composition
System
description
Design time
27. Architecture: Modeling
Application Process and WSN
System Logic compositions
developer
developer
BPMN4WSN editor
WSN Logic
Process
Composition
System
description
Design time
28. Architecture: Modeling
Application Process and WSN
System Logic compositions
developer
developer
BPMN4WSN editor
WSN Logic
Process
Composition
System
description
Design time
29. Architecture: Modeling
Application Process and WSN
System Logic compositions
developer
developer
BPMN4WSN editor
WSN Logic
Process
Composition
System
description
Design time
34. WSN Conceptual Model
WSN Has
Node
Operation
Represents
WSN
Task
Sense Actuate Aggregate
35. WSN Conceptual Model
WSN Has
Node
Operation
Represents
WSN
Task
Sense Actuate Aggregate
instance of
instance of
instance of
CO2 Ventilation AVG
36. WSN Conceptual Model
WSN Has
Node
Operation
Represents
Has WSN
EoI
Task
Location Thing Sense Actuate Aggregate
instance of
instance of
instance of
CO2 Ventilation AVG
37. WSN Conceptual Model
WSN Has
Node
Operation
Represents
Covered by BPMN4WSN
Has WSN
EoI
Task
Location Thing Sense Actuate Aggregate
instance of
instance of
instance of
CO2 Ventilation AVG
38. WSN Conceptual Model
WSN Has
Node
Operation
Represents
Covered by BPMN4WSN
Has WSN WSN
EoI Logic construct
Task
Location Thing Sense Actuate Aggregate
instance of
instance of
instance of
CO2 Ventilation AVG
39. WSN Conceptual Model
WSN Has
Node
Operation
Represents
Covered by BPMN4WSN
Has WSN WSN
EoI Logic construct
Task
Location Thing Sense Actuate Aggregate Tell Report Collect Local
instance of
instance of
instance of
CO2 Ventilation AVG
collective action local action
tell action report action
40. WSN Conceptual Model
WSN Has
Node
Operation
Represents
Covered by BPMN4WSN
Has WSN WSN
EoI Logic construct
Task
Location Thing Sense Actuate Aggregate Tell Report Collect Local
instance of
instance of
instance of
CO2 Ventilation AVG
41. WSN Conceptual Model
WSN Has
Node
Operation
Represents Has target
Covered by BPMN4WSN
Has WSN WSN
EoI Logic construct
Task
Location Thing Sense Actuate Aggregate Tell Report Collect Local
instance of
instance of
instance of
CO2 Ventilation AVG
42. WSN Conceptual Model
WSN Has
Node
Operation
Represents Has target
Covered by BPMN4WSN WSN logic composition
Has WSN WSN
EoI Logic construct
Task
Location Thing Sense Actuate Aggregate Tell Report Collect Local
instance of
instance of
instance of
CO2 Ventilation AVG
72. Code Generation and Deployment
Sequence Flow is the main logic of the WSN program
example if we have time
73. Code Generation and Deployment
Sequence Flow is the main logic of the WSN program
Internal WSN task specification is the node logic
example if we have time
74. Code Generation and Deployment
Sequence Flow is the main logic of the WSN program
Internal WSN task specification is the node logic
Task EOIs are used for targeting the actions
example if we have time
75. Code Generation and Deployment
Sequence Flow is the main logic of the WSN program
Internal WSN task specification is the node logic
Task EOIs are used for targeting the actions
Annotations specify WSN performance goal
example if we have time
76. Code Generation and Deployment
Sequence Flow is the main logic of the WSN program
Internal WSN task specification is the node logic
Task EOIs are used for targeting the actions
Annotations specify WSN performance goal
Code deployed over the WSN (gateways)
example if we have time
77. Architecture: Deploy and Runtime
BPMN4WSN Compiler WSNs
Process analysis
Binary code
generation
Binary code
End point
generation
Application Process and WSN
System Logic compositions
developer
developer
Communication proxy
BPMN4WSN editor Proxy
configuration
WSN Logic
Process
Composition
System Process engine
description
Executable
process
Design time Deployment time Runtime
84. Summary
We propose a process-based modeling
notation for the design of WSN applications
85. Summary
We propose a process-based modeling
notation for the design of WSN applications
Abstract low-level WSN operations into high-level
modeling constructs hiding network details
86. Summary
We propose a process-based modeling
notation for the design of WSN applications
Abstract low-level WSN operations into high-level
modeling constructs hiding network details
Specify high-level and low-level application logic via
an integrated modeling environment
87. Summary
We propose a process-based modeling
notation for the design of WSN applications
Abstract low-level WSN operations into high-level
modeling constructs hiding network details
Specify high-level and low-level application logic via
an integrated modeling environment
Translation, deployment and execution of the code in
the BP engine and WSN, creating the communication
channels.
88. THANKS
it’s time for questions
Stefano Tranquillini
tranquillini@disi.unitn.it
www.project-makesense.eu