Process-Based Design andIntegration of Wireless Sensor     Network Applications Stefano Tranquillini, Patrik Spieß, Floria...
The aim is..           To ease the programming of  Wireless Sensor Network (WSN) applications, leveraging on the intrinsic...
Wireless Sensor NetworksSensors & Actuators                           CO2                            Ventilation
Wireless Sensor NetworksSensors & Actuators                       Temp      CO2Few to many                       Ventilati...
Wireless Sensor NetworksSensors & Actuators                       Temp        CO2Few to many                          Vent...
Wireless Sensor NetworksSensors & Actuators   Room: MOON                         Temp        CO2Few to many               ...
Wireless Sensor NetworksSensors & Actuators                   Room: MOON                                         Temp     ...
Scenario                                                     -+                 +                                         ...
Scenario                                     Room: MARS                                                    Presence       ...
Scenario                                     Room: MARS                                                    Presence       ...
Scenario                                     Room: MARS                                             Temp                  ...
Scenario                                     Room: MARS                                             Temp                  ...
Scenario                                     Room: MARS                                             Temp                  ...
Scenario                                     Room: MARS                                             Temp                  ...
Scenario                                     Room: MARS                                             Temp                  ...
Related Work
Related Work Expose sensors as web services           Cobis          Socrades
Related Work Expose sensors as web services   Orchestrate sensor web services                                           GW...
Related Work  Expose sensors as web services      Orchestrate sensor web services                                         ...
Related Work  Expose sensors as web services      Orchestrate sensor web services                                         ...
Our idea                 To develop a     business process modeling notation   that allows the integrated development     ...
Requirements
Requirements Modeling   Model WSN topology and capabilities   Abstract WSN operations into high-level modeling constructs ...
Requirements Modeling   Model WSN topology and capabilities   Abstract WSN operations into high-level modeling constructs ...
Requirements Modeling   Model WSN topology and capabilities   Abstract WSN operations into high-level modeling constructs ...
Architecture: Modeling                              Application   Process and WSN System                                  ...
Architecture: Modeling                              Application   Process and WSN System                                  ...
Architecture: Modeling                              Application   Process and WSN System                                  ...
Architecture: Modeling                              Application   Process and WSN System                                  ...
WSN Conceptual Model
WSN Conceptual Model                       Node
WSN Conceptual Model           WSN        Has                            Node          Operation
WSN Conceptual Model           WSN              Has                                  Node          Operation              ...
WSN Conceptual Model                 WSN                     Has                                               Node       ...
WSN Conceptual Model                                     WSN                                      Has                     ...
WSN Conceptual Model                                                              WSN                                     ...
WSN Conceptual Model                                                               WSN                                    ...
WSN Conceptual Model                                                               WSN                                    ...
WSN Conceptual Model                                                               WSN                                    ...
WSN Conceptual Model                                                               WSN                                    ...
WSN Conceptual Model                                                               WSN                                    ...
WSN Conceptual Model                                                               WSN                                    ...
Modeling: BPMN4WSN
Modeling: BPMN4WSN      WSN Aware      Intra WSN
Modeling: BPMN4WSN      WSN Aware      Intra WSN                  Read CO2                  Room: Moon
Modeling: BPMN4WSN      WSN Aware      Intra WSN                  Read CO2                  Room: Moon
Modeling: BPMN4WSN      WSN Aware                  Performance      Intra WSN                         Read CO2            ...
Modeling: WSN logic composition Read CO2 Room: Moon
Modeling: WSN logic composition Read CO2 Room: Moon              tell action   report action   collective action
Modeling: WSN logic composition Read CO2 Room: Moon              tell action   report action   collective action
Modeling: WSN logic composition Read CO2 Room: Moon              report action
Modeling: WSN logic composition Read CO2 Room: Moon              report action
Modeling: WSN logic composition Read CO2 Room: Moon                   local action                                Read    ...
Modeling: WSN logic composition                                             Report: Stream Read CO2 Room: Moon            ...
Modeling: editor    Extension of signavio core components       http://code.google.com/p/signavio-core-components/
Modeling: Pools
Modeling: WSN Task
Modeling: Performance Annotation
Modeling: WSN logic composition
Modeling: WSN logic composition
Modeling: WSN logic composition                   report action                   local action
Modeling: Scenario
Modeling: Scenario
Code Generation and Deployment
Code Generation and Deployment       BPMN Engine
Code Generation and Deployment            BPMN EngineEndpoints
Code Generation and Deployment                BPMN EngineEndpointsSerialization
Code Generation and Deployment             BPMN EngineEndpointsSerializationTransformation
Code Generation and Deployment             BPMN EngineEndpointsSerializationTransformationCorrelation
Code Generation and Deployment             BPMN EngineEndpointsSerializationTransformationCorrelation          translation...
Code Generation and Deployment                      example if we have time
Code Generation and DeploymentSequence Flow is the main logic of the WSN program                                      exam...
Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node...
Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node...
Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node...
Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node...
Architecture: Deploy and Runtime                                                                   BPMN4WSN Compiler      ...
Future work
Future work  Code efficiency and reusability
Future work  Code efficiency and reusability  Unified modeling notation
Future work  Code efficiency and reusability  Unified modeling notation  Control Flow for WSN Nodes
Future work  Code efficiency and reusability  Unified modeling notation  Control Flow for WSN Nodes  Multi process deploymen...
Summary
Summary We propose a process-based modeling notation for the design of WSN applications
Summary We propose a process-based modeling notation for the design of WSN applications Abstract low-level WSN operations ...
Summary We propose a process-based modeling notation for the design of WSN applications Abstract low-level WSN operations ...
Summary We propose a process-based modeling notation for the design of WSN applications Abstract low-level WSN operations ...
THANKS    it’s time for questions   Stefano Tranquillini tranquillini@disi.unitn.itwww.project-makesense.eu
Upcoming SlideShare
Loading in …5
×

BPM12: Process-Based Design and Integration of Wireless Sensor Network Applications

873 views

Published on

BPM12 conference talk

Published in: Education, Technology, Business
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
873
On SlideShare
0
From Embeds
0
Number of Embeds
36
Actions
Shares
0
Downloads
0
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

BPM12: Process-Based Design and Integration of Wireless Sensor Network Applications

  1. 1. Process-Based Design andIntegration 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. 2. The aim is.. To ease the programming of Wireless Sensor Network (WSN) applications, leveraging on the intrinsic process based nature
  3. 3. Wireless Sensor NetworksSensors & Actuators CO2 Ventilation
  4. 4. Wireless Sensor NetworksSensors & Actuators Temp CO2Few to many Ventilation Presence
  5. 5. Wireless Sensor NetworksSensors & Actuators Temp CO2Few to many VentilationCollaboration Presence Gateway
  6. 6. Wireless Sensor NetworksSensors & Actuators Room: MOON Temp CO2Few to many VentilationCollaborationDistributed Presence Gateway
  7. 7. Wireless Sensor NetworksSensors & Actuators Room: MOON Temp CO2Few to many VentilationCollaborationDistributed Presence Gateway WSNs are stand-alone systems, coded by highly skilled programmers
  8. 8. Scenario -+ + Booking APRIL 12 04 12 Secretary© "G raph itec h" Convention Center Building Convention Center Information System
  9. 9. Scenario Room: MARS Presence Temp Ventilation CO2 HumidityRoom: MOON Temp CO2 Ventilation Presence -+ + Booking APRIL 12 04 12 Secretary © "G raph itec h" Convention Center Building Convention Center Information System
  10. 10. Scenario Room: MARS Presence Temp Ventilation CO2 HumidityRoom: MOON Temp CO2 Ventilation Presence -+ + Process engine Booking APRIL 12 04 12 Secretary © "G raph itec h" Convention Center Building Convention Center Information System
  11. 11. Scenario Room: MARS Temp Presence -+ + Ventilation -+ + CO2 Reporting Humidity ManagementRoom: MOON Temp CO2 Ventilation Presence -+ + Process engine Booking APRIL 12 04 12 Secretary © "G raph itec h" Convention Center Building Convention Center Information System
  12. 12. Scenario Room: MARS Temp Presence -+ + Ventilation -+ + CO2 Reporting Humidity ManagementRoom: MOON Temp CO2 Ventilation Presence -+ + Process engine Booking APRIL 12 04 12 Secretary © "G raph itec h" Convention Center Building Convention Center Information System
  13. 13. Scenario Room: MARS Temp Presence -+ + Ventilation -+ + CO2 Reporting to develop the BP logic running inside the BP engine Humidity ManagementRoom: MOON Temp CO2 Ventilation Presence -+ + Process engine Booking APRIL 12 04 12 Secretary © "G raph itec h" Convention Center Building Convention Center Information System
  14. 14. Scenario Room: MARS Temp Presence -+ + Ventilation -+ + CO2 Reporting to develop the BP logic running inside the BP engine Humidity ManagementRoom: MOON Temp CO2 Ventilation to develop the code running on the nodes inside the WSN Presence -+ + Process engine Booking APRIL 12 04 12 Secretary © "G raph itec h" Convention Center Building Convention Center Information System
  15. 15. Scenario Room: MARS Temp Presence -+ + Ventilation -+ + CO2 Reporting to develop the BP logic running inside the BP engine Humidity ManagementRoom: MOON Temp CO2 Ventilation to develop the code running on the nodes inside the WSN Presence -+ + enable the communication between the BP andBooking WSN Process engine APRIL 12 04 12 Secretary © "G raph itec h" Convention Center Building Convention Center Information System
  16. 16. Related Work
  17. 17. Related Work Expose sensors as web services Cobis Socrades
  18. 18. Related Work Expose sensors as web services Orchestrate sensor web services GWELS Cobis Amundson et al. Socrades Guinard et al.
  19. 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. 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. 21. Our idea To develop a business process modeling notation that allows the integrated development of both the BP and the WSN logic
  22. 22. Requirements
  23. 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. 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. 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. 26. Architecture: Modeling Application Process and WSN System Logic compositions developerdeveloper BPMN4WSN editor WSN Logic Process Composition System description Design time
  27. 27. Architecture: Modeling Application Process and WSN System Logic compositions developerdeveloper BPMN4WSN editor WSN Logic Process Composition System description Design time
  28. 28. Architecture: Modeling Application Process and WSN System Logic compositions developerdeveloper BPMN4WSN editor WSN Logic Process Composition System description Design time
  29. 29. Architecture: Modeling Application Process and WSN System Logic compositions developerdeveloper BPMN4WSN editor WSN Logic Process Composition System description Design time
  30. 30. WSN Conceptual Model
  31. 31. WSN Conceptual Model Node
  32. 32. WSN Conceptual Model WSN Has Node Operation
  33. 33. WSN Conceptual Model WSN Has Node Operation Represents WSN Task
  34. 34. WSN Conceptual Model WSN Has Node Operation Represents WSN Task Sense Actuate Aggregate
  35. 35. WSN Conceptual Model WSN Has Node Operation Represents WSN Task Sense Actuate Aggregate instance of instance of instance of CO2 Ventilation AVG
  36. 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. 37. WSN Conceptual Model WSN Has Node Operation RepresentsCovered by BPMN4WSN Has WSN EoI Task Location Thing Sense Actuate Aggregate instance of instance of instance of CO2 Ventilation AVG
  38. 38. WSN Conceptual Model WSN Has Node Operation RepresentsCovered by BPMN4WSN Has WSN WSN EoI Logic construct Task Location Thing Sense Actuate Aggregate instance of instance of instance of CO2 Ventilation AVG
  39. 39. WSN Conceptual Model WSN Has Node Operation RepresentsCovered 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. 40. WSN Conceptual Model WSN Has Node Operation RepresentsCovered 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. 41. WSN Conceptual Model WSN Has Node Operation Represents Has targetCovered 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. 42. WSN Conceptual Model WSN Has Node Operation Represents Has targetCovered 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
  43. 43. Modeling: BPMN4WSN
  44. 44. Modeling: BPMN4WSN WSN Aware Intra WSN
  45. 45. Modeling: BPMN4WSN WSN Aware Intra WSN Read CO2 Room: Moon
  46. 46. Modeling: BPMN4WSN WSN Aware Intra WSN Read CO2 Room: Moon
  47. 47. Modeling: BPMN4WSN WSN Aware Performance Intra WSN Read CO2 Room: Moon
  48. 48. Modeling: WSN logic composition Read CO2 Room: Moon
  49. 49. Modeling: WSN logic composition Read CO2 Room: Moon tell action report action collective action
  50. 50. Modeling: WSN logic composition Read CO2 Room: Moon tell action report action collective action
  51. 51. Modeling: WSN logic composition Read CO2 Room: Moon report action
  52. 52. Modeling: WSN logic composition Read CO2 Room: Moon report action
  53. 53. Modeling: WSN logic composition Read CO2 Room: Moon local action Read CO2 report action
  54. 54. Modeling: WSN logic composition Report: Stream Read CO2 Room: Moon local action Local: Read CO2 Read CO2 report action
  55. 55. Modeling: editor Extension of signavio core components http://code.google.com/p/signavio-core-components/
  56. 56. Modeling: Pools
  57. 57. Modeling: WSN Task
  58. 58. Modeling: Performance Annotation
  59. 59. Modeling: WSN logic composition
  60. 60. Modeling: WSN logic composition
  61. 61. Modeling: WSN logic composition report action local action
  62. 62. Modeling: Scenario
  63. 63. Modeling: Scenario
  64. 64. Code Generation and Deployment
  65. 65. Code Generation and Deployment BPMN Engine
  66. 66. Code Generation and Deployment BPMN EngineEndpoints
  67. 67. Code Generation and Deployment BPMN EngineEndpointsSerialization
  68. 68. Code Generation and Deployment BPMN EngineEndpointsSerializationTransformation
  69. 69. Code Generation and Deployment BPMN EngineEndpointsSerializationTransformationCorrelation
  70. 70. Code Generation and Deployment BPMN EngineEndpointsSerializationTransformationCorrelation translation into code for WSN
  71. 71. Code Generation and Deployment example if we have time
  72. 72. Code Generation and DeploymentSequence Flow is the main logic of the WSN program example if we have time
  73. 73. Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node logic example if we have time
  74. 74. Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node logicTask EOIs are used for targeting the actions example if we have time
  75. 75. Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node logicTask EOIs are used for targeting the actionsAnnotations specify WSN performance goal example if we have time
  76. 76. Code Generation and DeploymentSequence Flow is the main logic of the WSN programInternal WSN task specification is the node logicTask EOIs are used for targeting the actionsAnnotations specify WSN performance goalCode deployed over the WSN (gateways) example if we have time
  77. 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 developerdeveloper Communication proxy BPMN4WSN editor Proxy configuration WSN Logic Process Composition System Process engine description Executable process Design time Deployment time Runtime
  78. 78. Future work
  79. 79. Future work Code efficiency and reusability
  80. 80. Future work Code efficiency and reusability Unified modeling notation
  81. 81. Future work Code efficiency and reusability Unified modeling notation Control Flow for WSN Nodes
  82. 82. Future work Code efficiency and reusability Unified modeling notation Control Flow for WSN Nodes Multi process deployment on WSN
  83. 83. Summary
  84. 84. Summary We propose a process-based modeling notation for the design of WSN applications
  85. 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. 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. 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. 88. THANKS it’s time for questions Stefano Tranquillini tranquillini@disi.unitn.itwww.project-makesense.eu

×