作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (7): 221-223.

• 多媒体技术及应用 • 上一篇    下一篇

Linux 桌面图形序列的压缩与传输

罗 红1,2,慕德俊1   

  1. 1. 西北工业大学自动化学院,西安 710072;2. 空军工程大学电讯工程学院,西安 710077
  • 出版日期:2006-04-05 发布日期:2006-04-05

Compression and Transmission Scheme of Linux Desktop Graph Sequences

LUO Hong1,2, MU Dejun1   

  1. 1. College of Automation, Northwestern Polytechnical University, Xi’an 710072;2. College of Telecommunication Engineering, Air Force Engineering University, Xi’an 710077
  • Online:2006-04-05 Published:2006-04-05

摘要: 提出了一种基于网格的无损编码方法对Linux 桌面图形序列进行压缩和传输;并采用C/S 模式实现了将Linux 桌面屏幕向Windows平台的传输,其中服务器程序运行于Linux 平台,客户程序运行于Windows 平台,双方利用Socket 进行通信。为了提高数据的传输效率,采用了Huffman 算法和RLE 算法对网格数据进行压缩和解压。实验结果表明,程序运行可靠,能够满足实际应用的需要。

关键词: Linux;抓取屏幕;图像编码;Huffman 编码;行程编码

Abstract: In order to compress and transmit the Linux desktop graph sequences, a lossless compression arithmetic based on gridding is put forward in this paper. According to this arithmetic, two programs based on Client/Server mode are designed. The server program runs on the Linux platform and captures Linux screen while the client program runs the Windows platform and redisplays the Linux screen. They communicate with each other by means of the Socket. To improve data transmission efficiency, Huffman and RLE algorithms are adopted in this paper. The experimental results show that the programs run reliably and can meet actual application’s demands

Key words: Linux; Capture screen; Image coding; Huffman encoding; Run length encoding