The invention discloses a vehicle-mounted communication method and device, and the method comprises the steps: carrying out the classification
processing and forwarding of different types of vehicle-mounted functional domain data, directly forwarding CAN data according to a preset
routing table, enabling the CAN data not to be forwarded through a routing layer, and improving the forwarding efficiency of the CAN data; the CAN data are received according to different filtering channels, and the CAN data are classified, so that classified forwarding is realized, the classification efficiency of the CAN data is improved, and the forwarding
processing efficiency of the CAN data is improved; the
Ethernet data is classified, the
processing flow of the
Ethernet data is determined, data forwarding is carried out according to the processing flow, and the forwarding efficiency of the
Ethernet data is improved; different types of vehicle-mounted functional domain data are classified in detail, so that part of data is processed or forwarded in advance, the task load of a processing unit of a
vehicle control domain and the vehicle-mounted communication
delay are reduced, and the vehicle-mounted communication performance is improved.