MOPCON
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    KKBOX 如何走向物聯網 === ###### tags: `2018`, `R2` ##### 位置: R2 ##### 講者:陳俊諺 {%slideshare 貼這裡xxxx/yyyy %} [TOC] --- ## 過去十五年來專注提供服務的主流平臺 - Win、Apple、Android ## 如何在其他系統讓使用者聽到 KKBOX 的音樂? - 甚至還有一堆 Android 的分身 - 車機 - 後照鏡 - 喇叭 - 機器人 - 魔鏡? - 時鐘? - 相框? - 要在這些東西上基本上是很困難的 ## 無法輕易被取代的東西 - 5000 萬曲庫 - 唱片公司對 KKBOX 的信任是時間累積而來的 - 龐大的用戶來支持我們 - 隨時間和使用量累積而來的資訊 - ex:排行榜(依據使用者收集來的資訊) - 擁有強大團隊來分析使用者習慣(使用體驗) - 自製內容 - 了解時代潮流、時事 ## KKBOX Open API/Partnter API > 從眾多的資料中挑選出最有價值的內容並用簡潔一致的方式呈現 - Restful API - ex: - 各式各樣的歌單(排行榜、曲風、情境) - 個人化的資訊 - 蒐藏內容 - 不同的推薦結果 - 問題 > 如何讓第三方應用只取得到要的內容就好? ## 第三方平台的整合關鍵 - OAuth 2.0 > 就是來解決提供使用者需要的內容 - OAuth 2.0 讓使用者授權第三方平台資料 ### 要解決的四個問題 - 服務必須在所有地方支援密碼認證,但密碼太危險 - ss token - 第三方擁有了密碼,就等於擁有了你 - 為了讓一個第三方不再能存取你的資料,你只能修改密碼,連帶影響其他的第三方 - ex:如果把密碼交給其他10個應用,如果一個應用密碼不用了,會連帶影響到其他 9 個應用 - 解決方法:加入授權方式,所以不用了只需要移除權限 - 其中一個第三方被攻破,你就失去了一切 ## 第三方平台的整合關鍵 - OAuth - RFC 6749 - The OAuth 2.0 Authorization Framework 定義的四個 grant flow - Authorization Code Grant - Implicit Grant Flow - Resource Owner Credentials Grant Flow - Client Credentials Grant Flow ### Device Flow 讓更多裝置可以取得使用者的資料 - 沒有瀏覽器的裝置 - 喇叭 - 操作介面受限的裝置 - 電視 - 手錶 - 車機 - 透過一個方便輸入的裝置來輸入密碼 -> 通過後才給予授權 ### 那個不能說出名字的東西 > 那個不能說出名字的東西,讓 KKBOX 變成遙控器,使音樂在不同裝置上流暢地切換 - 讓 KKBOX 變成一個遙控器 ### 無線音樂體驗的問題 - 藍芽 - 音樂播放受其他音訊干擾 - 消耗裝置資源 - 對聲音多做一次有損壓縮 - 會再次破壞音樂品質 - 雖然有號稱無損壓縮,但還無法證實 - 距離受限 - AirPlay - 音樂播放受其他音訊干擾 - 消耗裝置資源 - 不是給個人都是果粉 - Chromecast (現在還比較少人使用) - 針對音樂設計的裝置稀少 ### 那個不能說出名字的東西 #### 遇到的問題 - 藉由 pub/sub pattern protocol 讓裝置獲得彼此的資訊 - 為了達到用最少的資源,達到最大的效益 - 盡可能 POSIX - compliant 已達到 DRY - 盡可能最大化可以共用的部分 - 盡可能地減少 dynamic library 大小 - 盡可能地減少商業邏輯 #### KKBOX Assistant > 憑藉著對音樂資料的掌握,KKBOX Assistant 更能了解你對音樂的需求 - 智慧音箱所需 ASR (自動語音辨識) -> NLU (自然語言理解) -> Intent Handling -> Session Managing ### KKBOX x Google ## Takeaway - 了解自己的長處,找人一起打群架 - 盡可能用最少的資源,達到最大的效益

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully