异步批量文件网络传输系统设计与实现
发布时间:2018-04-12 06:30
本文选题:文件传输 + 线程调度 ; 参考:《湖南师范大学》2014年硕士论文
【摘要】:随着信息技术和网络技术的快速发展,促使了人们对文件共享的需求不断增加。如何实现大批量和大体积文件在网络上快速传输已经成为现在研究的一个热点。现在主流的文件传输类软件在批量上传文件、大文件传输中还存在一些问题。本文通过对异步批量文件传输系统的设计与研究,提出一种异步批量文件传输、大文件快速共享的文件传输方案。 论文分别论述了系统组成的各个模块和功能,整体采用了服务器端/客户端的设计模式。采用了TCP协议来保证文件传输质量,并在此基础上采用多线程技术来实现批量文件的传输,还针对大体积文件的传输采用了依据网络状态自动分片传输和重组的技术。论文在设计过程中除了实现了文件共享的基本功能之外,还采取了断点续传技术来提高文件传输的效率。本文着重对文件传输优化的策略进行了研究,并提出了一种根据传输状态的线程调度策略和一种基于网络状况的传输优化策略。其中,根据传输状态的线程调度策略是根据单个传输线程的状态来动态的调度线程池中的活动线程数以最大利用系统资源和网络资源来优化传输,基于网络状态的传输优化策略采用了统计当前网络流量模型,并根据这种模型预测网络闲时以充分利用网络的空闲资源来最大优化文件传输服务。此外,为保证文件传输过程的准确性和一致性,采用了文件检测和文件一致性校验的方法,为使用户直观地监测文件传输的状态,本文将传输进度通过消息机制实时的显示在界面上。最后,为提高本系统可灵活性和可移植性,本文将客户端设计为组件模式,以供本系统可以嵌入到网页中或者其他应用中。 随着人们对文件共享和实时传输方面的需求增加,本文采取了实时通信的方式进行了方案的总体设计和实施,在烟叶原料近红外光谱信息共享系统中运行表明总体方案设计是合理的。
[Abstract]:With the rapid development of information technology and network technology, the demand for file sharing is increasing.How to realize the fast transmission of large-volume and large-volume files on the network has become a hot research topic.Now the mainstream file transfer software uploads files in batches, there are still some problems in large file transfer.Based on the design and research of asynchronous batch file transfer system, a file transfer scheme of asynchronous batch file transfer and fast sharing of large files is proposed in this paper.This paper discusses the modules and functions of the system, and adopts the design mode of server / client.The TCP protocol is adopted to guarantee the quality of file transmission, and the multithreading technology is adopted to realize the transfer of batch files. The technology of automatic slicing and reorganizing according to the network state is also used for the transmission of large volume files.In addition to realizing the basic function of file sharing, the paper also adopts breakpoint transmission technology to improve the efficiency of file transfer.In this paper, the strategy of file transfer optimization is studied, and a thread scheduling strategy based on transmission state and a transmission optimization strategy based on network condition are proposed.Among them, the thread scheduling strategy based on the transmission state is to dynamically schedule the number of active threads in the thread pool according to the state of a single transport thread in order to maximize the utilization of system resources and network resources to optimize the transmission.The transmission optimization strategy based on the network state adopts the current network traffic model and predicts the idle time of the network according to this model to optimize the file transfer service by making full use of the free resources of the network.In addition, in order to ensure the accuracy and consistency of the file transfer process, the methods of file detection and file consistency verification are adopted to enable users to monitor the status of file transfer intuitively.In this paper, the transmission progress through the message mechanism in real-time display on the interface.Finally, in order to improve the flexibility and portability of the system, the client is designed as a component mode, so that the system can be embedded in the web page or other applications.With the increasing demand for file sharing and real-time transmission, this paper adopts the method of real-time communication to design and implement the scheme.The operation in the near infrared spectrum information sharing system of tobacco raw materials shows that the overall scheme design is reasonable.
【学位授予单位】:湖南师范大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.093
【参考文献】
相关期刊论文 前10条
1 张安琳,黄道颖,李潢琦;Windows程序的基本框架和消息机制[J];电脑开发与应用;2001年08期
2 章秦;;Win32多线程同步技术浅析[J];电子设计工程;2011年21期
3 王晓鹏;TCP/IP下的Socket及Winsock通信机制[J];航空计算技术;2004年02期
4 王晶;樊晓桠;张盛兵;王海;;多核多线程结构线程调度策略研究[J];计算机科学;2007年09期
5 陈增强,郭嘉琳,刘忠信,袁著祉;具有断点续传功能的文件传输系统的设计与关键技术[J];计算机工程;2002年12期
6 李刚;金蓓弘;;基于线程的并发控制技术研究与应用[J];计算机工程;2007年14期
7 何俊峰,谢高岗,杨建华;基于周期性网络流量模型的流量预测[J];计算机应用;2003年10期
8 贺智明;彭桃发;;基于ActiveX数据控件的Web信息系统平台设计[J];计算机应用与软件;2007年08期
9 黄竞斌;彭新一;黄志炜;;Windows环境下的进程监视系统的设计与实现[J];计算机与现代化;2010年10期
10 马赛红;朱爱红;李连;;基于ActiveX控件技术的B/S模式下公文处理的研究与实现[J];计算机与现代化;2011年07期
,本文编号:1738561
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1738561.html