【正文】
xx 學(xué)院本科生畢業(yè)論文 計(jì)算機(jī)遠(yuǎn)程控制軟件的設(shè)計(jì)與開發(fā) Computer Remote Control Software Design and Development 院 系 計(jì)算機(jī)科學(xué)與工程學(xué)院 專 業(yè) 計(jì)算機(jī)科學(xué)與技術(shù) 學(xué) 生 班 級(jí) xx 級(jí) xx 班 姓 名 xx 學(xué) 號(hào) xx 指導(dǎo)教師單位 計(jì)算機(jī)科學(xué)與工程學(xué)院 指導(dǎo)教師姓名 xxx 指導(dǎo)教師職稱 講師 計(jì)算機(jī)遠(yuǎn)程控制軟件的設(shè)計(jì)與開發(fā) 計(jì)算機(jī)科學(xué)與 技術(shù) 2021 級(jí) 00 班 xxx 摘要 隨著網(wǎng)絡(luò)技術(shù)的飛速發(fā)展,遠(yuǎn)程控制協(xié)助軟件越來越受到人們的重視。 計(jì)算機(jī)遠(yuǎn)程控制技術(shù)是計(jì)算機(jī)系統(tǒng)管理人員在異地通過計(jì)算機(jī)網(wǎng)絡(luò)連接目標(biāo)計(jì)算機(jī) , 由本地計(jì)算機(jī)對(duì)遠(yuǎn)程計(jì)算機(jī)進(jìn)行管理和維護(hù)的行為 ?;?JAVA 與 Socket 編程技術(shù)結(jié)合的 C/S遠(yuǎn)程監(jiān)控系統(tǒng)軟件突破了空間的限制,使用者不用親自到目標(biāo)地點(diǎn),直接通過網(wǎng)絡(luò)就能實(shí)現(xiàn)對(duì)被控機(jī)器的監(jiān)控,并且有著友好的操作界面。 本系統(tǒng)采用 Java 網(wǎng)絡(luò)編程和 Java 圖形編程實(shí)現(xiàn)。本系統(tǒng)在開發(fā)過程中,將計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)與遠(yuǎn)程控制理論基礎(chǔ)相結(jié)合。本遠(yuǎn) 程控制軟件包括遠(yuǎn)程資源管理器、遠(yuǎn)程監(jiān)控、遠(yuǎn)程 CMD 控制臺(tái)三大模塊,實(shí)現(xiàn)了對(duì)被控機(jī)磁盤文件的上傳、下載、刪除,實(shí)現(xiàn)對(duì)鼠標(biāo)、鍵盤的模擬以及屏幕截取,實(shí)現(xiàn)了遠(yuǎn)程執(zhí)行 DOS 命令,實(shí)現(xiàn)了遠(yuǎn)程關(guān)機(jī)。本系統(tǒng)從設(shè)計(jì)最初到具體實(shí)現(xiàn)、優(yōu)化、測(cè)試都嚴(yán)格遵循軟件工程的思想。 關(guān)鍵詞: Java; Socket; C/S;遠(yuǎn)程控制;屏幕截??; DOS 命令。 Computer Remote Control Software Design and Development Computer Science and Technology xxxxx xxxx Supervisor xxx Abstract With the rapid development of work technology, the remote control to assist software by more and more people39。s attention. Computer remote control technology is a puter system management personnel in different through the puter work connection target puter, the local puter to the remote puter management and maintenance of behavior. Based on JAVA and Socket programming technology in bination with C/S remote monitoring system software broke through the limitation of space, users need not personally to the target location, directly through the work can achieve for the controlled machine monitoring, and have a friendly operation interface. This system uses Java work programming and Java graphical programming realization. This system in the development process, the puter work technology and remote control theory foundation bined. The remote control software including remote resource manager, remote monitoring, remote CMD console three modules, realize the accused of machine disk file upload, download, delete, realize the simulation of the mouse, keyboard and screen capture, realized the remote implement DOS mand, realized the remote shutdown. This system from design to implementation first, optimization and testing are strictly follow the concept of software engineering. Keywords: Java; Socket。 C/S。 Remote control。 Screen capture。 DOS mand. 目錄 1 引言 ................................................................ 1 遠(yuǎn)程控制軟件的研究現(xiàn)狀和前景 .................................... 2 課題研究的目的和意義 ............................................ 3 課題研究的主要內(nèi)容 .............................................. 3 2 系統(tǒng)分析 ............................................................ 3 系統(tǒng)功能分析 .................................................... 3 系統(tǒng)軟件模型 .................................................... 4 系統(tǒng)的開發(fā)平臺(tái) .................................................. 4 Eclipse 介紹 ............................................... 4 Java 語言 .................................................. 4 3 主要技術(shù)支持 ........................................................ 5 Socket .......................................................... 5 Socket 分類 ..................................................... 7 基本套接字函數(shù)調(diào)用 .............................................. 8 創(chuàng)建套接字 ................................................. 9 建立套接字連接 ............................................. 9 數(shù)據(jù)傳輸 ................................................... 9 關(guān)閉套接字 ................................................ 11 C/S 結(jié)構(gòu)特點(diǎn)及發(fā)展 ............................................. 11 TCP/IP 體系結(jié)構(gòu) ................................................ 12 網(wǎng)絡(luò)層 .................................................... 12 互聯(lián)層 .................................................... 12 傳輸層 ................................................... 13 應(yīng)用層 .................................................. 13 多線程 ......................................................... 13 Java 遠(yuǎn)程控制的基本原理 ........................................ 14 4 C/S 模式遠(yuǎn)程控制系統(tǒng)的設(shè)計(jì)實(shí)現(xiàn) ...................................... 16 主要實(shí)現(xiàn)功能 ................................................... 16 Client(監(jiān)控端)設(shè)計(jì) ........................................... 16 文件操作 ..................................... 17 遠(yuǎn)程控制臺(tái) ..................................... 21 遠(yuǎn)程監(jiān)控 ...................................... 23 關(guān)機(jī) ...................................................... 26 退出 ...................................................... 26 幫助 ...................................................... 26 Server(被控端)設(shè)計(jì) ........................................... 27 文件操作( ) .................................. 27 CMD 控制臺(tái)( ) .................................. 32 遠(yuǎn)程監(jiān)控實(shí)現(xiàn)( ) ............................... 33 軟件測(cè)試與分析 ................................................. 33 軟件測(cè)試的重要性 .......................................... 33 測(cè)試實(shí)例的研究與選擇 ...................................... 34 測(cè)試環(huán)境與測(cè)試條件 ........................................ 35 系統(tǒng)部分模塊測(cè)試情況 ...................................... 35 5 總結(jié)與展望 ......................................................... 36 致謝 .................................................................. 37 參考文獻(xiàn) .............................................................. 38 xxx 學(xué)院本科生畢業(yè)論文 (設(shè)計(jì) ) 1 1 引言 現(xiàn)如今,隨著網(wǎng)絡(luò)的快速發(fā)展,越來越多的企業(yè)都建立了自己的內(nèi)部網(wǎng)絡(luò)。面對(duì)眾多的部門聯(lián)網(wǎng)計(jì)算機(jī),對(duì)于人數(shù)相對(duì)偏少的網(wǎng)絡(luò)管理員來說,如果每臺(tái)計(jì)算機(jī)都需要親臨維護(hù)既浪費(fèi)時(shí)間,工作效率也極低,因此他們希望對(duì)整個(gè)網(wǎng)絡(luò)上的計(jì)算機(jī)能實(shí)現(xiàn)遠(yuǎn)程控制操作;也希望能實(shí)現(xiàn)遠(yuǎn)程傳輸文件操作;同時(shí)還能查看實(shí)時(shí)的計(jì)算機(jī)運(yùn)行狀態(tài)和進(jìn)行一些相關(guān)操作;希望能夠傳輸文件;希望能夠防止病毒的蔓延、非法程 序的拷貝、杜絕某些用戶的越權(quán)或非法操作等。因此,對(duì)于一個(gè)網(wǎng)絡(luò)管理員來說,一個(gè)合適的遠(yuǎn)程協(xié)控制軟件是至關(guān)重要的。 我們熟知的遠(yuǎn)程控制技術(shù),最早始于 DOS 時(shí)代,當(dāng)時(shí)并沒有現(xiàn)在的條件與技術(shù),而且也網(wǎng)絡(luò)不發(fā)達(dá),市場(chǎng)沒有更高的要求,所以遠(yuǎn)程控制技術(shù)沒有引起許多人的注意。但如今,隨著網(wǎng)絡(luò)的飛速發(fā)展,隨著人們對(duì)電腦的管理及技術(shù)支持的需要的不斷提高,遠(yuǎn)程操作及控制技術(shù)越來越引起人們的關(guān)注。遠(yuǎn)程控制一般支持下以下網(wǎng)絡(luò)類型: LAN、WAN、撥號(hào)方式、互聯(lián)網(wǎng)方式。除此之外,實(shí)現(xiàn)遠(yuǎn)程控制的方式還有通過串口、并口、紅外端口等通信方式 。對(duì)于傳統(tǒng)的遠(yuǎn)程控制軟件,一般使用 NETBEUI、 NETBIOS、 IPX/SPX