【正文】
畢業(yè)設(shè)計(jì) ( 論文 ) 局域網(wǎng)飛鴿傳書軟件的設(shè)計(jì)與實(shí)現(xiàn) 論文作者姓名: 申請學(xué)位專業(yè): 申請學(xué)位類別: 指導(dǎo)教師姓名(職稱): 論文提交日期: 局域網(wǎng)飛鴿傳書軟件的設(shè)計(jì)與實(shí)現(xiàn) 摘 要 網(wǎng)絡(luò)通訊在當(dāng)今已經(jīng)不算新鮮事物,但大多數(shù)網(wǎng)絡(luò)通訊都需要借助 Inter上的服務(wù)器 ,這就給那些具有大規(guī)模內(nèi)部網(wǎng)絡(luò)的用戶造成了 許多問題,如浪費(fèi)網(wǎng)絡(luò)資源、遭遇到網(wǎng)絡(luò)攻擊、傳播的病毒、破壞防御系統(tǒng)等等。由于互連網(wǎng)上的網(wǎng)絡(luò)通訊工具給企業(yè)內(nèi)部信息交流帶來了不便,所以為了方便 內(nèi)部網(wǎng)絡(luò)的用戶之間的 溝通 ,需要開發(fā)一個(gè)基于局域網(wǎng)的信息收發(fā)系統(tǒng)的即時(shí)通訊工具,實(shí)現(xiàn)在 內(nèi)部網(wǎng)絡(luò) 中進(jìn)行信息的交流。本課題設(shè)計(jì)主要針對局域網(wǎng)通訊而開發(fā)設(shè)計(jì)的,采用的是 C/S 構(gòu)架,類似飛鴿傳書系統(tǒng),來實(shí)現(xiàn)聊天、文件傳輸功能 ,并借助一些網(wǎng)絡(luò)通訊組件,成功的實(shí)現(xiàn)了在局域網(wǎng)上的即時(shí)通訊。 本論文的目標(biāo)是設(shè)計(jì)一個(gè)類似飛鴿傳輸?shù)木钟蚓W(wǎng)通信軟件, 并分析它在其領(lǐng)域的優(yōu)勢。本設(shè)計(jì)以 C 編寫,能在 windows 2021//xp 等環(huán)境下運(yùn)行。 設(shè)計(jì) 共分為五大模塊,分別是: 首先, 介紹選題背景及意義和 國內(nèi)外研究現(xiàn)狀 ; 其次,介紹 TCP/IP 點(diǎn)對點(diǎn)協(xié)議技術(shù), C/S 架構(gòu)和 SOCKET 網(wǎng)絡(luò)編程技術(shù); 再次, 對當(dāng)前局域網(wǎng)文件傳輸進(jìn)行需求分析并提出解決方案; 然后, 根據(jù)解決方案對 系統(tǒng)進(jìn)行設(shè)計(jì);最后,對工作計(jì)劃統(tǒng)計(jì)以及分析系統(tǒng)進(jìn)行測試并得到測試結(jié)果。 關(guān)鍵詞 : 聊天;傳輸; socket;飛鴿傳書; C/S 結(jié)構(gòu) Design and Implementation IP Messenger Based on LAN Abstract The work munication already do not calculate the new things now, but the majority work munication all need to be support by the server on the Inter, this make these user have the largescale internal work who many problems, such as waste work resources, be attacked by work, dissemination virus, destruction defense system and so on. Because the interconnection work munication facilities on the interior munication brought inconveniently for the enterprise, in order to facilitate internal munication between work user39。s, needs to develop one based on the local of instant message area work information receiving and dispatching system instant message facilities, realizes carries on the information which work the exchange. This topic design mainly aims at the local area work munication to develop the design, uses is the C/S skeleton,like IP Messenger, for chat and files transmission. LAN against the text chat, documents and folders transmission, the design of a fake IP Messenger of LAN software, and analyze it in their areas of advantage. The design is developed by C program it can make in the vironment of windows 2021//xp of topic selection, in the environment The design altogether divides into five big modules, respectively is: First, introduction selected topic background and significance and domestic and foreign research present situation。 Second, introduces the TCP/IP point to point protocol technology。 C/S construction technique and sockt work programming technology。 Third, carries on the demand of the current local area work file transfer to analyze and propose the solution。 Fourth, carries on the design according to the solution to the system。 Fifth, statistic the work plan, awalys and test the system and obtains the testnesult. Key words: Chat; transmission; socket; C/S skeleton; IP Messenger 目 錄 論文總頁數(shù): 20 頁 1 引言 .......................................................................................................................... 1 課題背景 ................................................................................................................. 1 本課題主要研究背景 ............................................................................................... 1 本課題主要研究思路和方法 ..................................................................................... 1 研究項(xiàng)目的目的以及意義 ........................................................................................ 2 WINSOCKET 的尋址方式 ........................................................................................ 2 2 系統(tǒng)需求分析 ............................................................................................................ 2 系統(tǒng)設(shè)計(jì)目標(biāo) .......................................................................................................... 2 系統(tǒng)總體需求分析 ................................................................................................... 3 組織結(jié)構(gòu)的分析 ...................................................................................................... 3 .................................................................................................. 3 .................................................................................................. 4 3 理論知識 ................................................................................................................... 4 C/S 軟件架構(gòu)技術(shù) .................................................................................................... 4 用戶數(shù)據(jù)報(bào)協(xié)議 (UDP) ............................................................................................ 4 單播、廣播、組播淺 析 ............................................................................................ 5 4 系統(tǒng)設(shè)計(jì) ................................................................................................................... 5 文字聊天模塊的整體構(gòu)架 ........................................................................................ 5 文件傳輸模塊的主要流程圖 .................................................................................... 6 系統(tǒng)的主要功能模塊 ............................................................................................... 6 .................................................................................... 6 ....................................................................................... 9 聊天信息的加鎖 ............................................................................................ 10 ............................................................................................ 12 .............................................................................. 15 5 系統(tǒng)測試 ................................................................................................................. 17 測試環(huán)境 ............................................................................................................... 17 測試結(jié)果 ............................................................................................................... 17 結(jié) 論 .............................................................................................................