Disclose a wear-resisting device. Wear-resisting device includes: the sensor for detecting the movement of wear-resisting device For extracting a processor of a motion pattern based on the movement detected by sensor, compares the motion pattern of a pre-selection with the motion pattern extracted, calculate the number for corresponding to the movement of motion pattern of pre-selection.