Touch control method and apparatus, device and storage medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorJialiang ZOU
Life of this patent
Estimating the term…
Abstract
A touch control method includes: acquiring, in response to a touch operation detected on a touch screen of a terminal, capacitance signals at a plurality of locations corresponding to the touch operation; determining, in a case of determining that liquid exists on the touch screen based on the capacitance signals at the plurality of locations, an effective area of the touch operation based on the plurality of locations; and executing a function corresponding to the touch operation based on the effective area of the touch operation.
Claims20
A touch control method, comprising:
- acquiring, in response to a touch operation detected on a touch screen of a terminal, capacitance signals at a plurality of locations corresponding to the touch operation;
- determining, in a case of determining that liquid exists on the touch screen based on the capacitance signals at the plurality of locations, an effective area of the touch operation based on the plurality of locations;
- and
- executing a function corresponding to the touch operation based on the effective area of the touch operation;
- wherein determining, in the case of determining that the liquid exists on the touch screen based on the capacitance signals at the plurality of locations, the effective area of the touch operation based on the plurality of locations comprises:
- determining, in the case of determining that the liquid exists on the touch screen based on the capacitance signals at the plurality of locations, a target location forming a target shape based on the plurality of locations, wherein the target shape is at least one of an ellipse, a circle or a rectangle, and a capacitance value of the capacitance signal at the target location is maximum;
- acquiring a distance between the target location and other locations other than the location forming the target shape, wherein a capacitance value of the capacitance signals at the other locations is a positive integer;
- and
- determining an area formed by the other locations with the distance less than a preset distance and the location forming the target shape as the effective area of the touch operation.
(canceled)
A terminal, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the one or more processors are configured to load and execute the at least one program code to:
- acquire, in response to a touch operation detected on a touch screen of the terminal, capacitance signals at a plurality of locations corresponding to the touch operation;
- determine, in a case of determining that liquid exists on the touch screen based on the capacitance signals at the plurality of locations, an effective area of the touch operation based on the plurality of locations;
- and
- execute a function corresponding to the touch operation based on the effective area of the touch operation;
- wherein the one or more processors are configured to:
- determine, in the case of determining that the liquid exists on the touch screen based on the capacitance signals at the plurality of locations, a target location forming a target shape based on the plurality of locations, wherein the target shape is at least one of an ellipse, a circle or a rectangle, and a capacitance value of the capacitance signal at the target location is maximum;
- acquire a distance between the target location and other locations other than the location forming the target shape, wherein a capacitance value of the capacitance signals at the other locations is a positive integer;
- and
- determine an area formed by the other locations with the distance less than a preset distance and the location forming the target shape as the effective area of the touch operation.
(canceled)
A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores at least one program code, and a processor is configured to load and execute the at least one program code to:
- acquire, in response to a touch operation detected on a touch screen of a terminal, capacitance signals at a plurality of locations corresponding to the touch operation;
- determine, in a case of determining that liquid exists on the touch screen based on the capacitance signals at the plurality of locations, an effective area of the touch operation based on the plurality of locations;
- and
- execute a function corresponding to the touch operation based on the effective area of the touch operation;
- wherein the processor is configured to:
- determine, in the case of determining that the liquid exists on the touch screen based on the capacitance signals at the plurality of locations, a target location forming a target shape based on the plurality of locations, wherein the target shape is at least one of an ellipse, a circle or a rectangle, and a capacitance value of the capacitance signal at the target location is maximum;
- acquire a distance between the target location and other locations other than the location forming the target shape, wherein a capacitance value of the capacitance signals at the other locations is a positive integer;
- and
- determine an area formed by the other locations with the distance less than a preset distance and the location forming the target shape as the effective area of the touch operation.
(canceled)
Dependencies are inferred from the claim text.