The invention discloses a lens-barrel sliding block, a focusing lens, image collecting equipment, a controller and a control method of the controller. The control method is used for controlling a motor to stop operating towards the same direction continuously when a lens set comprising a zooming lens set and a focus variation lens set moves to a limiting position, so that the abnormal behavior of damaging the synchronous focusing lens is avoided, and the service life of the lens is prolonged. The lens-barrel sliding block comprises a hollow circular cylinder, a first sliding groove and a second sliding groove, wherein the first sliding groove and the second sliding groove are formed in the inner wall of the hollow circular cylinder. The first sliding groove is a sliding groove for the zooming lens set, and the second sliding groove is a sliding groove for the focus variation lens set. At least one end of the first sliding groove and / or the second sliding groove is provided with a touch switch. When touched, the touch switch sends out a touch signal used for indicating that the lens-barrel sliding block needs to stop driving the zooming lens set and the focus variation lens set to continue to move towards the same direction.