WO2019061512A1 - 一种任务切换方法及终端 - Google Patents

一种任务切换方法及终端 Download PDF

Info

Publication number
WO2019061512A1
WO2019061512A1 PCT/CN2017/105064 CN2017105064W WO2019061512A1 WO 2019061512 A1 WO2019061512 A1 WO 2019061512A1 CN 2017105064 W CN2017105064 W CN 2017105064W WO 2019061512 A1 WO2019061512 A1 WO 2019061512A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
interface
task
terminal
user
Prior art date
Application number
PCT/CN2017/105064
Other languages
English (en)
French (fr)
Inventor
钱凯
黄丽薇
刘震宇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to AU2017433305A priority Critical patent/AU2017433305B2/en
Priority to CN201780091583.5A priority patent/CN110741335A/zh
Priority to KR1020207010337A priority patent/KR102446587B1/ko
Priority to EP17926387.6A priority patent/EP3674872A4/en
Priority to PCT/CN2017/105064 priority patent/WO2019061512A1/zh
Priority to US16/651,644 priority patent/US10838596B2/en
Priority to JP2020517817A priority patent/JP2020536307A/ja
Publication of WO2019061512A1 publication Critical patent/WO2019061512A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/169Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being an integrated pointing device, e.g. trackball in the palm rest area, mini-joystick integrated between keyboard keys, touch pads or touch stripes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
    • H04M1/236Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof including keys on side or rear faces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/033Indexing scheme relating to G06F3/033
    • G06F2203/0339Touch strips, e.g. orthogonal touch strips to control cursor movement or scrolling; single touch strip to adjust parameter or to implement a row of soft keys
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a task switching method and a terminal.
  • the mobile terminal can open multiple applications at the same time.
  • the mobile terminal currently displays an interface of one of the multiple applications (application a)
  • other applications of the multiple applications may run in the background of the mobile terminal, and the user may control the mobile terminal to switch to display the multiple applications. Interface.
  • the mobile terminal may exit the interface of the application a and return to the main desktop of the mobile terminal in response to the user's click operation on the Home key or the return key; then, in response to the user clicking on the icon of the other application displayed on the main desktop, Enter the interface of the application selected by the user (ie, the target application) to implement application switching.
  • the problem is that clicking the Home button or the Back button to exit the main desktop, and then searching for the target from the main desktop, the operation of switching the application is cumbersome, and the human-computer interaction performance is poor.
  • the present application provides a task switching method and a terminal, which can reduce user operations of application switching, improve performance of human-computer interaction, and improve user experience.
  • the present application provides a task switching method, which can be applied to a terminal.
  • a sensor is installed on a side of the terminal, and the sensor is used to detect a user's operation on a side.
  • the method includes: the terminal responds to the user.
  • the terminal For the side pressing operation, displaying a first interface including at least one task window corresponding to the task that the terminal has recently operated and is not closed; the terminal detects a sliding operation of the user on the side, the sliding The operation and the pressing operation are continuous operations in which the user's finger does not leave the side edge; the terminal displays the first task window in a preset manner in response to the sliding operation, the first task window being one of the at least one task window, The first task window displayed in the preset manner is switched in the plurality of task windows when the at least one task window includes a plurality of task windows, and the terminal response After detecting that the sliding operation ends and the user's finger leaves the side, the second interface is displayed, and the second interface is the above When the operation ends and the user moving the finger away from said side edge, the first task window displayed on the terminal in a predetermined manner corresponding to the above-described task interface.
  • the terminal may implement a function of “displaying a multi-tasking interface” and “switching an application from a multi-tasking interface to select a task window” in response to a pressing operation and a sliding operation as a continuous operation of the finger without leaving the side; It does not require the user to perform at least two operations at different locations on the phone.
  • the user operation for implementing the application switching can be reduced, the human-computer interaction performance is improved, and the user experience can be improved.
  • the task that the terminal has recently run and is not closed includes an application that the terminal has recently run and is not closed.
  • the first task window is a task window of an application in an application that has recently been operated by the terminal and is not closed.
  • the second interface is when the sliding operation ends and the user's finger leaves the side. The interface of the application corresponding to the first task window displayed by the terminal in the preset manner.
  • the terminal responds to The above pressing operation can display a first interface including a task window of an application that the terminal has recently operated and is not closed. That is, in the present application, the terminal can implement switching between applications as a pressing operation and a sliding operation as continuous operations of the finger without leaving the side, can reduce user operations for realizing switching between applications, and can improve human-computer interaction performance. To improve the user experience.
  • At least one of the first interfaces is a task window of the at least two applications.
  • the application that the terminal has recently run and is not closed includes only the first application, at least one of the first interfaces is a task window of the application task in the first application.
  • the first application in the present application is an application that the terminal is running when the terminal responds to the pressing operation.
  • the terminal displays the first interface in response to the user pressing the side, and may include: the terminal responds to the user pressing the side, and when the terminal has recently run and does not close at least two applications, the terminal displays A first interface comprising task windows of the at least two applications.
  • the first task window is a task window of one of the at least two applications;
  • the second interface is the first display of the terminal in the preset manner when the sliding operation ends and the user's finger leaves the side The interface of the application corresponding to a task window.
  • the terminal may display the first interface in response to the user's pressing operation on the side, and may further include: the terminal responding to the user's pressing operation on the side, when the application that the terminal has recently run and is not closed includes only the first application, A first interface is displayed that includes a task window of one or more application tasks in the first application, the first application being any of the applications.
  • the first task window is a task window of an application task in the first application.
  • 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 ends and the user's finger leaves the side.
  • the terminal can not only switch between applications but also switch between multiple application tasks in one application in response to a pressing operation and a sliding operation as continuous operations of the finger without leaving the side. That is, through the application, the user operation of implementing application task switching of one application can be reduced, and the human-computer interaction performance can be improved and the user experience can be improved.
  • the terminal may determine, by using an interface currently displayed by the terminal, a task window for displaying a plurality of applications on the first interface, or a task window for displaying a plurality of application tasks in the first application. For example, when the terminal currently displays the terminal desktop, the terminal displays a task window of the plurality of applications on the first interface.
  • the terminal displays the first interface in response to the pressing operation of the user on the side, and may include: the terminal responds to the pressing operation of the side by the user, and when the terminal currently displays the desktop of the terminal, the terminal includes the terminal.
  • the first task window is a task window of an application in the application that has been recently opened and not closed by the terminal; the second interface is when the sliding operation ends and the user's finger leaves the side, the terminal is in the preset manner.
  • the interface of the application corresponding to the displayed first task window.
  • the terminal when the terminal currently displays the terminal desktop, the terminal may display a first interface including a task window of one or more applications in response to the user's pressing operation on the side; then the terminal may respond to the continuous operation as a finger Switching between applications without leaving the sliding operation on the side. That is, through this application, the actual reduction can be achieved. Now the user operation of the switching is applied, the human-computer interaction performance is improved, and the user experience can be improved.
  • the terminal may determine whether the task window of the plurality of applications is displayed on the first interface or the plurality of application tasks in the first application by using the position of the pressing operation on the side of the terminal. Task window.
  • the pressing operation is a pressing operation of the user at the first position of the side
  • at least one of the first interfaces is a task window in which the terminal has recently run and does not close one or more applications
  • the pressing operation is a pressing operation of the user in the second position of the side
  • at least one of the first interfaces is a task window of one or more application tasks of the first application.
  • the first location and the second location in the present application may be two different locations on the same side of the terminal. Alternatively, the first location and the second location may be located on two different sides of the terminal.
  • the displaying, by the terminal, the first interface in response to the user pressing the side may include: the terminal responding to the pressing operation of the side by the user, and when the pressing operation is the pressing operation of the user at the first position of the side, Displaying a first interface including a task window of an application that the terminal has recently run and is not closed; the terminal responds to the user's pressing operation on the side, and when the pressing operation is a pressing operation of the user in the second position of the side, the display includes The first interface of the task window of the application task in the application, the second application is an application that has been recently run by the terminal and is not closed, and is arranged in the last bit of the application according to the running time.
  • the first task window is a task window of an application task in the second application.
  • the second interface is an interface of an application task corresponding to the first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side.
  • the terminal may distinguish, according to the location of the pressing operation, the multi-tasking interface for indicating whether the terminal displays multiple applications, or the multi-tasking interface for displaying multiple application tasks of one application. In this way, the terminal can not only switch between applications but also switch between multiple application tasks in one application in response to the pressing operation and the sliding operation as continuous operations in which the finger does not leave the side. That is, through the application, the user operation of implementing application task switching of one application can be reduced, and the human-computer interaction performance can be improved and the user experience can be improved.
  • the side edges include a left side of the terminal and/or a right side of the terminal.
  • the above-mentioned sensor can be disposed on the side of the terminal, and the position where the user can conveniently operate when the user holds the terminal.
  • the specific position of the above sensor on the side of the terminal is not limited in the present application.
  • the side in the present application may be not only the left side and/or the right side of the terminal, but also the upper side and/or the lower side of the terminal, which is not limited in this application.
  • the pressing operation may be a pressing operation of the user on at least two points of the side.
  • the displaying, by the terminal, the first interface, in response to the user pressing the side may include: the terminal displaying the first interface in response to the user pressing the at least two points on the side.
  • the pressing operation of the user on at least two points on the side may be a pressing operation of the user on at least two fixed positions on the same side of the terminal.
  • the user's pressing operation on at least two points on the side may be a user pressing operation on at least two points on different sides of the terminal.
  • the present application provides a terminal on which a sensor is mounted on a side
  • the terminal includes: a detecting unit, a processing unit, and a display unit.
  • the detecting unit is configured to detect an operation of the user on the side of the terminal by using the above sensor.
  • the processing unit is configured to run at least one task in the terminal.
  • a display unit configured to display a first interface, wherein the first interface includes at least one task window, wherein the at least one task window corresponds to the last operation of the processing unit, in response to the pressing operation of the user on the side detected by the detecting unit And tasks that are not closed.
  • the detecting unit is further configured to detect a sliding operation of the user on the side, and the sliding operation and the pressing operation are continuous operations in which the user's finger does not leave the side.
  • the display unit is further configured to display the first task window in a preset manner in response to the sliding operation detected by the detecting unit, wherein the first task window is one of the at least one task window, wherein, according to the sliding operation The change of the sliding position, when the at least one task window includes a plurality of task windows, the first task window displayed in the preset manner is switched in the plurality of task windows.
  • the display unit is further configured to display a second interface in response to detecting that the sliding operation is detected by the detecting unit and the user's finger leaves the side, the second interface is when the sliding operation ends and the user's finger leaves the side
  • the task that the above processing unit has recently run and is not closed includes the application that the terminal has recently run and is not closed.
  • the first task window displayed by the display unit is a task window of an application of the application that has been recently operated and not closed by the processing unit.
  • the second interface displayed by the display unit is an interface of an application corresponding to the first task window displayed in the preset manner when the sliding operation ends and the user's finger leaves the side.
  • the display unit is specifically configured to: in response to a user pressing the side edge, when the processing unit is recently operated and the at least two applications are not closed, the displaying includes at least two The first interface of the application's task window.
  • the first task window is a task window of one of the at least two applications;
  • the second interface is the first display of the display unit in the preset manner when the sliding operation ends and the user's finger leaves the side edge.
  • the interface of the application corresponding to the task window.
  • the display unit is specifically configured to: in response to a user pressing the side edge, when the application unit that has been recently operated and not closed includes only the first application, the display includes The first interface of the task window of one or more application tasks in the first application, where the first application is any one of the foregoing terminals.
  • the first task window is a task window of an application task in the first application.
  • the second interface is an interface of an application task corresponding to the first task window displayed by the display unit in the preset manner when the sliding operation ends and the user's finger leaves the side.
  • the display unit is specifically configured to: in response to a user pressing the side edge, when the display unit currently displays the desktop of the terminal, the displaying includes the processing unit being recently run and The first interface of the task window of the application that is not closed.
  • the first task window is a task window of an application in the application that has been recently opened and not closed by the terminal; and the second interface is that the display unit is preset by the user when the sliding operation ends and the user's finger leaves the side
  • the mode displays the interface of the application corresponding to the first task window.
  • the pressing operation is a pressing operation of the user at the first position of the side.
  • the display unit is specifically configured to: in response to a user pressing operation on the side, when the pressing operation is a pressing operation of the user at the second position of the side, the display includes The first interface of the task window of the application task in the second application, wherein the second application is an application that has been recently run and not closed by the processing unit, and is arranged in the last bit of the application according to the running time.
  • the above The first task window is a task window of an application task in the second application
  • the second interface is a first task window displayed by the display unit in the preset manner when the sliding operation ends and the user's finger leaves the side edge The interface of the corresponding application task.
  • the side edges include a left side of the terminal and/or a right side of the terminal.
  • the display unit is specifically configured to: display the first interface in response to a user pressing a touch on at least two points on the side.
  • the present application provides a terminal, including: a processor, a memory, a touch screen, and a sensor mounted on a side of the terminal, wherein the memory, the touch screen, and the sensor are coupled to the processor, and the memory is used for Storing a computer program code, the computer program code comprising computer instructions, when the processor executes the computer instruction, the sensor is configured to detect a user pressing operation on the side; the processor is further configured to run the terminal At least one task, the data of the at least one task is stored in the memory; the touch screen is configured to display the first interface in response to the pressing operation detected by the sensor, wherein the first interface includes at least one task window, the at least A task window corresponds to a task that has been recently run and not closed by the processor; the sensor is further configured to detect a sliding operation of the user on the side, and the sliding operation and the pressing operation are continuous for the user's finger not to leave the side Operation; the above touch And for displaying the first task window in a preset manner in response to the
  • the tasks that the above-mentioned processor has recently run and are not closed include applications that have recently been run by the processor and are not closed.
  • the first task window displayed by the touch screen is a task window of an application of the application that has been recently run and not closed by the processor.
  • the second interface displayed on the touch screen is an interface of an application corresponding to the first task window displayed by the touch screen in the preset manner when the sensor detects that the sliding operation ends and the user's finger leaves the side.
  • the touch screen is specifically configured to: in response to the pressing operation detected by the sensor, when the processor is recently operated and the at least two applications are not closed, the display includes at least two The first interface of the application's task window.
  • the first task window displayed by the touch screen is a task window of one of the at least two applications;
  • the second interface displayed by the touch screen is when the sensor detects that the sliding operation ends and the user's finger leaves the side.
  • the interface of the application corresponding to the first task window displayed by the touch screen in the preset manner.
  • the touch screen is specifically configured to: in response to the pressing operation detected by the sensor, when the processor that has been recently operated and not closed includes only the first application, the display includes the foregoing a first interface of a task window of one or more application tasks in the first application, wherein the first application is any one of the foregoing terminals.
  • the first task window displayed by the touch screen is the first application.
  • the task window of the application task; the second interface displayed by the touch screen is an interface of the application task corresponding to the first task window displayed by the touch screen in the preset manner when the sliding operation ends and the user's finger leaves the side.
  • the touch screen is specifically configured to: in response to the pressing operation detected by the sensor, when the touch screen currently displays the desktop of the terminal, the display includes that the processor is recently run and is not closed.
  • the first task window displayed by the touch screen is a task window of an application in the application that has been recently opened and not closed by the terminal; the second interface displayed by the touch screen is when the sliding operation ends and the user's finger leaves the side
  • the interface of the application corresponding to the first task window displayed by the touch screen in the foregoing preset manner.
  • the pressing operation detected by the sensor is a pressing operation of the user at the first position of the side.
  • the touch screen is specifically configured to: in response to the pressing operation detected by the sensor, when the pressing operation is a pressing operation of the user at the second position of the side, the displaying includes The first interface of the task window of the application task in the application, wherein the second application is an application that is recently run and not closed, and is arranged in the last bit of the application according to the running time.
  • the first task window displayed by the touch screen is a task window of one application task in the second application.
  • the second interface displayed on the touch screen is an interface of an application task corresponding to the first task window displayed by the touch screen in the preset manner when the sliding operation ends and the user's finger leaves the side.
  • the side edges include a left side of the terminal and/or a right side of the terminal.
  • the touch screen is specifically configured to display the first interface in response to a user pressing the at least two points on the side of the side detected by the sensor.
  • the present application provides a graphical user interface (GUI), where the graphical user interface is stored in a terminal, where the terminal includes a touch screen, a memory, a processor, and a side mounted on the terminal.
  • the sensor on the side is for detecting the operation of the user on the side
  • the processor is for executing one or more computer programs stored in the memory.
  • the graphical user interface includes: a first GUI displayed on the touch screen in response to the pressing operation on the side, the first GUI includes a first interface, and the first interface includes at least one task window, At least one task window corresponds to a task that has been recently run by the processor and is not closed.
  • the sliding operation and the pressing operation are continuous operations of the user's finger not leaving the side, and the second GUI displayed on the touch screen is displayed in a preset manner in the second GUI.
  • the first task window is one of the at least one task window
  • the second GUI The first task window displayed in the above preset manner is switched in the plurality of task windows.
  • the third GUI displayed on the touch screen the third GUI includes a second interface, the second interface is when the sliding operation ends and the user's finger leaves the side The interface of the task corresponding to the first task window displayed in the preset manner in the second GUI.
  • the first task window in the second GUI is a task window of an application of the application that has been recently run and not closed by the processor.
  • the second interface in the third GUI is the sliding When the operation ends and the user's finger leaves the side, the interface of the application corresponding to the first task window displayed in the preset manner in the second GUI is used.
  • the first interface in the first GUI specifically includes a task window in which the processor has recently run and does not close at least two applications.
  • the first task window in the second GUI is a task window of one of the at least two applications.
  • the second interface in the third GUI is an interface of an application corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the first interface in the first GUI specifically includes one or more of the foregoing first applications.
  • the first interface of the task window of the application task, the first application is any one of the foregoing terminals.
  • the first task window in the second GUI is a task window of an application task in the first application.
  • the second interface in the third GUI is an interface of an application task corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the first interface displayed in the first GUI on the touch screen includes the processor nearest to the processor.
  • the first task window in the second GUI is a task window of an application in an application that has been recently run by the terminal and is not closed.
  • the second interface in the third GUI is an interface of an application corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the pressing operation is a pressing operation of the user at the first position of the side.
  • the first interface displayed in the first GUI on the touch screen includes a task window of the application task in the second application
  • the second application described above is that in the application in which the touch screen has been recently operated and not closed, the last application is arranged in the order of running time.
  • the first task window in the second GUI is a task window of one application task in the second application.
  • the second interface in the third GUI is an interface of an application task corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the present application provides a computer storage medium comprising computer instructions, when the computer instructions are run on a terminal, causing the terminal to perform the first aspect and any possible design method thereof The task switching method described.
  • the present application provides a computer program product, when the computer program product is run on a computer, causing the computer to perform the task switching method as described in the first aspect and any of its possible design methods.
  • the terminal according to the second aspect and the third aspect and the possible design method thereof, the GUI of the fourth aspect, the computer storage medium of the fifth aspect, and the computer of the sixth aspect The program products are all used to perform the corresponding methods provided above, and therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods provided above, and are not described herein again.
  • FIG. 1 is a schematic diagram 1 of a display interface of a terminal provided by the present application.
  • FIG. 2 is a schematic structural diagram of hardware of a terminal provided by the present application.
  • FIG. 3A is a schematic diagram 1 of an example of installing a side of a sensor on a terminal according to the present application;
  • FIG. 3B is a schematic diagram 2 of an example of a side of a sensor mounted on a terminal provided by the present application; FIG.
  • 3C is a schematic diagram 3 of an example of a side of a sensor mounted on a terminal provided by the present application;
  • FIG. 5 is a second schematic diagram of a display interface of a terminal provided by the present application.
  • FIG. 6 is a third schematic diagram of a display interface of a terminal provided by the present application.
  • FIG. 7 is a fourth schematic diagram of a display interface of a terminal provided by the present application.
  • FIG. 8 is a schematic diagram 5 of an example of a display interface of a terminal provided by the present application.
  • FIG. 9 is a schematic diagram 6 of an example of a display interface of a terminal provided by the present application.
  • FIG. 10 is a schematic diagram 7 of an example of a display interface of a terminal provided by the present application.
  • FIG. 11 is a schematic diagram 8 of a display interface of a terminal provided by the present application.
  • FIG. 12 is a second flowchart of a task switching method provided by the present application.
  • FIG. 13 is a schematic diagram 9 of an example of a display interface of a terminal provided by the present application.
  • FIG. 14 is a schematic diagram 10 of a display interface of a terminal provided by the present application.
  • FIG. 15 is a schematic diagram 11 of an example of a display interface of a terminal provided by the present application.
  • 16 is a third flowchart of a task switching method provided by the present application.
  • 17 is a schematic diagram 12 of a display interface of a terminal provided by the present application.
  • FIG. 18 is a schematic diagram 1 of an example of a first position and a second position on a side of a terminal provided by the present application;
  • FIG. 19 is a second schematic diagram of an example of a first position and a second position on a side of a terminal provided by the present application.
  • FIG. 20 is a flowchart 4 of a task switching method provided by the present application.
  • 21 is a schematic diagram 13 of an example of a display interface of a terminal provided by the present application.
  • FIG. 22 is a first schematic structural diagram of a terminal provided by the present application.
  • FIG. 23 is a second schematic structural diagram of a terminal provided by the present application.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” may include one or more of the features either explicitly or implicitly. In the description of the present application, "a plurality” means two or more unless otherwise stated.
  • the user can control the mobile phone 100 to implement application switching by:
  • the mobile phone 100 currently displays the interface 101 of the "Settings” application as shown in (a) of FIG. 1, and the mobile phone 100 has recently run the three applications of the "Settings” application, the "Dial” application, and the "WeChat” application.
  • the handset 100 can display a multitasking interface including a plurality of task windows in response to the user's click operation on the Recent button 102.
  • the mobile phone 100 displays the multitasking interface 106 shown in (b) of FIG.
  • the multitasking interface 106 A "dial" task window 107, a "setup” task window 108, and a "WeChat” task window 109 are included.
  • the user can also control the mobile phone to display the multitasking interface shown in (b) of FIG. 1 by double-clicking the home button of the mobile phone.
  • the handset 100 responds to the user's "WeChat” task window 109.
  • the selection operation may display an interface of the "WeChat” application corresponding to the "WeChat” task window 109, such as the WeChat interface 110 shown in (c) of FIG.
  • the aforementioned Recent key 102 is located in the navigation bar 103 of the mobile phone 100.
  • Navigation Bar It is the shortcut button bar at the bottom of the phone screen. It usually appears as the virtual button at the bottom of the phone screen.
  • the navigation bar contains three buttons Back, Home, and Recent buttons by default. The Back button is used to return to the previous interface, the Home button is used to return to the desktop, and the Recent button is used to display the most recently used application.
  • the navigation bar 103 includes a Back key 104, a Home key 105, and a Recent key 102.
  • the mobile phone displays the multi-tasking interface, and then clicks on a task window in the multi-tasking interface to implement the application switching, which requires the user's mobile phone.
  • the application can be switched at least twice in different positions, the user operation is cumbersome, and the human-computer interaction performance is poor.
  • the application provides a task switching method and a terminal, and the method can be applied to a process in which a terminal switches a plurality of tasks that the terminal has recently run. specific.
  • the terminal can implement the switching of the task that the terminal has recently run in response to the user's continuous operation on the side of the terminal, which can reduce the user operation during the task switching and improve the human-computer interaction performance.
  • the terminal can switch an interface that displays multiple tasks of the terminal in the most recent running process.
  • the multiple tasks that the terminal has recently run are multiple applications that the terminal has recently run; or the multiple tasks may be multiple application tasks in the first application that the terminal is currently running.
  • the terminal in the present application may be an electronic device with a sensor disposed on the side.
  • the terminal can be a mobile phone (such as the mobile phone 100 shown in FIG. 1), a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a smart watch, a netbook, and a wearable electronic device.
  • a mobile phone such as the mobile phone 100 shown in FIG. 1
  • PC personal computer
  • PDA personal digital assistant
  • smart watch a netbook
  • wearable electronic device a wearable electronic device.
  • this application does not impose any particular limitation on the specific form of the device.
  • the executor of the task switching method provided by the present application may be a task switching device, which may be the terminal shown in FIG. 1 or FIG. 2.
  • the task switching device may also be a central processing unit (English: Central Processing Unit, CPU for short) of the terminal, or a control module for performing task switching in the terminal.
  • the task switching method provided by the embodiment of the present invention is described in the embodiment of the present invention.
  • the mobile phone 100 is used as an example of the terminal.
  • the mobile phone 100 may specifically include: a processor 201, a radio frequency (RF) circuit 202, a memory 203, a touch screen 204, a Bluetooth device 205, and one or more sensors 206.
  • RF radio frequency
  • These components can communicate over one or more communication buses or signal lines (not shown in Figure 2).
  • the hardware structure shown in FIG. 2 does not constitute a limitation to the mobile phone, and the mobile phone 100 may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the processor 201 is a control center of the mobile phone 100, and connects various parts of the mobile phone 100 by using various interfaces and lines, and executes the mobile phone 100 by running or executing an application stored in the memory 203 and calling data stored in the memory 203. Various functions and processing data.
  • processor 201 can include one or more processing units.
  • the processor 201 may further include a fingerprint verification chip for verifying the collected fingerprint.
  • the radio frequency circuit 202 can be used for receiving and transmitting wireless signals.
  • the radio frequency circuit 202 can process the downlink data of the base station and then process it to the processor 201; in addition, transmit the data related to the uplink to the base station.
  • radio frequency circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency circuit 202 can also communicate with other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol including, but not limited to, global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, and the like.
  • the memory 203 is used to store applications and data, and the processor 201 performs various functions and data processing of the mobile phone 100 by running applications and data stored in the memory 203.
  • the memory 203 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use of the mobile phone. Data created at 100 o'clock (such as audio data, phone book, etc.).
  • the memory 203 may include a high speed random access memory (RAM), and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the memory 203 can store various operating systems.
  • the memory 203 may be independent and connected to the processor 201 via the communication bus; the memory 203 may also be integrated with the processor 201.
  • the touch screen 204 may specifically include a touch panel 204-1 and a display 204-2.
  • the touch panel 204-1 can collect touch events on or near the user of the mobile phone 100 (for example, the user uses any suitable object such as a finger, a stylus, or the like on the touch panel 204-1 or on the touch panel 204.
  • the operation near -1), and the collected touch information is transmitted to other devices (for example, processor 201).
  • the touch event of the user in the vicinity of the touch panel 204-1 may be referred to as a hovering touch; the hovering touch may mean that the user does not need to directly touch the touchpad in order to select, move or drag a target (eg, an icon, etc.) , and only the user is located near the device to perform the desired function.
  • the touch panel 204-1 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • a display (also referred to as display screen) 204-2 can be used to display information entered by the user or information provided to the user as well as various menus of the handset 100.
  • the display 204-2 can be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touchpad 204-1 can be overlaid on the display 204-2. When the touchpad 204-1 detects a touch event on or near it, the touchpad 204-1 transmits to the processor 201 to determine the type of touch event, followed by the processor. 201 may provide a corresponding visual output on display 204-2 depending on the type of touch event.
  • the touch panel 204-1 and the display screen 204-2 function as two independent components to implement the input and output functions of the mobile phone 100
  • the touchpad 204-1 is integrated with the display 204-2 to implement the input and output functions of the handset 100.
  • the touch screen 204 is formed by stacking a plurality of layers of materials. In the embodiment of the present application, only the touch panel (layer) and the display screen (layer) are shown. The other layers are not described in the embodiment of the present application. .
  • the touch panel 204-1 can be configured in the form of a full panel.
  • the display screen 204-2 can also be disposed on the front side of the mobile phone 100 in the form of a full-board, so that a frameless structure can be realized on the front side of the mobile phone.
  • the mobile phone 100 can also have a fingerprint recognition function.
  • the fingerprint reader 212 can be configured on the back of the handset 100 (eg, below the rear camera) or on the front side of the handset 100 (eg, below the touch screen 204).
  • the fingerprint recognizer 212 can be configured in the touch screen 204 to implement the fingerprint recognition function, that is, the fingerprint recognizer 212 can be integrated with the touch screen 204 to implement the fingerprint recognition function of the mobile phone 100.
  • the fingerprint identifier 212 is disposed in the touch screen 204, may be part of the touch screen 204, or may be otherwise disposed in the touch screen 204.
  • the main component of the fingerprint identifier 212 in the embodiment of the present application is a fingerprint sensor, which can employ any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technologies.
  • the mobile phone 100 can also include a Bluetooth device 205 for enabling data exchange between the handset 100 and other short-range devices (eg, mobile phones, smart watches, etc.).
  • the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip or the like.
  • the one or more sensors 206 include a sensor disposed on the side of the mobile phone and operable to detect a user's pressing operation on the side and a sliding operation of the user on the side.
  • the side in the present application includes the left side of the terminal and/or the right side of the terminal.
  • the senor can be disposed on the right side of the handset 100.
  • the sensor is located on the right side of the mobile phone 100 at a position corresponding to the broken line frame 301 shown in FIG. 3A.
  • the sensor may be disposed on the left side of the handset 100.
  • the sensor is located on the left side of the mobile phone 100 at a position corresponding to the dashed box 302 shown in FIG. 3B.
  • the above sensors may be provided on the left side and the right side of the mobile phone 100. For example, as shown in (a) of FIG.
  • the senor may be disposed at a position corresponding to the dotted line frame 303 on the right side of the mobile phone 100, and the above position may be set at a position corresponding to the dotted line frame 304 on the left side of the mobile phone 100. sensor.
  • the above-mentioned sensor may be disposed on the side of the terminal, and is convenient for the user to operate when the user holds the terminal.
  • the specific position of the above sensor on the side of the terminal is not limited in the present application.
  • the side in the present application may be not only the left side and/or the right side of the terminal, but also the upper side and/or the lower side of the terminal, which is not limited in this application.
  • the above sensor may be disposed at a position corresponding to the dotted line frame 305 on the upper side of the mobile phone 100.
  • the one or more sensors 206 described above include, but are not limited to, the above-described sensors, for example, the one or more sensors 206 may also include light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 204 according to the brightness of the ambient light, and the proximity sensor may turn off the power of the display when the mobile phone 100 moves to the ear.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone 100 can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.
  • the mobile phone 100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the Wi-Fi device 207 is configured to provide the mobile phone 100 with network access complying with the Wi-Fi related standard protocol, and the mobile phone 100 can access the Wi-Fi hotspot through the Wi-Fi device 207, thereby helping the user to send and receive emails and browse the network. Pages and access to streaming media, etc., it provides users with wireless broadband Internet access.
  • the Wi-Fi device 207 can also function as a Wi-Fi wireless access point, and can provide Wi-Fi network access to other devices.
  • the positioning device 208 is configured to provide a geographic location for the mobile phone 100. It can be understood that the positioning device 208 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system or a Russian GLONASS.
  • GPS Global Positioning System
  • Beidou satellite navigation system or a Russian GLONASS.
  • the positioning device 208 After receiving the geographic location sent by the positioning system, the positioning device 208 sends the information to the processor 201 for processing, or sends the information to the memory 203 for storage.
  • the positioning device 208 can also be a receiver of an Assisted Global Positioning System (AGPS) that assists the positioning device 208 in performing ranging and positioning services by acting as a secondary server.
  • AGPS Assisted Global Positioning System
  • the secondary location server provides location assistance over a wireless communication network in communication with a location device 208 (i.e., a GPS receiver) of the device, such as handset 100.
  • the positioning device 208 can also be a Wi-Fi hotspot based positioning technology. Since each Wi-Fi hotspot has a globally unique Media Access Control (MAC) address, the device can scan and collect broadcast signals from surrounding Wi-Fi hotspots when Wi-Fi is turned on, so The MAC address broadcasted by the Wi-Fi hotspot can be obtained; the device sends the data (such as the MAC address) capable of indicating the Wi-Fi hotspot to the location server through the wireless communication network, and the location server retrieves each Wi-Fi hotspot. The geographic location, combined with the strength of the Wi-Fi broadcast signal, calculates the geographic location of the device and sends it to the location device 208 of the device.
  • MAC Media Access Control
  • the audio circuit 209, the speaker 213, and the microphone 214 can provide an audio interface between the user and the handset 100.
  • the audio circuit 209 can transmit the converted electrical data of the received audio data to the speaker 213 for conversion to the sound signal output by the speaker 213; on the other hand, the microphone 214 converts the collected sound signal into an electrical signal by the audio circuit 209. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 202 for transmission to, for example, another mobile phone, or the audio data is output to the memory 203 for further processing.
  • the peripheral interface 210 is used to provide various interfaces for external input/output devices (such as a keyboard, a mouse, an external display, an external memory, a subscriber identity module card, etc.). For example, it is connected to the mouse through a Universal Serial Bus (USB) interface, and is connected to a Subscriber Identification Module (SIM) card provided by the service provider through a metal contact on the card slot of the subscriber identity module. . Peripheral interface 210 can be used to couple the external input/output peripherals described above to processor 201 and memory 203.
  • USB Universal Serial Bus
  • SIM Subscriber Identification Module
  • the mobile phone 100 can communicate with other devices in the device group through the peripheral interface 210.
  • the peripheral interface 210 can receive display data sent by other devices for display, etc. No restrictions are imposed.
  • the mobile phone 100 may further include a power supply device 211 (such as a battery and a power management chip) that supplies power to the various components.
  • the battery may be logically connected to the processor 201 through the power management chip to manage charging, discharging, and power management through the power supply device 211. And other functions.
  • the mobile phone 100 may further include a camera (front camera and/or rear camera), a flash, a micro projection device, a near field communication (NFC) device, and the like, and details are not described herein.
  • a camera front camera and/or rear camera
  • a flash a flash
  • micro projection device a micro projection device
  • NFC near field communication
  • the present application provides a task switching method, which can be applied to a terminal.
  • a sensor is installed on a side of the terminal, and the sensor is used to detect a user's operation on the side.
  • the task switching method includes S401-S404:
  • the terminal displays a first interface, where the terminal includes at least one task window, where the at least one task window corresponds to at least one task that the terminal has recently run and is not closed.
  • the sensor is mounted on the side of the terminal, and the sensor can detect a click operation, a pressing operation, a sliding operation, and the like of the user on the side. For example, when the user presses the side, the sensor can detect the pressure value of the user's side press and transmit the detected pressure value to the processor of the terminal; the processor determines that the pressure value is greater than the preset pressure threshold Then, it can be determined that the user's operation on the side is a pressing operation, and the touch screen of the terminal can be instructed to display the first interface.
  • At least one task that the terminal has recently run includes an application that the terminal has recently run and is not closed.
  • the first task window is a task window of an application in an application that has recently been operated by the terminal and is not closed.
  • the task that the terminal has recently run and is not closed refers to the task that is opened and not closed in the terminal after the last power-on of the terminal, and may be in a running state or may be in a state of sleep or idle.
  • the interface of any application in the terminal is currently displayed (for example, the interface 501 of the "WeChat application” shown in (a) of FIG. 5). Or is the terminal currently displaying the terminal desktop (for example, the terminal desktop 502 as shown in (b) of FIG. 5); the terminal may respond to the user's pressing operation on the side, and the display includes that the terminal has recently run and is not closed.
  • the task window of the application is the first interface.
  • the terminal is the above-mentioned mobile phone 100, and the above-mentioned sensor is mounted on the right side of the mobile phone 100 as an example.
  • the mobile phone 100 currently displays the interface 501 of the "WeChat” application; as shown in (b) of FIG. 5, the mobile phone currently displays the terminal desktop 502.
  • the application that the mobile phone 100 has recently run and has not closed includes the "Dial” application, the "Settings” application, and the "WeChat” application.
  • the mobile phone 100 can display the pressing operation of the mobile phone 100 by the user, and displays (c) shown in FIG. 5.
  • the first interface 503 shown in (c) of FIG. 5 includes a task window of an application that the mobile phone 100 has recently run and is not closed, such as a task window 504 of the "Dial” application, a task window 505 of the "Settings” application, and " Task window 506 of the WeChat application.
  • the task windows of the applications included in the first interface may be arranged in the order of the time when the terminal runs the application, or the task windows of the applications included in the first interface may be randomly arranged.
  • the application does not limit the order of the task windows of the applications included in the first interface.
  • the pressing operation may be a pressing operation of the user on at least two points of the side. That is, the above S401 can be replaced with S401a:
  • the terminal displays the first interface in response to the user pressing the at least two points on the side.
  • the pressing operation of the user on at least two points on the side may be a pressing operation of the user on at least two fixed positions on the same side of the terminal.
  • the user's pressing operation on at least two points on the side may be a user pressing operation on at least two points on different sides of the terminal.
  • the pressing operation may consist of a user pressing operation on the right side of the mobile phone 100 and a user pressing operation on the upper side of the mobile phone 100.
  • the terminal detects a sliding operation of the user on the side, and the sliding operation and the pressing operation are not separated from the finger. Open the side of the continuous operation.
  • the “sliding operation and the pressing operation are continuous operations in which the finger does not leave the side” specifically refers to: detecting from the terminal that the user starts the sliding operation on the side, and cutting off the terminal detecting the sliding operation of the user on the side. In one process, the user's finger does not leave the side of the terminal.
  • the sliding operation in the present application may be a sliding operation that is input on the side of the user immediately after the user inputs the pressing operation on the side, that is, there is no time interval between the sliding operation and the pressing operation, and the user's finger does not leave the side;
  • the sliding operation in the present application may also be that after the user inputs a pressing operation on the side, the user's finger does not leave the side of the terminal (ie, the user's finger is always in contact and stays on the side), and is on the side after N seconds.
  • N may be any one of numbers 3, 5, or 10. The range of values of N in the present application is not limited.
  • the terminal displays the first task window in a preset manner in response to the sliding operation, where the first task window is one of the at least one task window, wherein, as the sliding position of the sliding operation changes, at least When a task window includes a plurality of task windows, the first task window displayed in a preset manner is switched among the plurality of task windows.
  • the mobile phone 100 displays the first interface 503 shown in (c) of FIG. 5 in response to the user's pressing operation on the side, the user's finger does not leave the side of the mobile phone 100.
  • the mobile phone 100 may display the blackening mode (ie, the preset mode) shown in (d) of FIG. 5.
  • Dial the task window 504 of the application ie the first task window).
  • the first task window displayed in a preset manner by the terminal in response to the sliding operation may be any one of the at least one task window.
  • the task window displayed in a blackened manner may be replaced by the task window 504 of the "Dial” application shown in (d) of FIG. 5 as the "WeChat” application.
  • Task window 506 (not shown in the drawings), which is not limited in this application.
  • the sliding operation received by the terminal is a touch operation in which the sliding position input by the user on the side changes.
  • the sliding position of the sliding operation changes, when the at least one task window includes a plurality of task windows, the first task window displayed by the terminal in a preset manner switches among the plurality of task windows.
  • the mobile phone 100 when the mobile phone 100 detects the sliding position of the sliding operation, it changes from the point A shown in (a) of FIG. 6 to the B shown in (b) of FIG. 6 along the sliding trajectory 601.
  • the first interface displayed by the mobile phone 100 can be switched from the first interface 506 shown in (a) of FIG. 6 to the first interface 602 shown in (b) of FIG. 6.
  • the mobile phone 100 displays the task window 504 of the "Settings" application in a blackened manner (ie, in a preset manner).
  • the first task window displayed by the terminal in a preset manner continues to switch among the plurality of task windows.
  • the mobile phone 100 may be blackened (ie, preset Mode)
  • a task window 505 (not shown in the drawing) of the "WeChat" application is displayed.
  • the terminal does not display the task window in a preset manner.
  • the terminal displays a second interface, in response to detecting that the sliding operation ends and the user's finger leaves the side, the second interface is a first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side.
  • the interface of the corresponding task is a first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side.
  • the second interface is that the sliding operation ends and the user is away from the finger
  • the terminal displays the interface of the application corresponding to the first task window in a preset manner. That is, when the terminal detects that the sliding operation ends and the user's finger leaves the side, the terminal may display the interface of the task corresponding to the first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side (ie, the second interface).
  • the mobile phone 100 displays the task window 504 of the "Settings" application in a blackened manner (ie, in a preset manner). Then, as shown in (a) of FIG. 7, when the sliding operation ends and the user's finger leaves the side, the mobile phone 100 can display the second interface 701 shown in (b) of FIG. 7, the second interface 701. Is the interface for the Settings app.
  • the preset manner in the application includes, but is not limited to, the “blackening manner”, and the display manner of the first task window displayed in a preset manner is visually different from other ones in the first interface.
  • the task window is fine.
  • the mobile phone 100 can display the task window 504 of the "Settings” application in a manner that protrudes to the left, so that the task window 504 of the "Settings” application is different from The task window 505 of the "WeChat” application and the task window 503 of the "Dial” application.
  • the mobile phone 100 can display the second interface 802 shown in (b) of FIG. 8, which is " Set the "application interface.
  • the manner in which the terminal displays the at least one task window on the first interface includes, but is not limited to, the vertically arranged display manners shown in FIG. 5-8, and the terminal may also display in a horizontally arranged manner, and the first interface displays At least one task window.
  • the mobile phone 100 can display the first interface 901 shown in FIG. 9 in response to the user's pressing operation on the mobile phone 100.
  • the first interface 901 shown in FIG. 9 includes a task window of an application that the mobile phone 100 has recently run and is not closed, such as a task window 902 of the "Dial" application, a task window 903 of the "Settings” application, and a task of the "WeChat” application. Window 904.
  • the mobile phone 100 may display the first interface 1001 shown in FIG. 10 in response to the user's pressing operation on the mobile phone 100.
  • the first interface 1001 shown in FIG. 10 includes a task window of an application that the mobile phone 100 has recently run and is not closed, such as a task window 1002 of the "Settings” application, a task window 1003 of the "Dial” application, and a task of the "WeChat” application. Window 1004.
  • the first interface described in the application may further include a close button for closing each task window.
  • the first interface 1001 may further include a close button 1005, a close button 1006, a close button 1007, and a button close button 1008.
  • the close button 1005 is used to close the task window 1002 of the "Settings” application
  • the close button 1006 is used to close the task window 1003 of the "Dial” application
  • the close button 1007 is used to close the task window 1004 of the "WeChat” application.
  • the terminal closes the task window and closes the application corresponding to the task window.
  • the mobile phone 100 closes the task window 1004 of the "WeChat” application in response to the user's click operation on the close button 1007, and the mobile phone 100 also closes the "WeChat” application.
  • the one-button close button 1008 is used to close all task windows in the first interface 1001 and their corresponding applications.
  • the mobile phone 100 can close the task window 1002 and the "Settings” application of the "Settings” application, the task window 1003 of the "Dial” application, and the "Dial” application and "WeChat” in response to the user's click operation on the one-button close button 1008.
  • Application task window 1004 and "WeChat” application are used to close all task windows in the first interface 1001 and their corresponding applications.
  • the terminal may further distinguish, according to the location of the pressing operation, the manner in which the terminal displays the at least one task window on the first interface.
  • the terminal when the pressing operation is performed by the user on the left side or the right side of the terminal, as shown in FIG. 5-8, when the pressing operation is performed by the user on the right side of the terminal, the terminal may adopt FIG. Vertical row shown in -8 The manner in which the columns are displayed displays the at least one task window on the first interface.
  • the pressing operation is the user's operation on the right side of the terminal
  • the sliding operation is also the user's operation on the right side of the terminal.
  • the terminal may display the at least one task window on the first interface by using a horizontally arranged display manner as shown in FIG.
  • the sliding operation is also the operation of the upper side of the terminal by the user. Displaying the task window in a horizontally arranged display manner, in the process of switching between the plurality of task windows in the first task window displayed in a preset manner as the sliding position of the sliding operation changes, the switching direction of the task window and the finger of the user
  • the sliding direction is uniform, which is more in line with the user's usage habits.
  • the above pressing operation and sliding operation may also be operations of the user on different sides provided with the sensors.
  • the pressing operation may be the user's operation on the right side
  • the sliding operation may be the user's operation on the upper side.
  • the present application provides a task switching method, in which a terminal can display a multi-tasking interface (ie, a first interface) in response to a user's pressing operation on the side, and then respond to the continuous operation with the pressing operation as a finger without leaving the side.
  • the sliding operation displays the first task window in the multitasking interface in a preset manner.
  • the terminal may display an interface of the task corresponding to the first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side (ie, Second interface).
  • the terminal may implement a function of “displaying a multi-tasking interface” and “switching an application from a multi-tasking interface to select a task window” in response to a pressing operation and a sliding operation as a continuous operation of the finger without leaving the side; It does not require the user to perform at least two operations at different locations on the phone.
  • the user operation for implementing the application switching can be reduced, the human-computer interaction performance is improved, and the user experience can be improved.
  • the terminal when the terminal has recently run and does not close at least two applications, at least one of the first interfaces is a task window of the at least two applications; when the terminal has recently run When the application that is not closed includes only the first application, at least one task window in the first interface is a task window of the application task in the first application.
  • the first application in the present application is an application that the terminal is running when the terminal responds to the pressing operation.
  • S401 shown in FIG. 4 may include S1201:
  • S1201 The terminal responds to a user pressing operation on the side.
  • the terminal has recently run and does not close at least two applications, the first interface including the task window of the at least two applications is displayed.
  • the task window included in the first interface is a task window of the at least two applications.
  • the mobile phone 100 is included in the first interface.
  • the first task window is a task window of one of the at least two applications.
  • the second interface is an interface of an application corresponding to the first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side.
  • the second interface is an interface of a "setup" application.
  • the application that the terminal has recently run and is not closed includes only the first application, and at least one of the first interfaces is a task of the application task in the first application. window.
  • S401 shown in FIG. 4 may further include S1202:
  • the terminal responds to the user pressing operation on the side.
  • the application that the terminal has recently run and is not closed includes only the first application, displaying a first interface of the task window including the application task in the first application, the first interface
  • the application is an application that the terminal is running in response to a press operation.
  • the first application in the application may be an embedded application in the terminal (ie, a system application of the terminal) or a downloadable application.
  • the embedded application is an application provided as part of the implementation of the terminal (such as the mobile phone 100), such as a "setup” application, a "browser” application.
  • the downloadable application is an application that can provide its own Internet Protocol Multimedia Subsystem (IMS) connection.
  • IMS Internet Protocol Multimedia Subsystem
  • the downloadable application can be pre-installed in the terminal or can be downloaded and installed by the user.
  • Third-party applications such as "WeChat” applications, "Alipay” applications.
  • the task window included in the first interface is a task window of at least one application task in the first application.
  • the application that the mobile phone 100 has recently run and is not closed includes only the "browser" application (ie, the first application described above).
  • the mobile phone can display the first interface 1303 shown in (c) of FIG. 13 in response to the user's pressing operation on the side of the mobile phone 100 shown in (a) of FIG. 13 or (b) of FIG.
  • the mobile phone 100 opens two webpage windows (ie, application task windows) of the "browser” application when running the "browser” application.
  • the first interface 1303 includes a webpage window 1304 of the webpage 1 and a webpage window 1305 of the front page.
  • the first task window is a task window of an application task in the first application.
  • the mobile phone 100 executes S403, and in response to the sliding operation, the first task window displayed in a preset manner (such as blackening) is the webpage 1 in the "browser" application shown in (d) of FIG. Web page window 1303.
  • the second interface is an interface of an application task corresponding to the first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side.
  • the second interface 1401 displayed by the mobile phone 100 in response to detecting the end of the sliding operation and the user's finger leaving the side is the sliding operation shown in (a) of FIG.
  • the mobile phone displays the interface of the webpage window 1303 of the webpage 1 in a blackened manner.
  • the terminal in the second application scenario, if the application that the terminal has recently run and is not closed includes only the first application, then the terminal currently displays the terminal desktop 1302 shown in (b) of FIG. 13 .
  • the interface 1301 of the "browser" application shown in (a) of FIG. 13 ie, the interface of the first application
  • the terminal may display the application task included in the first application in response to the user pressing the side to the side.
  • the first interface of the task window (the first interface 1303 shown in (c) of FIG. 13).
  • the first application in this application includes, but is not limited to, the above-mentioned “browser” application, and the first application may be any application in the terminal.
  • the first application can be a "contact” application in the terminal.
  • the mobile phone can display the (c) in FIG. 15 in response to the user's pressing operation on the side of the mobile phone 100 shown in (a) of FIG. 15 or (b) of FIG.
  • the first interface 1503 is shown.
  • fake The most recent contacts for the mobile phone 100 when running the "Contacts" application include Aaron, Zhang San and Ben.
  • the first interface 1503 includes Aaron's contact window 1504, Zhang's contact window 1505, and Ben's contact window 1506.
  • the terminal may display a first interface of the task window including the application task in the first application in response to the user pressing the side. For example, whether the mobile phone currently displays the contact list interface 1501 shown in (a) of FIG. 15 (ie, the interface of the "contact” application), or the recent contact list interface shown in (b) of FIG. 1502 (ie, the interface of the "contact” application), the terminal can display the first interface including the contact window in the "contact” application in response to the user's pressing operation on the side (FIG. 15 (c) The first interface 1503) shown.
  • the first contact window ie, the contact window of Ben 1506
  • the other contact window the contact of Aaron
  • Window 1504 and Zhang's contact window 1505) may be different.
  • the manner in which the terminal displays the task window of the application task in the first application in the first interface may refer to the foregoing embodiment, where the terminal displays the task window of the multiple applications in the first interface. The method is not repeated here.
  • the terminal can not only switch between applications but also switch between multiple application tasks in one application in response to a pressing operation and a sliding operation as continuous operations of the finger without leaving the side. That is, through the application, the user operation of implementing application task switching of one application can be reduced, and the human-computer interaction performance can be improved and the user experience can be improved.
  • the terminal may determine, by using an interface currently displayed by the terminal, a task window for displaying multiple applications on the first interface, or a task window for displaying multiple application tasks in the first application. Specifically, when the terminal currently displays the terminal desktop, the terminal displays the task windows of the multiple applications on the first interface. Specifically, as shown in FIG. 16, the above S401 can be replaced with S1601:
  • S1601 The terminal responds to the pressing operation of the user on the side.
  • the terminal currently displays the desktop of the terminal, the first interface of the task window including the application that the terminal has recently run and is not closed is displayed.
  • the task window included in the first interface is a task window of the at least two applications.
  • the first interface includes a task window of a "WeChat” application that the mobile phone 100 has recently operated and is not closed, a task window of the "Dial” application, and a task window of the "Settings” application.
  • the first task window is a task window of one of the at least two applications.
  • the second interface is an interface of an application corresponding to the first task window displayed by the terminal in a preset manner when the sliding operation ends and the user's finger leaves the side.
  • the second interface is an interface of the "Settings" application.
  • the terminal can only display the first response in response to the user's pressing operation on the side.
  • the first interface of the task window For example, as shown in (b) of FIG. 5, when the mobile phone 100 currently displays the terminal desktop 502, the mobile phone 100 can display the first shown in (c) of FIG. 5 in response to the user's pressing operation on the side. Interface 503.
  • the first interface of the task window including the application tasks in the first application cannot be displayed. For example, as shown in (b) of FIG. 13, when the mobile phone 100 currently displays the terminal desktop 1302, the mobile phone 100 cannot display the first one shown in (c) of FIG. 13 in response to the user's pressing operation on the side. At interface 503, only the first interface 1701 shown in FIG. 17 can be displayed.
  • the terminal currently displays not the desktop of the terminal, such as the desktop shown in (b) of FIG. 13 or (b) in FIG. 5; the first application in the terminal ( An interface of any application in the terminal, such as an interface of a "browser” application shown in (a) of FIG. 13, or an interface of a "WeChat” application shown in (a) of FIG. 5;
  • the S1201 or S1202 in the second application scenario of the present application may be executed to display a corresponding first interface.
  • the terminal when the terminal currently displays the terminal desktop, the terminal may display a first interface including a task window of one or more applications in response to the user's pressing operation on the side; then the terminal may respond to the continuous operation as a finger Switching between applications without leaving the sliding operation on the side. That is, through the application, the user operation for implementing the application switching can be reduced, the human-computer interaction performance is improved, and the user experience can be improved.
  • the terminal may determine whether to display the task window of the multiple application in the first interface or display multiple application tasks in the first application by using the location of the pressing operation on the side of the terminal. Task window.
  • the pressing operation is a pressing operation of the user at the first position of the side
  • at least one of the first interfaces is a task window in which the terminal has recently run and does not close one or more applications
  • the pressing operation is a pressing operation of the user in the second position of the side
  • at least one of the first interfaces is a task window of one or more application tasks of the first application.
  • first location and the second location in the present application may be two different locations on the same side of the terminal.
  • first location 1801 and the second location 1802 can be two different locations on the right side of the handset 100.
  • first location and the second location may be located on two different sides of the terminal.
  • first location 1901 can be located on the right side of the handset 100 and the second location can be located on the upper side of the handset 100.
  • S401 shown in FIG. 4 may include S2001:
  • the terminal responds to the user's pressing operation on the side.
  • the pressing operation is a pressing operation of the user at the first position of the side
  • the first interface of the task window including the application that the terminal has recently operated and is not closed is displayed.
  • the terminal is currently displaying the interface of any application in the terminal (for example, the interface 501 of the "WeChat application” shown in (a) of FIG. 5, or the terminal is currently displaying the terminal desktop (for example, the terminal desktop 502 shown in (b) of FIG. 5); Regardless of an application or a plurality of applications that the terminal has recently run and is not closed; the terminal may display a first interface of a task window including an application that the terminal has recently operated and is not closed in response to a user's pressing operation on the side ( For example, the first interface 503) as shown in (c) of FIG.
  • S401 shown in FIG. 4 may further include S2002:
  • the terminal is responsive to a user pressing operation on the side, and when the pressing operation is a pressing operation of the user in the second position of the side, displaying a first interface of the task window including the application task in the second application, the second
  • the application is an application that has been recently run and not closed by the terminal, and is arranged in the last application according to the running time.
  • the terminal is currently displaying the interface of any application in the terminal (for example, the interface 2101 of the "browser" application shown in (a) of FIG. 21, or the terminal is currently displaying the terminal desktop (for example, the terminal desktop 2102 shown in (b) of FIG. 21); , regardless of whether the terminal has been running recently And an application or a plurality of applications that are not closed; the terminal may display a first interface of the task window including the application task in the second application in response to the user pressing the side (for example, as shown in FIG. 21 ( c) The first interface 2103 shown.
  • any application in the terminal For example, the interface 2101 of the "browser" application shown in (a) of FIG. 21, or the terminal is currently displaying the terminal desktop (for example, the terminal desktop 2102 shown in (b) of FIG. 21); , regardless of whether the terminal has been running recently And an application or a plurality of applications that are not closed; the terminal may display a first interface of the task window including the application task in the second application in response to the user
  • the terminal is currently displaying an interface of an application, such as the interface 2101 of the "browser” application shown in (a) of FIG. 21, the application that the terminal is running (such as a "browser” application) It is the second application described above.
  • an application such as the interface 2101 of the "browser” application shown in (a) of FIG. 21
  • the application that the terminal is running such as a "browser” application
  • the second application is the application that the terminal has recently run and is not closed, according to the operation.
  • the order of time is arranged in the last application. For example, suppose that the most recent applications in the mobile phone 100 that have not been closed include the "Browser” application, the "WeChat” application, and the “Settings” application.
  • the "Browser” application has recently run at 14:20 on September 28, 2017.
  • the most recent run time for the WeChat app is 10:25 on September 28, 2017, and the most recent run time for the Settings app is September 28, 2017 at 12:36.
  • the second application above is a "browser" application.
  • the terminal may distinguish, according to the location of the pressing operation, the multi-tasking interface for indicating whether the terminal displays multiple applications, or the multi-tasking interface for displaying multiple application tasks of one application. In this way, the terminal can not only switch between applications but also switch between multiple application tasks in one application in response to the pressing operation and the sliding operation as continuous operations in which the finger does not leave the side. That is, through the application, the user operation of implementing application task switching of one application can be reduced, and the human-computer interaction performance can be improved and the user experience can be improved.
  • the above terminal and the like include hardware structures and/or software modules corresponding to each function.
  • the embodiments of the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the invention.
  • the embodiment of the present application may perform the division of the function modules on the terminal or the like according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • the present application provides a task switching device, which is included in the terminal provided by the present application.
  • the task switching device includes: a detecting unit 2201, a processing unit 2202, and a display unit. 2203.
  • the detecting unit 2201 is configured to support the task switching device to perform the “detecting the user's pressing operation on the side” in S401 and S401a in the foregoing method embodiment, and “detecting that the sliding operation ends and the user's finger leaves the side” in S402 and S404.
  • S2201 "detecting a user's pressing operation at a first position on the side", "detecting a user's pressing operation at a second position on the side” in S2202, and/or other processes for the techniques described herein.
  • the processing unit 2202 is configured to support the task switching device to run at least one task, where the at least one task may be at least one application that has been recently run and is not closed, or at least one of the first application or the second application. Application tasks.
  • the above display unit 2203 is configured to support the task switching device to execute S401, S401a, S403, S404, S1201, S1202, S1601, S2001, S2002, and/or other processes for the techniques described herein in the above method embodiments.
  • the task switching device may further include: a storage unit.
  • the storage unit is configured to support the task switching apparatus to perform related data for saving the first interface and the second interface in the method embodiment, and/or other processes for the techniques described herein.
  • the above-mentioned task switching apparatus may be included in the terminal provided by the present application, that is, the present application provides a terminal, as shown in FIG. 22, which shows a possible structural diagram of the terminal involved in the foregoing embodiment.
  • the terminal 2200 includes a detecting unit 2201, a processing unit 2202, and a display unit 2203.
  • the detection unit 2201, the processing unit 2202, and the display unit 2203 support the method steps performed by the terminal. For details, refer to the detailed description of the method steps performed by the task switching device in the task switching device. .
  • the terminal 2200 may further include: a storage unit.
  • a storage unit For the method steps performed by the storage unit to support the terminal, reference may be made to the detailed description of the method steps performed by the storage unit supporting the task switching device in the task switching device, which is not described herein again.
  • the task switching device and the terminal 2200 described above include, but are not limited to, the above-mentioned unit modules.
  • the terminal 2200 may further include a communication unit for communicating with other terminals.
  • the specific functions that can be implemented by the foregoing functional units include, but are not limited to, the functions corresponding to the method steps described in the foregoing examples.
  • the terminal 2200 For detailed descriptions of other units of the terminal 2200, reference may be made to the detailed description of the corresponding method steps. The examples are not described here.
  • the detecting unit 2201 and the processing unit 2202 described above may be integrated into one processing module.
  • the communication unit may be an RF circuit, a WiFi module or a Bluetooth module of the terminal, and the storage unit may be a terminal.
  • the storage unit 2203 may be a display module, such as a touch screen.
  • FIG. 23 is a schematic diagram showing a possible structure of a terminal involved in the above embodiment.
  • the terminal 2300 includes a processing module 2301, a storage module 2302, a display module 2303, and a sensing module 2304.
  • the sensing module 2304 is configured to detect a pressing operation and a sliding operation action of the user on the side of the terminal.
  • the processing module 2301 is configured to control and manage user operations detected by the sensing module 2304.
  • the display module 2303 is configured to display an image generated by the processing module 2301.
  • the storage module 2302 is configured to save program codes and data of the terminal.
  • the terminal 2300 may further include a communication module.
  • the communication module is used to communicate with other terminals.
  • the communication module is used for voice communication with other terminals, and receives or sends an avatar to other terminals.
  • the processing module 2301 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It may implement or perform various exemplary embodiments described in connection with the present disclosure. Logic blocks, modules and circuits.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module 2302 can be a memory.
  • Sensing module 2304 can be a sensor.
  • the processing module 2301 is a processor (such as the processor 201 shown in FIG. 2)
  • the communication module is an RF circuit (such as the RF circuit 202 shown in FIG. 2)
  • the storage module 2302 is a memory (such as the memory 203 shown in FIG. 2).
  • the display module 2303 is a touch screen (including the touch panel 204-1 and the display 204-2 shown in FIG. 2)
  • the sensing module 2304 is a sensor (such as the sensor 206 shown in FIG. 2), which is provided by the present application.
  • the terminal can be the mobile phone 100 shown in FIG. 2.
  • the foregoing communication module may include not only an RF circuit but also a WiFi module and a Bluetooth module. Communication modules such as RF circuits, WiFi modules, and Bluetooth modules can be collectively referred to as communication interfaces. Wherein, the above processor, communication interface, touch screen and memory can be coupled together by a bus.
  • the embodiment of the present application further provides a graphical user interface (GUI), which is stored in the terminal.
  • GUI graphical user interface
  • the terminal includes a touch screen, a memory, a processor and a sensor mounted on a side of the terminal for detecting operation of the user on the side, the processor for executing one or more stored in the memory Computer program.
  • the graphical user interface includes:
  • the first GUI displayed on the touch screen in response to the above a pressing operation of the side, the first GUI displayed on the touch screen, the first GUI includes a first interface, the first interface includes at least one task window, and the at least one task window is recently operated corresponding to the processor. And tasks that are not closed.
  • the sliding operation and the pressing operation are such that the user's finger does not leave the above a continuous operation of the side, the second GUI displayed on the touch screen, wherein the first task window is displayed in a preset manner, and the first task window is one of the at least one task window, wherein The change of the sliding position of the sliding operation, when the at least one task window includes a plurality of task windows, the first task window displayed in the preset manner in the second GUI is switched in the plurality of task windows;
  • the third GUI displayed on the touch screen, the third GUI Including the second interface, when the sliding operation ends and the user's finger leaves the side edge the second GUI shown in (a) of FIG. 7 , FIG. 8 or FIG. 14 corresponds to the foregoing Set the interface of the task corresponding to the first task window displayed by the mode.
  • the first task window in the second GUI is a task window of an application in an application that is recently run by the processor and is not closed.
  • the second interface in the third GUI is an interface of an application corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the first interface in the first GUI specifically includes a task window that is recently run by the processor and does not close at least two applications.
  • the first task window in the second GUI is a task window of one of the at least two applications.
  • the second interface in the third GUI is an interface of an application corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the first interface in the first GUI specifically includes that the processor is recently operated and The task windows of at least two applications are not closed.
  • the first task window in the second GUI is a task window of one of the at least two applications.
  • the second interface in the third GUI is (a) in the corresponding figure in FIG. 7 or FIG. 8 when the sliding operation ends and the user's finger leaves the side edge.
  • the first interface in the first GUI specifically includes one or more of the foregoing first applications.
  • the first interface of the task window of the application task the first application is any one of the foregoing terminals.
  • the first task window in the second GUI is a task window of an application task in the first application.
  • the second interface in the third GUI is an interface of an application task corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the first interface in the first GUI specifically includes a first interface of a task window of one or more application tasks in the first application, where the first application is in the terminal. Any application.
  • the first task window in the second GUI is a task window of an application task in the first application.
  • the second interface in the third GUI is the second GUI shown in (a) of FIG. 14 when the sliding operation ends and the user's finger leaves the side. The interface of the application task corresponding to the first task window displayed in the preset mode.
  • the first interface displayed in the first GUI on the touch screen includes the processor running recently The task window of an application that has not been closed.
  • the first task window in the second GUI is a task window of an application in an application that has been recently run by the terminal and is not closed.
  • the second interface in the third GUI is an interface of an application corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the first GUI includes the above-mentioned processor shown in (c) of FIG. 5, which has recently been operated and not closed.
  • the first interface of the application's task window is when the sliding operation ends and the user's finger leaves the side, the corresponding figure in FIG. 7 or FIG. 8 (a) An interface of an application corresponding to the first task window displayed in the preset manner in the second GUI.
  • the first interface displayed in the first GUI on the touch screen includes the task of the application that the terminal has recently run and is not closed. window.
  • the first GUI includes the application shown in (c) of FIG. 5 including the processor that has been recently run and not closed.
  • the first interface of the task window is when the sliding operation ends and the user's finger leaves the side, the corresponding figure in FIG. 7 or FIG. 8 (a) An interface of an application corresponding to the first task window displayed in the preset manner in the second GUI.
  • the first interface displayed in the first GUI on the touch screen includes a task window of an application task in the second application, in response to the pressing operation at the second position of the side edge.
  • the second application is an application in which the touch screen has been recently operated and not closed, and the last application is arranged in the order of running time.
  • the first task window in the second GUI is a task window of one application task in the second application.
  • the second interface in the third GUI is an interface of an application task corresponding to the first task window displayed in the preset manner in the second GUI when the sliding operation ends and the user's finger leaves the side.
  • the first interface in the first GUI specifically includes one of the foregoing first applications. Or a first interface of the task window of the plurality of application tasks, where the first application is any one of the foregoing terminals.
  • the first task window in the second GUI is a task window of an application task in the first application.
  • the second interface in the third GUI is the second GUI shown in (a) of FIG. 14 when the sliding operation ends and the user's finger leaves the side. The interface of the application task corresponding to the first task window displayed in the preset mode.
  • the application further provides a computer storage medium, wherein the computer storage medium stores computer program code, and when the processor executes the computer program code, the terminal performs any one of FIG. 4, FIG. 12, FIG. 16, and FIG.
  • the related method steps in the figure implement the task switching method in the above embodiment.
  • the present application also provides a computer program product, when the computer program product is run on a computer, causing the computer to perform the related method steps in any of FIG. 4, FIG. 12, FIG. 16, FIG. 20 to implement the above embodiment
  • the task switching method in is also provided.
  • the terminal 2200, the terminal 2300, the computer storage medium or the computer program product provided by the application are all used to perform the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the corresponding ones provided above. The beneficial effects in the method are not described here.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, It can be stored on a computer readable storage medium.
  • the technical solution of the present application in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.

Abstract

本申请提供一种任务切换方法及终端,涉及电子技术领域,可以减少应用切换的用户操作,提高人机交互的性能,可以提高用户体验。具体方案包括:侧边上安装有传感器的终端响应于用户对侧边的按压操作,显示包括至少一个任务窗的第一界面;检测用户在侧边的滑动操作,该滑动操作和按压操作为手指不离开侧边的连续操作;响应于滑动操作,以预设方式显示第一任务窗,随着滑动操作的滑动位置的变化,当至少一个任务窗中包括多个任务窗时,以预设方式显示的第一任务窗在多个任务窗中切换;响应于检测到滑动操作结束且用户手指离开侧边,显示第二界面,该第二界面是滑动操作结束且用户手指离开侧边时,终端以预设方式显示的第一任务窗对应的任务的界面。

Description

一种任务切换方法及终端 技术领域
本申请涉及电子技术领域,尤其涉及一种任务切换方法及终端。
背景技术
随着移动终端的普及,移动终端的性能的提高,移动终端的存储空间的扩大,移动终端中可以安装的应用越来越多。其中,移动终端可以同时开启多个应用。当移动终端当前显示该多个应用中的一个应用(应用a)的界面时,该多个应用中的其他应用则可以在该移动终端的后台运行,用户可以控制移动终端切换显示该多个应用的界面。
例如,移动终端可以响应于用户对Home键或者返回键的点击操作,退出上述应用a的界面,返回移动终端的主桌面;然后响应于用户对主桌面上显示的其他应用的图标的点击操作,进入用户选择的应用(即目标应用)的界面,实现应用的切换。但是,存在的问题是,点击Home键或者返回键退出主桌面,再从主桌面中寻找目标,实现应用的切换的操作繁琐,人机交互性能较差。
发明内容
本申请提供一种任务切换方法及终端,可以减少应用切换的用户操作,提高人机交互的性能,可以提高用户体验。
第一方面,本申请提供一种任务切换方法,该方法可以应用于终端,该终端的侧边上安装有传感器,该传感器用于检测用户在侧边的操作,该方法包括:终端响应于用户对侧边的按压操作,显示包括至少一个任务窗的第一界面,该至少一个任务窗对应于上述终端最近运行过且未关闭的任务;该终端检测用户在上述侧边的滑动操作,该滑动操作和上述按压操作为用户手指不离开上述侧边的连续操作;该终端响应于上述滑动操作,以预设方式显示第一任务窗,该第一任务窗是上述至少一个任务窗中的一个,其中,随着上述滑动操作的滑动位置的变化,当上述至少一个任务窗中包括多个任务窗时,以该预设方式显示的第一任务窗在上述多个任务窗中切换;该终端响应于检测到上述滑动操作结束且用户手指离开上述侧边,显示第二界面,该第二界面是上述滑动操作结束且用户手指离开上述侧边时,该终端以上述预设方式显示的第一任务窗对应的任务的界面。
其中,本申请中,终端可以响应于作为手指不离开侧边的连续操作的按压操作和滑动操作,实现“显示多任务界面”和“从多任务界面选择任务窗进行应用的切换”的功能;而不需要用户的在手机的不同位置进行至少两次操作。通过本申请,可以减少实现应用切换的用户操作,提高了人机交互性能,可以提高用户体验。
在一种可能的设计方法中,上述终端最近运行过且未关闭的任务包括该终端最近运行过且未关闭的应用。相应的,上述第一任务窗是该终端最近运行过且未关闭的应用中一个应用的任务窗。上述第二界面是上述滑动操作结束且用户手指离开侧边时, 该终端以上述预设方式显示的第一任务窗对应的应用的界面。
其中,在本申请中,无论终端当前显示终端桌面或者第一应用(即终端中的任一应用)的界面,并且无论终端最近运行过且未关闭的一个应用或者多个应用;该终端响应于上述按压操作都可以显示包括终端最近运行过且未关闭的应用的任务窗的第一界面。即本申请中,终端可以响应于作为手指不离开侧边的连续操作的按压操作和滑动操作,实现应用之间的切换,可以减少实现应用之间的切换的用户操作,可以提高人机交互性能,提高用户体验。
在另一种可能的设计方法中,当终端最近运行过且未关闭至少两个应用时,上述第一界面中的至少一个任务窗是该至少两个应用的任务窗。当终端最近运行过且未关闭的应用仅包括第一应用时,上述第一界面中的至少一个任务窗是该第一应用中的应用任务的任务窗。其中,本申请中的第一应用是终端响应上述按压操作时,该终端正在运行的应用。
具体的,上述终端响应于用户对侧边的按压操作,显示第一界面,可以包括:终端响应于用户对侧边的按压操作,当该终端最近运行过且未关闭至少两个应用时,显示包括该至少两个应用的任务窗的第一界面。相应的,上述第一任务窗是该至少两个应用中一个应用的任务窗;上述第二界面是上述滑动操作结束且用户手指离开所述侧边时,该终端以上述预设方式显示的第一任务窗对应的应用的界面。
上述终端响应于用户对侧边的按压操作,显示第一界面,还可以包括:终端响应于用户对侧边的按压操作,当该终端最近运行过且未关闭的应用仅包括第一应用时,显示包括该第一应用中的一个或多个应用任务的任务窗的第一界面,该第一应用是该终端中的任一应用。相应的,上述第一任务窗是该第一应用中的一个应用任务的任务窗。上述第二界面是滑动操作结束且用户手指离开所述侧边时,该终端以上述预设方式显示的第一任务窗对应的应用任务的界面。
本申请中,终端不仅可以响应于作为手指不离开侧边的连续操作的按压操作和滑动操作,实现应用之间的切换;还可以实现一个应用中的多个应用任务之间的切换。即通过本申请,还可以减少实现一个应用的应用任务切换的用户操作,可以提高人机交互性能,提高用户体验。
在另一种可能的设计方法中,终端可以通过终端当前显示的界面,来确定在第一界面显示多个应用的任务窗,还是显示第一应用中的多个应用任务的任务窗。例如,当终端当前显示终端桌面时,终端在第一界面显示多个应用的任务窗。
具体的,上述终端响应于用户对侧边的按压操作,显示第一界面,可以包括:终端响应于用户对上述侧边的按压操作,当该终端当前显示该终端的桌面时,显示包括该终端最近运行过且未关闭的应用的任务窗的第一界面。其中,上述第一任务窗是上述终端最近运行过且未关闭的应用中一个应用的任务窗;该第二界面是上述滑动操作结束且用户手指离开上述侧边时,该终端以上述预设方式显示的第一任务窗对应的应用的界面。
本申请中,当终端当前显示终端桌面时,该终端响应于用户在侧边的按压操作,可以显示包括一个或多个应用的任务窗的第一界面;然后终端可以响应于与连续操作作为手指不离开侧边的滑动操作,实现应用之间的切换。即通过本申请,可以减少实 现应用切换的用户操作,提高了人机交互性能,可以提高用户体验。
在另一种可能的设计方法中,终端可以通过上述按压操作在终端的侧边的位置,来确定在第一界面显示多个应用的任务窗,还是显示第一应用中的多个应用任务的任务窗。
具体的,当上述按压操作是用户在侧边的第一位置的按压操作时,上述第一界面中的至少一个任务窗是终端最近运行过且未关闭一个或多个应用的任务窗;当上述按压操作是用户在侧边的第二位置的按压操作时,上述第一界面中的至少一个任务窗是第一应用的一个或多个应用任务的任务窗。其中,本申请中的第一位置和第二位置可以是终端的同一侧边上不同的两个位置。或者,该第一位置和第二位置可以位于终端的两个不同侧边上。
其中,上述终端响应于用户对侧边的按压操作,显示第一界面,可以包括:终端响应于用户对侧边的按压操作,当按压操作是用户在侧边的第一位置的按压操作时,显示包括终端最近运行过且未关闭的应用的任务窗的第一界面;终端响应于用户对侧边的按压操作,当按压操作是用户在侧边的第二位置的按压操作时,显示包括第二应用中的应用任务的任务窗的第一界面,该第二应用是终端最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用。相应的,上述第一任务窗是上述第二应用中的一个应用任务的任务窗。上述第二界面是该滑动操作结束且用户手指离开侧边时,该终端以预设方式显示的第一任务窗对应的应用任务的界面。
本申请中,终端可以根据按压操作的位置,来区分该按压操作用于指示终端显示多个应用的多任务界面,还是显示一个应用的多个应用任务的多任务界面。这样,终端响应于作为手指不离开侧边的连续操作的按压操作和滑动操作,不仅可以实现应用之间的切换,还可以实现一个应用中的多个应用任务之间的切换。即通过本申请,还可以减少实现一个应用的应用任务切换的用户操作,可以提高人机交互性能,提高用户体验。
在另一种可能的设计方法中,上述侧边包括终端的左侧边和/或终端的右侧边。可以理解,上述传感器可以设置在该终端的侧边上、当用户手持终端时方便用户操作的位置处即可。本申请对上述传感器在终端侧边的具体位置不作限定。并且,本申请中的侧边不仅可以是终端的左侧边和/或右侧边,还可以是终端的上侧边和/或下侧边,本申请对此不作限制。
在另一种可能的设计方法中,为了避免用户的误操作,上述按压操作可以是用户对侧边的至少两点的按压操作。具体的,上述终端响应于用户对侧边的按压操作,显示第一界面,可以包括:该终端响应于用户对上述侧边上至少两点的按压操作,显示上述第一界面。
其中,用户对侧边上至少两点的按压操作可以是用户对终端上同一侧边的至少两个固定位置的按压操作。或者,用户对侧边上至少两点的按压操作可以是用户对终端不同侧边上至少两点的按压操作。
第二方面,本申请提供一种终端,该终端的侧边上安装有传感器,该终端包括:检测单元、处理单元和显示单元。其中,上述检测单元,用于通过上述传感器检测用户在终端的侧边的操作。上述处理单元,用于运行上述终端中的至少一个任务。上述 显示单元,用于响应于上述检测单元检测的用户对上述侧边的按压操作,显示第一界面,上述第一界面中包括至少一个任务窗,上述至少一个任务窗对应于上述处理单元最近运行过且未关闭的任务。上述检测单元,还用于检测用户在上述侧边的滑动操作,上述滑动操作和上述按压操作为用户手指不离开上述侧边的连续操作。上述显示单元,还用于响应于上述检测单元检测的上述滑动操作,以预设方式显示第一任务窗,上述第一任务窗是上述至少一个任务窗中的一个,其中,随着上述滑动操作的滑动位置的变化,当上述至少一个任务窗中包括多个任务窗时,以上述预设方式显示的第一任务窗在上述多个任务窗中切换。上述显示单元,还用于响应于上述检测单元检测的检测到上述滑动操作结束且用户手指离开上述侧边,显示第二界面,上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述终端以上述预设方式显示的第一任务窗对应的任务的界面。
在一种可能的设计方法中,上述处理单元最近运行过且未关闭的任务包括上述终端最近运行过且未关闭的应用。上述显示单元显示的上述第一任务窗是上述处理单元最近运行过且未关闭的应用中一个应用的任务窗。上述显示单元显示的上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述显示单元,具体用于:响应于用户对上述侧边的按压操作,当上述处理单元最近运行过且未关闭至少两个应用时,显示包括上述至少两个应用的任务窗的第一界面。其中,上述第一任务窗是上述至少两个应用中一个应用的任务窗;上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述显示单元以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述显示单元,具体用于:响应于用户对上述侧边的按压操作,当上述处理单元最近运行过且未关闭的应用仅包括第一应用时,显示包括上述第一应用中的一个或多个应用任务的任务窗的第一界面,上述第一应用是上述终端中的任一应用。其中,上述第一任务窗是上述第一应用中的一个应用任务的任务窗。上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述显示单元以上述预设方式显示的第一任务窗对应的应用任务的界面。
在另一种可能的设计方法中,上述显示单元,具体用于:响应于用户对上述侧边的按压操作,当上述显示单元当前显示上述终端的桌面时,显示包括上述处理单元最近运行过且未关闭的应用的任务窗的第一界面。其中,上述第一任务窗是上述终端最近运行过且未关闭的应用中一个应用的任务窗;上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述显示单元以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述按压操作是用户在上述侧边的第一位置的按压操作。
在另一种可能的设计方法中,上述显示单元,具体用于:响应于用户对上述侧边的按压操作,当上述按压操作是用户在上述侧边的第二位置的按压操作时,显示包括第二应用中的应用任务的任务窗的第一界面,上述第二应用是上述处理单元最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用。其中,上述 第一任务窗是上述第二应用中的一个应用任务的任务窗;上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述显示单元以上述预设方式显示的第一任务窗对应的应用任务的界面。
在另一种可能的设计方法中,上述侧边包括上述终端的左侧边和/或上述终端的右侧边。
在另一种可能的设计方法中,上述显示单元,具体用于:响应于用户对上述侧边上至少两点的按压操作,显示上述第一界面。
第三方面,本申请提供一种终端,该终端包括:处理器、存储器、触摸屏和安装在上述终端侧边上的传感器,上述存储器、上述触摸屏、上述传感器与上述处理器耦合,上述存储器用于存储计算机程序代码,上述计算机程序代码包括计算机指令,当上述处理器执行上述计算机指令时,上述传感器,用于检测用户在上述侧边的按压操作;上述处理器,还用于运行上述终端中的至少一个任务,上述至少一个任务的数据保存在上述存储器中;上述触摸屏,用于响应于上述传感器检测到的上述按压操作,显示第一界面,上述第一界面中包括至少一个任务窗,上述至少一个任务窗对应于上述处理器最近运行过且未关闭的任务;上述传感器,还用于检测用户在上述侧边的滑动操作,上述滑动操作和上述按压操作为用户手指不离开上述侧边的连续操作;上述触摸屏,还用于响应于上述传感器检测到的上述滑动操作,以预设方式显示第一任务窗,上述第一任务窗是上述至少一个任务窗中的一个,其中,随着上述滑动操作的滑动位置的变化,当上述至少一个任务窗中包括多个任务窗时,以上述预设方式显示的第一任务窗在上述多个任务窗中切换;上述传感器,还用于检测上述滑动操作结束且用户手指离开上述侧边;上述触摸屏,还用于响应于上述传感器检测到上述滑动操作结束且用户手指离开上述侧边,显示第二界面,上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述触摸屏以上述预设方式显示的第一任务窗对应的任务的界面。
在一种可能的设计方法中,上述处理器最近运行过且未关闭的任务包括上述处理器最近运行过且未关闭的应用。上述触摸屏显示的上述第一任务窗是上述处理器最近运行过且未关闭的应用中一个应用的任务窗。上述触摸屏显示的上述第二界面是上述传感器检测到上述滑动操作结束且用户手指离开上述侧边时,上述触摸屏以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述触摸屏,具体用于:响应于上述传感器检测到的上述按压操作,当上述处理器最近运行过且未关闭至少两个应用时,显示包括上述至少两个应用的任务窗的第一界面。其中,上述触摸屏显示的上述第一任务窗是上述至少两个应用中一个应用的任务窗;上述触摸屏显示的上述第二界面是上述传感器检测到上述滑动操作结束且用户手指离开上述侧边时,上述触摸屏以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述触摸屏,具体用于:响应于上述传感器检测到的上述按压操作,当上述处理器最近运行过且未关闭的应用仅包括第一应用时,显示包括上述第一应用中的一个或多个应用任务的任务窗的第一界面,上述第一应用是上述终端中的任一应用。其中,上述触摸屏显示的上述第一任务窗是上述第一应用中的 一个应用任务的任务窗;上述触摸屏显示的上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述触摸屏以上述预设方式显示的第一任务窗对应的应用任务的界面。
在另一种可能的设计方法中,上述触摸屏,具体用于:响应于上述传感器检测到的上述按压操作,当上述触摸屏当前显示上述终端的桌面时,显示包括上述处理器最近运行过且未关闭的应用的任务窗的第一界面。其中,上述触摸屏显示的上述第一任务窗是上述终端最近运行过且未关闭的应用中一个应用的任务窗;上述触摸屏显示的上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述触摸屏以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述传感器检测到的上述按压操作是用户在上述侧边的第一位置的按压操作。
在另一种可能的设计方法中,上述触摸屏,具体用于:响应于上述传感器检测到的上述按压操作,当上述按压操作是用户在上述侧边的第二位置的按压操作时,显示包括第二应用中的应用任务的任务窗的第一界面,上述第二应用是上述处理器最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用。其中,上述触摸屏显示的上述第一任务窗是上述第二应用中的一个应用任务的任务窗。上述触摸屏显示的上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述触摸屏以上述预设方式显示的第一任务窗对应的应用任务的界面。
在另一种可能的设计方法中,上述侧边包括上述终端的左侧边和/或上述终端的右侧边。
在另一种可能的设计方法中,上述触摸屏,具体用于:响应于上述传感器检测到的用户对上述侧边上至少两点的按压操作,显示上述第一界面。
第四方面,本申请提供一种本申请提供一种图形用户界面(Graphical User Interface,GUI),上述图形用户界面存储在终端中,上述终端包括触摸屏、存储器、处理器和安装在上述终端的侧边上的传感器,上述传感器用于检测用户在上述侧边的操作,上述处理器用于执行存储在上述存储器中的一个或多个计算机程序。
其中,上述图形用户界面包括:响应于对上述侧边的按压操作,显示在上述触摸屏上的第一GUI,上述第一GUI中包括第一界面,上述第一界面中包括至少一个任务窗,上述至少一个任务窗对应于上述处理器最近运行过且未关闭的任务。响应于对上述侧边的滑动操作,上述滑动操作和上述按压操作为用户手指不离开上述侧边的连续操作,显示在上述触摸屏上的第二GUI,上述第二GUI中以预设方式显示第一任务窗,上述第一任务窗是上述至少一个任务窗中的一个,其中,随着上述滑动操作的滑动位置的变化,当上述至少一个任务窗中包括多个任务窗时,上述第二GUI中以上述预设方式显示的第一任务窗在上述多个任务窗中切换。响应于上述滑动操作结束且用户手指离开上述侧边,显示在上述触摸屏上的第三GUI,上述第三GUI包括第二界面,上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的任务的界面。
在一种可能的设计方法中,上述第二GUI中的第一任务窗是上述处理器最近运行过且未关闭的应用中一个应用的任务窗。上述第三GUI中的上述第二界面是上述滑动 操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述第一GUI中的第一界面具体包括上述处理器最近运行过且未关闭至少两个应用的任务窗。上述第二GUI中的第一任务窗是上述至少两个应用中一个应用的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,当上述处理器最近运行过且未关闭的应用仅包括第一应用时,上述第一GUI中的第一界面具体包括上述第一应用中的一个或多个应用任务的任务窗的第一界面,上述第一应用是上述终端中的任一应用。其中,上述第二GUI中的第一任务窗是上述第一应用中的一个应用任务的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用任务的界面。
在另一种可能的设计方法中,上述当上述触摸屏显示上述终端的桌面时,响应于对上述侧边的按压操作,显示在上述触摸屏上的第一GUI中的第一界面包括上述处理器最近运行过且未关闭的应用的任务窗。其中,上述第二GUI中的第一任务窗是上述终端最近运行过且未关闭的应用中一个应用的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的设计方法中,上述按压操作是用户在上述侧边的第一位置的按压操作。
在另一种可能的设计方法中,响应于在上述侧边的第二位置的按压操作,显示在上述触摸屏上的第一GUI中的第一界面包括第二应用中的应用任务的任务窗,上述第二应用是上述触摸屏最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用。其中,上述第二GUI中的第一任务窗是上述第二应用中的一个应用任务的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用任务的界面。
第五方面,本申请提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在终端上运行时,使得所述终端执行如第一方面及其任一种可能的设计方法所述的任务切换方法。
第六方面,本申请提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面及其任一种可能的设计方法所述的任务切换方法。
可以理解,上述提供的第二方面和第三方面及其可能的设计方法所述的终端、第四方面所述的GUI,第五方面所述的计算机存储介质,以及第六方面所述的计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
附图说明
图1为本申请提供的一种终端的显示界面实例示意图一;
图2为本申请提供的一种终端的硬件结构示意图;
图3A为本申请提供的一种终端上安装传感器的侧边的实例示意图一;
图3B为本申请提供的一种终端上安装传感器的侧边的实例示意图二;
图3C为本申请提供的一种终端上安装传感器的侧边的实例示意图三;
图4为本申请提供的一种任务切换方法流程图一;
图5为本申请提供的一种终端的显示界面实例示意图二;
图6为本申请提供的一种终端的显示界面实例示意图三;
图7为本申请提供的一种终端的显示界面实例示意图四;
图8为本申请提供的一种终端的显示界面实例示意图五;
图9为本申请提供的一种终端的显示界面实例示意图六;
图10为本申请提供的一种终端的显示界面实例示意图七;
图11为本申请提供的一种终端的显示界面实例示意图八;
图12为本申请提供的一种任务切换方法流程图二;
图13为本申请提供的一种终端的显示界面实例示意图九;
图14为本申请提供的一种终端的显示界面实例示意图十;
图15为本申请提供的一种终端的显示界面实例示意图十一;
图16为本申请提供的一种任务切换方法流程图三;
图17为本申请提供的一种终端的显示界面实例示意图十二;
图18为本申请提供的一种终端的侧边上第一位置和第二位置的实例示意图一;
图19为本申请提供的一种终端的侧边上第一位置和第二位置的实例示意图二;
图20为本申请提供的一种任务切换方法流程图四;
图21为本申请提供的一种终端的显示界面实例示意图十三;
图22为本申请提供的一种终端的结构组成示意图一;
图23为本申请提供的一种终端的结构组成示意图二。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。
一般而言,为了解决通过返回主桌面,实现应用切换的过程中,用户操作繁琐,人机交互性能较差的问题。以终端是图1所示的手机100为例,用户可以通过如下方式,控制手机100实现应用的切换:
假设手机100当前显示如图1中的(a)所示的“设置”应用的界面101,并且手机100最近运行过“设置”应用、“拨号”应用和“微信”应用这三个应用程序。当用户点击图1中的(a)所示的最近(Recent)键102后,手机100响应于用户对Recent键102的点击操作,可以显示包括多个任务窗的多任务界面。
例如,手机100显示图1中的(b)所示的多任务界面106。该多任务界面106中 包括“拨号”任务窗107、“设置”任务窗108和“微信”任务窗109。或者,用户还可以通过双击手机的Home键,控制手机显示图1中的(b)所示的多任务界面。随后,如图1中的(b)所示,当用户点击该多任务界面106中的任一任务窗(如“微信”任务窗109)后,手机100响应于用户对“微信”任务窗109的选择操作,可以显示与该“微信”任务窗109对应的“微信”应用的界面,如图1中的(c)所示的微信界面110。
其中,如图1中的(a)所示,上述Recent键102位于手机100的导航栏103。导航栏(Navigation Bar):是手机屏幕底部的快捷按钮栏,一般以虚拟按键的形式出现在手机屏幕最底端。其中,导航栏上默认包含三个按钮Back键、Home键、Recent键,其中Back键用于返回上一界面,Home键用于返回桌面,Recent键用于显示最近使用过的应用程序。如图1中的(a)所示,导航栏103中包括Back键104、Home键105和Recent键102。
但是,无论用户通过点击Recent键102的方式或者双击Home键的方式,控制手机显示多任务界面,然后点击选择多任务界面中的一个任务窗,以实现应用的切换,都需要用户的在手机的不同位置进行至少两次操作,才可实现应用的切换,用户操作繁琐,人机交互性能较差。
本申请提供一种任务切换方法及终端,该方法可以应用于终端切换该终端最近运行过的多个任务的过程中。具体的。终端可以响应于用户对终端侧边的一次连续性操作,实现终端最近运行过的任务的切换,可以减少任务切换过程中的用户操作,提高人机交互性能。
需要说明的是,终端可以切换显示该终端最近运行过程多个任务的界面。举例来说,本申请中,终端最近运行过的多个任务为该终端最近运行过的多个应用;或者,该多个任务可以是终端当前运行的第一应用中的多个应用任务。
其中,本申请中的终端可以为侧边设置有传感器的电子设备。例如,该终端可以为手机(如图1所示的手机100)、平板电脑、个人计算机(Personal Computer,PC)、个人数字助理(personal digital assistant,PDA)、智能手表、上网本、可穿戴电子设备等,本申请对该设备的具体形式不做特殊限制。
本申请提供的任务切换方法的执行主体可以为任务切换装置,该任务切换装置可以为图1或者图2所示的终端。同时,该任务切换装置还可以为该终端的中央处理器(英文:Central Processing Unit,简称:CPU),或者该终端中的用于执行任务切换的控制模块。本发明实施例中以终端执行任务切换方法为例,说明本发明实施例提供的任务切换方法。
如图2所示,以手机100作为上述终端举例,手机100具体可以包括:处理器201、射频(Radio Frequency,RF)电路202、存储器203、触摸屏204、蓝牙装置205、一个或多个传感器206、Wi-Fi装置207、定位装置208、音频电路209、外设接口210以及电源装置211等部件。这些部件可通过一根或多根通信总线或信号线(图2中未示出)进行通信。本领域技术人员可以理解,图2中示出的硬件结构并不构成对手机的限定,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图2对手机100的各个部件进行具体的介绍:
处理器201是手机100的控制中心,利用各种接口和线路连接手机100的各个部分,通过运行或执行存储在存储器203内的应用程序,以及调用存储在存储器203内的数据,执行手机100的各种功能和处理数据。在一些实施例中,处理器201可包括一个或多个处理单元。在本申请一些实施例中,上述处理器201还可以包括指纹验证芯片,用于对采集到的指纹进行验证。
射频电路202可用于无线信号的接收和发送。特别地,射频电路202可以将基站的下行数据接收后,给处理器201处理;另外,将涉及上行的数据发送给基站。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路202还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进等。
存储器203用于存储应用程序以及数据,处理器201通过运行存储在存储器203的应用程序以及数据,执行手机100的各种功能以及数据处理。存储器203主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等);存储数据区可以存储根据使用手机100时所创建的数据(比如音频数据、电话本等)。此外,存储器203可以包括高速随机存取存储器(Random Access Memory,RAM),还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。存储器203可以存储各种操作系统。上述存储器203可以是独立的,通过上述通信总线与处理器201相连接;存储器203也可以和处理器201集成在一起。
触摸屏204具体可以包括触控板204-1和显示器204-2。
其中,触控板204-1可采集手机100的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触控板204-1上或在触控板204-1附近的操作),并将采集到的触摸信息发送给其他器件(例如处理器201)。其中,用户在触控板204-1附近的触摸事件可以称之为悬浮触控;悬浮触控可以是指,用户无需为了选择、移动或拖动目标(例如图标等)而直接接触触控板,而只需用户位于设备附近以便执行所想要的功能。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型来实现触控板204-1。
显示器(也称为显示屏)204-2可用于显示由用户输入的信息或提供给用户的信息以及手机100的各种菜单。可以采用液晶显示器、有机发光二极管等形式来配置显示器204-2。触控板204-1可以覆盖在显示器204-2之上,当触控板204-1检测到在其上或附近的触摸事件后,传送给处理器201以确定触摸事件的类型,随后处理器201可以根据触摸事件的类型在显示器204-2上提供相应的视觉输出。
需要说明的是,虽然在图2中,触控板204-1与显示屏204-2是作为两个独立的部件来实现手机100的输入和输出功能,但是在某些实施例中,可以将触控板204-1与显示屏204-2集成而实现手机100的输入和输出功能。可以理解的是,触摸屏204是由多层的材料堆叠而成,本申请实施例中只展示出了触控板(层)和显示屏(层),其他层在本申请实施例中不予记载。另外,触控板204-1可以以全面板的形式配置在 手机100的正面,显示屏204-2也可以以全面板的形式配置在手机100的正面,这样在手机的正面就能够实现无边框的结构。
另外,手机100还可以具有指纹识别功能。例如,可以在手机100的背面(例如后置摄像头的下方)配置指纹识别器212,或者在手机100的正面(例如触摸屏204的下方)配置指纹识别器212。又例如,可以在触摸屏204中配置指纹识别器212来实现指纹识别功能,即指纹识别器212可以与触摸屏204集成在一起来实现手机100的指纹识别功能。在这种情况下,该指纹识别器212配置在触摸屏204中,可以是触摸屏204的一部分,也可以以其他方式配置在触摸屏204中。本申请实施例中的指纹识别器212的主要部件是指纹传感器,该指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。
手机100还可以包括蓝牙装置205,用于实现手机100与其他短距离的设备(例如手机、智能手表等)之间的数据交换。本申请实施例中的蓝牙装置可以是集成电路或者蓝牙芯片等。
上述一个或多个传感器206包括:设置在手机侧边,可以用于检测用户对侧边的按压操作和用户在侧边的滑动操作的传感器。其中,本申请中的侧边包括终端的左侧边和/或终端的右侧边。
例如,如图3A所示,该传感器可以设置在手机100的右侧边上。该传感器具体位于手机100右侧边上,图3A所示的虚线框301对应的位置处。或者,如图3B所示,该传感器可以设置在手机100的左侧边上。该传感器具体位于手机100左侧边上,图3B所示的虚线框302对应的位置处。又或者,手机100的左侧边和右侧边都可以设置上述传感器。例如,如图3C中的(a)所示,手机100右侧边上,虚线框303对应的位置处可以设置上述传感器,手机100左侧边上,虚线框304对应的位置处也可以设置上述传感器。
需要说明的是,上述传感器可以设置在该终端的侧边上、当用户手持终端时方便用户操作的位置处即可。本申请对上述传感器在终端侧边的具体位置不作限定。
并且,本申请中的侧边不仅可以是终端的左侧边和/或右侧边,还可以是终端的上侧边和/或下侧边,本申请对此不作限制。例如,如图3C中的(b)所示,手机100的上侧边上,虚线框305对应的位置处可以设置上述传感器。
当然,上述一个或多个传感器206包括但不限于上述传感器,例如,该一个或多个传感器206还可以包括光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触摸屏204的显示器的亮度,接近传感器可在手机100移动到耳边时,关闭显示器的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
Wi-Fi装置207,用于为手机100提供遵循Wi-Fi相关标准协议的网络接入,手机100可以通过Wi-Fi装置207接入到Wi-Fi热点,进而帮助用户收发电子邮件、浏览网 页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在其他一些实施例中,该Wi-Fi装置207也可以作为Wi-Fi无线接入点,可以为其他设备提供Wi-Fi网络接入。
定位装置208,用于为手机100提供地理位置。可以理解的是,该定位装置208具体可以是全球定位系统(Global Positioning System,GPS)或北斗卫星导航系统、俄罗斯GLONASS等定位系统的接收器。
其中,定位装置208在接收到上述定位系统发送的地理位置后,将该信息发送给处理器201进行处理,或者发送给存储器203进行保存。在另外的一些实施例中,该定位装置208还可以是辅助全球卫星定位系统(Assisted Global Positioning System,AGPS)的接收器,AGPS系统通过作为辅助服务器来协助定位装置208完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与设备例如手机100的定位装置208(即GPS接收器)通信而提供定位协助。
在另外的一些实施例中,该定位装置208也可以是基于Wi-Fi热点的定位技术。由于每一个Wi-Fi热点都有一个全球唯一的媒体访问控制(Media Access Control,MAC)地址,设备在开启Wi-Fi的情况下即可扫描并收集周围的Wi-Fi热点的广播信号,因此可以获取到Wi-Fi热点广播出来的MAC地址;设备将这些能够标示Wi-Fi热点的数据(例如MAC地址)通过无线通信网络发送给位置服务器,由位置服务器检索出每一个Wi-Fi热点的地理位置,并结合Wi-Fi广播信号的强弱程度,计算出该设备的地理位置并发送到该设备的定位装置208中。
音频电路209、扬声器213、麦克风214可提供用户与手机100之间的音频接口。音频电路209可将接收到的音频数据转换后的电信号,传输到扬声器213,由扬声器213转换为声音信号输出;另一方面,麦克风214将收集的声音信号转换为电信号,由音频电路209接收后转换为音频数据,再将音频数据输出至RF电路202以发送给比如另一手机,或者将音频数据输出至存储器203以便进一步处理。
外设接口210,用于为外部的输入/输出设备(例如键盘、鼠标、外接显示器、外部存储器、用户识别模块卡等)提供各种接口。例如通过通用串行总线(Universal Serial Bus,USB)接口与鼠标连接,通过用户识别模块卡卡槽上的金属触点与电信运营商提供的用户识别模块卡(Subscriber Identification Module,SIM)卡进行连接。外设接口210可以被用来将上述外部的输入/输出外围设备耦接到处理器201和存储器203。
在本发明实施例中,手机100可通过外设接口210与设备组内的其他设备进行通信,例如,通过外设接口210可接收其他设备发送的显示数据进行显示等,本发明实施例对此不作任何限制。
手机100还可以包括给各个部件供电的电源装置211(比如电池和电源管理芯片),电池可以通过电源管理芯片与处理器201逻辑相连,从而通过电源装置211实现管理充电、放电、以及功耗管理等功能。
尽管图2未示出,手机100还可以包括摄像头(前置摄像头和/或后置摄像头)、闪光灯、微型投影装置、近场通信(Near Field Communication,NFC)装置等,在此不再赘述。
以下实施例中的方法均可以在具有上述硬件结构的手机100中实现。
本申请提供一种任务切换方法,该任务切换方法可以应用于终端,该终端的侧边上安装有传感器,该传感器用于检测用户在侧边的操作。如图4所示,该任务切换方法包括S401-S404:
S401、终端响应于用户对侧边的按压操作,显示第一界面,该第一界面中包括至少一个任务窗,该至少一个任务窗对应于终端最近运行过且未关闭的至少一个任务。
其中,终端的侧边安装有传感器,该传感器可以检测用户对侧边的点击操作、按压操作以及滑动操作等。例如,当用户按压侧边时,该传感器可以检测到用户对侧边按压的压力值,并将检测到的压力值传输至终端的处理器;处理器在确定该压力值大于预设压力阈值时,则可以确定用户对侧边的操作为按压操作,则可以指示终端的触摸屏显示上述第一界面。
在本申请的第一种应用场景中,终端最近运行过的至少一个任务包括该终端最近运行过且未关闭的应用。上述第一任务窗是终端最近运行过且未关闭的应用中一个应用的任务窗。终端最近运行过且未关闭的任务指自终端最近一次开机后在终端中被打开且未关闭的任务,可能处于运行状态也可能处于睡眠或空闲等状态。
需要说明的是,在本申请第一种应用场景中,无论终端当前正在显示该终端中任一应用的界面(例如,如图5中的(a)所示的“微信”应用的界面501),还是终端当前正在显示终端桌面(例如,如图5中的(b)所示的终端桌面502);该终端可以响应于用户对侧边的按压操作,显示包括该终端最近运行过且未关闭的应用的任务窗是第一界面。
示例性的,以终端是上述手机100,且手机100的右侧边安装有上述传感器为例。如图5中的(a)所示,手机100当前显示“微信”应用的界面501;如图5中的(b)所示,手机当前显示终端桌面502。假设手机100最近运行过且未关闭的应用包括“拨号”应用、“设置”应用和“微信”应用。那么,当用户按压图5中的(a)或者图5中的(b)所示的手机100后,手机100可以响应于用户对手机100的按压操作,显示图5中的(c)所示的第一界面503。图5中的(c)所示的第一界面503中包括手机100最近运行过且未关闭的应用的任务窗,如“拨号”应用的任务窗504、“设置”应用的任务窗505和“微信”应用的任务窗506。
需要说明的是,第一界面中包括的应用的任务窗可以按照终端运行应用的时间的先后顺序排列,或者第一界面中包括的应用的任务窗可以随机排列。本申请对第一界面中包括的应用的任务窗的排列顺序不作限制。
可选的,为了避免用户的误操作,上述按压操作可以是用户对侧边的至少两点的按压操作。即上述S401可以替换为S401a:
S401a、终端响应于用户对侧边上至少两点的按压操作,显示第一界面。
其中,用户对侧边上至少两点的按压操作可以是用户对终端上同一侧边的至少两个固定位置的按压操作。例如,用户对图3A所示的虚线框303上至少两个固定位置的按压操作。或者,用户对侧边上至少两点的按压操作可以是用户对终端不同侧边上至少两点的按压操作。例如,该按压操作可以由用户对手机100的右侧边的按压操作和用户对手机100的上侧边的按压操作组成。
S402、终端检测用户在侧边的滑动操作,该滑动操作和上述按压操作为手指不离 开侧边的连续操作。
其中,本申请中“滑动操作和按压操作为手指不离开侧边的连续操作”具体是指:从终端检测到用户在侧边的滑动操作开始,截止终端检测到用户在侧边的滑动操作这一过程中,用户的手指没有离开终端的侧边。
举例来说,本申请中的滑动操作可以是用户在侧边输入按压操作后,立即在侧边输入的滑动操作,即滑动操作和按压操作之间没有时间间隔,且用户手指没有离开侧边;或者,本申请中的滑动操作还可以是用户在侧边输入按压操作后,该用户手指没有离开终端的侧边(即用户手指一直接触并停留在侧边),并在N秒后在侧边输入的滑动操作。例如,N可以为3、5或者10等数字中的任一个,本申请中对N的取值范围不作限定。
S403、终端响应于上述滑动操作,以预设方式显示第一任务窗,该第一任务窗是上述至少一个任务窗中的一个,其中,随着所述滑动操作的滑动位置的变化,当至少一个任务窗中包括多个任务窗时,以预设方式显示的第一任务窗在多个任务窗中切换。
示例性的,手机100在响应于用户在侧边的按压操作显示图5中的(c)所示的第一界面503之后,用户的手指没有离开手机100的侧边。如图5中的(d)所示,当手机100检测到用户在侧边的滑动操作后,则可以以图5中的(d)所示的加黑的方式(即预设方式)显示“拨号”应用的任务窗504(即第一任务窗)。
可选的,终端响应于滑动操作,以预设方式显示的第一任务窗可以是上述至少一个任务窗中的任一个任务窗。例如,手机100响应于用户在侧边的滑动操作,以加黑的方式显示的任务窗可以由图5中的(d)所示的“拨号”应用的任务窗504替换为“微信”应用的任务窗506(附图中未示出),本申请对此不作限制。
其中,终端接收的滑动操作是用户在侧边输入的滑动位置会发生变化的触摸操作。本申请中,随着滑动操作的滑动位置的变化,当至少一个任务窗中包括多个任务窗时,终端以预设方式显示的第一任务窗在多个任务窗中切换。
例如,如图6所示,当手机100检测到滑动操作的滑动位置,沿着滑动轨迹601由图6中的(a)所示的A点变化为图6中的(b)所示的B点时,手机100所显示的第一界面可以由图6中的(a)所示的第一界面506切换为图6中的(b)所示的第一界面602。在图6中的(b)所示的第一界面602中,手机100以加黑的方式(即预设方式)显示“设置”应用的任务窗504。
可以理解,随着滑动操作的滑动位置的继续变化,终端以预设方式显示的第一任务窗继续在多个任务窗中切换。例如,当手机100检测到滑动操作的滑动位置,沿着滑动轨迹601由图6中的(b)所示的B点继续向下滑动时,手机100则可以以加黑的方式(即预设方式)显示“微信”应用的任务窗505(附图中未示出)。
需要说明的是,随着所述滑动操作的滑动位置的变化,当至少一个任务窗中仅包括一个任务窗时,终端不会以预设方式显示的该任务窗。
S404、终端响应于检测到滑动操作结束且用户手指离开侧边,显示第二界面,该第二界面是上述滑动操作结束且用户手指离开侧边时,终端以预设方式显示的第一任务窗对应的任务的界面。
在本申请的第一种应用场景中,上述第二界面是上述滑动操作结束且用户手指离 开侧边时,终端以预设方式显示的第一任务窗对应的应用的界面。即当终端检测到滑动操作结束且用户手指离开侧边,终端则可以显示滑动操作结束且用户手指离开侧边时,终端以预设方式显示的第一任务窗对应的任务的界面(即第二界面)。
示例性的,如图7中的(a)所示,当滑动操作结束且用户手指离开侧边时,手机100以加黑的方式(即预设方式)显示“设置”应用的任务窗504。那么,如图7中的(a)所示,当滑动操作结束且用户手指离开侧边时,手机100则可以显示图7中的(b)所示的第二界面701,该第二界面701是“设置”应用的界面。
可选的,本申请中的预设方式包括但不限于上述“加黑的方式”,以预设方式显示的第一任务窗的显示方式,在视觉上只要可以区别于第一界面中的其他任务窗即可。
例如,如图8中的(a)所示,在第一界面801中,手机100可以以向左突出的方式显示“设置”应用的任务窗504,使得“设置”应用的任务窗504区别于“微信”应用的任务窗505和“拨号”应用的任务窗503。如图8中的(a)所示,当滑动操作结束且用户手指离开侧边时,手机100则可以显示图8中的(b)所示的第二界面802,该第二界面802是“设置”应用的界面。
可选的,终端在第一界面显示至少一个任务窗的显示方式包括但不限于图5-图8所示的竖向排列的显示方式,终端还可以以横向排列的显示方式,第一界面显示至少一个任务窗。例如,当用户按压图9所示的手机100后,手机100可以响应于用户对手机100的按压操作,显示图9所示的第一界面901。图9所示的第一界面901中包括手机100最近运行过且未关闭的应用的任务窗,如“拨号”应用的任务窗902、“设置”应用的任务窗903和“微信”应用的任务窗904。
或者,当用户按压图10所示的手机100后,手机100可以响应于用户对手机100的按压操作,显示图10所示的第一界面1001。图10所示的第一界面1001中包括手机100最近运行过且未关闭的应用的任务窗,如“设置”应用的任务窗1002、“拨号”应用的任务窗1003和“微信”应用的任务窗1004。
可选的,本申请所述的第一界面中还可以包括用于关闭每个任务窗的关闭按钮。例如,如图10所示,第一界面1001中还可以包括关闭按钮1005、关闭按钮1006、关闭按钮1007和一键关闭按钮1008。其中,关闭按钮1005用于关闭“设置”应用的任务窗1002,关闭按钮1006用于关闭“拨号”应用的任务窗1003,关闭按钮1007用于关闭“微信”应用的任务窗1004。其中,本申请中终端在关闭任务窗的同时,也关闭了该任务窗对应的应用。例如,手机100响应于用户对关闭按钮1007的点击操作,关闭“微信”应用的任务窗1004的同时,手机100也关闭了“微信”应用。其中,一键关闭按钮1008用于关闭第一界面1001中所有任务窗及其对应的应用。例如,手机100可以响应于用户对一键关闭按钮1008的点击操作,关闭“设置”应用的任务窗1002及“设置”应用、“拨号”应用的任务窗1003及“拨号”应用和“微信”应用的任务窗1004及“微信”应用。
在一种可能的设计方法中,终端还可以根据上述按压操作的位置,来区分终端在第一界面显示上述至少一个任务窗的显示方式。
例如,当上述按压操作是用户对终端的左侧边或者右侧边的操作时,如图5-8所示,按压操作是用户对终端的右侧边的操作时,终端可以采用如图5-8所示的竖向排 列的显示方式,在第一界面显示上述至少一个任务窗。其中,当按压操作是用户对终端的右侧边的操作时,滑动操作也是用户对终端的右侧边的操作。以竖向排列的显示方式显示任务窗,在随着滑动操作的滑动位置的变化,以预设方式显示的第一任务窗在多个任务窗中切换过程中,任务窗的切换方向与用户手指的滑动方向统一,更加符合用户使用习惯。
又例如,如图11所示,当按压操作是用户对终端的上侧边的操作时,终端可以采用如图11所示的横向排列的显示方式,在第一界面显示上述至少一个任务窗。其中,当按压操作是用户对终端的上侧边的操作时,滑动操作也是用户对终端的上侧边的操作。以横向排列的显示方式显示任务窗,在随着滑动操作的滑动位置的变化,以预设方式显示的第一任务窗在多个任务窗中切换过程中,任务窗的切换方向与用户手指的滑动方向统一,更加符合用户使用习惯。
当然,当终端的多个侧边都设置有传感器时,上述按压操作和滑动操作也可以是用户在设置有传感器的不同侧边上的操作。例如,当终端的右侧边和上侧边都设置有传感器时,按压操作可以是用户对右侧边的操作,滑动操作可以是用户对上侧边的操作。
本申请提供一种任务切换方法,终端可以响应于用户对侧边的按压操作,显示包括多任务界面(即第一界面),然后响应于与该按压操作作为手指不离开侧边的连续操作的滑动操作,以预设方式显示多任务界面中的第一任务窗。并且,随着滑动操作的滑动位置的变化,以预设方式显示的第一任务窗在多个任务窗中切换。最后,终端可以响应于检测到滑动操作结束且用户手指离开侧边,显示包括上述滑动操作结束且用户手指离开侧边时,终端以预设方式显示的第一任务窗对应的任务的界面(即第二界面)。
其中,本申请中,终端可以响应于作为手指不离开侧边的连续操作的按压操作和滑动操作,实现“显示多任务界面”和“从多任务界面选择任务窗进行应用的切换”的功能;而不需要用户的在手机的不同位置进行至少两次操作。通过本申请,可以减少实现应用切换的用户操作,提高了人机交互性能,可以提高用户体验。
在本申请的第二种应用场景中,当终端最近运行过且未关闭至少两个应用时,上述第一界面中的至少一个任务窗是该至少两个应用的任务窗;当终端最近运行过且未关闭的应用仅包括第一应用时,上述第一界面中的至少一个任务窗是该第一应用中的应用任务的任务窗。其中,本申请中的第一应用是终端响应上述按压操作时,该终端正在运行的应用。
具体的,在第二种应用场景的一种实现方式中,终端最近运行过且未关闭至少两个应用,上述第一界面中的至少一个任务窗是该至少两个应用的任务窗。如图12所示,图4所示的S401可以包括S1201:
S1201、终端响应于用户对侧边的按压操作,当终端最近运行过且未关闭至少两个应用时,显示包括该至少两个应用的任务窗的第一界面。
相应的,在这种实现方式中,上述第一界面中包括的任务窗是上述至少两个应用的任务窗。例如,如图5中的(c)、图6、图7中的(a)、图8中的(a)、图9-图11中任一附图所示,第一界面中包括手机100最近运行过且未关闭的“微信”应用的 任务窗、“拨号”应用的任务窗和“设置”应用的任务窗。第一任务窗是该至少两个应用中一个应用的任务窗。上述第二界面是滑动操作结束且用户手指离开侧边时,终端以预设方式显示的第一任务窗对应的应用的界面。例如,如图7中的(b)或者图8中的(b)所示,第二界面是“设置”应用的界面。
在第二种应用场景的另一种实现方式中,终端最近运行过且未关闭的应用仅包括第一应用,上述第一界面中的至少一个任务窗是该第一应用中的应用任务的任务窗。如图12所示,图4所示的S401还可以包括S1202:
S1202、终端响应于用户对侧边的按压操作,当终端最近运行过且未关闭的应用仅包括第一应用时,显示包括第一应用中的应用任务的任务窗的第一界面,该第一应用是响应按压操作时,终端正在运行的应用。
其中,本申请中的第一应用可以是终端中的嵌入式应用程序(即终端的系统应用)或者可下载应用程序。其中,嵌入式应用程序是作为终端(如手机100)实现的一部分提供的应用程序,如“设置”应用、“浏览器”应用。可下载应用程序是一个可以提供自己的因特网协议多媒体子系统(Internet Protocol Multimedia Subsystem,IMS)连接的应用程序,该可下载应用程序可以预先安装在终端中的应用或可以由用户下载并安装在终端中的第三方应用,如“微信”应用、“支付宝”应用。
在这种实现方式中,上述第一界面中包括的任务窗是第一应用中的至少一个应用任务的任务窗。例如,假设手机100最近运行过且未关闭的应用仅包括“浏览器”应用(即上述第一应用)。手机可以响应于用户对图13中的(a)或者图13中的(b)所示的手机100的侧边的按压操作,显示图13中的(c)所示的第一界面1303。其中,假设手机100在运行“浏览器”应用时打开了“浏览器”应用的两个网页窗口(即应用任务窗)。如图13中的(c)所示,第一界面1303中包括网页1的网页窗口1304和首页的网页窗口1305。
相应的,上述第一任务窗是第一应用中的一个应用任务的任务窗。例如,手机100执行S403,响应于滑动操作,以预设方式(如加黑的方式)显示的第一任务窗是图13中的(d)所示的“浏览器”应用中的网页1的网页窗口1303。并且,上述第二界面是滑动操作结束且用户手指离开侧边时,终端以预设方式显示的第一任务窗对应的应用任务的界面。例如,如图14中的(b)所示,手机100响应于检测到滑动操作结束且用户手指离开侧边后,显示的第二界面1401,是图14中的(a)所示的滑动操作结束且用户手指离开侧边时,手机以加黑的方式显示的网页1的网页窗口1303的界面。
需要说明的是,在第二种应用场景中,如果终端最近运行过且未关闭的应用仅包括第一应用,那么无论终端当前显示的是图13中的(b)所示的终端桌面1302,还是图13中的(a)所示的“浏览器”应用的界面1301(即第一应用的界面),终端都可以响应于用户对侧边的按压操作,显示包括第一应用中的应用任务的任务窗的第一界面(如图13中的(c)所示的第一界面1303)。
需要说明的是,本申请中的第一应用包括但不限于上述“浏览器”应用,该第一应用可以是终端中的任一应用。例如,该第一应用可以是终端中的“联系人”应用。例如,如图15所示,手机可以响应于用户对图15中的(a)或者图15中的(b)所示的手机100的侧边的按压操作,显示图15中的(c)所示的第一界面1503。其中,假 设手机100在运行“联系人”应用时的最近联系人包括Aaron、张三和Ben。如图15中的(c)所示,第一界面1503中包括Aaron的联系人窗口1504、张三的联系人窗口1505和Ben的联系人窗口1506。
需要说明的是,无论终端当前显示的第一应用的哪一个界面,该终端都可以响应于用户对侧边的按压操作,显示包括该第一应用中的应用任务的任务窗的第一界面。例如,无论手机当前显示的是图15中的(a)所示的联系人列表界面1501(即“联系人”应用的界面),还是图15中的(b)所示的最近联系人列表界面1502(即“联系人”应用的界面),终端都可以响应于用户对侧边的按压操作,显示包括“联系人”应用中的联系人窗口的第一界面(如图15中的(c)所示的第一界面1503)。
可选的,如图15中的(c)所示的第一界面1503中,显示在第一个的联系人窗口(即Ben的联系人窗口1506)与其他的联系人窗口(Aaron的联系人窗口1504和张三的联系人窗口1505)可以不同。
需要说明的是,本申请中,终端在第一界面中显示第一应用中的应用任务的任务窗的方式,可以参考上述实施例中,终端在第一界面显示多个应用的任务窗的具体方式,本申请这里不再赘述。
本申请中,终端不仅可以响应于作为手指不离开侧边的连续操作的按压操作和滑动操作,实现应用之间的切换;还可以实现一个应用中的多个应用任务之间的切换。即通过本申请,还可以减少实现一个应用的应用任务切换的用户操作,可以提高人机交互性能,提高用户体验。
在本申请的第三种应用场景中,终端可以通过终端当前显示的界面,来确定在第一界面显示多个应用的任务窗,还是显示第一应用中的多个应用任务的任务窗。具体的,当终端当前显示终端桌面时,终端在第一界面显示多个应用的任务窗。具体的,如图16所示,上述S401可以替换为S1601:
S1601、终端响应于用户对侧边的按压操作,当终端当前显示终端的桌面时,显示包括终端最近运行过且未关闭的应用的任务窗的第一界面。
在第三种应用场景中,上述第一界面中包括的任务窗是上述至少两个应用的任务窗。例如,如图5中的(c)所示,第一界面中包括手机100最近运行过且未关闭的“微信”应用的任务窗、“拨号”应用的任务窗和“设置”应用的任务窗。第一任务窗是该至少两个应用中一个应用的任务窗。上述第二界面是滑动操作结束且用户手指离开侧边时,终端以预设方式显示的第一任务窗对应的应用的界面。例如,如图7中的(b)所示,第二界面是“设置”应用的界面。
需要强调的是,如果终端当前显示终端桌面,即使终端最近运行过且未关闭的应用仅包括第一应用,该终端响应于用户对侧边的按压操作,也只能显示包括该第一应的任务窗的第一界面。例如,如图5中的(b)所示,当手机100当前显示终端桌面502时,该手机100可以响应于用户对侧边的按压操作,显示图5中的(c)所示的第一界面503。而不能显示包括第一应用中的应用任务的任务窗的第一界面。例如,如图13中的(b)所示,当手机100当前显示终端桌面1302时,该手机100响应于用户对侧边的按压操作,不能显示图13中的(c)所示的第一界面503,只能显示图17所示的第一界面1701。
需要说明的是,在本申请中,如果终端当前显示的不是终端的桌面,例如图13中的(b)或者图5中的(b)所示的桌面;而是终端中的第一应用(终端中的任一应用)的界面,例如图13中的(a)所示的“浏览器”应用的界面,或者图5中的(a)所示的“微信”应用的界面;那么终端则可以执行本申请第二种应用场景中S1201或S1202,显示对应的第一界面。
本申请中,当终端当前显示终端桌面时,该终端响应于用户在侧边的按压操作,可以显示包括一个或多个应用的任务窗的第一界面;然后终端可以响应于与连续操作作为手指不离开侧边的滑动操作,实现应用之间的切换。即通过本申请,可以减少实现应用切换的用户操作,提高了人机交互性能,可以提高用户体验。
在本申请的第四种应用场景中,终端可以通过上述按压操作在终端的侧边的位置,来确定在第一界面显示多个应用的任务窗,还是显示第一应用中的多个应用任务的任务窗。
具体的,当上述按压操作是用户在侧边的第一位置的按压操作时,上述第一界面中的至少一个任务窗是终端最近运行过且未关闭一个或多个应用的任务窗;当上述按压操作是用户在侧边的第二位置的按压操作时,上述第一界面中的至少一个任务窗是第一应用的一个或多个应用任务的任务窗。
需要说明的是,本申请中的第一位置和第二位置可以是终端的同一侧边上不同的两个位置。例如,如图18所示,第一位置1801和第二位置1802可以是手机100的右侧边上的两个不同位置。或者,该第一位置和第二位置可以位于终端的两个不同侧边上。例如,如图19所示,第一位置1901可以位于手机100的右侧边,第二位置可以位于手机100的上侧边。
具体的,在第四种应用场景中,如图20所示,图4所示的S401可以包括S2001:
S2001、终端响应于用户对侧边的按压操作,当按压操作是用户在侧边的第一位置的按压操作时,显示包括终端最近运行过且未关闭的应用的任务窗的第一界面。
可以理解,只要终端检测到用户在侧边的第一位置(如图19所示的右侧边上的第一位置1901)的按压操作,无论终端当前正在显示该终端中任一应用的界面(例如,如图5中的(a)所示的“微信”应用的界面501),还是终端当前正在显示终端桌面(例如,如图5中的(b)所示的终端桌面502);并且,无论终端最近运行过且未关闭的一个应用或者多个应用;该终端都可以响应于用户对侧边的按压操作,显示包括该终端最近运行过且未关闭的应用的任务窗的第一界面(例如,如图5中的(c)所示的第一界面503)。
进一步的,在第四种应用场景中,如图20所示,图4所示的S401还可以包括S2002:
S2002、终端响应于用户对侧边的按压操作,当按压操作是用户在侧边的第二位置的按压操作时,显示包括第二应用中的应用任务的任务窗的第一界面,该第二应用是终端最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用。
可以理解,只要终端检测到用户在侧边的第二位置(如图19所示的右侧边上的第二位置1902)的按压操作,无论终端当前正在显示该终端中任一应用的界面(例如,如图21中的(a)所示的“浏览器”应用的界面2101),还是终端当前正在显示终端桌面(例如,如图21中的(b)所示的终端桌面2102);并且,无论终端最近运行过 且未关闭的一个应用或者多个应用;该终端都可以响应于用户对侧边的按压操作,显示包括第二应用中的应用任务的任务窗的第一界面(例如,如图21中的(c)所示的第一界面2103)。
在一种情况下,如果终端当前正在显示一个应用的界面,如图21中的(a)所示的“浏览器”应用的界面2101,那么终端正在运行的应用(如“浏览器”应用)是上述第二应用。
在另一种情况下,如果终端当前正在显示终端桌面,如图21中的(b)所示的终端桌面2102,那么上述第二应用则是终端最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用。例如,假设手机100中最近运行过且未关闭的应用包括“浏览器”应用、“微信”应用和“设置”应用,“浏览器”应用的最近运行时间为2017年9月28日14:20,“微信”应用的最近运行时间为2017年9月28日10:25,“设置”应用的最近运行时间为2017年9月28日12:36。那么上述第二应用则是“浏览器”应用。
本申请中,终端可以根据按压操作的位置,来区分该按压操作用于指示终端显示多个应用的多任务界面,还是显示一个应用的多个应用任务的多任务界面。这样,终端响应于作为手指不离开侧边的连续操作的按压操作和滑动操作,不仅可以实现应用之间的切换,还可以实现一个应用中的多个应用任务之间的切换。即通过本申请,还可以减少实现一个应用的应用任务切换的用户操作,可以提高人机交互性能,提高用户体验。
可以理解的是,上述终端等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明实施例的范围。
本申请实施例可以根据上述方法示例对上述终端等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,本申请提供一种任务切换装置,该任务切换装置包含于本申请提供的终端,该任务切换装置包括:检测单元2201、处理单元2202和显示单元2203。
其中,上述检测单元2201用于支持任务切换装置执行上述方法实施例中的S401和S401a中“检测用户对侧边的按压操作”、S402、S404中“检测滑动操作结束且用户手指离开侧边”、S2201中“检测用户在侧边的第一位置的按压操作”、S2202中“检测用户在侧边的第二位置的按压操作”,和/或用于本文所描述的技术的其它过程。
上述处理单元2202用于支持任务切换装置运行至少一个任务,该至少一个任务可以是最近运行过且未关闭的至少一个应用,或者上述第一应用或第二应用中的至少一 个应用任务。
上述显示单元2203用于支持任务切换装置执行上述方法实施例中的S401、S401a、S403、S404、S1201、S1202、S1601、S2001、S2002,和/或用于本文所描述的技术的其它过程。
进一步的,上述任务切换装置还可以包括:存储单元。其中,存储单元用于支持任务切换装置执行方法实施例中的保存上述第一界面和第二界面的相关数据,和/或用于本文所描述的技术的其它过程。
其中,上述任务切换装置可以包括在本申请提供的终端中,即本申请提供一种终端,如图22所示,其示出了上述实施例中所涉及的终端的一种可能的结构示意图,该终端2200包括:检测单元2201、处理单元2202和显示单元2203。
其中,检测单元2201、处理单元2202和显示单元2203支持终端执行的方法步骤,可以参考本申请对任务切换装置中各个功能单元支持任务切换装置执行的方法步骤的详细描述,本申请这里不再赘述。
进一步的,上述终端2200还可以包括:存储单元。其中,存储单元支持终端执行的方法步骤可以参考本申请对任务切换装置中的存储单元支持任务切换装置执行的方法步骤的详细描述,本申请这里不再赘述。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
当然,上述任务切换装置和终端2200包括但不限于上述所列举的单元模块,例如,终端2200还可以包括通信单元,通信单元用于与其他终端通信。并且,上述功能单元的具体所能够实现的功能也包括但不限于上述实例所述的方法步骤对应的功能,终端2200的其他单元的详细描述可以参考其所对应方法步骤的详细描述,本申请实施例这里不再赘述。
在采用集成的单元的情况下,上述检测单元2201和上述处理单元2202等可以集成在一个处理模块中实现,上述通信单元可以是终端的RF电路、WiFi模块或者蓝牙模块,上述存储单元可以是终端的存储模块,上述显示单元2203可以是显示模块,如触摸屏。
图23示出了上述实施例中所涉及的终端的一种可能的结构示意图。该终端2300包括:处理模块2301、存储模块2302、显示模块2303、传感模块2304。传感模块2304用于检测用户在终端的侧边的按压操作和滑动操作动作。处理模块2301用于对传感模块2304检测到的用户操作进行控制管理。显示模块2303用于显示处理模块2301生成的图像。存储模块2302,用于保存终端的程序代码和数据。
进一步的,该终端2300还可以包括通信模块。该通信模块用于与其他终端通信。如通信模块用于与其他终端进行语音通信,接收或者向其他终端发送头像。
其中,处理模块2301可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的 逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块2302可以是存储器。传感模块2304可以是传感器。
当处理模块2301为处理器(如图2所示的处理器201),通信模块为RF电路(如图2所示的射频电路202),存储模块2302为存储器(如图2所示的存储器203),显示模块2303为触摸屏(包括图2所示的触控板204-1和显示器204-2),传感模块2304为传感器(如图2所示的传感器206)时,本申请所提供的终端可以为图2所示的手机100。其中,上述通信模块不仅可以包括RF电路,还可以包括WiFi模块和蓝牙模块。RF电路、WiFi模块和蓝牙模块等通信模块可以统称为通信接口。其中,上述处理器、通信接口、触摸屏和存储器可以通过总线耦合在一起。
参考图5-图11、图13-图15、图17和图21中任一附图所示,本申请实施例还提供了一种图形用户界面(GUI),该图形用户界面存储在终端中,该终端包括触摸屏、存储器、处理器和安装在该终端的侧边上的传感器,该传感器用于检测用户在该侧边的操作,上述处理器用于执行存储在上述存储器中的一个或多个计算机程序。
具体的,在本申请的第一种应用场景中,该图形用户界面包括:
如图5中的(c)、图9、图10、图11中的(a)、图13中的(c)或者图15中的(c)中任一附图所示,响应于对上述侧边的按压操作,显示在上述触摸屏上的第一GUI,上述第一GUI中包括第一界面,上述第一界面中包括至少一个任务窗,上述至少一个任务窗对应于上述处理器最近运行过且未关闭的任务。
如图5中的(d)、图6或者图11中的(b)中任一附图所示,响应于对上述侧边的滑动操作,上述滑动操作和上述按压操作为用户手指不离开上述侧边的连续操作,显示在上述触摸屏上的第二GUI,上述第二GUI中以预设方式显示第一任务窗,上述第一任务窗是上述至少一个任务窗中的一个,其中,随着上述滑动操作的滑动位置的变化,当上述至少一个任务窗中包括多个任务窗时,上述第二GUI中以上述预设方式显示的第一任务窗在上述多个任务窗中切换;
如图7、图8或者图14中任一附图中的(b)所示,响应于上述滑动操作结束且用户手指离开上述侧边,显示在上述触摸屏上的第三GUI,上述第三GUI包括第二界面,上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,图7、图8或者图14中对应附图中的(a)所示的第二GUI中以上述预设方式显示的第一任务窗对应的任务的界面。
在一种可能的实现方式中,上述第二GUI中的第一任务窗是上述处理器最近运行过且未关闭的应用中一个应用的任务窗。上述第三GUI中的上述第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的实现方式中,上述第一GUI中的第一界面具体包括上述处理器最近运行过且未关闭至少两个应用的任务窗。如图5中的(d)、图6或者图11中的(b)中任一附图所示,上述第二GUI中的第一任务窗是上述至少两个应用中一个应用的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
例如,如图5中的(c)、图9、图10或图11中的(a)中任一附图所示,上述第一GUI中的第一界面具体包括上述处理器最近运行过且未关闭至少两个应用的任务窗。如图5中的(d)、图6或者图11中的(b)中任一附图所示,上述第二GUI中的第一任务窗是上述至少两个应用中一个应用的任务窗。如图7或图8中的(b)所示,第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,图7或图8中对应附图中的(a)所示第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的实现方式中,当上述处理器最近运行过且未关闭的应用仅包括第一应用时,上述第一GUI中的第一界面具体包括上述第一应用中的一个或多个应用任务的任务窗的第一界面,上述第一应用是上述终端中的任一应用。上述第二GUI中的第一任务窗是上述第一应用中的一个应用任务的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用任务的界面。
例如,如图13中的(c),上述第一GUI中的第一界面具体包括上述第一应用中的一个或多个应用任务的任务窗的第一界面,上述第一应用是上述终端中的任一应用。如图13中的(d)所示,上述第二GUI中的第一任务窗是上述第一应用中的一个应用任务的任务窗。如图14中的(b)所示,上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,图14中的(a)所示的第二GUI中以上述预设方式显示的第一任务窗对应的应用任务的界面。
在另一种可能的实现方式中,当上述触摸屏显示上述终端的桌面时,响应于对上述侧边的按压操作,显示在上述触摸屏上的第一GUI中的第一界面包括上述处理器最近运行过且未关闭的应用的任务窗。其中,上述第二GUI中的第一任务窗是上述终端最近运行过且未关闭的应用中一个应用的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
例如,如图5中的(b)所示,当手机100当前显示终端桌面502时,上述第一GUI中包括图5中的(c)所示的包括上述处理器最近运行过且未关闭的应用的任务窗的第一界面。相应的,如图7或图8中的(b)所示,第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,图7或图8中对应附图中的(a)所示第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的实现方式中,响应于在上述侧边的第一位置的按压操作,显示在上述触摸屏上的第一GUI中的第一界面包括终端最近运行过且未关闭的应用的任务窗。
例如,假设第一位置是图19所示的右侧边上的第一位置1901,上述第一GUI中包括图5中的(c)所示的包括上述处理器最近运行过且未关闭的应用的任务窗的第一界面。相应的,如图7或图8中的(b)所示,第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,图7或图8中对应附图中的(a)所示第二GUI中以上述预设方式显示的第一任务窗对应的应用的界面。
在另一种可能的实现方式中,响应于在上述侧边的第二位置的按压操作,显示在上述触摸屏上的第一GUI中的第一界面包括第二应用中的应用任务的任务窗,上述第 二应用是上述触摸屏最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用。其中,上述第二GUI中的第一任务窗是上述第二应用中的一个应用任务的任务窗。上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,上述第二GUI中以上述预设方式显示的第一任务窗对应的应用任务的界面。
例如,假设第二位置是如图19所示的右侧边上的第二位置1902,如图21中的(c),上述第一GUI中的第一界面具体包括上述第一应用中的一个或多个应用任务的任务窗的第一界面,上述第一应用是上述终端中的任一应用。如图13中的(d)所示,上述第二GUI中的第一任务窗是上述第一应用中的一个应用任务的任务窗。如图14中的(b)所示,上述第三GUI中的第二界面是上述滑动操作结束且用户手指离开上述侧边时,图14中的(a)所示的第二GUI中以上述预设方式显示的第一任务窗对应的应用任务的界面。
本申请还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当上述处理器执行该计算机程序代码时,该终端执行图4、图12、图16、图20中任一附图中的相关方法步骤实现上述实施例中的任务切换方法。
本申请还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行图4、图12、图16、图20中任一附图中的相关方法步骤实现上述实施例中的任务切换方法。
其中,本申请提供的终端2200、终端2300、计算机存储介质或者计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时, 可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (36)

  1. 一种任务切换方法,其特征在于,应用于终端,所述终端的侧边上安装有传感器,所述传感器用于检测用户在所述侧边的操作,所述方法包括:
    所述终端响应于用户对所述侧边的按压操作,显示第一界面,所述第一界面中包括至少一个任务窗,所述至少一个任务窗对应于所述终端最近运行过且未关闭的任务;
    所述终端检测用户在所述侧边的滑动操作,所述滑动操作和所述按压操作为用户手指不离开所述侧边的连续操作;
    所述终端响应于所述滑动操作,以预设方式显示第一任务窗,所述第一任务窗是所述至少一个任务窗中的一个,其中,随着所述滑动操作的滑动位置的变化,当所述至少一个任务窗中包括多个任务窗时,以所述预设方式显示的第一任务窗在所述多个任务窗中切换;
    所述终端响应于检测到所述滑动操作结束且用户手指离开所述侧边,显示第二界面,所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述终端以所述预设方式显示的第一任务窗对应的任务的界面。
  2. 根据权利要求1所述的方法,其特征在于,所述终端最近运行过且未关闭的任务包括所述终端最近运行过且未关闭的应用;
    所述第一任务窗是所述终端最近运行过且未关闭的应用中一个应用的任务窗;
    所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述终端以所述预设方式显示的第一任务窗对应的应用的界面。
  3. 根据权利要求1所述的方法,其特征在于,所述终端响应于用户对所述侧边的按压操作,显示第一界面,包括:
    所述终端响应于用户对所述侧边的按压操作,当所述终端最近运行过且未关闭至少两个应用时,显示包括所述至少两个应用的任务窗的第一界面;
    其中,所述第一任务窗是所述至少两个应用中一个应用的任务窗;所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述终端以所述预设方式显示的第一任务窗对应的应用的界面。
  4. 根据权利要求1所述的方法,其特征在于,所述终端响应于用户对所述侧边的按压操作,显示第一界面,包括:
    所述终端响应于用户对所述侧边的按压操作,当所述终端最近运行过且未关闭的应用仅包括第一应用时,显示包括所述第一应用中的一个或多个应用任务的任务窗的第一界面,所述第一应用是所述终端中的任一应用;
    其中,所述第一任务窗是所述第一应用中的一个应用任务的任务窗;
    所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述终端以所述预设方式显示的第一任务窗对应的应用任务的界面。
  5. 根据权利要求1或2中任一项所述的方法,其特征在于,所述终端响应于用户对所述侧边的按压操作,显示第一界面,包括:
    所述终端响应于用户对所述侧边的按压操作,当所述终端当前显示所述终端的桌面时,显示包括所述终端最近运行过且未关闭的应用的任务窗的第一界面;
    其中,所述第一任务窗是所述终端最近运行过且未关闭的应用中一个应用的任务 窗;所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述终端以所述预设方式显示的第一任务窗对应的应用的界面。
  6. 根据权利要求1、2或5中任一项所述的方法,其特征在于,所述按压操作是用户在所述侧边的第一位置的按压操作。
  7. 根据权利要求6所述的方法,其特征在于,所述终端响应于用户对所述侧边的按压操作,显示第一界面,包括:
    所述终端响应于用户对所述侧边的按压操作,当所述按压操作是用户在所述侧边的第二位置的按压操作时,显示包括第二应用中的应用任务的任务窗的第一界面,所述第二应用是所述终端最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用;
    其中,所述第一任务窗是所述第二应用中的一个应用任务的任务窗;
    所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述终端以所述预设方式显示的第一任务窗对应的应用任务的界面。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述侧边包括所述终端的左侧边和/或所述终端的右侧边。
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述终端响应于用户对所述侧边的按压操作,显示第一界面,包括:
    所述终端响应于用户对所述侧边上至少两点的按压操作,显示所述第一界面。
  10. 一种终端,其特征在于,所述终端的侧边上安装有传感器,所述终端包括:
    检测单元,用于通过所述传感器检测用户在终端的侧边的操作;
    处理单元,用于运行所述终端中的至少一个任务;
    显示单元,用于响应于所述检测单元检测的用户对所述侧边的按压操作,显示第一界面,所述第一界面中包括至少一个任务窗,所述至少一个任务窗对应于所述处理单元最近运行过且未关闭的任务;
    所述检测单元,还用于检测用户在所述侧边的滑动操作,所述滑动操作和所述按压操作为用户手指不离开所述侧边的连续操作;
    所述显示单元,还用于响应于所述检测单元检测的所述滑动操作,以预设方式显示第一任务窗,所述第一任务窗是所述至少一个任务窗中的一个,其中,随着所述滑动操作的滑动位置的变化,当所述至少一个任务窗中包括多个任务窗时,以所述预设方式显示的第一任务窗在所述多个任务窗中切换;
    所述显示单元,还用于响应于所述检测单元检测的检测到所述滑动操作结束且用户手指离开所述侧边,显示第二界面,所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述终端以所述预设方式显示的第一任务窗对应的任务的界面。
  11. 根据权利要求10所述的终端,其特征在于,所述处理单元最近运行过且未关闭的任务包括所述终端最近运行过且未关闭的应用;
    所述显示单元显示的所述第一任务窗是所述处理单元最近运行过且未关闭的应用中一个应用的任务窗;
    所述显示单元显示的所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,以所述预设方式显示的第一任务窗对应的应用的界面。
  12. 根据权利要求10所述的终端,其特征在于,所述显示单元,具体用于:
    响应于用户对所述侧边的按压操作,当所述处理单元最近运行过且未关闭至少两个应用时,显示包括所述至少两个应用的任务窗的第一界面;
    其中,所述第一任务窗是所述至少两个应用中一个应用的任务窗;所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述显示单元以所述预设方式显示的第一任务窗对应的应用的界面。
  13. 根据权利要求10所述的终端,其特征在于,所述显示单元,具体用于:
    响应于用户对所述侧边的按压操作,当所述处理单元最近运行过且未关闭的应用仅包括第一应用时,显示包括所述第一应用中的一个或多个应用任务的任务窗的第一界面,所述第一应用是所述终端中的任一应用;
    其中,所述第一任务窗是所述第一应用中的一个应用任务的任务窗;
    所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述显示单元以所述预设方式显示的第一任务窗对应的应用任务的界面。
  14. 根据权利要求10或11所述的终端,其特征在于,所述显示单元,具体用于:
    响应于用户对所述侧边的按压操作,当所述显示单元当前显示所述终端的桌面时,显示包括所述处理单元最近运行过且未关闭的应用的任务窗的第一界面;
    其中,所述第一任务窗是所述终端最近运行过且未关闭的应用中一个应用的任务窗;所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述显示单元以所述预设方式显示的第一任务窗对应的应用的界面。
  15. 根据权利要求10、11或14中任一项所述的终端,其特征在于,所述按压操作是用户在所述侧边的第一位置的按压操作。
  16. 根据权利要求15所述的终端,其特征在于,所述显示单元,具体用于:
    响应于用户对所述侧边的按压操作,当所述按压操作是用户在所述侧边的第二位置的按压操作时,显示包括第二应用中的应用任务的任务窗的第一界面,所述第二应用是所述处理单元最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用;
    其中,所述第一任务窗是所述第二应用中的一个应用任务的任务窗;所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述显示单元以所述预设方式显示的第一任务窗对应的应用任务的界面。
  17. 根据权利要求10-16中任一项所述的终端,其特征在于,所述侧边包括所述终端的左侧边和/或所述终端的右侧边。
  18. 根据权利要求10-17中任一项所述的终端,其特征在于,所述显示单元,具体用于:
    响应于用户对所述侧边上至少两点的按压操作,显示所述第一界面。
  19. 一种终端,其特征在于,所述终端包括:处理器、存储器、触摸屏和安装在所述终端侧边上的传感器,所述存储器、所述触摸屏、所述传感器与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,
    所述传感器,用于检测用户在所述侧边的按压操作;
    所述处理器,还用于运行所述终端中的至少一个任务,所述至少一个任务的数据保存在所述存储器中;
    所述触摸屏,用于响应于所述传感器检测到的所述按压操作,显示第一界面,所述第一界面中包括至少一个任务窗,所述至少一个任务窗对应于所述处理器最近运行过且未关闭的任务;
    所述传感器,还用于检测用户在所述侧边的滑动操作,所述滑动操作和所述按压操作为用户手指不离开所述侧边的连续操作;
    所述触摸屏,还用于响应于所述传感器检测到的所述滑动操作,以预设方式显示第一任务窗,所述第一任务窗是所述至少一个任务窗中的一个,其中,随着所述滑动操作的滑动位置的变化,当所述至少一个任务窗中包括多个任务窗时,以所述预设方式显示的第一任务窗在所述多个任务窗中切换;
    所述传感器,还用于检测所述滑动操作结束且用户手指离开所述侧边;
    所述触摸屏,还用于响应于所述传感器检测到所述滑动操作结束且用户手指离开所述侧边,显示第二界面,所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述触摸屏以所述预设方式显示的第一任务窗对应的任务的界面。
  20. 根据权利要求19所述的终端,其特征在于,所述处理器最近运行过且未关闭的任务包括所述处理器最近运行过且未关闭的应用;
    所述触摸屏显示的所述第一任务窗是所述处理器最近运行过且未关闭的应用中一个应用的任务窗;
    所述触摸屏显示的所述第二界面是所述传感器检测到所述滑动操作结束且用户手指离开所述侧边时,所述触摸屏以所述预设方式显示的第一任务窗对应的应用的界面。
  21. 根据权利要求19所述的终端,其特征在于,所述触摸屏,具体用于:
    响应于所述传感器检测到的所述按压操作,当所述处理器最近运行过且未关闭至少两个应用时,显示包括所述至少两个应用的任务窗的第一界面;
    其中,所述触摸屏显示的所述第一任务窗是所述至少两个应用中一个应用的任务窗;所述触摸屏显示的所述第二界面是所述传感器检测到所述滑动操作结束且用户手指离开所述侧边时,所述触摸屏以所述预设方式显示的第一任务窗对应的应用的界面。
  22. 根据权利要求19所述的终端,其特征在于,所述触摸屏,具体用于:
    响应于所述传感器检测到的所述按压操作,当所述处理器最近运行过且未关闭的应用仅包括第一应用时,显示包括所述第一应用中的一个或多个应用任务的任务窗的第一界面,所述第一应用是所述终端中的任一应用;
    其中,所述触摸屏显示的所述第一任务窗是所述第一应用中的一个应用任务的任务窗;所述触摸屏显示的所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述触摸屏以所述预设方式显示的第一任务窗对应的应用任务的界面。
  23. 根据权利要求19或20所述的终端,其特征在于,所述触摸屏,具体用于:
    响应于所述传感器检测到的所述按压操作,当所述触摸屏当前显示所述终端的桌面时,显示包括所述处理器最近运行过且未关闭的应用的任务窗的第一界面;
    其中,所述触摸屏显示的所述第一任务窗是所述终端最近运行过且未关闭的应用中一个应用的任务窗;所述触摸屏显示的所述第二界面是所述滑动操作结束且用户手 指离开所述侧边时,所述触摸屏以所述预设方式显示的第一任务窗对应的应用的界面。
  24. 根据权利要求19、20或23中任一项所述的终端,其特征在于,所述传感器检测到的所述按压操作是用户在所述侧边的第一位置的按压操作。
  25. 根据权利要求24所述的终端,其特征在于,所述触摸屏,具体用于:
    响应于所述传感器检测到的所述按压操作,当所述按压操作是用户在所述侧边的第二位置的按压操作时,显示包括第二应用中的应用任务的任务窗的第一界面,所述第二应用是所述处理器最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用;
    其中,所述触摸屏显示的所述第一任务窗是所述第二应用中的一个应用任务的任务窗;
    所述触摸屏显示的所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述触摸屏以所述预设方式显示的第一任务窗对应的应用任务的界面。
  26. 根据权利要求19-25中任一项所述的终端,其特征在于,所述侧边包括所述终端的左侧边和/或所述终端的右侧边。
  27. 根据权利要求19-26中任一项所述的终端,其特征在于,所述触摸屏,具体用于:
    响应于所述传感器检测到的用户对所述侧边上至少两点的按压操作,显示所述第一界面。
  28. 一种图形用户界面GUI,所述图形用户界面存储在终端中,所述终端包括触摸屏、存储器、处理器和安装在所述终端的侧边上的传感器,所述传感器用于检测用户在所述侧边的操作,所述处理器用于执行存储在所述存储器中的一个或多个计算机程序,其特征在于,所述图形用户界面包括:
    响应于对所述侧边的按压操作,显示在所述触摸屏上的第一GUI,所述第一GUI中包括第一界面,所述第一界面中包括至少一个任务窗,所述至少一个任务窗对应于所述处理器最近运行过且未关闭的任务;
    响应于对所述侧边的滑动操作,所述滑动操作和所述按压操作为用户手指不离开所述侧边的连续操作,显示在所述触摸屏上的第二GUI,所述第二GUI中以预设方式显示第一任务窗,所述第一任务窗是所述至少一个任务窗中的一个,其中,随着所述滑动操作的滑动位置的变化,当所述至少一个任务窗中包括多个任务窗时,所述第二GUI中以所述预设方式显示的第一任务窗在所述多个任务窗中切换;
    响应于所述滑动操作结束且用户手指离开所述侧边,显示在所述触摸屏上的第三GUI,所述第三GUI包括第二界面,所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述第二GUI中以所述预设方式显示的第一任务窗对应的任务的界面。
  29. 根据权利要求28所述的图形用户界面,其特征在于,所述第二GUI中的第一任务窗是所述处理器最近运行过且未关闭的应用中一个应用的任务窗;
    所述第三GUI中的所述第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述第二GUI中以所述预设方式显示的第一任务窗对应的应用的界面。
  30. 根据权利要求28所述的图形用户界面,其特征在于,所述第一GUI中的第一界面具体包括所述处理器最近运行过且未关闭至少两个应用的任务窗;
    所述第二GUI中的第一任务窗是所述至少两个应用中一个应用的任务窗;
    所述第三GUI中的第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述第二GUI中以所述预设方式显示的第一任务窗对应的应用的界面。
  31. 根据权利要求28所述的图形用户界面,其特征在于,当所述处理器最近运行过且未关闭的应用仅包括第一应用时,所述第一GUI中的第一界面具体包括所述第一应用中的一个或多个应用任务的任务窗的第一界面,所述第一应用是所述终端中的任一应用;
    其中,所述第二GUI中的第一任务窗是所述第一应用中的一个应用任务的任务窗;
    所述第三GUI中的第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述第二GUI中以所述预设方式显示的第一任务窗对应的应用任务的界面。
  32. 根据权利要求28或29所述的图形用户界面,其特征在于,当所述触摸屏显示所述终端的桌面时,响应于对所述侧边的按压操作,显示在所述触摸屏上的所述第一GUI中的第一界面包括所述处理器最近运行过且未关闭的应用的任务窗;
    其中,所述第二GUI中的第一任务窗是所述终端最近运行过且未关闭的应用中一个应用的任务窗;
    所述第三GUI中的第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述第二GUI中以所述预设方式显示的第一任务窗对应的应用的界面。
  33. 根据权利要求28、29或32中任一项所述的图形用户界面,其特征在于,所述按压操作是用户在所述侧边的第一位置的按压操作。
  34. 根据权利要求28所述的图形用户界面,其特征在于,响应于在所述侧边的第二位置的按压操作,显示在所述触摸屏上的第一GUI中的第一界面包括第二应用中的应用任务的任务窗,所述第二应用是所述触摸屏最近运行过且未关闭的应用中,按照运行时间的先后顺序排列在最后一位的应用;
    其中,所述第二GUI中的第一任务窗是所述第二应用中的一个应用任务的任务窗;
    所述第三GUI中的第二界面是所述滑动操作结束且用户手指离开所述侧边时,所述第二GUI中以所述预设方式显示的第一任务窗对应的应用任务的界面。
  35. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在终端上运行时,使得所述终端执行如权利要求1-9中任一项所述的任务切换方法。
  36. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-9中任一项所述的任务切换方法。
PCT/CN2017/105064 2017-09-30 2017-09-30 一种任务切换方法及终端 WO2019061512A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
AU2017433305A AU2017433305B2 (en) 2017-09-30 2017-09-30 Task switching method and terminal
CN201780091583.5A CN110741335A (zh) 2017-09-30 2017-09-30 一种任务切换方法及终端
KR1020207010337A KR102446587B1 (ko) 2017-09-30 2017-09-30 태스크 전환 방법 및 단말기
EP17926387.6A EP3674872A4 (en) 2017-09-30 2017-09-30 TASK CHANGE PROCESS, AND TERMINAL
PCT/CN2017/105064 WO2019061512A1 (zh) 2017-09-30 2017-09-30 一种任务切换方法及终端
US16/651,644 US10838596B2 (en) 2017-09-30 2017-09-30 Task switching method and terminal
JP2020517817A JP2020536307A (ja) 2017-09-30 2017-09-30 タスク切り替え方法および端末

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105064 WO2019061512A1 (zh) 2017-09-30 2017-09-30 一种任务切换方法及终端

Publications (1)

Publication Number Publication Date
WO2019061512A1 true WO2019061512A1 (zh) 2019-04-04

Family

ID=65902347

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105064 WO2019061512A1 (zh) 2017-09-30 2017-09-30 一种任务切换方法及终端

Country Status (7)

Country Link
US (1) US10838596B2 (zh)
EP (1) EP3674872A4 (zh)
JP (1) JP2020536307A (zh)
KR (1) KR102446587B1 (zh)
CN (1) CN110741335A (zh)
AU (1) AU2017433305B2 (zh)
WO (1) WO2019061512A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897479A (zh) * 2020-08-11 2020-11-06 网易(杭州)网络有限公司 界面切换显示方法、装置、终端及存储介质
WO2022068599A1 (zh) * 2020-09-29 2022-04-07 华为技术有限公司 分屏显示控制方法及装置、电子设备、存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD916718S1 (en) * 2017-10-30 2021-04-20 Siemens Healthcare Gmbh Display screen or portion thereof with a graphical user interface
USD880384S1 (en) * 2018-01-12 2020-04-07 Jaguar Land Rover Limited Vehicle front fender
CN109032734B (zh) * 2018-07-13 2020-09-01 维沃移动通信有限公司 一种后台应用程序显示方法和移动终端
KR20230050768A (ko) * 2021-10-08 2023-04-17 삼성전자주식회사 플렉서블 전자 장치 및 어플리케이션 실행 화면의 표시를 제어하는 방법

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106039A (zh) * 2013-02-19 2013-05-15 广东欧珀移动通信有限公司 一种移动终端的页面切换方法及装置
CN103809891A (zh) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 页面切换方法和装置
US20140195935A1 (en) * 2012-05-25 2014-07-10 Panasonic Corporation Information processing device, information processing method, and information processing program
CN104991819A (zh) * 2015-05-27 2015-10-21 努比亚技术有限公司 终端应用切换方法及装置
KR20170078004A (ko) * 2015-12-29 2017-07-07 에스케이플래닛 주식회사 사용자 장치, 그의 제어 방법 및 컴퓨터 프로그램이 기록된 기록매체
CN107045420A (zh) * 2017-04-27 2017-08-15 努比亚技术有限公司 应用程序的切换方法及移动终端、存储介质

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8373660B2 (en) * 2003-07-14 2013-02-12 Matt Pallakoff System and method for a portable multimedia client
US8564543B2 (en) * 2006-09-11 2013-10-22 Apple Inc. Media player with imaged based browsing
JP4632102B2 (ja) * 2008-07-17 2011-02-16 ソニー株式会社 情報処理装置、情報処理方法及び情報処理プログラム
TWI456434B (zh) * 2011-05-31 2014-10-11 Compal Electronics Inc 具有觸控輸入系統之電子裝置
TWI484405B (zh) * 2012-08-23 2015-05-11 Egalax Empia Technology Inc 圖形使用者界面的顯示方法及使用該方法的電子裝置
WO2014143706A1 (en) * 2013-03-15 2014-09-18 Tk Holdings Inc. Adaptive human machine interfaces for pressure sensitive control in a distracted operating environment and method of using the same
EP3726359A1 (en) * 2013-03-15 2020-10-21 Apple Inc. Device, method, and graphical user interface for managing concurrently open software applications
US20140304646A1 (en) * 2013-04-04 2014-10-09 Klip, Inc. Sliding side menu gui with menu items displaying indicia of updated content
CN103543948A (zh) 2013-10-30 2014-01-29 西安乾易企业管理咨询有限公司 移动终端及其人机交互方法
CN104765446A (zh) 2014-01-07 2015-07-08 三星电子株式会社 电子设备和控制电子设备的方法
KR20150082032A (ko) * 2014-01-07 2015-07-15 삼성전자주식회사 전자 장치 및 전자 장치의 제어 방법
US10067648B2 (en) 2014-02-13 2018-09-04 Samsung Electronics Co., Ltd. User terminal device and method for displaying thereof
US20150248545A1 (en) * 2014-03-03 2015-09-03 Samer Al-Jamal Sign shortcut
CN104267902B (zh) 2014-09-22 2017-03-08 努比亚技术有限公司 一种应用程序交互控制方法、装置及终端
JP2016115208A (ja) * 2014-12-16 2016-06-23 シャープ株式会社 入力装置、ウェアラブル端末、携帯端末、入力装置の制御方法、および入力装置の動作を制御するための制御プログラム
KR102308645B1 (ko) * 2014-12-29 2021-10-05 삼성전자주식회사 사용자 단말 장치 및 그의 제어 방법
KR20160085125A (ko) * 2015-01-07 2016-07-15 엘지전자 주식회사 이동단말기 및 그 제어방법
JP7057064B2 (ja) * 2015-02-06 2022-04-19 ソニーグループ株式会社 情報処理装置、情報処理装置の制御方法及びプログラム
CN104731499A (zh) 2015-03-13 2015-06-24 深圳市中兴移动通信有限公司 启动后台应用的方法、装置及移动终端
US20160294750A1 (en) * 2015-04-03 2016-10-06 Vaporstream, Inc. Electronic Message Slide Reveal System and Method
US9891811B2 (en) * 2015-06-07 2018-02-13 Apple Inc. Devices and methods for navigating between user interfaces
CN106708399A (zh) * 2015-11-17 2017-05-24 天津三星通信技术研究有限公司 用于具有双侧边曲面屏幕的电子终端的触控方法和设备
EP3208733B1 (en) * 2016-02-19 2020-07-01 Sony Corporation Terminal device, method, and program
CN106020796A (zh) 2016-05-09 2016-10-12 北京小米移动软件有限公司 界面显示方法及装置
CN107193436A (zh) 2017-04-25 2017-09-22 努比亚技术有限公司 一种多任务切换的方法及终端
DK180127B1 (en) * 2017-05-16 2020-05-26 Apple Inc. DEVICES, METHODS, AND GRAPHICAL USER INTERFACES FOR MOVING USER INTERFACE OBJECTS
GB2563062A (en) * 2017-06-02 2018-12-05 Spectrum Medical Ltd Oxygenation system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140195935A1 (en) * 2012-05-25 2014-07-10 Panasonic Corporation Information processing device, information processing method, and information processing program
CN103809891A (zh) * 2012-11-13 2014-05-21 腾讯科技(深圳)有限公司 页面切换方法和装置
CN103106039A (zh) * 2013-02-19 2013-05-15 广东欧珀移动通信有限公司 一种移动终端的页面切换方法及装置
CN104991819A (zh) * 2015-05-27 2015-10-21 努比亚技术有限公司 终端应用切换方法及装置
KR20170078004A (ko) * 2015-12-29 2017-07-07 에스케이플래닛 주식회사 사용자 장치, 그의 제어 방법 및 컴퓨터 프로그램이 기록된 기록매체
CN107045420A (zh) * 2017-04-27 2017-08-15 努比亚技术有限公司 应用程序的切换方法及移动终端、存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3674872A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897479A (zh) * 2020-08-11 2020-11-06 网易(杭州)网络有限公司 界面切换显示方法、装置、终端及存储介质
WO2022068599A1 (zh) * 2020-09-29 2022-04-07 华为技术有限公司 分屏显示控制方法及装置、电子设备、存储介质

Also Published As

Publication number Publication date
EP3674872A4 (en) 2020-09-16
CN110741335A (zh) 2020-01-31
EP3674872A1 (en) 2020-07-01
KR102446587B1 (ko) 2022-09-22
US20200233551A1 (en) 2020-07-23
AU2017433305A1 (en) 2020-04-09
JP2020536307A (ja) 2020-12-10
US10838596B2 (en) 2020-11-17
AU2017433305B2 (en) 2021-02-25
KR20200051768A (ko) 2020-05-13

Similar Documents

Publication Publication Date Title
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
EP3617869B1 (en) Display method and apparatus
US11307760B2 (en) Terminal interface display method and terminal
US20200371660A1 (en) Anti-Accidental Touch Method And Terminal
WO2019061512A1 (zh) 一种任务切换方法及终端
US11928312B2 (en) Method for displaying different application shortcuts on different screens
CN114741011B (zh) 一种终端显示的方法及电子设备
WO2018223270A1 (zh) 一种显示的处理方法及装置
WO2019000287A1 (zh) 一种图标显示方法及装置
CN105975190B (zh) 一种图形界面的处理方法、装置及系统
WO2019000411A1 (zh) 一种无线通信连接建立的方法及设备
US9497565B1 (en) Interface display method, device, terminal, server and system
WO2019183997A1 (zh) 视频的预览方法及电子设备
TW201516844A (zh) 一種物件選擇的方法和裝置
WO2020119486A1 (zh) 一种切换支付功能方法及电子设备
US20190387094A1 (en) Mobile terminal and method for operating same
CN112363648A (zh) 快捷显示方法、终端及计算机存储介质
WO2019047129A1 (zh) 一种移动应用图标的方法及终端
CN111684827A (zh) 一种补充业务的设置方法及设备
US20150070360A1 (en) Method and mobile terminal for drawing sliding trace
WO2017035794A1 (zh) 显示器操作的方法、装置、用户界面及存储介质
WO2019072168A1 (zh) 人机交互的方法和电子设备
WO2024045155A1 (zh) 图标显示控制方法、移动终端及存储介质
WO2018133313A1 (zh) 运动记录的方法及电子设备
WO2017206382A1 (zh) 一种输入字符的方法、装置以及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17926387

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2017926387

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017926387

Country of ref document: EP

Effective date: 20200326

Ref document number: 2020517817

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017433305

Country of ref document: AU

Date of ref document: 20170930

Kind code of ref document: A

Ref document number: 20207010337

Country of ref document: KR

Kind code of ref document: A