1、 I 基于 C/S 模式的局域网桌面共享软件设计 摘 要 近年来,随着互联网在全球范围内的发展和普及,人们可以共享各种各 样网络资源,与此同时,网络资源的利用率问题也越来越引起人们的关注。 因此, 网络共享的可获得性和便捷性已经成为网络技术发展中最重要的一环。 本文结合实验室授课的现状和存在的问题, 以及本人在自己单位的工作性质, 然后介绍了一种新的授课方式桌面共享技术。在此基础上,设计了基于 局域网的桌面共享软件。 设计过程主要包括共享网络的逻辑结构的搭建和图像数据的传输两大 部分。其中共享网络的逻辑结构的搭建部分,具有简单、灵活、方便、易于 维护的特点。图像数据的传输部分基于 C/S 模式
2、,采用 MFC 中标准 Socket 的封装模块,主要实现图像数据的捕获,发送,接收和绘制四大核心需求。 本论文主要解决以下问题:1. 在虚拟机上实现共享网络的逻辑结构的搭建。 2. 网络中多个主机在频繁进行图像数据通信时的较低的 CPU 利用和网络带 宽占用。3. 界面的友好性和易操作性 桌面共享技术的优点也很突出,教师可以远程控制学生机。例如:老师 锁定学生机,让学生安心听老师授课;而且,还可以采用电子点名,统计课 堂缺席情况;远程命令,老师可以向单个、部分、全部学生发送执行某程序 的命令,并在学生机上自动执行;还可以分组教学等等功能。 关键词关键词 桌面共享,局域网,GDI,数据捕获,数
3、据传输 II LAN desktop sharing software based on C / S model design ABSTRACT In recent years, with the development and popularization of the Internet on a global scale, people can share a variety of network resources, at the same time, the utilization of network resources is also growing cause for conce
4、rn. Therefore, the availability and convenience of the network share has become the most important part of the development of network technology. This article combined with laboratory teaching status and existing problems, and my nature of work in their own units, and then introduced a new teaching methods - desktop sharing technology. On this basis, the design of a LAN-based desktop sharing software. Design process, including the logical structure of the shared network structures and transmi