畢業(yè)論文 局域網(wǎng)即時通信軟件.doc
約46頁DOC格式手機打開展開
畢業(yè)論文 局域網(wǎng)即時通信軟件,摘要語言交流本身是方便快捷的,所以人們已經習慣于用電話進行溝通。但是,電話通信需要建立雙方共同應約的條件之下,而即時通信,則解決了這個問題。即時通信在互聯(lián)網(wǎng)領域的應用取得了巨大的成功,但是在企業(yè)內部的應用仍遠未普及。局域網(wǎng)即時通信軟件,就是基于企業(yè)內部局域網(wǎng)使用的即時通信。本軟件采用了較普遍的mfc對話框類,使用vis...


內容介紹
此文檔由會員 ljjwl8321 發(fā)布
摘 要
語言交流本身是方便快捷的,所以人們已經習慣于用電話進行溝通。但是,電話通信需要建立雙方共同應約的條件之下,而即時通信,則解決了這個問題。即時通信在互聯(lián)網(wǎng)領域的應用取得了巨大的成功,但是在企業(yè)內部的應用仍遠未普及。局域網(wǎng)即時通信軟件,就是基于企業(yè)內部局域網(wǎng)使用的即時通信。
本軟件采用了較普遍的MFC對話框類,使用Visual C++ 6.0進行開發(fā)。以UDP作為網(wǎng)絡通信協(xié)議,使用WinSock網(wǎng)絡編程接口。本軟件基本實現(xiàn)了用戶名及頭像的自定義修改、用戶的上下線實時顯示、即時通信聊天、聊天記錄的存取等功能,本文主要介紹的是局域網(wǎng)即時通信軟件的設計與實現(xiàn)。
關鍵詞: C++、MFC、UDP、WinSock、局域網(wǎng)、通信
Abstract
Verbal communication itself is convenient, so people have become accustomed to communicate by telephone. However, the telephone communication needs of both sides should be about establishing the conditions under which instant communication, is to solve this problem. The field of instant messaging applications on the Internet has achieved great success, but the application within the enterprise still far from universal. LAN instant messaging software, is based on the internal LAN to use instant messaging.
The software uses the more common MFC dialog class, using Visual C + + 6.0 for development. The UDP as the network communication protocol, using the WinSock network programming interface. The software is basically a user name and picture of the custom modifications, the user's real-time display on the assembly line, instant messaging chat, chat records access and other functions, this article focuses on the LAN instant messaging software design and implementation.
Keywords: C + +, MFC, UDP, WinSock, LAN, communications.
目錄
第1章 課題背景與開發(fā)意義 6
1.1 課題背景 6
1.2 開發(fā)現(xiàn)狀分析 6
1.3 現(xiàn)行系統(tǒng)問題分析 6
1.4 解決方案 7
1.5課題開發(fā)意義 7
第2章 理論基礎 8
2.1 MFC開發(fā)類庫 8
2.2 類封裝技術 8
2.3 多線程技術 8
2.4 WinSock技術 9
2.5 CImageList圖像列表技術 9
2.6 CStdioFile文件存儲技術 10
第3章 系統(tǒng)需求分析 11
3.1業(yè)務系統(tǒng)描述 11
3.2 系統(tǒng)存在的主要問題的分析 11
3.3解決方案 11
3.4 功能分析 11
第4章 系統(tǒng)總體設計 13
4.1 系統(tǒng)功能結構 13
4.2 系統(tǒng)框架圖與流程圖 13
4.3 數(shù)據(jù)結構設計 15
第5章 詳細設計與功能實現(xiàn) 18
5.1 通信功能模塊介紹 18
5.1.1 系統(tǒng)監(jiān)聽模塊 18
5.1.2 聊天通信模塊 18
5.2 通信功能模塊詳解 18
5.2.1 上下線監(jiān)聽 18
5.2.2 聊天請求監(jiān)聽 21
5.2.3 聊天通信 24
5.3 聊天功能模塊介紹 27
5.3.1 聊天記錄模塊 27
5.4 聊天功能模塊詳解 27
5.4.1 聊天記錄存儲 27
5.4.2 聊天記錄讀取 28
5.4.3 清空聊天記錄 29
5.4.4 用戶登錄模塊 29
5.4.5 資料修改模塊 30
5.4.6 用戶注銷模塊 30
5.5 用戶功能模塊詳解 31
5.5.1 用戶登錄 31
5.5.2 資料讀取 36
5.5.3 資料修改 37
5.5.4 用戶注銷 38
5.6 頭像功能模塊介紹 39
5.6.1 頭像更改模塊 39
5.6.2 頭像讀取顯示模塊 40
5.7 頭像功能模塊詳解 41
5.7.1 頭像更改 41
5.7.2 頭像讀取顯示 43
第6章 系統(tǒng)總結 45
參考文獻 46
語言交流本身是方便快捷的,所以人們已經習慣于用電話進行溝通。但是,電話通信需要建立雙方共同應約的條件之下,而即時通信,則解決了這個問題。即時通信在互聯(lián)網(wǎng)領域的應用取得了巨大的成功,但是在企業(yè)內部的應用仍遠未普及。局域網(wǎng)即時通信軟件,就是基于企業(yè)內部局域網(wǎng)使用的即時通信。
本軟件采用了較普遍的MFC對話框類,使用Visual C++ 6.0進行開發(fā)。以UDP作為網(wǎng)絡通信協(xié)議,使用WinSock網(wǎng)絡編程接口。本軟件基本實現(xiàn)了用戶名及頭像的自定義修改、用戶的上下線實時顯示、即時通信聊天、聊天記錄的存取等功能,本文主要介紹的是局域網(wǎng)即時通信軟件的設計與實現(xiàn)。
關鍵詞: C++、MFC、UDP、WinSock、局域網(wǎng)、通信
Abstract
Verbal communication itself is convenient, so people have become accustomed to communicate by telephone. However, the telephone communication needs of both sides should be about establishing the conditions under which instant communication, is to solve this problem. The field of instant messaging applications on the Internet has achieved great success, but the application within the enterprise still far from universal. LAN instant messaging software, is based on the internal LAN to use instant messaging.
The software uses the more common MFC dialog class, using Visual C + + 6.0 for development. The UDP as the network communication protocol, using the WinSock network programming interface. The software is basically a user name and picture of the custom modifications, the user's real-time display on the assembly line, instant messaging chat, chat records access and other functions, this article focuses on the LAN instant messaging software design and implementation.
Keywords: C + +, MFC, UDP, WinSock, LAN, communications.
目錄
第1章 課題背景與開發(fā)意義 6
1.1 課題背景 6
1.2 開發(fā)現(xiàn)狀分析 6
1.3 現(xiàn)行系統(tǒng)問題分析 6
1.4 解決方案 7
1.5課題開發(fā)意義 7
第2章 理論基礎 8
2.1 MFC開發(fā)類庫 8
2.2 類封裝技術 8
2.3 多線程技術 8
2.4 WinSock技術 9
2.5 CImageList圖像列表技術 9
2.6 CStdioFile文件存儲技術 10
第3章 系統(tǒng)需求分析 11
3.1業(yè)務系統(tǒng)描述 11
3.2 系統(tǒng)存在的主要問題的分析 11
3.3解決方案 11
3.4 功能分析 11
第4章 系統(tǒng)總體設計 13
4.1 系統(tǒng)功能結構 13
4.2 系統(tǒng)框架圖與流程圖 13
4.3 數(shù)據(jù)結構設計 15
第5章 詳細設計與功能實現(xiàn) 18
5.1 通信功能模塊介紹 18
5.1.1 系統(tǒng)監(jiān)聽模塊 18
5.1.2 聊天通信模塊 18
5.2 通信功能模塊詳解 18
5.2.1 上下線監(jiān)聽 18
5.2.2 聊天請求監(jiān)聽 21
5.2.3 聊天通信 24
5.3 聊天功能模塊介紹 27
5.3.1 聊天記錄模塊 27
5.4 聊天功能模塊詳解 27
5.4.1 聊天記錄存儲 27
5.4.2 聊天記錄讀取 28
5.4.3 清空聊天記錄 29
5.4.4 用戶登錄模塊 29
5.4.5 資料修改模塊 30
5.4.6 用戶注銷模塊 30
5.5 用戶功能模塊詳解 31
5.5.1 用戶登錄 31
5.5.2 資料讀取 36
5.5.3 資料修改 37
5.5.4 用戶注銷 38
5.6 頭像功能模塊介紹 39
5.6.1 頭像更改模塊 39
5.6.2 頭像讀取顯示模塊 40
5.7 頭像功能模塊詳解 41
5.7.1 頭像更改 41
5.7.2 頭像讀取顯示 43
第6章 系統(tǒng)總結 45
參考文獻 46