The invention provides an acceleration and deceleration control method in the trajectory planning of a numerical control system. Assuming that the total running time of the numerical control system during processing is T, the total running time is divided into seven time periods, which are respectively 0 to t 1 , t 1 ~t 2 , t 2 ~t 3 , t 3 ~t 4 , t 4 ~t 5 , t 5 ~t 6 , t 6 ~t 7 , define the time interval of each time period as T i (i=1,2,3...,7), then T 1 The corresponding time period is from 0 to t 1 , T 2 The corresponding time period is t 1 ~t 2 , T 3 The corresponding time period is t 2 ~t 3 , T 4 The corresponding time period is t 3 ~t 4 ,T 5 The corresponding time period is t 4 ~t 5 ,T 6 The corresponding time period is t 5 ~t 6 ,T 7 The corresponding time period is t 6 ~t 7 , the algorithm expression used when planning the acceleration and deceleration curve model is where j(t) is the function of jerk with respect to time t, j max For the maximum value of jerk during operation, the acceleration and deceleration control method in the trajectory planning of the numerical control system provided by the present invention intersects with the prior art, the control algorithm model is simpler, the jerk curve is smoother, and the numerical control is directly reduced. The system starts and stops.