Patent ID: 8060332

Claim:
A sensor function testing method, for testing a rearm function of a sensor in a server, wherein the sensor is in a normal status or one of at least one failure status, the sensor function testing method comprising: obtaining a rearm type corresponding to the rearm function of the sensor; respectively triggering the sensor to enter each of the at least one failure status, wherein the step of respectively triggering the sensor comprises: determining whether the sensor is already in one of the at least one failure status after triggering the sensor to enter the failure status; triggering the sensor to exit the failure status if the sensor is already in the failure status; determining whether the sensor returns to the normal status; determining the rearm function as abnormal if the rearm type is the auto rearm type and the sensor does not return to the normal status; determining the rearm function as abnormal if the rearm type is the manual rearm type and the sensor automatically returns to the normal status; and determining a status control function of the sensor as abnormal if the sensor is not in the failure status; triggering the sensor to exit the failure status; determining the rearm function as normal if the rearm type is an auto rearm type and the sensor automatically returns to the normal status every time when the sensor is triggered to exit one of the at least one failure status; and determining the rearm function as normal if the rearm type is a manual rearm type and the sensor only returns to the normal status after receiving a rearm instruction every time when the sensor is triggered to exit one of the at least one failure status.