The invention provides a motor control method and system based on a hall sensor, and relates to the field of motors. In the motor control method based on the hall sensor, after a motor is operated, firstly, whether at least one hall sensor in a hall sensor group in the motor breaks down or not is judged; and if at least one hall sensor breaks down, then whether the hall sensor group can work in afault mode or not is judged. If the hall sensor group can work in the fault mode, the angle of a rotor and a preset coordinate axis arranged on a stator is calculated according to a first calculationmethod; and finally, vector control is carried out on the motor according to the angle. By adopting the method, when the motor operates, the hall sensor is firstly subjected to fault diagnosis, so that it is ensured that the calculated angle position is accurate and credible. Meanwhile, when the hall sensor breaks down severely, the motor is forbidden to run, so that the safety of the vehicle is ensured.