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

计算机工程 ›› 2008, Vol. 34 ›› Issue (21): 199-201,. doi: 10.3969/j.issn.1000-3428.2008.21.071

• 人工智能及识别技术 • 上一篇    下一篇

基于多线程的集控式足球机器人上位机系统

景征骏1, 2,周 军2   

  1. (1. 江苏技术师范学院计算机科学与工程系,常州 213001;2. 河海大学机电工程学院,常州 213022)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-11-05 发布日期:2008-11-05

Host Computer System Based on Multithreading in Centralized Control Soccer Robot

JING Zheng-jun1,2, ZHOU Jun2   

  1. (1. Department of Computer Science and Engineering, Jiangsu Teachers University of Technology, Changzhou 213001; 2. College of Mechanical and Electrical Engineering, Hohai University, Changzhou 213022 )
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-11-05 Published:2008-11-05

摘要: 为满足系统的稳定性和处理数据的实时性,在分析集控式足球机器人系统运作原理的基础上,对系统进行任务分解并构造了基于多线程技术的其上位机子系统的体系结构。在实现该系统时,采用内核同步机制和Windows消息映射机制相结合的方式完成线程之间的同步,通过以循环链队列方式设计的多级缓冲区实现数据信息的传递。

关键词: 足球机器人, 多线程, 同步机制, 循环链队列

Abstract: To meet the stability and real-time to process data of centralized control robot soccer system, the architecture of its host computer system based on multithreading technology is introduced and constructed while system task is discomposed by analysing its working principles. In the realization process of system, this paper adapts the way of combining windows kernel synchronization mechanisms and message mapping mechanism to accomplish the synchronization between threads, and uses multi-level buffers designed in loop linking queue to transfer data.

Key words: soccer robot, multithreading, synchronization mechanism, loop linking queue

中图分类号: