节点文献

单片机嵌入式TCP/IP协议的研究与实现

The Research and Implementation of TCP/IP Protocol Embedded in Microcontrollers

【作者】 焦继业

【导师】 王勉华;

【作者基本信息】 西安科技大学 , 电力电子与电力传动, 2003, 硕士

【摘要】 随着网络的迅猛发展,利用Internet控制电子设备成为必然。目前许多电子设备没有具备网络传输数据功能,所以网络传输设备得到了广泛的应用。 本文从利用Internet控制电子设备的发展入手,引出了电子设备网络化的必然性,然后论述了几种实现电子设备网络化的方法,重点讨论利用单片机控制网卡实现网络传输的技术,并使其成为本文工作的中心任务。第二章介绍了TCP/IP协议结构,重点介绍了ARP、IP、UDP、TCP等协议的内容。第三章给出整个硬件原理框架,着重讲述了如何编写RTL8019AS的网卡驱动程序。第四章在严格遵守TCP/IP协议的基础上,充分考虑了单片机的各种资源,给出了利用C51实现TCP/IP协议栈的流程。第五章介绍了利用Windows的Socket编程实现网络传输的方法。按照Socket流程实现了Windows的UDP、TCP协议,给出网络调试界面。第六章详细阐述了网络传输设备硬件接口和测试方法。最后对整个系统进行了总结。 本文设计的这种嵌入TCP/IP协议的单片机系统板,具有成本低、硬件少、占用面积小、传输速度快、使用方便等优点。特别适用于现有的网络传输系统,在数据采集、数据传输等领域有广泛的应用前景。

【Abstract】 With the rapid development of the network, it is necessary to use internet to control the electronic equipment. Now, because many electronic equipment can’t transmit data by internet, the network transmission equipment is applying abroad.The using internet to control the equipment is first proposed in this paper, and then the necessity of the network in equipment is emphasized. After that several kinds of realizing methods of network in equipment are discussed, especially the Microcontrollers control network card to realize the transmission by internet. In chapter 2, the TCP/IP protocol flame is simply studied, and the ARP, IP, UDP and TCP protocol are mainly discussed. The theory block of TCP/IP protocol is provided in chapter 3, and how to programme the driver of RTL8019AS network card is mainly discussed. In chapter 4, in the case of the TCP/IP protocol, the grogramme flow chart with C51 is programmed on the condition of consideration all resource of microcontrollers. In chapter 5, the UDP and TCP protocol are programmed by using the windows Socket function, then the flat of test programme in windows is provided. In chapter 6, the hardware interface and test methods of the transmission equipment is given. Finally, we reach a conclusion.This microcontroller systems embedded TCP/IP protocol is proposed in the paper has many advantages, such as lower cost, fewer component, smaller area of hardware, higher transport speed, and easier to use. The system is fit for all of the network transmission systems, and also adapted to data collecting and data monitoring.

【关键词】 TCP/IP协议RTL8019ASSocket网络传输单片机
【Key words】 TCP/IPprotocolRTL8019ASSockettransmission in networkMicrocontroller
  • 【分类号】TP368.1
  • 【被引频次】17
  • 【下载频次】2920
节点文献中: 

本文链接的文献网络图示:

本文的引文网络