windows 10 iot 引爆物联终端世界

45
Windows 10 IoT 引爆物联终端世界 周闻钧 微软中国 炯 WHE MVP IoT B304

Upload: others

Post on 18-Jan-2022

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Windows 10 IoT 引爆物联终端世界

Windows 10 IoT 引爆物联终端世界

周闻钧 微软中国 施 炯 WHE MVP

IoT B304

Page 2: Windows 10 IoT 引爆物联终端世界
Page 3: Windows 10 IoT 引爆物联终端世界

微软IoT平台概览

周闻钧 资深技术顾问 微软中国

Page 4: Windows 10 IoT 引爆物联终端世界

车辆跟踪设备 摄像头 电表 荷重仪 烟雾、火灾报警器 湿度传感器 流量计 占用传感器 温度传感器

Machine Controller

车辆跟踪 智能电网 一般设备 售卖机 智能家庭 医疗 智能建筑自动化 数字广告 火灾检测

创客

智能设备

OEM

设备即服务

企业

智能运营

终端用户

个人办公

Windows I0 IoT 现场网关

数据进入、输出 数据存储、安全 事件处理 分析平台

Microsoft Azure

远程监测和服务

财产追踪及地理围栏

用量为本的计费

Alljoyn,设备协同

设备及固件升级

命令与控制

内容传输

合规管理

预测性维护

分析工具 (BI, ML)

企业集成 (BI/CRM/ERP)

数据市场

网络

Page 5: Windows 10 IoT 引爆物联终端世界

Field Gateway

设备连接与管理 分析与可操作的改进 展现并与业务关联

Devic

es

RTO

S, L

inu

x, W

ind

ow

s, A

nd

roid

, iO

S

Protocol Adaptation

Batch Analytics & Visualizations

Azure HDInsight, AzureML, Power BI,

Azure Data Factory

Hot Path Analytics

Azure Stream Analytics, Azure HDInsight Storm

Presentation &

Business Connectivity

App Service, Websites

Dynamics, BizTalk Services, Notification Hubs

Hot Path Business Logic

Service Fabric & Actor Framework

Cloud Gateway

Event Hubs & IoT Hub

Field Gateway

Protocol Adaptation

Page 6: Windows 10 IoT 引爆物联终端世界

Windows 10 IoT Enterprise 桌面 Shell、Win32 应用

1 GB RAM、16 GB 存储

Windows 10 IoT Mobile Enterprise 现代 Shell

移动存储底盘要求

512 MB RAM、4 GB 存储

Windows 10 IoT Core 专用设备

无 Shell/存储/MS 应用

256MB RAM、2GB 存储

通用应用

Windows 设备服务

• 位于所有 Windows IoT 客户端上

• 扩大 Windows 服务对 OEM 的价值

• 更新管理、互操作性

• 面向Azure IoT服务套件

需要桌面或桌面应用 – Win32、.NET、WPF 等?

需要 Shell 体验、多个应用程序、Windows 第一方应用程序或移动语音?

否则

Page 7: Windows 10 IoT 引爆物联终端世界

微软IoT端开发资源

Page 8: Windows 10 IoT 引爆物联终端世界
Page 9: Windows 10 IoT 引爆物联终端世界

Raspberry Pi 2(ARM)

Intel Galileo Gen.1/2(x86)

Dragonboard 410c(ARM)

Minnowboard Max(x64)

Page 10: Windows 10 IoT 引爆物联终端世界
Page 12: Windows 10 IoT 引爆物联终端世界

创建您的第一个IoT UWP

Page 13: Windows 10 IoT 引爆物联终端世界
Page 14: Windows 10 IoT 引爆物联终端世界
Page 16: Windows 10 IoT 引爆物联终端世界
Page 17: Windows 10 IoT 引爆物联终端世界
Page 18: Windows 10 IoT 引爆物联终端世界

为IoT UWP插上硬件和云的翅膀

Page 19: Windows 10 IoT 引爆物联终端世界
Page 20: Windows 10 IoT 引爆物联终端世界

Windows.Devices.GPIO

var api = "Windows.Devices.Gpio.GpioController";

if

(Windows.Foundation.Metadata.ApiInformation.IsTypePresent(api))

{

var gpio = GpioController.GetDefault();

var pin = gpio.OpenPin(LED_PIN);

pin.SetDriveMode(GpioPinDriveMode.Output);

pin.Write(GpioPinValue.High);

}

Page 21: Windows 10 IoT 引爆物联终端世界

IoT Hub

<add key="Microsoft.ServiceBus.ConnectionString"

value="Endpoint=sb://IgniteIoTLab-

ns.servicebus.windows.net/;SharedAccessKeyName=D1;SharedAccessK

ey=iQFNbyWTYRBwypMtPmpfJVz+NBgR32YHrQC0ZSvId20="/>

Page 23: Windows 10 IoT 引爆物联终端世界

Demo演示 硬件需求 1. Raspberry Pi 2 Model B 2. TI Sensortag传感器模块 3. LED发光二极管 4. 220欧姆电阻 5. 连接线

软件版本 1. Windows 10 IoT Core:RTM Release 10240 or Insider Preview 10531 2. Visual Studio 2015 RTM with Universal Windows app development

tools v1.1 3. Windows Azure账号

Page 24: Windows 10 IoT 引爆物联终端世界

在IoT UWP实现语音交互

施炯 Windows Hardware Engineering MVP

Page 25: Windows 10 IoT 引爆物联终端世界
Page 27: Windows 10 IoT 引爆物联终端世界

Demo演示 硬件需求 1. Raspberry Pi 2 Model B 2. USB声卡、麦克风 3. LED灯 4. 220欧姆电阻 5. 连接线

软件版本 1. Windows 10 IoT Core:RTM Release 10240 or Insider Preview 10531 2. Visual Studio 2015 RTM with Universal Windows app development

tools v1.1

Page 28: Windows 10 IoT 引爆物联终端世界

• https://www.projectoxford.ai•

Page 29: Windows 10 IoT 引爆物联终端世界
Page 31: Windows 10 IoT 引爆物联终端世界
Page 32: Windows 10 IoT 引爆物联终端世界

if (!this.advertised)

{

this.advertised = true;

IlightbulbService service =!this.IsIoT ? (IlightbulbService)this :

new GpioLightbulbService(GPIO_LED_PIN, this.txtRoom.Text);

AllJoynBusAttachment busAttachment = new AllJoynBusAttachment();

lightbulbProducer producer = new lightbulbProducer(busAttachment);

producer.Service = service;

producer.Start();

}

Page 34: Windows 10 IoT 引爆物联终端世界
Page 36: Windows 10 IoT 引爆物联终端世界

1.

Page 37: Windows 10 IoT 引爆物联终端世界
Page 38: Windows 10 IoT 引爆物联终端世界
Page 39: Windows 10 IoT 引爆物联终端世界

Demo演示 硬件需求 1. Raspberry Pi 2 Model B 2. Windows 10 PC设备 3. LED灯 4. 220欧姆电阻 5. 连接线

软件版本 1. Windows 10 IoT Core:RTM Release 10240 or Insider Preview 10531 2. Visual Studio 2015 RTM with Universal Windows app development

tools v1.1 3. AllJoyn Studio Extension

Page 40: Windows 10 IoT 引爆物联终端世界

https://msdn.microsoft.com/en-us/library/hh361658

https://www.projectoxford.ai

http://allseenalliance.org

4.https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.alljoyn.aspx

5.https://channel9.msdn.com/Blogs/Internet-of-Things-Blog/Troubleshooting-AllJoyn-with-Windows-10-Insider-Preview-Builds

6.

http://mtaulty.com/CommunityServer/blogs

Page 41: Windows 10 IoT 引爆物联终端世界

课后提醒

Page 42: Windows 10 IoT 引爆物联终端世界

Windows10通用应用及

Web App技术讨论区

http://aka.ms/win10appdev

Windows10应用商店讨论区

http://aka.ms/win10appstore

微软云Azure开发技术讨论区

http://aka.ms/azurediscussion

1 2 3

Page 44: Windows 10 IoT 引爆物联终端世界
Page 45: Windows 10 IoT 引爆物联终端世界