The embodiment of the invention relates to the field of robots, in particular to an anti-following method, a
robot and a computer readable storage medium, and the method comprises the steps: obtaining a task instruction, executing a task according to the task instruction, obtaining environment information around the
robot, determining whether there is a
pedestrian according to the environment information, and if there is a
pedestrian in the environment information, executing the task according to the task instruction; if yes, the identity of the
pedestrian is determined through the biological characteristics and activity behaviors of the pedestrian, whether a suspicious behavior exists or not is determined according to the identity of the pedestrian, and if it is detected that the suspicious behavior exists, response operation is executed according to the suspicious behavior. When the
robot executes the task, the environment around the robot can be detected, whether suspicious behaviors exist around or not is determined, and the corresponding operation is executed when the suspicious behaviors exist, so that the following behaviors can be effectively reduced, the situation that the robot enters an unauthorized area is reduced, the safety can be improved, and the privacy of guests can be protected; and the satisfaction and credibility of the guests are improved.