摘要: 提出了一种支持多线程实时应用的嵌入式TCP/IP协议栈实现方法,并结合应用实例予以阐述。针对远程医学显微图像诊断应用,在实时内核µC/OS-II与32位ARM7 Core的软硬件平台上,以中间件模式实现了嵌入式TCP/IP协议栈。通过合理构建嵌入式HTTP服务端实现架构,建立了系统资源复用机制,支持了多线程实时应用。实验结果表明,基于软硬件平台模式开发的嵌入式Web服务器,实现了复杂系统基于Internet的数据服务功能,系统可靠性高、资源消耗低、实时性强,是一种可行的设计方案。
关键词:
平台,
µ,
C/OS-II,
ARM,
TCP/IP,
多线程
Abstract: This paper presents the implementation method of embedded TCP/IP for multi-thread and real-time application, together with the supporting example for explanation purpose. Aiming at the application of medical microscope digital images diagnoses, it implements embedded TCP/IP stacks based on the software-hardware platform of µC/ OS-II and ARM7 Core in middleware development method. By collocating rationally the architecture of embedded HTTP Server, establishing the reuse mechanism of system resource, it supports the multi-thread and real-time Internet application. The experiment shows that the embedded Web server performs well. The development modes based on software-hardware platform increases the stability of system and shortens development time. It is a feasible development method.
Key words:
Platform,
µ,
C/OS-II,
ARM,
TCP/IP,
Multi-thread
中图分类号:
白瑞林;吴广霖. 嵌入式TCP/IP协议栈多线程应用的实现[J]. 计算机工程, 2006, 32(18): 84-86.
BAI Ruilin; WU Guanglin. Implementation of Embedded TCP/IP for Multi-thread Application[J]. Computer Engineering, 2006, 32(18): 84-86.