Post on 13-Jul-2020
Azure 大補帖 – IoT 篇
台灣微軟
技術傳教士
吳宏彬
5/20/2016
Vehicle Tracking Device Cameras Power Meter Load Meter Smoke Fire Alarms Humidity Sensor Flow Meter Occupancy Sensor Temperature Sensor
INTELLIGENT DEVICES Machine Controller
Vehicle Tracking Smart Grid General Equipment Retail Kiosk Fire Detection Healthcare Smart Building Automation Digital Advertising Smart Home Automation
運輸業 零售業 工業4.0 健康照護 安全與監控 能源業 智慧家庭 智慧城市
監控
Data collection and alerts
Asset tracking & Geo-fencing
Preventive maintenance
Usage based billing
遠端操作
Securely log into remote devices and products to diagnose issues
Remote servicing - diagnose, and repair problems
內容發佈
Automate software deployment to assets
Distribute files to devices.Content includes asset-specific files, doc, ads
雲端物聯網平台
設定管理
Store and access asset configurations
Compliance Management
Telematics
M2M GatewayNETWORK
物聯網專案的挑戰
縮短開發時間
如何延展 客製化難度
根據新資料分析與回應
支援業務流程的整合與轉型
有效率的連線及延展
完整的物聯網需求
更多..
Real-time
operating
systems
裝置註冊
規則跟回應
資料分析
資料儀表板, 資料視覺化
物聯網解決方案要做到
可快速延展
支援異質環境的代理程式
連線與控制
事件處理能力
預測型分析
資料視覺化
作業流程整合
推送與廣播通知
裝置識別及存取控制
根據新資料分析與回應支援業務流程的整合與轉型
連線與延展性with efficiency
預測性維護
遠端監控
資產管理
預先組建好的
解決方案範本
Devices
Azure IoT Suite Remote Monitoring
遠端監控物聯網範本解決方案
後端系統及處理
C# simulator
Event Hub
Storage blobs DocumentDB
Web/Mobile App
Stream Analytics Logic Apps
Azure
Active Directory
IoT Hub Web Jobs
Power BI
資料 聰明 行動
Cognitive
Services
Give your solutions
a human side
Bot Connector Service
Connect your bot(s) seamlessly to text/sms, Office 365 mail, Skype, Slack, Twitter and more
A service to register your bot, configure channels and publish to the Bot Directory
Bot Builder SDK
Everything you need to build
great dialogs within your Node.js
or C# bot
An open source SDK hosted
on GitHub
Bot Directory[Coming Soon]
Discover, try, and add bots to
conversation experiences
A public directory of bots
registered and approved with Bot
Framework
各式對話機器人
將資料轉換成智慧型行動
Action
People
Automated Systems
Apps
Web
Mobile
Bots
Intelligence
Dashboards &
Visualizations
Cortana
Bot
Framework
Cognitive
Services
Power BI
Information
Management
Event Hubs
Data Catalog
Data Factory
Machine Learning
and Analytics
HDInsight
(Hadoop and
Spark)
Stream Analytics
Intelligence
Data Lake
Analytics
Machine
Learning
Big Data Stores
SQL Data
Warehouse
Data Lake Store
Data Sources
Apps
Sensors and devices
Data
支援超級規模的資料分析
• A Hadoop Distributed File System for the cloud
• No fixed limits on file size
• No fixed limits on account size
• Unstructured and structured data in their native format
• Massive throughput to increase analytic performance
• High durability, availability, and reliability
• Azure Active Directory access control
LOB
Applications
SocialDevices
Clickstream
Sensors
Video
Web
Relational
HDInsight
ADL Analytics
Machine Learning
Spark
R
ADL Store
Big Data Stores
SQL Data
Warehouse
Data Lake Store
Azure IoT Suite
Azure IoT Cloud to Cloud IntegrationFor specialized device service providers
Azure IoT Hub
LWM2M
Custom Device
Device Services Provider
Managed Device
Azure IoT Hub 裝置管理 Service Client 架構Azure IoT Hub
裝置管理API
裝置查詢APITags, Device and Service Properties
Jobs Client API Create, Monitor, Cancel
LWM2M
over CoAP/TCP
Device with DM
DM Client Library
Device AppYour Code
註冊管理APICreate, Update, Delete Devices
應用程式Your Code
IoT Cloud Solution
裝置管理物件
Device(Object)
System Properties
Custom Properties
Service Properties
Device Representation in IoT Hub ServiceDevice.NET Type: Microsoft.Azure.Devices
系統 PropertiesDevice is Master
Battery InfoFirmware VersionHW VersionMfg Name…
客製化 Properties(Enabled in GA)
服務PropertiesService is Master
Tags
裝置欄位
Device 連接資訊
AuthenticationConnection StringConnection State
Device 狀態資訊
StatusStatus ReasonStatus Update Time
Azure IoT Hub 裝置管理 Device Client 架構
Device 使用 IoT Hub 裝置管理Library
IoT Hub DM library
LWM2M
over CoAP/TCP
IoT Hub
Your Code
Invokes callbacks for Read, Write
and/or Execute
Implement Callback
Implement Callback
LWM2M Objects
服務物件LWM2M Server Properties
組態物件
韌體更新物件Download FW, Update FW, Post-
update
裝置物件Device Properties, Reboot, Factory
Reset
.
.
.
Device Job (韌體更新範例)A Device Job is a multi-step device orchestration on a set of devices managed by Azure IoT Hub.
IoT Hub裝置端
Your CodeOn the device
IoT Hub DM library
Step 1
Step 2
Step 3
Device Job*
Write FW Package URI
Change the Package URI
Invoke callback for Package URI
Download Completed
Download the Code
Apply the Update
Invoke callback to
Apply Update
Reconnect after restart
Monitor State
Changes and Apply
Update
IoT Cloud Solution
Your CodeIn the Service
Step 1: Start
Firmware Update
Job, providing
the Package URI
On Job
Completed:
Receive callback
in service.
Anytime during
job execution:
Check the status
of the Job.
* A job works against a set of devices. Showing only a single device in this diagram.
Azure IoT 裝置管理 Public Preview Features
• Device Management Client Lib • Part of IoT Hub SDK
• C and Node.js
• DM Samples • Intel Edison & Simple API sample
• Device Query - Service API• Tags
• Device Properties
• Service Properties
• Device Jobs - Service API• Create (single or set of devices)
• Start/Stop Jobs
• Inspect Jobs Progress
• Delete Jobs
• Device Jobs (instances)• Firmware Update
• Configuration Update
• Reset/Reboot
• Factory Reset
• DM Forwarding to push DM events into IoT Hub Event Hub
Update Floor 1
Permissions: Group 1 Permissions: Group 2
Azure IoT Hub
Device Management APIs
Device Query API
Tags, Device and Service Properties
Device Jobs API
Create, Monitor, Cancel
LWM2M over CoAP/TCP
Device
DM Client
Library
Device App
(Your Code)Registry Manager API
Create, Update, Delete Devices ApplicationYour Code
Azure IoT Suite
Device Management Objects
Device (Object)
Device State
Device Groups API
Groups CRUD, Add/Remote Devices,
Events, Access Control
AZURE IOT GATEWAY SDK
IOT GATEWAY
通訊協定轉譯
地端分析與處理功能彙整, 過濾, 批次, 壓縮, 清理, 保密, 分析
提供連線能力
提供雲端 Identity
IoT Gateway
Water Meter Air Quality Sensor
RS-232 Modbus
Azure IoT Hub
On Premise WHAT IS AN IOT GATEWAY
AZURE IOT GATEWAY SDK
Open source MIT licensed SDK for building IoT Gateways (beta)
github.com/azure/azure-iot-gateway-sdk
跨平台 (Windows and Linux)
Runs on many types of hardware
HOW DOES IT WORK?