Method and apparatus for performing touch operation in a mobile device
First Claim
1. A method for performing a touch operation in a mobile device, comprising:
- activating a target operation mode when monitoring a first target operation in a first user interface;
mapping a first touch operation event occurring in a first position to a second touch operation event occurring in a second position in the target operation mode; and
reporting the second touch operation event occurring in the second position to the first user interface for performing a corresponding operation,wherein the mapping a first touch operation event occurring in a first position to a second touch operation event occurring in a second position comprises;
loading a second user interface at an upper layer of the first user interface;
receiving a first touch operation event occurring in a first position in the second user interface;
mapping the first position to a second position, wherein the second position is located in the second user interface; and
mapping the first touch operation event to a second touch operation event,wherein the second user interface comprises a plurality of divided areas, the divided areas comprise a touch area and a mapping area;
wherein the mapping the first position to a second position comprises;
determining a touch area to which the first position belongs;
querying a ratio relation between the touch area and a screen size; and
mapping the first position to a second position located in the mapping area according to the ratio relation,wherein the first position comprises a first abscissa and a first ordinate, the second position comprises a second abscissa and a second ordinate, and the ratio relation comprises a height ratio;
the mapping the first position to a second position located in the mapping area comprises;
assigning a value of the first abscissa to the second abscissa when the touch area is a divided area; and
assigning a sum of a value of the first ordinate and a height scale value to the second ordinate, wherein the height scale value is a product of a screen height and the height ratio.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosure provides a method and an apparatus for performing a touch operation in a mobile device, the method includes: activating a target operation mode when monitoring a first target operation in a first user interface; mapping a first touch operation event occurring in a first position to a second touch operation event occurring in a second position in the target operation mode; and reporting the second touch operation event occurring in the second position to the first user interface for performing a corresponding operation. By mapping position in an operable area, operation on an area inoperable with one hand of user is realized, avoiding click-help from another hand and improving simplicity and efficiency of touch operations. Since there is no need to perform transformation operations such as zooming on first user interface, user can operate directly, reducing probability of error due to position error after transformation.
-
Citations
14 Claims
-
1. A method for performing a touch operation in a mobile device, comprising:
-
activating a target operation mode when monitoring a first target operation in a first user interface; mapping a first touch operation event occurring in a first position to a second touch operation event occurring in a second position in the target operation mode; and reporting the second touch operation event occurring in the second position to the first user interface for performing a corresponding operation, wherein the mapping a first touch operation event occurring in a first position to a second touch operation event occurring in a second position comprises; loading a second user interface at an upper layer of the first user interface; receiving a first touch operation event occurring in a first position in the second user interface; mapping the first position to a second position, wherein the second position is located in the second user interface; and mapping the first touch operation event to a second touch operation event, wherein the second user interface comprises a plurality of divided areas, the divided areas comprise a touch area and a mapping area; wherein the mapping the first position to a second position comprises; determining a touch area to which the first position belongs; querying a ratio relation between the touch area and a screen size; and mapping the first position to a second position located in the mapping area according to the ratio relation, wherein the first position comprises a first abscissa and a first ordinate, the second position comprises a second abscissa and a second ordinate, and the ratio relation comprises a height ratio; the mapping the first position to a second position located in the mapping area comprises; assigning a value of the first abscissa to the second abscissa when the touch area is a divided area; and assigning a sum of a value of the first ordinate and a height scale value to the second ordinate, wherein the height scale value is a product of a screen height and the height ratio. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus for performing a touch operation in a mobile device, comprising:
-
a memory, configured to store instructions;
a processor coupled to the memory, configured to execute the instructions stored in the memory, and the processor is configured to;activate a target operation mode when monitoring a first target operation in a first user interface; map a first touch operation event occurring in a first position to a second touch operation event occurring in a second position in the target operation mode; and report the second touch operation event occurring in the second position to the first user interface for performing a corresponding operation, wherein the processor is further configured to; load a second user interface at an upper layer of the first user interface; receive a first touch operation event occurring at a first position in the second user interface; map the first position to a second position, wherein the second position is located in the second user interface; and map the first touch operation event to a second touch operation event, wherein the second user interface comprises a plurality of divided areas, the divided areas comprise a touch area and a mapping area; wherein the processor is also configured to; determine a touch area to which the first position belongs; query a ratio relation between the touch area and a screen size; and map the first position to a second position in the mapping area according to the ratio relation, wherein the first position comprises a first abscissa and a first ordinate, the second position comprises a second abscissa and a second ordinate, and the ratio relation comprises a height ratio; and wherein the processor is further configured to; assign a value of the first abscissa to the second abscissa when the touch area is a divided area; and assign a sum of a value of the first ordinate and a height scale value to the second ordinate, wherein the height scale value is a product of a screen height and the height ratio. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification