In order to get over the limitationof the velocity planning method of computerized numerical control (CNC) system,a rapid S-shaped acceleration and deceleration method is presented in thispaper. In the method, the rapid solving model of S-shape velocity planning isproposed, and these displacement, velocity and acceleration formulaeof a rapid S-shape acceleration and deceleration model are derived. Compared with the proposedapproach and the traditional velocity planning method, the simulative and experimental resultsshow that the proposed method is smoother, and the machining efficiencyis greatly improved.