The present application discloses a method, apparatus, device, and storage medium for calculating the movement trajectory of a product. The method includes: obtaining the starting point, ending point, and
radius of an arc segment of the product; determining the center of the arc segment and the
radian value based on the starting point, ending point, and
radius. According to the center of the circle and the
radian value, calculate the movement trajectory of the center point of the product, so that under the control of the control mechanism, the center point moves along the movement trajectory. When all points on the arc segment pass through the
processing device in sequence, the distance from the
processing device is the same. By using the geometric characteristics of the arc segment in the embodiments of the present application, a target arc corresponding to the center point of the product is formed as the movement trajectory of the center point of the product during the
processing of the product to be processed. When the product to be processed moves along the calculated movement trajectory under the control of the control mechanism, all points on its arc segment pass through the processing device at equal distances in sequence, thereby improving the processing efficiency and
processing accuracy of the arc segment of the product to be processed.