An area cleaning planning method for robot walking along the boundary, characterized in that the method comprises the following steps: on a laser map scanned and constructed in real time by the robot, controlling the robot to walk along the boundary in a predefined cleaning area which is framed at current planning starting point position, so that the robot does not cross out the predefined cleaning area framed at the current planning starting point position in a process of walking along the boundary; meanwhile, according to a division condition of the room cleaning subareas(#1)that conform to a preset wall environment condition in the predefined cleaning area, controlling the robot to walk along the boundary in a matched area, when the robot walks along the boundary in the matched area and returns to the planning starting point position, controlling the robot to perform planned cleaning in the matched area, wherein the matched area is an area to be cleaned which is matched with the boundary of an actual room area, and the matched area comprises a path which has been walked along the boundary from the current planning starting point position in the predefined cleaning area by the robot; when the robot completes the planned cleaning in the matched area, controlling the robot to move to next planning starting point position_ of a non-cleaned area, and repeating the previous steps until no non-cleaned areas are detected; further comprising: framing the predefined cleaning area by taking the planning starting point position as a center on the laser map scanned and constructed by the robot in real time, then selecting a boundary walking starting point position of a physical boundary which is closest in the predefined cleaning area which is currently framed, and controlling the robot to advance from the boundary walking starting point position to the physical boundary along a straight-line planning path until the robot is configured to walk along the physical boundary; wherein the physical boundary comprises at least one boundary of obstacles or wall within the predefined cleaning area; and the planning starting point position is a starting position of the robot within the predefined cleaning area which is currently framed. on a laser map scanned and constructed in real time by the robot, controlling the robot to walk along the boundary in a predefined cleaning area which is framed at current planning starting point position, so that the robot does not cross out the predefined cleaning area framed at the current planning starting point position in a process of walking along the boundary; meanwhile, according to a division condition of the room cleaning subareas(#1)that conform to a preset wall environment condition in the predefined cleaning area, controlling the robot to walk along the boundary in a matched area, when the robot walks along the boundary in the matched area and returns to the planning starting point position, controlling the robot to perform planned cleaning in the matched area, wherein the matched area is an area to be cleaned which is matched with the boundary of an actual room area, and the matched area comprises a path which has been walked along the boundary from the current planning starting point position in the predefined cleaning area by the robot; when the robot completes the planned cleaning in the matched area, controlling the robot to move to next planning starting point position_ of a non-cleaned area, and repeating the previous steps until no non-cleaned areas are detected; further comprising: framing the predefined cleaning area by taking the planning starting point position as a center on the laser map scanned and constructed by the robot in real time, then selecting a boundary walking starting point position of a physical boundary which is closest in the predefined cleaning area which is currently framed, and controlling the robot to advance from the boundary walking starting point position to the physical boundary along a straight-line planning path until the robot is configured to walk along the physical boundary; wherein the physical boundary comprises at least one boundary of obstacles or wall within the predefined cleaning area; and the planning starting point position is a starting position of the robot within the predefined cleaning area which is currently framed.