摘要
以80C51单片机数据采集系统为研究对象,分析嵌入式传输控制协议(TCP)通信中速率较慢的可能原因.提出两点提高其传输效率的新方案,即修改上位机Nagle算法的延时确认时间,以及修改下位机TCP协议程序.实验结果表明:在相同的数据量(4 MB)下,经过修改的嵌入式TCP层通信速率在局域网中可以达到40~50 kB.s-1,是未修改前的10倍.
Taking the 80C51 single-chip data acquisition system as study object,this paper analyzes the possible reasons for slower speed,finally designs two solutions for improving the transmission efficiency of embedded transmission control protocol(TCP) communication.That is,modifying the host computer confirm time delay of Nagle algorithm or modifying the TCP protocol procedure for the lower computer.The experimental results indicate that the revised speed of embedded TCP layer communication in the LAN can reach 40~50 kB·s-1,which is 10 times faster than the pre-amendment one at the same amount of data.
出处
《华侨大学学报(自然科学版)》
CAS
北大核心
2011年第2期235-237,共3页
Journal of Huaqiao University(Natural Science)