An escalator or autowalk, comprising: a driving device; and a monitoring device for monitoring a movement of the driving device, the monitoring device comprising: a first component disposed on one of the driving device of the escalator or autowalk and a fixed device; and a recess portion disposed on the other of the driving device of the escalator or autowalk and the fixed device and configured to receive at least a part of the first component; wherein a relative movement between the recess portion and the first component triggers the first component so as to indicate the movement of the driving device, characterized in that the recess portion comprises a bottom and a side, and the relative movement between the recess portion and the first component triggering the first component so as to indicate a movement of the driving device comprises: a relative movement between the bottom of the recess portion and the first component triggering the first component so as to indicate an upthrust directed movement of the driving device in a first direction, and a relative movement between the side of the recess portion and the first component triggering the first component so as to indicate a horizontal movement direction of the driving device in a second direction. a driving device; and a monitoring device for monitoring a movement of the driving device, the monitoring device comprising: a first component disposed on one of the driving device of the escalator or autowalk and a fixed device; and a recess portion disposed on the other of the driving device of the escalator or autowalk and the fixed device and configured to receive at least a part of the first component; wherein a relative movement between the recess portion and the first component triggers the first component so as to indicate the movement of the driving device, characterized in that the recess portion comprises a bottom and a side, and the relative movement between the recess portion and the first component triggering the first component so as to indicate a movement of the driving device comprises: a relative movement between the bottom of the recess portion and the first component triggering the first component so as to indicate an upthrust directed movement of the driving device in a first direction, and a relative movement between the side of the recess portion and the first component triggering the first component so as to indicate a horizontal movement direction of the driving device in a second direction. a first component disposed on one of the driving device of the escalator or autowalk and a fixed device; and a recess portion disposed on the other of the driving device of the escalator or autowalk and the fixed device and configured to receive at least a part of the first component; wherein a relative movement between the recess portion and the first component triggers the first component so as to indicate the movement of the driving device, characterized in that the recess portion comprises a bottom and a side, and the relative movement between the recess portion and the first component triggering the first component so as to indicate a movement of the driving device comprises: a relative movement between the bottom of the recess portion and the first component triggering the first component so as to indicate an upthrust directed movement of the driving device in a first direction, and a relative movement between the side of the recess portion and the first component triggering the first component so as to indicate a horizontal movement direction of the driving device in a second direction.