计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2014年
9期
134-137,154
,共5页
TCP/IP协议栈%实时性%通信协议%内存管理%数据包优先级%介质访问
TCP/IP協議棧%實時性%通信協議%內存管理%數據包優先級%介質訪問
TCP/IP협의잔%실시성%통신협의%내존관리%수거포우선급%개질방문
TCP/IP protocol stack%real-time%communication protocol%memory management%packet priority%media access
为提高异构系统下网络通信的实时性,提出一种跨平台的实时TCP/IP协议栈( RTTCP/IP)实现方法。运用操作系统适配技术屏蔽底层数据处理的差异性,增强协议栈的可移植性和可扩展性;通过简化TCP/IP协议栈的结构,减少协议栈对系统资源的占用;采用内存映射技术,将内核空间地址映射到用户空间,避免用户与内核间的数据拷贝操作;引入基于时分多址的介质访问机制和数据包优先级策略,防止网络传输冲突,解决数据包优先级倒置问题。测试结果表明,RTTCP/IP实现方法能够减少系统开销和通信延迟,提高系统实时性和稳定性。
為提高異構繫統下網絡通信的實時性,提齣一種跨平檯的實時TCP/IP協議棧( RTTCP/IP)實現方法。運用操作繫統適配技術屏蔽底層數據處理的差異性,增彊協議棧的可移植性和可擴展性;通過簡化TCP/IP協議棧的結構,減少協議棧對繫統資源的佔用;採用內存映射技術,將內覈空間地阯映射到用戶空間,避免用戶與內覈間的數據拷貝操作;引入基于時分多阯的介質訪問機製和數據包優先級策略,防止網絡傳輸遲突,解決數據包優先級倒置問題。測試結果錶明,RTTCP/IP實現方法能夠減少繫統開銷和通信延遲,提高繫統實時性和穩定性。
위제고이구계통하망락통신적실시성,제출일충과평태적실시TCP/IP협의잔( RTTCP/IP)실현방법。운용조작계통괄배기술병폐저층수거처리적차이성,증강협의잔적가이식성화가확전성;통과간화TCP/IP협의잔적결구,감소협의잔대계통자원적점용;채용내존영사기술,장내핵공간지지영사도용호공간,피면용호여내핵간적수거고패조작;인입기우시분다지적개질방문궤제화수거포우선급책략,방지망락전수충돌,해결수거포우선급도치문제。측시결과표명,RTTCP/IP실현방법능구감소계통개소화통신연지,제고계통실시성화은정성。
In order to improve the real-time performance of a heterogeneous communication system,this paper proposes a cross-platform Real-time TCP/IP( RTTCP/IP) protocol stack. It introduces an OS independent layer in RTTCP/IP to shield the difference of system-level data processing to provide a good portability and extensibility. It simplifies the standard TCP/IP in RTTCP/IP so that less system resources are demanded, which makes RTTCP/IP a light-weight protocol stack. It avoids duplicating the data packets while delivering the data within the RTTCP/IP protocol stack,and it attempts to adopt a TDMA MAC in the RTTCP/IP protocol stack to avoid communication collisions. Besides, to guarantee the emergency data can be processed in the foreseeable period of time,it introduces a priority mechanism to tackle the thread,or packet,priority reversing problem. Test results show that the RTTCP/IP implementation method can reduce the system overhead and communication delay,and improve system real-time performance and stability.