![Page 1: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/1.jpg)
MILAN november 28th/29th, 2014
La mia lavatrice collegata a Internet?
Valter Minute
Paolo Patierno
![Page 2: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/2.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
Toradex Challenge
• Open to students
• Free Hardware Kit
• Grand prize
• http://www.challenge.toradex.com
![Page 3: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/3.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
IoT and Bing Bang Theory
https://www.youtube.com/watch?v=mqp8_ROAIJY
![Page 4: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/4.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
• 1 Trillion Connected Devices by 2015• 10 Billion Connected Devices by 2020
Internet Of Things Defined
In Numbers (?)
• 25 Billion Connected Devices by 2020• 50 Billion Connected Devices by 2020• * <Billion/Trillion/Petazillion> Connected Devices by 20**
• There are more Connected Devices than Human Beings
![Page 5: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/5.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
All Your Base Are Belong To Us
• Computers are all around us
• Computers on our desks
• Computers in our pockets
• Computers in our cars
• Computers in our washing machines
• Computers that we can swallow
![Page 6: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/6.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
Embedded Devices
• A computer that does not look like a computer can
be called: Embedded Device
• An Embedded Device connected to the Internet is an
Internet Of Things Device
![Page 7: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/7.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
IoT “device”
• An “IoT Device” does not exists
• You have IoT when you have Things (Devices) and
Internet
• A Solution that Integrates Devices and Internet-
Based Services is an IoT Product
![Page 8: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/8.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
Internet of Things
• IoT is not about devices connected to the Internet
• IoT is about devices using the Internet to
communicate and provide services
![Page 9: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/9.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
Data, data and more data
• Collecting data is easy
• Aggregate, process and understand data is complex
• Extracting relevant information from big data
collections is the key for a successful IoT solution
![Page 10: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/10.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
CLOUD?
Phone… home…
![Page 11: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/11.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
Telemetry
Information flowing
from a device to other
systems for conveying
status of device and
environment
Inquiries
Requests from devices
looking to gather
required information or
asking to initiate
activities
Commands
Commands from
other systems to a
device or a group of
devices to perform
specific activities
Notifications
Information flowing
from other systems
to a device/group for
conveying status
changes in the world
1:N1:N
![Page 12: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/12.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
• Connectivity
– Addressability
– Heterogeneity
– Security
– Efficient Scale
• Messaging
– Telemetry
– Notifications
– Command/Query and Inquiries
Challenges
![Page 13: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/13.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
• Asynchronous– decouple sender and receiver
• Patterns– Publish/Subscribe
– Request/Reply (with correlation)
• Message durability and devices availability– Temporal decoupling
• High rate traffic and high data throughput
• Big Data analysis and backend with its own pace– Load leveling
– Load balancing
• Reliability and QoS
• Scalability
Why Messaging?
![Page 14: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/14.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
Service-assisted Communication
![Page 15: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/15.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
• IoT Gateway in the Cloud
• Based on Azure services : Service Bus
– Queues
– Topics/Subscriptions
– Event Hubs
• Will be released as open source on
GitHub
Reykjavik
![Page 16: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/16.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
• Devices connect via open standard protocols
– Native support for AMQP 1.0 and HTTP
– MQTT, CoAP via adapters
– Sockets secured via TLS (or a lightweight variant)
– Custom protocol gateway needed for it
• Field Gateways
Under the Hood
![Page 17: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/17.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
![Page 18: La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014](https://reader034.vdocument.in/reader034/viewer/2022051400/5598cc181a28ab731a8b461d/html5/thumbnails/18.jpg)
MILAN november 28th/29th, 2014 – Valter Minute
http://1drv.ms/11ZXa3z