§ 瀏覽學位論文書目資料
  
系統識別號 U0002-1901200903282800
DOI 10.6846/TKU.2009.00653
論文名稱(中文) 即時通訊的檔案傳輸平順議程交遞之設計與實作-以XMPP為例
論文名稱(英文) The Design and Implementation of File Transfer Smooth Session Migration in Instant Messaging through XMPP
第三語言論文名稱
校院名稱 淡江大學
系所名稱(中文) 資訊管理學系碩士班
系所名稱(英文) Department of Information Management
外國學位學校名稱
外國學位學院名稱
外國學位研究所名稱
學年度 97
學期 1
出版年 98
研究生(中文) 楊育昕
研究生(英文) Yu-Hsin Yang
學號 695631860
學位類別 碩士
語言別 繁體中文
第二語言別
口試日期 2009-01-07
論文頁數 95頁
口試委員 指導教授 - 周清江(cjou@mail.tku.edu.tw)
委員 - 梁德昭(tcliang@mail.im.tku.edu.tw)
委員 - 陸承志(imcjluh@saturn.yzu.edu.tw)
關鍵字(中) 即時通訊
XMPP
檔案傳輸
議程交遞
關鍵字(英) Instant Messaging
XMPP
File Transfer
Session Migration
第三語言關鍵字
學科別分類
中文摘要
隨著網際網路的興起,各式各樣的網路服務如雨後春筍般出現,其中即時通訊在許多人的日常生活中已扮演舉足輕重的角色。目前市場上存在著多樣化的即時通訊軟體,通訊協定各異,但對於議程交遞(Session Migration)的支援都不完善,使用者對於已進行一段時間、但由於各種原因而無法繼續的議程,必須忍痛放棄,重起另一議程,此問題在多人間之檔案傳輸時尤為明顯,不但造成使用者不便,而且浪費許多網路資源。本研究分析目前即時通訊中之檔案傳輸議程交遞相關問題,並以XMPP為基礎協定,設計與實作一套具備平順議程交遞的檔案傳輸系統SSMF(Smooth Session Migration in File Transfer)。我們提出的系統,讓使用者能夠一次傳遞多個檔案給不同的使用者,且在議程中斷之後,下次上線時能繼續原議程,不需要重新傳送已經傳送過的檔案片段,達到議程間的平順交遞,增進使用者的使用經驗。我們透過實驗驗證本篇所提SSMF服務之可用性與效能,且不論在一對一或一對多的檔案傳輸時,均提供檔案傳輸議程平順交遞服務。
英文摘要
Along with the growing of the Internet, new network services emerge rapidly. Among them, instant messaging has played an important role in people’s daily lives. Existing instant messaging systems use diversifying protocols. These instant messaging protocols do not support session migration properly. When users could not finish an ongoing session, for whatever reasons, they have to abort the session. This problem is especially obvious during sessions of multi-user file transfer. It not only causes user’s inconvenience, but also wastes many network resources. We first analyze the session migration problem and requirement of file transfer in instant messaging. We then design and implement a file transfer system supporting smooth session migration (SSMF) based on XMPP. The proposed system also could be applied to transmit files to multi-users simultaneously. To continue an interrupted session, users do not need to transfer those already transmitted file segments. Thus the system achieves the smooth session migration and improves the user experience. Our experiments confirm that our SSMF service is useful and has good performance. It provides smooth session migration, both in one-to-one and one-to-many file transfers.
第三語言摘要
論文目次
目錄
第一章 緒論	1
1.1.	研究背景與動機	1
1.2.	研究方法與目的	4
1.3.	論文架構	5
第二章	相關研究	6
2.1.	網頁的議程交遞	6
2.1.1.	使用者代理伺服器 (UAP)	6
2.1.2.	瀏覽器議程保留與交遞系統(BSPM)	10
2.2.	語音議程交遞	12
2.3.	即時通訊議程交遞	15
2.4.	影音串流議程交遞	17
2.4.1.	SeMiSystem	17
2.4.2.	動態多媒體內容存取系統	21
2.5.	檔案傳輸系統	27
2.5.1.	通用檔案傳輸系統	27
2.5.2.	可續傳FTP傳輸系統	30
第三章	即時通訊系統介紹	34
3.1.	即時通訊系統之歷史	34
3.2.	即時通訊系統使用情節	36
3.3.	常見即時通訊軟體系統架構	37
3.4.	即時通訊協定比較	42
3.4.1.	XMPP	43
3.4.2.	SIMPLE	45
3.4.3.	SIMPLE與XMPP之比較	47
第四章	SSMF服務	50
4.1	SSMF服務之需求分析	50
4.2	SSMF服務功能說明	54
4.3	SSMF服務、一般即時通訊系統、續傳軟體檔案傳輸差異比較		56
4.4	SSMF服務與MSN共用資料夾比較	58
第五章	SSMF服務系統設計與實作	59
5.1	SSMF服務之基礎 - XMPP協定	59
5.2	系統設計	65
5.3	SSMF服務系統實作	68
5.4	SSMF服務檔案傳送流程	71
5.4.1	未發生議程中斷的檔案傳送流程	71
5.4.2	發生議程中斷時的檔案傳送流程	73
第六章	實驗	80
6.1	實驗設計與實驗參數	80
6.2	實驗結果及分析	82
第七章	結論與未來展望	89
參考文獻	91
附錄一 名詞縮寫對照表	95


圖目錄
圖 1 平順式交遞示意	3
圖 2 UAP系統拓樸	7
圖 3 UAP使用流程	8
圖 4 UAP的議程交遞	9
圖 5 BSPM架構	11
圖 6 語音平滑式議程交遞流程	14
圖 7 SSM系統架構	15
圖 8 影音串流議程示意圖	19
圖 9 SeMiSystem架構示意圖	20
圖 10 多媒體內容交遞系統架構	23
圖 11 傳送者發起議程交遞流程	24
圖 12接收者發起議程交遞流程	25
圖 13 DOT概觀	28
圖 14 DOT傳輸流程	28
圖 15 rFTP設計概念圖	31
圖 16 RFC 2778定義之即時通訊服務模型	35
圖 17 MSN系統架構	39
圖 18 YMSG系統架構	40
圖 19 AIM系統架構	42
圖 20 Jabber之架構示意圖	44
圖 21 SIMPLE架構示意圖	46
圖 22檔案傳輸差異示意圖	57
圖 23 SSMF服務系統架構	66
圖 24 SSMF服務之傳輸流程	72
圖 25傳送者挑選欲傳送檔案	75
圖 26傳送者挑選檔案接收者	76
圖 27 詢問使用者是否使用SSMF服務	76
圖 28檔案接收者選擇檔案存放位置	77
圖 29檔案傳輸結束	77
圖 30 議程中斷後,傳送端重新連線詢問是否繼續議程	78
圖 31 使用者欲繼續傳輸,選擇檔案之位置	78
圖 32 發生議程中斷時,詢問接收者是否繼續傳輸	79
圖 33 接收者欲繼續時,選擇存放檔案資料夾	79
圖 34不同網路速率之測試	85
圖 35不同檔案大小之測試	85
圖 36不同切割片段數之測試	86
圖 37傳輸效能比較(2M/256K)	86
圖 38傳輸效能比較(2M/512K)	87
圖 39傳輸效能比較(8M/2M)	87


表目錄
表 1SIMPLE與XMPP 之比較	49
表 2 SSMF服務與即時通訊檔案傳輸、續傳軟體功能比較	57
表 3 SSMF服務與MSN共用資料夾比較	58
參考文獻
[1]	王欣螢,2007,網路即時通訊對話視窗之滿意度研究,銘傳大學設計管理研究所碩士論文
[2]	艾瑞諮詢集團,2006,中國即時通訊研究報告(簡版),http://www.iresearch.com.cn/html/consulting/instant_messenger/Free_Classid_16_id_985.html
[3]	陳嘉玲,2004,應用層之移動管理-平滑式交遞機制之研究,靜宜大學資訊管理學系碩士論文
[4]	財團法人台灣網路資訊中心 – TWNIC,2008,台灣寬頻網路使用調查,http://www.twnic.net.tw/download/200307/9707all.pdf
[5]	創市際市場研究顧問,2006,即時通訊軟體使用情形調查,http://www.insightxplorer.com/specialtopic/self_onlinemusic20060403.html
[6]	曾志傑,2006,即時通訊平順議程交遞服務之設計與實作-以XMPP為例,淡江大學資訊管理學系碩士論文
[7]	Campbell, B., Mahy, R., & Jennings, C. (2006). The Message Session Relay Protocol. IETF RFC 4975, http://www.rfc-editor.org/rfc/rfc4975.txt
[8]	Chatterjee, S., Abhichandani, T., Li, H., Tulu, B., & Byun, J. (2005). Instant messaging and presence technologies for college campuses. IEEE Network, 19(3), 4-13.
[9]	Chou, C. T., & Shin, K. G. (2007). Smooth handoff with enhanced packet buffering-and-forwarding in wireless/mobile networks. Wireless Networks, 13(3), 285-297.
[10]	Day, M., Rosenberg, J., & Sugano, H. (2000). A model for presence and instant messaging. IETF RFC 2778, http://www.ietf.org/rfc/rfc2778.txt
[11]	Day, M., Aggarwal, s., Mohr, G., & Vincent, J. (2000). Instant Messaging/Presence Protocol Requirements. IETF RFC 2779, http://www.isi.edu/in-notes/rfc2779.txt
[12]	Garcia-Martin, M., & Camarillo, G. (2008). Multiple-Recipient MESSAGE Requests in the Session Initiation Protocol (SIP). IETF RFC 5365, http://www.ietf.org/rfc/rfc5365.txt
[13]	Grzywa, M., Yurcik, W., & Brumbaugh, L. (2001). Application-level survivability: Resumable FTP. Poster Proceedings of IEEE Military Communications Conference, MILCOM 1, 107-112.
[14]	Handley, M., & Jacobson, V. (1998). SDP: Session description protocol. IETF RFC 2327, http://www.ietf.org/rfc/rfc2327.txt
[15]	Hsieh, M. D., Wang, T. P., Tsai, C. S., & Tseng, C. C. (2006). Stateful session handoff for mobile WWW. Information Sciences, 176(9), 1241-1265.
[16]	Imielinski, T., & Badrinath, B. R. (1994). Wireless computing challenges in data management. Communications of the ACM, 37(10), 18-28.
[17]	Jennings III, R. B., Nahum, E. M., Olshefski, D. P., Saha, D., Shae, Z. Y., & Waters, C. (2006). A study of internet instant messaging and chat protocols. IEEE Network, 20(4), 16-21.
[18]	Kalt, C. (2000). Internet Relay Chat: Architecture. IETF RFC 2810, http://www.mirc.com/help/rfc2810.txt
[19]	Miller, F., Lebas, Francois-Xavier., Jones, Allen. (2007). Instant Messaging Protocol Functional Collection, Network-Centric Operations Industry Consortium.
[20]	Negies, http://hp.vector.co.jp/authors/VA036210
[21]	Ohto, H., & Hjelm, J. (1999). CC/PP exchange protocol based on HTTP extension framework. W3C Note, http://www.w3.org/TR/NOTE-CCPPexchange
[22]	Openfire (Server), http://www.igniterealtime.org/projects/openfire/index.jsp
[23]	Radicati Group, Inc., http://www.radicati.com/?page_id=46
[24]	Reynolds, F., Woodrow, C., & Ohto, H. (2003). Composite capability/preference profiles (CC/PP): Structure and vocabularies. W3C Working Draft, http://www.w3.org/TR/CCPP-struct-vocab/
[25]	Rong, L. (2007). Dynamic multimedia content access in a ubiquitous and distributed computing environment. PhD thesis, School of Electrical, Computer and Telecommunications Engineering, University of Wollongong, Australia.
[26]	Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., & Schooler, E. (2006). SIP: Session initiation protocol. IETF RFC 3261, http://www.ietf.org/rfc/rfc3261.txt
[27]	Rosenberg, J. (2007). SIMPLE made Simple: An Overview of the IETF Specifications for Instant Messaging and Presence using the Session Initiation Protocol (SIP). IETF Draft, http://www.ietf.org/internet-drafts/draft-ietf-simple-simple-04.txt
[28]	Saint-Andre, P. (2004). Extensible messaging and presence protocol (XMPP): core. IETF RFC 3920, http://www.ietf.org/rfc/rfc3920.txt
[29]	Schöffmann, K. (2005). Design and Implementation of a Video Session Migration System. Master thesis, University of Klagenfurt, Department of Information Technology.
[30]	Schulzrinne, H., Rao, A., & Lanphier, R. (1998). Real time streaming protocol (RTSP). IETF RFC 2326, http://www.ietf.org/rfc/rfc2326.txt
[31]	Song, H., Chu, H., Kurakake, S. (2002). Browser Session Preservation and Migration. Poster Proceedings of 11th International World Wide Web Conference (WWW2002).
[32]	Spark (Client), http://www.igniterealtime.org/projects/spark/index.jsp
[33]	Tolia, N., Kaminsky, M., Andersen, D. G., & Patil, S. (2006). An architecture for internet data transfer. Proc. of Networked Systems Design and Implementation '06, 253-266.
論文全文使用權限
校內
紙本論文於授權書繳交後5年公開
同意電子論文全文授權校園內公開
校內電子論文於授權書繳交後5年公開
校外
同意授權
校外電子論文於授權書繳交後5年公開

如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信