Method for Processing Operation and Terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsXiaojuan Li, Wenmei Gao
Life of this patent
Estimating the term…
Abstract
A method includes detecting an operation on a touchscreen, executing a response to the operation when duration of the operation exceeds first preset duration, and returning to a state that exists when the response to the operation is not executed when the duration of the operation exceeds second preset duration, where the second preset duration is greater than the first preset duration. Hence, the technical solutions effectively identify an operation on a touchscreen, and lower a probability of occurrence of a misoperation.
Claims13
-30. (canceled)
A method for processing an operation, comprising:
- detecting a first operation on a touchscreen;
- executing a response to the first operation when a duration of the first operation exceeds a first preset duration;
- returning to a state that exists when the response to the first operation is not executed when the duration of the first operation exceeds a second preset duration, wherein the second preset duration is greater than the first preset duration;
- detecting a second operation on the touchscreen before the first operation ends, wherein a type of the second operation is the same as a type of the first operation;
- and
- executing a response to the second operation when a duration of the second operation exceeds the first preset duration and does not exceed the second preset duration.
A mobile terminal, comprising:
- a memory comprising a program code;
- a touchscreen;
- and
- a processor, wherein the memory, the touchscreen and the processor are connected to each other using a bus, and wherein the program code cause the processor to be configured to:
- detect a first operation on the touchscreen;
- execute a response to the first operation when a duration of the first operation exceeds a first preset duration;
- return to a state that exists when the response to the first operation is not executed when the duration of the first operation exceeds a second preset duration, wherein the second preset duration is greater than the first preset duration;
- detect a second operation on the touchscreen before the first operation ends, wherein a type of the second operation is the same as a type of the first operation;
- and
- execute a response to the second operation when a duration of the second operation exceeds the first preset duration and does not exceed the second preset duration.
A non-transitory computer readable medium comprising computer readable instructions that, when executed by a computer processor, cause the computer processor to implement the following operations;
- detecting a first operation on a touchscreen;
- executing a response to the first operation when a duration of the first operation exceeds a first preset duration;
- returning to a state that exists when the response to the first operation is not executed when the duration of the first operation exceeds a second preset duration, wherein the second preset duration is greater than the first preset duration;
- detecting a second operation on the touchscreen before the first operation ends, wherein a type of the second operation is the same as a type of the first operation;
- and
- executing a response to the second operation when a duration of the second operation exceeds the first preset duration and does not exceed the second preset duration.
Dependencies are inferred from the claim text.