IoT Cloud Sense Cloud Respond

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?
ContextThis 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
  • Devices may be on premises or Cloud based.
  • Near real time response desired for incoming data and alerts.
  • An on-premises IoT Platform is either not available or is not desirable.
  • Response capability is available in the Cloud.
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.
ConsequencesPros:
  • Provides the quickest way to add IoT capability.
  • Only one IoT Platform to manage.
  • Leverages Cloud-based response capability.
Cons:
  • For devices that are on premises, there could be a lot of network traffic from on premises to the Cloud.

Interaction View


Cloud Platform

Messages from devices processed in the Cloud with response in the Cloud. 

Interaction

  1. 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.
  2. 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.
  3. Devices send messages (alerts or data) to the Internet of Things platform.
  4. 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

  1. Both the responder and the devices must be registered with the Internet of Things Platform before they may be activated.
  2. 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.