網(wǎng)絡(luò)即時(shí)通信系統(tǒng)的設(shè)計(jì).zip
網(wǎng)絡(luò)即時(shí)通信系統(tǒng)的設(shè)計(jì),本系統(tǒng)采用visual c++6.0,數(shù)據(jù)采用文件存儲(chǔ),c/s模式,客戶端與服務(wù)器端用udp,tcp兩個(gè)協(xié)議聯(lián)系,本系統(tǒng)采用socket技術(shù)傳輸數(shù)據(jù)。包含完整系統(tǒng)論文、源代碼、文獻(xiàn)及翻譯。系統(tǒng)論文部分共計(jì)36頁(yè),近1.7萬(wàn)余字。摘要隨著科學(xué)技術(shù)的迅速提高,計(jì)算機(jī)網(wǎng)絡(luò)得到了飛速的發(fā)展,而各種基于網(wǎng)絡(luò)...
該文檔為壓縮文件,包含的文件列表如下:


內(nèi)容介紹
原文檔由會(huì)員 bshhty 發(fā)布
網(wǎng)絡(luò)即時(shí)通信系統(tǒng)的設(shè)計(jì)
本系統(tǒng)采用Visual C++6.0,數(shù)據(jù)采用文件存儲(chǔ),C/S模式,客戶端與服務(wù)器端用UDP,TCP兩個(gè)協(xié)議聯(lián)系,本系統(tǒng)采用socket技術(shù)傳輸數(shù)據(jù)。包含完整系統(tǒng)論文、源代碼、文獻(xiàn)及翻譯。
系統(tǒng)論文部分共計(jì)36頁(yè),近1.7萬(wàn)余字。
摘 要
隨著科學(xué)技術(shù)的迅速提高,計(jì)算機(jī)網(wǎng)絡(luò)得到了飛速的發(fā)展,而各種基于網(wǎng)絡(luò)的應(yīng)用程序也隨之誕生,比如基于互聯(lián)網(wǎng)的信息發(fā)布,通信,數(shù)據(jù)共享等等。局域網(wǎng)技術(shù)作為人們?nèi)粘I钪斜夭豢缮俚牟糠滞瑯拥玫搅藦V泛的應(yīng)用,人們通過(guò)局域網(wǎng)連接 Internet進(jìn)行數(shù)據(jù)傳輸及交換。因此開(kāi)發(fā)一個(gè)局域網(wǎng)的即時(shí)通信工具是非常有必要的。
本文圍繞這個(gè)中心并進(jìn)行了更為合理的設(shè)計(jì)在Windows平臺(tái)上進(jìn)行了實(shí)現(xiàn)。將客戶端與服務(wù)端分開(kāi),用UDP與TCP/IP協(xié)議實(shí)現(xiàn)不同的傳輸任務(wù),還運(yùn)用了套接字技術(shù)。能夠滿足一般用戶最基本的要求,特點(diǎn)是簡(jiǎn)單方便、功能齊全、拓展性強(qiáng)。
本即時(shí)通信系統(tǒng)采用模塊化程序設(shè)計(jì)方法,基于C/S架構(gòu),運(yùn)用文件形式存儲(chǔ)。本系統(tǒng)充分利用了Visual C++開(kāi)發(fā)工具,具備用戶的登錄、申請(qǐng)、發(fā)送消息、發(fā)送文件、查看用戶在離線等功能,可以實(shí)現(xiàn)用戶信息管理,方便了用戶之間信息的溝通。
關(guān)鍵詞: 即時(shí)通信; C/S; UDP; TCP/IP; 套接字
Abstract
With the rapid increase of science and technology, computer network has made rapid development, and a variety of Web-based applications have come about, such as Internet-based information dissemination, communication, data sharing, etc.. LAN technology as an essential part of daily life, are also widely used local area network to connect people through the Internet for data transfer and exchange. Therefore the development of a LAN instant messaging tool is necessary. This text has realized on Windows platform more rational design around this centre. Separate customer end from end of service, realize different transmission tasks with UDP and TCP/IP agreement, have also used set to windows sockets technology. Can meet the general user's most basic requirement, it is simple and convenient, multiple functional that the characteristic is, the expanding is strong.
The instant messaging system uses the modular programming method, based on C/S architecture, the use of files stored. The system makes full use of Visual C++ development tool, have the user login, application, send messages, send files, view the users and other functions, can realize the user information management, and convenient for users to communicate information between .
Keywords: instant messaging; C / S; UDP; TCP / IP ;Windows Sockets
目 錄
引 言 1
第一章 開(kāi)發(fā)工具及系統(tǒng)架構(gòu)簡(jiǎn)介 3
1.1 C/S結(jié)構(gòu)簡(jiǎn)介 3
1.2 Socket技術(shù)簡(jiǎn)介 3
1.3 CSocket 4
1.4 套接字簡(jiǎn)介 4
1.4.1連接方式 4
1.4.2主要參數(shù) 5
1.5 TCP/IP簡(jiǎn)介 5
1.6 UDP簡(jiǎn)介 6
1.7 即時(shí)通信系統(tǒng)簡(jiǎn)介 7
1.7.1系統(tǒng)的網(wǎng)絡(luò)環(huán)境 7
1.7.2數(shù)據(jù)存儲(chǔ)系統(tǒng) 7
1.7.3網(wǎng)絡(luò)協(xié)議 7
第二章 系統(tǒng)分析與設(shè)計(jì) 8
2.1即時(shí)通信系統(tǒng)簡(jiǎn)介 8
2.2即時(shí)通信系統(tǒng)作用 8
2.3網(wǎng)絡(luò)即時(shí)通信系統(tǒng)需求分析 9
2.4環(huán)境拓?fù)?10
2.5開(kāi)發(fā)與測(cè)試 10
第三章 系統(tǒng)的實(shí)現(xiàn) 11
3.1程序設(shè)計(jì)目的 11
3.2程序有關(guān)連接及端口信息 12
3.3用戶使用說(shuō)明 13
3.4其他部分代碼 17
3.5其他算法的改進(jìn)方法 21
第四章 即時(shí)通信系統(tǒng)的測(cè)試報(bào)告 22
4.1測(cè)試結(jié)論 22
4.2測(cè)試環(huán)境 22
4.3功能測(cè)試 22
4.4測(cè)試結(jié)果 27
總 結(jié) 28
參考文獻(xiàn) 30
謝 辭 31
引 言
1.項(xiàng)目背景
隨著移動(dòng)互聯(lián)網(wǎng)的發(fā)展,互聯(lián)網(wǎng)即時(shí)通信也在向移動(dòng)化擴(kuò)張。目前,微軟、AOL、Yahoo、、UcSTAR等重要即時(shí)通信提供商都提供通過(guò)手機(jī)接入互聯(lián)網(wǎng)即時(shí)通信的業(yè)務(wù),用戶可以通過(guò)手機(jī)與其他已經(jīng)安裝了相應(yīng)客戶端軟件的手機(jī)或電腦收發(fā)消息。
產(chǎn)品最早的創(chuàng)始人是三個(gè)以色列青年,是他們?cè)?996年做出來(lái)的,取名叫ICQ。1998年當(dāng)ICQ注冊(cè)用戶數(shù)達(dá)到1200萬(wàn)時(shí),被AOL看中,以2.87億美元的天價(jià)買(mǎi)走。目前ICQ有1億多用戶,主要市場(chǎng)在美洲和歐洲,已成為世界上最大的即時(shí)通信系統(tǒng)。
現(xiàn)在國(guó)內(nèi)的即時(shí)通信工具按照使用對(duì)象分為兩類(lèi):一類(lèi)是個(gè)人IM,如:QQ。QQ的前身OICQ在1999年2月第一次推出,目前幾乎接近壟斷中國(guó)在線即時(shí)通訊軟件市場(chǎng);另一類(lèi)是企業(yè)用IM,簡(jiǎn)稱(chēng)EIM,如:E話通,UC,EC企業(yè)即時(shí)通信軟件,UcSTAR、商務(wù)通等。
…………………………………………………………
參考文獻(xiàn)
張海藩.軟件工程導(dǎo)論.北京.清華大學(xué)出版社.2003
張宏林.Visual C++ 6.0程序設(shè)計(jì)與開(kāi)發(fā)大全.北京.人民郵電出版社.
張耀仁. C++程序設(shè)計(jì)徹底研究.中國(guó)鐵道出版社
施昌權(quán)等.新手學(xué)Visual C++.北京希望電子出版社
祁云嵩.VC++程序設(shè)計(jì)解析與訓(xùn)練.華東理工大學(xué)出版社.2005年8月
辛長(zhǎng)安.VC++編程技術(shù)與難點(diǎn)剖析.清華大學(xué)出版社.2002年04月第1版
胡峪.VC++高級(jí)編程技巧與示例.西安電子科技大學(xué)出版社.2001年05月第1版
孫鑫.VC++ 深入詳解.電子工業(yè)出版社.2006年06月
劉靜華.最新VC++繪圖程序設(shè)計(jì)技巧與實(shí)例教程.科學(xué)出版社.2001年03月第1版
吳建,鄭潮,汪杰.UML基礎(chǔ)與ROSE建模案例.北京.人民郵電出版社.2005
Xuhui Shao, PVladimir Cherkassky, William Li .Measuring the VC-Dimension Using Optimized Experimental Design. Neural Computation 卷次: 12 刊期: 8. Aug. 2000
Volkan Isler, Sampath Kannan, Kostas Daniilidis, Pavel Valtr.VC-Dimension of Exterior Visibility.IEEE Transactions on Pattern Analysis and Machine Intelligence 卷次: 26 刊期: 5.May.2004
.Improved VC-Merging for Multiway Communications in ATM Networks.Proceedings of the International Conference on Computer Communications and Networks.Oct.1998
本系統(tǒng)采用Visual C++6.0,數(shù)據(jù)采用文件存儲(chǔ),C/S模式,客戶端與服務(wù)器端用UDP,TCP兩個(gè)協(xié)議聯(lián)系,本系統(tǒng)采用socket技術(shù)傳輸數(shù)據(jù)。包含完整系統(tǒng)論文、源代碼、文獻(xiàn)及翻譯。
系統(tǒng)論文部分共計(jì)36頁(yè),近1.7萬(wàn)余字。
摘 要
隨著科學(xué)技術(shù)的迅速提高,計(jì)算機(jī)網(wǎng)絡(luò)得到了飛速的發(fā)展,而各種基于網(wǎng)絡(luò)的應(yīng)用程序也隨之誕生,比如基于互聯(lián)網(wǎng)的信息發(fā)布,通信,數(shù)據(jù)共享等等。局域網(wǎng)技術(shù)作為人們?nèi)粘I钪斜夭豢缮俚牟糠滞瑯拥玫搅藦V泛的應(yīng)用,人們通過(guò)局域網(wǎng)連接 Internet進(jìn)行數(shù)據(jù)傳輸及交換。因此開(kāi)發(fā)一個(gè)局域網(wǎng)的即時(shí)通信工具是非常有必要的。
本文圍繞這個(gè)中心并進(jìn)行了更為合理的設(shè)計(jì)在Windows平臺(tái)上進(jìn)行了實(shí)現(xiàn)。將客戶端與服務(wù)端分開(kāi),用UDP與TCP/IP協(xié)議實(shí)現(xiàn)不同的傳輸任務(wù),還運(yùn)用了套接字技術(shù)。能夠滿足一般用戶最基本的要求,特點(diǎn)是簡(jiǎn)單方便、功能齊全、拓展性強(qiáng)。
本即時(shí)通信系統(tǒng)采用模塊化程序設(shè)計(jì)方法,基于C/S架構(gòu),運(yùn)用文件形式存儲(chǔ)。本系統(tǒng)充分利用了Visual C++開(kāi)發(fā)工具,具備用戶的登錄、申請(qǐng)、發(fā)送消息、發(fā)送文件、查看用戶在離線等功能,可以實(shí)現(xiàn)用戶信息管理,方便了用戶之間信息的溝通。
關(guān)鍵詞: 即時(shí)通信; C/S; UDP; TCP/IP; 套接字
Abstract
With the rapid increase of science and technology, computer network has made rapid development, and a variety of Web-based applications have come about, such as Internet-based information dissemination, communication, data sharing, etc.. LAN technology as an essential part of daily life, are also widely used local area network to connect people through the Internet for data transfer and exchange. Therefore the development of a LAN instant messaging tool is necessary. This text has realized on Windows platform more rational design around this centre. Separate customer end from end of service, realize different transmission tasks with UDP and TCP/IP agreement, have also used set to windows sockets technology. Can meet the general user's most basic requirement, it is simple and convenient, multiple functional that the characteristic is, the expanding is strong.
The instant messaging system uses the modular programming method, based on C/S architecture, the use of files stored. The system makes full use of Visual C++ development tool, have the user login, application, send messages, send files, view the users and other functions, can realize the user information management, and convenient for users to communicate information between .
Keywords: instant messaging; C / S; UDP; TCP / IP ;Windows Sockets
目 錄
引 言 1
第一章 開(kāi)發(fā)工具及系統(tǒng)架構(gòu)簡(jiǎn)介 3
1.1 C/S結(jié)構(gòu)簡(jiǎn)介 3
1.2 Socket技術(shù)簡(jiǎn)介 3
1.3 CSocket 4
1.4 套接字簡(jiǎn)介 4
1.4.1連接方式 4
1.4.2主要參數(shù) 5
1.5 TCP/IP簡(jiǎn)介 5
1.6 UDP簡(jiǎn)介 6
1.7 即時(shí)通信系統(tǒng)簡(jiǎn)介 7
1.7.1系統(tǒng)的網(wǎng)絡(luò)環(huán)境 7
1.7.2數(shù)據(jù)存儲(chǔ)系統(tǒng) 7
1.7.3網(wǎng)絡(luò)協(xié)議 7
第二章 系統(tǒng)分析與設(shè)計(jì) 8
2.1即時(shí)通信系統(tǒng)簡(jiǎn)介 8
2.2即時(shí)通信系統(tǒng)作用 8
2.3網(wǎng)絡(luò)即時(shí)通信系統(tǒng)需求分析 9
2.4環(huán)境拓?fù)?10
2.5開(kāi)發(fā)與測(cè)試 10
第三章 系統(tǒng)的實(shí)現(xiàn) 11
3.1程序設(shè)計(jì)目的 11
3.2程序有關(guān)連接及端口信息 12
3.3用戶使用說(shuō)明 13
3.4其他部分代碼 17
3.5其他算法的改進(jìn)方法 21
第四章 即時(shí)通信系統(tǒng)的測(cè)試報(bào)告 22
4.1測(cè)試結(jié)論 22
4.2測(cè)試環(huán)境 22
4.3功能測(cè)試 22
4.4測(cè)試結(jié)果 27
總 結(jié) 28
參考文獻(xiàn) 30
謝 辭 31
引 言
1.項(xiàng)目背景
隨著移動(dòng)互聯(lián)網(wǎng)的發(fā)展,互聯(lián)網(wǎng)即時(shí)通信也在向移動(dòng)化擴(kuò)張。目前,微軟、AOL、Yahoo、、UcSTAR等重要即時(shí)通信提供商都提供通過(guò)手機(jī)接入互聯(lián)網(wǎng)即時(shí)通信的業(yè)務(wù),用戶可以通過(guò)手機(jī)與其他已經(jīng)安裝了相應(yīng)客戶端軟件的手機(jī)或電腦收發(fā)消息。
產(chǎn)品最早的創(chuàng)始人是三個(gè)以色列青年,是他們?cè)?996年做出來(lái)的,取名叫ICQ。1998年當(dāng)ICQ注冊(cè)用戶數(shù)達(dá)到1200萬(wàn)時(shí),被AOL看中,以2.87億美元的天價(jià)買(mǎi)走。目前ICQ有1億多用戶,主要市場(chǎng)在美洲和歐洲,已成為世界上最大的即時(shí)通信系統(tǒng)。
現(xiàn)在國(guó)內(nèi)的即時(shí)通信工具按照使用對(duì)象分為兩類(lèi):一類(lèi)是個(gè)人IM,如:QQ。QQ的前身OICQ在1999年2月第一次推出,目前幾乎接近壟斷中國(guó)在線即時(shí)通訊軟件市場(chǎng);另一類(lèi)是企業(yè)用IM,簡(jiǎn)稱(chēng)EIM,如:E話通,UC,EC企業(yè)即時(shí)通信軟件,UcSTAR、商務(wù)通等。
…………………………………………………………
參考文獻(xiàn)
張海藩.軟件工程導(dǎo)論.北京.清華大學(xué)出版社.2003
張宏林.Visual C++ 6.0程序設(shè)計(jì)與開(kāi)發(fā)大全.北京.人民郵電出版社.
張耀仁. C++程序設(shè)計(jì)徹底研究.中國(guó)鐵道出版社
施昌權(quán)等.新手學(xué)Visual C++.北京希望電子出版社
祁云嵩.VC++程序設(shè)計(jì)解析與訓(xùn)練.華東理工大學(xué)出版社.2005年8月
辛長(zhǎng)安.VC++編程技術(shù)與難點(diǎn)剖析.清華大學(xué)出版社.2002年04月第1版
胡峪.VC++高級(jí)編程技巧與示例.西安電子科技大學(xué)出版社.2001年05月第1版
孫鑫.VC++ 深入詳解.電子工業(yè)出版社.2006年06月
劉靜華.最新VC++繪圖程序設(shè)計(jì)技巧與實(shí)例教程.科學(xué)出版社.2001年03月第1版
吳建,鄭潮,汪杰.UML基礎(chǔ)與ROSE建模案例.北京.人民郵電出版社.2005
Xuhui Shao, PVladimir Cherkassky, William Li .Measuring the VC-Dimension Using Optimized Experimental Design. Neural Computation 卷次: 12 刊期: 8. Aug. 2000
Volkan Isler, Sampath Kannan, Kostas Daniilidis, Pavel Valtr.VC-Dimension of Exterior Visibility.IEEE Transactions on Pattern Analysis and Machine Intelligence 卷次: 26 刊期: 5.May.2004
.Improved VC-Merging for Multiway Communications in ATM Networks.Proceedings of the International Conference on Computer Communications and Networks.Oct.1998