Patent ID: 8902041
Filing Date: 2014-12-02
Classification: G06F

Abstract:
1. A computer-implemented method for unlocking an electronic device, the method comprising: presetting a unlocking operation having motion units, each of the motion units comprising three-axis acceleration values and three-axis rotation vectors of the electronic device, the three-axis acceleration values being detected by a first sensor of the electronic device and the three-axis rotation vectors being detected by a second sensor of the electronic device; sampling the unlocking operation at a preset time interval, and storing the sampled unlocking operation into a storage system of the electronic device; obtaining the three-axis acceleration values and the three-axis rotation vectors continuously from the first sensor and the second sensor as an input operation, when the electronic device receives a preset unlocking command to unlock the electronic device; recording motion units of the input operation; sampling the input operation at the preset time interval as sampled input operation; calculating a membership degree of the input operation according to a predetermined formula of a theory of fuzzy logic, the sampled unlocking operation, and the sampled input operation, wherein the membership degree is calculated according to an absolute value of a difference between a three-axis acceleration value of each motion unit in the sampled unlocking operation and a three-axis acceleration value of a corresponding motion unit in the sampled input operation, a triangular membership function of each of the absolute value, a vector difference between a three-axis rotation vector of each motion unit in the sampled unlocking operation and a three-axis rotation vector of the corresponding motion unit in the sampled input operation, and the triangular membership function of each vector difference; unlocking the electronic device when the membership degree of the input operation conforms to a preset unlocking threshold.