Professional Documents
Culture Documents
FALLSEM2023-24 ITE4003 ETH VL2023240102492 2023-08-05 Reference-Material-I
FALLSEM2023-24 ITE4003 ETH VL2023240102492 2023-08-05 Reference-Material-I
Introduction
Logical Design of IoT • Logical Design of IoT
IoT Functional Blocks
– It refers to abstract representation of the entities and
process without going into low level specifications of
implementations
• IoT Functional Blocks
– Device
– Communications
– Services
– Management
– Security
– Applications
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 1
Functional Block of IoT
Introduction
Logical Design of IoT
IoT Functional Blocks
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 2
IoT Functional Blocks
Introduction
Logical Design of IoT • Device
IoT Functional Blocks
Device
– Is a system that comprises sensing/actuation,
Communication Communication and control functions
Services
Management • Communication
– Includes internal communication and external
communications
• Services
– Such as device monitoring, device control, data
publishing and device discovery
• Management
– Provides function to govern the IoT system
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 3
IoT Functional Blocks
Introduction
Logical Design of IoT • Security
IoT Functional Blocks
Device
– Includes authentication, authorization, message and
Communication content security, data security
Services
Management • Application
Security
Application
– Provides an User interface for monitor and control of
device
– Allows to view the system status and view or analyse the
processed data
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 4
IoT Communication Models
Logical Design of IoT
IoT Functional Blocks • IoT Communication Models
Device
Communication
– Request-Response
Services – Publish-Subscribe
Management
Security – Push-Pull
Application
Communication Model
– Exclusive pair
Request-Response
• Request-Response
Request
Resources
Response
Client Server
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 5
IoT Communication Models
Logical Design of IoT
IoT Functional Blocks • Publish-Subscribe
Device
Communication
Services
Management
Security
Application
Topic: temperature
Communication Model Consumer1
Request-Response
Publish
Publish-Subscribe
Publisher
Broker
Topic1
Topic1
Topic2
Topic2
..
..
Consumer n
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 6
IoT Communication Models
Logical Design of IoT
IoT Functional Blocks • Push-Pull
Device
Communication
– Producers and Consumer model
Services
Management Publisher Consumer-1
Security Messages Messages
Application pushed to Pulled
Communication Model queues from
Send messages queues
Request-Response to Queue Consumer-2
Publish-Subscribe
PUSH-PULL
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 8
IoT Communication API
Logical Design of IoT
Functional Blocks • IoT Communication API
Device
Communication
– REST based Communication model
Services – Websocket based Communication API
Management
Security • REST (REpresentative State Transfer)
Application
Communication Model – Is used to design web services and Web API’s
Request-Response
Publish-Subscribe
– Focusses on system resources and Manages resources
PUSH-PULL addresses and transfers
EXCLUSIVE pair
Communication API
– Follows Request-Response model
REST – REST architectureal constraints apply to the
WEBSOCKET
• Components, Connectors, and data elements
In a distributed hypermedia systems
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 9
IoT Communication API
Logical Design of IoT
Functional Blocks • REST Architectural constrains
Device
Communication
– Client Server
Services – Stateless
Management
Security – Cache-able
Application
Communication Model
– Layered System
Request-Response – Uniform interface
Publish-Subscribe
PUSH-PULL – Code on demand
EXCLUSIVE pair
Communication API
REST
WEBSOCKET
REST Architectural Con.
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 10
REST Based Communication API
Logical Design of IoT
Functional Blocks HTTP Packet HTTP
Device HTTP Command SERVER
HTTP Client
Communication GET PUT
Services POST DELETE Authorization
Management REST Aware
Security HTTP Client
REST Payload
REST-FULL
Application JSON XML web service
Communication Model
Request-Response
Publish-Subscribe
PUSH-PULL
HTTP Packet
EXCLUSIVE pair
Communication API URI
URI
REST Representations
Representations
WEBSOCKET
REST Architectural Con. Resource Resource
Block Diagram
Prof. Dr. M Rajasekhara Babu; School of Computing Science and Engineering 12/01/23 16:42 Slide No. 11