SlideShare a Scribd company logo
1 of 29
DISCOVER MORE LINE BEACON APPLICATIONS
LINE Taiwan Benny Wu
Agenda • About me
• Introduction to Taiwan Market
• LINE Beacon Specification
• Taipei MRT Applications of LINE Beacon
ABOUT ME
Software Engineer
Backend Engineer
10+ years
Product Management
Partnership Management
Business Development
4+ years
LINE TW Platform Business
LINE TW Developer Relations
Lead
TAIWAN MARKET
LINE Taiwan users
21,000,000
LINE BEACON SPEC
Apple’s
iBeacon
LINE Beacon
packets
Bluetooth
LE 4.0
A beacon device compliant with the LINE Beacon specification supports the following:
LINE BEACON DEVICE
• Update secure messages every 15 seconds
• Advertise LINE Beacon packets
• Generate secure messages from data hashed by SHA-256 and XOR
• Show HWID on the case of the device
LINE BEACON DEVICE
LINE BEACON PACKETS
the broadcaster role (BLUETOOTH SPECIFICATION Version 4.0 [Vol 3], Part C Section 2.2.2.1) specified in the generic access profile
AdvData
Ad Structure Ad Structure Ad Structure Non-Significant Part
Leng
th
Data Leng
th
Data Length Data
  Ad
Type
Ad
Data
(flag)
  Ad
Type
Ad Data
(16bit
UUID)
  Ad
Type
Ad Data (Service Data)
           
 
    16bit UUID LINE Beacon Frame
           
 
      Fram
e
type
HWID Measured
TxPower
Secure Message
Message
Authentication Code
Masked
Timestamp
Battery
Level
02 01 06 03 03 6F FE 11 16 6F FE 02 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00 00 00 00 00
  01:
Flag
 
 
  03:
Comp
lete
list
of
16bit
Servi
ce
UUID
0xFE6F:
16bit UUID
for
LINEcorp
0x11=1
7
0x16:
Servi
ce
Data
- 16-
bit
UUID
(16bit
UUID)
  for
Distanc
e
Measure
ment.
(iBeaco
n
compati
ble)
Replay attack
prevention
SHA-256
XOR
7-byte data
LINE BEACON PACKET - SECURE MESSAGE
ALGORITHM OF SECURE MESSAGE
1.Generatemessageauthentication
codeusing SHA-256+3-XOR
2.Generatemaskedtimestampby
maskingthefirst 6bytesoftimestamp
3.Concatenateitems
–Messageauthenticationcode
–Maskedtimestamp
–Batterylevel
FLOWS OF LINE BEACON
SYSTEM FLOW
Application
server
LINE serversLINE appLINE Beacon
USER FLOW
APPLICATIONS OF
LINE BEACON
Increase Bluetooth “on” rate
Encourage users to install apps that support beacons
Develop attractive applications
3 FACTORS FOR SUCCESS IN BEACON SERVICES
TAIPEI MRT
Taipei MRT
• Total 117 stations around Taipei and New Taipei City
• 2.2M+ passengers every day
Goal
• Potential O2O business opportunities
• LINE Beacon awareness
LINE Beacon
Deployment
• 35 stations (Blue line, Transportation stations)
• Around 200 beacons on platforms and around exits
ON-BOARDING PROCESS
In the station On the platform Receive beacon signal See beacon banner
LINE Beacon management - over 200 beacons for different purposes
Event handling from LINE Beacons - trigger different scenarios for users
HW trigger issues - the enter event may not occur with some phone models
TECHNICAL CHALLENGES
LINE Beacon management - over 200 beacons for different purposes
Event handling from LINE Beacons - trigger different scenarios for users
● Utilize multiple layers of users’ status with cache
● Check and respond to users as fast as possible
HW trigger issues - the enter event may not occur with some phone models
● Take different approach other than the enter event of LINE Beacon
● Trigger by other method if there’s HW limitation
SOLUTIONS
● Employ divide-and-conquer strategy
● Split beacons to small groups and assign task for each group
SERVICES
• News digest of LINE TODAY
• Emergency news from MRT
• Weather information
• Interaction game
• Nearby coupons
• Transportation (bus information)
Providing services News/ Weather Coupon Interaction game
Chat
Beacon
LIFF
SYSTEM DESIGN
LINE TODAY
service
MRT Bus Info
service
LINE Bot
LINE
GiftShop
Open data
from TPE gov
LINE TODAY
Official Account
MRT project-related services
PUZZLE GAME
Starting the game Collecting the pieces Rewards
BUS INFORMATION
Triggered by LINE Beacon View all routes/ change routes
LIFF
● LINE Front-end Framework. The
main interaction page.
Open data from Taipei Government
● Bus information including waiting
time and routes.
Flex message
● Build the message template with
flexibility.
Applied Technologies
BUS INFORMATION
Intuitive way of picking routes
● There are many bus routes in
Taipei city. Use HTML pages.
Challenges
Data integrity
● Open data may contain incomplete
information. Add error handling.
Integration
● Use micro-service structure and
integrate services with less effort.
BUS INFORMATION
Open Data
MangoDB
Replica Set
Redis
Data Sync
{
"EssentialInfo":{
"Location":{
"name":"台北市",
"CenterName":"台北市公車動態資 中心"
},
"UpdateTime":"2018/03/13 22:39:30",/
"CoordinateSystem":"WGS84"
},
"BusInfo":[
{
"RouteID":10441,
"StopID":36299,
"EstimateTime":"2733",
"GoBack":"0"
},
{
"RouteID":10441,
"StopID":36298,
"EstimateTime":"2540",
"GoBack":"0"
},
…
ONE MORE THING …
LINE NOW
THANK YOU

More Related Content

What's hot

What's hot (20)

State of the Platforms
State of the PlatformsState of the Platforms
State of the Platforms
 
Azetone: Mobile A/B Testing & Personalization
Azetone: Mobile A/B Testing & Personalization Azetone: Mobile A/B Testing & Personalization
Azetone: Mobile A/B Testing & Personalization
 
Get More out of Appium
Get More out of AppiumGet More out of Appium
Get More out of Appium
 
Appium tutorial| Appium Training
Appium tutorial| Appium Training Appium tutorial| Appium Training
Appium tutorial| Appium Training
 
The Power of a Great API
The Power of a Great APIThe Power of a Great API
The Power of a Great API
 
Richer Apps For All: Opening Up Devices and Effortlessly Exposing More Features
Richer Apps For All: Opening Up Devices and Effortlessly Exposing More FeaturesRicher Apps For All: Opening Up Devices and Effortlessly Exposing More Features
Richer Apps For All: Opening Up Devices and Effortlessly Exposing More Features
 
Native Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGapNative Mobile Apps, Xamarin, and PhoneGap
Native Mobile Apps, Xamarin, and PhoneGap
 
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Appium - Reality check on the world’s leading Open Source Framework for Mobil...Appium - Reality check on the world’s leading Open Source Framework for Mobil...
Appium - Reality check on the world’s leading Open Source Framework for Mobil...
 
PhoneGap Enterprise Viewer
PhoneGap Enterprise ViewerPhoneGap Enterprise Viewer
PhoneGap Enterprise Viewer
 
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
Cross Platform Mobile Test Automation using Selenium WebDriver by Perfecto Mo...
 
Introduction To Mobile-Automation
Introduction To Mobile-AutomationIntroduction To Mobile-Automation
Introduction To Mobile-Automation
 
Fenam Software presentation
Fenam Software  presentationFenam Software  presentation
Fenam Software presentation
 
Wheat - Mobile functional test automation
Wheat - Mobile functional test automationWheat - Mobile functional test automation
Wheat - Mobile functional test automation
 
Using Selenium To Test Mobile? Meet Appium!
Using Selenium To Test Mobile? Meet Appium!Using Selenium To Test Mobile? Meet Appium!
Using Selenium To Test Mobile? Meet Appium!
 
iphone Mobile Browser Application to create sales order
iphone Mobile Browser Application to create sales orderiphone Mobile Browser Application to create sales order
iphone Mobile Browser Application to create sales order
 
Advanced Appium Tips & Tricks with Jonathan Lipps
Advanced Appium Tips & Tricks with Jonathan LippsAdvanced Appium Tips & Tricks with Jonathan Lipps
Advanced Appium Tips & Tricks with Jonathan Lipps
 
Mobile Testing with Appium
Mobile Testing with AppiumMobile Testing with Appium
Mobile Testing with Appium
 
ARIONE CONSULTING PVT LTD: BEST IT TRAINING CENTRE IN NOIDA
ARIONE CONSULTING PVT LTD: BEST IT TRAINING CENTRE IN NOIDAARIONE CONSULTING PVT LTD: BEST IT TRAINING CENTRE IN NOIDA
ARIONE CONSULTING PVT LTD: BEST IT TRAINING CENTRE IN NOIDA
 
dev_int_11
dev_int_11dev_int_11
dev_int_11
 
Android Instant Apps testing
Android Instant Apps testingAndroid Instant Apps testing
Android Instant Apps testing
 

Similar to Discover more LINE Beacon applications

Windows Phone Development
Windows Phone DevelopmentWindows Phone Development
Windows Phone Development
Puja Pramudya
 
Rebaca Technologies Corporate Overview
Rebaca Technologies Corporate OverviewRebaca Technologies Corporate Overview
Rebaca Technologies Corporate Overview
sumitkhandelwal
 

Similar to Discover more LINE Beacon applications (20)

WWT IWAN Technical Presentation
WWT IWAN Technical PresentationWWT IWAN Technical Presentation
WWT IWAN Technical Presentation
 
WiFi Technologies - Hotspot 2.0 and Beyond
WiFi Technologies - Hotspot 2.0 and BeyondWiFi Technologies - Hotspot 2.0 and Beyond
WiFi Technologies - Hotspot 2.0 and Beyond
 
KPN Innovation Playground webinar 2 sep 2020
KPN Innovation Playground webinar 2 sep 2020 KPN Innovation Playground webinar 2 sep 2020
KPN Innovation Playground webinar 2 sep 2020
 
Scaling Open Source Applications with SBCs
Scaling Open Source Applications with SBCsScaling Open Source Applications with SBCs
Scaling Open Source Applications with SBCs
 
IXIA Breaking Point
IXIA Breaking PointIXIA Breaking Point
IXIA Breaking Point
 
Scaling Open Source Applications with SBCs
Scaling Open Source Applications with SBCsScaling Open Source Applications with SBCs
Scaling Open Source Applications with SBCs
 
Abhishek_cv
Abhishek_cvAbhishek_cv
Abhishek_cv
 
Hassan AlaaEddine CV
Hassan AlaaEddine CVHassan AlaaEddine CV
Hassan AlaaEddine CV
 
Windows Phone Development
Windows Phone DevelopmentWindows Phone Development
Windows Phone Development
 
Portals Voip Wars 1207398914252677 9
Portals Voip Wars 1207398914252677 9Portals Voip Wars 1207398914252677 9
Portals Voip Wars 1207398914252677 9
 
Current trends in open source and automotive
Current trends in open source and automotiveCurrent trends in open source and automotive
Current trends in open source and automotive
 
WSO2 Ecosystem platform for Connected Telco
WSO2 Ecosystem platform for Connected TelcoWSO2 Ecosystem platform for Connected Telco
WSO2 Ecosystem platform for Connected Telco
 
VoIP - Technology To Business Models
VoIP - Technology To Business ModelsVoIP - Technology To Business Models
VoIP - Technology To Business Models
 
Camara Application Programming Interface (API) Overview.pdf
Camara Application Programming Interface (API) Overview.pdfCamara Application Programming Interface (API) Overview.pdf
Camara Application Programming Interface (API) Overview.pdf
 
BBL AXA Lille - Nearable and the Eddystone Quest
BBL AXA Lille - Nearable and the Eddystone QuestBBL AXA Lille - Nearable and the Eddystone Quest
BBL AXA Lille - Nearable and the Eddystone Quest
 
Rebaca Technologies Corporate Overview
Rebaca Technologies Corporate OverviewRebaca Technologies Corporate Overview
Rebaca Technologies Corporate Overview
 
Sylantro Global Summit 2007 Las Vegas
Sylantro Global Summit 2007   Las VegasSylantro Global Summit 2007   Las Vegas
Sylantro Global Summit 2007 Las Vegas
 
Putting WebRTC to Work: Using the Standard in the Real World
Putting WebRTC to Work: Using the Standard in the Real WorldPutting WebRTC to Work: Using the Standard in the Real World
Putting WebRTC to Work: Using the Standard in the Real World
 
ciscothousandeyesusecase
ciscothousandeyesusecaseciscothousandeyesusecase
ciscothousandeyesusecase
 
OpenID Foundation MODRNA WG Overview
OpenID Foundation MODRNA WG OverviewOpenID Foundation MODRNA WG Overview
OpenID Foundation MODRNA WG Overview
 

More from LINE Corporation

More from LINE Corporation (20)

JJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LTJJUG CCC 2018 Fall 懇親会LT
JJUG CCC 2018 Fall 懇親会LT
 
Reduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin CoroutinesReduce dependency on Rx with Kotlin Coroutines
Reduce dependency on Rx with Kotlin Coroutines
 
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみたKotlin/NativeでAndroidのNativeメソッドを実装してみた
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
 
Use Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extensionUse Kotlin scripts and Clova SDK to build your Clova extension
Use Kotlin scripts and Clova SDK to build your Clova extension
 
The Magic of LINE 購物 Testing
The Magic of LINE 購物 TestingThe Magic of LINE 購物 Testing
The Magic of LINE 購物 Testing
 
GA Test Automation
GA Test AutomationGA Test Automation
GA Test Automation
 
UI Automation Test with JUnit5
UI Automation Test with JUnit5UI Automation Test with JUnit5
UI Automation Test with JUnit5
 
Feature Detection for UI Testing
Feature Detection for UI TestingFeature Detection for UI Testing
Feature Detection for UI Testing
 
LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享LINE 新星計劃介紹與新創團隊分享
LINE 新星計劃介紹與新創團隊分享
 
​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享​LINE 技術合作夥伴與應用分享
​LINE 技術合作夥伴與應用分享
 
LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣LINE 開發者社群經營與技術推廣
LINE 開發者社群經營與技術推廣
 
日本開發者大會短講分享
日本開發者大會短講分享日本開發者大會短講分享
日本開發者大會短講分享
 
LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享LINE Chatbot - 活動報名報到設計分享
LINE Chatbot - 活動報名報到設計分享
 
在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed Kubernetes在 LINE 私有雲中使用 Managed Kubernetes
在 LINE 私有雲中使用 Managed Kubernetes
 
LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧LINE TODAY高效率的敏捷測試開發技巧
LINE TODAY高效率的敏捷測試開發技巧
 
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
 
LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享LINE Things - LINE IoT平台新技術分享
LINE Things - LINE IoT平台新技術分享
 
LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗LINE Pay - 一卡通支付新體驗
LINE Pay - 一卡通支付新體驗
 
LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Platform API Update - 打造一個更好的Chatbot服務
 
Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發Keynote - ​LINE 的技術策略佈局與跨國產品開發
Keynote - ​LINE 的技術策略佈局與跨國產品開發
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Discover more LINE Beacon applications

  • 1. DISCOVER MORE LINE BEACON APPLICATIONS LINE Taiwan Benny Wu
  • 2. Agenda • About me • Introduction to Taiwan Market • LINE Beacon Specification • Taipei MRT Applications of LINE Beacon
  • 3. ABOUT ME Software Engineer Backend Engineer 10+ years Product Management Partnership Management Business Development 4+ years LINE TW Platform Business LINE TW Developer Relations Lead
  • 4. TAIWAN MARKET LINE Taiwan users 21,000,000
  • 6. Apple’s iBeacon LINE Beacon packets Bluetooth LE 4.0 A beacon device compliant with the LINE Beacon specification supports the following: LINE BEACON DEVICE
  • 7. • Update secure messages every 15 seconds • Advertise LINE Beacon packets • Generate secure messages from data hashed by SHA-256 and XOR • Show HWID on the case of the device LINE BEACON DEVICE
  • 8. LINE BEACON PACKETS the broadcaster role (BLUETOOTH SPECIFICATION Version 4.0 [Vol 3], Part C Section 2.2.2.1) specified in the generic access profile AdvData Ad Structure Ad Structure Ad Structure Non-Significant Part Leng th Data Leng th Data Length Data   Ad Type Ad Data (flag)   Ad Type Ad Data (16bit UUID)   Ad Type Ad Data (Service Data)                   16bit UUID LINE Beacon Frame                     Fram e type HWID Measured TxPower Secure Message Message Authentication Code Masked Timestamp Battery Level 02 01 06 03 03 6F FE 11 16 6F FE 02 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 00 00 00 00 00 00   01: Flag       03: Comp lete list of 16bit Servi ce UUID 0xFE6F: 16bit UUID for LINEcorp 0x11=1 7 0x16: Servi ce Data - 16- bit UUID (16bit UUID)   for Distanc e Measure ment. (iBeaco n compati ble)
  • 10. ALGORITHM OF SECURE MESSAGE 1.Generatemessageauthentication codeusing SHA-256+3-XOR 2.Generatemaskedtimestampby maskingthefirst 6bytesoftimestamp 3.Concatenateitems –Messageauthenticationcode –Maskedtimestamp –Batterylevel
  • 11. FLOWS OF LINE BEACON
  • 15. Increase Bluetooth “on” rate Encourage users to install apps that support beacons Develop attractive applications 3 FACTORS FOR SUCCESS IN BEACON SERVICES
  • 16. TAIPEI MRT Taipei MRT • Total 117 stations around Taipei and New Taipei City • 2.2M+ passengers every day Goal • Potential O2O business opportunities • LINE Beacon awareness LINE Beacon Deployment • 35 stations (Blue line, Transportation stations) • Around 200 beacons on platforms and around exits
  • 17. ON-BOARDING PROCESS In the station On the platform Receive beacon signal See beacon banner
  • 18. LINE Beacon management - over 200 beacons for different purposes Event handling from LINE Beacons - trigger different scenarios for users HW trigger issues - the enter event may not occur with some phone models TECHNICAL CHALLENGES
  • 19. LINE Beacon management - over 200 beacons for different purposes Event handling from LINE Beacons - trigger different scenarios for users ● Utilize multiple layers of users’ status with cache ● Check and respond to users as fast as possible HW trigger issues - the enter event may not occur with some phone models ● Take different approach other than the enter event of LINE Beacon ● Trigger by other method if there’s HW limitation SOLUTIONS ● Employ divide-and-conquer strategy ● Split beacons to small groups and assign task for each group
  • 20. SERVICES • News digest of LINE TODAY • Emergency news from MRT • Weather information • Interaction game • Nearby coupons • Transportation (bus information) Providing services News/ Weather Coupon Interaction game
  • 21. Chat Beacon LIFF SYSTEM DESIGN LINE TODAY service MRT Bus Info service LINE Bot LINE GiftShop Open data from TPE gov LINE TODAY Official Account MRT project-related services
  • 22. PUZZLE GAME Starting the game Collecting the pieces Rewards
  • 23.
  • 24. BUS INFORMATION Triggered by LINE Beacon View all routes/ change routes
  • 25. LIFF ● LINE Front-end Framework. The main interaction page. Open data from Taipei Government ● Bus information including waiting time and routes. Flex message ● Build the message template with flexibility. Applied Technologies BUS INFORMATION Intuitive way of picking routes ● There are many bus routes in Taipei city. Use HTML pages. Challenges Data integrity ● Open data may contain incomplete information. Add error handling. Integration ● Use micro-service structure and integrate services with less effort.
  • 26. BUS INFORMATION Open Data MangoDB Replica Set Redis Data Sync { "EssentialInfo":{ "Location":{ "name":"台北市", "CenterName":"台北市公車動態資 中心" }, "UpdateTime":"2018/03/13 22:39:30",/ "CoordinateSystem":"WGS84" }, "BusInfo":[ { "RouteID":10441, "StopID":36299, "EstimateTime":"2733", "GoBack":"0" }, { "RouteID":10441, "StopID":36298, "EstimateTime":"2540", "GoBack":"0" }, …