Touch region adjustment method and apparatus for determining a grasping gesture of a user on an electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsHang Li, Weigang Cai, Junyong Zhang
Life of this patent
Estimating the term…
Abstract
A touch region adjustment method includes: determining a region on a touch display of a terminal device and in which a sensing parameter changes to determine a grasping gesture of a user for the terminal device; and adjusting a location of a touch response region on the touch display based on the grasping gesture of the user for the electronic device to avoid an accidental touch caused by the grasping gesture of the user for the screen of the terminal device.
Claims20
A touch region adjustment method implemented by an electronic device, wherein the touch region adjustment method comprises:
- receiving, on a touchscreen of the electronic device, a first touch input;
- determining a first contact surface of the first touch input, wherein the first contact surface is located on a side screen on the touchscreen;
- obtaining first touch information of the first contact surface, wherein the first touch information comprises capacitance information and one or more of a first height of the first contact surface, a first width of the first contact surface, or an area of the first contact surface;
- determining, based on the first touch information, a touch region and a first non-touch region on the side screen, wherein a first distance between the touch region and the first contact surface comprises a first distance value, and wherein the first non-touch region comprises the first contact surface;
- determining 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;
- determining 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 first 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 first height is greater than the first height threshold, a second ratio of the first height to the first 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;
- receiving, on the touch region, a second touch input;
- displaying, in response to the second touch input, a first user interface;
- receiving, on the first non-touch region, a third touch input;
- and
- skipping changing, in response to the third touch input, display content on the electronic device.
An electronic device comprising:
- a touchscreen configured to:
- receive a first touch input;
- receive a second touch input;
- and
- receive a third touch input;
- a side screen located on the touchscreen;
- and
- a processor coupled to the touchscreen and configured to:
- determine a first contact surface of the first touch input;
- 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 first 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 first non-touch region on the side screen, wherein a first distance between the touch region and the first contact surface comprises a first distance value, wherein the first non-touch region comprises the first contact surface, wherein the second touch input is received on the touch region, and wherein the third touch input is received on the first non-touch region;
- 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 first 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;
- display a first user interface in response to the second touch input;
- and
- skip changing, in response to the third touch input, display content on the electronic device.
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.
Dependencies are inferred from the claim text.