Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
BIT 5th Annual World Congress
Emerging InfoTech 2016
An IOT gateway Architecture
using a MQTT bundle transport &
LTP Convergence Layer
11/11/16
1
By Alex Kritikos
. Senior director R&D
Universal Messaging
Software AG UK
. OASIS MQTT TC member
Email: alex.kritikos@softwareag.com
Twitter: @krital
LinkedIn: https://uk.linkedin.com/in/alexkritikos
ALEX KRITIKOS
About the speaker
2
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
Growing fast
Internet of (Earth) Things
3
11/11/16 Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
DTN based Solar System
Internet
4
11/11/16
Internet of (Space) Things
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
Earth & Space IOT research
What if we
combined them?
• Link layer agnostic propagation (bundles)
• MQTT encapsulation: payloads to local subscribers
5
11/11/16
• DTN encapsulation: payloads are routed progressively via
intermediary nodes
• Full MQTT & DTN stack on each node
• Lower latency and higher throughput
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
DTN to MQTT
Convergence Layer
• /temperature => dtn://node/temperature
• /consumption => dtn://node/consumption
• /ac/actions => dtn://node/ac/actions
• MQTT topic => DTN EID
6
11/11/16
• bi directional
• MQTT publish DTN receive
• DTN send MQTT subscribe
7
11/11/16
• MQTT integration with DTN
• Hardware sharing = cost reduction
• Software sharing = cost reduction
• MQTT bridging
• via DTN BP
• Via Licklider Transmission Protocol (LTP)
DTN to MQTT
Value
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
MQTT	PUBLISH BP	TRAFFIC MQTT	
SUBSCRIBE
8
11/11/16
DTN to MQTT integration
Hardware and Software
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
MQTT ROUTING via DTN
Best effort MQTT Bridging via bundles
9
11/11/16 Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
10
11/11/16
MQTT ROUTING via DTN
Assured MQTT Bridging via custody transfer bundles
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
• Schedules best effort or assured data propagation
• Decouples local fanout from bridging propagation
11
11/11/16
• Events are routed progressively via intermediary
nodes
• Results in lower latency and higher throughput
MQTT ROUTING via DTN
Thoughts
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
12
11/11/16
MQTT ROUTING via LTP
Bridging MQTT brokers via LTP UDPCL
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
• Unidirectional, Connectionless, Efficient flow
• Fragmentation support
• Flow control via LTP sessions
• Multi stream (red, green) assured data
propagation
• Link layer agnostic
13
11/11/16
MQTT ROUTING via LTP
Thoughts
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
Interested? Contact me
• To find out more
• To collaborate
14
11/11/16
Earth & Space IOT research
What if we
combined them?
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks
References
• Advances in Delay-tolerant Networks
(DTNs) – Architecture and Enhanced
Performance
By Woodhead Publishing 2015
11/11/16
15
• Brenda Lyons, NASA NDBS 2016
• Appendix A: What is IOT?
• Appendix B: What is DTN?
• Appendix C: What is MQTT?
• Further Research A: DTN routing via MQTT
• Further Research B: High availability with MQTT
• Further Research C: High availability with MQTT & DTN
Appendix A
Never heard of Internet of Things?
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 1611/11/16
• Read about
• History and status
• M2M Comparison
• Market & estimates
• Example architectures
A
IOT & M2M
Comparison…
• M2M came first during the telecom era
• M2M: proprietary, closed, private
machine communication (e.g. CallerID)
• IOT is much more than machine
communication
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 1711/11/16
A
IOT & M2M
Comparison…(2)
• IOT: devices connect to a larger
network, usually via a gateway, are
cloud enabled, can interop, enables
device physical reach (e.g. Samsung
SmartThings)
• IOT – M2M common: machine comms
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 1811/11/16
IOT Market
Estimates…
• 2020:
• 25-30 billion
Connected devices
• Today:
• 6.4-9 billion
Connected devices
!This excludes phones, tablets, PCs!
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 1911/11/16
IOT IMPORTANCE
Status…
• Ongoing transport standardization efforts
• MQTT, COAP, AMQP, Websocket, Node
• Enormous telco traffic challenge
• Global M2M traffic:1 to 6.3 Exabytes / month by 2020 SOURCE
• Real time streaming analytics
• Security nightmare
• 1TB DDOS by hacked CCTVs
• PCs, PVRs, routers, smart fridge
• MCUs + PKI = slow
• Privacy concerns
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 2011/11/16
IOT Example
Smart Home…
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 21
11/11/16
IOT Example
Smart Home…
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 22
11/11/16
Why cant all things use WiFi?
• If mains powered, sometimes they do
• WiFi may not reach your boiler room
• A lot of battery powered – low energy sensors
• WiFi lacks ad-hoc network features (e.g. mesh)
Things tend to be in their own sensor/field net
• Based on low power RF (e.g. zigbee, zwave)
• Needs a gateway to bridge to local IP network
Smart Home IOT Architecture
GSM/DSL/	
FIBRE
HTTP
MQTT
AMQP
Ethernet	/	
WiFi
HTTP
MQTT
AMQP
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 23
11/11/16
Users interact with things via a device …
Smart Home IOT Architecture (2)
GSM/DSL/
FIBRE
HTTP
MQTT
AMQP
RF
ZigBee
ZWave
BLE
Ethernet	/	
WiFi
HTTP
MQTT
AMQP
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 2411/11/16
Things interact with environment via gateway…
Smart Home IOT Architecture (3)
GSM/DSL/
FIBRE
HTTP
MQTT
AMQP
RF
ZigBee
ZWave
BLE
Ethernet	/	
WiFi
HTTP
MQTT
AMQP
Cloud Platform Services
Cloud services add value & remote access
Smart Home IOT Architecture (4)
GSM/DSL/
FIBRE
HTTP
MQTT
AMQP
RF
ZigBee
ZWave
BLE
Ethernet	/	
WiFi
HTTP
MQTT
AMQP
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 2611/11/16
Appendix B
Never heard of DTN?
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 2711/11/16
• Read about
• history and status
• Protocol overview
• TCP/IP Comparison
• Terrestrial uses
DTN
History…
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 2811/11/16
initiative to
develop an
“Interplanetary
Internet”
1998
NASA starts
Delay / Disruption
Tolerant
Networking
1998
NASA leads
worldwide
DTN
development
2005
IOAG
Recommends
Solar System
Internetwork
(SSI)
2010
IOAG
Suggests
DTN
a core service
of SSI
2010
DTN
is	being
standardized
by	IETF
DTN
is being
standardized
by CCSDS
DTN
Solar System Internet…
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 2911/11/16
DTN
• The (DTN) protocol suite
• Extends the terrestrial Internet capabilities
• Works
• in challenged communication environments
• over unidirectional/asymmetric links
• Tolerates
• frequent disruptions
• long delays / high error rates
• Provides
• assured delivery of data
• automatic store-and-forward
• Can run over IP or as a full Internetworking protocol
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3011/11/16
Overview
DTN
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3111/11/16
Overview (2)
DTN
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3211/11/16
TCP/IP Comparison
DTN
IP: Must wait for complete path
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3311/11/16
TCP/IP Comparison (2)
DTN
TCP/IP Comparison (3)
DTN: Incremental progress without complete path
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3411/11/16
DTN
DTN decouples data propagation from link layer
characteristics
• Can be used to propagate data not needed in
real time (e.g. wearables, home automation
etc)
• Introduces some node storage requirements
• Use cases
• sea-going vessels
• outdoor explorers
• wildlife research
• vehicular networks
• disaster area networks
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3511/11/16
Terrestrial use
Appendix C
Never heard of MQTT?
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3611/11/16
• Read about
• History and status
• Protocol overview
• Role in IOT architectures
MQTT
History…
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3711/11/16
IBM	&
Eurotech
develop
1990s
IBM	&	
Eurotech
Open	
Source	
2012
Software	
AG	
implements	
2013
OASIS	
MQTT	TC	
Created	
2013
Many
others
join
MQTT	
becomes	
OASIS	
standard	
2014
MQTT	
becomes	
ISO/IEC	
20922
2016
MQTT
Description
• MQTT is
• Is an open, simple, lightweight publish-
subscribe binary messaging protocol
• Is easy to implement (15 protocol
commands)
• has a fixed 2 byte over-the-wire overhead
header
• Has 256MB max payload
• runs on top of TCP/TLS/WS/WSS stacks
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3811/11/16
MQTT
Description (2)
• MQTT offers 3 quality of service levels:
• QOS 0: At most once (Fire and forget)
• QOS 1: At least once (ACKed delivery)
• QOS 2: Exactly once (ACKed / No
duplicates)
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 3911/11/16
MQTT
Description (3)
• Information on software/hardware that uses
MQTT: http://ow.ly/wHm2e
• The Eclipse Paho project offers some great
MQTT clients in minimal C, regular C, C++,
Java, Javascript, Python, Lua, Go, Objective-
C: http://ow.ly/wHl8c
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4011/11/16
MQTT in IOT
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4111/11/16
MQTT in IOT (2)
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4211/11/16
MQTT in IOT (3)
MQTT	BRIDGE
MQTT	PUB	&	
SUB MQTT	SUB
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4311/11/16
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4411/11/16
Further Research A
DTN routing via MQTT
DTN ROUTING via MQTT
One to many
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4511/11/16
DTN ROUTING via MQTT
Many to one
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4611/11/16
DTN ROUTING via MQTT
Thoughts
• Unicast routing focus
• Data sharing importance:
• Vehicular networks
• Disaster area networks
• Delegates shared custodian to MQTT broker
• Can use various MQTT QOS
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4711/11/16
Further Research B
High availability with MQTT
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4811/11/16
IOT with MQTT
HA architecture
MQTT	PUB	&	BRIDGE
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 4911/11/16
IOT with MQTT
HA active – active cluster architecture
MQTT	PUB
PROPRIETRY	
QUORUM
REPLICATE
SYNC
COORDINATE
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5011/11/16
IOT with MQTT
HA active – active: master failure
MQTT	PUB
PROPRIETRY	
QUORUM
REPLICATE
SYNC
COORDINATE
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5111/11/16
IOT with MQTT
HA active – active: publisher failover
MQTT	PUB
PROPRIETRY	
QUORUM
REPLICATE
SYNC
COORDINATE
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5211/11/16
IOT with MQTT
HA active – active: node rejoin
MQTT	PUB
PROPRIETRY	
QUORUM
REPLICATE
SYNC
COORDINATE
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5311/11/16
IOT with MQTT
HA active – active: multiple streams
MQTT	PUB	STREAM	
1
MQTT	PUB	STREAM	
2
MQTT	PUB	STREAM	
3
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5411/11/16
Further Research C
High availability with MQTT & DTN
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5511/11/16
MQTT HA via DTN
Eventual consistency …
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5611/11/16
MQTT HA via DTN
Master failure
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5711/11/16
MQTT HA via DTN
Partial sync while offline
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5811/11/16
MQTT HA via DTN
Fast node cluster rejoin
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 5911/11/16
MQTT HA via DTN
Thoughts
• Schedules best effort or assured data
propagation
• Decouples local fanout from slave propagation
• Bundles continue to flow while broker offline
• Allows fast cluster recovery
Alex	Kritikos	- Thoughts	on	the	Future	Development	of	Ad	hoc	and	Wireless	Sensors	Networks 6011/11/16

More Related Content

PDF
Intelligent IoT gateway on openwrt
PPTX
IoTlondon - mbed based IoT Gateway talk
PDF
Open source IoT gateway
PDF
Protocols for IoT
PPTX
Catching the Internet of Things (IoT) Wave
PDF
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
PDF
Protocols for IoT
PDF
Intel IPSO/6LoWPAN solution for general wireless sensor network
Intelligent IoT gateway on openwrt
IoTlondon - mbed based IoT Gateway talk
Open source IoT gateway
Protocols for IoT
Catching the Internet of Things (IoT) Wave
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Protocols for IoT
Intel IPSO/6LoWPAN solution for general wireless sensor network

What's hot (19)

PDF
Internet of Things: Comparison of Protocols & Standards
PDF
Building Open Source IoT Cloud
PPTX
PPTX
Asset Monitoring with Beacons, Lora, NodeJS and IoT Cloud
PPT
Standards Drive the Internet of Things
PPTX
Webnesday - Introduction to LoRaWAN
PPTX
CoAP - Web Protocol for IoT
PDF
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
PPTX
IETF building block in the LwM2M Ecosystem (IoT World 2017 Workshop)
ODP
Using open source for IoT
PDF
IoT Protocols by Nagasai Panchakarla | CuTech Talks
PPTX
Protocols for internet of things
PDF
Introduction MQTT in English
PDF
What's the Right Messaging Standard for the IoT?
PDF
Connecting the smart factory to the cloud with MQTT and Sparkplug
PDF
IoT RF Protocols
PDF
MQTT in the Internet of Things | Loop by Litmus Automation
PDF
IoT Seminar (Oct. 2016) Jong Young Lee - MDS Technology
PPTX
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
Internet of Things: Comparison of Protocols & Standards
Building Open Source IoT Cloud
Asset Monitoring with Beacons, Lora, NodeJS and IoT Cloud
Standards Drive the Internet of Things
Webnesday - Introduction to LoRaWAN
CoAP - Web Protocol for IoT
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
IETF building block in the LwM2M Ecosystem (IoT World 2017 Workshop)
Using open source for IoT
IoT Protocols by Nagasai Panchakarla | CuTech Talks
Protocols for internet of things
Introduction MQTT in English
What's the Right Messaging Standard for the IoT?
Connecting the smart factory to the cloud with MQTT and Sparkplug
IoT RF Protocols
MQTT in the Internet of Things | Loop by Litmus Automation
IoT Seminar (Oct. 2016) Jong Young Lee - MDS Technology
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...

Viewers also liked (15)

PDF
Developing Robust IoT Gateway Applications from Building Blocks
PDF
OSGi IoT Demo & Contest 2015
PPTX
An Open Source Project for the IoT
PDF
Володимир Шиманський “Роль спільноти і OpenSource в IoT бізнесі” {R0boCamp}
PPTX
Blockchain Software for Hardware: The Canaan AvalonMiner Open Source Embedded...
PDF
OSGi -Simplifying the IoT Gateway - Walt Bowers
PPTX
Blueprint for creating a Secure IoT Product
PPTX
3 Software Stacks for IoT Solutions
PDF
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
PPTX
Євген Філяк “Як підняти продажі продукту за домомогою Win/Loss аналізу в 3 ра...
PDF
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
PPTX
Raspberry Pi as IoT gateway
PDF
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
PDF
Internet of Things - Advantech IoT Gateway Starter Kit
PDF
Kura M2M IoT Gateway
Developing Robust IoT Gateway Applications from Building Blocks
OSGi IoT Demo & Contest 2015
An Open Source Project for the IoT
Володимир Шиманський “Роль спільноти і OpenSource в IoT бізнесі” {R0boCamp}
Blockchain Software for Hardware: The Canaan AvalonMiner Open Source Embedded...
OSGi -Simplifying the IoT Gateway - Walt Bowers
Blueprint for creating a Secure IoT Product
3 Software Stacks for IoT Solutions
IoT based Industrial Gateway (IoT-SDK) built around Sitara™ AM437x processors...
Євген Філяк “Як підняти продажі продукту за домомогою Win/Loss аналізу в 3 ра...
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
Raspberry Pi as IoT gateway
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
Internet of Things - Advantech IoT Gateway Starter Kit
Kura M2M IoT Gateway

Similar to An IOT gateway Architecture using an MQTT bundle transport & LTP Convergence Layer (20)

PPTX
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17
PPTX
Lect1_Master computer Networks (1) intro +RFCs.pptx
PDF
Building the Internet of Things with Eclipse IoT - IoTBE meetup
PDF
Colt Optical SDN Innovation
PDF
Mainflux - Hyperscalable Unified IoT Platform
PDF
Mainflux - Hyperscalable Unified IoT Platform
PDF
ArcBlock Presents An Introduction to Blockchain
PDF
IoT overview 2014
PPTX
The Role of the Communication Protocols in the IoT: Pitfalls and Advantages
PDF
Internet of Things Innovations & Megatrends Update 12/14/16
PPTX
1. RINA motivation - TF Workshop
PDF
IoT introduction
PDF
Colt Novitas SDN World Congress 2015
PPTX
IoT Introduction & Communication Protocol
PPTX
NetSim Webinar on IOT
PDF
Colt sdn-strategy-telesemana-diciembre-2013-javier-benitez-colt-final
PDF
Colt SDN Strategy - Telesemana December 2013
PPTX
Intro RINA
PDF
Smart net
PDF
Creating The World’s First
IoT and Low Power WANs Can Enable Smart Cities and Smart Health 4-8-17
Lect1_Master computer Networks (1) intro +RFCs.pptx
Building the Internet of Things with Eclipse IoT - IoTBE meetup
Colt Optical SDN Innovation
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT Platform
ArcBlock Presents An Introduction to Blockchain
IoT overview 2014
The Role of the Communication Protocols in the IoT: Pitfalls and Advantages
Internet of Things Innovations & Megatrends Update 12/14/16
1. RINA motivation - TF Workshop
IoT introduction
Colt Novitas SDN World Congress 2015
IoT Introduction & Communication Protocol
NetSim Webinar on IOT
Colt sdn-strategy-telesemana-diciembre-2013-javier-benitez-colt-final
Colt SDN Strategy - Telesemana December 2013
Intro RINA
Smart net
Creating The World’s First

Recently uploaded (20)

PPTX
Where is the Best Place to Invest in Real Estate.pptx
PPTX
Embryogenesis Embryogenesis 3- Copy (2).pptx
PPTX
Karl Marx – Overview,arly Life: Born 1818, Germany • Studied philosophy
PPTX
Template for edu 3D Stairs Templates.pptx
PPTX
HRPTA PPT 2024-2025 FOR PTA MEETING STUDENTS
PPTX
Staff WelFare Presentation for Larger Organizations
PDF
Unit 3 Ratio Analysis.pdf xdvdssdfsdfsd sdf
PPTX
Music & Arts 7 Quarter 1 Weeks 5 to7.pptx
PPTX
MASTERING TIME: STRATEGIES FOR MANAGING STRESS AND BOOSTING PRODUCTIVITY A Mo...
PPTX
Basics of Stereotypes and Prejudice(1).pptx
PPTX
VIVEK BOOK REVIEW the fish sticks book.pptx
PPTX
Prevention of sexual harassment at work place
PPTX
IIINtroduction_Macroperspective (1).pptx
PPTX
WEEK 6 and 7 (1).pptx ingles de psicologia
PPTX
Family and technology lecture notes.pptx
PDF
Overview of Fundamentals of Project Management
PPTX
The Electronic Technocracy (Electric Paradise) - Built on the Legal Reality o...
PPTX
AI-assisted Next Generation Risk Assessment and Safe and Sustainable Design W...
PPTX
GROWTH MINDSET AND OVERALL HOLISTIC DEVELOPMENT (1).pptx
PPTX
Embryogenesis Embryogenesis Embryogenesis Embryogenesis Embryogenesis Embryog...
Where is the Best Place to Invest in Real Estate.pptx
Embryogenesis Embryogenesis 3- Copy (2).pptx
Karl Marx – Overview,arly Life: Born 1818, Germany • Studied philosophy
Template for edu 3D Stairs Templates.pptx
HRPTA PPT 2024-2025 FOR PTA MEETING STUDENTS
Staff WelFare Presentation for Larger Organizations
Unit 3 Ratio Analysis.pdf xdvdssdfsdfsd sdf
Music & Arts 7 Quarter 1 Weeks 5 to7.pptx
MASTERING TIME: STRATEGIES FOR MANAGING STRESS AND BOOSTING PRODUCTIVITY A Mo...
Basics of Stereotypes and Prejudice(1).pptx
VIVEK BOOK REVIEW the fish sticks book.pptx
Prevention of sexual harassment at work place
IIINtroduction_Macroperspective (1).pptx
WEEK 6 and 7 (1).pptx ingles de psicologia
Family and technology lecture notes.pptx
Overview of Fundamentals of Project Management
The Electronic Technocracy (Electric Paradise) - Built on the Legal Reality o...
AI-assisted Next Generation Risk Assessment and Safe and Sustainable Design W...
GROWTH MINDSET AND OVERALL HOLISTIC DEVELOPMENT (1).pptx
Embryogenesis Embryogenesis Embryogenesis Embryogenesis Embryogenesis Embryog...

An IOT gateway Architecture using an MQTT bundle transport & LTP Convergence Layer

  • 1. Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks BIT 5th Annual World Congress Emerging InfoTech 2016 An IOT gateway Architecture using a MQTT bundle transport & LTP Convergence Layer 11/11/16 1 By Alex Kritikos
  • 2. . Senior director R&D Universal Messaging Software AG UK . OASIS MQTT TC member Email: [email protected] Twitter: @krital LinkedIn: https://uk.linkedin.com/in/alexkritikos ALEX KRITIKOS About the speaker 2 Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 3. Growing fast Internet of (Earth) Things 3 11/11/16 Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 4. DTN based Solar System Internet 4 11/11/16 Internet of (Space) Things Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 5. Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks Earth & Space IOT research What if we combined them? • Link layer agnostic propagation (bundles) • MQTT encapsulation: payloads to local subscribers 5 11/11/16 • DTN encapsulation: payloads are routed progressively via intermediary nodes • Full MQTT & DTN stack on each node • Lower latency and higher throughput
  • 6. Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks DTN to MQTT Convergence Layer • /temperature => dtn://node/temperature • /consumption => dtn://node/consumption • /ac/actions => dtn://node/ac/actions • MQTT topic => DTN EID 6 11/11/16 • bi directional • MQTT publish DTN receive • DTN send MQTT subscribe
  • 7. 7 11/11/16 • MQTT integration with DTN • Hardware sharing = cost reduction • Software sharing = cost reduction • MQTT bridging • via DTN BP • Via Licklider Transmission Protocol (LTP) DTN to MQTT Value Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 8. MQTT PUBLISH BP TRAFFIC MQTT SUBSCRIBE 8 11/11/16 DTN to MQTT integration Hardware and Software Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 9. MQTT ROUTING via DTN Best effort MQTT Bridging via bundles 9 11/11/16 Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 10. 10 11/11/16 MQTT ROUTING via DTN Assured MQTT Bridging via custody transfer bundles Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 11. • Schedules best effort or assured data propagation • Decouples local fanout from bridging propagation 11 11/11/16 • Events are routed progressively via intermediary nodes • Results in lower latency and higher throughput MQTT ROUTING via DTN Thoughts Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 12. 12 11/11/16 MQTT ROUTING via LTP Bridging MQTT brokers via LTP UDPCL Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 13. • Unidirectional, Connectionless, Efficient flow • Fragmentation support • Flow control via LTP sessions • Multi stream (red, green) assured data propagation • Link layer agnostic 13 11/11/16 MQTT ROUTING via LTP Thoughts Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 14. Interested? Contact me • To find out more • To collaborate 14 11/11/16 Earth & Space IOT research What if we combined them? Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks
  • 15. Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks References • Advances in Delay-tolerant Networks (DTNs) – Architecture and Enhanced Performance By Woodhead Publishing 2015 11/11/16 15 • Brenda Lyons, NASA NDBS 2016 • Appendix A: What is IOT? • Appendix B: What is DTN? • Appendix C: What is MQTT? • Further Research A: DTN routing via MQTT • Further Research B: High availability with MQTT • Further Research C: High availability with MQTT & DTN
  • 16. Appendix A Never heard of Internet of Things? Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 1611/11/16 • Read about • History and status • M2M Comparison • Market & estimates • Example architectures
  • 17. A IOT & M2M Comparison… • M2M came first during the telecom era • M2M: proprietary, closed, private machine communication (e.g. CallerID) • IOT is much more than machine communication Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 1711/11/16
  • 18. A IOT & M2M Comparison…(2) • IOT: devices connect to a larger network, usually via a gateway, are cloud enabled, can interop, enables device physical reach (e.g. Samsung SmartThings) • IOT – M2M common: machine comms Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 1811/11/16
  • 19. IOT Market Estimates… • 2020: • 25-30 billion Connected devices • Today: • 6.4-9 billion Connected devices !This excludes phones, tablets, PCs! Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 1911/11/16
  • 20. IOT IMPORTANCE Status… • Ongoing transport standardization efforts • MQTT, COAP, AMQP, Websocket, Node • Enormous telco traffic challenge • Global M2M traffic:1 to 6.3 Exabytes / month by 2020 SOURCE • Real time streaming analytics • Security nightmare • 1TB DDOS by hacked CCTVs • PCs, PVRs, routers, smart fridge • MCUs + PKI = slow • Privacy concerns Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 2011/11/16
  • 21. IOT Example Smart Home… Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 21 11/11/16
  • 22. IOT Example Smart Home… Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 22 11/11/16 Why cant all things use WiFi? • If mains powered, sometimes they do • WiFi may not reach your boiler room • A lot of battery powered – low energy sensors • WiFi lacks ad-hoc network features (e.g. mesh) Things tend to be in their own sensor/field net • Based on low power RF (e.g. zigbee, zwave) • Needs a gateway to bridge to local IP network
  • 23. Smart Home IOT Architecture GSM/DSL/ FIBRE HTTP MQTT AMQP Ethernet / WiFi HTTP MQTT AMQP Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 23 11/11/16 Users interact with things via a device …
  • 24. Smart Home IOT Architecture (2) GSM/DSL/ FIBRE HTTP MQTT AMQP RF ZigBee ZWave BLE Ethernet / WiFi HTTP MQTT AMQP Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 2411/11/16 Things interact with environment via gateway…
  • 25. Smart Home IOT Architecture (3) GSM/DSL/ FIBRE HTTP MQTT AMQP RF ZigBee ZWave BLE Ethernet / WiFi HTTP MQTT AMQP Cloud Platform Services Cloud services add value & remote access
  • 26. Smart Home IOT Architecture (4) GSM/DSL/ FIBRE HTTP MQTT AMQP RF ZigBee ZWave BLE Ethernet / WiFi HTTP MQTT AMQP Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 2611/11/16
  • 27. Appendix B Never heard of DTN? Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 2711/11/16 • Read about • history and status • Protocol overview • TCP/IP Comparison • Terrestrial uses
  • 28. DTN History… Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 2811/11/16 initiative to develop an “Interplanetary Internet” 1998 NASA starts Delay / Disruption Tolerant Networking 1998 NASA leads worldwide DTN development 2005 IOAG Recommends Solar System Internetwork (SSI) 2010 IOAG Suggests DTN a core service of SSI 2010 DTN is being standardized by IETF DTN is being standardized by CCSDS
  • 29. DTN Solar System Internet… Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 2911/11/16
  • 30. DTN • The (DTN) protocol suite • Extends the terrestrial Internet capabilities • Works • in challenged communication environments • over unidirectional/asymmetric links • Tolerates • frequent disruptions • long delays / high error rates • Provides • assured delivery of data • automatic store-and-forward • Can run over IP or as a full Internetworking protocol Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 3011/11/16 Overview
  • 33. DTN IP: Must wait for complete path Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 3311/11/16 TCP/IP Comparison (2)
  • 34. DTN TCP/IP Comparison (3) DTN: Incremental progress without complete path Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 3411/11/16
  • 35. DTN DTN decouples data propagation from link layer characteristics • Can be used to propagate data not needed in real time (e.g. wearables, home automation etc) • Introduces some node storage requirements • Use cases • sea-going vessels • outdoor explorers • wildlife research • vehicular networks • disaster area networks Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 3511/11/16 Terrestrial use
  • 36. Appendix C Never heard of MQTT? Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 3611/11/16 • Read about • History and status • Protocol overview • Role in IOT architectures
  • 38. MQTT Description • MQTT is • Is an open, simple, lightweight publish- subscribe binary messaging protocol • Is easy to implement (15 protocol commands) • has a fixed 2 byte over-the-wire overhead header • Has 256MB max payload • runs on top of TCP/TLS/WS/WSS stacks Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 3811/11/16
  • 39. MQTT Description (2) • MQTT offers 3 quality of service levels: • QOS 0: At most once (Fire and forget) • QOS 1: At least once (ACKed delivery) • QOS 2: Exactly once (ACKed / No duplicates) Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 3911/11/16
  • 40. MQTT Description (3) • Information on software/hardware that uses MQTT: http://ow.ly/wHm2e • The Eclipse Paho project offers some great MQTT clients in minimal C, regular C, C++, Java, Javascript, Python, Lua, Go, Objective- C: http://ow.ly/wHl8c Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4011/11/16
  • 41. MQTT in IOT Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4111/11/16
  • 42. MQTT in IOT (2) Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4211/11/16
  • 43. MQTT in IOT (3) MQTT BRIDGE MQTT PUB & SUB MQTT SUB Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4311/11/16
  • 45. DTN ROUTING via MQTT One to many Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4511/11/16
  • 46. DTN ROUTING via MQTT Many to one Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4611/11/16
  • 47. DTN ROUTING via MQTT Thoughts • Unicast routing focus • Data sharing importance: • Vehicular networks • Disaster area networks • Delegates shared custodian to MQTT broker • Can use various MQTT QOS Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4711/11/16
  • 48. Further Research B High availability with MQTT Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4811/11/16
  • 49. IOT with MQTT HA architecture MQTT PUB & BRIDGE Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 4911/11/16
  • 50. IOT with MQTT HA active – active cluster architecture MQTT PUB PROPRIETRY QUORUM REPLICATE SYNC COORDINATE Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5011/11/16
  • 51. IOT with MQTT HA active – active: master failure MQTT PUB PROPRIETRY QUORUM REPLICATE SYNC COORDINATE Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5111/11/16
  • 52. IOT with MQTT HA active – active: publisher failover MQTT PUB PROPRIETRY QUORUM REPLICATE SYNC COORDINATE Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5211/11/16
  • 53. IOT with MQTT HA active – active: node rejoin MQTT PUB PROPRIETRY QUORUM REPLICATE SYNC COORDINATE Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5311/11/16
  • 54. IOT with MQTT HA active – active: multiple streams MQTT PUB STREAM 1 MQTT PUB STREAM 2 MQTT PUB STREAM 3 Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5411/11/16
  • 55. Further Research C High availability with MQTT & DTN Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5511/11/16
  • 56. MQTT HA via DTN Eventual consistency … Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5611/11/16
  • 57. MQTT HA via DTN Master failure Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5711/11/16
  • 58. MQTT HA via DTN Partial sync while offline Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5811/11/16
  • 59. MQTT HA via DTN Fast node cluster rejoin Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 5911/11/16
  • 60. MQTT HA via DTN Thoughts • Schedules best effort or assured data propagation • Decouples local fanout from slave propagation • Bundles continue to flow while broker offline • Allows fast cluster recovery Alex Kritikos - Thoughts on the Future Development of Ad hoc and Wireless Sensors Networks 6011/11/16