This document discusses considerations for building an Internet of Things (IoT) solution to track parcel locations for a national post office. It outlines the key components of an IoT architecture including devices, an IoT platform, and integration with existing systems. The document examines device requirements, network infrastructure, data storage needs, security concerns and provides an overview of an example architecture using AWS IoT services. It emphasizes starting with a use case and iterating to build the best technical solution to meet business needs.
1 of 53
Download to read offline
More Related Content
IoT: beyond the coffee machine
1. OCTO ? 2018 - No reproduction without written authorization
IoT: Beyond the Connected Coffee Machine
There is more to IoT than Internet and Things
- Tech Share -
Version 1.0 - 02/10/2018
1
2. OCTO ? 2018 - No reproduction without written authorization
? Consulting (architecture, DevOps, Big
Data, product management...)
? Delivery (Back end, Front end, Big Data,
DevOps, IoT...)
? Training https://academy.octo.com.au
Eric Favre
Senior Consultant
efavre@octo.com
@e_favre
Quality is non
negotiable
IT Consulting
OCTO Technology
2
3. OCTO ? 2018 - No reproduction without written authorization
? Design and implementation of a Smart
Building application for a big European
bank
? Audit and redefinition of the IoT
strategy of a Aeronautics manufacturer
? Scope, design and build an IoT platform
for a global energy provider to
integrate with their partners
? Design and implement a full event
driven platform to sustain the load of all
parcel movements of a Post Office
References
3
OCTO + IoT = ?
4. OCTO ? 2018 - No reproduction without written authorization
01
05
02
06
03
07
04
08
Introduction The Use Case What Device Do We
Need?
Agenda
What Computation
Requirements?
What Type of Data Are
We Dealing With
How To Integrate With
Existing Systems?
Further considerations Conclusion
4
6. OCTO ? 2018 - No reproduction without written authorization
? Limited public perception
Wearables
Nabaztag¡
? (My) rough definition
Everything that is connected directly or
indirectly to a server, except for
computers, tablets and phones
? For example:
Wearables
Smart house
Smart cities
E-health
Industrial IoT...
IoT
6
What is IoT
7. OCTO ? 2018 - No reproduction without written authorization
? Lot of hype
? Lot of gadgets
? Lot of prejudice
But really¡
? Lots of ground breaking opportunities!
? Grants access to data that used to be
unavailable (everything can be
measured)
? Many companies in all fields are diving
into IoT (banking, insurance,
manufacturers, aeronautics, real
estate...)
IoT
7
Beyond the gadget era
8. OCTO ? 2018 - No reproduction without written authorization
Gartner hype cycle
8
IoT
9. OCTO ? 2018 - No reproduction without written authorization
It should be straight forward:
? I have a device
? I have Internet
? Now let¡¯s connect it
¡ and we¡¯re done!
Ok, let¡¯s do it
IoT
9
10. OCTO ? 2018 - No reproduction without written authorization
It should be straight forward:
? I have a device
? I have Internet
? Now let¡¯s connect it
¡ and we¡¯re done!
Ok, let¡¯s do it
IoT
10
12. OCTO ? 2018 - No reproduction without written authorization
Offer to the customers the possibility to track their
interstate parcels at any time.
Use case: A National Post Office
12
13. OCTO ? 2018 - No reproduction without written authorization 13
14. OCTO ? 2018 - No reproduction without written authorization 14
15. OCTO ? 2018 - No reproduction without written authorization
IoT Platform
Very High Level Architecture
15
Device
Customer website Post Office systems
16. OCTO ? 2018 - No reproduction without written authorization
DEVICE IOT PLATFORM EXISTING SYSTEMS
Architecture Overview - step 0
16
17. THERE IS A BETTER WAY
What Device Do We Need?
03
17
18. OCTO ? 2018 - No reproduction without written authorization
Limited energy
Limited memory
Limited computation capabilities
Find the right Energy / Computation / Communication balance
18
Device challenge
19. OCTO ? 2018 - No reproduction without written authorization
Requirements refinement
Offer to the customer the possibility to track their interstate parcel
location at any time.
? How accurate should the tracking be?
? Where can these parcels be delivered?
? When should the tracking be available to users?
? How long can it take for a parcel to be delivered?
19
20. OCTO ? 2018 - No reproduction without written authorization
Requirements refinement
Offer to the customer the possibility to track their interstate parcel
location at any time.
? How accurate should the tracking be?
Up to 10m
? Where can these parcels be delivered?
Anywhere in Australia
? When should the tracking be available to users?
Any time of the day, any day of the year
? How long can it take for a parcel to be delivered?
Up to 6 business days (roughly translates to 14 days autonomy)
20
21. OCTO ? 2018 - No reproduction without written authorization 21
What outdoor geolocation solution?
GPS
GPS Offloading
Cell ID
Trilateration
Where am I?!
22. OCTO ? 2018 - No reproduction without written authorization 22
What outdoor geolocation solution?
GPS
GPS Offloading
Cell ID
Trilateration
At lease my
server knows
With an accelerometer to send the
satellite signals only when the parcel is
moving
23. OCTO ? 2018 - No reproduction without written authorization 23
Network needs
IoT
Platform
Here are a
few details
about me
smallest possible
payload
24. OCTO ? 2018 - No reproduction without written authorization 24
Network needs
Here are a
few details
about me
Now I know
who you are
and where to
find you
IoT
Platform
smallest possible
payload
25. OCTO ? 2018 - No reproduction without written authorization 25
What network infrastructure?
LPWAN CELL
26. OCTO ? 2018 - No reproduction without written authorization 26
What network infrastructure?
LPWAN CELL
27. OCTO ? 2018 - No reproduction without written authorization 27
What protocol?
MQTT
CoAP
HTTP
28. OCTO ? 2018 - No reproduction without written authorization 28
What protocol?
MQTT
CoAP
HTTP
Event driven use case
29. OCTO ? 2018 - No reproduction without written authorization
DEVICE IOT PLATFORM EXISTING SYSTEMS
Architecture Overview - step 1
29
LPWAN
provider
MQTT
broker
GPSAccelero.
LPWAN
30. THERE IS A BETTER WAY
What Computation Requirements?
04
30
31. OCTO ? 2018 - No reproduction without written authorization
On device computations
31
Any movement?
Are these movements relevant?
GPS signals?
GPS signals
32. OCTO ? 2018 - No reproduction without written authorization 32
Server computation
... ...
33. OCTO ? 2018 - No reproduction without written authorization
DEVICE IOT PLATFORM EXISTING SYSTEMS
Architecture Overview - step 2
33
LPWAN
provider
MQTT
broker
Serverless
computation
GPSAccelero.
LPWAN
34. THERE IS A BETTER WAY
What types of data are we dealing with?
05
34
35. OCTO ? 2018 - No reproduction without written authorization
= Accelerometer data
? What the device must react on
? Mostly embedded in device and
gateway
? Simple memory alloc in RAM
? No complex storage system
Hot data
35
36. OCTO ? 2018 - No reproduction without written authorization
= GPS Coordinates
? Operational database
? Business data storage
? NoSQL
? Expose with the proper API Strategy
Warm data
36
37. OCTO ? 2018 - No reproduction without written authorization
= All events collected by the platform
? Analytics (business and technical)
? Big data platform (datalake or
streaming platform)
? Expose with the proper API Strategy
Cold data
37
38. OCTO ? 2018 - No reproduction without written authorization
DEVICE IOT PLATFORM EXISTING SYSTEMS
Architecture Overview - step 3
38
LPWAN
provider
MQTT
broker
Serverless
computation
Warm
data
Cold
dataHot data
GPSAccelero.
LPWAN
39. THERE IS A BETTER WAY
How to integrate with existing systems?
06
39
40. OCTO ? 2018 - No reproduction without written authorization
Device management
40
IoT
Platform
User Ronald Mc Nuggets
Parcel PPT1995
Device ID 000000001
41. OCTO ? 2018 - No reproduction without written authorization
User dashboard
41
IoT
Platform
42. OCTO ? 2018 - No reproduction without written authorization
Analytics
42
IoT
Platform
43. OCTO ? 2018 - No reproduction without written authorization
DEVICE IOT PLATFORM EXISTING SYSTEMS
Architecture Overview - step 4
43
User Dashboard
Device
Management
Analytics
LPWAN
provider
MQTT
broker
Serverless
computation
Warm
data
Admin
data
Cold
dataHot data
GPSAccelero.
LPWAN
44. THERE IS A BETTER WAY
Further considerations
07
44
45. OCTO ? 2018 - No reproduction without written authorization
DEVICE IOT PLATFORM EXISTING SYSTEMS
Gateway
45
User Dashboard
Device
Management
Analytics
LPWAN
provider
MQTT
broker
Serverless
computation
Warm
data
Admin
data
Cold
dataHot data
GPSAccelero.
LPWAN
46. OCTO ? 2018 - No reproduction without written authorization
DEVICE IOT PLATFORM EXISTING SYSTEMS
AWS Implementation
46
User Dashboard
LPWAN
provider
Hot data
GPSAccelero.
Greengrass
IoT Core Lambda DynamoDb
IoT Device Management
IoT Analytics
LPWAN
47. OCTO ? 2018 - No reproduction without written authorization
? Memory management
? Limited cryptography capabilities
? Design for failure
? Checksum and Signature
? Protocols
Software vulnerabilities
47
48. OCTO ? 2018 - No reproduction without written authorization
? Debug interfaces
? Safezone
? Device hardening
Hardware vulnerabilities
48
50. OCTO ? 2018 - No reproduction without written authorization
? An oversimplified use case with
convenient assumptions
? Best technical solution to match a
business need
? Think of the vendor solutions
Conclusion
50
51. OCTO ? 2018 - No reproduction without written authorization
? Hardware means less flexibility?
? You can still be lean! (POC = MVP =
Prototype = Iterate)
Start NOW!
We can help :)
Conclusion
51
52. OCTO ? 2018 - No reproduction without written authorization 52
OCTO¡¯s private practice...