| A method for implementing boxing motion analysis includes: obtaining, from an inertial measurement unit (IMU) on a user, acceleration data at a plurality of time instances within a time period; performing a dynamic adjustment operation on the acceleration data to obtain adjusted acceleration data; performing a signal cutting operation based on the adjusted acceleration data, three average acceleration values when the IMU is in a stationary state, and three threshold values, so as to obtain a plurality of time segments each associated with one swing motion; and performing, with respect to each of the time segments, a quaternion calculation, so as to obtain rotational acceleration data, performing a first integration operation and a second integration operation to obtain a plurality of locations of the IMU over the time segment, and obtaining a trajectory of the IMU in the time segment. |