Cloud –based processing of device generated data and alerts with Cloud-based response.

Pattern Definition
Problem | How do I use Cloud resources to process data and alerts coming from devices, sense a need to respond, and then respond? | |
Context | This pattern is applicable when there is a desire to leverage Cloud computing to process device generated data and alerts and respond with Cloud-based systems. While it is possible to have a point-to-point connection to a single Cloud-based application (SaaS or an application deployed to PaaS or IaaS) for response, sending the event to a PaaS platform provides a more flexible response capability. | |
Forces |
| |
Solution | This pattern employs an IoT Platform only in the Cloud. The IoT Platform receives incoming messages and then filters, aggregates, correlates and enhances the messages to determine when a response is required. If a response is required, a message is sent to SaaS, PaaS, or application running on IaaS. | |
Consequences | Pros:
|
Interaction View
Cloud Platform
Messages from devices processed in the Cloud with response in the Cloud.

Interaction
- The system that will be the responder activates with the Internet of Things platform and registers a callback URL. The responder system may be SaaS, PaaS, or an application running on IaaS.
- Devices activate with the Internet of Things platform. Devices can be anything that can run the Client Library or that can be connected to the Gateway.
- Devices send messages (alerts or data) to the Internet of Things platform.
- The Internet of Things platform filters, correlates, aggregates, and enhances the messages and creates outgoing messages which are sent via the callback URL to a Cloud-based system.
Notes
- Both the responder and the devices must be registered with the Internet of Things Platform before they may be activated.
- The outbound message from the Internet of Things platform could be sent directly to a Cloud-based application (SaaS or an application hosted on PaaS or IaaS), however, sending the message to a PaaS platform allows for a more flexible response.