+ All Categories
Transcript
Page 1: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

CONNECTING CARS WITH IOT MQTT

For more:

Joe Speed [email protected] @mobilebit on twitter mobilebit.wordpress.com linkedin.com/in/joespeed

mqtt.org m2m.demos.ibm.com live demos and HTML5 samples eclipse.org/paho MQTT source code ibm.com/messagesight fastest, secure communications for the car ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials youtu.be/C3ebGjJ0KjM?t=1m22s car remote demo youtu.be/u69I-GLYd6I talk re car is mobile, social, big data, cloud

Page 2: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

CONNECTED CAR IS A BIG DATA PROBLEM

•  car sensors produce 2GB every 90 min •  60M cars manufactured each year •  If driven 4 hours a day ..

103 exabytes

Page 3: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

HTTP IS NOT HOW YOU DO THAT

•  No QoS, no reliable messaging •  Heavy, hundreds of bytes of overhead •  Not designed for wireless, high latency •  No pub/sub 1:many, many:many, etc •  No, always connected, instant response •  in summary, for connected car HTTP is ..

slow, heavy, unreliable

Page 4: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

MQTT FOR MOBILE MESSAGING Faster M2M and User Experience

"  pub/sub with QoS - engineered for wireless "   socket, TLS 1.2, mutual authentication, etc. "  MQTT vs HTTPS on Android & 3G

–  93x faster throughput,13k msg/sec on my iPad –  1/8th network overhead – faster, cheaper –  1/170th battery to receive, 1/11th to send

"  Open standard, open source, very fast & reliable " eclipse.org/paho C, Java, JavaScript " mqtt.org for dozens of languages, platforms

Page 5: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

WHO’S IN THE MIX WITH MQTT?

"  usual suspects: IBM, SAP, Intel, Cisco, Software AG, TIBCO, VMWare, Red Hat, Pivotal, NIST, Eclipse, Apache, Emerson, Axway, et al. (even Oracle - google “JavaOne MQTT”)

"   cool kids: M2Mi, 2lemetry, ThingWorx, Libelium,

Sierra Wireless, Telit, QNX, Wind River, Shaspa, Eurotech, Elecsys, Xively, et al.

"   car guys: 1/2 dozen automakers, trucks, several tier-1 suppliers, telematics providers, etc.

Page 6: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

Facebook Messenger FACEBOOK

(1,052,572)

" 945M mobile users, popular, highly rated, very fast " Speed of UX is big competitive advantage

source: http://support.verizonwireless.com/information/app_ranking/apps/facebook-messenger.html Source: https://play.google.com/store/apps/details?id=com.facebook.orca Source: https:/facebook.com

Verizon Wireless Overall

FACEBOOK MESSENGER

Page 7: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

FACEBOOK MESSENGER

“.. performance improvements designed to make your messaging experience even better. To do this without killing battery life, we used a protocol called MQTT … designed to use bandwidth and batteries sparingly… phone-to-phone in hundreds of milliseconds, rather than multiple seconds.”

- Lucy Zhang, Facebook Engineer facebook.com/lucyz

Page 8: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

TRY IT FOR YOURSELF

MQTT Google Hangouts

MQTT vs Facebook Messenger

Page 9: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

THE CAR IS A MOBILE “THING” needing less driver distraction, better safety

“Latency is a driver distraction issue” – Roger Lanctot @rogermud Strategy Analytics

"  terrible response times the norm "  Most are 15-90 seconds, Tesla is 5-6 sec "  lack “always connected” instant response "  slow, unreliable, high mobile data costs bit.ly/latencydriverdistraction

Page 10: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

TYPICAL CAR ARCHITECTURE “NGTP”*

*Where  is  the  car  owner’s  Smartphone?    

Page 11: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

CONNECTED CAR REINVENTED

Insurer

Content

"  20x faster UX

"  5x faster dev

"  10x cheaper IBM MessageSight

My Car My Mobile My Home

Page 12: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

IBM MESSAGESIGHT SPEEDS THE IOT

+ Mobile + Secure + Easy

+ Open – MQTT, WebSocket, JMS + Speed – 80µs, millions/second + Scale – millions of things

Faster IoT & Mobile user experience MQTT, HTML5 WebSocket, JMS, MQ

Page 13: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

PREDICTIVE MAINTENANCE Improving owner experience

•  real-time using sensor data, time-series •  proactive service, i.e. brake issue •  driving better customer service

Page 14: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

BIG DATA DRIVES AUTONOMOUS car2cloud2car improves driver safety & experience

assisted, autonomous driving w real-time big data autonomous isn’t just about “my car” "  µs decisioning "  millions/second "  geospatial "   correlation "   filtering "   time-series "   trending

Page 15: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

WHO IS DOING WHAT IN CARS .. that I can talk about publicly

Connected Car & M2M Provider "  mobile2cloud2car w “key fob response time” "  demo: youtu.be/V1ooTX4aTE8 "  Press: NYT, WSJ, Fortune, etc.

2nd largest OE supplier "  CEO announce Sept 10 Frankfurt Motor Show "   IBM Car Cloud for “autonomous driving” "  Press: NYT, Bloomberg, CNET, Reuters, etc. "  Look for me in Conti’s CES `14 booth

"  also QNX’s, IBM’s, CES GENIVI Show

Page 16: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

Node-RED

h4p://m2m.demos.ibm.com    

Page 17: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

CONNECTING CARS WITH MQTT & IBM MESSAGESIGHT

For more:

Joe Speed [email protected] @mobilebit on twitter mobilebit.wordpress.com linkedin.com/in/joespeed

mqtt.org m2m.demos.ibm.com live demos and HTML5 samples eclipse.org/paho MQTT source code ibm.com/messagesight fastest, secure communications for the car ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials youtu.be/C3ebGjJ0KjM?t=1m22s car remote demo youtu.be/u69I-GLYd6I talk re car is mobile, social, big data, cloud

Page 18: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

“MQTT FOR SENSOR NETWORKS” MQTT-SN speeds your WSNs

•  MQTT for WSNs •  datagram instead of socket

–  even smaller footprint –  very low power –  very low bandwidth – QoS reliable messaging in unreliable conditions

•  ZigBee, 6LoWPAN, DSRC/WAVE, UDP, serial ..

•  bit.ly/mqttsn specification

Page 19: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

ECLIPSE MOSQUITTO W MQTT-SN

•  Nov 19 – Eclipse Mosquitto project live “RSMB” source now in github

•  75KB for embedded systems •  MQTT + MQTT-SN server & bridge •  Bridges WSNs to Cloud •  Used in “things” ranging from US & UK military’s

sensor fabric to home automation •  Runs on Tizen, Automotive Grade Linux •  bit.ly/mqtt-sn for source, also google “RSMB”

Page 20: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

20

Why  Publish/Subscribe  for  Sensor  Networks?  

Sensor  

radio  links  

Sensor  

Actuator  

radio  links  

Wireless SA Networks

Gateway  

Internet, GSM,

… broker  

App  

App  

Gateway  

§ Both  sensors  and  applicaEons  are  freed  from  networking  issues  –  Only  one  connecEon  (with  broker)  to  maintain  

–  Simple  APIs:  •  publish(topic,data)  •  publish_arrived(topic,data)  

Sensors  and  applicaEons  may  be  added/removed  at  any  Eme  

Bridging  of  heterogenous  wireless  networks  

Inherently  mulEcast  Real-­‐Eme  delivery  of  data  e.g.  alarm  events  

Page 21: Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

TRY IT FOR YOURSELF

Google Hangouts Most 1 star complaints are about slowness and presence services (who’s online) not working correctly MQTT


Top Related