區域網聊天工具Java+jBuilder

才智咖 人氣:2.27W
畢業論文

   區域網聊天工具

區域網聊天工具Java+jBuilder

      

摘要:隨著網際網路的快速發展,網路聊天工具已經作為1種重要的資訊交流工具,受到越來越多的網民的青睞。目前,出現了很多非常不錯的聊天工具,其中應用比較廣泛的有Netmeeting、騰訊QQ、MSN-Messager等等。該系統開發主要包括1個網路聊天伺服器程式和1個網路聊天客戶程式兩個方面。前者通過Socket套接字建立伺服器,伺服器能讀取、轉發客戶端發來資訊,並能重新整理使用者列表。後者通過與伺服器建立連線,來進行客戶端與客戶端的資訊交流。其中用到了區域網通訊機制的原理,通過直接繼承Thread類來建立多執行緒。開發中利用了計算機網路程式設計的基本理論知識,如TCP/IP協議、客戶端/伺服器端模式(Client/Server模式)、網路程式設計的設計方法等。在網路程式設計中對資訊的讀取、傳送,是利用流來實現資訊的交換,其中介紹了對實現1個系統的資訊流的分析,包含了1些基本的軟體工程的方法。經過分析這些情況,該區域網聊天工具採用jbuilder 2006為基本開發環境和java語言進行編寫,首先可在短時間內建立系統應用原型,然後,對初始原型系統進行不斷修正和改進,直到形成可行系統
關鍵字:區域網 ; 聊天 ;socket ;java ;jBuilder2006
 
The tool for chating in LAN


Abstract: Along with the fast development of Internet, the network chating tool has already become one kind of important communication tools and received more and more web cams favor. At present, many extremely good chating tools have appeared . for example, Netmeeting, QQ, MSN-Messager 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 inheritting the Thread kind to establish the multithreading directly. In the development, it uses the elementary theory knowledge which the computer network programmes. for example, TCP/IP agreement, Client/Server pattern, network programming design method and so on. In the network programming, it realizes reading and transmission of the information, that is,informaton flows realize the information exchange, introduce information flow analysis for realizing a system, in which containes some basic software engineering methods. After analyzes these situations, this LAN chating tool takes jbuilder 2006 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.
Keywords : LAN ; chat ; socket ; java ; jBuilder2006
 
前  言
近年來,隨著全球資訊化程序的不斷髮展,網路也在飛速發展。出於高效、快速地處理各種事務的目的,越來越多的企業在其內部使用區域網來進行工作。在內部區域網的幫助下,企業得以簡化資訊流程,提高資訊交換的速度,從而提高工作效率。然而,隨著企業規模的擴大,業務量的增加,在區域網上的應用越來越多,如知識庫、網路會議、資料庫應用和資料的同步與備份等,這些應用對區域網的資訊吞吐、處理能力的要求也越來越高。這些在企業內部原有區域網設計之初未曾考慮到的新情況的出現使得區域網不堪重負,容易發生資訊阻塞,此時,區域網不但不能提高生產效率,反而成為企業發展的瓶頸。為了解決上述矛盾,人們提出了許多方法。提升網路頻寬及增加伺服器的吞吐能力是解決此矛盾的1種方法。然而,從企業執行的成本方面考慮,無論是單純地提升網路頻寬或增加伺服器的吞吐能力都不能從根本上解決區域網資源緊張的問題,對舊區域網的大規模硬體改造反而會增加企業的負擔。而基於Socket的區域網通訊軟體可以為企業原有的區域網提供1種良好,安全,快速的通訊機制。它可以在BSD、AIX、Solaris、Microsoft Windows、Macos及Linux等多種作業系統上實現,並且它的實現無需對企業原有的區域網硬體進行任何改動,具有實現成本低廉的`優點,它的使用能有效地降低區域網通訊負荷,提高區域網的使用效率,可以很好地解決企業內部區域網的各種通訊需求。  
該設計是基於Socket的區域網聊天系統,在JBuilder2006+WindowsXP環境中除錯執行的,使用的開發語言是JAVA。JBuilder 自面世以來,1直以友好的整合開發環境(IDE)廣受業界的讚賞,它的整合開發環境是1個使用單1視窗介面,集編輯、管理檔案與工程、可視介面設計、瀏覽、編譯、除錯和其他操作等多功能於1體的開發平臺。使用者可以在整合開發環境中建立工程和開啟工程,建立、開啟和編輯檔案,還可以編譯、連結、執行和除錯應用程式。JBuilder2006集成了軟體開發、除錯、部署、管理等工具,極大地提高了系統開發的速度。本文的主要工作: 
Ø  闡述系統的功能、特點及使用方法。  
Ø  闡述開發本系統所用的相關技術。  
Ø  具體分析各個模組的功能及實現方法。  
Ø  闡述系統的設計思想及方法。