摘要
为了通过通信线路实现异地远程数据的实时传输,提出一种基于串口通信的通用模式:首先应用zlibEx对数据进行最大化压缩,减少线路传输数据量及传输时间;在进行文件流压缩时,加入md5算法生成的加密口令,提高数据的安全性;最后根据自定义通信协议将压缩后的文件通过串口进行远程传输。
To implement real-time transmit long-distance data by communication line,a current mode of serial communication is presented.Firstly,the data are maximally compressed with the latest zlibEx,and in the process of compression,the encrypted password using md5 is added,so the security of data can be enhanced.Finally,a series of communication protocols are designed to realize the remote transmissing via serial port.
出处
《湖南人文科技学院学报》
2010年第2期14-16,共3页
Journal of Hunan University of Humanities,Science and Technology
关键词
串口通信
通用模式
zlibEx压缩
实时传输
serial communication
current mode
compressing with zlibEx
real-time transmissing