线程池技术在车流监控系统中的应用  被引量:5

Application of thread pool technology in the traffic monitoring system

在线阅读下载全文

作  者:闫保中[1] 张波[1] 

机构地区:[1]哈尔滨工程大学自动化学院,黑龙江哈尔滨150001

出  处:《应用科技》2011年第10期18-22,共5页Applied Science and Technology

摘  要:车流监控系统可以利用射频识别(radio frequency identification,RFID)技术有效地获取车流信息,为道路的疏导和管理提供信息支持.针对车流监控系统服务器需要并行地接受大量客户机的服务请求的问题,分析了由于多线程频繁的创建和销毁线程造成系统开销的浪费、服务器响应速度慢的缺点;结合系统多连接、断续性、集中性和持续性的特点,提出了基于线程池技术的服务器模型,并分析说明了线程池的工作原理,最后给出了系统的框架代码.经过仿真测试表明,本系统稳定可靠,对于解决服务器并行操作问题,具有很好的通用性.Radio frequency identification(RFID) can be used by the traffic monitoring system to get traffic information effectively and offer information support for road guidance and management.According to the question that a large number of parallel client service requests need to be accepted by the server of traffic control system,this paper analyzes multi-threaded shortcomings caused by its frequent creation and destruction of threads,and these shortcomings cause overhead wastes and affect the server response.Combined with traits of more connections,discontinuity,concentration and persistence,the server model based on the thread pool technology is offered,the working principle of the thread pool is analyzed and then the framework code of the system is given.Simulation shows that the system is reliable and versatile for solving the parallel operation problem.

关 键 词:车流监控 线程池 多线程 射频识别 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象