| CPC G07C 9/00563 (2013.01) [G07C 9/00944 (2013.01); G07C 9/37 (2020.01); G07C 2209/62 (2013.01)] | 18 Claims |

|
1. A method for device control, performed by a smart lock, the smart lock comprising at least one sensor and a handle, and the method comprising:
detecting, by the at least one sensor, a target parameter of the handle;
determining a target operation-instruction corresponding to the target parameter; and
executing the target operation-instruction;
wherein the smart lock comprises a dial, and the dial is used to indicate a lifting amplitude value or a pressing amplitude value of the handle; and
detecting, by the at least one sensor, the target parameter of the handle comprises:
obtaining, by the at least one sensor and the dial, a handle-lifting action or a handle-pressing action of the handle within a duration in a process of the handle being lifted or pressed, wherein each handle-lifting action corresponds to a lifting amplitude value of the handle, and each hand-pressing action corresponds to a pressing amplitude value; and
determining the handle-lifting action and the corresponding lifting amplitude value and/or the handle-pressing action and the corresponding pressing amplitude value as the target parameter.
|