【正文】
我們熟知的遠程控制技術(shù),最早始于 DOS 時代,當(dāng)時并沒有現(xiàn)在的條件與技術(shù),而且也網(wǎng)絡(luò)不發(fā)達,市場沒有更高的要求,所以遠程控制技術(shù)沒有引起許多人的注意。面對眾多的部門聯(lián)網(wǎng)計算機,對于人數(shù)相對偏少的網(wǎng)絡(luò)管理員來說,如果每臺計算機都需要親臨維護既浪費時間,工作效率也極低,因此他們希望對整個網(wǎng)絡(luò)上的計算機能實現(xiàn)遠程控制操作;也希望能實現(xiàn)遠程傳輸文件操作;同時還能查看實時的計算機運行狀態(tài)和進行一些相關(guān)操作;希望能夠傳輸文件;希望能夠防止病毒的蔓延、非法程 序的拷貝、杜絕某些用戶的越權(quán)或非法操作等。 Screen capture。 C/S。 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。本系統(tǒng)從設(shè)計最初到具體實現(xiàn)、優(yōu)化、測試都嚴格遵循軟件工程的思想。本系統(tǒng)在開發(fā)過程中,將計算機網(wǎng)絡(luò)技術(shù)與遠程控制理論基礎(chǔ)相結(jié)合?;?JAVA 與 Socket 編程技術(shù)結(jié)合的 C/S遠程監(jiān)控系統(tǒng)軟件突破了空間的限制,使用者不用親自到目標(biāo)地點,直接通過網(wǎng)絡(luò)就能實現(xiàn)對被控機器的監(jiān)控,并且有著友好的操作界面。 xx 學(xué)院本科生畢業(yè)論文 計算機遠程控制軟件的設(shè)計與開發(fā) Computer Remote Control Software Design and Development 院 系 計算機科學(xué)與工程學(xué)院 專 業(yè) 計算機科學(xué)與技術(shù) 學(xué) 生 班 級 xx 級 xx 班 姓 名 xx 學(xué) 號 xx 指導(dǎo)教師單位 計算機科學(xué)與工程學(xué)院 指導(dǎo)教師姓名 xxx 指導(dǎo)教師職稱 講師 計算機遠程控制軟件的設(shè)計與開發(fā) 計算機科學(xué)與 技術(shù) 2021 級 00 班 xxx 摘要 隨著網(wǎng)絡(luò)技術(shù)的飛速發(fā)展,遠程控制協(xié)助軟件越來越受到人們的重視。 計算機遠程控制技術(shù)是計算機系統(tǒng)管理人員在異地通過計算機網(wǎng)絡(luò)連接目標(biāo)計算機 , 由本地計算機對遠程計算機進行管理和維護的行為 。 本系統(tǒng)采用 Java 網(wǎng)絡(luò)編程和 Java 圖形編程實現(xiàn)。本遠 程控制軟件包括遠程資源管理器、遠程監(jiān)控、遠程 CMD 控制臺三大模塊,實現(xiàn)了對被控機磁盤文件的上傳、下載、刪除,實現(xiàn)對鼠標(biāo)、鍵盤的模擬以及屏幕截取,實現(xiàn)了遠程執(zhí)行 DOS 命令,實現(xiàn)了遠程關(guān)機。 關(guān)鍵詞: Java; Socket; C/S;遠程控制;屏幕截??; DOS 命令。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。 Remote control。 DOS mand. 目錄 1 引言 ................................................................ 1 遠程控制軟件的研究現(xiàn)狀和前景 .................................... 2 課題研究的目的和意義 ............................................ 3 課題研究的主要內(nèi)容 .............................................. 3 2 系統(tǒng)分析 ............................................................ 3 系統(tǒng)功能分析 .................................................... 3 系統(tǒng)軟件模型 .................................................... 4 系統(tǒng)的開發(fā)平臺 .................................................. 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)特點及發(fā)展 ............................................. 11 TCP/IP 體系結(jié)構(gòu) ................................................ 12 網(wǎng)絡(luò)層 .................................................... 12 互聯(lián)層 .................................................... 12 傳輸層 ................................................... 13 應(yīng)用層 .................................................. 13 多線程 ......................................................... 13 Java 遠程控制的基本原理 ........................................ 14 4 C/S 模式遠程控制系統(tǒng)的設(shè)計實現(xiàn) ...................................... 16 主要實現(xiàn)功能 ................................................... 16 Client(監(jiān)控端)設(shè)計 ........................................... 16 文件操作 ..................................... 17 遠程控制臺 ..................................... 21 遠程監(jiān)控 ...................................... 23 關(guān)機 ...................................................... 26 退出 ...................................................... 26 幫助 ...................................................... 26 Server(被控端)設(shè)計 ........................................... 27 文件操作( ) .................................. 27 CMD 控制臺( ) .................................. 32 遠程監(jiān)控實現(xiàn)( ) ............................... 33 軟件測試與分析 ................................................. 33 軟件測試的重要性 .......................................... 33 測試實例的研究與選擇 ...................................... 34 測試環(huán)境與測試條件 ........................................ 35 系統(tǒng)部分模塊測試情況 ...................................... 35 5 總結(jié)與展望 ......................................................... 36 致謝 .................................................................. 37 參考文獻 .............................................................. 38 xxx 學(xué)院本科生畢業(yè)論文 (設(shè)計 ) 1 1 引言 現(xiàn)如今,隨著網(wǎng)絡(luò)的快速發(fā)展,越來越多的企業(yè)都建立了自己的內(nèi)部網(wǎng)絡(luò)。因此,對于一個網(wǎng)絡(luò)管理員來說,一個合適的遠程協(xié)控制軟件是至關(guān)重要的。但如今,隨著網(wǎng)絡(luò)的飛速發(fā)展,隨著人們對電腦的管理及技術(shù)支持的需要的不斷提高,遠程操作及控制技術(shù)越來越引起人們的關(guān)注。除此之外,實現(xiàn)遠程控制的方式還有通過串口、并口、紅外端口等通信方式 。隨著網(wǎng)絡(luò)技術(shù)的發(fā)展,越來越多的遠程控制軟件提供通過 C/S 模式以 Java 語言來開遠程控制軟件。實用方法是,先將客戶端安裝到主控計算機上,將服務(wù)端程序安裝在被