IP Library Granted Patent US 10,838,596
Granted Patent B2
US 10,838,596 · App. 16/651,644 · Granted Nov 17, 2020

Task switching method and terminal

Inventors: Kai Qian (Beijing, CN); Liwei Huang (Beijing, CN); Zhenyu Liu (Wuhan, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G06F3/0484G06F3/04883G06F3/04886
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,838,596
App. No.
16/651,644
Granted
Nov 17, 2020
Kind
B2
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.

Claims (54)

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.

2. The method according to claim 1 , wherein the at least one task recently run by the terminal and not closed comprises at least one application recently run by the terminal and not closed;

the first task window is a task window of one of the at least one application recently run by the terminal and not closed; and

the second interface is an interface of an application 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.

3. The method according to claim 1 , wherein the displaying, by the terminal, a first interface in response to a pressing operation of the user on the side edge comprises:

when there are at least two applications recently run by the terminal and not closed, displaying, by the terminal in response to the pressing operation of the user on the side edge, the first interface comprising task windows of the at least two applications, wherein the first task window is a task window of one of the at least two applications; and

the second interface is an interface of an application 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.

4. The method according to claim 1 , wherein the displaying, by the terminal, a first interface in response to a pressing operation of the user on the side edge comprises:

when there is only a first application recently run by the terminal and not closed, displaying, by the terminal in response to the pressing operation of the user on the side edge, the first interface comprising a task window of one or more application tasks in the first application, wherein the first application is any application in the terminal, wherein

the first task window is a task window of an application task in the first application; and

the second interface is an interface of an application 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.

5. The method according to claim 1 , wherein the displaying, by the terminal, a first interface in response to a pressing operation of the user on the side edge comprises:

when the terminal currently displays a desktop of the terminal, displaying, by the terminal in response to the pressing operation of the user on the side edge, the first interface comprising a task window of the at least one application recently run by the terminal and not closed.

6. The method according to claim 1 , wherein the pressing operation is a pressing operation of the user in a first position on the side edge.

7. The method according to claim 6 , wherein the displaying, by the terminal, a first interface in response to a pressing operation of the user on the side edge comprises:

when the pressing operation is a pressing operation of the user in a second position on the side edge, displaying, by the terminal in response to the pressing operation of the user on the side edge, the first interface comprising a task window of an application task in a second application, wherein the second application is a last application after the at least one application recently run by the terminal and not closed is arranged in ascending order of runtime, wherein

the first task window is a task window of an application task in the second application; and

the second interface is an interface of an application 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.

8. The method according to claim 1 , wherein the side edge comprises a left side edge of the terminal and/or a right side edge of the terminal.

9. The method according to claim 1 , wherein the displaying, by the terminal, a first interface in response to a pressing operation of the user on the side edge comprises:

displaying, by the terminal, the first interface in response to a pressing operation of the user on at least two points of the side edge.

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.

11. The terminal according to claim 10 , wherein the at least one task recently run by the processor and not closed comprises at least one application recently run by the processor and not closed;

the first task window displayed by the touchscreen is a task window of one of the at least one application recently run by the processor and not closed; and

the second interface displayed by the touchscreen is an interface of an application corresponding to the first task window displayed by the touchscreen in the preset manner when the sensor detects that the sliding operation is ended and that the finger of the user leaves the side edge.

12. The terminal according to claim 10 , wherein the touchscreen is configured to:

when there are at least two applications recently run by the processor and not closed, display, in response to the pressing operation detected by the sensor, the first interface comprising task windows of the at least two applications, wherein

the first task window displayed by the touchscreen is a task window of one of the at least two applications; and the second interface displayed by the touchscreen is an interface of an application corresponding to the first task window displayed by the touchscreen in the preset manner when the sensor detects that the sliding operation is ended and that the finger of the user leaves the side edge.

13. The terminal according to claim 10 , wherein the touchscreen is configured to:

when an application recently run by the processor and not closed comprises only a first application, display, in response to the pressing operation detected by the sensor, the first interface comprising a task window of one or more application tasks in the first application, wherein the first application is any application in the terminal, wherein

the first task window displayed by the touchscreen is a task window of an application task in the first application; and the second interface displayed by the touchscreen is an interface of an application 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.

14. The terminal according to claim 10 , wherein the touchscreen is configured to:

when the touchscreen currently displays a desktop of the terminal, display, in response to the pressing operation detected by the sensor, the first interface comprising a task window of the at least one application recently run by the processor and not closed, wherein

the first task window displayed by the touchscreen is the task window of the one of the at least one application recently run by the terminal and not closed; and the second interface displayed by the touchscreen is the interface of the application 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.

15. The terminal according to claim 10 , wherein the pressing operation detected by the sensor is a pressing operation of the user in a first position on the side edge.

16. The terminal according to claim 15 , wherein the touchscreen is configured to:

when the pressing operation is a pressing operation of the user in a second position on the side edge, display, in response to the pressing operation detected by the sensor, the first interface comprising a task window of an application task in a second application, wherein the second application is a last application after the at least one application recently run by the processor and not closed is arranged in ascending order of runtime, wherein

the first task window displayed by the touchscreen is a task window of an application task in the second application; and

the second interface displayed by the touchscreen is an interface of an application 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.

17. The terminal according to claim 10 , wherein the side edge comprises a left side edge of the terminal and/or a right side edge of the terminal.

18. The terminal according to claim 10 , wherein the touchscreen is configured to:

display the first interface in response to a pressing operation that is of the user on at least two points of the side edge and is detected by the sensor.

19. A non-volatile computer storage medium, comprising a computer instruction, wherein when the computer instruction is run on a terminal, the terminal is enabled to perform the task switching method according to claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 21, 2020
From: QIAN, KAI; HUANG, LIWEI; LIU, ZHENYU
To: HUAWEI TECHNOLOGIES CO.,LTD.
Reel/Frame 053266/0212 →
Continuity (1)
Related Publication 20200233551A1 · Jul 23, 2020
Cited By (2)
US 1,086,182 US 1,087,138