The Design and Implementation of a Large File Distribution Protocol Based on UDP
- Author
- LiuShengZhi
- Advisor
- ZhangZongSheng
- School
- Jilin University
- Major
- Network and Information Security
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 39
- Citations
- 0
Abstract
This paper design and implement a new application protocol based on UDP and it oriented to solve the large file distribution across wide area network. The most common scenario to use this protocol is to distribute a large file from single file server to a number of receiving clients. where the bidirectional communication between the file server and each receiving client can be established. We carefully design our protocol to provide a high throughput, high reliable protocol. Besides, we adopt appropriate algorithm to overcome the flow control and rate control problem. The protocol is named UDPF. UDPF protocol is originally designed to fit into the switch network environment where a large file usually several Gigabit Bytes needs to be distributed to a group of receivers. But this protocol is implemented based on UDP thus can be used on Internet and other similar scenarios.Some popular file transfer protocols are also investigated and compared. In similar situations. BitTorrent protocol is also a good choice. BitTorrent use TCP as its underlying protocol and can delivers large files very fast when the receiving clients get more and more. But it has the well-knwned problem of file ownership and would consume significantly network band-width. Although some flow control strategy is added the questions remain outstanding. The second reason why we not choose BitTorrent is that in our working environment there is only one seed at the beginning so the BitTorrent protocol gets little advantages. Current file transfer protocols such as FTP all based on TCP. but TCP is too heavy to our situation.UDPF based on UDP which is a very lightweight transport protocol providing connectionless transport services. Due to its lightweight there is much more room for developers to customize UDP according there particular needs.UDPF protocol is divided into two sub-protocols. One is used to solve the problem in unicast transmission model. in this way the receiving nodes are organized as a balance binary tree. The other sub-protocol uses multicast technology to send the data to groups of receivers. The two sub protocols are named UDPFU and UDPFM respectively. These two sub-protocols are used in different situations. The former is used in a high delay network where the connection is slow and unstable, or the situation where some intermediate communication devices can not support multicast very well. UDPFU protocol aimed to provide high throughput and high reliability. The protocol organize all the receivers to form a balance binary tree so that the huge network flow can be dispersed in the network, and improve performance remarkably. In contrast, UDPFM protocol is supposed to be used in the high speed, low latency and high reliability network, where all receiving clients has similar capabilities. UDPFM protocol divide the transfer process into four phases:1)communication initialization, in this phase the server and all clients negotiate the transfer parameters, such as transfer rate, how many channels, the public and private multicast address etc.2) transfer initialization phase, in this phase the file meta data are multicast to the receiving clients.3) data transferring phase, in this phase the file contents are encapsulated into packets and be sent out to a multicast group, where all receiving clients are expected to listen. FEC technique is used to minimize the packets retransmission. Each packet contains the sequence number so that client can reorganize the packet in correct order. ACK/NACK mechanism is used to prevent packets from losing during transmission.4) After file transferring complete, the protocol enter complete phase, in the phase all packets losing are retransmitted and each finished client quit the multicast group.
Table of contents
Summary 4-5
Summary 5-7
Abstract 7-11
Chapter 1 Introduction 11-15 <br / > 1.1 Background 11-13
1.2 research objectives 13
1.3 significance 13-14
1.4 This paper work and thesis structure 14-15
relevant technical overview Chapter 2 15-28
2.1 TCP protocol brief analysis 15-16
2.2 TCP-based file transfer protocol Summary 16-19
2.2.1 FTP transmission 17-18
2.2.2 RSYNC transfer 18
2.2.3 BitTorrent transmission 18-19
2.3 UDP and UDP-based file transfer protocol overview 19-21
2.3.1 UDP protocol outlined 19-20
2.3.2 TFTP Protocol Overview 20-21
2.4 IP multicast and UDP multicast 21-24
2.5-many broadcast-based file transfer protocol 24-26 < br /> 2.6 balanced binary transmission topology 26-28
Chapter 3 unicast transmission protocol design and balanced binary transmission model 28-39
3.1 based on UDP unicast protocol design problem analysis 28-30
3.2 high-throughput design 30
3.3 Flow Control 30-32
3.4 unicast transmission model 32-34
3.4.1 connection establishment phase 32-33
3.4.2 Data transfer phase 33-34
3.4.3 Connection closed stage 34
3.5 control packet loss detection and treatment strategies 34-38
3.5.1 Timer-based packet loss detection 34-36
3.5.2 using the producer / consumer model optimization packet loss detection 36-38
3.6 balanced binary transmission model 38-39
Chapter 4 multicast transport protocol design 39-44
4.1 Protocol Overview 39
4.2 protocol design 39-44
4.2.1 Data transmission reliability and flow control 39-41
4.2.2 FEC coding technology 41-43
4.2.3 multicast channel number and the respective rate determined 43-44 <br / > Chapter 5 Performance Test and contrast 44-49
5.1 test environment described 44-46
5.2 unicast transmission performance comparison 46-47 <br / > more than 5.3 Multicast Test 47-48
5.4 Summary 48-49
References 49-51
authors and school achieved during the research 51-52
Thanks 52
Related dissertations
- Design and Implementation of Network Video Moinitor System Software Based on Network
- System Design and Management of IPTV Network
- Multimedia Research and implementation of network transmission
- Design and Implementation of a Communication Platform for Internet-based Teleoperation
- The Applications of Multicast and Qos Techniques in Telecommunication IP Network of Campus Network
- Research and Implementation of Network TV on the Campus
- Design and Simulated Implementation of Multicast Protection Algorithms Based on p-Cycle in Multi-Domain Optical Networks
- Research of EPON ONU Configuration Management Technology
- Research on Routing and Spectrum Allocation Algorithm in Cognitive Wireless Mesh Networks
- Design and Implementation of WLAN Reliable Multicast Transmission and Its Network Management
- Research on Genetic Algorithm Based QoS Multicast Routing in Wireless Ad Hoc Network
- Studies on Mluticast Switching Simulation of Self-similar Traffic
- Research on Key Technology of On-chip Multicasting Communication Based on2D Mesh Network
- Research on Key Techniques of Bufferless Router for Network-on-chip
- Research and Development of the Dynamic MES System Rrepair Module
- Software Design of Tunnel Information Automatic Monitoring System
- Critical Industrial Control System Communication Interface Software Technology Research and Design
- Design and Achievement of Networked Remote Control System of the Four-Dof Manipulator
- Design and Key Technologies of a Spacecraft Telemetry Logger
- Design and Implementation of Network-building Programs in Guangdong Textile Vocational Technology College