programming the internet of things
play

Programming the Internet of Things Why Devices Need APIs December - PowerPoint PPT Presentation

Programming the Internet of Things Why Devices Need APIs December 8, 2014 Greg Burns Chair of Technical Steering Committee AllSeen Alliance 2 December 2014 AllSeen Alliance 1 Mobile The largest technology platform ~3.3 billion unique


  1. Programming the Internet of Things Why Devices Need APIs December 8, 2014 Greg Burns Chair of Technical Steering Committee AllSeen Alliance 2 December 2014 AllSeen Alliance 1

  2. Mobile – The largest technology platform ~3.3 billion unique subscribers 6.8 B 7.2 B connections people 2 Source : GSMA Intelligence, November 13; UN, November 2013

  3. And that platform is about to be dwarfed… Massive surge in connected things has already begun By 2020, 40.9 billion things will be connected * − Via Wi-Fi, wire line, cellular, and proximal networks − Benefiting billions of people worldwide − 75% of the growth between today and the end of the decade will come from non-hub devices Transforming: − Industry − Infrastructure − Media − Education − Work − Recreation − Family − Daily life AllSeen Alliance 3 * Source: https://www.abiresearch.com/press/the-internet-of-things-will-drive-wireless-connect

  4. Security Internet of Things Today Camera Cloud Laundry Lighting C Cloud Cloud Speaker B Cloud Lighting B Cloud Fridge Cloud TV Cloud NOW PLAYING: Artist: Flowers Lighting A Song: Daisy Cloud Speaker A Cloud 4

  5. Ubiquitous connectivity promises to make devices “smart” But ONLY if they speak the same language  당신은 내 말 들려 ? hello world! Tem alguém aí? 100010101011 Computing Consumer goods Home Auto Industrial devices and appliances Devices that can’t connect across brands, categories, and operating systems will be left out 5

  6. Network topology matters “Someone’s at the door” “Someone’s at the door” “Coffee is done” “Laundry is ready!” Direct communication is fast, efficient, and secure. “Someone’s at the door” No need to go out to the cloud to talk to the “Coffee is done” “Laundry is ready!” device right next to you! NOW PLAYING: Artist: Flowers Song: Daisy 6

  7. Internet of Things Tomorrow Secured Proximal Cloud NOW PLAYING: Artist: Flowers Song: Daisy Various Cloud Services 7

  8. What are these “ things ” of which you speak? Without the right combination of hardware, connectivity and software a “Thing” is just a “Thing”. Ultimately it is software that makes a “Thing” an Internet-of -Things Thing. 8

  9. APIs - how software talks to software • Well constructed software has clean boundaries between the internals of the implementation and the external interfaces exposed to other software. – We generally call these external interfaces Application Programming Interfaces (APIs) – APIs are what makes it possible to incorporate existing functionality into new code • Software platforms are simply collections of APIs – Windows, Linux, Android, iOS, OSX – are defined by the APIs they provide – Examples abound - OpenGL, PhysX, Webkit, every social network on the planet! 2 December 2014 AllSeen Alliance 9

  10. APIs – for IoT devices • IoT devices are characterized by the software they run so: – When IoT devices talk to IoT devices it is software talking to software • IoT devices should have APIs – But these IoT devices are all so different – But often have very similar functions • What APIs should IoT devices have? – Some standard APIs – Some device specific APIs 2 December 2014 AllSeen Alliance 10

  11. IoT needs a framework to expose the various APIs of connected devices in a consistent way. A single platform allowing products to expose their capabilities LOCK DOORS DISPLAYS LIGHT BULBS SPEAKERS GARAGE DOOR CLOCKS SENSORS COOL PICTURES HEAT VIDEO TVs DRAPES 11 The AllJoyn software framework is a collaborative open source project of the AllSeen Alliance

  12. Devices describe their capabilities via discoverable self-describing service interfaces I can send notifications I display notifications. I have the clock I can send notifications. interface! I have control panel I have a clock interface I can send notifications I display notifications. I can send and display I have control panel notifications I have the clock interface! 72° I display notifications. 120 I have the clock interface! 80 I have lighting interface 12 The AllJoyn software framework is a collaborative open source project of the AllSeen Alliance

  13. Standards • What we don’t want: – There’s an App for that thing – And an App for that thing – And yet another App for that thing – … • Devices that have similar functionality should expose the same APIs – Every device with a clock should expose a set-clock API – Every device that has a battery should expose a battery level API – Manufacturers cannot differentiate by exposing necessary functionality in different ways 2 December 2014 AllSeen Alliance 13

  14. Exposing smartphone APIs enabled new experiences - that no one had ever thought of GPS MICROPHONE GPU TOUCHSCREEN DSP ACCELEROMETER GYRO 14

  15. The problems to be solved…in an open interoperable way DISCOVER IDENTIFY ADAPT MANAGE nearby friendly devices services running to devices coming diverse on those devices and going transports INTEROPERATE EXCHANGE SECURE across different OSes information and against nearby bad actors services 15

  16. Baseline for an API framework for IoT • Must be designed to work with existing programming languages – Java, C, C++, C#, JavaScript, Python, etc • Must support modular construction – To allow standard building blocks – To allow innovation • Must include facilities for discovery – Find out what APIs a device has rather than what the device is • Must support privacy and security – Which APIs can be used by other devices – Authentication and data encryption 2 December 2014 AllSeen Alliance 16

  17. The AllJoyn™ Project An Open Source Framework for the Internet of Things 17

  18. A year ago a group of companies formed the AllSeen Alliance • A nonprofit consortium dedicated to enabling the widespread adoption of products, systems and services that support the Internet of Things through an open environment, vibrant ecosystem and thriving technical community. • Hosts and advances an industry-supported software and services framework based on the collaborative AllJoyn open source project. • This collaborative open source framework enables hardware manufacturers and software developers to create interoperable products that can discover, connect and communicate directly with other devices, systems and services regardless of brand. 2 December 2014 AllSeen Alliance 18

  19. Alliance and Objectives Supporting the Internet of Things through an open environment, vibrant ecosystem and thriving technical community. Alliance Enable Evolution Evangelize Contribute Open Source Vibrant of AllJoyn & Use Community Ecosystem Industry leaders Tech/software innovators To learn more about the AllSeen Alliance visit: www.allseenalliance.org To find out about participating in the AllSeen Alliance contact: Joe Speed <jspeed@linuxfoundation.org> 2 December 2014 AllSeen Alliance 19

  20. AllJoyn Software Framework: High-level architecture A comprehensive software framework lets devices and applications communicate AllJoyn Apps AllJoyn App Layer AllJoyn Application Layer Defines the User experience AllJoyn Service Frameworks AllJoyn Service Frameworks Events and Interoperable, cross-platform Onboarding Control Panel Lighting Standard Application Layer Actions modules for common IoE functionality Notifications Audio …. Config Defines common interfaces between devices AllJoyn Core Libs AllJoyn Core Libs Discovery & Connection Security Provides ability to find and Advertisement Interface APIs APIs APIs APIs connect to devices to do interesting things. AllJoyn Router Core libraries interact with AllJoyn Router • Manages the AllJoyn Router communications between Provides access control and devices and apps OS encryption • Dynamic network management Physical Layer (Wi-Fi, PLC, Ethernet, Bluetooth) 20 The AllJoyn software framework is a collaborative open source project of the AllSeen Alliance

  21. Two Versions of the AllJoyn Framework To Choose Thin Apps Standard Apps Standard App Layer Thin App Layer App Layer App Layer App dev or OEM writes this OEM writes this AllJoyn Thin Service AllJoyn Standard Service Frameworks Frameworks Standard Application Standard Application Layer Layer AllJoyn Standard AllJoyn Thin Core Standard Core Libraries Thin Core Libraries Core Libs Libs Multiple bindings, runs on HLOS C bindings, runs on RTOS Thin Apps using Thin Core requires an AllJoyn Router AllJoyn Router in the network AllJoyn Router AllJoyn Router can be bundled HLOS RTOS with a Standard App or run standalone Physical Layer (Wi-Fi, PLC, Ethernet, Bluetooth) 21 The AllJoyn software framework is a collaborative open source project of the AllSeen Alliance

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend