1. A robot comprising: a non-transitory memory for storing music to be played; a play unit configured to obtain the music from the memory and play the obtained music; and a processor configured to configured to obtain the music from the memory and analyze a musical tempo of the obtained music; the memory further for storing a relationship between different musical tempos and movement patterns of the robot, each musical tempo corresponding to at least one movement pattern of the robot; the processor further configured to determine at least one movement pattern corresponding to the analyzed musical tempo according to the stored relationship and to control the robot to move according to the determined movement pattern; wherein the processor is configured to analyze the musical tempo of the obtained music within a first time period when the robot receives a trigger signal and determine at least one movement pattern corresponding to the analyzed musical tempo of the obtained music; after the first time period passes, the play unit is configured to play the obtained music, and simultaneously the processor is configured to control the robot to move according to the determined movement pattern corresponding to the analyzed musical tempo of the obtained music, analyze the musical tempo of music for a next time period, and determine a corresponding movement pattern in advance, thereby allowing the processor to analyze the musical tempo of a piece of music in advance before the play unit actually plays the piece of music, and to control the robot to move instantly according to a movement pattern corresponding to the analyzed musical tempo when the play unit plays the piece of music.