5/20/2016 azure 大補帖 iot 篇download.microsoft.com/download/7/8/d/78d289b4-cc63-4ea8... ·...

45
Azure 大補帖 – IoT 台灣微軟 技術傳教士 吳宏彬 5/20/2016

Upload: others

Post on 13-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

Azure 大補帖 – IoT 篇

台灣微軟

技術傳教士

吳宏彬

5/20/2016

Page 2: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 3: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 4: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · 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

Page 5: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

物聯網專案的挑戰

縮短開發時間

如何延展 客製化難度

Page 6: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

根據新資料分析與回應

支援業務流程的整合與轉型

有效率的連線及延展

完整的物聯網需求

更多..

Real-time

operating

systems

裝置註冊

規則跟回應

資料分析

資料儀表板, 資料視覺化

Page 7: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

物聯網解決方案要做到

可快速延展

支援異質環境的代理程式

連線與控制

事件處理能力

預測型分析

資料視覺化

作業流程整合

推送與廣播通知

裝置識別及存取控制

根據新資料分析與回應支援業務流程的整合與轉型

連線與延展性with efficiency

Page 8: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

預測性維護

遠端監控

資產管理

預先組建好的

解決方案範本

Page 9: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

Page 10: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 11: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 12: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 13: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

資料 聰明 行動

Page 14: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

Cognitive

Services

Give your solutions

a human side

Page 15: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

Page 16: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

各式對話機器人

Page 17: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

將資料轉換成智慧型行動

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

Page 18: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

支援超級規模的資料分析

• 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

Page 19: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 20: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 21: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 22: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 23: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

Azure IoT Suite

Azure IoT Cloud to Cloud IntegrationFor specialized device service providers

Azure IoT Hub

LWM2M

Custom Device

Device Services Provider

Managed Device

Page 24: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

Page 25: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

Page 26: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

.

.

.

Page 27: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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.

Page 28: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

Page 29: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 30: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 31: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 32: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

Update Floor 1

Page 33: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

Permissions: Group 1 Permissions: Group 2

Page 34: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 35: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

Page 36: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

AZURE IOT GATEWAY SDK

Page 37: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

IOT GATEWAY

通訊協定轉譯

地端分析與處理功能彙整, 過濾, 批次, 壓縮, 清理, 保密, 分析

提供連線能力

提供雲端 Identity

Page 38: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

IoT Gateway

Water Meter Air Quality Sensor

RS-232 Modbus

Azure IoT Hub

On Premise WHAT IS AN IOT GATEWAY

Page 39: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

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

Page 40: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

HOW DOES IT WORK?

Page 41: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 42: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016

http://azure.com/iotstarterkits

Page 43: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 44: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016
Page 45: 5/20/2016 Azure 大補帖 IoT 篇download.microsoft.com/download/7/8/D/78D289B4-CC63-4EA8... · 2018-10-15 · Azure 大補帖–IoT 篇 台灣微軟 技術傳教士 吳宏彬 5/20/2016