28. 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
tagged objects, etc.”
appliances, RFID http://en.wikipedia.org/wiki/Web_of_Things
36. Demo(DLNAをそのままWebで使
う)
Micro web
server is
serve inside!!
render
DMR DMS
controll
DLNA protocol has
Implemented by komasshu
based on Socket API
DMC
37. Socket APIを用いたDLNAの実装
Chrome Packaged
Apps
Generic Web Site (micro web server)
by Socket API
REST→DLNA
変換 DLNA
ユーザー操作
39. Demo (accessible from another
network)
Manipulation
WebSocket server via WebSocket
connections.
render serve
DMR controll
DMS
DMC
Home Network Mobile Network
40. Demo(認証コンテンツ)
Micro web
server is
serve inside!!
render
DMR DMS
controll
DLNA protocol has
Implemented by komasshu
based on Socket API DMC
+ proxy
41. 認証コンテンツをDLNAで見れるよ
うにする仕組み
Certification handling
server is implemented
inside of Chrome (Socket
API)
User input is on
Browser only!!
44. 渡すためのAPI
• Web Intents … Now, dead … orz
– 詳しくは、僕のブログ http://goo.gl/ScYAS
• Service Discovery API
– 現在、Operaのdevでのみ実装
– 現状のSocket APIでは受け側が実装できない
(socket optionが指定できない)
サーバー
いますかー?
REST→DLNA
変換
無言
45. Alternative plan
NATのglobal IPをキー
Registration server
としてURLを保存
http://192.168.13.5:
59685 Global IP
NAT router
REGIST:
http://192.168.13.5:59685
REST→DLNA
変換
46. このPlanを
実サービスでは使うのはキツ
Registration server
イ!!
NATのglobal IPをキー
としてURLを保存
携帯キャリアNW
Global IP
CGN
Private IP Private IP Private IP
NAT router NAT router NAT router
REST→DLNA REST→DLNA REST→DLNA
変換 変換 変換