基于局域网的文件传输系统的设计与实现
摘 要
随着互联网技术的迅猛发展,计算机通信给人类文明带来了翻天覆地的变化。很多情况下,人们的日常工作需要借助文件传输来完成。但大多数文件传输功能都需要借助移动磁盘等硬件设备或Internet上的服务器才能实现。这就给那些具有大规模内部网络的用户造成了许多问题,如浪费资金、浪费网络资源、病毒入侵、降低了工作效率等。为了方便局域网内主机的资源共享,需要开发一个基于局域网的文件传输工具,在内部网络中实现文件交换。http://www.16sheji8.cn/
基于局域网的文件传输系统的设计选用Delphi 为开发工具,以C/S模式通过建立Socket连接后实现局域网快速,准确,安全的点对点文件以及文件夹传输功能。本系统能够促进局域网内用户之间的文件资源共享,满足主机之间信息交流,确保文件及文件夹传输安全性,有效地提高工作效率。
设计共分为五大模块,分别为:一、介绍选题背景及意义和国内外研究现状;二、介绍TCP/IP点对点协议技术,C/S架构的Delphi程序设计技术和Socket网络编程技术;三、对当前局域网文件传输进行需求分析并提出解决方案;四、根据解决方案对系统进行设计;五、对基于局域网的文件传输系统进行测试并得到测试结果。http://www.16sheji8.cn/
关键词:C/S结构;网络通讯组件;点对点;Socket连接
The Design and Implementation of File Transfer System Based on LAN
Abstract
Along with the Internet technology swift and violent development, the computer correspondence the human culture has brought the earth-shaking change for. In very many situations, people's routine work needs to draw support from the file transfer to complete. But the majority file transfer function all needs to draw support moves hardware equipment or the Internet and so in the floppy disk server can realize This gave these to have the large-scale internal network user to create many problems, like the waste fund, the waste network resources, the viral invasion, reduced the working efficiency and so on. In order to facilitate in the local area network main engine resources sharing, needs to develop one based on the local area network file transfer tool, realizes the document exchange in internal network.
The design and implementation of file transfer system base on LAN uses Delphi development tool,C/S mode through the establishment of Socket after connecting LAN users fast, accurate, the point-to-point security files and folders transmission functions. The system can contribute to LAN users to share file resources to meet the exchange of information between mainframe, ensure that the filets and folders transmission security, effectively improving efficiency.
The design is divided into five major module altogether, including: First, introduction selected topic background and significance and domestic and foreign research present situation; Second, introduces the TCP/IP point to point protocol technology, C/S overhead construction Delphi programming technique and the Socket network programming technology; Third, carries on the demand to the current local area network file transfer to analyze and to propose the solution; Fourth, carries on the design according to the solution to the system; Fifth, to carries on based on the local area network file transfer system tests and obtains the test result.http://www.16sheji8.cn/
Key words: C/S structure; Network communication module; Point-to-point; Socket connection.
目 录
论文总页数:26页
1 引言 1
1.1 选题背景 1
1.2 国内外研究现状 1
1.3 课题研究的意义 1
2 理论基础 2
2.1 TCP/IP点对点协议技术 2
2.2 C/S架构的DELPHI程序设计技术 2
2.3 SOCKET网络程序设计技术 3
3 系统需求分析 4
3.1 现行业务系统描述 4
3.2 现行系统存在的主要问题分析 4
3.3 提出解决方案 4http://www.16sheji8.cn/
4 系统设计 5
4.1 系统总体架构 5
4.2 系统界面设计 6
4.2.1 界面设计 6
4.2.2 用户信息 7
4.3 系统功能模块设计 9
4.3.1 获取用户信息 9
4.3.2 局域网内文件传输 13
4.3.3 局域网内文件夹传输 17
5 系统实施及测试 22
5.1 实施概况 22
5.2 测试方案 22
5.3 测试结果 23
参考文献 24http://www.16sheji8.cn/
致 谢 25
声 明 26
1 引言
1.1 选题背景
当今世界科学技术飞速发展,尤其以计算机通信网络为代表的互联网技术更是日新月异,令人眼花燎乱,目不睱接。在计算机与网络迅速发展的今天,借助于网络进行信息资源交流给人们带来了极大的方便。各种文件传输系统都已被广大用户接受。比如QQ、UC、Internet邮件等互联网中运用最为广泛的文件传输工具,但它们之间的文件传输往往对远程服务器有非常大的依赖性,没有彻底实现点对点安全的文件传输。甚至需要花费大量的金钱购买各种移动磁盘或者其他局域网内连接主机的硬件设备。而达到的效果却总是因为传输效率以及安全威胁而受到很大的限制。在这种形势下,开发一个功能简单而实用,能在Windows操作系统中运行,并且具有可移植性的局域网内文件传输工具势在必行。