需要金幣:![]() ![]() |
資料包括:完整論文 | ![]() |
![]() |
轉(zhuǎn)換比率:金額 X 10=金幣數(shù)量, 例100元=1000金幣 | 論文字數(shù):12127 | ![]() | |
折扣與優(yōu)惠:團購最低可5折優(yōu)惠 - 了解詳情 | 論文格式:Word格式(*.doc) | ![]() |
摘要:隨著互聯(lián)網(wǎng)的快速發(fā)展,即時通訊工具已經(jīng)作為一種重要的信息交流工具,受到越來越多的網(wǎng)民的青睞。目前,出現(xiàn)了很多非常不錯的聊天工具,其中應用比較廣泛的有Netmeeting、騰訊QQ、MSN-Message等等。該系統(tǒng)開發(fā)主要包括一個即時通訊服務器程序和一個即時通訊客戶程序兩個方面。前者通過Socket套接字建立服務器,服務器能讀取、轉(zhuǎn)發(fā)客戶端發(fā)來信息,并能刷新用戶列表。后者通過與服務器建立連接,來進行客戶端與客戶端的信息交流。其中用到了局域網(wǎng)通信機制的原理,通過直接繼承Thread類來建立多線程。開發(fā)中利用了計算機網(wǎng)絡編程的基本理論知識,如TCP/IP協(xié)議、客戶端/服務器端模式(Client/Server模式)、網(wǎng)絡編程的設計方法等。在網(wǎng)絡編程中對信息的讀取、發(fā)送,是利用流來實現(xiàn)信息的交換,其中介紹了對實現(xiàn)一個系統(tǒng)的信息流的分析,包含了一些基本的軟件工程的方法。經(jīng)過分析這些情況,該局域網(wǎng)聊天工具采用Eclipse為基本開發(fā)環(huán)境和java語言進行編寫,首先可在短時間內(nèi)建立系統(tǒng)應用原型,然后,對初始原型系統(tǒng)進行不斷修正和改進,直到形成可行系統(tǒng) 關鍵詞:局域網(wǎng); 聊天; Socket; Java
Abstract:Along with the fast development of Internet, the communication-on-time tool has already become one kind of important communication tools and received more and more web cams favor. At present, many extremely good communication tools have appeared. For example, net meeting, QQ, MSN-Message and so on. This system development mainly includes two aspects of the server procedure of the network chat and the customer procedure of the network chat. The former establishes the server through the Socket, the server can read and deliver the information which client side sends, and can renovate the users’ tabulation. The latter make a connection with the server, carries on communication between the client side and the client side. With the LAN correspondence mechanism principle, through inheriting the Thread kind to establish the multithreading directly. In the development, it uses the elementary theory knowledge which the computer network programmers. For example, TCP/IP agreement, Client/Server pattern, network programming design method and so on. In the programming, it realizes reading and transmission of the information, that is, information flows realize the information exchange, introduce information flow analysis for realizing a system, in which contains some basic software engineering methods. After analyzes these situations, this LAN chatting tool takes Eclipse as the basic development environment and compiles in java language. First, it will establish the system application prototype in a short time. then, for the initial prototype system, it needs constantly revised and improved, until a viable system. Key words: LAN; Chat; Socket; Java
|