簡易檢索 / 詳目顯示

研究生: 李卓勳
ZHUO-XUN LI
論文名稱: 在社群網路中的聯盟聊天服務框架之設計與實作
The Design and Implementation of a Federated Chat Service Framework in Social Network Applications
指導教授: 查士朝
Shi-Cho Cha
洪政煌
Cheng-Huang Hung
口試委員: 羅乃維
Nai-Wei Lo
洪政煌
Cheng-Huang Hung
查士朝
Shi-Cho Cha
學位類別: 碩士
Master
系所名稱: 管理學院 - 資訊管理系
Department of Information Management
論文出版年: 2020
畢業學年度: 108
語文別: 中文
論文頁數: 51
中文關鍵詞: 聊天機器人聊天服務即時通訊
外文關鍵詞: Chatbots, Chatbot Services, Instant Message
相關次數: 點閱:229下載:4
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 因社群網路應用的普及,近年來有許多組織會於其上部署聊天機器人服務,以降低和客戶的溝通成本。然而,對使用者來說,就可能會需要使用多個組織的聊天機器人,而會承擔重複地對不同組織的聊天機器人作類似事情的成本。為了降低使用者重複作業的成本,本研究提出聯盟聊天服務框架。該框架允許企業或開發者可以透過該框架的規則與介面提供聊天服務,而該框架會整合使用者在使用不同聊天服務的行為紀錄,並在使用者同意的前提下讓聊天服務得知這樣的紀錄,而減少使用者需要重新讓一個組織的聊天服務掌握到其需求或偏好的時間與成本。
    為了驗證提出框架的可行性,本研究也依照所提出的框架實作了雛型系統:使用者可以查詢並選擇特定服務進行對話,也能紀錄當前對話,並且將其對話內容授權給其他服務商;服務商可以藉由使用者的授權存取使用者允許的對話紀錄,進而為使用者提供客製化服務。此外,服務商也能夠透過統一訊息介面回傳訊息給使用者。而本研究的貢獻,即在於提供這樣的框架,以降低使用者與不同聊天機器人溝通時的轉換成本。


    Recent advances in artificial intelligence technology have contributed to the rebirth of the chatbot. Also, as the popularity of social network applications, more and more organizations are willing to deploy chatbots on social network applications to provide a means for users to communicate with the organizations directly and efficiently. However, when a person uses chatbots of different organizations, the person may suffer from the cost to provide the same data over and over to the chatbots.
    Therefore, this study proposes the Federated Chat Service Framework. Instead of deploying chatbots on social network applications, the framework defines chat services. Organizations can implement their chat services and deploy the services on the framework. The framework plays the role of a mediator to maintain the communication channel between users and chat services and provide a user-friendly means for users to switch among different chat services.
    To validate the proposed framework, the thesis implement a prototype system. In the prototype system, a user can discover a chat service and communicate with the service easily with a set of defined commands. Also, the prototype system record chat logs of the user and share the logs with other chat services under user consent, Therefore, even a user uses a new chat service, the service can obtain the historical logs to understand the intents of the user efficiently. Moreover, the prototype system provides a standard messaging interface for a chat service provider to push notification messages to users for asynchronous communication. Therefore, the proposed framework can contribute to reducing the costs of using different chatbots.

    摘要 I Abstract II 致謝 III 目錄 IV 圖目錄 VI 表目錄 VII 第一章 緒論 1 1.1. 前言 1 1.2. 研究動機與目的 2 1.3. 論文架構 3 第二章 文獻探討 5 2.1. 聊天機器人 5 2.2. 即時通訊服務 7 2.3. Webhook 11 2.4. 開發建置平台 12 2.4.1. Google Dialogflow 12 2.4.2. Microsoft Bot Framework 13 2.4.3. Facebook Message Platform 14 第三章 問題與需求 15 3.1. 問題定義 15 3.2. 需求分析 16 3.3. 情境架構 17 第四章 聯盟聊天服務框架 19 4.1. 系統概述 19 4.2. 系統主要流程 23 4.3. 資料模型設計 25 第五章 系統架構實作 28 5.1. 開發環境 28 5.2. 系統技術架構 29 5.3. 系統流程實作 30 5.3.1. 系統初始化 30 5.3.2. 即時通訊服務介面轉換 32 5.3.3. 註冊與設定服務 33 5.3.4. 規則式問答 34 5.4. 聊天服務溝通物件設計 36 5.4.1. 訊息介面 36 5.4.2. 個人資料介面 39 第六章 成果展示與評估 41 6.1. 選擇服務流程 41 6.2. 記錄對話 42 6.3. 建立對話及分享紀錄 44 第七章 結論與未來展望 47 7.1. 結論 47 7.2. 未來展望 47 參考文獻 48

    [1] The Gartner Corporation, “Gartner Predicts the Future of AI Technologies,” [Online]. Available: https://www.gartner.com/smarterwithgartner/gartner-predicts
    -the-future-of-ai-technologies/. [Accessed Jun. 14, 2020]
    [2] The Gartner Corporation, “This Gartner Hype Cycle highlights how AI is reaching organizations in many different ways,“ [Online]. Available: https:/‌‍‎‏‏‎‎‎‎/‌‍‍‍‎‌‌‌‌‌‌‌www.gartner.
    com‏‌‌‌‌‌‌‌‌‌‌‌‌‌‌/‌‌‌‌‌‌‌‌‌smarterwithgartne‌‌‌‌‌r‌/‌‌‌‌top-trends-on-the-gartner-hype-cycle-for-artificial-intelligence-2019. [Accessed Jun. 15, 2020].‫‮‬‬‬‬‬‬‬‬‬‬
    [3] J. Grudin, R. Jacques, “Chatbots, humbots, and the quest for artificial general intelligence,” In Proc. 2019 CHI Conference on Human Factors in Computing Systems, 2019, pp. 1-11.
    [4] The Juniper Corporation, “Chatbots to Deliver $11bn in Annual Cost Savings for Retail, Banking & Healthcare Sectors by 2023,” [Online]. Available: https://www.
    juniperresearch.com‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌/‌‍‍‍press/press-releaseschatbots-to-deliver-11bn-cost-savings-2023. [Accessed Jun. 17, 2020].
    [5] The Market Research Future Corporation, “Chatbots Market, By Type (Software and Services), Deployment (Cloud and On Premise), Usage (Websites, Social Media and Mobile Platform), Industry Verticals (BFSI, Retail, e-commerce, Government, Travel and Hospitality) - Forecast 2023,” [Online]. Available: https://www.marketresearchfuture.com/reports/chatbots-market-2981. [Accessed Jun. 20, 2020].
    [6] A. Følstad, P. B. Brandtzæg, “Chatbots and the new world of HCI,” Interactions, vol. 24, no. 4, pp. 38-42, 2017.
    [7] M. Carisi, A. Albarelli and F. L. Luccio, “Design and implementation of an airport chatbot,” In Proc. 5th EAI International Conference on Smart Objects and Technologies for Social Good, 2019, pp. 49-54.
    [8] D. Arteaga, J. Arenas, F. Paz, M. Tupia and M. Bruzza, “Design of information system architecture for the recommendation of tourist sites in the city of Manta, Ecuador through a Chatbot,” 2019 14th Iberian Conference on Information Systems and Technologies (CISTI), 2019, pp. 1-6.
    [9] G. Molnár and Z. Szüts, “The Role of Chatbots in Formal Education,” 2018 IEEE 16th International Symposium on Intelligent Systems and Informatics (SISY), Subotica, 2018, pp. 197-202.
    [10] The Facebook Corporation, “Messenger at F8 2019: Over 20B messages exchanged between People and Businesses every month," [Online]. Available: https://messengernews.fb.com/2019/04/30/messenger-at-f8-2019-over-20b-messages-exchanged-between-people-and-businesses-every-month/. [Accessed Jun. 20, 2020].
    [11] P. Hałabuda, “What Drives The Growing Popularity Of Chatbots,” [Online]. Available: https://apptension.com/blog/2017/07/18/popularity-of-chatbots/. [Accessed Jun. 20, 2020].
    [12] R. McMillan, “Facebook Hopes Chatbots Can Solve App Overload,” wsj.com, para. 1, April. 17, 2016. [Online]. Available: https://www.wsj.com/articles/
    facebook-hopes-chatbots-can-solve-app-overload-1460930220. [Accessed Jun. 20, 2020].
    [13] W. Zadrozny, M. Budzikowska, J. Chai, N. Kambhatla, S. Levesque, N. Nicolov, "Natural language dialogue for personalized interaction," Communications of the ACM, vol. 43, no. 8, pp. 116-120, 2000
    [14] Wikipedia contributors, “Chatbot,” Jun. 22, 2020. [Online]. Available: https ://en.
    wikipedia.org/wiki/Chatbot. [Accessed Jun. 23, 2020].
    [15] Wikipedia contributors, “PARRY” Feb. 12, 2020. [Online]. Available: https://en.
    wikipedia.org/wiki/PARRY. [Accessed Jun. 23, 2020].
    [16] Wikipedia contributors, “Loebner Prize,” Mar. 30, 2020. [Online]. Available: https://en.wikipedia.org/wiki/Loebner_Prize. [Accessed Jun. 23, 2020].
    [17] M. das Gracas, Bruno Marietto, R. V. de Aguiar, G. de Oliveira Barbosa, W. T. Botelho, E. Pimentel, et al., "Artificial intelligence markup language: A brief tutorial", CoRR, vol. abs/1307.3091, 2013.
    [18] Wikipedia contributors, “Jabberwacky,” Nov. 15, 2019. [Online]. Available: https://en.wikipedia.org/wiki/Jabberwacky. [Accessed Jun. 23, 2020].
    [19] Wikipedia contributors, “Instant messaging,” Jun. 14, 2020. [Online]. Available: https://en.wikipedia.org/wiki/Instant_messaging. [Accessed Jun. 24, 2020].
    [20] R. B. J. III, E. M. Nahum, D. B. Olshefski, D. Saha, Z.-Y. Shae, and C. Waters. “A study of Internet instant messaging and chat protocols,” IEEE Network, vol. 20, no. 4, pp. 16-21, 2006.
    [21] The Business Insider Corporation, “THE MESSAGING APPS REPORT: Messaging apps are now bigger than social networks,” [Online]. Available: https://www.businessinsider.com/the-messaging-app-report-2015-11?IR=T. [Accessed Jun. 22, 2020].
    [22] The Facebook Corporation, “Messenger Developers API,” [Online]. Available: https://developers.facebook.com/products/messenger/. [Accessed Jun. 24, 2020].
    [23] V. Shah, S. Shah, “A Comparison of Various Chatbot Frameworks,” [Online]. Available: http://www.cikitusi.com/gallery/45-april-724.pdf. [Accessed Jun. 25, 2020].
    [24] M. Dagli, “Designing for Trust”. Ph.D. dissertation, Carnegie Mellon Univ., Pennsylvania, Feb. 27, 2019.
    [25] A. P. Chaves and M. A. Gerosa, “Single or Multiple Conversational Agents?: An Interactional Coherence Comparison,” 2018 CHI Conference on Human Factors in Computing Systems, 2018, pp. 1-13.
    [26] The LINE Corporation, “Message types,” [Online]. Available: https://developers
    .line.biz/en/docs/messaging-api/message-types/. [Accessed Jun. 25, 2020].
    [27] The Facebook Corporation, “Message - Facebook,” [Online]. Available: https://
    developers.facebook.com/docs/messenger-platform/reference/send-api?locale=zh
    _TW#message. [Accessed Jun. 25, 2020].
    [28] The LINE Corporation, “Getting user profiles,” [Online]. Available: https://
    developers.line.biz/en/docs/social-api/getting-user-profiles/#before-you-begin. [Accessed Jun. 26, 2020].
    [29] The Facebook Corporation, “User Profile API - Facebook,” [Online]. Available: https://developers.facebook.com/docs/messenger-platform/identity/user-profile. [Accessed Jun. 26, 2020].

    QR CODE