Task switching method and terminal
First Claim
1. A task switching method, applied to a terminal, wherein a sensor is installed on a side edge of the terminal, the sensor is configured to detect an operation of a user on the side edge, and the method comprises:
- displaying, by the terminal, a first interface in response to a pressing operation of the user on the side edge, wherein the first interface comprises at least one task window, and the at least one task window corresponds to at least one task recently run by the terminal and not closed;
detecting, by the terminal, a sliding operation of the user on the side edge, wherein the sliding operation and the pressing operation are continuous operations of a finger of the user without leaving the side edge;
displaying, by the terminal, a first task window in a preset manner in response to the sliding operation, wherein the first task window is one of the at least one task window, and as a sliding position of the sliding operation changes, when the at least one task window comprises a plurality of task windows, the first task window displayed in the preset manner is switched in the plurality of task windows; and
displaying, by the terminal, a second interface in response to detecting that the sliding operation is ended and that the finger of the user leaves the side edge, wherein the second interface is an interface of a task corresponding to the first task window displayed by the terminal in the preset manner when the sliding operation is ended and the finger of the user leaves the side edge.
1 Assignment
0 Petitions
Accused Products
Abstract
A task switching method is disclosed, which includes: displaying, by a terminal with a sensor installed on a side edge, a first interface in response to a pressing operation of a user on the side edge; displaying a first task window in a preset manner in response to the sliding operation; and displaying a second interface in response to detecting that the sliding operation is ended and that the finger of the user leaves the side edge, where the second interface is an interface of a task corresponding to the first task window displayed by the terminal in the preset manner when the sliding operation is ended and the finger of the user leaves the side edge.
15 Citations
19 Claims
-
1. A task switching method, applied to a terminal, wherein a sensor is installed on a side edge of the terminal, the sensor is configured to detect an operation of a user on the side edge, and the method comprises:
-
displaying, by the terminal, a first interface in response to a pressing operation of the user on the side edge, wherein the first interface comprises at least one task window, and the at least one task window corresponds to at least one task recently run by the terminal and not closed; detecting, by the terminal, a sliding operation of the user on the side edge, wherein the sliding operation and the pressing operation are continuous operations of a finger of the user without leaving the side edge; displaying, by the terminal, a first task window in a preset manner in response to the sliding operation, wherein the first task window is one of the at least one task window, and as a sliding position of the sliding operation changes, when the at least one task window comprises a plurality of task windows, the first task window displayed in the preset manner is switched in the plurality of task windows; and displaying, by the terminal, a second interface in response to detecting that the sliding operation is ended and that the finger of the user leaves the side edge, wherein the second interface is an interface of a task corresponding to the first task window displayed by the terminal in the preset manner when the sliding operation is ended and the finger of the user leaves the side edge. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 19)
-
-
10. A terminal, wherein the terminal comprises a processor, a memory, a touchscreen, and a sensor installed on a side edge of the terminal, the memory, the touchscreen, and the sensor are coupled to the processor, the memory is configured to store computer program code, the computer program code comprises a computer instruction, and when the processor executes the computer instruction,
the sensor is configured to detect a pressing operation of a user on the side edge; -
the processor is further configured to run at least one task in the terminal, where data of the at least one task is stored in the memory; the touchscreen is configured to display a first interface in response to the pressing operation detected by the sensor, wherein the first interface comprises at least one task window, and the at least one task window corresponds to at least one task recently run by the processor and not closed; the sensor is further configured to detect a sliding operation of the user on the side edge, wherein the sliding operation and the pressing operation are continuous operations of a finger of the user without leaving the side edge; the touchscreen is further configured to display a first task window in a preset manner in response to the sliding operation detected by the sensor, wherein the first task window is one of the at least one task window, and as a sliding position of the sliding operation changes, when the at least one task window comprises a plurality of task windows, the first task window displayed in the preset manner is switched in the plurality of task windows; the sensor is further configured to detect that the sliding operation is ended and that the finger of the user leaves the side edge; and the touchscreen is further configured to display a second interface in response to detecting, by the sensor, that the sliding operation is ended and that the finger of the user leaves the side edge, wherein the second interface is an interface of a task corresponding to the first task window displayed by the touchscreen in the preset manner when the sliding operation is ended and the finger of the user leaves the side edge. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification