A method for braking a vehicle, comprising: acquiring a distance between the vehicle and a preceding vehicle; issuing an alarm in a case that the distance is less than or equal to a first threshold; receiving a first braking command triggered by a user; and braking the vehicle at a first preset deceleration, according to the first braking command; characterized in that, the first threshold is obtained from a sum of a target equivalent virtual stopping distance and an emergency braking distance, the target equivalent virtual stopping distance is obtained based on at least one of a first equivalent virtual stopping distance and a second equivalent virtual stopping distance, the first equivalent virtual stopping distance is a distance traveled by the vehicle during acquiring the distance between the vehicle and the preceding vehicle, the second equivalent virtual stopping distance is a distance traveled by the vehicle during triggering the first braking command by the user, and the emergency braking distance is a distance traveled by the vehicle once braking the vehicle at the first preset deceleration, and in that the emergency braking distance is obtained based on at least one of a first braking distance, a second braking distance and a third braking distance, and the first braking distance is a distance traveled by the vehicle in a case that all bogies are used for braking in a normal operating status, the second braking distance is a distance traveled by the vehicle in a case that all bogies are used for braking in a wet rail status, and the third braking distance is a distance traveled by the vehicle while braking in the wet rail status with a preset number of bogies being cut-off, the method further comprises: in a case that the distance is less than or equal to a second threshold, issuing an alarm, the second threshold is greater than the first threshold, and the second threshold is determined based on the first threshold and a minimum alarm interval; receiving a second braking command triggered by the user; and braking the vehicle at a second preset deceleration, based on the second braking command, the second preset deceleration is less than the first preset deceleration. acquiring a distance between the vehicle and a preceding vehicle; issuing an alarm in a case that the distance is less than or equal to a first threshold; receiving a first braking command triggered by a user; and braking the vehicle at a first preset deceleration, according to the first braking command; characterized in that, the first threshold is obtained from a sum of a target equivalent virtual stopping distance and an emergency braking distance, the target equivalent virtual stopping distance is obtained based on at least one of a first equivalent virtual stopping distance and a second equivalent virtual stopping distance, the first equivalent virtual stopping distance is a distance traveled by the vehicle during acquiring the distance between the vehicle and the preceding vehicle, the second equivalent virtual stopping distance is a distance traveled by the vehicle during triggering the first braking command by the user, and the emergency braking distance is a distance traveled by the vehicle once braking the vehicle at the first preset deceleration, and in that the emergency braking distance is obtained based on at least one of a first braking distance, a second braking distance and a third braking distance, and the first braking distance is a distance traveled by the vehicle in a case that all bogies are used for braking in a normal operating status, the second braking distance is a distance traveled by the vehicle in a case that all bogies are used for braking in a wet rail status, and the third braking distance is a distance traveled by the vehicle while braking in the wet rail status with a preset number of bogies being cut-off, the method further comprises: in a case that the distance is less than or equal to a second threshold, issuing an alarm, the second threshold is greater than the first threshold, and the second threshold is determined based on the first threshold and a minimum alarm interval; receiving a second braking command triggered by the user; and braking the vehicle at a second preset deceleration, based on the second braking command, the second preset deceleration is less than the first preset deceleration.