Font Size: a A A

The Lightweight Multithreaded Implementation Of TCP/IP Protocol Stack

Posted on:2010-10-28Degree:MasterType:Thesis
Country:ChinaCandidate:M DuFull Text:PDF
GTID:2178360275491499Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
With the success of the Internet,the TCP/IP protocol stack has become a de facto standard for communication.And more and more smart devices need to be connected to the network,thus embedded TCP/IP protocol stack is a hot area of current research. However,the traditional TCP/IP implementations have required far too much resources and lack of support for multi-tasking,so its application is limited.In this paper,we study the characteristics of embedded systems and do some surveys of the existing embedded TCP/IP protocol stack in the memory management and multi-tasking management.We point out the strengths and weaknesses of the existing schemes and propose our new scheme of memory management and multithreading model.We apply our scheme to the realization of a lightweight embedded TCP/IP protocol stack with multithreaded support.First of all,in this paper,we study the standard TCP/IP protocol stack layering reference model in detail of each layer.And then we study the memory management mechanism in embedded system,and propose a new scheme of memory management for embedded TCP/IP protocol stack.Then we study the concurrency control for embedded system in depth,and propose a generic multi-threaded model with good portability called lwThread.Finally,we apply these technologies to the realization of embedded TCP/IP protocol stack.And the results of experiment show that this lightweight multi-threaded protocol stack has advantage in the resources consumption, concurrency control of multi-tasking and development methods.
Keywords/Search Tags:TCP/IP Protocol Stack, General Multithreading, Memory Management, Embedded System
PDF Full Text Request
Related items