計算機遠端監控系統的設計和實現

才智咖 人氣:5.83K

目        錄

計算機遠端監控系統的設計和實現

摘要 1
1 前言 2
2 開發環境與專案規劃 3
2.1 開發環境 3
2.2 專案規劃與管理 7
3 系統可行性分析 8
3.1 系統可行性 8
3.2 技術可行性 8
3.3 經濟可行性 8
3.4 人員可行性 8
4 系統需求分析 9
4.1 系統介紹 9
4.2 系統面向使用者群 9
4.3 功能需求 9
4.4 其他需求 9
5 軟體體系結構設計 10
5.1 系統概述 10
5.2 設計策略 10
5.4 系統概念結構設計 10
5.5 系統詳細設計 14
6 軟體介面設計 19
6.1 介面設計概述 19
6.2 介面詳細設計 20
6.2.1 監控端介面設計 20
6.2.2 服務端介面設計 28
7 軟體編碼設計 31
8 軟體測試分析 32
8.1 基本概念與方法 32
8.2 測試範圍與主要內容 34
8.3 測試方法選擇 34
8.4 測試報告及系統改進建議 34
9 軟體使用說明 35
結束語 36
參考文獻 37
致謝 38
附錄 39
 
摘          要

隨著控制技術和計算機技術的發展,特別是Intranet/Internet技術的廣泛應用,遠端監控的網路實現成為可能。實現現場控制層到資訊層全面、無縫的資訊整合,建立高效的區域網遠端監控系統是企業綜合自動化建設的關鍵,因此也是當前研究的1個熱點課題。在基於計算機遠端監控系統的發展狀況、網路架構和1般設計方案的前提下,本設計提出了構建開放性企業區域網遠端監控系統的思想,主要涉及客戶端/伺服器開發模式和工作流程,並分析了基於C/S模式實現遠端監控系統主要功能模組:包括資料採集、資料通訊和伺服器的設計。結合企業對本系統的需求,探討了實現遠端監控的各項技術的可行性,其中包括:TCP/IP協議通訊、WinSocket、流媒體傳輸等技術。根據實際需求,將本系統劃分為遠端視訊監控、遠端螢幕監控、網路聊天以及對遠端計算機的檔案管理等幾大功能模組,並對各項功能模組的實現原理及方法作了全面的分析,在此基礎之上對系統的各個功能模組進行物理結構的設計,結合相應的功能測試,進而形成完整的系統。
關鍵詞 :視訊監控;螢幕監控;網路傳輸協議;套接字 

 

Abstract
Along with the development of control technology and computer technology, especially the widespread application of Intranet/Internet technology, it is possible for the remote monitoring network come into being. The realization of comprehensive and seamless information integration in information level from on-the-spot control level and the establishment of highly effective remote monitoring system of local network are the key to the construction of enterprise synthetical automation, and the hot topic of research currently. This thesis first introduces the development condition, the network overhead construction and the general layout plan of the computer remote monitoring system. Then it proposes the thought about constructing the open remote monitoring system of enterprise local area network, which mainly involving the develop pattern and work process of the C/S pattern. Whats more, it analyzes main function modules for realizing the remote monitoring system based on C/S pattern, including data acquisition, data communication and server design. Combine with the need of enterprise to this system, it also explores the feasibility of each technology, for realizing the remote monitoring, including TCP/IP correspondence, WinSocket, Streaming Media transmission. According to the practical need, this system is mainly divided into several big function modules: the remote video monitoring, the remote screen monitoring, the network chats, the remote computer document management and so on. In the system design part, the thesis makes comprehensive analysis to the realization principle and method of each function module. Finally, it takes on physical construction design of each function module to perfect the system through function test.
Key words: Video monitoring; Screen monitoring; TCP/IP; Socket                                                                                                                                                       
 
1 前言

目前,越來越多的企業集團呈跨地域的發展趨勢,利用網路技術實現遠端監控,對企業降低生產及管理成本,提高勞動生產率,提高企業產品的科技含量,以及增強企業的綜合競爭實力等方面都具有10分重要的意義。
隨著計算機技術的進步,網路也取得了長足的發展,以前的單機模式也進而轉變為更高階的客戶/伺服器模式。其進步是顯而易見的:在單機模式下,操作員必須到達電腦所在的物理上的地點,實時實地操作,而客戶/伺服器下,操作員可以在遠端操作電腦(這裡的遠端泛指任何的`間隔距離,只要通訊技術能達到這種程度)。這種模式又簡稱為C/S模式,原理:客戶方(操作員正在操作的電腦)向伺服器方(操作員藉助客戶方遠端操作的電腦)發出操作指令,伺服器方接收到指令,解釋指令,執行相關操作,最後伺服器方向客戶方傳送指令執行結果。
客戶/伺服器結構包括連線在1個網路中的多臺計算機。請求另1計算機為之服務的計算機稱之為客戶機(client)。而處理客戶機命令請求的計算機稱為伺服器(server)。
客戶機/伺服器是將處理工作分散到工作站和伺服器上去處理,伺服器不僅負責存取資料,還要對資料做1定的處理工作,這樣在資料傳送給工作站之前即求得查詢結果集,從而在大部分情況下可大大減少網路傳輸的開銷,因此,也減輕了工作處理負擔,使用者只需關心介面的處理工作即可。伺服器處理資料帶來的另1個好處是,當伺服器中使用了快取機制時,多個工作站可以從中受益。
C/S模式相對於單機模式而言有以下優點:
 (1)把1個應用程式分成兩部分,並且1般在不同的主機上執行,可以簡化應用系統的程式設計過程,特別是可以使客戶程式與伺服器程式之間的通訊過程標準化。
   (2)把客戶程式和服務程式放在不同主機上(當然也可以放在相同主機上)執行可以實現資料的分散化儲存和集中化使用。
   (3)由於客戶程式可以與多個服務程式進行鏈式連線,使用者可以根據自己的需要靈活地訪問多臺主機。
基於企業的需求,本系統採用C/S模式設計,實現了對遠端計算機進行1系列Windows操作、螢幕監控、視訊監控以及網路聊天等功能。由於1些技術上的問題,有些功能還有待改善。
首先,網路通訊技術不足的問題。網路通訊技術是遠端監控技術中最為關鍵的技術,然而,採用Socket技術,它在傳輸的資料量、程式設計的靈活性還是安全性方面都存在欠缺,特別是對於現場多個端點的資料採集,會大大增加程式設計的複雜度,不能充分滿足遠端監控技術對網路通訊的需求;其次,網路通訊中多種結構並存的問題。目前的遠端監控系統結構大多比較複雜,分佈距離遠,而且還存在著不同區域網,不同平臺,甚至在同1區域網中的操作平臺也可能有不同的問題,這就要求整合網路中的不同平臺,實現相互之間的通訊,而這些問題採用傳統方法是難以解決的。