This application provides a method, apparatus, vehicle, computer-readable storage medium, and
computer program product for managing an in-vehicle network. The method includes: a master node receiving a
network management message currently initiated by a target slave node; wherein the target slave node represents any one of at least one slave node; the master node determining whether the
network management message currently initiated by the target slave node is valid based on the number of
network management messages historically initiated by the target slave node; when the network management message currently initiated by the target slave node is valid, the master node manages the in-vehicle network according to the network management message currently initiated by the target slave node. This application integrates the advantages of distributed architecture and master-slave architecture. Slave nodes cannot directly manage the in-vehicle network but need to request the master node to manage the in-vehicle network, which can avoid vehicle
power loss due to slave node abnormalities and ensure that the vehicle has sufficient power to support subsequent startup.