Weitere ähnliche Inhalte Ähnlich wie Connecting Physical Devices to the Web - Event Driven Architecture using WebSocket for the Internet of Things (20) Mehr von Peter Moskovits (6) Kürzlich hochgeladen (20) Connecting Physical Devices to the Web - Event Driven Architecture using WebSocket for the Internet of Things1. Connecting Physical Devices to the Web
Event Driven Architecture using WebSocket for the Internet of Things
Peter Moskovits
Head of Real-Time Solutions
Oslo, September 11, 2014
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
2. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
About Peter
Peter Moskovits
Head of Real-Time Solutions
peter.moskovits@kaazing.com
@pmoskovi
3. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Demos
4. The Request-Response Web
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Browser
Half Duplex
Full duplex
Back-end server
Web
Web Tier Middleware
Legacy Web
5. HTML5 WebSocket: TCP for the Web
§ Standard Protocol (IETF): RFC-6455
§ Standard API (W3C): JavaScript
§ Single socket, full-duplex
§ Low overhead: <1% of HTTP
§ Low latency: low milliseconds
§ SSL support
Full duplex
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
6. The Event-Driven Web
WebSocket Full duplex
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Browser
Half Duplex
Full duplex
Back-end server
Web
Web Tier Middleware
Legacy Web
Event-Driven Web
WebSocket Server Back-end server
Web
7. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
How Can I Use?
8. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
How Can I Use?
10. Available in Chrome Developer Tools
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
12. Your application
HTTP IMAP/SMTP/POP3 XMPP
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Protocol Layering
TCP
13. Your application
IMAP/SMTP/POP3 XMPP
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Protocol Layering
TCP
HTTP
WebSocket
14. WebSocket Clients and Server
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
16. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Win a Copy
17. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Win a Copy
1. Introduction to HTML5 WebSocket
2. The WebSocket API
3. The WebSocket Protocol
4. Building Instant Messaging and Chat over WebSocket with
XMPP
5. Using Messaging over WebSocket with STOMP
6. VNC with the Remote Frame Buffer Protocol
7. WebSocket Security
8. Deployment Considerations
http://goo.gl/xcvj7p
18. Connected Devices
Bridging the Gap Between Hardware and Software
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
20. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Demo Setup
21. Controlling the Light Remotely Using Pub-Sub Over the Web
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
22. Light Switch: Range Extended to the Web
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
23. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Demo
24. Remote Controlling Car Over the Web - The Architecture
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
25. Telemetry Data Distributed to the Web Over Satellite Network
KWG
Message
Broker
JMS
WS
JMS
WS
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
26. Telemetry Data Distributed to the Web Over Satellite Network
KWG
Message
Broker
JMS
WS
JMS
WS
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
27. Telemetry Data Distributed to the Web Over Satellite Network
KWG
Message
Broker
JMS
WS
JMS
WS
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Java
App
28. Telemetry Data Distributed to the Web Over Satellite Network
KWG
Message
Broker
JMS
WS
JMS
WS
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Java
App
29. About the Quadcopter: DJI Phantom 2
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
30. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
The Sensor Stack
31. Arduino: GPS, thermometer, humidity, compass, accelerometer + Go Pro
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
33. Satellite Terminal: InmarSat – Geostationary Satellites
Warning: Microwave radiation
Minimum safe distance: 0.6 metres
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
34. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
The Team
35. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
DEMO
37. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
DEMO
38. It’s More Than “Just” the Web
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
39. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Connected Devices
40. Connected Devices Communicating with WebSocket
WS WS
WS
WS
WS
WS
WS
WS
WS
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
41. Connected Devices Communicating with Proprietary Protocols over WS
AMQP/WS
MQTT/WS
JMS/WS
XMPP/WS
STOMP/WS
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
42. What Does KAAZING do?
Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Clients
disconnect
Network
intermediaries
Locked down
firewalls
Millions of
users
High
availability
Disaster
recovery
Developer
productivity
Integration
with existing
security
infrastructure
43. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Win a Copy
1. Introduction to HTML5 WebSocket
2. The WebSocket API
3. The WebSocket Protocol
4. Building Instant Messaging and Chat over
WebSocket with XMPP
5. Using Messaging over WebSocket with STOMP
6. VNC with the Remote Frame Buffer Protocol
7. WebSocket Security
8. Deployment Considerations
http://goo.gl/xcvj7p
44. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
Learn More
§ http://kaazing.com
§ http://tutorial.kaazing.com
§ http://kaazing.com/telemetry
§ The Definitive Guide to HTML5 WebSocket
45. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.
About Peter
Peter Moskovits
Head of Real-Time Solutions
peter.moskovits@kaazing.com
@pmoskovi
46. Copyright © 2014 Kaazing Corporation. http://goo.gl/xcvj7p All Rights Reserved.