首页 | 本学科首页   官方微博 | 高级检索  
     

基于Client/Server模式下实现大数据量文件的传输
引用本文:王彦臣,凌伟,黄廉卿.基于Client/Server模式下实现大数据量文件的传输[J].光学精密工程,2003,11(4):400-403.
作者姓名:王彦臣  凌伟  黄廉卿
作者单位:中国科学院,长春光学精密机械与物理研究所,吉林,长春,130022
基金项目:国家自然科学基金资助项目(No.69677015)
摘    要:数字X光影像仪(CR)图像数据每幅高达21MB,需在两套计算机之间进行如此大数据量的传输,以往多使用并口进行传送,数据率仅为500KB/s,不能满足快速传输的要求,为此,将图像采集系统作为客户机,图像处理工作站作为服务器,构成Client/Server(C/S)模式,讨论了分布式结构、Winsock通信机制核心技术,利用VC++编写了通信程序。实验结果表明,采用C/S模式,实现高达21MB的大数据量文件无差错快速传输,仅需2s。

关 键 词:客户机/服务器  套接字  文件传输
文章编号:1004-924X(2003)04-0400-04
收稿时间:2003/1/12
修稿时间:2003年1月12日

Large file transfer based on Client/Server model
WANG Yan-chen,LING Wei,HUANG Lian-qing.Large file transfer based on Client/Server model[J].Optics and Precision Engineering,2003,11(4):400-403.
Authors:WANG Yan-chen  LING Wei  HUANG Lian-qing
Affiliation:Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun 130021, China
Abstract: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 post processing 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.
Keywords:client/server  winsock  file transfer
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《光学精密工程》浏览原始摘要信息
点击此处可从《光学精密工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号