Design and Implemen of the Timer and Multi-Connection Management in TCP Protocol Processing Unit
- Author
- ZhangPeng
- Advisor
- FuYuZhuo
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 102
- Citations
- 0
Abstract
TCP/IP becomes the foundament and standard in the Internet field in recent years. With the network speed rapidly increasing, CPU can’t afford the network bandwidth, and requires a specific processor to deal with the Internet protocols. So the TCP/IP protocol processor becomes an efficient and a must method to offload CPU burdens.This thesis proposes a TCP/IP Internet Protocol Processing System (IPPS) architecture, which can be widely used in kinds of networks. IPPS is to implement transport layer, network layer, data link layer and physical layer protocols of TCP/IP suite, and support infinite numbers of connections. It can be well used in high-speed network and limited-resource devices.In this paper, the management of multi connections and timer mechanism are inside TCP module are well introduced. And start from this, the entire architecture of IPPU is also described as well. Major features of the design:1, software-free: all the design is implemented by hardware.2, dynamic memory allocation: when a connection needs to be established, a block of memory will be assigned and when a connection is closed, the block will be got back and can be assigned to any other new connection.3, simple logic interface: data will live in memory and do not need to move, different modules talk to each other by descriptor, which contain all information.4, stand-alone timer: a special module inside the TCP module, which can provide all functions the TCP module needs and make all other submodules inside TCP module no need to warry about the complex timer mechanism in TCP protocols.5 Multi connection management: this is a core function inside TCP module. It provide the TCP module the ability to deal with thousands connections by using one set of operating unit.6 good expansibility: on system level, more function modules can be added to the system by simply connecting to AHB bus. And on module level, the TCP module can support up to 4 thousand connections by smply increade the sram inside TCP module.
Table of contents
Summary 5-7
Abstract 7-14
The first chapter 14-17
1.1 subject background 14-15
1.2 Significance 15
1.3 article structure 15-16
1.4 research 16-17
Chapter II TCP / IP protocol stack 17-24
2.1 TCP / IP protocol suite 17-23
2.1.1 IP protocol ( Internet Protocol ) 18-19
2.1.2 UDP protocol ( User Datagram Protocol ) 19-20
2.1.3 TCP (Transmission Control Protocol ) 20-21
2.1.4 ICMP protocol (Internet Control Message Protocol ) 21-22
2.1.5 IGMP protocol (Internet Group Management Protocol ) 22-23
2.1.6 ARP ( Address Resolution Protocol ) 23
2.1.7 RARP ( Reverse ARP ) 23
2.1.8 application layer protocol 23
2.2 section 23-24
Chapter III protocol processor architecture design 24-29
3.1 System Architecture 24-25
3.2 AHB bus describes its implementation in IPPU the 25-27
3.3 TCP protocol modules 27-28
3.4 section 28-29
Chapter IV TCP protocol timing mechanism design and implementation 29-61
4.1 TCP protocol timing mechanism 29-39
4.1.1 TCP protocol state diagrams 29-30
4.1.2 connection is established and the connection is closed 30-33
4.1.3 acknowledgment and retransmission timeout 33-34
4.1.4 Flow Control 34-35
4.1.5 Congestion Control 35-37
4.1.6 Zero window probe 37-38
4.1.7 keep-alive mechanism 38-39
4.2 TCP protocol timers 39-45
4.2.1 retransmission timer 39-40
4.2.2 delayed ACK timer 40-42
4.2.3 persist timer 42-43
4.2.4 connection establishment timer 43
4.2.5 keep-alive timer 43-44
4.2.6 FIN_WAIT_2 timer 44
4.2.7 2MSL timer 44
4.2.8 RTT timer 44
4.2.9 Timer summary 44-45
4.3 TCP protocol timer hardware implementation 45-60
4.3.1 timer module design 46-50
4.3.2 SRAM design 50-51
4.3.3 FIFO design 51-52
4.3.4 TCU design 52-60
4.4 section 60-61
Chapter V multi- protocol TCP connection management 61-77
5.1 connection switching controller architecture design 61-69
5.1.1 and Socket communication and IP layers 61-63
5.1.2 module division and external interfaces 63-66
5.1.3 CSC processing and internal block diagram of 66-69
5.2 CSC sub-module detailed design 69-75
5.2.1 Csc_Desc design 69-70
5.2.2 Csc_tme design 70-71
5.2.3 Csc_dqt design 71-72
5.2.4 Csc_tmg design 72-73
5.2.5 Csc_tcb design 73
5.2.6 Csc_ccu design 73-75
5.3 TCPM performance analysis 75-77
Chapter VI Summary and Outlook 77-80
Thanks 80-81
master's degree during the accepted papers have been published or 81
Related dissertations
- Design and Implementation of a Remote Computer Room Monitoring System
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- The Design of Integrated Circuit Board Remote Maintenance Online Monitoring System
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research
- Research on On-line Diameter Measurement System Based on FPGA