As a product of the industrial revolution,automobiles have now entered every household,bringing great convenience to people’s travel life.In response to the call for energy saving and emission reduction at this stage,non-road electric vehicle industry is developing rapidly.More and more electric vehicles will replace oil and gas vehicles in the future.Modern electric cars are different from cars decades ago.There are a huge number of internal electronic control units.The communication between them and the outside world relies on the more powerful and complex Internet of Things.Based on the controller area network,this article aims to successfully realize the communication between the internal electronic control units of electric vehicles through this type of electronic network bus.At the same time,a series of safety protections for the communication network of electric vehicles are proposed.First of all,this paper analyzes the theoretical knowledge of the controller area network and builds a simulation platform combined with the hardware.Then,this paper designs a set of communication protocol,successfully realizes the communication of the electric vehicle battery management system on the simulation platform.The controller area network message contains two parts of the ID field and the data field,this paper proposes two solutions to detect the controller area network intrusion.The first is based on the ID field of the message.The second is based on the data field of the message.Finally,this paper proposes a set of encryption algorithms for electric vehicle controller local area network communication.The strategy uses asymmetric algorithm,hash algorithm,AES(Advanced Encryption Standard)algorithm... |