【正文】
易于擴展、傳輸效率高等特點,達到了預(yù)定的設(shè)計目標。在對即時通信系統(tǒng)的服務(wù)器端和客戶端的主要組成模塊詳細剖析后,論文研究了各個模塊的詳細設(shè)計和實現(xiàn)方式,分別研究了每個模塊的主要功能,并給出了模塊運行效果圖。本文在現(xiàn)有的網(wǎng)絡(luò)通信技術(shù)、數(shù)據(jù)庫技術(shù)和信息安全技術(shù)的基礎(chǔ)上設(shè)計并實現(xiàn)了新型的企業(yè)即時通信系統(tǒng)(EIM,Enterprise Instant Messaging)。I摘 要隨著網(wǎng)絡(luò)通信技術(shù)和計算機技術(shù)的進一步發(fā)展,即時通信(Instant Messaging)正在成為網(wǎng)絡(luò)在線活動中不可缺少的業(yè)務(wù),對它的研究是互聯(lián)網(wǎng)應(yīng)用中一個熱點課題。即時通信軟件的誕生,推動了企業(yè)工作效率的提高,降低了辦公費用,給企業(yè)的管理帶來了新的思路和方法,并引起了人們對該應(yīng)用領(lǐng)域的關(guān)注。該系統(tǒng)為用戶提供了一個集文字通信、文件傳輸于一體的即時通信平臺,基本滿足了企業(yè)用戶的要求。系統(tǒng)實現(xiàn)后,對系統(tǒng)進行了功能測試,并分析測試數(shù)據(jù)。關(guān)鍵詞:即時通信,Socket,通信模型, 文件傳輸理工大學(xué)學(xué)士學(xué)位論文IIAbstractWith the work munication technology and the further development of puter technology, instant messaging (Instant Messaging) is being an indispensable work of online business activities。s management has brought new ideas and methods, and aroused the concern of the applications. The subject in the existing work munication technology, database technology and information security technology based on the design and implementation of a new type of enterprise instant messaging system (EIM, Enterprise Instant Messaging). The system provides users with a set of text munication file transfer, instant messaging platforms in one, basically meet the requirements of business , the paper of the instant messaging system server and client modules of the main ponents of a detailed analysis, discusses the detailed design of each module and implementation, respectively, described the main function of each module, and gives the module flow chart. Finally, the paper of the instant messaging system designed for serverside performance test, and test data were analyzed. Experimental data show that the system has easy to implement, reliable, scalable, and high transmission efficiency, achieved its design goals. Keywords: Instant Messaging, Socket, Communication Model, File Transfer理工大學(xué)學(xué)士學(xué)位論文III目 錄1 緒論 .............................................................................................................................1 課題背景 ...............................................................................................................1 研究現(xiàn)狀 ...............................................................................................................1 研究意義 ...............................................................................................................2 研究內(nèi)容 ...............................................................................................................3 論文結(jié)構(gòu) ...............................................................................................................3 本章小結(jié) ...............................................................................................................42 SOCKET 相關(guān)技術(shù)研究 ..............................................................................................5 主流即時通信模型 ...............................................................................................5 P2P 模型 ........................................................................................................5 C/S 模型 ........................................................................................................6 即時通信主流的通信協(xié)議 ...................................................................................7 UDP 協(xié)議 ......................................................................................................7 TCP 協(xié)議 .......................................................................................................8 SOCKET 技術(shù) ..........................................................................................................8 多線程技術(shù) ...........................................................................................................9 JDBC 技術(shù) ...........................................................................................................10 開發(fā)工具介紹 .....................................................................................................11 Eclipse 簡介 ................................................................................................11 MySQL 簡介 ...............................................................................................12 Visio 簡介 ....................................................................................................13 本章小結(jié) .............................................................................................................133 對 SOCKET 通信需求分析 ......................................................................................14 即時通信系統(tǒng)總體需求 .....................................................................................14 系統(tǒng)功能描述 .....................................................................................................14 系統(tǒng)協(xié)議的選定 .................................................................................................14 系統(tǒng)設(shè)計性能分析 ..............................................................................................15 本章小結(jié) .............................................................................................................154 實現(xiàn) SOCKET 通信的方案和關(guān)鍵模塊的設(shè)計 .......................................................16 系統(tǒng)總體結(jié)構(gòu)的描述 ......................................................................................16 系統(tǒng)功能模塊設(shè)計 ...................................................................................17 服務(wù)器端工作流程 ..........................................................................................19 客戶端工作流程 .......................................................................................21 總體實現(xiàn)方案和類的設(shè)計 .................................................................................22 關(guān)鍵模塊詳細設(shè)計與實現(xiàn) ..................................................................................23 利用 Socket 進行 TCP 連接 .....................................................................23 面向連接的 Socket 機制的模塊設(shè)計 .......................................................27 文件傳輸模塊 ...............................................................................................