Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

LINE Things - LINE IoT平台新技術分享

2.187 visualizaciones

Publicado el

The 5th session of LINE TAIWAN TECHPULSE 2018

Publicado en: Tecnología
  • Inicia sesión para ver los comentarios

LINE Things - LINE IoT平台新技術分享

  1. 1. Kevin Luo LINE - Application Analyst
  2. 2. Agenda • Why LINE Things • Service Architecture • LINE Things LIFF BLE
  3. 3. LINE THINGS SHOWCASE
  4. 4. WHY LINE THINGS
  5. 5. EVERYONE IS USING LINE
  6. 6. CURRENT IoT
  7. 7. More devices more Apps Different protocols to connect to your devices Complicated processes and ways to setup HASSLE & CHAOS FOR USERS NOW
  8. 8. UI and device management Hard to manage and use devices Infrequent usage BAD EXPERIENCE
  9. 9. WITH LINE THINGS
  10. 10. All the linked devices in One App - LINE Hassle free, easy to setup Interact with devices use through CHAT or WEBVIEW BENEFITS FOR USERS
  11. 11. No more app to develop and to market Just use WEB technologies Easy to integrate with current web services BENEFITS FOR SERVICE PROVIDERS AND DEVELOPERS
  12. 12. HOW WE DO IT
  13. 13. Online Devices direct internet connection Offline Devices no internet connection DEVICES SUPPORT ● Wearable type devices ● Home appliance ● Bluetooth(BLE) devices ● Home gateway devices ● Wifi enabled devices ● Devices connect through server
  14. 14. OVERVIEW LINE THINGS Service Management Event Delivery Authorization Authentication API’s LINE APP Communication UI/UX BLE SERVICES Communication UI/UX BLE OFFLINE Devices ONLINE Devices
  15. 15. OFFLINE DEVICES LINE THINGSLINE APP SERVICES OFFLINE Devices LINE App will proxy device events Services can directly use web API’s to communicate with devices Communicate With BLE Events Events Webview Data Processing Data Delivery CP Server
  16. 16. ONLINE DEVICES LINE THINGSLINE APP SERVICES ONLINE Devices Online devices can communicate directly with LINE things CP side can proxy events and API’s for online devices Device Events Events API’s Data Delivery CP Server RESTful API
  17. 17. ONLINE DEVICES USE CASES
  18. 18. Remote Control
  19. 19. Door Opened Alarm
  20. 20. ONLINE DEVICES USE CASES Messaging API Your Servers LINE Servers LINE App Devices
  21. 21. OFFLINE DEVICES USE CASES
  22. 22. OFFLINE DEVICES USE BLE- Bluetooth Low Energy
  23. 23. No need to create backend APP for devices No need for SIM or WIFI module Devices do not need internet connection ADVANTAGES OF BLE
  24. 24. WE HAD - LINE BEACON
  25. 25. You can send messages when your customers enter your store
  26. 26. WE NEED MORE
  27. 27. Bi-direction communication Support for almost all BLE devices BLE communication without user interaction OUR NEW CHALLENGES
  28. 28. LINE THINGS LIFF BLE Devices Messaging API LIFF BLE Your Servers Your LIFF App LINE Servers LINE App
  29. 29. Device link - Manage devices LIFF SDK with BLE plugin Automated BLE(Bluetooth Low Energy) communication (coming in 2019) LINE THINGS FEATURES
  30. 30. LIFF - APPLICATION
  31. 31. DEVICE LINK & LIFF BLE
  32. 32. HOW DOES LIFF BLE WORK Devices LIFF SDK (BLE plugin) BLE Native Component LIFF app
  33. 33. const device = await liff.bluetooth.requestDevice(); const gatt = await device.gatt.connect(); const service = await gatt.getPrimaryService( 'E625601E-9E55-4597-A598-76018A0D293D' ); const characteristic = await service.getCharacteristic( '26E2B12B-85F0-4F3F-9FDD-91D114270E6E' ); characteristic.addEventListener('characteristicvaluechanged', (e) => { console.log('value changed to:' + e.target.value); }); IMPLEMENTATION
  34. 34. CONNECTION PROCESS Scanning LINE App Advertising Device Connect
  35. 35. const device = await liff.bluetooth.requestDevice(); const gatt = await device.gatt.connect(); const service = await gatt.getPrimaryService( 'E625601E-9E55-4597-A598-76018A0D293D' ); const characteristic = await service.getCharacteristic( '26E2B12B-85F0-4F3F-9FDD-91D114270E6E' ); characteristic.addEventListener('characteristicvaluechanged', (e) => { console.log('value changed to:' + e.target.value); }); CONNECTION PROCESS
  36. 36. DATA ACCESS Device LINE App Read LIFF BLE Device Device LINE App LINE App Notify Write
  37. 37. const device = await liff.bluetooth.requestDevice(); const gatt = await device.gatt.connect(); const service = await gatt.getPrimaryService( 'E625601E-9E55-4597-A598-76018A0D293D' ); const characteristic = await service.getCharacteristic( '26E2B12B-85F0-4F3F-9FDD-91D114270E6E' ); characteristic.addEventListener('characteristicvaluechanged', (e) DATA ACCESS
  38. 38. const device = await liff.bluetooth.requestDevice(); const gatt = await device.gatt.connect(); const service = await gatt.getPrimaryService( 'E625601E-9E55-4597-A598-76018A0D293D' ); const characteristic = await service.getCharacteristic( '26E2B12B-85F0-4F3F-9FDD-91D114270E6E' ); const value = await characteristic.readValue(); READ
  39. 39. const device = await liff.bluetooth.requestDevice(); const gatt = await device.gatt.connect(); const service = await gatt.getPrimaryService( 'E625601E-9E55-4597-A598-76018A0D293D' ); const characteristic = await service.getCharacteristic( '26E2B12B-85F0-4F3F-9FDD-91D114270E6E' ); await characteristic.writeValue( WRITE
  40. 40. const device = await liff.bluetooth.requestDevice(); const gatt = await device.gatt.connect(); const service = await gatt.getPrimaryService( 'E625601E-9E55-4597-A598-76018A0D293D' ); const characteristic = await service.getCharacteristic( '26E2B12B-85F0-4F3F-9FDD-91D114270E6E' ); characteristic.addEventListener('characteristicvaluechanged', (e) => { console.log('value changed to:' + e.target.value); } NOTIFY
  41. 41. AUTOMATED BLE COMMUNICATION USE CASE
  42. 42. Easy to implement Free to try Easy to share demo app ADVANTAGES OF LINE THINGS
  43. 43. LET’S MAKE SOMETHING
  44. 44. https://developers.line.biz/en/docs/line-things/ LINE DEVELOPERS
  45. 45. https://github.com/line/line-things-starter SAMPLE CODES
  46. 46. https://engineering.linecorp.com/en/blog/line-things-developer-trial/ BLOG - HOW TO 101
  47. 47. THANK YOU

×