Upload
greenberetlp
View
235
Download
0
Embed Size (px)
Citation preview
8/6/2019 [Nam] Architecture for Browsing the IoT
1/21
Nam Giang
Architecture for Browsing the IoT
8/16/2011
8/6/2019 [Nam] Architecture for Browsing the IoT
2/21
8/6/2019 [Nam] Architecture for Browsing the IoT
3/21
Auto-ID Lab Korea / KAIST
Slide 3
P rogress
Prep a r ing p a per Exploitation of HTML5 in Browsing Architecture for the Internet of
ThingsTarget conference: Percom 2012, dead line: Sep. 23 rd
Done introduction and related work
O ng o ing rese a r ch Two way web communication with HTML5
L abs jo b Study TALP protocol 70%
Debugging SNAIL suspended
8/6/2019 [Nam] Architecture for Browsing the IoT
4/21
Auto-ID Lab Korea / KAIST
Slide 4
Current deployment
Co nt e nt 1 Second level
Co nt e nt 2 Second level
Third level Fourth level
Fifth level
8/6/2019 [Nam] Architecture for Browsing the IoT
5/21
8/6/2019 [Nam] Architecture for Browsing the IoT
6/21
Auto-ID Lab Korea / KAIST
Slide 6
Brief about same origin policy
W h y c ross or igin i s pro hibit e d?
8/6/2019 [Nam] Architecture for Browsing the IoT
7/21
Auto-ID Lab Korea / KAIST
Slide 7
Solutions
1. Curre nt solu tio n2. JS O NP: JS O N with P adding
3. H TML5 + Cross Do c u m e nt M ess aging ca p abi lity
4. COR S : Cross O r igin R esour c e Sha r ing
8/6/2019 [Nam] Architecture for Browsing the IoT
8/21
Auto-ID Lab Korea / KAIST
Slide 8
Current solution
Ask f or user to a llo w se c ur ity issues: in loadData() function:
W ork o n ly u nd er Fi re f ox!
8/6/2019 [Nam] Architecture for Browsing the IoT
9/21
Auto-ID Lab Korea / KAIST
Slide 9
Solutions for x-domain msg
JS O NP Instead of using Ajax/XmlHttpRequest to call to other site, using script tag to
call to other site:
8/6/2019 [Nam] Architecture for Browsing the IoT
10/21
Auto-ID Lab Korea / KAIST
Slide 10
Solutions for x-domain msg
HTML5 + Cross Do c u m e nt M ess aging Recently proposed way to co-ordinate between different domains
8/6/2019 [Nam] Architecture for Browsing the IoT
11/21
Auto-ID Lab Korea / KAIST
Slide 11
Solutions for x-domain msg
COR S : Cross O r igin R esour c e Sha r ing
8/6/2019 [Nam] Architecture for Browsing the IoT
12/21
8/6/2019 [Nam] Architecture for Browsing the IoT
13/21
Auto-ID Lab Korea / KAIST
Slide 13
The mixture problem
W hat if : se n sor 2.i o t.kr ha s o n ly te m per at ure and h u mid The page: h ttp://pr.iot.kr?epc=3074 .. Is useless!!!
loadData() load sensed data from $url to
$responseText, and executesensor_write($responseText)
Decode response data(J SON ) and write tobrowser
8/6/2019 [Nam] Architecture for Browsing the IoT
14/21
Auto-ID Lab Korea / KAIST
Slide 14
Designed solution
8/6/2019 [Nam] Architecture for Browsing the IoT
15/21
Auto-ID Lab Korea / KAIST
Slide 15
Design -Detailed
Prese ntati o n S erver v2.0
8/6/2019 [Nam] Architecture for Browsing the IoT
16/21
8/6/2019 [Nam] Architecture for Browsing the IoT
17/21
Auto-ID Lab Korea / KAIST
Slide 17
S tep by step Browsing things
GW
8/6/2019 [Nam] Architecture for Browsing the IoT
18/21
Auto-ID Lab Korea / KAIST
Slide 18
S tep by step Browsing things
GW
8/6/2019 [Nam] Architecture for Browsing the IoT
19/21
Auto-ID Lab Korea / KAIST
Slide 19
S tep by step Browsing things
Sensor1loader.js now hasthe wanted data, the nextstep is just display it onweb browser
8/6/2019 [Nam] Architecture for Browsing the IoT
20/21
Auto-ID Lab Korea / KAIST
Slide 20
Application candidate
W e b s ite f or d oor lo c k Access the web site to know whether or not the door is locked and lock
or unlock the door from that web site
W e b s ite f or ai r c o nditi o n er
To know whether or not the air conditioner is turn off or notSma r t f r idg e s w e b s ite
Access the web site to see the food list
8/6/2019 [Nam] Architecture for Browsing the IoT
21/21
Auto-ID Lab Korea / KAIST
Slide 21