Patent ID: 11907526
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 18:
19. A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable medium and that, when executed by a processor, cause an electronic device to:
receive, on a touchscreen of the electronic device, a first touch input;
determine a first contact surface of the first touch input, wherein the first contact surface is located on a side screen on the touchscreen;
obtain first touch information of the first contact surface, wherein the first touch information comprises capacitance information and one or more of a height of the first contact surface, a width of the first contact surface, or an area of the first contact surface;
determine, based on the first touch information, a touch region and a non-touch region on the touchscreen, wherein a distance between the touch region and the first contact surface comprises a distance value, and wherein the non-touch region comprises the first contact surface;
determine that the touch region is located between a first end of the side screen and the first contact surface when a second distance between the first contact surface and the first end is greater than or equal to a first preset value;
determine that a type of the first contact surface is a thenar contact surface when the first touch information meets a first preset condition, wherein the first preset condition comprises that:
the height is greater than a first height threshold and a first ratio of a first capacitance value of a most edge coordinate column of the first contact surface to a second capacitance value of a secondary edge coordinate column of the first contact surface is within a first ratio range, wherein a first value in the first ratio range is greater than or equal to 1, wherein the most edge coordinate column is closest to a long side of the electronic device and in a touchscreen array corresponding to the first contact surface on the touchscreen, and wherein the secondary edge coordinate column is second closest to the long side and in the touchscreen array;
the height is greater than the first height threshold, a second ratio of the height to the width is greater than a first height ratio, and the first ratio is within the first ratio range; or
the second ratio is greater than the first height ratio, the area is greater than a first area threshold, and the first ratio is within the first ratio range;

receive, on the touch region, a second touch input;
display, in response to the second touch input, a user interface;
receive, on the non-touch region, a third touch input; and
skip changing, in response to the third touch input, display content on the electronic device.