A method for controlling an operation of an elevator, comprising: detecting a current operation state of an elevator when an emergency operation situation occurs; and operating the elevator during the emergency operation situation, by using an auxiliary power supply, to correspond to the detected current operation state, wherein the detected current operation state corresponds to one of an acceleration state, a constant speed state, a creep state and a seating state, and wherein, when the elevator is in a stopped state due to the occurrence of the emergency operation situation and the detected current operation state immediately before the elevator entered the stopped state is the constant speed state, the method further comprises: operating the elevator in an operation direction to arrive at a target floor; characterized in that the method additionally comprises: measuring an output current in a forward test operation for the elevator; measuring an output current in a backward test operation for the elevator; making a comparison in output current between the forward test operation and the backward test operation and determining the operation direction of the elevator in a direction in which a smaller output current is required. detecting a current operation state of an elevator when an emergency operation situation occurs; and operating the elevator during the emergency operation situation, by using an auxiliary power supply, to correspond to the detected current operation state, wherein the detected current operation state corresponds to one of an acceleration state, a constant speed state, a creep state and a seating state, and wherein, when the elevator is in a stopped state due to the occurrence of the emergency operation situation and the detected current operation state immediately before the elevator entered the stopped state is the constant speed state, the method further comprises: operating the elevator in an operation direction to arrive at a target floor; characterized in that the method additionally comprises: measuring an output current in a forward test operation for the elevator; measuring an output current in a backward test operation for the elevator; making a comparison in output current between the forward test operation and the backward test operation and determining the operation direction of the elevator in a direction in which a smaller output current is required. operating the elevator in an operation direction to arrive at a target floor; characterized in that the method additionally comprises: measuring an output current in a forward test operation for the elevator; measuring an output current in a backward test operation for the elevator; making a comparison in output current between the forward test operation and the backward test operation and determining the operation direction of the elevator in a direction in which a smaller output current is required. measuring an output current in a forward test operation for the elevator; measuring an output current in a backward test operation for the elevator; making a comparison in output current between the forward test operation and the backward test operation and determining the operation direction of the elevator in a direction in which a smaller output current is required.