成都理工学院学报
成都理工學院學報
성도리공학원학보
JOURNAL OF CHENGDU UNIVERSITY OF TECHNOLOGY
2001年
1期
103-106
,共4页
pSOS%TCP/IP%进程%队列%消息
pSOS%TCP/IP%進程%隊列%消息
pSOS%TCP/IP%진정%대렬%소식
阐述了在pSOS多任务实时操作系统内核上如何实现TCP/IP功能模块,按照TCP/ IP协议的层次结构,采用标准C语言以多进程方式对TCP/IP协议分层实现。IP是TCP/IP协议 软件设计的中心环节。队列和缓冲区的管理以及进程间通信是提高协议软件效率的关键。
闡述瞭在pSOS多任務實時操作繫統內覈上如何實現TCP/IP功能模塊,按照TCP/ IP協議的層次結構,採用標準C語言以多進程方式對TCP/IP協議分層實現。IP是TCP/IP協議 軟件設計的中心環節。隊列和緩遲區的管理以及進程間通信是提高協議軟件效率的關鍵。
천술료재pSOS다임무실시조작계통내핵상여하실현TCP/IP공능모괴,안조TCP/ IP협의적층차결구,채용표준C어언이다진정방식대TCP/IP협의분층실현。IP시TCP/IP협의 연건설계적중심배절。대렬화완충구적관리이급진정간통신시제고협의연건효솔적관건。
This paper shows how to realize TCP/IP in the pSOS mul ti-task real-time operation system according to the hierarchical structure of TCP/IP using the sta nda rd C language. The protocol software is in the form of several correlative proce sses which run simultaneously and communicate each other. IP process is the cen ter of the design of TCP/IP. It processes both input data and output data. The TCP/IP module can be embed in the kernel of pSOS, which provides a socket inte rfac e for the application. The TCP/IP software is portable. It can be easily tra nsplanted to the other platform.The management of queues and buffers and the pr oce ss-to-process communication are the keys to improve the efficiency of the prot ocol software.