摘要
数字X光影像仪(CR)图像数据每幅高达21MB,需在两套计算机之间进行如此大数据量的传输,以往多使用并口进行传送,数据率仅为500KB/s,不能满足快速传输的要求,为此,将图像采集系统作为客户机,图像处理工作站作为服务器,构成Client/Server(C/S)模式,讨论了分布式结构、Winsock通信机制核心技术,利用VC++编写了通信程序。实验结果表明,采用C/S模式,实现高达21MB的大数据量文件无差错快速传输,仅需2s。
When a CR image up to 21MB is transferred between two computers by parallel ports, the parallel port speed is 500 KB only and cannot meet the fast transfer requirement of the system. Therefore,it is proposed to establish a large file transfer based on Client/Server model. With the information acquirement system defined as client and the postprocessing system of image defined as server. The distributed system and Winsock architecture are discussed, then the developing process of communication under the environment of Visual C++ is described. As a result, a lager file transfer up to 21 MB can be reliably accomplished in 2 seconds.
出处
《光学精密工程》
EI
CAS
CSCD
2003年第4期400-404,共5页
Optics and Precision Engineering
基金
国家自然科学基金资助项目(No.69677015)