Font Size: a A A

The Research And Implementation Of An Embedded TCP/IP Protocol Stack

Posted on:2007-09-21Degree:MasterType:Thesis
Country:ChinaCandidate:Z ChenFull Text:PDF
GTID:2178360185474843Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
Embedded system is one of the research hotspots of computer science and control fields in these days, and with the much more demands for micro-computer system from networking society, more and more embedded systems need to add communication function. The basic way to equip embedded system with network function is integrating network protocol for it. Generally, there are two types of embedded applications. For the first type, in order to deal with multi-tasks, we oftern use embedded operation system and also adopt the network protocol component provided by operation system. For the second type ,it only need simple network function, and no need to use embedded operation system, we oftern design and control the whole embedded software architecture , and design network protocol stack by ourselves. The key point to implement this kind of network protocol is: according to the resource urgent embedded application, simplify and rewrite the TCP/IP protocol stack used by commonly used computer system, through which can implement a lightweight protocol stack and suit to the actual application needs.However, there are still some insufficiencies in the research on this kind of network protocol at present. This paper focus on these shortcoming, then do some research and implemented MinIP. This paper discuss the way to simplify the commonly used TCP/IP stack firstly. In order to improve the security and make the modularization design, this paper put forward the way to add abstraction layer between IP and device driver. and MinIP also adopt the"static dualbuffer"to improve the efficiency of data buffer. This mechanism also make pointer move to substitute data copy, which can reduce the resource consumption. For TCP , this paper change the state machine and improve the TCP timeout timer mechanism, In order to meet the needs of"lean client", the complex state machine has been simplify. and with the view of decrease the energy consumption, we optimized the timer mechanism of TCP transmission . After that, base the way discussed before, this paper also describe the algorithm process and data structure.Finally, an example of apply MinIP to embedded network supervise equipment is provided. The result of test it on actual hardware platform can tell: MinIP has the...
Keywords/Search Tags:Embedded System, Network Protocol, TCP/IP, State Machine, Device Driver
PDF Full Text Request
Related items