Patent attributes
An electronic device obtains an included angle between a touchscreen (a curved screen with a radian on a side edge) and a horizontal plane; starts a camera in response to the included angle between the touchscreen and the horizontal plane falling within a first preset angle range; obtains a distance between the electronic device and a user and a face yaw degree of the user in response to the camera collecting a face image; and performs anti-mistouch processing on a preset mistouch operation of the user on the touchscreen in response to the distance between the electronic device and the user being less than a first distance threshold and the face yaw degree falling within a second preset angle range.