IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

26
IOT – CONNECTING PEOPLE & THINGS For more: Joe Speed [email protected] @ mobilebit on twitter mobilebit.wordpress.com linkedin.com/in/joespeed mqtt.org m2m.demos.ibm.com eclipse.org/paho ibm.com/messagesight ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials bit.ly/iotwsn13 this deck

description

 

Transcript of IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

Page 1: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

IOT – CONNECTING PEOPLE & THINGS

For more:

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

mqtt.org m2m.demos.ibm.com eclipse.org/paho ibm.com/messagesight ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials

bit.ly/iotwsn13  this  deck    

Page 2: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

HTTP IS NOT THE IOT’S FRIEND

•  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 •  in summary, for connected car HTTP is ..

Slow, heavy, unreliable

Page 3: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

MQTT FOR MOBILE MESSAGING Faster M2M and User Experience

"  pub/sub with QoS - engineered for wireless "   socket, TLS 1.2, mutual auth, 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 4: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

WHO’S IN THE MIX?

"  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, et al.

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

Page 5: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

Facebook Messenger FACEBOOK

(1,052,572)

" 725M 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 6: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

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 7: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

TRY IT FOR YOURSELF

MQTT Google Hangouts

MQTT vs Facebook Messenger

Page 8: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

TRY IT FOR YOURSELF

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

Page 9: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

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

“Latency is a driver distraction issue”

– Roger Lanctot @rogermud "   terrible response times the norm "  Most are 30-90 seconds, best case 15 sec "   lacks “always connected” instant response "   slow, unreliable, high mobile data costs bit.ly/latencydriverdistraction

Page 10: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

TYPICAL CAR ARCHITECTURE “NGTP”*

*Where  is  owner’s  Smartphone?    

Page 11: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

CONNECTED CAR REINVENTED

Insurer

Content

"  20x faster UX

"  5x faster dev

"  10x cheaper IBM MessageSight

My Car My Mobile My Home

Page 12: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

IBM MESSAGESIGHT SPEEDS IOT

+ Mobile + Secure + Easy

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

IoT & Mobile Messaging for MQTT, HTML5 WebSocket, JMS, MQ

Page 13: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

CONNECTED CAR IS BIG DATA

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

103 exabytes

Page 14: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

PREDICTIVE MAINTENANCE Improving owner experience

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

Page 15: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

BIG DATA DRIVES AUTONOMOUS car2cloud2car improves driver safety & experience

assisted & autonomous driving with real-time big data autonomous isn’t just about “my car” "   µs decisioning "   millions/second "   geospatial "   correlation "   filtering "   time-series "   trending m2m.demos.ibm.com

Page 16: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

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)

Page 17: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

17 17 © 2013 IBM Corporation

MQTT “Condition Based Maintenance”

17,000km pipeline network with real-time monitoring and control

Pumps Spill location Refineries Pressure Temperature Storage

30,000 low-power, low bandwidth sensors 6,000 controllers

operations center detects, predicts, acts

topics

Event-driven visibility & control, eliminated 3 min blindspot 10x reduction in satellite communication costs Huge improvement in productivity & maintenance costs

Page 18: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

18 18 © 2013 IBM Corporation

MQTT “Connected Patient” for a better quality of life

§  St Jude Medical clinicians monitor & manage pacemaker and defibrillator patients at home

§  fast response to abnormal rhythms

§  few office visits & travel

source: sjm.com

Page 19: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

19 19 © 2013 IBM Corporation

US & UK ITA Sensor Fabric for safety of the troops §  sensor mesh of terrestrial sensors, UAVs §  battlefield hardened IoT, low power, bandwidth §  “Sensor Fabric” auto-discovering, self-correcting

Command HQ

bit.ly/iotsensorfabric

Page 20: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

20 20 © 2013 IBM Corporation

US & UK’s ITA Sensor Fabric

Page 21: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

“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, UDP, serial, et al.

•  bit.ly/mqttsn specification

Page 22: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

ECLIPSE MOSQUITTO W MQTT-SN

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

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

sensor fabric to home automation •  bit.ly/mqtt-sn for source, also google “RSMB”

Page 23: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

M2M.DEMOS.IBM.COM live demo, videos and source code

m2m.demos.ibm.com

Page 24: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

CONNECTED CAR M2M.DEMOS.IBM.COM

Predic've  Maintenance  

So0Layer  cloud  

Node-RED

Page 25: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

IOT – CONNECTING PEOPLE & THINGS

For more:

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

mqtt.org m2m.demos.ibm.com eclipse.org/paho ibm.com/messagesight ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials

bit.ly/iotwsn13  this  deck    

Page 26: IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed

26

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