The invention discloses acceleration and deceleration controlling means used in numerical control machine, the concept of 'add-acceleration' is introduced against the dynamic property of the controlled member, the add-acceleration is constant in stage of acceleration and deceleration, the two physical quantities of acceleration and add-acceleration are setting; the segmented handling method of add-accelerating sections, uniform accelerating sections, decelerated accelerating sections, uniform speed sections, add-decelerating sections, uniformly-retarded sections and decelerated deceleration sections is adopted, after the interval discrimination, the real-time interpolating calculation in every interval is exceeded based on the integral relation between the add-acceleration, acceleration, speed and displacement, the S type velocity curve is formed to realize the flexible acceleration and deceleration control; the destination discrimination process is proceeded before the interpolating calculation can increase the machining precision of the acceleration and deceleration control. The method is simple, the impact is small, the speed is smooth, the machining precision is high and the flexible control can be realized.