Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

打造 AIoT 智慧物聯網時代解決方案

59 views

Published on

AIoT 流程架構解析與實踐,數據應用以及操作 Demo,將展示如何從無到有打造出一個屬於自己的一個解決方案。

Published in: Technology
  • Be the first to comment

  • Be the first to like this

打造 AIoT 智慧物聯網時代解決方案

  1. 1. 打造 AIoT 智慧物聯網時代解決方案
  2. 2. 各式各樣的感測器,收集了龐大的 數據,物聯網(IoT)已經在我們 身邊無所不在 時至今日,資料科學家們有著取之 不盡,用之不竭的資料,可以研究 並建立有意義的智能模型(AI) 開發者們將裝置與智能結合,打造 出更勝以往的工作能力,更快速的 反應,更有效的應變事件的變化 AI + IoT
  3. 3. KEY Takeaway 流程架構 解決方案數據與學習
  4. 4. Poy Chang 任職於全美 100 大私人企業,負責企業內部 IT 解決方案設計與開發, 專注於 Azure、.NET Core、Angular 等技術研究 ✓ Microsoft MVP Developer Technologies 2018 - Present ✓ 2019 台北 .NET Conf 總召 ✓ 2019 廣州 Global Azure Bootcamp 講師 ✓ 2019 台北 Insider Dev Tour 講師 ✓ 2019 宜蘭 Angular TW Conf 講師 ✓ 2018 台北 Azure Tech Day Party 講師 ✓ 2018 台中 .NET Conf 講師 ✓ 2018 北京 Global Azure Bootcamp 講師
  5. 5. IoT 3 層架構 智能工廠 智能家庭 智能交通 智能醫療 應用層 感測器 GPS 讀碼器 攝像頭 感知層 網路層3G 4G 5G HTTP MQTT AMQP Icons made by flaticon
  6. 6. AIoT 4 層架構 智能工廠 智能家庭 智能交通 智能醫療 應用層 感測器 GPS 讀碼器 攝像頭 感知層 網路層3G 4G 5G HTTP MQTT AMQP 人工智能 大數據 雲運算 機器學習 平台層 Icons made by flaticon
  7. 7. AIoT 4+1 層架構 智能工廠 智能家庭 智能交通 智能醫療 應用層 感測器 GPS 讀碼器 攝像頭 感知層 網路層3G 4G 5G HTTP MQTT AMQP 人工智能 大數據 雲運算 機器學習 平台層 Icons made by flaticon 邊緣智能
  8. 8. DEMO
  9. 9. PresentationDeviceIoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage In CloudOn GatewayOn Device
  10. 10. PresentationDeviceIoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage In CloudOn GatewayOn Device
  11. 11. . {Invoke-WebRequest -useb aka.ms/iotedge-win} | Invoke-Expression; ` Deploy-IoTEdge -ContainerOs Windows
  12. 12. . {Invoke-WebRequest -useb aka.ms/iotedge-win} | Invoke-Expression; ` Initialize-IoTEdge -ContainerOs Windows
  13. 13. # 檢查 IoT Edge 服務的狀態 Get-Service iotedge # 按照時間順序顯示最後 5 分鐘的 Log 紀錄 Get-IoTEdgeLog
  14. 14. # 檢視在 IoT Edge 裝置上執行的所有模組狀態 iotedge list
  15. 15. 搜尋並安裝 Simulated Temperature Sensor 模擬溫度感應器模組
  16. 16. # 檢視從溫度感應器模組傳送至雲端的訊息 iotedge logs SimulatedTemperatureSensor --follow --tail 1
  17. 17. [ { "machine": { "temperature": 50.86911404569127, "pressure": 4.402810460901537 }, "ambient": { "temperature": 20.849829816422346, "humidity": 26 }, "timeCreated": "2020-03-07T08:16:41.8454061Z" } ]
  18. 18. PresentationDeviceIoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage In CloudOn GatewayOn Device
  19. 19. PresentationDeviceIoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage In CloudOn GatewayOn Device
  20. 20. 設定儲存體的儲存檔案路徑模式 logs/{date}/{time}
  21. 21. PresentationDeviceIoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage In CloudOn GatewayOn Device
  22. 22. 設定儲存體的儲存檔案路徑模式 logs/{date}/{time} 儲存路徑會變成 logs/2020/03/07/21
  23. 23. 需使用 Power BI Pro 才能接收來自 Azure Stream Analytics 及時串流資料,並建立 共用儀表板、發行報表以及執行臨機操作分析
  24. 24. PresentationDeviceIoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage In CloudOn GatewayOn Device
  25. 25. 無法加裝感測傳輸器時… http://poychang.github.io/use-file-system-watcher-collect-iot-log/ 使用 FileSystemWatcher 監看檔案或資料夾變化 機台持續將狀態 寫入紀錄檔
  26. 26. 典型 Azure IoT 解決方案 THINGS INSIGHTS ACTIONS Power BI PowerApps Web Apps Mobile Apps Manage View and manage solutions Azure Sphere Secured MCU Secured OS Cloud Security Business Integration Connect to business apps & services Office 365 Dynamics 365 Edge Modules: • Protocol Adaptation • Functions • Stream Analytics • Machine Learning • AI Azure IoT Edge • Integrated view for CISO & SecOps personas to review enterprise security posture, including IoT solutions. • Holistic view of IoT solution security posture for DevOps and IoT solution managers to review and manage day to day security status Azure Security Center for IoT 3rd Party Azure IoT Device SDK 3rd Party Industry specific sensors & devices (RTOS, Linux, Windows, Android, iOS) IoT Hub Container Registry Kubernetes Service Compute (VMs) Content Delivery Network Data Explorer Front Door Resource Manager (ARM) Storage Domain Name System Microsoft Flow Key Vault Service Bus Application Insights Functions SQL Azure Cosmos DB Web Apps Azure Stream Analytics Event Hub Device Provisioning Service Time Series Insights Maps
  27. 27. 學習循環 行動認知感知 回饋
  28. 28. 機器學習 載入資料 擷取特徵 執行模型訓練模型 評估模型 準備數據 建置 & 訓練 執行 Load Data Extract Features Train Model Evaluate Model Model Consumption
  29. 29. ML.NET API (Code) C# Collect and load data Create pipeline Append() Train model Fit() Improve model Evaluate() Save model Save() Load model Load() Make predictions CreatPredictionEngine().Predict()
  30. 30. ML.NET API (Code) C# ML.NET CLI (Command-Line Interface) >_ ML.NET Model Builder (Visual Studio UI) ML .NET • 分級/分類 • 迴歸/預測 • 異常偵測 • 建議 • 時間序列 • 影像分類 • 二元分類 • 多元分類 • 迴歸/預測 • 二元分類 • 多元分類 • 迴歸/預測
  31. 31. PresentationDeviceIoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage In CloudOn GatewayOn Device
  32. 32. PresentationDevice IoTEdgeonWindows Collection Gateway Ingestion IoT Hub DeviceTwin Stream Analysis Stream Analysis Machine Learning Event Hub Storage & Batch Analysis Cosmos DB Data Lake Storage
  33. 33. 藉由 Azure 儀錶板 幫助開發/維運人員 監控解決方案
  34. 34. 藉由 Power BI 儀錶板 幫助線上作業員/管理者 監控設備狀態
  35. 35. 加速建置 IoT 解決方案
  36. 36. 典型 Azure IoT 解決方案 THINGS INSIGHTS ACTIONS Power BI PowerApps Web Apps Mobile Apps Manage View and manage solutions Azure Sphere Secured MCU Secured OS Cloud Security Business Integration Connect to business apps & services Office 365 Dynamics 365 Edge Modules: • Protocol Adaptation • Functions • Stream Analytics • Machine Learning • AI Azure IoT Edge • Integrated view for CISO & SecOps personas to review enterprise security posture, including IoT solutions. • Holistic view of IoT solution security posture for DevOps and IoT solution managers to review and manage day to day security status Azure Security Center for IoT 3rd Party Azure IoT Device SDK 3rd Party Industry specific sensors & devices (RTOS, Linux, Windows, Android, iOS) IoT Hub Container Registry Kubernetes Service Compute (VMs) Content Delivery Network Data Explorer Front Door Resource Manager (ARM) Storage Domain Name System Microsoft Flow Key Vault Service Bus Application Insights Functions SQL Azure Cosmos DB Web Apps Azure Stream Analytics Event Hub Device Provisioning Service Time Series Insights Maps
  37. 37. THINGS INSIGHTS ACTIONS Power BI PowerApps Web Apps Mobile Apps Manage View and manage solutions Azure Sphere Secured MCU Secured OS Cloud Security Business Integration Connect to business apps & services Office 365 Dynamics 365 Edge Modules: • Protocol Adaptation • Functions • Stream Analytics • Machine Learning • AI Azure IoT Edge • Integrated view for CISO & SecOps personas to review enterprise security posture, including IoT solutions. • Holistic view of IoT solution security posture for DevOps and IoT solution managers to review and manage day to day security status Azure Security Center for IoT 3rd Party Azure IoT Device SDK 3rd Party Industry specific sensors & devices (RTOS, Linux, Windows, Android, iOS) IoT Hub Container Registry Kubernetes Service Compute (VMs) Content Delivery Network Data Explorer Front Door Resource Manager (ARM) Storage Domain Name System Microsoft Flow Key Vault Service Bus Application Insights Functions SQL Azure Cosmos DB Web Apps Azure Stream Analytics Event Hub Device Provisioning Service Time Series Insights Maps Azure IoT Central 解決方案 Simplify production-ready IoT solution development • Simplify setup, reduce management burden, operational costs, and overhead of a typical IoT project. • Bring solutions to market faster, while staying focused on your customers Azure IoT Central Build with Azure IoT Central, our IoT App Platform
  38. 38. IoT Central 應用範本 They consist of: • Sample operator dashboards • Sample device templates • Simulated devices • Pre-configured rules and jobs • Rich documentation, including tutorials Brand using the white labeling feature. Sell to customers directly or through AppSource. Your brand, your SaaS! App templates are tools to help solution builders kickstart IoT solution development
  39. 39. Azure IoT Central http://aka.ms/iotcentral 使用應用範本 http://aka.ms/app-templates 更多解決方案文件 http://aka.ms/iotcdocs

×