多线程技术在地铁屏蔽门监控系统开发中的应用
胡彩旗1,侯庆松2,隋仁东1
(1.青岛农业大学 机电学院,山东 青岛 266109;2.山东五征集团有限公司,山东 日照 262300
摘要:为满足地铁屏蔽门监控系统对稳定性、实时性、可扩展性和抗干扰性等方面的要求,提出把多线程技术应用到地铁屏蔽门监控系统软件的开发中。在该系统中需要对多个任务如发送、接收指令、声光报警、信息查询和信息打印等同时处理,采用多线程技术设计同时处理多个任务的应用程序,采用信号量和互斥量实现线程间的同步,并给出典型线程的程序框架。实际运行结果表明该系统能达到预期效果。
关键词:地铁屏蔽门;监控系统;多线程技术;实时性
中图分类号:TP336             文献标识码:A         文章编号:1006-0316 (2012) 08-0063-04
Application of multi-thread technology into the monitoring system of metro platform screen doors
HU Cai-qi1,HOU Qing-song2,SUI Ren-dong1
(1.Department of Mechanical and Electrical Engineering,Qingdao Agricultural University,
Qingdao 266109,China;2. Shandong Wuzheng Group Co., LTD, Rizhao 262300,China)
Abstract:In order to meet the requirements such as the stability, real-time, scalability, and anti-jamming for Metro Platform Screen Doors Control System, this paper presents the application of multi-threading technology to system software development. Multi-thread technology is used to handle multiple tasks at the same time. Semaphore and mutexes is used to implement synchronization between threads and program codes are given for typical threads. The practical operation shows that the system can achieve the desired results.
Keywordsmetro platform screen doorsmonitoring systemmulti-thread technologyreal-time

———————————————
收稿日期:2011-03-10
作者简介:胡彩旗(1974-),山东郯城人,博士,副教授,主要研究方向为机电产品应用系统开发和机械产品CAD/CAE。

 

设为首页  |  加入收藏    |   免责条款
《机械》杂志版权所有     Copyright©2008-2012 Jixiezazhi.com All Rights Reserved 

  电话:028-85925070    传真:028-85925073    E-mail:jixie@vip.163.com

地址:四川省成都锦江工业开发区墨香路48号   邮编:610063

蜀ICP备08103512号

Powered by PageAdmin CMS