資源描述:
《基于java的網(wǎng)絡(luò)聊天工具的開發(fā)與實(shí)現(xiàn)畢業(yè)論文》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、中文摘要當(dāng)前是信息網(wǎng)絡(luò)得到飛速發(fā)展的時(shí)代,尤其是計(jì)算機(jī)和通信技術(shù)的發(fā)展和結(jié)合,深深的影響著我們的生活、學(xué)習(xí)和工作方式。其中,網(wǎng)絡(luò)聊天工具成為人們?nèi)粘=涣鞯囊环N重要工具,它成本低,通信速度快,方便信息交流和資料的傳遞。目前應(yīng)用比較廣泛的聊天工具有騰訊QQ、Netmeeting、MSN等,這些軟件簡單易用,深受大眾喜歡。在論文中,首先論述了系統(tǒng)的開發(fā)背景,并對所用到的開發(fā)工具與關(guān)鍵技術(shù)做了簡單的介紹。接著對系統(tǒng)的研究意義,研究現(xiàn)狀及設(shè)計(jì)目標(biāo)進(jìn)行分析,通過對系統(tǒng)需求和可行性進(jìn)行分析,確定了系統(tǒng)的功能模塊,并畫出相應(yīng)的功能結(jié)構(gòu)圖、模塊圖。其次按系統(tǒng)總體設(shè)
2、計(jì)的結(jié)果,對系統(tǒng)進(jìn)行結(jié)構(gòu)設(shè)計(jì)。本次開發(fā)的網(wǎng)絡(luò)聊天系統(tǒng)是基于開放的Java應(yīng)用程序設(shè)計(jì)的,能動態(tài)、實(shí)時(shí)地完成信息的傳遞,且具有高效的交互性,能更有效地處理客戶請求,易于維護(hù)和更新。系統(tǒng)采用客戶機(jī)/服務(wù)器的架構(gòu)模式,由客戶端程序和服務(wù)器程序外加服務(wù)器端用于存放客戶數(shù)據(jù)的數(shù)據(jù)庫組成,使用Java提供的Socket類以及Java的多線程功能,在不同的端口上部署各類服務(wù),可以在單個程序中同時(shí)運(yùn)行多個不同進(jìn)程,而客戶端通過Socket發(fā)送信息給服務(wù)器,從而實(shí)現(xiàn)多點(diǎn)對多點(diǎn)的聊天。關(guān)鍵詞:Java,交互性,Socket類,多線程38ABSTRACTTherapi
3、ddevelopmentoftheinformationnetworks,especiallythedevelopmentandintegrationofcomputerandcommunicationtechnologies,hasdeeplyaffectedourlives,learningandwork.Amongthem,theInternetchattoolbecomesanimportanttoolfordailycommunication,becauseofit’slowcost,fastcommunicationandfacili
4、tateinformationexchangeanddatatransmission.CurrentlyusedwidelyinthechattoolareTencentQQ,Netmeeting,MSN,etc.Inthepaper,firstlyIdiscussthebackgroundofthedevelopmentofthesystemandsimplyintroducethedevelopmenttoolsandkeytechnologiesused.SecondlyIanalyzetheresearchanddesignobjecti
5、vestothesignificanceofthesystem.Throughthesystemrequirementsandfeasibilityanalysis,Ideterminethefunctionalmodulesofthesystemanddrawthecorrespondingfunctionblockdiagram,blockdiagram.Thenaccordingtotheresultsoftheoverallsystemdesign,Idesignthestructuralofthesystem.Thedevelopmen
6、toftheInternetchatsystemisdesignedbasedonopenJavaapplication.Itcanbedynamic,real-timeinformationtransferandefficientinteractionsothatitcandealmoreeffectivelywithcustomerrequests,easytomaintainandupdate.Thesystemwillusetheclient/serverarchitecturemodel,whichincludestheclientpr
7、ogramandserverprogramsplusserver-sidedatabaseusedtostorecustomerdata.Byusingthesocketclassprovidedbyjavaandjavamulti-threadingcapability,wecandeployvariousservicesonadifferentportandanumberofdifferentprocessescanberunsimultaneouslyinasingleprogram.Clientssendinformationtothes
8、erverthroughthesocketinordertoachievemulti-point-to-multipointchat.K