To explore the cause of structure vibration, this study aims to propose a kinematic equation and analyze its movement in relation to cam linkage mechanism for a jacketing machine and shearing mechanism. Finite element method is adopted to construct the kinetic model of linkage subsystem of shearing mechanism. This method can solve the inability of the shearing mechanism to accurately complete the shearing actions of the rubber hose during large vibration of the mechanism. Lumped parameter method is adopted to establish the kinetic model of the cam roller subsystem, and Newmark method is used to solve the kinetic equation of the shearing mechanism. The optimal parameters of the linking rod, cam profile, and shaking force and shaking moment of the mechanism at different rotation speeds are analyzed. Results show that rotation speed and cam profile are factors affecting the performance of the mechanism. The shaking force (shaking moment) is the main cause of the vibration of the mechanism on the rack. As such, the shaking force and shaking moment of the mechanism are selected as the objective functions of the optimization model. The node parameters of B-spline curve movement law and cross-section parameters of the linking rod are used as variables for the optimal design of the cam linkage system. Finally, the obtained optimal value is x = [0.33 0.2 0.54 0.62 8.7 3.0 7.8 16.3] T.