46
HTML5 ににににににににに ににににににににに 2013/2/8 (fri) NTT communications にににに

8th jan 2013_wotconf

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: 8th jan 2013_wotconf

HTML5によるデバイス連携最新事情と未来予測

2013/2/8 (fri)NTT communications

小松健作

Page 2: 8th jan 2013_wotconf

自己紹介• 名前–小松健作

• 所属– NTTコミュニケーションズ–次世代Webの研究開発・標準化

• HTML5コミュニティの運営– Google Developers Expert(HTML5)– Microsoft MVP (IE)

Page 3: 8th jan 2013_wotconf

agenda

• Inroduction

• Base technology

• Practice for Web of Things

• Keep up w/ Web of Things

Page 4: 8th jan 2013_wotconf

agenda

• Inroduction

• Base technology

• Practice for Web of Things

• Keep up w/ Web of Things

Page 5: 8th jan 2013_wotconf

Web of things

“The Web of Things is a vision inspired from the Internet of Things where everyday devices and objects, i.e. objects that contain an embedded device or computer, are connected by fully integrating them to the Web. Examples of smart devices and objects are wireless sensor networks, ambient devices, household appliances, RFID tagged objects, etc.”

http://en.wikipedia.org/wiki/Web_of_Things

Page 6: 8th jan 2013_wotconf

和名(直訳)

「モノ」のWeb

Page 7: 8th jan 2013_wotconf

意訳• Webから様々なマルチデバイスを使いこなせるようになること–パソコン–スマートフォン–タブレット–テレビ–車–サイネージ– ……..

Page 8: 8th jan 2013_wotconf

Webってそもそも何 ?

Page 9: 8th jan 2013_wotconf

今までのWeb

Browser+

Web OS

Page 10: 8th jan 2013_wotconf

これからのWeb

Browser+

Web OS

Page 11: 8th jan 2013_wotconf

Demo : 従来Webのユースケース

http://events.html5j.org/conference/2012/09/program.html

Page 12: 8th jan 2013_wotconf

従来Webのモデル

Page 13: 8th jan 2013_wotconf

Demo : これからのWebのユースケース

Page 14: 8th jan 2013_wotconf

これからのWebのモデル

Page 15: 8th jan 2013_wotconf

document

Interactive

Page 16: 8th jan 2013_wotconf

agenda

• Inroduction

• Base technology

• Practice for Web of Things

• Keep up w/ Web of Things

Page 17: 8th jan 2013_wotconf

Browser+

Web OS

Page 18: 8th jan 2013_wotconf

プロトコルとは?

• 車みたいなもの–フォーマット•乗用車•バイク•トラック

–ふるまい•走り方

Page 19: 8th jan 2013_wotconf

HTTP

片側一車線を一台しか走れない必ずクライアントから開始

Page 20: 8th jan 2013_wotconf

WebSocket

片側一車線を何台でも走れる好きなタイミングで発車できる

Page 21: 8th jan 2013_wotconf

ブラウザーで出来る事• これまでは、 HTTPのみ–文書のダウンロード

• これからはWebSocketも–インタラクティブにデバイス間で通信

• でも、それ以上のことはなかなか出来ない–セキュリティリスクが大きすぎる

Page 22: 8th jan 2013_wotconf

Browser+

Web OS

Page 23: 8th jan 2013_wotconf

Web OSで出来る事

•Raw Socket API•Bluetooth•USB•…

Page 24: 8th jan 2013_wotconf

Ex) Chrome Packaged Apps

Page 25: 8th jan 2013_wotconf

Web OS

OS(windows, mac, linux, …)

Browser run-time

Browser

Web page Web OS apps Native apps

Page 26: 8th jan 2013_wotconf

Web OS (cont)

Browser run-time

Browser

Web page Web OS apps

Page 27: 8th jan 2013_wotconf

Web OS (cont)

Page 28: 8th jan 2013_wotconf

System Applications WG

http://www.w3.org/2012/09/sysapps-wg-charter

Page 29: 8th jan 2013_wotconf

agenda

• Inroduction

• Base technology

• Practice for Web of Things

• Keep up w/ Web of Things

Page 30: 8th jan 2013_wotconf

Socket APIによる DLNAの実装• Socket API–生の Socket コーディングを可能にする API–車の例で言えば、車自体を作ったりすることができる• これまでのWebでは出来合いの車しか使えなかった。

Page 31: 8th jan 2013_wotconf

Demo( DLNAをそのままWebで使う)

DMSDMR

DMC

controll

serverender

Micro web server is inside!!

DLNA protocol hasImplemented by komasshu

based on Socket API

Page 32: 8th jan 2013_wotconf

Socket APIを用いた DLNAの実装

REST→DLNA変換

Chrome PackagedApps(micro web server)by Socket API

Generic Web Site

ユーザー操作

HTTP DLNA

Page 33: 8th jan 2013_wotconf

Demo(認証コンテンツ )

DMSDMR

DMC+ proxy

controll

serverender

Micro web server is inside!!

DLNA protocol hasImplemented by komasshu

based on Socket API

Page 34: 8th jan 2013_wotconf

認証コンテンツを DLNAで見れるようにする仕組み

Certification handling server is implemented

inside of Chrome (Socket API)

User input is on Browser only!!

Page 35: 8th jan 2013_wotconf

Demo (accessible from another network)

DMSDMR

DMC

controll

serverender

Manipulation via WebSocket connections.

Home Network Mobile Network

WebSocket server

Page 36: 8th jan 2013_wotconf

Public wifi considerations.

• 同一Wifiだからといって、 DLNAが使えるとは限らない– セキュリティリスクの低減

• 特に、 Public Wifiでは致命的– DLNA(IP multicast, direct connection)は、まず通らないと思ったほうがいい

• Cloudとのハイブリッド、 DLNAの enhanceが必要

Page 37: 8th jan 2013_wotconf

http://www.flickr.com/photos/utacnyc/3524755021/

Reconstructthe existing services.

Page 38: 8th jan 2013_wotconf

標準化へ

既存サービスをWebで再構築

標準化提案

Existing serviceとWeb との

GAP

Page 39: 8th jan 2013_wotconf

agenda

• Inroduction

• Base technology

• Practice for Web of Things

• Keep up w/ Web of Things

Page 40: 8th jan 2013_wotconf

Webの範疇は拡大の一途

•ブラウザだけではない•表現だけではない• HTTPだけではない•組み込み系も操作可能

(bluetooth, usb)

Page 41: 8th jan 2013_wotconf

Webの特徴は全てを繋ぐことゆえに・・・

• HTMLが書けるだけでは。。。• デザイン能力があるだけでは。。。• プログラムが書けるだけでは。。。• 通信プロトコルが書けるだけでは。。。• デバイス知識を持っているだけでは。。。

Page 42: 8th jan 2013_wotconf

理想的な人材

semantics

design

programming

protocol device

Page 43: 8th jan 2013_wotconf

一人じゃ無理

semantics

design

programming

protocol device

Page 44: 8th jan 2013_wotconf

意図的な overlap

semantics

design

programming

protocoldevice

Page 45: 8th jan 2013_wotconf

Reconstructthe existing services.

これまでの深い経験・知識が次のイノベーションを起こすはず

Page 46: 8th jan 2013_wotconf

Thank you!!