作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (18): 84-86. doi: 10.3969/j.issn.1000-3428.2006.18.030

• 软件技术与数据库 • 上一篇    下一篇

嵌入式TCP/IP协议栈多线程应用的实现

白瑞林,吴广霖   

  1. (江南大学控制科学与工程研究中心,无锡 214012)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-09-20 发布日期:2006-09-20

Implementation of Embedded TCP/IP for Multi-thread Application

BAI Ruilin, WU Guanglin   

  1. (Research Center of Control Science and Engineering, Southern Yangtze University, Wuxi 214012)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-09-20 Published:2006-09-20

摘要: 提出了一种支持多线程实时应用的嵌入式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

中图分类号: