计算机与现代化 ›› 2011, Vol. 193 ›› Issue (9): 82-85.doi: 10.3969/j.issn.1006-2475.2011.09.023

• 图像处理 • 上一篇    下一篇

一种改进的应用于机房教学的屏幕共享方案

汪彦,黄雪华,涂立   

  1. 湖南城市学院计算机科学系,湖南 益阳 413000
  • 收稿日期:2011-07-25 修回日期:1900-01-01 出版日期:2011-09-22 发布日期:2011-09-22

An Improved Screen-sharing Scheme Applied to Computer Room Teaching

WANG Yan, HUANG Xue-hua, TU Li   

  1. Department of Computer Science, Hunan City University, Yiyang 413000, China
  • Received:2011-07-25 Revised:1900-01-01 Online:2011-09-22 Published:2011-09-22

摘要: 提出一种改进的适用于机房教学的屏幕共享方案。该方案采用C/S模式。服务器端定时抓取屏幕图像和鼠标图标,形成位图数据流,利用GDI〖KG-*3〗+压缩为JPEG文件,然后采用套接字广播图像数据。客户端接收图像数据后在本机显示,从而实现了屏幕共享。实验结果表明,在客户端重现的服务器屏幕画面,清晰流畅,能与服务器保持实时同步,满足了局域网环境下多媒体教学的实际需要。

关键词: 机房教学, 屏幕共享, GDI+, 套接字

Abstract: This paper presents an improved screen-sharing scheme applied to computer room teaching. The scheme uses C/S mode. The server is timed to capture screen image and mouse icon, saves them as bitmap data stream, uses GDI+to compress it to JPEG file, then uses the socket to broadcast image data. The client receives the image data, then displays it on the local screen, so screen sharing is implemented. Experimental results show that the server screen reproduced on the client’s screen is clear and smooth, and it can maintain real-time synchronization with the server. The scheme meets practical needs of multi-media teaching in the LAN environment.

Key words: computer room teaching, screen-sharing, GDI+, socket

中图分类号: