journal6 ›› 2011, Vol. 32 ›› Issue (4): 68-70.

• Physics and electronics • Previous Articles     Next Articles

Data Collecting Software Design for Traffic Lights’ Signal Based on Multi-Serial Port and Multithreading


  1. (Loudi Vocational & Technical College,Loudi 417000,Hunan China)
  • Online:2011-07-25 Published:2012-04-07

Abstract: An improved data collecting method for traffic lights’ signal is presented,which uses multi-threading and multi-serial port technology to collect the traffic lights information from separate road junctions at the same time and uses synchronous technology to solve the interference from separate road junctions’ data information.A custom communication protocol is put forward for the both communicating sides to improve communication reliability and maintainability.The center-side PC can receive all the real-time information from separate road junctions and at the same time can send various control commands to the road junctions,which can greatly reduce the labor intensity of the management staff of separate road junctions.

Key words: data collection;multi-threading;multi-serial port;the traffic lights&rsquo, signal;communication protocol

WeChat e-book chaoxing Mobile QQ