| CPC G06F 21/36 (2013.01) [G06F 3/016 (2013.01); G06F 3/04845 (2013.01); G06F 3/0488 (2013.01); G06F 3/04883 (2013.01); G06F 2221/2149 (2013.01)] | 9 Claims |

|
1. An unlocking control method for an electronic apparatus, comprising:
obtaining an unlocking touch input;
in the case that a retention time of the unlocking touch input at any one of a plurality of target positions is greater than a predetermined time threshold, generating at least one vibration excitation in accordance with the retention time, wherein the target positions comprise positions corresponding to the unlocking password and other positions having an input response; and
in the case that an unlocking control signal determined in accordance with the unlocking touch input matches a predetermined unlocking password, controlling the electronic apparatus to be unlocked,
wherein the unlocking control signal comprises a touch sequence of the unlocking touch input with respect to the plurality of target positions and the quantity of vibration excitations generated at each target position;
wherein the electronic apparatus comprises a plurality of piezoelectric assemblies, and the generating at least one vibration excitation in accordance with the retention time comprises driving at least one of the plurality of piezoelectric assemblies to generate the at least one vibration excitation;
wherein the electronic apparatus comprises a touch region,
wherein subsequent to obtaining the unlocking touch input, the unlocking control method further comprises:
obtaining a distance between a touch point of the unlocking touch input and each target position;
in the case that the distance between the touch point and each target position is greater than a first distance threshold, driving the touch region to vibrate in a first mode;
in the case that the distance between the touch point and at least one of the target positions is less than or equal to the first distance threshold and the distance between the touch point and any of the target positions is greater than a second distance threshold, driving the touch region to vibrate in a second mode; and
in the case that there is a target position whose distance from the touch point is less than or equal to the second distance threshold, driving the touch region to vibrate in a third mode,
wherein the first distance threshold is greater than the second distance threshold, and the first mode, the second mode, and the third mode are different from each other;
wherein the electronic apparatus comprises a plurality of piezoelectric assemblies surrounding the touch region, and subsequent to obtaining the unlocking touch input, the unlocking control method further comprises: obtaining a touch movement direction corresponding to the unlocking touch input; and determining a target piezoelectric assembly that drives the touch region to vibrate in accordance with the touch movement direction, wherein a distance between the target piezoelectric assembly and a straight line where the touch movement direction is arranged is less than a fourth distance threshold.
|