| In recent years,with the development of electronic technology and intelligent transportation technology,smart cities make full use of emerging technologies to create a better urban life for mankind.At present,the construction of smart cities has become the focus of research in countries around the world,As the core travel tool of the city,the development of buses is also the focus of smart city construction.With the dramatic increase in the number of on-board bus devices,the monitoring of on-board equipment,the collection of operational data and Safe driving,the current working model can no longer meet the needs of buses,drivers,passengers and dispatching offices.Therefore,it has become more and more urgent to realize data sharing,real-time monitoring and Safe driving.This is the focus of the current development of intelligent transportation,and it is also of great significance to the safe operation of vehicles and assisted driving.In this paper,we design a system for bus operations using the software and hardware resources available for current smart bus systems.The core of this is the development of a 4G vehicle-mounted gateway and cloud platform client,through which the vehicle-mounted equipment data can be detected,collected and transmitted in real time,and the cloud platform client can collect and process the data to realize the communication between buses,people and dispatching rooms.At the same time,image monitoring,vehicle attitude monitoring,trajectory monitoring,safety warning,real-time positioning and multifunctional device access are realized.The specific work includes the following aspects:(1)Firstly,we analyze the application background and requirements of the current public transportation cloud platform system.Aiming at the deficiency of current application scenarios,this system scheme is designed based on the research of key technologies of cloud platform system.The function design framework of bus cloud platform system,which consists of 4G on-board gateway and cloud platform client,is presented.(2)According to the design requirements of 4G in-vehicle gateway,we take NXP’s i.MX6 ULL series industrial-grade processor as the core to build the gateway hardware equipment,and design the minimum hardware system circuit and peripheral circuits of the in-vehicle gateway,draw PCB,weld and debug.Based on the Linux kernel,we configured the gateway software development environment and developed the application program,which realized the functions of 4G network communication,GPS positioning data collection,vehicle running image collection,vehicle running posture monitoring and early warning,and verified the rationality and reliability of the hardware circuit design of 4G vehicle gateway.(3)According to the design requirements of the cloud platform client,the cloud platform client is developed based on the MVC framework mode.We use Socket communication to achieve long-term connection,and realize real-time information interaction and data collection between the client,the server and the vehicle gateway.And display and process the remotely collected GPS positioning data,vehicle running images,and vehicle running attitude data.At the same time,we also judge the running state of the vehicle,and realize the remote monitoring of the running state of the vehicle,so as to ensure the normal operation of the vehicle.Finally,we tested each functional module of the in-vehicle gateway separately,and compared it with the cloud platform client data,completed the software and hardware tests of the system,and verified the feasibility of the solution. |