soracom と azure で iot

Post on 16-Apr-2017

1.902 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SORACOM と Azure で IoT

ソラコム Developers Conference #02015.10.16

JAZUG @kekekekenta

2

自己紹介{ "objectType": "User", “displayName”: “Kentaro Aoki", “Twitter": "@kekekekenta", "onPremisesSecurityIdentifier": null,}

3

ブログ書きました

• ケンタテクブロというタイトルのブログ

4

AZURE は、ご存知でしょうか?ところで、みなさま。

5

Azure Platform ServicesCompute

Windows Virtual Machines

Linux Virtual Machines

Cloud ServicesRemoteApp

Batch

Web + Mobile

Azure App ServiceMobile Services

API ManagementNotification Hubs

Mobile Engagement

Data + Storage

SQL DatabaseDocumentDBRedis Cache

StorageStorSimple

Azure SearchSQL Data

Warehouse

Analytics

HDInsightMachine LearningStream Analytics

Data FactoryEvent Hubs

Data Catalog

Networking

Virtual NetworkExpressRoute

Traffic ManagerBandwidth

Load BalancerVPN Gateway

DNSApplication Gateway

Identity + Access Management

Active DirectoryAzure Active

Directory B2CAzure Active

Directory Domain Services

Multi-factor Authentication

Media + CDN

Media ServicesCDN

Developer Services

Visual Studio OnlineApplication Insights

Management

SchedulerAutomation

Operational InsightsKey Vault

Azure IoT Hub

6

SORACOM と Azure で IoTどうして Azure なの?

Microsoft Azure+ +

7

Cortana Analytics Suiteダッシュボード

可視化

Power BI

パーソナルデジタルアシスタント

Cortana

知覚インテリジェンス

Face, Speech

ビジネスシナリオ

RecommendationsCustomer churn

機械学習と分析

Azure Machine Learning

Azure HDInsight

Azure Stream Analytics

ビックデータストア

Azure Data Lake

Azure SQL Data Warehouse

情報管理

Azure Data Factory

Azure Data Catalog

Azure Event Hubs

データ アクション

8

Event Hubs• 秒間数百万件のイベントを受信できるデータ収集サー

ビス

Fieldgatewa

y

Azure Event Hub

PANDevice

IP NetworkDevice

HTTPS, AMQP

HTTPS, AMQP

Azure SDK

Azure SDK パーティション

リテンション期間

9

Stream Analytics• 大量のデータをリアルタイムに処理するクエリエンジ

Azure Stream

Analytics

SELECT System.Timestamp as Time, DeviceId, CAST(AVG(frompis.Temp) AS float) AS Temp, CAST(AVG(frompis.Pressure) AS float) AS Pressure, CAST(AVG(frompis.Hum) AS float) AS Hum, CAST(AVG(frompis.HiLux) AS float) AS HiLux, CAST(AVG(frompis.LowLux) AS float) AS LowLux INTO powerbiFROM raspisensors TIMESTAMP BY DateGROUP BY DeviceId, TumblingWindow(second, 30)

SQL Database

Storage

Document DB

Event Hub

Power BI

10

Machine Learning

① データ読み込み

② データ整形

④ アルゴリズムを指定してトレーニング

③ 学習用とテスト用のデータ作成

⑤ トレーニングした結果をもとにスコアリング

⑦Web API

⑥ 評価

• 人間の代わりに判断を下す機械学習基盤

11

Power BI• Web API インタフェースを持つ BI ツール

HTTPS

HTTPS

T-SQL

Power BIAPI

12

Power BI• Power BI 開発ツールでグラフを追加– ソースコードは GitHub で公開されてるよ

13

まとめ。 SORACOM + Azure だ!

Microsoft Azure

Web app

Event Hub Stream Analytics Power BIRaspberry PI with Sensors

① SORACOM Beamから IMSI 取得

② SORACOM Beam で取得した IMSI と、

センサー値を Event Hub に JSON で送信

③ Stream Analytics で単位時間平均値を計算して Power BI

に送る

SQL Database Machine Learning

Data Factory

Event Hub

14

続きはリレーブログで。

15

Azure IoT Hub

Fieldgateway

Azure IoT

Protocol Gateway

( クラウドサービスにデプロ

イ )

Azure IoT Hub

PANDevice

IP NetworkDevice MQTT, 独自プロトコ

MQTT, 独自プロトコル

HTTPS, AMQP

HTTPS, AMQP

AMQPAzure IoT SDK

Azure IoT SDK

Azure IoT SDK

16

そろそろ 12 月

17

ソラコム サンタさん!

18

SORACOM BEAM にAMQP をください!

19

SORACOM BEAM にSAS TOKEN をください!

20

https://www.facebook.com/jazug.jphttps://www.facebook.com/jazug.jp

21

ありがとうございました!

top related