SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
IoT & Cortana Analytics
Arunkumar
Developer / Senior Architect
Agenda
• Introduction to IoT
• IoT Opportunity
• Azure IoT Hub
• Typical Azure IoT Architecture
• SA JOBS
• Event Hub
• HD Insight
• Storage
• Use Cases
• IOT Suite
IoT
• The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects,
animals or people that are provided with unique identifiers and the ability to transfer data over a network without
requiring human-to-human or human-to-computer interaction. - Kevin Ashton, Auto-ID Center at MIT
• The first internet appliance, for example, was a Coke machine at Carnegie Melon University in the early 1980s.
• Practical applications of IoT technology can be found in many industries including precision agriculture, building
management, healthcare, energy, Utility and transportation.
Existing IoT Solutions
IoT Opportunity
Azure IoT Reference Architecture
Azure IoT Reference Architecture
Solution PortalProvisioning API
Identity & Registry Stores
Stream Event Processor
Analytics/
Machine
Learning
Data Visualization
& Presentation
Device State Store
Gateway
Storage
IP capable
devices
Existing IoT
devices
Low power
devices
PresentationDevice and Event Processing
Data
Transport
Devices and
Data Sources
Cloud
Gate-
way
Agent
Libs
Agent
Libs
Control System Worker Role
Agent
Libs
Typical Azure IoT - Solution Architecture
Azure Storage
DocumentDB Blob Storage
Business Application
Real Time Processing
Event HubStream Analytics
SQL Database SQL Data warehouse
Data Processing and Integration
Data Factory
Structured DataUnstructured Data
Machine Learning
PowerBI
Dashboard
Application Component
Azure VM
Azure App Service
HDInsight
Notification Hub
Management App
Device Registry
Monitoring
OTA Updates
Send Commands
Service Updates
Third Party
Application
Integration
Identity
Management
API
Management
Azure
Azure IoT Hub
Custom Cloud
Gateway (Cloud
Service or VM)
Cloud Protocol
Gateway
Service
Device
Device
Device
Device
Device
Device
Field
Gateway
Field
Gateway
IoT Hub
Device
Client
SDK
IoT Hub Device
Client SDK
Bluetooth, CoAP, AllJoyn,OPC,..
Bluetooth, CoAP, Zigbee,..
AMQP / HTTPS
AMQP / HTTPS
Custom Protocol
Custom Protocol
Notification
Advance Analytics
IoT Hub Service
Client SDK
End User Application
Arduino
Rashperi Pi
IoT Hub
Field
Gateway
Device
Connectivity & Management
Devices
RTOS,Linux,Windows,Android,iOS
Protocol
Adaptation
Cloud Gateway
IoT Hub
Field
Gateway
Protocol
Adaptation
• Unlimited Devices
• Bi-directional =: device <-> cloud
• Up to 10 million devices
• Average of 208,333 messages/minute per unit
(300 million messages/day per unit)
• Telemetry ingestion
• Command & control
• [Cloud to cloud communication]
• Device registry & identity
• [Device Management]
• HTTPs / AMQP (incl WebSocket) / MQTT
8
Capability of the Azure IoT Hub
Azure IoT architecture
Field
Gateway
Device
Connectivity & Management
Devices
RTOS,Linux,Windows,Android,iOS
Protocol
Adaptation
Cloud Gateway
IoT Hub
Field
Gateway
Protocol
Adaptation
Cross-Platform
Device Support
• Open source “agent” framework
• Simple, secure device <-> cloud connectivity &
management
• RTOS, Linux, Windows, Android, iOS
• Easy to use, not required
Cross Platform C Code
OS Abstraction Layer / OS Bindings
C API .NET API Java API Javascript API
9
Field
Gateway
Device
Connectivity & Management
Analytics &
Operationalized Insights
Devices
RTOS,Linux,Windows,Android,iOS
Protocol
Adaptation
Batch Analytics & Visualizations
Azure Data Lake, AzureML, Power BI,
Azure Data Factory
Hot Path Analytics
Azure Stream Analytics, Azure HDInsight Storm
Hot Path Business Logic
Service Fabric & Actor Framework
Cloud Gateway
Event Hubs
&
IoT Hub
Field
Gateway
Protocol
Adaptation
Find insights to
• Power new services
• Improve your “things”
Operationalize
your insights in
real time
IoT Scale
Object Models &
Business Logic
10
Azure IoT architecture
Azure IoT architecture
Field
Gateway
Device
Connectivity & Management
Analytics &
Operationalized Insights
Presentation &
Business Connectivity
Devices
RTOS,Linux,Windows,Android,iOS
Protocol
Adaptation
Batch Analytics & Visualizations
Azure HDInsight, AzureML, Power BI,
Azure Data Factory
Hot Path Analytics
Azure Stream Analytics, Azure HDInsight Storm
Presentation &
Business Connectivity
App Service, Websites
Dynamics, BizTalk Services,
Notification Hubs
Hot Path Business Logic
Service Fabric & Actor Framework
Cloud Gateway
IoT Hub
Field
Gateway
Protocol
Adaptation
11
Stream Analytics
IoT Hub
Tumbling windows: Tumbling windows are a series of fixed-sized, non-overlapping and contiguous time
intervals
Hopping Window: hopping windows model scheduled overlapping window
Sliding Window: the system is asked to logically consider all possible windows of a given length
TransformationCollection Presentation
and action
Event Queuing
System
Long-term
storage
Search and query
Data analytics (Excel)
Web/thick client
dashboards
Devices to take action
Event hub
Event producers
Applications
Web and social
Devices
Sensors
Live Dashboards
Apache HBase on
HDInsight
DocumentDB
Solr Azure
Search
MongoDB SQL
Cloud gateways
(web APIs)
Field
gateways
Azure ML
Storage
adapters
Stream processing
13
Apache Storm
on HDInsight
IoT Hub
Communication Protocols
5. EtherNet, Zigbee
Cortana Analytics Suite
As a fully managed big data and
advanced analytics suite, Cortana
Intelligence is a powerful solution to
transform the data into intelligent
action.
DEMO
Smart Building
HARMAN – SMART Display
Smart Display Light intensity
Sensors
IoT Gateway
Demo ButtonMedia Player
Speaker
Current SensorLoudness
Sensor
IoT Gateway
Health Care – Use case
Smart Health - PowerBI
Azure Storage
Blob Storage
Microsoft Health API MS IoT Hub Event Hub
Stream Analytics Machine Learning
Azure functions
Device
IoT Hub Device
Client SDK
Google API
Azure LogicApp
Azure Table Storage
Notification Hub
Twilio for SMS
Azure functions
Azure IoT Suite
IoT Suite
IoT Suite
Creating a solution will result in the following Azure services being
provisioned:
• Azure IoT Hub (1 high-frequency unit)
• Azure Stream Analytics (3 streaming units)
• Azure Document DB (1 S2 instance)
• Azure Storage (1 GRS standard, 1 LRS standard, 1 RA-GRS
standard)
• Azure App Services (2 S1 instances, 2 P1 instances)
• Azure Event Hub (1 basic throughput unit)
The Device Store
25
Azure DocumentDB
• Every device is 1 document with
• Device metadata
• Command list
• Command history
• Can extend with custom data
Ingestion, Identity & Commands
26
Azure IoT Hub
• Every device exists as an identity in the IoT Hub
• Ready to send telemetry (+ DeviceInfo)
• Ready to listen for commands and send feedback
Change the IoT Hub tier to S1 to save money
The event processors
You can easily turn off these jobs, while not testing.
27
Azure Stream Analytics
• These jobs are being created
• {suitename}-DeviceInfo
• {suitename}-Telemetry
• {suitename}-Rules
DeviceInfo job
28
Azure Stream Analytics
• Used to listen for DeviceInfo (sent on start) messages
SELECT * FROM DeviceDataStream
Partition By PartitionId
WHERE ObjectType = 'DeviceInfo'
{suite}-ehout{suite}
EventProcessor-WebJob
(DeviceAdministrationProcessor)
DeviceRegistry
Telemetry job
Azure Stream Analytics
• Used to process Rules & Alerts
SELECT *
INTO [Telemetry] FROM [StreamData]
SELECT
DeviceId,
AVG (Humidity) AS [AverageHumidity],
MIN(Humidity) AS [MinimumHumidity],
MAX(Humidity) AS [MaxHumidity],
5.0 AS TimeframeMinutes
INTO [TelemetrySummary]
FROM [StreamData]
GROUP BY DeviceId, SlidingWindow (mi, 5)
{suite}
devicetelemetry
(csv, timebased)
Devicetelemetry-summary
(csv, timebased)
Rules job
Azure Stream Analytics
• Used to process Rules & Alerts.
--QUERY TO COMPARE VALUES > REF
SELECT *
INTO DeviceRulesMonitoring
FROM AlarmsData
SELECT *
INTO DeviceRulesHub
FROM AlarmsData
{suite}
rulesoutput
(csv, timebased)
codit-iot-ehruleout
(csv, timebased)
devicerules.json
EventProcessor-WebJob
(ActionProcessor)
Logic App (not implemented)
Tip: add tumbling window !
The presentation layer
You can change the App Service Plan to reduce costs
31
Azure App Service & Power BI
• Portal allows to
• Manage / create devices
• Send commands
• View telemetry
• Enable rules
• Power BI controls used to show real time graphs, on blob

Mais conteúdo relacionado

Mais procurados

Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTIlyas F ☁☁☁
 
Building a website without a webserver on Azure
Building a website without a webserver on AzureBuilding a website without a webserver on Azure
Building a website without a webserver on AzureTodd Whitehead
 
Connecting IoT devices to Azure
Connecting IoT devices to AzureConnecting IoT devices to Azure
Connecting IoT devices to AzureGuy Barrette
 
Event Grid Unplugged - Using events as the fuel powering your applications
Event Grid Unplugged - Using events as the fuel powering your applicationsEvent Grid Unplugged - Using events as the fuel powering your applications
Event Grid Unplugged - Using events as the fuel powering your applicationsMicrosoft Tech Community
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with AzureVinoth Rajagopalan
 
Azure Internet of Things
Azure Internet of ThingsAzure Internet of Things
Azure Internet of ThingsAlon Fliess
 
한컴MDS_Microsoft Azure IoT Overview
한컴MDS_Microsoft Azure IoT Overview한컴MDS_Microsoft Azure IoT Overview
한컴MDS_Microsoft Azure IoT OverviewHANCOM MDS
 
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)Codit
 
Demystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with Azure IoT SuiteDemystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with Azure IoT SuiteWinWire Technologies Inc
 
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)Codit
 
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...Microsoft Tech Community
 
Introduction to Microsoft IoT Central
Introduction to Microsoft IoT Central Introduction to Microsoft IoT Central
Introduction to Microsoft IoT Central Codit
 
IoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the CloudIoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the CloudMichelle Devereux White
 

Mais procurados (20)

Business Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoTBusiness Transformation with Microsoft Azure IoT
Business Transformation with Microsoft Azure IoT
 
Building a website without a webserver on Azure
Building a website without a webserver on AzureBuilding a website without a webserver on Azure
Building a website without a webserver on Azure
 
Azure IoT Suite
Azure IoT Suite Azure IoT Suite
Azure IoT Suite
 
Connecting IoT devices to Azure
Connecting IoT devices to AzureConnecting IoT devices to Azure
Connecting IoT devices to Azure
 
Event Grid Unplugged - Using events as the fuel powering your applications
Event Grid Unplugged - Using events as the fuel powering your applicationsEvent Grid Unplugged - Using events as the fuel powering your applications
Event Grid Unplugged - Using events as the fuel powering your applications
 
Azure IoT Summary
Azure IoT SummaryAzure IoT Summary
Azure IoT Summary
 
Internet of things (IoT) with Azure
Internet of things (IoT) with AzureInternet of things (IoT) with Azure
Internet of things (IoT) with Azure
 
Azure Internet of Things
Azure Internet of ThingsAzure Internet of Things
Azure Internet of Things
 
Azure IoT Workshop
Azure IoT WorkshopAzure IoT Workshop
Azure IoT Workshop
 
한컴MDS_Microsoft Azure IoT Overview
한컴MDS_Microsoft Azure IoT Overview한컴MDS_Microsoft Azure IoT Overview
한컴MDS_Microsoft Azure IoT Overview
 
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
Living on the (IoT) edge (Sam Vanhoutte @TechdaysNL 2017)
 
Microsoft Azure and IoT – how to use
Microsoft Azure and IoT – how to useMicrosoft Azure and IoT – how to use
Microsoft Azure and IoT – how to use
 
Azure iot
Azure iotAzure iot
Azure iot
 
Demystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with Azure IoT SuiteDemystifying Internet of Things with Azure IoT Suite
Demystifying Internet of Things with Azure IoT Suite
 
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
Azure IoT suite - A look behind the curtain (Sam Vanhoutte @AZUG Event)
 
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...
Azure IoT Edge: a breakthrough platform and service running cloud intelligenc...
 
IoT on Azure
IoT on AzureIoT on Azure
IoT on Azure
 
Introduction to Microsoft IoT Central
Introduction to Microsoft IoT Central Introduction to Microsoft IoT Central
Introduction to Microsoft IoT Central
 
IoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the CloudIoT: Connecting Devices and Manufacturing Equipment to the Cloud
IoT: Connecting Devices and Manufacturing Equipment to the Cloud
 
IoT on the Edge
IoT on the EdgeIoT on the Edge
IoT on the Edge
 

Semelhante a IoT

Azure IoT services - overview, SenZations 2015
Azure IoT services - overview, SenZations 2015Azure IoT services - overview, SenZations 2015
Azure IoT services - overview, SenZations 2015SenZations Summer School
 
Windows iot barone
Windows iot baroneWindows iot barone
Windows iot baroneDotNetCampus
 
MICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOTMICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOTDotNetCampus
 
TechEd NZ 2014: Intelligent Systems Service - Concept, Code and Demo
TechEd NZ 2014: Intelligent Systems Service - Concept, Code and DemoTechEd NZ 2014: Intelligent Systems Service - Concept, Code and Demo
TechEd NZ 2014: Intelligent Systems Service - Concept, Code and DemoIntergen
 
Azure IoT End-to-End
Azure IoT End-to-EndAzure IoT End-to-End
Azure IoT End-to-EndMartin Abbott
 
Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017) Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017) Codit
 
BRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edgeBRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edgeAxel Dittmann
 
Sensors, data and dashboards
Sensors, data and dashboardsSensors, data and dashboards
Sensors, data and dashboardsMartin Abbott
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemBizTalk360
 
IoT Masterclass ESGT Santarem - Connecting The Dots
IoT Masterclass ESGT Santarem -  Connecting The DotsIoT Masterclass ESGT Santarem -  Connecting The Dots
IoT Masterclass ESGT Santarem - Connecting The DotsMarco Silva
 
Role of cloud and analytics in IoT
Role of cloud and analytics in IoTRole of cloud and analytics in IoT
Role of cloud and analytics in IoTSelvaraj Kesavan
 
IOT Edge within th eAzure IOT Framework
IOT Edge within th eAzure IOT FrameworkIOT Edge within th eAzure IOT Framework
IOT Edge within th eAzure IOT FrameworkAxel Dittmann
 
IoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloudIoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloudCodemotion
 
Azure and Predix
Azure and PredixAzure and Predix
Azure and PredixAltoros
 
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...Codit
 
Internet of Things Pitch Deck
Internet of Things Pitch DeckInternet of Things Pitch Deck
Internet of Things Pitch DeckNicholas Vossburg
 

Semelhante a IoT (20)

Azure IoT services - overview, SenZations 2015
Azure IoT services - overview, SenZations 2015Azure IoT services - overview, SenZations 2015
Azure IoT services - overview, SenZations 2015
 
Windows iot barone
Windows iot baroneWindows iot barone
Windows iot barone
 
MICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOTMICROSOFT E IL MONDO IOT
MICROSOFT E IL MONDO IOT
 
TechEd NZ 2014: Intelligent Systems Service - Concept, Code and Demo
TechEd NZ 2014: Intelligent Systems Service - Concept, Code and DemoTechEd NZ 2014: Intelligent Systems Service - Concept, Code and Demo
TechEd NZ 2014: Intelligent Systems Service - Concept, Code and Demo
 
Azure IoT End-to-End
Azure IoT End-to-EndAzure IoT End-to-End
Azure IoT End-to-End
 
Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017) Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017)
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 
BRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edgeBRK2122 IOT - From the cloud to the edge
BRK2122 IOT - From the cloud to the edge
 
Sensors, data and dashboards
Sensors, data and dashboardsSensors, data and dashboards
Sensors, data and dashboards
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
 
Microsoft & IoT
Microsoft & IoTMicrosoft & IoT
Microsoft & IoT
 
IoT Masterclass ESGT Santarem - Connecting The Dots
IoT Masterclass ESGT Santarem -  Connecting The DotsIoT Masterclass ESGT Santarem -  Connecting The Dots
IoT Masterclass ESGT Santarem - Connecting The Dots
 
Role of cloud and analytics in IoT
Role of cloud and analytics in IoTRole of cloud and analytics in IoT
Role of cloud and analytics in IoT
 
IOT Edge within th eAzure IOT Framework
IOT Edge within th eAzure IOT FrameworkIOT Edge within th eAzure IOT Framework
IOT Edge within th eAzure IOT Framework
 
Azure IoT Camp
Azure IoT CampAzure IoT Camp
Azure IoT Camp
 
IoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloudIoT end-to-end: porta i tuoi dati dal sensore al cloud
IoT end-to-end: porta i tuoi dati dal sensore al cloud
 
IoT – The reality of real world solutions
IoT – The reality of real world solutions IoT – The reality of real world solutions
IoT – The reality of real world solutions
 
Azure and Predix
Azure and PredixAzure and Predix
Azure and Predix
 
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
 
Internet of Things Pitch Deck
Internet of Things Pitch DeckInternet of Things Pitch Deck
Internet of Things Pitch Deck
 

IoT

  • 1. IoT & Cortana Analytics Arunkumar Developer / Senior Architect
  • 2. Agenda • Introduction to IoT • IoT Opportunity • Azure IoT Hub • Typical Azure IoT Architecture • SA JOBS • Event Hub • HD Insight • Storage • Use Cases • IOT Suite
  • 3. IoT • The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction. - Kevin Ashton, Auto-ID Center at MIT • The first internet appliance, for example, was a Coke machine at Carnegie Melon University in the early 1980s. • Practical applications of IoT technology can be found in many industries including precision agriculture, building management, healthcare, energy, Utility and transportation.
  • 6. Azure IoT Reference Architecture Azure IoT Reference Architecture Solution PortalProvisioning API Identity & Registry Stores Stream Event Processor Analytics/ Machine Learning Data Visualization & Presentation Device State Store Gateway Storage IP capable devices Existing IoT devices Low power devices PresentationDevice and Event Processing Data Transport Devices and Data Sources Cloud Gate- way Agent Libs Agent Libs Control System Worker Role Agent Libs
  • 7. Typical Azure IoT - Solution Architecture Azure Storage DocumentDB Blob Storage Business Application Real Time Processing Event HubStream Analytics SQL Database SQL Data warehouse Data Processing and Integration Data Factory Structured DataUnstructured Data Machine Learning PowerBI Dashboard Application Component Azure VM Azure App Service HDInsight Notification Hub Management App Device Registry Monitoring OTA Updates Send Commands Service Updates Third Party Application Integration Identity Management API Management Azure Azure IoT Hub Custom Cloud Gateway (Cloud Service or VM) Cloud Protocol Gateway Service Device Device Device Device Device Device Field Gateway Field Gateway IoT Hub Device Client SDK IoT Hub Device Client SDK Bluetooth, CoAP, AllJoyn,OPC,.. Bluetooth, CoAP, Zigbee,.. AMQP / HTTPS AMQP / HTTPS Custom Protocol Custom Protocol Notification Advance Analytics IoT Hub Service Client SDK End User Application Arduino Rashperi Pi
  • 8. IoT Hub Field Gateway Device Connectivity & Management Devices RTOS,Linux,Windows,Android,iOS Protocol Adaptation Cloud Gateway IoT Hub Field Gateway Protocol Adaptation • Unlimited Devices • Bi-directional =: device <-> cloud • Up to 10 million devices • Average of 208,333 messages/minute per unit (300 million messages/day per unit) • Telemetry ingestion • Command & control • [Cloud to cloud communication] • Device registry & identity • [Device Management] • HTTPs / AMQP (incl WebSocket) / MQTT 8 Capability of the Azure IoT Hub
  • 9. Azure IoT architecture Field Gateway Device Connectivity & Management Devices RTOS,Linux,Windows,Android,iOS Protocol Adaptation Cloud Gateway IoT Hub Field Gateway Protocol Adaptation Cross-Platform Device Support • Open source “agent” framework • Simple, secure device <-> cloud connectivity & management • RTOS, Linux, Windows, Android, iOS • Easy to use, not required Cross Platform C Code OS Abstraction Layer / OS Bindings C API .NET API Java API Javascript API 9
  • 10. Field Gateway Device Connectivity & Management Analytics & Operationalized Insights Devices RTOS,Linux,Windows,Android,iOS Protocol Adaptation Batch Analytics & Visualizations Azure Data Lake, AzureML, Power BI, Azure Data Factory Hot Path Analytics Azure Stream Analytics, Azure HDInsight Storm Hot Path Business Logic Service Fabric & Actor Framework Cloud Gateway Event Hubs & IoT Hub Field Gateway Protocol Adaptation Find insights to • Power new services • Improve your “things” Operationalize your insights in real time IoT Scale Object Models & Business Logic 10 Azure IoT architecture
  • 11. Azure IoT architecture Field Gateway Device Connectivity & Management Analytics & Operationalized Insights Presentation & Business Connectivity Devices RTOS,Linux,Windows,Android,iOS Protocol Adaptation Batch Analytics & Visualizations Azure HDInsight, AzureML, Power BI, Azure Data Factory Hot Path Analytics Azure Stream Analytics, Azure HDInsight Storm Presentation & Business Connectivity App Service, Websites Dynamics, BizTalk Services, Notification Hubs Hot Path Business Logic Service Fabric & Actor Framework Cloud Gateway IoT Hub Field Gateway Protocol Adaptation 11
  • 12. Stream Analytics IoT Hub Tumbling windows: Tumbling windows are a series of fixed-sized, non-overlapping and contiguous time intervals Hopping Window: hopping windows model scheduled overlapping window Sliding Window: the system is asked to logically consider all possible windows of a given length
  • 13. TransformationCollection Presentation and action Event Queuing System Long-term storage Search and query Data analytics (Excel) Web/thick client dashboards Devices to take action Event hub Event producers Applications Web and social Devices Sensors Live Dashboards Apache HBase on HDInsight DocumentDB Solr Azure Search MongoDB SQL Cloud gateways (web APIs) Field gateways Azure ML Storage adapters Stream processing 13 Apache Storm on HDInsight IoT Hub
  • 15. Cortana Analytics Suite As a fully managed big data and advanced analytics suite, Cortana Intelligence is a powerful solution to transform the data into intelligent action.
  • 16. DEMO
  • 18. HARMAN – SMART Display Smart Display Light intensity Sensors IoT Gateway Demo ButtonMedia Player Speaker Current SensorLoudness Sensor IoT Gateway
  • 19. Health Care – Use case Smart Health - PowerBI Azure Storage Blob Storage Microsoft Health API MS IoT Hub Event Hub Stream Analytics Machine Learning Azure functions Device IoT Hub Device Client SDK Google API Azure LogicApp Azure Table Storage Notification Hub Twilio for SMS Azure functions
  • 22. IoT Suite Creating a solution will result in the following Azure services being provisioned: • Azure IoT Hub (1 high-frequency unit) • Azure Stream Analytics (3 streaming units) • Azure Document DB (1 S2 instance) • Azure Storage (1 GRS standard, 1 LRS standard, 1 RA-GRS standard) • Azure App Services (2 S1 instances, 2 P1 instances) • Azure Event Hub (1 basic throughput unit)
  • 23.
  • 24.
  • 25. The Device Store 25 Azure DocumentDB • Every device is 1 document with • Device metadata • Command list • Command history • Can extend with custom data
  • 26. Ingestion, Identity & Commands 26 Azure IoT Hub • Every device exists as an identity in the IoT Hub • Ready to send telemetry (+ DeviceInfo) • Ready to listen for commands and send feedback Change the IoT Hub tier to S1 to save money
  • 27. The event processors You can easily turn off these jobs, while not testing. 27 Azure Stream Analytics • These jobs are being created • {suitename}-DeviceInfo • {suitename}-Telemetry • {suitename}-Rules
  • 28. DeviceInfo job 28 Azure Stream Analytics • Used to listen for DeviceInfo (sent on start) messages SELECT * FROM DeviceDataStream Partition By PartitionId WHERE ObjectType = 'DeviceInfo' {suite}-ehout{suite} EventProcessor-WebJob (DeviceAdministrationProcessor) DeviceRegistry
  • 29. Telemetry job Azure Stream Analytics • Used to process Rules & Alerts SELECT * INTO [Telemetry] FROM [StreamData] SELECT DeviceId, AVG (Humidity) AS [AverageHumidity], MIN(Humidity) AS [MinimumHumidity], MAX(Humidity) AS [MaxHumidity], 5.0 AS TimeframeMinutes INTO [TelemetrySummary] FROM [StreamData] GROUP BY DeviceId, SlidingWindow (mi, 5) {suite} devicetelemetry (csv, timebased) Devicetelemetry-summary (csv, timebased)
  • 30. Rules job Azure Stream Analytics • Used to process Rules & Alerts. --QUERY TO COMPARE VALUES > REF SELECT * INTO DeviceRulesMonitoring FROM AlarmsData SELECT * INTO DeviceRulesHub FROM AlarmsData {suite} rulesoutput (csv, timebased) codit-iot-ehruleout (csv, timebased) devicerules.json EventProcessor-WebJob (ActionProcessor) Logic App (not implemented) Tip: add tumbling window !
  • 31. The presentation layer You can change the App Service Plan to reduce costs 31 Azure App Service & Power BI • Portal allows to • Manage / create devices • Send commands • View telemetry • Enable rules • Power BI controls used to show real time graphs, on blob