基于FTP协议的文件传输服务器的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着现代信息技术的高速发展,网络通信技术在现代科技领域的应用日益深入,网络通信服务需求也越来越多,这样就需要有一个良好的服务器平台来满足用户日益增长的网络服务需求。因此研究设计服务器相关通信软件成为网络发展的一个热门课题。本文就是在此背景下研究并设计一个网络文件传输服务器软件平台。
     论文首先简述计算机网络的发展过程。然后介绍TCP/IP协议五层体系结构和每一层的功能,并且重点研究五层体系中的传输层协议TCP和应用层协议FTP。根据本服务器的设计要求和实现的功能,确定整个系统的总体框架模型。并展开对此文件传输服务器设计的详细说明。
     本课题的FTP文件传输服务器系统是在VC开发环境下、基于C/S模式、使用当前模块化软件设计思想编程实现的。在服务器设计时先总体设计服务器系统的整体模型,之后再分别设计前台的控制界面和后台服务器的框架,并详细研究搭建后台服务器所用到的六大模块的实现方法,和服务器运行时六大模块之间相互通信过程。最后使用Windows平台上通用的客户端软件和设计编写的测试软件对此信息传输服务进行测试,并对测试结果进行分析。
     本课题系统地研究文件传输服务器整体设计流程,加深了对服务器通信软件设计的理解。对于今后研发和设计出功能更加强大的服务器具有一定的理论和实践意义。本课题开发的软件将应用在导航研究所承担的吉林省交通厅科技项目“吉林省船舶动态监控信息系统”的研究中。
The network communication technology applied in the field of modern science and technology gets deepening and the demand for its service gets rising due to the high-speed development of modern information technology, so that a good server platform is a necessary to meet the growing demand of users for the network service. Based on this background that is the search and design of communication software concerning the server has become a hot topic during the development of the network, this article researches and designs a server platform for transmitting file information via the network.
     Firstly, the article outlines the development of the computer network, then introduces five layers architecture, among which the focus is on the Transport Layer Protocol (TCP) and the Application Layer Protocol (FTP), related to the TCP/IP protocols and the function in each layer. According to the design requirements and function to be realized on the server, the overall framework model is confirmed and a server for transmitting the information via the network is introduced specifically.
     The FTP file transmission server system is compiled in VC software environment to implement the system by making use of the modular software thought to design, based on the C/S mode. When the server system is designed, this article shows firstly the overall model of the server system, then describes the interface design and the server framework structure respectively, then elaborates the realization of the six modules used by building the background server and the communication between these six modules when the server is run. Finally, the Windows' common client software and the test software written by myself are used to test this server for file transmission and the test results are analyzed.
     With systematically researching the overall flow to design the server for the file transmission server to deepen the understanding for communication software design, the article has some theoretical and practical significance for designing the server with powerful improved function in the future. This server software that the thesis relates to will be applied in the project of "The Ships Dynamic Monitoring and Control Information System" carried by The Institute of Navigation.
引文
[1]谢希仁.计算机网络(第四版).北京:电子工业出版社,2003.
    [2]W.Richard Stevens.TCP/IP Illustrated Volume 1 the Protocols.北京:机械工业出版社,2000.
    [3]蔡勇.FTP服务器技术研究及实现.成都:电子科技大学,2005.
    [4]http://blog.csdn.net/topping/archive/2005/01/19/259754.aspx.
    [5]金惠文,陈建亚,纪红.现代交换原理.北京:电子工业出版社,2001.
    [6]http://210.34.61.1/cai/rrt/1/ch1-2.htm.
    [7]http://hi.baidu.com/icydog/blog/item/0b6fe9f8069bfd0cd8f9fd62.html.
    [8]http://www.norvel.com.cn/blog/user1/fandebing/archives/2007/3496.html.
    [9]Request For Comments 793.
    [10]汪晓平,钟军.Visual C++网络通信协议分析与应用实现.北京:人民邮电出版社,2003.
    [11]汪晓平,刘韬.Visual C++6.0开发网络典型应用实例导航.北京:人民邮电出版社,2006.
    [12]Request For Comments 959.
    [13]http://www.cnblogs.com/cuihongyu3503319/archive/2007/08/13/854299.html.
    [14]Douglas E.Comer.Internetworking with TCP/IP,Volume 1 Principles,Protocols,and Architecture(Fifth Edition).北京:人民邮电出版社,2006.
    [15]W.Richard Stevens,Bill Fenner,Andrew M.Rudoff.Unix Network Programming The Sockets Networking API,Volume 1(Third Edition).北京:清华大学出版社,2006.
    [16]王艳平,张越.Windows网络与通信程序设计.北京:人民邮电出版社,2006.
    [17]侯俊杰.深入浅出MFC第2版.湖北:华中科技大学出版社,2004.
    [18]本书编写组.Visual C++6.0 MFC类库参考手册.北京:人民邮电出版社,2004.
    [19]孙鑫.VC++深入编程.北京:电子工业出版社,2006.
    [20]Jim Beveridge,Robert Wiener.Multithreading Applications in Win32(侯捷).湖北:华中科技大学出版社,2005.
    [21]徐巧东.文件传输服务器优化仿真系统.辽宁:大连海事大学,2007.
    [22]Jeff Prosise.Programming Windows with MFC(Second Edition).北京:清华大学出版社,2002.
    [23]Microsoft Developer Network of Visual Studio.Net,2003.
    [24]易君.Visual C++.NET网络编程.北京:中国铁道出版社,2003.
    [25]钱能.C++程序设计教程.北京:清华大学出版社,2001.
    [26]Microsoft Developer Network of Visual Studio 6.0,2001.
    [27]吕风翥.C++语言基础教程.北京:清华大学出版社,2002.
    [28]http://qyxbx.meibu.com/bbsxp/ShowPost.asp?ThreadID=32.
    [29]http://hi.baidu.com/watersunshine/blog/item/0aa3da5821004983800a1887.html.
    [30]David J.Kruglinski.Inside Visual C++.北京:机械工业出版社,2000.
    [31]http://bbs.51cto.com/archiver/tid-4127.html.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700