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

Pattern Definition
Problem | How do I use Cloud resources to process incoming data and alerts from devices, sense a need to respond, and respond via on-premises systems? | |
Context | This pattern is applicable when there is a desire to leverage Cloud computing to process device generated messages while responding to the messages with on-premises systems. While it is possible to have a point-to-point connection to a single on-premises application for response, using an on-premises Application Integration Platform or Messaging 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 an on-premises application, Application Integration Platform, or Messaging Platform. The response could be automated or could require human action. | |
Consequences | Pros:
|
Interaction View
Cloud Platform
Messages from devices processed in the Cloud with response on premises.

Interaction
- The system that will be the responder activates with the Internet of Things platform and registers a callback URL.
- 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 on premises via the callback URL to be handled.
Notes
- Both the responder and the devices must be registered with the Internet of Things platform before they may be activated.
- The outbound event from the Internet of Things platform could be sent directly to an on-premises application or systems, however, sending the event to an application platform or messaging platform allows for a more flexible event response.