An engine control method, characterized by comprising: S201, detecting execution information for controlling start-stop of an engine, wherein the execution information for controlling the start-stop of the engine at least comprises a collected value of an acceleration sensor, a real-time vector velocity, and a value of torque requested by a driver; S202, obtaining an instantaneous acceleration according to a ratio of the real-time vector velocity to time; S203, calculating an acceleration of a vehicle along a traveling direction of the vehicle according to the collected value of the acceleration sensor and the instantaneous acceleration; S204, filtering the acceleration along the traveling direction of the vehicle to obtain a filtered value of the acceleration and obtaining a value of a slope by converting with a conversion relationship between the filtered value of the acceleration along the traveling direction of the vehicle and the slope; and S205, controlling the start-stop of the engine according to the value of the slope and the value of the torque requested by the driver; wherein filtering the acceleration along the traveling direction of the vehicle to obtain the filtered value of the acceleration comprises: S401, acquiring a filtering time parameter; S402, determining a maximum value of the filtering time parameter according to the filtering time parameter; S403, taking the maximum value of the filtering time parameter as a selected value for the filtering; and S404, filtering the acceleration according to the selected value for the filtering, to obtain the filtered value of the acceleration. S201, detecting execution information for controlling start-stop of an engine, wherein the execution information for controlling the start-stop of the engine at least comprises a collected value of an acceleration sensor, a real-time vector velocity, and a value of torque requested by a driver; S202, obtaining an instantaneous acceleration according to a ratio of the real-time vector velocity to time; S203, calculating an acceleration of a vehicle along a traveling direction of the vehicle according to the collected value of the acceleration sensor and the instantaneous acceleration; S204, filtering the acceleration along the traveling direction of the vehicle to obtain a filtered value of the acceleration and obtaining a value of a slope by converting with a conversion relationship between the filtered value of the acceleration along the traveling direction of the vehicle and the slope; and S205, controlling the start-stop of the engine according to the value of the slope and the value of the torque requested by the driver; wherein filtering the acceleration along the traveling direction of the vehicle to obtain the filtered value of the acceleration comprises: S401, acquiring a filtering time parameter; S402, determining a maximum value of the filtering time parameter according to the filtering time parameter; S403, taking the maximum value of the filtering time parameter as a selected value for the filtering; and S404, filtering the acceleration according to the selected value for the filtering, to obtain the filtered value of the acceleration. S401, acquiring a filtering time parameter; S402, determining a maximum value of the filtering time parameter according to the filtering time parameter; S403, taking the maximum value of the filtering time parameter as a selected value for the filtering; and S404, filtering the acceleration according to the selected value for the filtering, to obtain the filtered value of the acceleration. <EOS>