Professional Documents
Culture Documents
NT IoTApplicationProtocols
NT IoTApplicationProtocols
NT Program
Week Theory
6 Security, Assignment 5
7 Round Up
IoT
https://www.researchgate.net/publication/
323528446_A_survey_on_the_challenges_and_opportunities_of_the_Internet_of_Things_IoT/figures?lo=1
IoT Architecture
Request
Request : 2 persons
Stockholm-Tokyo Airline
Travel Agent Server
Server
Replies
Replies:
SAS : Stockholm-Kopenhagen-Tokyo
KLML Stockholm-Amsterdam-Tokyo
Airline
Server
Source : http://www.embedded.com/design/real-world-applications/4420564/2/Building-an-IoT-web-services-framework-with-smart-objects--Part-1
Web Services for Smart Objects (IoT)
IoT Web Services
Temperature
Sensor
Temperature
Sensor
Building
Automation
Temperature
Server Sensor
Serv
er confi
gure
s radia
to r
Radiator
Pu
o
iat
bl
ish
a d Temperature
Publish: Radiator/Config/21
R 1
:T
: 2
be g/ Sensor
se
ri fi
ns
c n
bs o
o
Su r/C
Pub
r/
o
2
t
dia
/1
lish
a
7
:R
Building sh
: Ts
bli
Pu
e ns
Automation
o r/
Server
3/2
Temperature
0
Sensor
Temperature
Sensor
Radiator
MQTT Topics
• Messages on MQTT are published on topics
• Topics don’t need to be configured, they have
to be published
• Topics are organized in hierarchical structure
• Example:
Radiator/Config/Temperature
MQTT Protocol Stack
REST in IOT
Constrained Application Protocol
CoAP
• REST model
• Very similar to HTTP, thus easily usable by Web
API Developers
• Integrates easily with XML, JSON and CBOR
• Designed to work on very small microcontrollers
with as low as 10KiB of RAM and 100KiB of code
space
• Uses minimal resources and protocol stack (UDP)
CoAP
• Integrated discovery protocol by using CoAP
resource directory
• Strong security features by using DTLS
protocol
CoAP in the previous example
erat ure
t/ Te mp
] Ge
Temperature
d 45 4 6
t “ 20,5” Sensor
O N : [0 x 0 Co nten
C
4 6 ] 2.05
[ 0 x 0 d4 5
Building ACK:
Automation
Server
REST in IOT