| With the rapid increase in the number of motor vehicles,traffic safety and energy consumption are becoming increasingly serious.New energy vehicles and internet of vehicles have emerged at the historic moment.Internet of vehicles technology is V2 X,As a technical support for new energy vehicles,it monitors real-time status of new energy vehicles,which greatly improves vehicle driving safety,and has become the standard configuration of new energy vehicles.The vehicle terminal,as the hardware foundation of the internet of vehicles,has an irreplaceable role,so this article has developed a vehicle intelligent terminal,which establishes a connection with the cloud server through a 4G wireless network,achieves the information interaction between them,and completes the vehicle information collection,remote vehicle control and upgrade function.First of all,the paper introduces and analyzes the research status and development of internet of vehicles and vehicle-mounted intelligent terminals,and determines the main research content of this article.Combining the market functional requirements,internship projects and hardware platform with i.MX6S(MPU)as the core processor,and put forward an overall software design plan.First Choose Linux as the operating system,and then determine the overall architecture of MPU,the program function design of APP application layer,and the main thread flow of MPU.Then,using i.MX6 S as the core board,the transplant operation of embedded Linux system is carried out.Firstly use Ubuntu 18.04 as the software development environment,install the cross-compilation tool chain;then transplant and compile U-boot,linux kernel and root file system.After the underlying development environment is configured,the software program functions are designed,including using the Socket principle to implement CAN communication and establishing a cloud server connection,using the GPSD to obtain current positioning information,and the vehicle attribute information(vehicle running status,speed)and positioning information is uploaded to the cloud platform to achieve the basic functions of the vehicle-mounted terminal.In addition,the paper also developed the functions of vehicle remote control,remote OTA upgrade,and establishment of WIFI hotspot.Finally,simulation tests and real car tests are performed.Using CANoe software to build a remote control simulation model and writing code in CAPL language,the remote control function was verified,and the real-time data information of the vehicle was also verified.The actual vehicle test uses the monitoring platform to verify the real-time information upload function of the vehicle to check the vehicle data,positioning data,etc.At the same time,the remote command is send to the terminal through the OTA electronic control platform to verify the feasibility of remote upgrade. |