基于JAVA实时监控远程控制系统设计和实现
- 格式:doc
- 大小:392.00 KB
- 文档页数:62
毕业论文
题目:基于JAVA实时监控远程控制系统设计和实现
专业:
班级:
姓名:
学号:
指导教师:
日期:
随着网络技术的发展,网络速度的加快,远程控制技术支持将逐渐占据技术支持的主流。本文讲述的是一个基于Windows而开发的远程控制程序,用到了WinSock的API 技术。对远程控制涉及的技术和方法等进行了函数原型级的详细解释,可以很容易的理解。
本文首先介绍了实现远程控制基础Socket编程的基本概念,以及Windows的消息系统,接着从建立Socket套接字开始,经过逐个功能模块的分析实现,包括从自动运行,到关机,到直接控屏功能等,然后重点介绍了各功能模块的具体实现过程,特别是文件管理和直接控屏的实现。最后介绍了设计体会和编程体会。
本文在文件管理方面采用了FTP技术支持,利用在被控端建立一个FTP客户端,在本地运行一个FTP服务器,通过利用FTP技术来实现对目录查询,文件传输等文件操作。使文件管理能够简单实现!在直接控屏模块的实现过程中,客户端主要是负责向服务器端发出获取服务端屏幕图像数据的请求,把从服务器端发送来的屏幕图像在本地实时地显示出来,并且及时发送鼠标在本地显示图像的动作响应给服务器;而服务器端主要是负责响应客户端的请求并抓取与发送屏幕图像,响应客户端发送过来的鼠标、键盘等的动作并反馈给客户端。从而实现了对远程计算机的直接控制屏幕的操作。
关键词:C/S模式;Socket;FTP;直接控屏。
With the development of network technology and speeding, the Remote technical support gradually will occupy the main technical support. This article is based on the Windows OS in the remote control procedure, and uses the WinSock API technology. The technology and the methods used in the remote control have carried on the function prototype level detailed explaination , it will be very easily understood.
First, This article introduces the remote control foundation and the basic concept of Socket programming, Following, from the Socket established to the process function module, it analyzes one by one, which includes the auto-boot, directly-controlling-screen, shutdown and so on . The third, it emphasized introduced various functions module, especially the realization of the File management and the direct-screen -control. Finally, it introduces the design realized and the experience of the programs.
What’s more, this article adopts the FTP technical in the File management model. It establishes a FTP client in the Server side, and runs a FTP server in the Client side. Then, with the transferring of the file operation, it solves the basis file management problem. This causes the file management easily being realized! In the directly-controlling-screen module, the client side’s main mission is to send the request of capturing server’s screen image data to the server and show the screen image which transmitted from the server in local demonstrates in time, the client promptly transmits the mouse event to the server in the local display image movement response; The serves’ main mission is to respond the request of the client side and captures the local screen image and send it to the client side, it also sends the event of the mouse and the keyboard which client side transmits. Thus, the long-distance computer positive governing screen operation has realized.
Key words: C/S module; Socket; FTP; directly-controlling-screen/