| CPC G01D 18/00 (2013.01) [G01D 5/12 (2013.01); E05B 47/0002 (2013.01); E05B 2047/0068 (2013.01)] | 15 Claims |

|
1. A method for door lock calibration, performed by a calibration apparatus comprising a sensor and a transmitter, the method comprising:
collecting, by the sensor, a first magnetic-field-intensity numerology at a position of a door in an ajar state, a second magnetic-field-intensity numerology at a position of the door in an open state, and a third magnetic-field-intensity numerology at a position of the door in a locked state; and
transmitting, by the transmitter, to a database, a mapping relationship between the ajar state of the door and the first magnetic-field-intensity numerology, a mapping relationship between the open state of the door and the second magnetic-field-intensity numerology, and a mapping relationship between the locked state of the door and the third magnetic-field-intensity numerology;
wherein the first magnetic-field-intensity numerology contains at least one first magnetic-field-intensity parameter, and each of the at least one first magnetic-field-intensity parameter corresponds to an ajar position of the door in the ajar state;
the second magnetic-field-intensity numerology contains at least one second magnetic-field-intensity parameter, and each of the at least one second magnetic-field-intensity parameter corresponds to an open position of the door in the open state; and
the third magnetic-field-intensity numerology contains at least one third magnetic-field-intensity parameter, and each of the at least one third magnetic-field-intensity parameter corresponds to a lock position of the door in the locked state;
wherein the method further comprises:
obtaining, by the sensor, a first validation magnetic-field-intensity parameter corresponding to the position of the door in the ajar state;
determining, by the sensor, whether the first validation magnetic-field-intensity parameter is in an interval ranging from a minimum first magnetic-field-intensity parameter in the first magnetic-field-intensity numerology to a maximum first magnetic-field-intensity parameter in the first magnetic-field-intensity numerology, and if no, collecting, by the sensor, first validation magnetic-field-intensity parameters that respectively correspond to a plurality of positions of the door in the ajar state, determining, by the sensor, first deviations by comparing the first validation magnetic-field-intensity parameters that correspond to the plurality of positions and first magnetic-field-intensity parameters in the first magnetic-field-intensity numerology respectively, and re-adjusting, by the sensor, each first magnetic-field-intensity parameter in the first magnetic-field-intensity numerology according to a corresponding first deviation;
obtaining, by the sensor, a second validation magnetic-field-intensity parameter corresponding to the position of the door in the open state;
determining, by the sensor, whether the second validation magnetic-field-intensity parameter is in an interval ranging from a minimum second magnetic-field-intensity parameter in the second magnetic-field-intensity numerology to a maximum second magnetic-field-intensity parameter in the second magnetic-field-intensity numerology, and if no, collecting, by the sensor, second validation magnetic-field-intensity parameters that respectively correspond to a plurality of positions of the door in the open state, determining, by the sensor, second deviations by comparing the second validation magnetic-field-intensity parameters that correspond to the plurality of positions and second magnetic-field-intensity parameters in the second magnetic-field-intensity numerology respectively, and re-adjusting, by the sensor, each second magnetic-field-intensity parameter in the second magnetic-field-intensity numerology according to a corresponding second deviation;
obtaining, by the sensor, a third validation magnetic-field-intensity parameter corresponding to the position of the door in the locked state; and
determining, by the sensor, whether the third validation magnetic-field-intensity parameter is in an interval ranging from a minimum third magnetic-field-intensity parameter in the third magnetic-field-intensity numerology to a maximum third magnetic-field-intensity parameter in the third magnetic-field-intensity numerology, and if no, collecting, by the sensor, third validation magnetic-field-intensity parameters that respectively correspond to a plurality of positions of the door in the locked state, determining, by the sensor, third deviations by comparing the third validation magnetic-field-intensity parameters that correspond to the plurality of positions and third magnetic-field-intensity parameters in the third magnetic-field-intensity numerology respectively, and re-adjusting, by the sensor, each third magnetic-field-intensity parameter in the third magnetic-field-intensity numerology according to a corresponding third deviation.
|