The document discusses an IoT cloud platform and device gateway architecture on Microsoft Azure. It describes how non-IP and IP devices can connect to Azure services via a cloud gateway or custom gateway. The gateway handles protocol translation, routing of telemetry and commands, and provisioning/management of connected devices. The architecture supports partitioning of devices for scalability and distributing gateways across regions for global coverage.
2. Smart Products
Grid
Renewables
Oil/Gas/Coal
Recovery and
Distribution
Points
of Sale
Restaurants
Hotels
Fuel
Stations
Patients
Clinics
Hospitals
Nursing
Homes
Mobile
Care
Safety
Security
Comfort
Lighting
Automation
Manufacturing
Integration and
Automation
Remote
Servicing
Predictive and
Reactive
Maintenance
Water
Waste
Pollution
Control
Fire
Emergency
Public
Safety
Law
Enforcement
Letters
Packages
Containers
Tanks Bulkware
Games
Events
Sports
Television
Streaming
Traffic Buses
Cars
Trucks
Trains
Vessels
Aircraft
Bikes
Smart
Energy
Smart
Retail
Smart
Mobility
Smart
Logistics
Smart
Factory
Smart
Cities
Smart
Entertain-
ment
Smart
Health-
care
Smart
Building
Home
5. Mobility Example: Door-to-Door Navigation
1. Enter details of an upcoming trip into your calendar application
– Calendar is configured to share data with the D2D navigation service
2. Before your trip, you get departure time notifications on your phone
– Service calculates when you should leave based on traffic and weather
– It also considers when you need to allow time to refuel your car
– Service sends notifications to your smart phone as departure time draws near
3. When you start your car, the map and directions are already on display
– Service recommends a different path due to construction or congestion
– Guides you to open parking spots near your destination
– Automatically pays parking with pre-configured account
4. When you exit your car, the navigation experience transfers to your phone
– Service delivers walking directions to complete your journey
– Helps you find your car again when finished
6. 100,000s of Vehicles100,000s of Drivers 100,000s of Drivers
Cloud Platform Enablers for Smart MobilityIdentityServices(WAAD)
Command RouterTelemetry Router
Service Bus + BizTalk Services/Server + Virtual Networks
Notification
Hubs
Mobile Services
Web Sites
Service Bus SignalR
Service Bus
Notification
Hubs
Custom Protocol GatewayMobilePlatform
Push Messaging
MobileSolution
Backend
Web Portal
MobilePlatform
Push Messaging
Vehicle
Information
System
Web Sites
Navigation
System
Calendar
Management
System
Mobile Experience Portal Experience
3rd Party Data & Services (Maps, Weather, Traffic, Events)
Corporate and Divisional Line of Business and Information Systems
Service Bus & Web APITelemetry Adapters
Azure Database, Blob and Table Storage
Real-Time Analytics, HDInsight
Virtual Machines (IaaS)
Cloud Services and Web Sites (PaaS)
Media Services
Service Bus & Web APIService Bus & Web API
7. IoT Cloud Platform “Stack” – Abstract Model
Non-IP
Capable
Devices
IP
Capable
Devices
CloudGateway
Custom
Code
CloudPlatform
Services
Enterprise
Systems
Third-Party Data
and Services
A B C D E F
Field
Gateway
8. What Azure Provides – Hosting Options
Non-IP
Capable
Devices
IP
Capable
Devices
CloudGateway
Custom
Code
CloudPlatform
Services
Enterprise
Systems
Third-Party Data
and Services
A B C D E F
Web Sites
Mobile Services Cloud Services
External Code
VM Roles
Field
Gateway
9. What Azure Provides – Platform Services
Non-IP
Capable
Devices
IP
Capable
Devices
CloudGateway
Custom
Code
CloudPlatform
Services
Enterprise
Systems
Third-Party Data
and Services
A B C D E F
HD Insight
Azure
Databases
Table/Blob
Storage
BizTalk Services
Service Bus
Field
Gateway
Media Services
10. What Azure Provides – IoT Cloud Gateway
Non-IP
Capable
Devices
IP
Capable
Devices
CloudGateway
Custom
Code
CloudPlatform
Services
Enterprise
Systems
Third-Party Data
and Services
Field
Gateway
A B C D E F
ServiceBus
A/B
ServiceBus
A/B
Custom
GWRole
Pattern 1: Device Direct Pattern 2: Custom Gateway
13. Connections are
device-initiated
and outbound
NAT/Firewall
Device (Router)
IP NAT
Cloud
Gateway
Command
Source
Port mapping is
automatic,
outbound
Device does not
listen for
unsolicited traffic
No inbound ports
open, attack
surface is
minimized
Access-controlled
command API
Secure, managed
hosting platform
DNS
myapp.cloudapp.net
17. Service Bus Messaging
1. Custom Protocol
Gateway
2. Telemetry Pump and
Adapters
3. Command Gateway
4. Provisioning Service
and Metadata Store
Custom Protocol Gateway Host
MQTT CoAP …
Telemetry/Request
Router
Notification/Command
Router
Adapters Command API Host
Provisioning
Service
Device
Metadata
and Key
Store
HDInsight
BizTalk
Orleans
AzureStorage
AzureDbs
ServiceBus
HTTP
HTTP
Devices
AMQP
1
2 3
4
Configuration
HTTP
Device Gateway – Reference Architecture
18. Device Gateway – Partition Topology
• The “Partition” is a set of resources dedicated to a specific device population (or subset thereof).
• The “Master” role manages partition deployment and device provisioning into the partitions.
PartitionMaster
Partition Repo
Command Topics
Service Bus Standard Protocol Custom Protocol
Device Repoin0000 inFFFF…in0001 in0002
AMQP HTTP MQTT Custom Protocol Host
Protocol Adapters
diagall diagall diagall diagall
Telemetry Pump/Router
N Instances
Telemetry
Adapter
Telemetry
Adapter
Telemetry
Adapter
Deployment
Runtime
out0000 outFFFF…out0001 out0002
s0001
s0002
s03E7
s0001
s0002
s03E7
s0001
s0002
s03E7
s0001
s0002
s03E7
g0000/
rte0000
g0000/
rte0001
out0
out1
out2
n Groups of m Routers
out0
out1
out2
g0001/
rte0000
g0001/
rte0001
out0
out1
out2
out0
out1
out2
Provisioning
Runtime
Ingestion Topics
Command
API Host
19. Device Gateway – Customer Topology
• Global coverage achieved by spreading partitions across multiple Azure regions
• Reference architecture supports up to 1000 distinct partitions
• Number and distribution of partitions driven by data volumes, business continuity, legal
and proximity considerations