A method for controlling a gear of a two-speed gearbox, comprising: determining a first target gear of a gearbox reflecting a current driving demand of a user according to a current vehicle-speed; and performing a gear intervention control of the gearbox based on at least one of the following aspects: position information of a drive gear-lever, a rotation-speed of a drive motor of a vehicle, and gear fault information of the gearbox, to shift the first target gear of the gearbox to a second target gear of the gearbox matching with real-time operation conditions of the vehicle, the position information of the drive gear-lever indicates a position of the drive gear-lever and a change of the position of the drive gear-lever, wherein the position of the drive gear-lever comprises: a vehicle driving gear, a vehicle reverse gear, a vehicle parking gear, and a vehicle neutral gear; and characterized in that the gear intervention control of the gearbox based on the position information of the drive gear-lever comprises: maintaining the first target gear of the gearbox as the second target gear of the gearbox, when the vehicle is in the vehicle driving gear, the vehicle parking gear or the vehicle neutral gear; shifting the first target gear of the gearbox to the first gear of the gearbox as the second target gear of the gearbox, when the vehicle is in the vehicle reverse gear or the vehicle is shifted from the vehicle parking gear or the vehicle neutral gear to the vehicle driving gear-lever or the vehicle reverse gear; and in case that the vehicle is shifted from the vehicle driving gear or the vehicle reverse gear to the vehicle parking gear or the vehicle neutral gear, shifting the first target gear of the gearbox to the neutral gear of the gearbox as the second target gear after a preset time, when the current vehicle-speed is greater than a preset vehicle-speed threshold; and shifting the first target gear of the gearbox directly to the neutral gear of the gearbox as the second target gear, when the current vehicle-speed is smaller than the preset vehicle-speed threshold. determining a first target gear of a gearbox reflecting a current driving demand of a user according to a current vehicle-speed; and performing a gear intervention control of the gearbox based on at least one of the following aspects: position information of a drive gear-lever, a rotation-speed of a drive motor of a vehicle, and gear fault information of the gearbox, to shift the first target gear of the gearbox to a second target gear of the gearbox matching with real-time operation conditions of the vehicle, the position information of the drive gear-lever indicates a position of the drive gear-lever and a change of the position of the drive gear-lever, wherein the position of the drive gear-lever comprises: a vehicle driving gear, a vehicle reverse gear, a vehicle parking gear, and a vehicle neutral gear; and characterized in that the gear intervention control of the gearbox based on the position information of the drive gear-lever comprises: maintaining the first target gear of the gearbox as the second target gear of the gearbox, when the vehicle is in the vehicle driving gear, the vehicle parking gear or the vehicle neutral gear; shifting the first target gear of the gearbox to the first gear of the gearbox as the second target gear of the gearbox, when the vehicle is in the vehicle reverse gear or the vehicle is shifted from the vehicle parking gear or the vehicle neutral gear to the vehicle driving gear-lever or the vehicle reverse gear; and in case that the vehicle is shifted from the vehicle driving gear or the vehicle reverse gear to the vehicle parking gear or the vehicle neutral gear, shifting the first target gear of the gearbox to the neutral gear of the gearbox as the second target gear after a preset time, when the current vehicle-speed is greater than a preset vehicle-speed threshold; and shifting the first target gear of the gearbox directly to the neutral gear of the gearbox as the second target gear, when the current vehicle-speed is smaller than the preset vehicle-speed threshold. maintaining the first target gear of the gearbox as the second target gear of the gearbox, when the vehicle is in the vehicle driving gear, the vehicle parking gear or the vehicle neutral gear; shifting the first target gear of the gearbox to the first gear of the gearbox as the second target gear of the gearbox, when the vehicle is in the vehicle reverse gear or the vehicle is shifted from the vehicle parking gear or the vehicle neutral gear to the vehicle driving gear-lever or the vehicle reverse gear; and in case that the vehicle is shifted from the vehicle driving gear or the vehicle reverse gear to the vehicle parking gear or the vehicle neutral gear, shifting the first target gear of the gearbox to the neutral gear of the gearbox as the second target gear after a preset time, when the current vehicle-speed is greater than a preset vehicle-speed threshold; and shifting the first target gear of the gearbox directly to the neutral gear of the gearbox as the second target gear, when the current vehicle-speed is smaller than the preset vehicle-speed threshold. shifting the first target gear of the gearbox to the neutral gear of the gearbox as the second target gear after a preset time, when the current vehicle-speed is greater than a preset vehicle-speed threshold; and shifting the first target gear of the gearbox directly to the neutral gear of the gearbox as the second target gear, when the current vehicle-speed is smaller than the preset vehicle-speed threshold.