The application provides a
stair climbing and descending assistance phase recognition method,
system and computer readable medium based on a
random forest, which comprises the following steps: acquiring wearing sensor data of different human bodies in the process of performing
stair climbing and descending actions and non-
stair climbing and descending actions; determining the foot movement state according to the plantar IMU sensor data, determining the movement
gait phase and labeling; constructing a
training set by using the IMU sensor data of the
thigh and calf positions in the wearing sensor data and the labeled movement state; training a stair climbing and descending assistance phase recognition model based on a
random forest classifier; and finally, determining the IMU sensor data of the
thigh and calf positions in the actual acquired
human body action by using the assistance phase recognition model, and outputting the corresponding movement assistance state. The method of the application can be used for recognizing the assistance phase in the process of stair climbing and descending, has a simple sensor
layout, saves the time consumed in the
data labeling process, and can improve the recognition accuracy.