SlideShare una empresa de Scribd logo
1 de 41
Descargar para leer sin conexión
The Android Platform
in the “era” of Internet of Things
Marco Picone, Ph.D.

Università degli Studi di Parma
@marcopk

Droidcon Torino - 2014
@me
I am a Postdoctoral Research Associate at the University of
Parma. I have received from the same University the Dr. Ing.
degree (Master) in Computer Engineering "cum laude" in 2008
and the Ph.D. degree in Information Technologies in 2012.
My research activity focuses mainly on:

-

Distributed and Peer-to-Peer Systems

-

Vehicle-to-Vehicle and Vehicle-to-Infrastructure
communications

-

Mobile & Pervasive Computing

-

Internet of Things, Wireless Sensor Networks and Mobile
based Sensing
http://wasnlab.tlc.unipr.it/people/picone/
@marcopk

http://dsg.ce.unipr.it
http://mobdev.ce.unipr.it/
Keynote Objectives

Internet of Things Overview
Mobile World & IoT
-

History, Forecast, and IoT Motivations
Where we started ?
Since from the beginning of the Internet, there was the
desire to connect more “things” to it.
Source: ARPANET Completion
Report: January 4, 1978.

http://www.youtube.com/watch?
v=vuiBTJZfeo8
http://www.lk.cs.ucla.edu/index.html
Where are we today ?
The internet now connects billions devices anywhere!

http://internet-map.net
The Internet Growth

We are living the
“Mobile-Centric”
age !
The mobile-centric world
WiFi
WiFi Direct
3G/4G
Bluetooth
NFC

Social Accounts
Address Book
Phone Calls
Location
(GPS, 3G, WiFi)
Shared Data

Phone
/
Tablet

NFC

Payment

Remote
Services

Browsing Data
Photos / Videos
...........

Smart
TV/Display
The mobile-centric world
“What a difference 8 years
makes: St. Peter’s Square
in 2005 and yesterday”

Mobile Devices changed almost the entire ICT world in
terms of new and already existing software, hardware and
services !
What’s next ?
Wearable Computing Revolution in 2014 ?
Glasses

Motion Sensors

Smart Watches
SDK

“Mobile handsets & tablets are
attraction points for surrounding
personal smart devices”
Where we will be in the next years ?
The internet will connect from 10 billion to 15 billion devices !
50 billion in 2020 ?

Internet of
Things Age

http://www.ericsson.com/res/docs/
whitepapers/wp-50-billions.pdf
http://www.businessinsider.com/
internet-of-things-billions-ofconnected-devices-2014-1
The Internet of Things (IoT)
“A network of networks with billions of uniquely
identified physical smart objects organized in an
Internet-like structure”

“Smart Objects are items such as sensors,
consumer devices, and enterprise assets that
are connected to both the Internet and each
other”
The Internet of Things (IoT)
The vision of IoT is to integrate at the same time new and existing approaches and
technologies (such as Mobile & Pervasive Computing, Machine-to-Machine,Ambient
Intelligence, Wearable technology, Cloud Computing etc ...) to:

•

Properly use existing protocols and define new standards

•

Manage Heterogeneity and dynamism at different levels
(Physical, Data Link, Network, Transport, Session, Presentation and Application)

•

Open the networks to new services and technologies

•

Open the data to create new aggregated and enriched services
IoT Application Scenarios
Parking

Building

Lighting

Grid

Mobility

Health

Agriculture

....

Several of these sub-systems have been already studied as isolated networks.
The vision of IoT is, starting from the existing experience, to design new approaches and
technologies to connect all these subsystems in a smart Internet-like structure where the keyconcepts are Integration & interoperability among services and data analysis.
The Information Flow
Machine-to-Machine

Sensor Stream
Human-to-Machine

Crowdsourcing

Improve Efficiency

“Big Data”
Analytics

Offer New Services

Information-to-Machine

Internet

Power Application
Feedbacks & Updates
Multiple Applications (Integration)
Application 2
Lighting

Efficiency

Parking

“Big Data”
Analytics

Application 1

New Services
Power Applications

Mobility

Application 3

Feedbacks & Updates
Services
(Mobility, Energy Efficiency, Monitoring, Security, etc ..)

Data Collection & Processing
(Business Intelligence, Data Mining, Data Aggregation, etc ...)

Smart Objects
(Data producers and Data Consumers)

Integrated, Shared & Seamless Connectivity
(WiFi, ZigBee/802.15.4, 3G/LTE, ...)

Security and Authorization for multiple accesses

IoT Building Blocks
Involved Actors
Cloud Services
Access Networks

Users
Mobile Devices

Smart Objects
IoT Open Challenges
The main challenges that have to be faced in the IoT world are:

- Allow the connectivity of thousands of different devices in the same area using different
access technologies and protocols

-

Manage heterogeneity and dynamism through Service Discovery and Protocol

Translation

- Efficiently collect data from different sources
- Process collected data
- Adapt and improve the deployed systems
- Provide new services
IoT and Sensor Network HW & SW
-

Sensing and actuation capabilities

-

Contiki OS

-

8, 16 or 32-bit MCU

-

Tiny OS

•
•

More and more 32-bit,

-

Arduino-like

i.e. ARM Cortex M3

-

Linux-like

-

Small memory (tens or hundreds of kB)

-

Power source: battery or mains

Low-power radio (e.g. sub-GHz, 2.4
GHz)

Sometimes with energy harvesting
Mainly for constrained nodes
IoT Protocols
HTTP XMPP MQTT

...

CoAP

TCP

...

UDP

IP [ IPv6 (6LoWPAN + RPL) or IPv4]
WiFi

ZigBee/802.15.4
Sensor Stream
Traditional IP stack !
Many IETF Standards

PLC

Bluetooth

IP connects a variety
of link layers
Wired or wireless

...
IoT Transport Layer

Like in the traditional
Internet: TCP and
UDP

HTTP XMPP MQTT

...

CoAP

TCP

No specific adaptation
(other than 6LoWPAN
compression)

...

UDP

IP [ IPv6 (6LoWPAN + RPL) or IPv4]
WiFi

ZigBee/802.15.4
Sensor Stream

PLC

Bluetooth

...
IoT Application Layer
A variety of application
layers

HTTP XMPP MQTT

Borrowed from the
Internet (HTTP, XMPP)
or not (CoAP, MQTT)

...

CoAP

TCP

Most common goal:
enable RESTful
interaction

...

UDP

IP [ IPv6 (6LoWPAN + RPL) or IPv4]
WiFi

ZigBee/802.15.4
Sensor Stream

PLC

Bluetooth

...
IoT Application Protocols
-

CoAP [UDP]: is used for resource constrained, low-power sensors and
devices connected via lossy networks, especially when there is a high number
of sensors and devices within the network.

-

HTTP (with a RESTful approach) [TCP]: is particularly attractive for connecting
consumer devices, given the near universal availability of HTTP stacks for various
platforms.

-

MQTT [TCP]: is a machine-to-machine (M2M)/"Internet of Things" connectivity
protocol. It was designed as an extremely lightweight publish/subscribe
messaging transport. It is useful for connections with remote locations where a
small code footprint is required and/or network bandwidth is at a premium.
IoT Real Scenario
The Internet

REST API
Smart Object (SO)

IoT Network

Client
IoT Hub
Internet Server

Client

HTTP

Data Cache
S

Server
HTTP

Data Storage

CoAP
IoT Hub

S

CoAP
S
CoAP

Server
Data Storage

Data Storage, Processing,
Aggregation and Distribution

S
CoAP

S
CoAP

Data Source/Stream, manage Incoming
and Outgoing requests/responses SO
IoT Real Scenario
The Internet

IoT Network

Client

HTTP

Smart Objects
cooperate among
them and with the
IoT Hub

Data Cache
S

Server
HTTP

Data Storage

CoAP
IoT Hub

S

CoAP
S
CoAP

Server
Data Storage

S
CoAP

S
CoAP
IoT Real Scenario
The Internet

IoT Network

Client

HTTP

Smart Objects
cooperate among
them and with the
IoT Hub

Data Cache
S

Server
HTTP

Data Storage

CoAP
IoT Hub

S

CoAP
S
CoAP

Server
Data Storage

S
CoAP

Smart Objects
that go directly to
Internet

S
CoAP
IoT Real Scenario
The Internet

Client

HTTP

IoT Network

IoT Hub is the bridge
between the Internet and
the IoT. Translates
protocols and cache data.

Smart Objects
cooperate among
them and with the
IoT Hub

Data Cache
S

Server
HTTP

Data Storage

CoAP
IoT Hub

S

CoAP
S
CoAP

Server
Data Storage

S
CoAP

Smart Objects
that go directly to
Internet

S
CoAP
Real Scenario with Mobile Devices
The Internet

IoT Network

The Internet

Data Cache

IoT Network

S

Server
HTTP

Data Storage

CoAP

IoT Hub

HTTP
HTTP

HTTP

S

CoAP
S
CoAP

CoAP
S
REpresentational State Transfer (REST)
-

REST is an architectural model based on clients and servers, based on the HTTP protocol
All requests are related to resources (identified by a URI) and are represented by a document
containing the details of its state, e.g. a JSON- or XML-formatted document

- It is possible to perform 4 operations on a resource, each mapped to a HTTP request method:
• GET: retrieve the state of the resource identified by the given URI
• POST: create a new resource with the supplied state
• PUT: update an existing resource identified by the given URI with the supplied state
• DELETE: delete the resource identified by the given URI
-

Advantages of the REST paradigm are: standard, uniform interfaces, semantics of HTTP methods,
stateless.
REST vs. Web Services
REST Resource

SOAP Service

WSDL/
WADL

JSON-WSP

WSDL/
WADL

application/xml

application/json

application/soap+xml

<?xml?>
<temp unit=“C”>50
</temp>

GET /sensor/temp

{

“temp”=50,
“unit”=”C”
}

GET /sensor/temp

HTTP
mysensor.example.com

Header
Body

RequestSensor(temp)

POST /sensor/service
CoAP Protocol

-

Application-layer protocol designed to be used by constrained devices in terms of
computational capabilities, which may feature limited battery and operate in
constrained (low-power and lossy) networks

-

Designed by the IETF CoRE Working Group - draft 18 now in RFC queue

-

Support for multicast communication

-

REST communication paradigm

Lightweight, binary protocol that can be translated to HTTP easily in order to
guarantee the integration with the WWW
CoAP runs on top of a lightweight transport, i.e. UDP
Request/response communication model, support for asynchronous message
exchange
CoAP and REST
-

CoAP uses the four methods GET, POST, PUT, and DELETE in the same way as HTTP to
operate on resources

-

GET: instructs the CoAP server to retrieve the representation of the targeted resource;
responses are 2.05 Content or 2.03 Valid in case of success, 4.04 Not Found

-

POST: instructs the server to create the resource; response is 2.01 Created
PUT: instructs the server to update the targeted resource; response is 2.04 Changed
DELETE: instructs the server to delete the targeted resource; response is 2.02 Deleted
both in case the resource was deleted or did not exist
Service Discovery
-

Service Discovery is a fundamental component in dynamic
environments to allow consumer devices and applications to
find and interact with available services.

-

Other Networks

SD could be performed:

• In the local network [e.g. automatically accessing a
building and connecting to the available WiFi Network]

Internet

• Through different networks [e.g. Inside a target geographic
region, “which services are available around me now ?”]

-

Different Technologies could be used

• Central infrastructure or repository
• Distributed or peer-to-peer architecture
• Multicast-based protocols

S
S
S
S

Local Network
Voilà Project
-

The Voilà Project allows to build IoT Networks where involved Actors & Smart Objects
automatically and without any configuration discover, connect to or disconnect from the
network using the service discovery protocol and standard protocols such as HTTP &
CoAP.

- Voilà involves
- CoAP implementation to the last IETF Draft (Java, Android, and Arduino) (Contiki soon ? )
- Service discovery procedures in local networks and distributed overlays
- IoT Hub implementation with:
• Protocol Translation (HTTP <-> CoAP)
• Resource Directory
• Proxy functionalities
Voilà Demo
HTTP
JSON

SD controller

JSON

Data
Fetcher
HTTP

Discovery of IoT nodes

JSON

IoT HUB

Continuous requests of cached data
Update Smart Display (SD)
Presented @ SPS IPC Drives Italia - Parma, May 2013
Fiera dell’automazione 2013

CoAP

JSON
Voilà Demo (Sensor Join)
Voilà Demo (Sensor Disconnection and Re-Join)
Voilà Demo (Interaction with a Mobile Device)
Internet of Things & Smart Cities Event
http://phdschool.tlc.unipr.it
The aim of the Ph.D. School has been to address young
researchers to the forefront of research activity on Smart
Cities & Internet of Things, by presenting state-of-the-art
research together with the current and future challenges.
International speakers from academia and industry gave
lectures tailoring their research field for an interdisciplinary
audience. A dedicated discussion panel focused on the
interaction and the collaboration between academia and
industry in order to depict the future vision of Smart Cities
and IoT.

2014 Call - Join the Community !
sponsored by
References
-

http://blogs.cisco.com/ioe/beyond-mqtt-a-cisco-view-on-iot-protocols/
http://mqtt.org/
http://www.contiki-os.org/
https://datatracker.ietf.org/doc/draft-ietf-core-coap/

Acknowledgments
Daniele Sportillo [BsC]
Daniele Gilli [MsC]
Mirko Mancin [BsC, MsC]
Mattia Antonini [BsC]
Gabriele Ferrari [BsC, MsC]

Giacomo Brambilla
[Ph.D. Student in the
DSG Group]
@marcopk

Thank you !
Marco Picone, Ph.D.

Università degli Studi di Parma

Droidcon Torino - 2014

Más contenido relacionado

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Destacado

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destacado (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

The Android Platform in the “era” of Internet of Things - Droidcon Italy 2014

  • 1. The Android Platform in the “era” of Internet of Things Marco Picone, Ph.D. Università degli Studi di Parma @marcopk Droidcon Torino - 2014
  • 2. @me I am a Postdoctoral Research Associate at the University of Parma. I have received from the same University the Dr. Ing. degree (Master) in Computer Engineering "cum laude" in 2008 and the Ph.D. degree in Information Technologies in 2012. My research activity focuses mainly on: - Distributed and Peer-to-Peer Systems - Vehicle-to-Vehicle and Vehicle-to-Infrastructure communications - Mobile & Pervasive Computing - Internet of Things, Wireless Sensor Networks and Mobile based Sensing http://wasnlab.tlc.unipr.it/people/picone/ @marcopk http://dsg.ce.unipr.it http://mobdev.ce.unipr.it/
  • 3. Keynote Objectives Internet of Things Overview Mobile World & IoT - History, Forecast, and IoT Motivations
  • 4. Where we started ? Since from the beginning of the Internet, there was the desire to connect more “things” to it. Source: ARPANET Completion Report: January 4, 1978. http://www.youtube.com/watch? v=vuiBTJZfeo8 http://www.lk.cs.ucla.edu/index.html
  • 5. Where are we today ? The internet now connects billions devices anywhere! http://internet-map.net
  • 6. The Internet Growth We are living the “Mobile-Centric” age !
  • 7. The mobile-centric world WiFi WiFi Direct 3G/4G Bluetooth NFC Social Accounts Address Book Phone Calls Location (GPS, 3G, WiFi) Shared Data Phone / Tablet NFC Payment Remote Services Browsing Data Photos / Videos ........... Smart TV/Display
  • 8. The mobile-centric world “What a difference 8 years makes: St. Peter’s Square in 2005 and yesterday” Mobile Devices changed almost the entire ICT world in terms of new and already existing software, hardware and services !
  • 9. What’s next ? Wearable Computing Revolution in 2014 ? Glasses Motion Sensors Smart Watches SDK “Mobile handsets & tablets are attraction points for surrounding personal smart devices”
  • 10. Where we will be in the next years ? The internet will connect from 10 billion to 15 billion devices ! 50 billion in 2020 ? Internet of Things Age http://www.ericsson.com/res/docs/ whitepapers/wp-50-billions.pdf http://www.businessinsider.com/ internet-of-things-billions-ofconnected-devices-2014-1
  • 11. The Internet of Things (IoT) “A network of networks with billions of uniquely identified physical smart objects organized in an Internet-like structure” “Smart Objects are items such as sensors, consumer devices, and enterprise assets that are connected to both the Internet and each other”
  • 12. The Internet of Things (IoT) The vision of IoT is to integrate at the same time new and existing approaches and technologies (such as Mobile & Pervasive Computing, Machine-to-Machine,Ambient Intelligence, Wearable technology, Cloud Computing etc ...) to: • Properly use existing protocols and define new standards • Manage Heterogeneity and dynamism at different levels (Physical, Data Link, Network, Transport, Session, Presentation and Application) • Open the networks to new services and technologies • Open the data to create new aggregated and enriched services
  • 13. IoT Application Scenarios Parking Building Lighting Grid Mobility Health Agriculture .... Several of these sub-systems have been already studied as isolated networks. The vision of IoT is, starting from the existing experience, to design new approaches and technologies to connect all these subsystems in a smart Internet-like structure where the keyconcepts are Integration & interoperability among services and data analysis.
  • 14. The Information Flow Machine-to-Machine Sensor Stream Human-to-Machine Crowdsourcing Improve Efficiency “Big Data” Analytics Offer New Services Information-to-Machine Internet Power Application Feedbacks & Updates
  • 15. Multiple Applications (Integration) Application 2 Lighting Efficiency Parking “Big Data” Analytics Application 1 New Services Power Applications Mobility Application 3 Feedbacks & Updates
  • 16. Services (Mobility, Energy Efficiency, Monitoring, Security, etc ..) Data Collection & Processing (Business Intelligence, Data Mining, Data Aggregation, etc ...) Smart Objects (Data producers and Data Consumers) Integrated, Shared & Seamless Connectivity (WiFi, ZigBee/802.15.4, 3G/LTE, ...) Security and Authorization for multiple accesses IoT Building Blocks
  • 17. Involved Actors Cloud Services Access Networks Users Mobile Devices Smart Objects
  • 18. IoT Open Challenges The main challenges that have to be faced in the IoT world are: - Allow the connectivity of thousands of different devices in the same area using different access technologies and protocols - Manage heterogeneity and dynamism through Service Discovery and Protocol Translation - Efficiently collect data from different sources - Process collected data - Adapt and improve the deployed systems - Provide new services
  • 19. IoT and Sensor Network HW & SW - Sensing and actuation capabilities - Contiki OS - 8, 16 or 32-bit MCU - Tiny OS • • More and more 32-bit, - Arduino-like i.e. ARM Cortex M3 - Linux-like - Small memory (tens or hundreds of kB) - Power source: battery or mains Low-power radio (e.g. sub-GHz, 2.4 GHz) Sometimes with energy harvesting Mainly for constrained nodes
  • 20. IoT Protocols HTTP XMPP MQTT ... CoAP TCP ... UDP IP [ IPv6 (6LoWPAN + RPL) or IPv4] WiFi ZigBee/802.15.4 Sensor Stream Traditional IP stack ! Many IETF Standards PLC Bluetooth IP connects a variety of link layers Wired or wireless ...
  • 21. IoT Transport Layer Like in the traditional Internet: TCP and UDP HTTP XMPP MQTT ... CoAP TCP No specific adaptation (other than 6LoWPAN compression) ... UDP IP [ IPv6 (6LoWPAN + RPL) or IPv4] WiFi ZigBee/802.15.4 Sensor Stream PLC Bluetooth ...
  • 22. IoT Application Layer A variety of application layers HTTP XMPP MQTT Borrowed from the Internet (HTTP, XMPP) or not (CoAP, MQTT) ... CoAP TCP Most common goal: enable RESTful interaction ... UDP IP [ IPv6 (6LoWPAN + RPL) or IPv4] WiFi ZigBee/802.15.4 Sensor Stream PLC Bluetooth ...
  • 23. IoT Application Protocols - CoAP [UDP]: is used for resource constrained, low-power sensors and devices connected via lossy networks, especially when there is a high number of sensors and devices within the network. - HTTP (with a RESTful approach) [TCP]: is particularly attractive for connecting consumer devices, given the near universal availability of HTTP stacks for various platforms. - MQTT [TCP]: is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium.
  • 24. IoT Real Scenario The Internet REST API Smart Object (SO) IoT Network Client IoT Hub Internet Server Client HTTP Data Cache S Server HTTP Data Storage CoAP IoT Hub S CoAP S CoAP Server Data Storage Data Storage, Processing, Aggregation and Distribution S CoAP S CoAP Data Source/Stream, manage Incoming and Outgoing requests/responses SO
  • 25. IoT Real Scenario The Internet IoT Network Client HTTP Smart Objects cooperate among them and with the IoT Hub Data Cache S Server HTTP Data Storage CoAP IoT Hub S CoAP S CoAP Server Data Storage S CoAP S CoAP
  • 26. IoT Real Scenario The Internet IoT Network Client HTTP Smart Objects cooperate among them and with the IoT Hub Data Cache S Server HTTP Data Storage CoAP IoT Hub S CoAP S CoAP Server Data Storage S CoAP Smart Objects that go directly to Internet S CoAP
  • 27. IoT Real Scenario The Internet Client HTTP IoT Network IoT Hub is the bridge between the Internet and the IoT. Translates protocols and cache data. Smart Objects cooperate among them and with the IoT Hub Data Cache S Server HTTP Data Storage CoAP IoT Hub S CoAP S CoAP Server Data Storage S CoAP Smart Objects that go directly to Internet S CoAP
  • 28. Real Scenario with Mobile Devices The Internet IoT Network The Internet Data Cache IoT Network S Server HTTP Data Storage CoAP IoT Hub HTTP HTTP HTTP S CoAP S CoAP CoAP S
  • 29. REpresentational State Transfer (REST) - REST is an architectural model based on clients and servers, based on the HTTP protocol All requests are related to resources (identified by a URI) and are represented by a document containing the details of its state, e.g. a JSON- or XML-formatted document - It is possible to perform 4 operations on a resource, each mapped to a HTTP request method: • GET: retrieve the state of the resource identified by the given URI • POST: create a new resource with the supplied state • PUT: update an existing resource identified by the given URI with the supplied state • DELETE: delete the resource identified by the given URI - Advantages of the REST paradigm are: standard, uniform interfaces, semantics of HTTP methods, stateless.
  • 30. REST vs. Web Services REST Resource SOAP Service WSDL/ WADL JSON-WSP WSDL/ WADL application/xml application/json application/soap+xml <?xml?> <temp unit=“C”>50 </temp> GET /sensor/temp { “temp”=50, “unit”=”C” } GET /sensor/temp HTTP mysensor.example.com Header Body RequestSensor(temp) POST /sensor/service
  • 31. CoAP Protocol - Application-layer protocol designed to be used by constrained devices in terms of computational capabilities, which may feature limited battery and operate in constrained (low-power and lossy) networks - Designed by the IETF CoRE Working Group - draft 18 now in RFC queue - Support for multicast communication - REST communication paradigm Lightweight, binary protocol that can be translated to HTTP easily in order to guarantee the integration with the WWW CoAP runs on top of a lightweight transport, i.e. UDP Request/response communication model, support for asynchronous message exchange
  • 32. CoAP and REST - CoAP uses the four methods GET, POST, PUT, and DELETE in the same way as HTTP to operate on resources - GET: instructs the CoAP server to retrieve the representation of the targeted resource; responses are 2.05 Content or 2.03 Valid in case of success, 4.04 Not Found - POST: instructs the server to create the resource; response is 2.01 Created PUT: instructs the server to update the targeted resource; response is 2.04 Changed DELETE: instructs the server to delete the targeted resource; response is 2.02 Deleted both in case the resource was deleted or did not exist
  • 33. Service Discovery - Service Discovery is a fundamental component in dynamic environments to allow consumer devices and applications to find and interact with available services. - Other Networks SD could be performed: • In the local network [e.g. automatically accessing a building and connecting to the available WiFi Network] Internet • Through different networks [e.g. Inside a target geographic region, “which services are available around me now ?”] - Different Technologies could be used • Central infrastructure or repository • Distributed or peer-to-peer architecture • Multicast-based protocols S S S S Local Network
  • 34. Voilà Project - The Voilà Project allows to build IoT Networks where involved Actors & Smart Objects automatically and without any configuration discover, connect to or disconnect from the network using the service discovery protocol and standard protocols such as HTTP & CoAP. - Voilà involves - CoAP implementation to the last IETF Draft (Java, Android, and Arduino) (Contiki soon ? ) - Service discovery procedures in local networks and distributed overlays - IoT Hub implementation with: • Protocol Translation (HTTP <-> CoAP) • Resource Directory • Proxy functionalities
  • 35. Voilà Demo HTTP JSON SD controller JSON Data Fetcher HTTP Discovery of IoT nodes JSON IoT HUB Continuous requests of cached data Update Smart Display (SD) Presented @ SPS IPC Drives Italia - Parma, May 2013 Fiera dell’automazione 2013 CoAP JSON
  • 37. Voilà Demo (Sensor Disconnection and Re-Join)
  • 38. Voilà Demo (Interaction with a Mobile Device)
  • 39. Internet of Things & Smart Cities Event http://phdschool.tlc.unipr.it The aim of the Ph.D. School has been to address young researchers to the forefront of research activity on Smart Cities & Internet of Things, by presenting state-of-the-art research together with the current and future challenges. International speakers from academia and industry gave lectures tailoring their research field for an interdisciplinary audience. A dedicated discussion panel focused on the interaction and the collaboration between academia and industry in order to depict the future vision of Smart Cities and IoT. 2014 Call - Join the Community ! sponsored by
  • 41. @marcopk Thank you ! Marco Picone, Ph.D. Università degli Studi di Parma Droidcon Torino - 2014