A vehicle controller, applied to a hybrid vehicle, comprising an engine, a first motor and a transmission, the transmission receiving power transmitted by the engine and the first motor through an input shaft, a processor and a memory storing a computer program, wherein the computer program, when executed by the processor, enables the processor to:
- in a gear-shifting process between adjacent gears, perform following processing in each control cycle of a gear-shifting speed regulation phase;
- determining a total speed regulation intervention torque Tsum according to a target angular acceleration and a rotational inertia, and pre-distributing Tsum into an input shaft intervention torque Taxis and a clutch intervention torque Tclutch;
- and
- when Taxis does not exceed a torque intervention capability of the first motor, distributing Taxis to the first motor, and controlling the first motor to provide a speed regulation intervention torque distributed to the first motor.