Font Size: a A A

Research On Transmission Design And Application Of NewIP Protocol Stack Based On LiteOS

Posted on:2023-11-15Degree:MasterType:Thesis
Country:ChinaCandidate:D D ShenFull Text:PDF
GTID:2568306914477664Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
It is because of the continuous development of computer network that more and more network devices need to access the Internet.The deficiencies in the protocol are gradually exposed,such as limited address space,high resource consumption caused by long addresses,and lack of protocol flexibility.The NewIP protocol studies the flexible and variablelength address structure and protocol header,which can not only solve the problem of the shortage of addresses,but also improve the flexibility of the protocol to meet the characteristics of different networks.As a lightweight operating system for the Internet of Things,LiteOS is widely used in scenarios such as smart home,Internet of Vehicles,and wearable devices due to its ultra-small kernel and low power consumption.In this paper,we aims to study the transmission design and application of the NewIP protocol stack and implement it in the LiteOS operating system.The main research work and innovation points in this paper are as follows:(1)This thesis designs and implements the message transmission process of the NewIP protocol stack in the LiteOS operating system.Based on the in-depth study of the existing IP protocol transmission process and processing methods in LiteOS,this thesis first designs the network data packet structure and management interface that conform to the flexible and variable-length characteristics of the NewIP protocol.Then,according to the hierarchical structure of the network protocol stack,the transmission functions of the corresponding protocol layers are implemented sequentially from bottom to top,including the initialization of the NewIP protocol and the sending and receiving of messages in the network interface layer,the header processing of the NewIP protocol and the sending and receiving of messages in the network layer,the adaptation processing of UDP protocol to NewIP and the corresponding message sending and receiving process in the transport layer.(2)This thesis designs and implements a demonstration TFTP application based on NewIP protocol stack for file transfer.Based on the analysis of the application adaptation requirements and application implementation process of the NewIP protocol stack in LiteOS,this thesis selects TFTP as a demonstration application based on the basic transmission function of the NewIP protocol stack,and implements TFTP server and client for simple file transfer through NewIP protocol stack.(3)This thesis builds a test environment to test and verify the transmission function of the NewIP protocol stack and the function of TFTP application in LiteOS.This thesis builds a test environment based on a hardware development board and a physical machine.First of all,this thesis verifies the transmission function of each protocol layer of the NewIP protocol stack,and then tests and analyzes the overall transmission function of the protocol stack in various scenarios.Finally,this paper tests the basic file upload and download functions of the TFTP server.The experimental results show that the LiteOS-based NewIP protocol stack and the adapted TFTP application designed and implemented in this thesis can meet its basic functional requirements and meet the design requirements of the NewIP protocol.
Keywords/Search Tags:LiteOS, NewIP, network protocol stack, transmission of packet, application of protocol stack
PDF Full Text Request
Related items