The invention discloses a vehicle-mounted communication method and
system, and relates to the technical field of vehicle-mounted communication, and the method comprises the step of connecting a plurality of slave computing units through a PCIe
bus. And setting a corresponding first virtual
internet protocol address for the first
virtual network card created by each slave computing unit. And associating a plurality of second
virtual network cards created by the main computing unit with the
virtual network bridge. Taking the plurality of first virtual network cards and the plurality of second virtual network cards as network interfaces for
bidirectional communication between the plurality of slave computing units and the master computing unit respectively, and according to first virtual
internet protocol addresses corresponding to the plurality of first virtual network cards and an association relationship between the plurality of second virtual network cards and the virtual network bridge, establishing a virtual network bridge between the plurality of slave computing units and the master computing unit; and performing
Ethernet communication with the plurality of slave computing units. The main computing unit and the slave computing units are connected through the PCIe
bus, the requirement of vehicle-mounted computing power can be met, and the
Ethernet communication requirement of an upper-layer application
algorithm can be considered under the condition that physical hardware is not changed through a virtual network card and a virtual network bridge.