資源描述:
《實時監(jiān)控遠程控制系統(tǒng)本科畢業(yè)設(shè)計論文》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、實時監(jiān)控遠程控制系統(tǒng)摘要隨著網(wǎng)絡(luò)技術(shù)的發(fā)展,網(wǎng)絡(luò)速度的加快,遠程控制技術(shù)支持將逐漸占據(jù)技術(shù)支持的主流。本文講述的是一個基于Windows而開發(fā)的遠程控制程序,用到了WinSock的API技術(shù)。對遠程控制涉及的技術(shù)和方法等進行了函數(shù)原型級的詳細解釋,可以很容易的理解。本文首先介紹了實現(xiàn)遠程控制基礎(chǔ)Socket編程的基本概念,以及Windows的消息系統(tǒng),接著從建立Socket套接字開始,經(jīng)過逐個功能模塊的分析實現(xiàn),包括從自動運行,到關(guān)機,到直接控屏功能等,然后重點介紹了各功能模塊的具體實現(xiàn)過程,特別是文件管理和直接控屏的實現(xiàn)。最后介紹了設(shè)計體會
2、和編程體會。本文在文件管理方面采用了FTP技術(shù)支持,利用在被控端建立一個FTP客戶端,在本地運行一個FTP服務(wù)器,通過利用FTP技術(shù)來實現(xiàn)對目錄查詢,文件傳輸?shù)任募僮鳌J刮募芾砟軌蚝唵螌崿F(xiàn)!在直接控屏模塊的實現(xiàn)過程中,客戶端主要是負責(zé)向服務(wù)器端發(fā)出獲取服務(wù)端屏幕圖像數(shù)據(jù)的請求,把從服務(wù)器端發(fā)送來的屏幕圖像在本地實時地顯示出來,并且及時發(fā)送鼠標(biāo)在本地顯示圖像的動作響應(yīng)給服務(wù)器;而服務(wù)器端主要是負責(zé)響應(yīng)客戶端的請求并抓取與發(fā)送屏幕圖像,響應(yīng)客戶端發(fā)送過來的鼠標(biāo)、鍵盤等的動作并反饋給客戶端。從而實現(xiàn)了對遠程計算機的直接控制屏幕的操作。關(guān)鍵詞:C
3、/S模式;Socket;FTP;直接控屏。57AbstractWiththedevelopmentofnetworktechnologyandspeeding,theRemotetechnicalsupportgraduallywilloccupythemaintechnicalsupport.ThisarticleisbasedontheWindowsOSintheremotecontrolprocedure,andusestheWinSockAPItechnology.Thetechnologyandthemethodsusedinthe
4、remotecontrolhavecarriedonthefunctionprototypeleveldetailedexplaination,itwillbeveryeasilyunderstood.First,ThisarticleintroducestheremotecontrolfoundationandthebasicconceptofSocketprogramming,Following,fromtheSocketestablishedtotheprocessfunctionmodule,itanalyzesonebyone,wh
5、ichincludestheauto-boot,directly-controlling-screen,shutdownandsoon.Thethird,itemphasizedintroducedvariousfunctionsmodule,especiallytherealizationoftheFilemanagementandthedirect-screen-control.Finally,itintroducesthedesignrealizedandtheexperienceoftheprograms.What’smore,thi
6、sarticleadoptstheFTPtechnicalintheFilemanagementmodel.ItestablishesaFTPclientintheServerside,andrunsaFTPserverintheClientside.Then,withthetransferringofthefileoperation,itsolvesthebasisfilemanagementproblem.Thiscausesthefilemanagementeasilybeingrealized!Inthedirectly-contro
7、lling-screenmodule,theclientside’smainmissionistosendtherequestofcapturingserver’sscreenimagedatatotheserverandshowthescreenimagewhichtransmittedfromtheserverinlocaldemonstratesintime,theclientpromptlytransmitsthemouseeventtotheserverinthelocaldisplayimagemovementresponse;T
8、heserves’mainmissionistorespondtherequestoftheclientsideandcapturesthelocalscreeni