WO2019014859A1 - 一种多任务操作方法及电子设备 - Google Patents

一种多任务操作方法及电子设备 Download PDF

Info

Publication number
WO2019014859A1
WO2019014859A1 PCT/CN2017/093430 CN2017093430W WO2019014859A1 WO 2019014859 A1 WO2019014859 A1 WO 2019014859A1 CN 2017093430 W CN2017093430 W CN 2017093430W WO 2019014859 A1 WO2019014859 A1 WO 2019014859A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
interface
electronic device
icon
display
Prior art date
Application number
PCT/CN2017/093430
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 PCT/CN2017/093430 priority Critical patent/WO2019014859A1/zh
Priority to CN201780091772.2A priority patent/CN110709806A/zh
Priority to US16/631,735 priority patent/US20200183574A1/en
Publication of WO2019014859A1 publication Critical patent/WO2019014859A1/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/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
    • G06F3/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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/0486Drag-and-drop
    • 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
    • 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
    • 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/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Definitions

  • the present application relates to the field of electronic device technologies, and in particular, to a multi-task operation method and an electronic device.
  • the display screens of electronic devices such as mobile phones and personal digital assistants (PDAs) are getting larger and larger.
  • PDAs personal digital assistants
  • the method for enabling the split screen function includes: Referring to FIG. 1, an icon of a plurality of applications is displayed on the homepage interface 101 of the mobile phone. As shown in operation 1011, the user opens the first application and displays the interface 102 of the first application by clicking or the like. Then, as shown in process 1021, the user slides from the edge of the interface 102 of the first application to bring up the menu 103, wherein the sliding includes a single finger slip, and also includes multi-finger sliding such as two fingers or three fingers. Menu 103 displays icons for one or more second applications that support split screen functionality. The user can select a second application for splitting the screen with the currently displayed first application in the menu 103.
  • the interface 104 includes a first display area 1041 and a second display area 1042, wherein the first display area 1041 displays an interface of a first application, and the second display area 1042 displays an interface of a second application.
  • the first application is a video application
  • the second application selected by the user is an example of a WeChat application.
  • the embodiment of the present application provides a multi-task operation method and an electronic device to solve the problem of inconvenience caused by the sliding of the edge of the application interface to open the split screen function after the application needs to be opened in the prior art.
  • a multitasking operation method is provided, which is applied to a scene in which an electronic device displays a homepage interface (an interface displaying icons of a plurality of applications).
  • the method includes the steps of: the electronic device displaying an icon of the first number of applications, and then receiving a preset operation triggered by the user of the icon of the second number of applications in the icon of the first number of applications .
  • the electronic device displays the interface of the second number of applications in a split screen.
  • the second quantity is greater than or equal to two and less than or equal to the first quantity.
  • the preset operation includes any one of the following operations: an operation of clicking an icon of the second number of applications, an operation of multi-clicking an icon of the second number of applications, pressing the second quantity An operation of the icon of the application, a first sliding operation of continuously sliding in the first direction after pressing the icon of the second number of applications, and pressing any point other than the icon of the second number of applications The second direction continues to slide to the second sliding operation of the icon of the second number of applications.
  • the user can directly perform shortcut operations on icons of two or more applications on the homepage to display the two or more applications in a split screen. Therefore, a faster and more convenient split screen display method is provided.
  • the second number of applications comprises a first application and a second application.
  • the first application belongs to the first type of preset application or the first preset application
  • the second application belongs to the second type of preset application or the second preset application.
  • the second number of applications comprises a first application and a second application.
  • the electronic device stores a historical split screen record when the first application and the second application are displayed on a split screen.
  • the historical split screen record includes the relative positions of the first application and the second application and their respective display ratios on the display of the electronic device.
  • the electronic device displays the interface of the first application and the second application on the screen, the electronic device displays the interface of the first application and the interface of the second application according to the historical split screen recording.
  • a multitasking operation method is provided, which is applied to a scene in which an electronic device displays a homepage interface.
  • the method includes the electronic device displaying an icon of the first number of applications and then receiving a first operation of the user's icon for the first application.
  • the electronic device displays the first interface and the second interface in a split screen.
  • the first interface is an interface of the first application.
  • the second interface is for displaying an icon of the second number of applications.
  • the second amount is less than the first amount.
  • the first operation includes any one of the following operations: multi-finger operation of clicking an icon of the first application, operation of double-clicking an icon of the first application, operation of pressing an icon of the first application, a first sliding operation that continues to slide in the first direction after pressing the icon of the first application, pressing any point outside the icon of the first application, and then continuously sliding to the icon of the first application in the second direction The second sliding operation.
  • the user does not need to open the interface of the first application, and can directly trigger the first operation and the like on the icon of the first application, and the electronic device detects the shortcut operation and can interface the first application and other applications.
  • the icon of the program is displayed in a split screen, and the user selects a target application for display with the first application. Therefore, it is possible to provide a faster and more convenient split screen display method.
  • the display ratio of the first interface on the display screen of the electronic device is greater than the display ratio of the second interface on the display screen of the electronic device.
  • the electronic device stores a historical split screen record corresponding to the first application.
  • the historical split screen record is used to record at least one second application displayed in a historical split screen operation of the user and displayed by the first application.
  • the second number of applications includes at least one second application recorded in the historical split screen record.
  • the method further includes: the electronic device receiving a user in the second interface The second operation of the second application. In response to the second operation, the electronic device displays an interface of the first application and an interface of the target second application in a split screen.
  • the second operation is used to trigger the electronic device to open the target second application.
  • a multi-task operation method comprising: displaying, by the electronic device, a first interface, where the first interface is an interface of the first application.
  • the electronic device receives a preset operation performed by the user on the first interface.
  • the electronic device displays the first interface and the second interface in a split screen, and the second interface is configured to display an icon of the at least one second application.
  • the preset operation includes a sliding operation triggered when a contact area of the user with the first interface is greater than a first threshold.
  • the user in a scenario where the first application is opened on the electronic device, the user can perform a sliding operation on the interface of the first application by the palm to trigger the electronic device to display the interface of the first application and the icon of the at least one second application.
  • Split screen display Therefore, a split screen manner for triggering a split screen by detecting a contact area of a user's interface with the first application is provided.
  • a display ratio of the first interface is greater than a display ratio of the second interface.
  • a fourth aspect provides a multi-task operation method, the method comprising: displaying, by an electronic device, a first interface, the first boundary
  • the interface is the interface of the first application.
  • the electronic device receives a voice command input by the user.
  • the electronic device displays the first interface and the second interface in a split screen.
  • the second interface may be an interface of the second application, or may be an interface displaying icons of the plurality of second applications.
  • the user may input a voice to instruct the electronic device to display the interface of the first application and the second interface in a split screen. Therefore, a more convenient and convenient split screen display method is provided.
  • the voice instruction is used to indicate a second application for being displayed in a split screen with the first application.
  • the electronic device displays the first interface and the second interface separately, including: in response to the voice instruction, the electronic device interfaces an interface of the first application The interface of the second application is displayed in a split screen.
  • the voice instruction is used to instruct the electronic device to enable a split screen function.
  • the electronic device displays the first interface and the second interface separately, including: in response to the voice instruction, the electronic device interfaces an interface of the first application The second interface is displayed in a split screen, and the second interface displays an icon of at least one second application.
  • the method further includes: the electronic device receiving a user for the at least a second operation of the icon of the second application in the second application, the second operation being used to trigger the opening of the target second application.
  • the electronic device displays the interface of the first application and the interface of the target second application in a split screen.
  • a multitasking operation method including: displaying, by an electronic device, a first interface, where the first interface displays an icon of at least one application.
  • the electronic device receives a preset operation of the user for an icon of the first application of the at least one application.
  • the electronic device superimposes an interface of the first application on the first interface.
  • the preset operation includes an operation of continuously sliding in a first direction after pressing an icon of the first application.
  • the electronic device displays the homepage interface (the icon of the plurality of applications is displayed)
  • the electronic device is responsive to the operation.
  • the interface of the first application is displayed in a picture-in-picture manner on the homepage interface. Therefore, a convenient and quick way to display the interface of the application is provided.
  • the preset operation includes an operation of pressing the icon of the first application to continue sliding in a first direction to a first position of the first interface.
  • the electronic device superimposing an interface of the first application on the first interface, including: in response to the preset operation, the electronic device is in the The first location of an interface overlays the interface of the first application.
  • the electronic device stores a history display record when the interface of the first application is superimposed on the first interface, the history display record including the first The display size and display position of the application's interface.
  • the electronic device superimposing an interface of the first application on the first interface, including: in response to the preset operation, the electronic device according to the history An interface for displaying the first application superimposed on the first interface is displayed.
  • a multitasking operation method comprising: displaying, by an electronic device, an interface of a first application And a list of recent tasks, wherein the recent task list includes an icon of at least one second application.
  • the electronic device receives a preset operation of the user's icon for the target second application in the recent task list.
  • the electronic device displays an interface of the target second application and adds the first application to the recent task list.
  • the preset operation is used to trigger the opening of the target second application.
  • the preset operation includes any one of the following operations: clicking or multi-clicking an icon of the target second application, pressing an icon of the target second application, pressing the The operation of dragging the icon of the second application to the interface of the first application.
  • the electronic device displays a screen of the first application and a list of recent tasks, and the recent task list includes icons of the plurality of second applications. Further, when the electronic device detects the user's operation on the icon of a second application in the recent task list, the electronic device displays the interface of the second application and displays the icon of the first application in the recent task list.
  • a multi-task operation method is provided, which is applied to a scene in which an electronic device is not unlocked, such as an electronic device lock screen or a screen.
  • the electronic device receives the first shortcut operation input by the user on the lock screen interface, and in response to the first shortcut operation, the electronic device displays the first application program and the second application program in a split screen.
  • the electronic device receives a second shortcut operation input by the user on the lock screen interface, and in response to the second shortcut operation, the electronic device splits the screen to display the fourth application of the third application.
  • the electronic device receives a third shortcut operation input by the user on the lock screen interface, and in response to the third shortcut operation, the electronic device superimposes in the picture-in-picture manner on the homepage interface (the interface displaying the icon of the application on which the electronic device is installed) The interface of the first application is displayed.
  • the shortcut operation may be a fingerprint input by a user, a gesture, pressing a physical button, and the like.
  • the first shortcut operation, the second shortcut operation, and the third shortcut operation are different shortcut operations.
  • the first application, the second application, the third application, and the fourth application are used to represent different applications.
  • the display ratios of the applications may be default settings, such as the same display ratio. It is also possible to make the display ratios of different applications different depending on the properties of the application. Taking the first application and the second application in a split screen as an example, when the first application belongs to the first type of application and the second application belongs to the second type of application, the interface of the first application is displayed on the electronic device. The display ratio on the screen is larger than the display ratio of the interface of the target second application on the display of the electronic device. It is also possible to record according to the history of the split screen display, and display different applications according to the historical split screen record. For example, when the first application and the second application are displayed in a split screen, when the electronic device stores the historical split screen record of the first application and the second application, the first application and the display are displayed according to the historical split screen record. Second application.
  • the embodiment of the present application further provides an implementation manner of adjusting an interface of a plurality of application programs displayed by the split screen according to the various multi-task operation methods described in the foregoing first to seventh aspects.
  • the electronic device displays an interface of the first application and an interface of the second application, and the electronic device displays the interface of the first application and the interface of the second application in a split screen.
  • the electronic device receives a first sliding operation in which the user slides from the interface of the first application to the interface of the second application and a second sliding operation from the interface of the second application to the interface of the first application.
  • the electronic device exchanges the display position of the interface of the first application and the interface of the second application.
  • the electronic device displays the interface of the first application and the interface of the second application in a split screen.
  • the electronic device receives a pressing operation of a boundary line between the interface of the user pressing the first application and the interface of the second application.
  • the electronic device exchanges an interface of the first application and an interface of the second application Show position.
  • the embodiment of the present application further provides an implementation manner of exiting the split screen based on the various multi-task operation methods described in the foregoing first to seventh aspects.
  • the electronic device displays the first interface and the second interface in a split screen; wherein the first interface is an interface of the first application, and the second interface is an interface of the second application.
  • the electronic device receives a sliding operation of the user from the first position of the boundary line between the first interface and the second interface along the boundary line to the second position of the boundary line. In response to the sliding operation, the electronic device displays an interface of the target application.
  • the target application is one of the first application and the second application.
  • the target application is an application that is being operated before the user performs the above sliding operation, that is, an application where the focus is located.
  • the target application is an application that displays a larger proportion in the first application and the second application.
  • the electronic device displays a screen of the first application and an interface of the second application, and the user continuously slides to the point along the boundary line by the first position of the dividing line between the two interfaces.
  • the electronic device exits the split screen and displays only the interface of one of the applications.
  • an electronic device comprising: a display screen interconnected by a bus, an input device, one or more processors, and a memory; wherein the memory is configured to store one or more programs, Instructions are included in one or more programs.
  • the display screen is used to display an icon of the first number of applications.
  • the input device is configured to receive a preset operation triggered by an icon of a second number of applications in an icon of the first number of applications.
  • the one or more processors are configured to display an interface of the second number of applications through the display screen in response to the preset operation.
  • the second quantity is greater than or equal to two and less than or equal to the first quantity.
  • the preset operation includes any one of the following operations: an operation of clicking an icon of the second number of applications, an operation of multi-clicking an icon of the second number of applications, pressing the second quantity An operation of the icon of the application, a first sliding operation of continuously sliding in the first direction after pressing the icon of the second number of applications, and pressing any point other than the icon of the second number of applications The second direction continues to slide to the second sliding operation of the icon of the second number of applications.
  • the second number of applications includes a first application and a second application; the first application belongs to the first type of preset application or the first preset An application, the second application belongs to a second type of preset application or a second preset application.
  • the one or more processors are further configured to display an interface of the first application and an interface of the second application through the display screen in response to the preset operation.
  • the display ratio of the interface of the first application on the display screen of the electronic device is greater than the display ratio of the interface of the second application on the display screen of the electronic device.
  • the second number of applications comprises a first application and a second application.
  • the memory is further configured to store a historical split screen record when the first application and the second application are displayed in a split screen, the historical split screen record including a relative position of the first application and the second application And a display scale on the display of the electronic device.
  • the one or more processors are further configured to display an interface of the first application and an interface of the second application through the display screen according to the historical split screen recording split screen in response to the preset operation .
  • an electronic device includes: a display screen connected to each other through a bus, an input device, one or more processors, and a memory; wherein the memory is configured to store one or more programs, Instructions are included in one or more of the programs.
  • the display screen is used to display an icon of the first number of applications.
  • the input device A first operation for receiving an icon of a user for the first application.
  • the one or more processors are configured to display the first interface and the second interface through the display screen in response to the first operation.
  • the first operation includes any one of the following operations: multi-finger clicking an operation of an icon of the first application, double-clicking an icon of the first application, pressing an icon of the first application a first sliding operation that continues to slide in the first direction after pressing the icon of the first application, pressing any point outside the icon of the first application, and then continuously sliding to the first application in the second direction
  • the second sliding operation of the icon is an interface of the first application; the second interface is configured to display an icon of a second number of applications; the second quantity is less than the first quantity.
  • a display ratio of the first interface on the display screen is greater than a display ratio of the second interface on the display screen.
  • the memory is further configured to store a historical split screen record corresponding to the first application, where the historical split screen record is used for recording in a historical split screen operation of the user. And at least one second application displayed by the first application in a split screen. The second number of applications includes at least one second application recorded in the historical split screen record.
  • the input device is further configured to receive a second operation of the user in the second interface on the target second application, where the second operation is used to trigger the
  • the electronic device opens the target second application.
  • the one or more processors are further configured to display an interface of the first application and an interface of the target second application through the display screen in a responsive manner according to the second operation.
  • an electronic device comprising: a display screen, an input device, one or more processors and a memory interconnected by a bus; wherein the memory is configured to store one or more programs, Instructions are included in one or more of the programs.
  • the display screen is configured to display a first interface, where the first interface is an interface of the first application.
  • the input device is configured to receive a preset operation performed by the user on the first interface.
  • the one or more processors are configured to display the first interface and the second interface through the display screen in response to the preset operation, where the second interface is configured to display at least one second application Program icon.
  • the preset operation includes a sliding operation triggered when a contact area of the user with the first interface is greater than a first threshold.
  • an electronic device includes: a display screen connected to each other through a bus, an input device, one or more processors, and a memory; wherein the memory is configured to store one or more programs, Instructions are included in one or more of the programs.
  • the display screen is configured to display a first interface, where the first interface is an interface of the first application.
  • the input device is configured to receive a voice instruction input by a user.
  • the one or more processors are configured to display the first interface and the second interface in a split screen through the display screen in response to the voice instruction.
  • the voice instruction is used to indicate a second application for being displayed in a split screen with the first application.
  • the one or more processors are configured to screen the interface of the first application and the interface of the second application through the display screen in response to the voice instruction.
  • the voice command is used to instruct the electronic device to turn on the split screen function.
  • the one or more processors are configured to display, by the display screen, an interface of the first application and a second interface by using a display screen, where the second interface displays at least one Two app icons.
  • the input device is further configured to receive a second operation of the user for an icon of the target second application in the at least one second application, the second operation The second application is opened by triggering the target.
  • the one or more processors are further configured to display the interface of the first application and the interface of the target second application in a screen by the display screen in response to the second operation.
  • an electronic device includes: a display screen connected to each other through a bus, an input device, one or more processors, and a memory; wherein the memory is configured to store one or more programs, Instructions are included in one or more of the programs.
  • the display screen is configured to display a first interface, where the first interface displays an icon of at least one application.
  • the input device is configured to receive a preset operation of a user for an icon of the first application in the at least one application.
  • the one or more processors are configured to superimpose an interface of the first application on the first interface through the display screen in response to the preset operation.
  • the preset operation includes an operation of continuously sliding in a first direction after pressing an icon of the first application.
  • the preset operation includes an operation of pressing the icon of the first application to continue sliding in a first direction to a first position of the first interface.
  • the one or more processors are further configured to superimpose an interface of the first application at the first location of the first interface through the display screen in response to the preset operation.
  • the memory is further configured to store a historical display record when the interface of the first application is superimposed on the first interface, where the history display record includes The display size and display position of the interface of the first application.
  • the one or more processors are further configured to, according to the preset operation, superimpose an interface of displaying the first application on the first interface by using the display screen according to the historical display record.
  • an electronic device comprising: a display screen, an input device, one or more processors and a memory interconnected by a bus; wherein the memory is configured to store one or more programs, Instructions are included in one or more of the programs.
  • the display screen is configured to display an interface of the first application and a list of recent tasks, where the recent task list includes an icon of the at least one second application.
  • the input device is configured to receive a preset operation of the user for an icon of the target second application in the recent task list; the preset operation is used to trigger to open the target second application.
  • the one or more processors for displaying an interface of the target second application through the display screen in response to the preset operation, and adding the first application to the recent task list in.
  • the preset operation includes an operation of clicking or multi-clicking an icon of the target second application, an operation of pressing an icon of the target second application, and pressing an icon of the target second application The operation of the interface dragging of the first application.
  • an electronic device includes: a display screen, an input device, one or more processors, and a memory connected to each other through a bus; wherein the memory is configured to store one or more programs, Instructions are included in one or more of the programs.
  • the display screen is configured to display the first interface and the second interface in a split screen, the first interface is an interface of the first application, and the second interface is an interface of the second application.
  • the input device is configured to receive a sliding operation of the user to continuously slide the first position of the boundary line between the first interface and the second interface along the boundary line to a second position of the boundary line.
  • the one or more processors for displaying an interface of a target application through the display screen in response to the sliding operation, the target application being the first application and the second application one of.
  • an electronic device comprising a display unit for displaying an icon of a first number of applications. And a receiving unit, configured to receive a preset operation triggered by an icon of a second number of applications in the icon of the first number of applications.
  • the display unit is further configured to respectively display an interface of the second number of applications in different display areas in response to the preset operation.
  • the second quantity is greater than or equal to two and less than or equal to the first quantity.
  • the preset operation includes any one of the following operations: an operation of clicking an icon of the second number of applications, an operation of multi-clicking an icon of the second number of applications, pressing the first Two number of apps icons And a first sliding operation of continuously sliding in the first direction after pressing the icon of the second number of applications, pressing any point outside the icon of the second number of applications, and continuing to slide in the second direction to a second sliding operation of the icon of the second number of applications.
  • the second number of applications comprises a first application and a second application.
  • the first application belongs to the first type of preset application or the first preset application
  • the second application belongs to the second type of preset application or the second preset application.
  • the display unit is further configured to respectively display an interface of the first application and an interface of the second application in different display areas in response to the preset operation.
  • the display ratio of the interface of the first application in the display unit is greater than the display ratio of the interface of the second application to the display unit.
  • the second number of applications includes a first application and a second application.
  • the electronic device further includes a storage unit, configured to store a historical split screen record when the first application and the second application are displayed in a split screen, the historical split screen record including the first application and the second application The relative position and the display ratio in the display unit of the electronic device.
  • the display unit is further configured to display an interface of the first application and an interface of the second application in different display areas according to the historical split screen in response to the preset operation.
  • an electronic device comprising: a display unit, configured to display an icon of a first quantity of applications. And a receiving unit, configured to receive a first operation of the user for the icon of the first application.
  • the display unit is configured to display the first interface and the second interface respectively in different display areas of the display unit in response to the first operation.
  • the first interface is an interface of the first application; the second interface is configured to display an icon of a second number of applications; and the second quantity is smaller than the first quantity.
  • the first operation includes any one of the following operations: multi-finger operation of clicking an icon of the first application, operation of double-clicking an icon of the first application, operation of pressing an icon of the first application, a first sliding operation that continues to slide in the first direction after pressing the icon of the first application, pressing any point outside the icon of the first application, and then continuously sliding to the icon of the first application in the second direction The second sliding operation.
  • a display ratio of the first interface on the display screen is greater than a display ratio of the second interface on the display screen.
  • the electronic device further includes a storage unit, configured to store a historical split screen record corresponding to the first application.
  • the historical split screen record is used to record at least one second application displayed in a historical split screen operation of the user and displayed by the first application.
  • the second number of applications includes at least one second application recorded in the historical split screen record.
  • the receiving unit is further configured to receive a second operation of the user in the second interface on the target second application, where the second operation is used to trigger the electronic
  • the device opens the target second application.
  • the display unit is further configured to respectively display an interface of the first application and an interface of the target second application in different display areas in response to the second operation.
  • the twentieth aspect provides an electronic device, including: a display unit, configured to display a first interface, where the first interface is an interface of the first application. And a receiving unit, configured to receive a preset operation performed by the user on the first interface.
  • the display unit is further configured to respectively display the first interface and the second interface in different display areas in response to the preset operation.
  • the second interface is configured to display an icon of the at least one second application.
  • the preset operation includes a sliding operation triggered when a contact area of the user with the first interface is greater than a first threshold.
  • the twenty-first aspect provides an electronic device, including: a display unit, configured to display a first interface, where the first interface is an interface of the first application.
  • the receiving unit is configured to receive a voice instruction input by the user.
  • the display unit is further configured to respectively display the first interface and the second interface in different display areas in response to the voice instruction.
  • the voice instruction is used to indicate a second application for being displayed in a split screen with the first application.
  • the display unit is further configured to respectively display an interface of the first application and an interface of the second application in different display areas in response to the voice instruction.
  • the voice command is used to instruct the electronic device to turn on the split screen function.
  • the display unit is further configured to respectively respectively input an interface of the first application and a second interface in different display areas in response to the voice instruction.
  • the second interface displays an icon of at least one second application.
  • the receiving unit is further configured to receive a second operation of the user for an icon of the target second application in the at least one second application, the second operation Used to trigger the opening of the target second application.
  • the display unit is further configured to respectively display an interface of the first application and an interface of the target second application in different display areas in response to the second operation.
  • an electronic device comprising: a display unit, configured to display a first interface, where the first interface displays an icon of at least one application. And a receiving unit, configured to receive a preset operation of the user for an icon of the first application in the at least one application.
  • the display unit is further configured to superimpose an interface of the first application on the first interface in response to the preset operation.
  • the preset operation includes an operation of continuously sliding in a first direction after pressing an icon of the first application.
  • the preset operation includes an operation of pressing the icon of the first application to continue sliding in a first direction to a first position of the first interface.
  • the display unit is further configured to superimpose an interface of the first application at the first location of the first interface in response to the preset operation.
  • the electronic device further includes a storage unit, configured to store a historical display record when the interface of the first application is superimposed on the first interface,
  • the history display record includes a display size and a display position of an interface of the first application
  • the display unit is further configured to: in response to the preset operation, superimpose an interface displaying the first application on the first interface according to the historical display record.
  • an electronic device comprising: a display unit, configured to display an interface of the first application and a list of recent tasks, wherein the recent task list includes an icon of the at least one second application.
  • a receiving unit configured to receive a preset operation of the user for an icon of the target second application in the recent task list; the preset operation is used to trigger to open the target second application.
  • the display unit is further configured to display an interface of the target second application in response to the preset operation, and display an icon of the first application in the recent task list.
  • the preset operation includes an operation of clicking or multi-clicking an icon of the target second application, an operation of pressing an icon of the target second application, and pressing an icon of the target second application The operation of the interface dragging of the first application.
  • an electronic device includes: a display unit, configured to respectively display a first interface and a second interface in different display areas, where the first interface is an interface of a first application, and the second The interface is the interface of the second application. And a receiving unit, configured to receive a sliding operation of the user to continuously slide the first position of the boundary line between the first interface and the second interface along the boundary line to a second position of the boundary line.
  • the display unit is further configured to display an interface of the target application in response to the sliding operation, where the target application is the first application and the second application Use one of the programs.
  • a twenty-fifth aspect a computer readable storage medium having instructions stored in a computer, when executed on a computer, causing the computer to perform the method of any of the first aspect to the eleventh aspect .
  • a computer program product comprising instructions, when executed on a computer, causing the computer to perform the method of any of the first to eleventh aspects.
  • FIG. 1 is a schematic diagram of a process of splitting a screen provided in the prior art
  • FIG. 2 is a schematic structural view of a mobile phone
  • FIG. 3 is a schematic flowchart of a multi-task operation method according to an embodiment of the present application.
  • 3a, 3b, 3c, and 3d are schematic diagrams of an interface of a multi-task operation method applied to an un-unlocked state of an electronic device according to an embodiment of the present application;
  • FIG. 4 is a schematic flowchart of a multi-task operation method provided by an embodiment of the present application when the electronic device displays a homepage interface scenario;
  • FIG. 4a and FIG. 4b are schematic diagrams showing an interface of the electronic device performing the method shown in FIG. 4 when the electronic device displays a homepage interface scenario;
  • FIG. 5 is a schematic flowchart of another multi-task operation method provided by an embodiment of the present application when the electronic device displays a homepage interface scenario;
  • FIG. 5a and FIG. 5b are schematic diagrams showing an interface of the electronic device performing the method shown in FIG. 5 when the electronic device displays the home page interface;
  • FIG. 6 is a schematic flowchart of a multi-task operation method provided by an embodiment of the present application when the application is displayed in an application interface of the electronic device;
  • FIG. 6a is a schematic diagram of an interface of the electronic device performing the method shown in FIG. 6 when the electronic device displays an application interface;
  • FIG. 7 is a schematic flowchart of still another multi-task operation method provided by an embodiment of the present application when the application is displayed in an application interface of the electronic device;
  • 7a and 7b are schematic diagrams showing an interface of the electronic device performing the method shown in FIG. 7 when the electronic device displays an application interface.
  • FIG. 8 is a schematic flowchart of another multi-task operation method provided by an embodiment of the present application when the electronic device displays a homepage interface scenario;
  • FIG. 8a is a schematic diagram of an interface of the electronic device performing the method shown in FIG. 8 when the electronic device displays a homepage interface scenario;
  • FIG. 9 is a schematic flowchart of a method for adjusting an interface position of multiple application programs according to an embodiment of the present disclosure.
  • FIG. 9a is a schematic diagram of an interface of an electronic device performing the method shown in FIG. 9;
  • 9b is a schematic diagram of an interface of an electronic device performing another method of adjusting an interface position of a plurality of applications
  • 10a and 10b are schematic diagrams of interfaces when a plurality of applications are displayed on a split screen
  • FIG. 11 is a schematic flowchart diagram of still another multi-task operation method according to an embodiment of the present application.
  • 11a is a schematic diagram of an interface of an electronic device performing the method shown in FIG. 11;
  • FIG. 12 is a schematic flowchart of a method for exiting a split screen according to an embodiment of the present disclosure
  • FIG. 12a and 12b are schematic diagrams showing an interface of an electronic device performing the method shown in FIG. 12;
  • FIG. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • 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 embodiments of the present application, “multiple” means two or more unless otherwise stated.
  • Multitasking technology means that an electronic device can run multiple applications (also referred to as applications) at the same time. Among them, each application is called a task.
  • Multi-tasking technology can be embodied as split screen technology and Picture-in-Picture (PIP) technology.
  • Split screen refers to an interface in which different display areas of an electronic device's display screen can display different applications, and there is no overlap between interfaces of different applications. For example, the interface of different applications is displayed separately, so that users can operate multiple applications at the same time.
  • the picture-in-picture technique refers to superimposing and displaying the second interface on the first interface after displaying the first interface.
  • the embodiment of the present application provides a multi-task operation method, which can be applied to an electronic device.
  • the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, an augmented reality (AR), a virtual reality (VR) device, a notebook computer, a super mobile personal computer (ultra- The mobile personal computer (UMPC), the netbook, the personal digital assistant (PDA), etc., are not limited in this embodiment.
  • the mobile phone 200 includes: a radio frequency (RF) circuit 210, a memory 220, an input unit 230, one or more sensors 240, a processor 250, and a power source. 260, display unit 270, audio circuit 280 and the like.
  • RF radio frequency
  • FIG. 2 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the RF circuit 210 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. Specifically, after receiving the downlink information of the base station, the RF 250 is processed by the processor 250. In addition, the uplink data is sent to the base station.
  • the RF circuit 210 is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, or the like.
  • RF circuitry 210 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code) Division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), e-mail, short messaging service (SMS), and the like.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • code code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • SMS short messaging service
  • the memory 220 can be used to store software programs and modules that perform various functional applications and data processing of the handset 200 by running software programs and modules stored in the memory 220.
  • the memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application (Application, APP) and the like required for at least one function, such as a sound playing function, an image playing function, and the like; and storing the data.
  • the area may store data (such as audio data, image data, phone book, etc.) created according to the use of the mobile phone 200, and the like.
  • the memory 220 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one disk storage. , flash memory devices, or other volatile solid-state memory devices.
  • the input unit 230 can be configured to receive numeric or character information input by the user, and to generate key signal inputs related to user settings and function control of the handset 200.
  • the input unit 230 may include a touch screen 231 and other input devices 232.
  • the touch screen 231 also referred to as a touch panel, can collect touch operations on or near the user (such as the user's operation on or near the touch screen 231 using any suitable object or accessory such as a finger, a stylus, etc.), and The corresponding connecting device is driven according to a preset program.
  • the touch screen 231 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 250 is provided and can receive commands from the processor 250 and execute them.
  • the touch screen 231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 230 may also include other input devices 232.
  • other input devices 232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, power switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the sensor 240 includes sensors for performing biometric recognition, such as a fingerprint recognition sensor, a face recognition sensor, and an iris recognition sensor. Taking the fingerprint recognition sensor as an example, the fingerprint recognition sensor can collect the fingerprint information of the user and report the collected fingerprint information to the processor 250. The processor 250 identifies the user according to the fingerprint information.
  • biometric recognition such as a fingerprint recognition sensor, a face recognition sensor, and an iris recognition sensor.
  • the fingerprint recognition sensor can collect the fingerprint information of the user and report the collected fingerprint information to the processor 250.
  • the processor 250 identifies the user according to the fingerprint information.
  • the sensor 240 further includes a gravity sensor, which can detect the magnitude of the acceleration of the mobile phone in various directions (generally three axes), and can detect the magnitude and direction of the gravity when stationary, and can be used for identifying the posture of the mobile phone (such as horizontal and vertical screens). Switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • a gravity sensor which can detect the magnitude of the acceleration of the mobile phone in various directions (generally three axes), and can detect the magnitude and direction of the gravity when stationary, and can be used for identifying the posture of the mobile phone (such as horizontal and vertical screens). Switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • the handset 200 can also include other sensors, such as light sensors.
  • the light sensor can include an ambient light sensor and a proximity light sensor.
  • the ambient light sensor can adjust the brightness of the display panel 231 according to the brightness of the ambient light; the proximity light sensor can detect whether an object approaches or contacts the mobile phone, and can close the display panel 231 and/or the backlight when the mobile phone 200 moves to the ear.
  • the mobile phone 200 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and will not be described herein.
  • the display unit 270 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 200.
  • the display unit 270 can include a display panel 271.
  • the display panel 271 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch screen 231 can cover the display panel 271, and when the touch screen 231 detects a touch operation on or near it, it is transmitted to the processor 250 to determine the type of the touch event, and then the processor 250 displays the panel according to the type of the touch event. A corresponding visual output is provided on the 271.
  • the touch screen 231 and the display panel 271 function as two separate components to implement the input and input functions of the mobile phone 200, in some embodiments, the touch screen 231 can be integrated with the display panel 271 to implement the mobile phone 200. Input and output functions.
  • Audio circuitry 280, speaker 291, microphone 292 can provide an audio interface between the user and handset 200.
  • the audio circuit 280 can transmit the converted electrical data of the received audio data to the speaker 291 for conversion to the sound signal output by the speaker 291; on the other hand, the microphone 292 converts the collected sound signal into an electrical signal by the audio circuit 280. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 210 for transmission to, for example, another mobile phone, or the audio data is output to the memory 220 for further processing.
  • the processor 250 is the control center of the handset 200, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 220, and recalling data stored in the memory 220, The various functions and processing data of the mobile phone 200 are executed to perform overall monitoring of the mobile phone.
  • processor 250 One or more processing units may be included; optionally, the processor 250 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., a modem processor Mainly handles wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 250.
  • the mobile phone 200 also includes a power source 260 (such as a battery) for supplying power to various components.
  • a power source 260 such as a battery
  • the power source can be logically connected to the processor 250 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the handset 200 may also include an antenna, a Wireless-Fidelity (WiFi) module, a Near Field Communication (NFC) module, a Bluetooth module, a speaker, an accelerometer, a gyroscope, and the like.
  • WiFi Wireless-Fidelity
  • NFC Near Field Communication
  • Bluetooth Bluetooth
  • a speaker an accelerometer, a gyroscope, and the like.
  • the multitasking operation method provided by the embodiment of the present application can be applied to any electronic device including the mobile phone shown in FIG. 2.
  • an embodiment of the present application provides a multi-task operation method, including the following steps:
  • the electronic device receives a shortcut operation input by the user.
  • the shortcut operation includes a shortcut operation such as inputting a fingerprint, a preset gesture, and the like when the electronic device is in an unlocked state.
  • the shortcut operation further includes a shortcut operation of the application icon displayed on the unlocked homepage interface after the electronic device is unlocked by the user.
  • the shortcut operation also includes a shortcut operation performed by the user within the opened application after opening an application.
  • the electronic device In response to the shortcut operation, the electronic device performs a multitasking operation corresponding to the shortcut operation.
  • the multitasking operation includes a split screen operation and a PIP operation.
  • the split screen operation includes an upper and lower split screen, a left and right split screen, a split screen in the form of a diagonal line, and the like.
  • the multi-task operation method provided by the embodiment of the present application performs a corresponding multi-task operation after the electronic device detects a certain shortcut operation input by the user.
  • the multi-task operation method provided by the embodiment of the present application can be specifically implemented as:
  • the electronic device pre-acquires operating habits when the user performs multi-tasking operation, and obtains multi-task operations commonly used by one or more users. Moreover, in combination with the multitasking operation commonly used by the user, the electronic device pre-establishes one or more correspondences between the shortcut operation and the multitasking operation commonly used by the user. Thus, when the electronic device detects a certain shortcut operation input by the user, the electronic device performs a multitasking operation corresponding to the shortcut operation.
  • the split screen operation habits collected by the electronic device include: which applications are frequently displayed by the user, the display position of each application of the split screen display in the display screen, and the The split screen displays the number of history of operations, and so on.
  • the split screen operation habit includes that the user often displays the application A and the application B separately; the user often displays the application C and the application D separately; or the user often displays the application A and other applications in separate screens.
  • the split screen operation habits include that the user often displays the application A and the application B separately, and the display position of the application A in the display screen is close to the upper edge of the display screen and the ratio of the display screen is 0.6, and the application B The display position in the display is close to the lower edge of the display and the ratio of the display is 0.4.
  • the split screen operation habit further includes that the user often displays the application A and the application B in a split screen and the average display duration of the split screen operation is one hour.
  • the PIP operation habit of the user collected by the electronic device includes: which application of the screen is frequently displayed by the user. For example: the user is accustomed to the video application A with a length of x1 and a width of y1. The size is displayed in the middle of the screen. The user is accustomed to display the chat application B in the upper position of the screen with a size of x2 and a width of y2.
  • the first shortcut operation and the second shortcut operation include biometric features such as fingerprints input by the user on the electronic device lock screen interface, gestures, pressing a shortcut key, and the like.
  • the first shortcut operation and the second shortcut operation are different.
  • the user inputs the first fingerprint 304a on the lock screen interface 303 of the mobile phone.
  • the mobile phone detects the first fingerprint 304a
  • the mobile phone unlocks and displays the video interface 3051a and the WeChat interface 3052a.
  • the video interface 3051a and the WeChat interface 3052a account for 50% of the entire display screen, respectively.
  • the user inputs a second fingerprint 304b on the lock screen interface 303 of the mobile phone.
  • the mobile phone After the mobile phone detects the second fingerprint 304b, the mobile phone unlocks and displays the microblog interface 3051b and the WeChat interface 3052b.
  • the microblog interface 3051b is located in an upper area near the upper edge of the display screen
  • the WeChat interface 3052b is located in a lower area near the lower edge of the display screen
  • the display ratios of the microblog interface 3051b and the WeChat interface 3052b on the display of the electronic device are respectively 60%. And 40%.
  • the mobile phone when the user inputs a fingerprint on the lock screen interface of the mobile phone, the mobile phone unlocks and displays the interface of the first application and icons of other applications.
  • the first application is an application that is frequently displayed by the user according to the user's historical split screen habit.
  • the other application is any application other than the first application that supports the split screen function.
  • the other application may also be one or more applications associated with the first application.
  • the other application associated with the first application is one or more applications that are frequently displayed by the user according to the user's operating habits.
  • the other application is another application that the user may use during the process of using the first application.
  • the interface of the WeChat application and the icons of the application such as the album, music, and the like are displayed on a screen.
  • the user inputs a third fingerprint 304c on the lock screen interface 303 of the mobile phone.
  • a third fingerprint 304c After the mobile phone detects the third fingerprint 304c, an interface 3051c of the application of the video and a second interface 3052c are displayed, and the interface 3052c displays an icon of an application such as WeChat, QQ, and short message.
  • the user inputs a fourth fingerprint 304d at the lock screen interface 303.
  • the mobile phone After detecting the fourth fingerprint 304d, the mobile phone unlocks and displays the unlocked interface 3051d.
  • the interface 3052d of the WeChat application is superimposed on the unlocked interface 3051d, that is, the interface 3052d of the WeChat application is displayed in a picture-in-picture manner on the unlocked interface 3051d.
  • the fingerprint identification area is located in the display screen as an example. In practical applications, the fingerprint recognition area may also be located outside the display screen, such as the back of the mobile phone or the Home button.
  • the display screen of the mobile phone contains multiple fingerprint recognition areas. Therefore, in other implementation manners, the method provided by the embodiment of the present application may be implemented as: when the mobile phone detects the fingerprint input by the user in the first fingerprint identification area, after the fingerprint verification succeeds, the electronic device performs the first multi-tasking operation. When the mobile phone detects the fingerprint input by the user in the second fingerprint identification area, after the fingerprint verification is successful, the electronic device performs the second multi-task operation.
  • the above shortcut operation may also be a quick gesture operation in other implementation manners.
  • the mobile phone detects the first gesture input by the user on the lock screen interface
  • the mobile phone unlocks and performs the first split screen operation.
  • the mobile phone detects the second gesture input by the user on the lock screen interface
  • the mobile phone unlocks and performs the second split screen operation.
  • the mobile phone detects the third gesture input by the user on the lock screen interface
  • the mobile phone unlocks and performs the first PIP operation.
  • the phone detects that the user is in the lock screen
  • the fourth gesture is input, the mobile phone unlocks and performs a second PIP operation.
  • the multi-task operation method provided by the embodiment of the present application may also be applied in a scenario where the electronic device has been unlocked and the home page interface is displayed.
  • the homepage interface referred to in the embodiment of the present application refers to an interface for displaying icons of all applications installed on the mobile phone.
  • the multi-task operation method provided by the embodiment of the present application may be specifically implemented as:
  • the electronic device displays an icon of the first number of applications.
  • the electronic device receives a preset operation triggered by an icon of a second number of applications in an icon of the first number of applications.
  • the electronic device displays an interface of the second number of applications according to the preset operation in response to the preset operation.
  • the second quantity is greater than or equal to two and less than or equal to the first quantity.
  • the second quantity is two.
  • the second number may be two or more, such as three or the like.
  • the preset operation includes an operation of clicking an icon of the second number of applications.
  • the click operation may be an operation of sequentially clicking the icons of the second number of applications in a preset time interval.
  • the preset time interval is short, for example, may be several seconds.
  • the user may be considered to click the icon of the second number of applications "simultaneously".
  • the electronic device displays an icon of the application A, B, C, and D.
  • the preset operation is specifically that the user clicks the icons of the application A and the application B simultaneously with different fingers.
  • the electronic device displays an icon of the application A, B, C, and D.
  • the preset operation is specifically that the user sequentially clicks the icons of the application A and the application B in the time interval of 20s by using the same finger.
  • the homepage interface 404 of the mobile phone displays icons of applications such as “QQ”, “WeChat”, “Video, “Music”, etc. As shown in 4041a, when the user uses different fingers, click “WeChat” at the same time. When the icons of the two applications “Video” and “Video” are displayed, the mobile phone displays the interface 4051 of the "Video” application and the interface 4052 of the "WeChat” application.
  • the preset operation further includes an operation of multi-clicking the icon of the second number of applications.
  • the multi-click refers to multiple consecutive clicks, including double-click, three-click, four-stroke, and the like.
  • the multi-click operation may be an operation of sequentially clicking the icons of the second number of applications in a preset time interval.
  • the preset time interval is short, for example, may be several seconds.
  • the user may be considered to "multiplely" click on the icon of the second number of applications.
  • the electronic device displays an icon of the application A, B, C, and D.
  • the preset operation is specifically that the user double-clicks the icons of the application A and the application B by using different fingers.
  • the preset operation further includes an operation of pressing an icon of the second number of applications.
  • the pressing operation may be an operation of sequentially pressing the icons of the second number of applications within a preset time interval.
  • the preset time interval is short, for example, may be several seconds.
  • the user may be considered to press the icon of the second number of applications "simultaneously".
  • the electronic device displays an icon of the application A, B, C, and D, and the preset operation is specifically that the user presses the icons of the application A and the application B simultaneously with different fingers.
  • the preset operation also includes a sliding operation.
  • the sliding operation is specifically a first sliding operation in which the user continues to slide in the first direction after pressing the icon of the second number of applications.
  • the first sliding operation may be a sliding operation in which the user sequentially slides in the first direction within a preset time interval after pressing the icon of the second number of applications.
  • the preset time interval is short, for example, may be several seconds.
  • the time interval in which the user sequentially presses the icon of the second number of applications and then slides in the first direction is extremely short, the user may be considered to press the icon of the second number of applications.
  • Slide in the first direction For example, the electronic device displays the icons of the applications A, B, C, and D. The user presses the icons of the application A and the application B with different fingers, and then slides in the same direction with the icons of the applications A and B as the starting point. .
  • the icon of the application such as “QQ”, “WeChat”, “Video, “Music” is displayed on the homepage interface 404 of the mobile phone.
  • the mobile phone displays the interface 4051 of the "video” application and the interface 4052 of the "WeChat” application.
  • the sliding operation is specifically that the user continuously slides in the second direction to the second icon of the second number of applications in the preset time interval after pressing the arbitrary point outside the icon of the second number of applications.
  • Slide operation The preset time interval is short, for example, may be several seconds.
  • the user may be considered as Any point outside the icon of the second number of applications is the starting point while sliding in the second direction to the icons of the application A and the application B.
  • the electronic device displays an icon of the application A, B, C, and D, and the user simultaneously slides to the icons of the application A and the application B in a specific direction.
  • an icon of an application is displayed on the electronic device, and when detecting that the user triggers the same operation on the icons of two or more of the applications, the electronic device displays the two or more applications in a split screen.
  • the user needs to open the first application, then slide from the edge of the interface of the first application to enable the split screen function, and then select the second application that is displayed by the first application split screen, and implement the application.
  • the user can directly perform shortcut operations on icons of two or more applications on the homepage to display the two or more applications in a split screen. Therefore, it is possible to provide a faster and more convenient split screen display method.
  • the embodiment of the present application provides another multi-task operation method, including the following steps:
  • the electronic device displays an icon of the first number of applications.
  • the electronic device receives a first operation of a user for an icon of a first application.
  • the first operation includes an operation in which the user refers to the icon of the first application, and the operation of the user double-clicking on the icon of the first application.
  • the first operation further includes an operation of the user simply pointing to the icon of the first application.
  • the first operation further includes a first sliding operation of the user sliding the icon of the first application in a specific direction using a multi-finger, the first operation further comprising the user pressing the icon of the first application and
  • the icon of the first application is a second sliding operation in which the starting point slides in a specific direction.
  • the electronic device displays the first interface and the second interface in a split screen.
  • the first interface is an interface of the first application, and the second interface is used to display an icon of a second number of applications.
  • the second quantity is less than the first quantity.
  • the second number of applications is an application other than the first application among the first number of applications.
  • the other application associated with the first application is one or more applications that are frequently displayed by the user according to the user's operating habits.
  • the other application is another application that the user may use during the process of using the first application.
  • the first application is an WeChat application
  • the interface of the WeChat application and the icons of the application such as the album, music, and the like are displayed on a screen.
  • the icon of the second number of applications is another application currently running in the background on the electronic device.
  • the first application when the electronic device detects the first operation of the icon of the first application by the user
  • the interface of the program and the icons of other applications are displayed in a split screen, and the user can select an application for displaying with the first application in a split screen from the icons of other applications displayed.
  • the user needs to open the first application first, and then display the icons of other applications by long-pressing the multi-tasking function key or by sliding the interface of the first application, etc.
  • the user does not need to open the interface of the first application, and may directly trigger a shortcut operation such as the first operation on the icon of the first application, and may display other applications in an interface with the interface of the first application.
  • the icon of the program from which the user selects other applications for display with the first application.
  • the method further includes the following steps:
  • the electronic device receives a second operation of the user in the second interface on the target second application.
  • the second operation is used to trigger the electronic device to open the target second application.
  • the electronic device displays the interface of the first application and the interface of the target second application in a split screen.
  • the electronic device After the electronic device displays the first interface and the second interface in a split screen, the electronic device receives an operation of the user selecting a second application in the second interface and opening the second application, thereby responding to the user's In this operation, the electronic device displays the first application and the second application in a split screen.
  • the homepage interface 506 of the mobile phone displays icons of applications such as “QQ”, “WeChat”, “Video, “Music”, etc.
  • icons of applications such as “QQ”, “WeChat”, “Video, “Music”, etc.
  • the mobile phone screen displays the interface 5071 and the second interface 5072 of the video application
  • the second interface 5072 displays icons of other applications such as “WeChat”, “Music”, “QQ”.
  • the homepage interface 506 of the mobile phone displays an icon of an application such as "QQ”, "WeChat”, “Video, “Music”, etc.
  • an application such as "QQ”, "WeChat”, “Video, “Music”, etc.
  • the mobile phone screen displays an interface 5071 and a second interface 5072 of the video application, and the second interface 5072 displays icons of other applications such as "WeChat”, “Music”, “QQ”.
  • the embodiment of the present application provides another multi-task operation method, including the following steps:
  • the electronic device displays a first interface, where the first interface is an interface of the first application.
  • the electronic device receives a preset operation performed by the user on the first interface.
  • the electronic device displays the first interface and the second interface in a split screen according to the preset operation.
  • the second interface is configured to display an icon of the at least one second application.
  • the preset operation includes a sliding operation triggered from a top edge of the screen triggered when the contact area of the display screen of the electronic device with the display screen of the electronic device is greater than a certain threshold, or a sliding operation of pushing up from the lower edge of the screen. For example: push up from the bottom edge of the display through the palm of the hand or most of the palm or pull down from the top edge of the display.
  • the second interface displays an icon of one or more other applications when the contact area of the thumb is greater than a certain threshold or the length of the contact area is greater than a certain threshold.
  • the second interface displays an interface of some other application.
  • the handset displays an interface 604 for the application "Video.”
  • the mobile phone detects that the user's palm touches the mobile phone and pushes up from the lower edge of the mobile phone screen
  • the mobile phone split screen displays the interface 6051 and the second interface 6052 of the video application
  • the second interface 6052 displays "WeChat”.
  • “Music”, "QQ” and other applications icons Further, the user may select, from the icon of the application displayed by the second interface 6052, a screen for displaying the application with the video. use.
  • the embodiment of the present application provides another multi-task operation method, including the following steps:
  • the electronic device displays a first interface, where the first interface is an interface of the first application.
  • the electronic device receives a voice instruction input by a user.
  • the electronic device displays the first interface and the second interface in a split screen according to the voice instruction.
  • the voice instruction is a voice instruction including a word such as "split screen”.
  • the electronic device when the voice instruction is used to indicate a second application for being displayed on the screen with the first application, the electronic device will interface with the first application in response to the voice instruction.
  • the interface with the second application is displayed in a split screen.
  • the voice command is a voice command of “split screen opening second application” or “divided with second application screen” input by the user, and in response to the voice instruction, the electronic device interfaces the first application and the voice The interface of the second application indicated by the instruction is displayed in a split screen, that is, the second interface of the electronic device is an interface of the second application.
  • the electronic device displays the interface of the first application and the second interface in a split screen according to the voice instruction, where the The second interface displays an icon of at least one second application.
  • the electronic device receives a second operation of the user's icon for the target second application, and the second operation is used to trigger the opening of the Target second application.
  • the electronic device displays the interface of the first application and the interface of the target second application in a split screen. That is, the electronic device receives an operation of the user selecting and opening the target second application, and in response to the operation, the electronic device displays the first application and the target second application in a split screen.
  • the voice command is a voice command of “single screen with desktop” or “split screen”, and in response to the voice command, the electronic device turns on the split screen function and displays the second interface and the first interface in a split screen.
  • the second interface is an interface that displays icons of other applications. Further, the user may select an icon of a second application in the second interface, and the electronic device displays the first application and the second application in a split screen.
  • the voice collection function of the electronic device is always in an open state.
  • an icon for the user to enable or disable the voice collection function of the electronic device is displayed in the interface of the first application, and the user can operate the icon to enable Or turn off the voice collection function of the electronic device.
  • the handset displays an interface 704 for the application "Video.”
  • An entry identifier 7041 prompting the user to input a voice is displayed on the interface 704.
  • the mobile phone can collect the voice command input by the user.
  • the mobile phone screen displays the interface 7061 of the video application and the interface 7062a of the WeChat application.
  • the mobile phone screen displays an interface 7061 and a second interface 7062b of the video application, and the second interface 7062b displays WeChat, music, and QQ. Icons such as apps.
  • the embodiment of the present application provides another multi-task operation method, including the following steps:
  • the electronic device displays a first interface, where the first interface displays an icon of at least one application.
  • the electronic device receives a preset operation of the user's icon for the first application.
  • the electronic device superimposes an interface of the first application on the first interface in response to the preset operation.
  • the preset operation is used to trigger the electronic device to display the interface of the first application in a PIP manner.
  • the preset operation includes an operation of continuously sliding in a first direction after pressing an icon of the first application.
  • the preset operation further includes an operation of double-clicking an icon of the first application, and the like.
  • the preset operation described in step 802 includes an operation of pressing the icon of the first application and continuing to slide to the first position of the first interface in the first direction.
  • Step 803 is specifically implemented by the electronic device superimposing an interface of the first application at a first position of the first interface.
  • an icon of a plurality of applications is displayed on the homepage of the electronic device, and when detecting that the user selects an icon of the first application and drags the icon of the first application to a position to release the operation, the electronic The device displays the interface of the first application in a PIP manner.
  • the homepage interface 804 of the mobile phone displays an icon of an application such as "QQ”, “WeChat”, “Video, “Music”, etc.
  • an icon of an application such as "QQ”, "WeChat”, “Video, “Music”, etc.
  • the mobile phone superimposes the interface 805 of the video application on the homepage interface 804.
  • the interface of the video application is displayed on the desktop in a PIP manner.
  • the electronic device stores a history display record when the interface of the first application is superimposed on the first interface, where the history display record includes a display size and a display position of the interface of the first application. . Therefore, an interface for displaying the first application on the first interface may be recorded in accordance with the history display.
  • the interface size and position are adjustable. Specifically, the user can drag the interface of the first application to adjust the position of the interface of the first application. Alternatively, the user can drag at the edge of the interface of the first application to expand or shrink the interface of the first application.
  • the foregoing method provided by the embodiment of the present application can implement a quick split screen of an electronic device or quickly display an application interface in a PIP manner.
  • the embodiment of the present application further provides an optional implementation manner of adjusting the positions of the multiple interfaces displayed by the split screen.
  • an embodiment of the present application provides a method for adjusting locations of multiple interfaces displayed by a split screen, including the following steps:
  • the electronic device displays an interface of the first application and an interface of the second application.
  • the electronic device receives a first sliding operation in which a user slides from an interface of the first application to an interface of the second application, and a second sliding from an interface of the second application to an interface of the first application. operating.
  • the electronic device switches the display position of the interface of the first application and the interface of the second application in response to the first sliding operation and the second sliding operation.
  • the display interface for switching the first application and the second application can be realized.
  • the display interface of application A is located near the upper edge of the screen, and the display interface of application B is located near the lower edge of the screen, and the display ratio of application A is 30%, and the display ratio of application B is 70%.
  • the display interface of the application B is located near the upper edge of the screen, and the display ratio is still 70%.
  • Application A's display interface is located near the bottom edge of the screen, and its display ratio is still 30%.
  • the display screen includes a first divided display area The domain and the second display area, before switching, the first display area is used to display the application A, and the second display area is used to display the application B. After switching, the first display area is used to display the application B, and the second display area is used to display the application A.
  • the interface 904 of the application “video” is displayed in an area near the upper edge of the display; “WeChat”
  • the interface 905 of this application is displayed in an area near the lower edge of the display.
  • the user simultaneously slides from the interface 904 of the video application to the interface 905 of the WeChat application and slides the interface 905 of the WeChat application to the interface 904 of the video application with two different fingers "swapping" the video and WeChat.
  • the display position of these two applications That is, the interface 905 of the "WeChat” application is displayed in an area near the upper edge of the display; the interface 904 of the "Video” application is displayed in an area near the lower edge of the display.
  • the interface 904 of the application “video” is displayed in an area near the upper edge of the display;
  • the interface 905 of this application is displayed in an area near the lower edge of the display.
  • a split line 907 exists between the interface 904 of the "video” application and the interface 905 of the "WeChat” application.
  • the display positions of the two applications of "video” and WeChat are "swapped". That is, the interface 905 of the "WeChat” application is displayed in an area near the upper edge of the display; the interface 904 of the "Video” application is displayed in an area near the lower edge of the display.
  • the embodiment of the present application further provides several specific implementation manners for displaying the interfaces of multiple application programs by screen:
  • the interfaces of multiple applications are displayed in equal proportions by default.
  • the display ratios of the application A and the application B on the display of the electronic device are both 50%, that is, the interfaces of the application A and the application B each occupy half of the display.
  • the display ratios of the application A, the application B, and the application C are all one-third.
  • the display ratios of the interfaces of different applications are different according to the attributes of the application.
  • the display ratio of the multimedia application on the display of the electronic device is greater than the display ratio of the message application.
  • the display ratio of the interface 1001 of the video application on the display of the electronic device is 70. %, the display ratio of the interface 1002 of the WeChat application is 30%.
  • the multiple applications are displayed in separate screens according to the default settings.
  • the electronic device displays the two applications symmetrically, that is, the application ratios of the applications A and B are 50%.
  • application A is located in an area near the upper edge of the display of the electronic device
  • application B is located in an area near the lower edge of the display of the electronic device.
  • the electronic device collects the user's split screen habit and saves it. Thereafter, when the electronic device displays the application A and the application B next time, the electronic device displays the application A and the application B according to the saved screen sharing habits of the user.
  • the electronic device collects the operation habits of the user when performing the split screen operation, obtains the historical split screen parameters of the user, and saves.
  • the historical split screen parameter includes a split screen position, a display ratio, and the like of the application.
  • the electronic device when the application A and the application B are displayed on the split screen, when the electronic device locally stores the historical split screen parameters when the application A and the application B are displayed on the split screen, such as the display positions of the application A and the application B in the split screen, and the respectively The display ratio, etc., displays the application A and the application B according to the historical split screen parameter.
  • the application A and the application B are displayed on the split screen
  • the electronic device only saves the historical split screen parameters of one of the applications, such as only saving the application A and the icons of the multiple applications, or other applications (not Including the application B) the historical split screen parameter when the split screen is displayed
  • the application A and the application B are displayed according to the historical split screen parameter of the application A.
  • the historical split screen parameters when the electronic device saves the split screen of the application A and other applications (excluding the application B) and the presence of the application B and other applications (excluding the application A)
  • the electronic device follows the history of the historical split screen parameters as the latest or most frequently used application history.
  • the split screen parameter will display application A and application B separately.
  • the historical split screen record in which the application A and other applications are displayed in the historical split screen record has 5 occurrences, and the historical split screen parameters displayed by the application B and other applications are displayed 10 times. Then, the application B and the application A are displayed in a split screen according to the history of the application B.
  • the application A and the application B are displayed on the split screen
  • the electronic device neither saves the historical split screen parameter of the application A nor saves the historical split screen parameter of the application B
  • the application A and the application are displayed by the default setting. B.
  • the display habit is "video"
  • the application is located near the screen.
  • the position of the upper edge has a display ratio of 0.8.
  • the WeChat app is located near the bottom edge of the screen with a display ratio of 0.2.
  • the embodiment of the present application further provides a method for quickly switching the interface of the application to be displayed.
  • the method includes the following steps:
  • the electronic device displays an interface of the first application and a list of recent tasks.
  • the short-term task list includes an icon of at least one second application.
  • the triggering operation of the triggering electronic device to display the first application program and the recent task list may be the operation of triggering the electronic device to be displayed on the screen according to the foregoing method of the embodiment of the present application.
  • the user inputs a specific voice command; for example, when the contact area of the user's display screen with the electronic device is greater than a certain threshold, the sliding operation that starts from the upper edge of the screen, or the sliding from the lower edge of the screen Operation, etc.
  • the triggering operation may also be performed by the user pressing the multi-tasking function key after the application is opened, and the specific implementation may refer to the prior art, and details are not described herein again.
  • the electronic device receives a preset operation of the user for an icon of the target second application in the recent task list.
  • the preset operation is used to trigger the opening of the target second application.
  • the preset operation includes an operation of clicking or multi-clicking an icon of the target second application, an operation of pressing an icon of the target second application, and an electronic device receiving a user pressing the recent task An icon of the target second application in the list is continuously slid to the interface of the first application.
  • the electronic device displays an interface of the target second application, and adds the first application to the recent task list.
  • the first application and the recent task list are displayed in a split screen by pressing a multi-tasking function key or the like. Further, when the user presses the icon of a certain second application in the recent task list and continues to slide to the interface of the first application, "swapping" the display positions of the first application and the second application, so that the electronic device displays The interface of the second application, and displays the icon of the first application in the recent task list.
  • the electronic device displays an interface 1104 of an application of "video".
  • the electronic device detects an operation such as pressing a multitasking button by the user, the electronic device displays the interface 1104 of the video application and the recent task list 1106.
  • Split screen display The recent task list 1106 includes icons of applications such as "WeChat” and “Settings” that the user has recently opened.
  • the electronic device displays the interface 1108 of the WeChat application and the recent task list 1106, the recent task list.
  • An icon 1109 of the application "Video” is displayed in 1106.
  • the embodiment of the present application further provides an implementation method for exiting the split screen. As shown in FIG. 12, the method includes the following steps:
  • the electronic device displays the first interface and the second interface in a split screen.
  • the first interface is an interface of the first application
  • the second interface is an interface of the second application.
  • the electronic device receives a sliding operation in which the user continuously slides along the boundary line from the first position of the boundary line between the first interface and the second interface to a second position of the boundary line.
  • step 1202 can be regarded as an operation of the user to simulate erasing the dividing line.
  • the electronic device displays an interface of the target application.
  • the target application is one of the first application and the second application.
  • the electronic device automatically exits the split screen and displays only the application where the current focus of the user is located, that is, the application where the current focus is located is Target application.
  • the “application where the user's current focus is located” refers to an application operated by the user before the user performs an operation of “erasing” the dividing line. For example, before the user performs the operation of "erasing” the dividing line, the user is chatting on WeChat, and WeChat is the application where the user's current focus is. If the user does not perform any operation on any application before the user performs the operation of "erasing” the dividing line, the application where the user's current focus is located is an application with a large display ratio.
  • the mobile phone screen displays the interface 1204 of the "video” application and the interface 1205 of the "WeChat” application.
  • a split line 1206 exists between the interface 1204 of the "video” application and the interface 1205 of the "WeChat” application.
  • the mobile phone split screen displays an interface 1204 of the "video” application and an interface 1205 of the "WeChat” application.
  • a split line 1206 exists between the interface 1204 of the "video” application and the interface 1205 of the "WeChat” application.
  • the mobile phone minimizes the interface 1204 displaying the video application and maximizes the interface 1205 for displaying the WeChat application.
  • the user can double-click the interface 1204 of the video application to re-display the video application and the WeChat application.
  • the mobile phone when the user presses the dividing line 1206 and quickly accelerates to the interface 1204 of the application of “video”, the mobile phone exits the split screen and only displays the application of WeChat. Interface 1205.
  • the mobile phone when the user presses the dividing line 1206 and quickly accelerates the operation to the interface 1205 of the "WeChat” application, the mobile phone exits the split screen, and only the interface 1204 of the "video” application is displayed.
  • the electronic device includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
  • the present application 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 present application.
  • the embodiment of the present application may divide the functional modules of the electronic device according to the foregoing method example.
  • each functional 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 application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 13 is a schematic diagram showing a possible structure of an electronic device involved in the foregoing embodiment.
  • the electronic device includes a display unit 1301 and a receiving unit 1302.
  • the display unit 1301 is configured to support the electronic device to perform the process 401, the process 403 in FIG. 4, the processes 501, 503, 505 in FIG. 5; the processes 601, 603 in FIG. 6, and the process 701 in FIG. 703; processes 801, 803 in FIG. 8; processes 901, 903 in FIG. 9, processes 1101, 1103 in FIG. 11, and processes 1201, 1203 in FIG.
  • the receiving unit 1302 is configured to support the electronic device to perform the process 402 in FIG. 4, the processes 502, 504 in FIG. 5, the process 602 in FIG. 6, the process 702 in FIG. 7, the process 802 in FIG. 8, and the process in FIG. Process 902, process 1102 in Figure 11; process 1202 in Figure 12.
  • the electronic device may further include a storage unit, where the storage unit is configured to store a historical split screen record when the first application and the second application are displayed in a split screen, the historical split screen record including the The relative position of the first application and the second application and the display ratio in the display unit of the electronic device. .
  • FIG. 13a shows a possible structural diagram of the electronic device involved in the above embodiment.
  • the electronic device 1400 includes a processing module 1402 and a communication module 1403.
  • the processing module 1402 is configured to perform control management on the actions of the electronic device.
  • the processing module 1402 is configured to support the electronic device to perform the processes in FIG. 5, FIG. 6, FIG. 7, FIG. 8, FIG. 9, FIG. 11, and FIG. And/or other processes for the techniques described herein.
  • the communication module 1403 is configured to support communication of the electronic device with other network entities, such as with a base station or other electronic device.
  • the electronic device 1400 can also include a storage module 1401 for storing program codes and data of the electronic device.
  • the processing module 1402 may be a processor or a controller, such as 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 is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • 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 1403 may be a transceiver, a transceiver circuit, a communication interface, or the like.
  • the storage module 1401 may be a memory.
  • the electronic device When the processing module 1402 is a processor, the communication module 1403 is a communication interface, and the storage module 1401 is a memory, the electronic device according to the embodiment of the present application may be the electronic device shown in FIG. 13b.
  • the electronic device 1500 includes a memory 1501, one or more processors 1502, an input device 1503, a display screen 1504, a communication interface 1505, and a bus 1506.
  • the memory 1501, the one or more processors 1502, the input device 1503, the display screen 1504, and the communication interface 1505 are connected to each other through a bus 1506.
  • the bus 1506 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 13b, but it does not mean that there is only one bus or one type of bus.
  • the display screen 1504 is configured to display an icon of a first number of applications.
  • the input device 1503 is configured to receive a preset operation triggered by an icon of a second number of applications in an icon of the first number of applications.
  • the one or more processors 1502 are configured to display an interface of the second number of applications through the display screen 1504 in response to the preset operation.
  • the display screen 1504 is configured to display an icon of the first number of applications.
  • the input device 1503 is configured to receive a first operation of a user's icon for the first application.
  • the one or more processors 1502 are configured to display the first interface and the second interface by the display screen 1504 in response to the first operation.
  • the first operation includes any one of the following operations: multi-finger clicking an operation of an icon of the first application, double-clicking an icon of the first application, pressing an icon of the first application a first sliding operation that continues to slide in the first direction after pressing the icon of the first application, pressing any point outside the icon of the first application, and then continuously sliding to the first application in the second direction
  • the second sliding operation of the icon is an interface of the first application; the second interface is configured to display an icon of a second number of applications; the second quantity is less than the first quantity.
  • the display screen 1504 is configured to display a first interface, where the first interface is an interface of the first application.
  • the input device 1503 is configured to receive a preset operation performed by the user on the first interface.
  • the one or more processors 1502 are configured to display the first interface and the second interface by using the display screen 1504 in response to the preset operation, where the second interface is configured to display at least one Two app icons.
  • the preset operation includes a sliding operation triggered when a contact area of the user with the first interface is greater than a first threshold.
  • the display screen 1504 is configured to display a first interface, where the first interface is an interface of the first application.
  • the input device 1503 is configured to receive a voice instruction input by a user.
  • the one or more processors 1502 are configured to display the first interface and the second interface separately by the display screen 1504 in response to the voice instruction.
  • the display screen 1504 is configured to display a first interface, where the first interface displays an icon of at least one application.
  • the input device 1503 is configured to receive a preset operation of a user for an icon of the first application in the at least one application.
  • the one or more processors 1502 are configured to superimpose an interface of the first application on the first interface through the display screen 1504 in response to the preset operation.
  • the preset operation includes an operation of continuously sliding in a first direction after pressing an icon of the first application.
  • the display screen 1504 is configured to display an interface of the first application and a list of recent tasks, where the recent task list includes an icon of the at least one second application.
  • the input device 1503 is configured to receive a preset operation of the icon of the target second application in the recent task list; the preset operation is used to trigger the opening The target second application.
  • the one or more processors 1502, configured to display an interface of the target second application through the display screen 1504 in response to the preset operation, and add the first application to the recent In the task list.
  • the display screen 1504 is configured to display the first interface and the second interface in a split screen, the first interface is an interface of the first application, and the second interface is a second application. Interface.
  • the input device 1503 is configured to receive a sliding operation of the user to continuously slide the first position of the boundary line between the first interface and the second interface along the boundary line to a second position of the boundary line.
  • the one or more processors 1502 are configured to display, by the display screen 1504, an interface of a target application, where the target application is the first application and the second application, in response to the sliding operation One of the programs.
  • the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware or may be implemented by a processor executing software instructions.
  • the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

一种多任务操作方法及电子设备,涉及电子设备技术领域。为了解决现有技术中存在的多任务操作较复杂的问题而发明。所述方法包括:电子设备显示第一数量的应用程序的图标(401)。电子设备接收用户对所述第一数量的应用程序的图标中第二数量的应用程序的图标触发的预设操作(402)。电子设备响应于所述预设操作,所述电子设备分屏显示所述第二数量的应用程序的界面(403)。其中,所述第二数量大于等于两个且小于等于所述第一数量。所述方法应用在用户操作电子设备的过程中。

Description

一种多任务操作方法及电子设备 技术领域
本申请涉及电子设备技术领域,尤其涉及一种多任务操作方法及电子设备。
背景技术
目前,手机、个人数字助理(personal digital assistant,PDA)等电子设备的显示屏越来越大。为了充分利用大屏的显示特性,越来越多的电子设备支持分屏功能。
现有技术中,以手机为例,开启分屏功能的方法包括:参考图1,手机的主页界面101上显示有多个应用程序的图标。如操作1011所示,用户通过单击等操作打开第一应用程序并显示第一应用程序的界面102。然后,如过程1021所示,用户从第一应用程序的界面102的边缘滑动以调出菜单103,其中,该滑动包括单指滑动,还包括双指或三指等多指滑动。菜单103显示有其他支持分屏功能的一个或多个第二应用程序的图标。用户可在该菜单103中选择用于和当前显示的第一应用程序分屏的第二应用程序。当用户选择某个第二应用程序的图标时,手机加载界面104。该界面104包括第一显示区域1041和第二显示区域1042,其中第一显示区域1041显示有第一应用程序的界面,第二显示区域1042显示有第二应用程序的界面。图1中以第一应用程序为视频应用,用户选择的第二应用程序为微信应用为例。
发明内容
本申请的实施例提供一种多任务操作方法及电子设备,用以解决现有技术中需要打开应用后从应用界面的边缘滑动以打开分屏功能带来的操作不便问题。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,提供一种多任务操作方法,应用在电子设备显示主页界面(显示有多个应用程序的图标的界面)的场景。在该场景下,该方法包括以下步骤:电子设备显示第一数量的应用程序的图标,然后接收用户对该第一数量的应用程序的图标中第二数量的应用程序的图标触发的预设操作。响应于该预设操作,电子设备分屏显示所述第二数量的应用程序的界面。
其中,所述第二数量大于等于两个且小于等于所述第一数量。所述预设操作包括以下操作中的任意一种:单击所述第二数量的应用程序的图标的操作、多击所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第二数量的应用程序的图标外的任意一点后沿第二方向持续滑动到所述第二数量的应用程序的图标的第二滑动操作。
上述方法,用户能够直接对主页上的两个或多个应用的图标进行快捷操作以将该两个或多个应用分屏显示。因此,提供一种更快捷更方便的分屏显示方法。
在第一方面的一种可能的设计中,所述第二数量的应用程序包括第一应用程序和第二应用程序。其中,所述第一应用程序属于第一类预设应用程序或第一预设应用程序,所述第二应用程序属于第二类预设应用程序或第二预设应用程序。则电子设备在分屏显示所述第一应用程序的界面和第二应用程序的界面时,第一应用程序的界面在电子设备显示屏上的显示比例大于第二应用程序的界面在电子设备显示屏上的显示比例。
在第一方面的一种可能的设计中,所述第二数量的应用程序包括第一应用程序和第二应用程序。所述电子设备存储有所述第一应用程序和第二应用程序分屏显示时的历史分屏记录, 该历史分屏记录包括第一应用程序和第二应用程序的相对位置以及其分别在电子设备显示屏上的显示比例。则电子设备在分屏显示第一应用程序和第二应用程序的界面时,电子设备按照所述历史分屏记录分屏显示所述第一应用程序的界面和第二应用程序的界面。
第二方面,提供一种多任务操作方法,应用在电子设备显示主页界面的场景。在该场景下,该方法包括:电子设备显示第一数量的应用程序的图标,然后接收用户针对第一应用程序的图标的第一操作。响应于该第一操作,电子设备分屏显示第一界面和第二界面。
其中,所述第一界面为第一应用程序的界面。第二界面用于显示第二数量的应用程序的图标。所述第二数量小于所述第一数量。
所述第一操作包括以下操作中的任意一种:多指点击第一应用程序的图标的操作、双击所述第一应用程序的图标的操作、按压所述第一应用程序的图标的操作、按压所述第一应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第一应用程序的图标外的任意一点后沿第二方向持续滑动到第一应用程序的图标的第二滑动操作。
上述方法,用户不需要打开第一应用程序的界面,可直接对第一应用程序的图标触发第一操作等快捷操作,电子设备检测到该快捷操作便可将第一应用程序的界面和其他应用程序的图标分屏显示,进而用户从中选择用于与第一应用程序分屏显示的目标应用程序。因此,能够提供一种更快捷更方便的分屏显示方法。
在第二方面的一种可能的设计中,所述第一界面在所述电子设备显示屏上的显示比例大于所述第二界面在所述电子设备显示屏上的显示比例。
在第二方面的一种可能的设计中,所述电子设备存储有所述第一应用程序对应的历史分屏记录。该历史分屏记录用于记录在用户的历史分屏操作中,和所述第一应用程序分屏显示的至少一个第二应用程序。所述第二数量的应用程序包括所述历史分屏记录中记录的至少一个第二应用程序。
在第二方面的一种可能设计中,在电子设备分屏显示所述第一界面和第二界面之后,所述方法还包括:所述电子设备接收用户在所述第二界面中对目标第二应用程序的第二操作。响应于所述第二操作,所述电子设备分屏显示所述第一应用程序的界面和所述目标第二应用程序的界面。
其中,所述第二操作用于触发所述电子设备打开所述目标第二应用程序。
第三方面,提供一种多任务操作方法,该方法包括:电子设备显示第一界面,所述第一界面为第一应用程序的界面。所述电子设备接收用户在所述第一界面执行的预设操作。响应于所述预设操作,所述电子设备分屏显示所述第一界面和第二界面,所述第二界面用于显示至少一个第二应用程序的图标。
其中,所述预设操作包括用户与所述第一界面的接触面积大于第一阈值时触发的滑动操作。
上述方法中,在电子设备上打开第一应用程序的场景下,用户可用手掌在第一应用程序的界面进行滑动操作以触发电子设备将第一应用程序的界面和至少一个第二应用程序的图标分屏显示。因此,提供了一种通过检测用户与第一应用程序的界面的接触面积触发分屏的分屏方式。
在第三方面的一种可能设计中,所述第一界面的显示比例大于所述第二界面的显示比例。
第四方面,提供一种多任务操作方法,该方法包括:电子设备显示第一界面,该第一界 面为第一应用程序的界面。电子设备接收用户输入的语音指令。响应于该语音指令,电子设备将所述第一界面和第二界面分屏显示。
其中,所述第二界面可能为第二应用程序的界面,也可能为显示有多个第二应用程序的图标的界面。
上述方法中,在电子设备上打开第一应用程序的场景下,用户可输入语音以指示电子设备将第一应用程序的界面和第二界面分屏显示。因此,提供了一种更为快捷方便的分屏显示方法。
在第四方面的一种可能设计中,所述语音指令用于指示用于和所述第一应用程序分屏显示的第二应用程序。所述响应于所述语音指令,所述电子设备将所述第一界面和第二界面分屏显示,包括:响应于所述语音指令,所述电子设备将所述第一应用程序的界面和所述第二应用程序的界面分屏显示。
在第四方面的一种可能设计中,所述语音指令用于指示所述电子设备开启分屏功能。所述响应于所述语音指令,所述电子设备将所述第一界面和第二界面分屏显示,包括:响应于所述语音指令,所述电子设备将所述第一应用程序的界面和第二界面分屏显示,所述第二界面显示有至少一个第二应用程序的图标。
在第四方面的一种可能设计中,在所述电子设备将所述第一应用程序的界面和第二界面分屏显示之后,所述方法还包括:所述电子设备接收用户针对所述至少一个第二应用程序中目标第二应用程序的图标的第二操作,所述第二操作用于触发打开所述目标第二应用程序。响应于所述第二操作,所述电子设备将所述第一应用程序的界面和所述目标第二应用程序的界面分屏显示。
第五方面,提供一种多任务操作方法,包括:电子设备显示第一界面,所述第一界面显示有至少一个应用程序的图标。电子设备接收用户针对所述至少一个应用程序中第一应用程序的图标的预设操作。响应于该预设操作,电子设备在所述第一界面上叠加显示所述第一应用程序的界面。其中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动的操作。
上述方法中,在电子设备显示主页界面(显示有多个应用程序的图标)的场景下,当检测到用户对该主页界面中第一应用程序的图标的操作时,响应于该操作,电子设备在主页界面上以画中画的方式显示该第一应用程序的界面。因此,提供了一种方便快捷的显示应用程序的界面的方法。
在第五方面的一种可能设计中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动到第一界面的第一位置的操作。所述响应于所述预设操作,所述电子设备在所述第一界面上叠加显示所述第一应用程序的界面,包括:响应于所述预设操作,所述电子设备在所述第一界面的所述第一位置叠加显示所述第一应用程序的界面。
在第五方面的一种可能设计中,所述电子设备存储有在所述第一界面上叠加显示所述第一应用程序的界面时的历史显示记录,所述历史显示记录包括所述第一应用程序的界面的显示大小和显示位置。所述响应于所述预设操作,所述电子设备在所述第一界面上叠加显示所述第一应用程序的界面,包括:响应于所述预设操作,所述电子设备根据所述历史显示记录在所述第一界面上叠加显示所述第一应用程序的界面。
第六方面,提供一种多任务操作方法,该方法包括:电子设备显示第一应用程序的界面 和近期任务列表,其中,所述近期任务列表中包含至少一个第二应用程序的图标。然后电子设备接收用户针对该近期任务列表中目标第二应用程序的图标的预设操作。响应于该预设操作,电子设备显示目标第二应用程序的界面,并将第一应用程序添加到所述近期任务列表中。
其中,所述预设操作用于触发打开所述目标第二应用程序。具体的,所述预设操作包括以下操作中的任意一种:单击或多击所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标后向所述第一应用程序的界面拖动的操作。
上述方法,电子设备分屏显示第一应用程序的界面和近期任务列表,该近期任务列表中包含多个第二应用程序的图标。进而当电子设备检测到用户对近期任务列表中某个第二应用程序的图标的操作时,电子设备显示该第二应用程序的界面,并将第一应用程序的图标显示在近期任务列表中。
第七方面,提供一种多任务操作方法,应用在电子设备未解锁的场景,如电子设备锁屏或息屏。在该场景下,电子设备接收用户在锁屏界面输入的第一快捷操作,响应于该第一快捷操作,电子设备分屏显示第一应用程序和第二应用程序。电子设备接收用户在锁屏界面输入的第二快捷操作,响应于该第二快捷操作,电子设备分屏显示第三应用程序的第四应用程序。电子设备接收用户在锁屏界面输入的第三快捷操作,响应于该第三快捷操作,电子设备在主页界面(显示有电子设备上已安装应用程序的图标的界面)以画中画的方式叠加显示第一应用程序的界面。
其中,上述快捷操作可以为用户输入的指纹、手势、按压某个物理按键等。第一快捷操作、第二快捷操作、第三快捷操作为不同的快捷操作。第一应用程序、第二应用程序、第三应用程序和第四应用程序用于表示不同的应用程序。
第八方面,基于上述第一方面至第七方面所述的各种多任务操作方法,在分屏显示多个应用程序时,这些应用程序的显示比例可为默认设置,如显示比例都相同。也可以按照应用程序的属性,使得不同应用程序的显示比例不同。以分屏显示第一应用程序和第二应用程序为例,当第一应用程序属于第一类应用程序,第二应用程序属于第二类应用程序时,第一应用程序的界面在电子设备显示屏上的显示比例大于目标第二应用程序的界面在电子设备显示屏上的显示比例。也可以按照分屏显示的历史分屏记录,按照该历史分屏记录显示不同的应用。以分屏显示第一应用程序和第二应用程序为例,当电子设备存储了第一应用程序和第二应用程序的历史分屏记录时,按照该历史分屏记录显示该第一应用程序和第二应用程序。
第九方面,基于上述第一方面至第七方面所述的各种多任务操作方法,本申请实施例还提供了调整分屏显示的多个应用程序的界面的实现方式。
在一种实现方式中,以电子设备显示有第一应用程序的界面和第二应用程序的界面为例,电子设备分屏显示第一应用程序的界面和第二应用程序的界面。电子设备接收用户从所述第一应用程序的界面向第二应用程序的界面滑动的第一滑动操作和从所述第二应用程序的界面向第一应用程序的界面滑动的第二滑动操作。响应于该第一滑动操作和第二滑动操作,电子设备交换第一应用程序的界面和第二应用程序的界面的显示位置。
在另一种实现方式中,电子设备分屏显示第一应用程序的界面和第二应用程序的界面。电子设备接收用户按压第一应用程序的界面和第二应用程序的界面之间的分界线的按压操作。响应于该按压操作,电子设备交换所述第一应用程序的界面和第二应用程序的界面的显 示位置。
第十方面,基于上述第一方面至第七方面所述的各种多任务操作方法,本申请实施例还提供了退出分屏的实现方式。
在该实现方式中,电子设备分屏显示第一界面和第二界面;其中,第一界面为第一应用程序的界面,第二界面为第二应用程序的界面。电子设备接收用户由第一界面和第二界面之间的分界线的第一位置沿着该分界线持续滑动到该分界线的第二位置的滑动操作。响应于该滑动操作,电子设备显示目标应用程序的界面。
其中,该目标应用程序为所述第一应用程序和所述第二应用程序中的一个。具体的,该目标应用程序为用户执行上述滑动操作之前,正在操作的应用,也即焦点所在的应用。或者,该目标应用程序为第一应用程序和第二应用程序中,显示比例较大的应用。
上述方法中,电子设备分屏显示有第一应用程序的界面和第二应用程序的界面,当用户由这两个界面之间的分割线的第一位置沿着该分界线持续滑动到该分界线的第二位置以模拟“擦除”分割线的操作时,电子设备退出分屏,仅显示其中一个应用程序的界面。
第十一方面,提供一种电子设备,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储一个或多个程序,所述一个或多个程序中包括指令。具体的,所述显示屏,用于显示第一数量的应用程序的图标。所述输入设备,用于接收用户对所述第一数量的应用程序的图标中第二数量的应用程序的图标触发的预设操作。所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏分屏显示所述第二数量的应用程序的界面。
其中,所述第二数量大于等于两个且小于等于所述第一数量。
所述预设操作包括以下操作中的任意一种:单击所述第二数量的应用程序的图标的操作、多击所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第二数量的应用程序的图标外的任意一点后沿第二方向持续滑动到所述第二数量的应用程序的图标的第二滑动操作。
在第十一方面的一种可能设计中,所述第二数量的应用程序包括第一应用程序和第二应用程序;所述第一应用程序属于第一类预设应用程序或第一预设应用程序,所述第二应用程序属于第二类预设应用程序或第二预设应用程序。所述一个或多个处理器,还用于响应于所述预设操作,通过所述显示屏分屏显示所述第一应用程序的界面和第二应用程序的界面。其中,所述第一应用程序的界面在所述电子设备显示屏上的显示比例大于所述第二应用程序的界面在所述电子设备显示屏上的显示比例。
在第十一方面的一种可能设计中,所述第二数量的应用程序包括第一应用程序和第二应用程序。所述存储器,还用于存储所述第一应用程序和第二应用程序分屏显示时的历史分屏记录,所述历史分屏记录包括所述第一应用程序和第二应用程序的相对位置以及在所述电子设备显示屏上的显示比例。所述一个或多个处理器,还用于响应于所述预设操作,按照所述历史分屏记录分屏通过所述显示屏显示所述第一应用程序的界面和第二应用程序的界面。
第十二方面,提供一种电子设备,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令。其中,所述显示屏,用于显示第一数量的应用程序的图标。所述输入设备, 用于接收用户针对第一应用程序的图标的第一操作。所述一个或多个处理器,用于响应于所述第一操作,通过所述显示屏分屏显示第一界面和第二界面。其中,所述第一操作包括以下操作中的任意一种:多指点击第一应用程序的图标的操作、双击所述第一应用程序的图标的操作、按压所述第一应用程序的图标的操作、按压所述第一应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第一应用程序的图标外的任意一点后沿第二方向持续滑动到第一应用程序的图标的第二滑动操作。所述第一界面为所述第一应用程序的界面;所述第二界面用于显示第二数量的应用程序的图标;所述第二数量小于所述第一数量。
在第十二方面的一种可能设计中,所述第一界面在所述显示屏上的显示比例大于所述第二界面在所述显示屏上的显示比例。
在第十二方面的一种可能设计中,所述存储器,还用于存储所述第一应用程序对应的历史分屏记录,所述历史分屏记录用于记录在用户的历史分屏操作中,和所述第一应用程序分屏显示的至少一个第二应用程序。所述第二数量的应用程序包括所述历史分屏记录中记录的至少一个第二应用程序。
在第十二方面的一种可能设计中,所述输入设备,还用于接收用户在所述第二界面中对目标第二应用程序的第二操作,所述第二操作用于触发所述电子设备打开所述目标第二应用程序。所述一个或多个处理器,还用于响应于所述第二操作,通过所述显示屏分屏显示所述第一应用程序的界面和所述目标第二应用程序的界面。
第十三方面,提供一种电子设备,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令。所述显示屏,用于显示第一界面,所述第一界面为第一应用程序的界面。所述输入设备,用于接收用户在所述第一界面执行的预设操作。所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏分屏显示所述第一界面和第二界面,所述第二界面用于显示至少一个第二应用程序的图标。其中,所述预设操作包括用户与所述第一界面的接触面积大于第一阈值时触发的滑动操作。
第十四方面,提供一种电子设备,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令。所述显示屏,用于显示第一界面,所述第一界面为第一应用程序的界面。所述输入设备,用于接收用户输入的语音指令。所述一个或多个处理器,用于响应于所述语音指令,通过所述显示屏将所述第一界面和第二界面分屏显示。
在第十四方面的一种可能设计中,所述语音指令用于指示用于和所述第一应用程序分屏显示的第二应用程序。所述一个或多个处理器,用于响应于所述语音指令,通过所述显示屏将所述第一应用程序的界面和所述第二应用程序的界面分屏显示。
在第十四方面的一种可能设计中,所述语音指令用于指示所述电子设备开启分屏功能。所述一个或多个处理器,用于响应于所述语音指令,通过所述显示屏将所述第一应用程序的界面和第二界面分屏显示,所述第二界面显示有至少一个第二应用程序的图标。
在第十四方面的一种可能设计中,所述输入设备,还用于接收用户针对所述至少一个第二应用程序中目标第二应用程序的图标的第二操作,所述第二操作用于触发打开所述目标第二应用程序。所述一个或多个处理器,还用于响应于所述第二操作,通过所述显示屏将所述第一应用程序的界面和所述目标第二应用程序的界面分屏显示。
第十五方面,提供一种电子设备,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令。所述显示屏,用于显示第一界面,所述第一界面显示有至少一个应用程序的图标。所述输入设备,用于接收用户针对所述至少一个应用程序中第一应用程序的图标的预设操作。所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏在所述第一界面上叠加显示所述第一应用程序的界面。其中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动的操作。
在第十五方面的一种可能设计中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动到第一界面的第一位置的操作。所述一个或多个处理器,还用于响应于所述预设操作,通过所述显示屏在所述第一界面的所述第一位置叠加显示所述第一应用程序的界面。
在第十五方面的一种可能设计中,所述存储器,还用于存储在所述第一界面上叠加显示所述第一应用程序的界面时的历史显示记录,所述历史显示记录包括所述第一应用程序的界面的显示大小和显示位置。所述一个或多个处理器,还用于响应于所述预设操作,根据所述历史显示记录通过所述显示屏在所述第一界面上叠加显示所述第一应用程序的界面。
第十六方面,提供一种电子设备,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令。所述显示屏,用于显示第一应用程序的界面和近期任务列表,所述近期任务列表中包含至少一个第二应用程序的图标。所述输入设备,用于接收用户针对所述近期任务列表中目标第二应用程序的图标的预设操作;所述预设操作用于触发打开所述目标第二应用程序。所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏显示所述目标第二应用程序的界面,并将所述第一应用程序添加到所述近期任务列表中。
其中,所述预设操作包括单击或多击所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标后向所述第一应用程序的界面拖动的操作。
第十七方面,提供一种电子设备,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令。所述显示屏,用于分屏显示第一界面和第二界面,所述第一界面为第一应用程序的界面,所述第二界面为第二应用程序的界面。所述输入设备,用于接收用户由所述第一界面和第二界面之间的分界线的第一位置沿着所述分界线持续滑动到所述分界线的第二位置的滑动操作。所述一个或多个处理器,用于响应于所述滑动操作,通过所述显示屏显示目标应用程序的界面,所述目标应用程序为所述第一应用程序和所述第二应用程序中的一个。
第十八方面,提供一种电子设备,包括显示单元,用于显示第一数量的应用程序的图标。接收单元,用于接收用户对所述第一数量的应用程序的图标中第二数量的应用程序的图标触发的预设操作。所述显示单元,还用于响应于所述预设操作,在不同显示区域分别显示所述第二数量的应用程序的界面。其中,所述第二数量大于等于两个且小于等于所述第一数量。
其中,所述预设操作包括以下操作中的任意一种:单击所述第二数量的应用程序的图标的操作、多击所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标 的操作、按压所述第二数量的应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第二数量的应用程序的图标外的任意一点后沿第二方向持续滑动到所述第二数量的应用程序的图标的第二滑动操作。
在第十八方面的一种可能设计中,所述第二数量的应用程序包括第一应用程序和第二应用程序。所述第一应用程序属于第一类预设应用程序或第一预设应用程序,所述第二应用程序属于第二类预设应用程序或第二预设应用程序。所述显示单元,还用于响应于所述预设操作,在不同显示区域分别显示所述第一应用程序的界面和第二应用程序的界面。其中,所述第一应用程序的界面在在所述显示单元的显示比例大于所述第二应用程序的界面在所述显示单元的显示比例。
在第十八方面一种可能的设计中,所述第二数量的应用程序包括第一应用程序和第二应用程序。所述电子设备还包括存储单元,用于存储所述第一应用程序和第二应用程序分屏显示时的历史分屏记录,该历史分屏记录包括所述第一应用程序和第二应用程序的相对位置以及在所述电子设备显示单元中的显示比例。所述显示单元,还用于响应于所述预设操作,按照所述历史分屏记录在不同显示区域分别显示所述第一应用程序的界面和第二应用程序的界面。
第十九方面,提供一种电子设备,包括:显示单元,用于显示第一数量的应用程序的图标。接收单元,用于接收用户针对第一应用程序的图标的第一操作。显示单元用于响应于所述第一操作,在显示单元的不同显示区域分别显示第一界面和第二界面。
其中,所述第一界面为所述第一应用程序的界面;所述第二界面用于显示第二数量的应用程序的图标;所述第二数量小于所述第一数量。
所述第一操作包括以下操作中的任意一种:多指点击第一应用程序的图标的操作、双击所述第一应用程序的图标的操作、按压所述第一应用程序的图标的操作、按压所述第一应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第一应用程序的图标外的任意一点后沿第二方向持续滑动到第一应用程序的图标的第二滑动操作。
在第十九方面的一种可能设计中,所述第一界面在所述显示屏上的显示比例大于所述第二界面在所述显示屏上的显示比例。
在第十九方面的一种可能设计中,所述电子设备还包括存储单元,用于存储所述第一应用程序对应的历史分屏记录。该历史分屏记录用于记录在用户的历史分屏操作中,和所述第一应用程序分屏显示的至少一个第二应用程序。所述第二数量的应用程序包括所述历史分屏记录中记录的至少一个第二应用程序。
在第十九方面的一种可能设计中,所述接收单元,还用于接收用户在所述第二界面中对目标第二应用程序的第二操作,该第二操作用于触发所述电子设备打开所述目标第二应用程序。所述显示单元,还用于响应于所述第二操作,在不同显示区域分别显示所述第一应用程序的界面和所述目标第二应用程序的界面。
第二十方面,提供一种电子设备,包括:显示单元,用于显示第一界面,所述第一界面为第一应用程序的界面。接收单元,用于接收用户在所述第一界面执行的预设操作。所述显示单元,还用于响应于所述预设操作,在不同显示区域分别显示所述第一界面和第二界面。其中,所述第二界面用于显示至少一个第二应用程序的图标。所述预设操作包括用户与所述第一界面的接触面积大于第一阈值时触发的滑动操作。
第二十一方面,提供一种电子设备,包括:显示单元,用于显示第一界面,所述第一界面为第一应用程序的界面。接收单元,用于接收用户输入的语音指令。所述显示单元,还用于响应于所述语音指令,在不同显示区域分别显示所述第一界面和第二界面。
在第二十一方面的一种可能设计中,所述语音指令用于指示用于和所述第一应用程序分屏显示的第二应用程序。所述显示单元,还用于响应于所述语音指令,在不同显示区域分别显示所述第一应用程序的界面和所述第二应用程序的界面。
在第二十一方面的一种可能设计中,所述语音指令用于指示所述电子设备开启分屏功能。所述显示单元,还用于响应于所述语音指令,在不同显示区域分别所述第一应用程序的界面和第二界面。所述第二界面显示有至少一个第二应用程序的图标。
在第二十一方面的一种可能设计中,所述接收单元,还用于接收用户针对所述至少一个第二应用程序中目标第二应用程序的图标的第二操作,所述第二操作用于触发打开所述目标第二应用程序。所述显示单元,还用于响应于所述第二操作,在不同显示区域分别显示所述第一应用程序的界面和所述目标第二应用程序的界面。
第二十二方面,提供一种电子设备,包括:显示单元,用于显示第一界面,所述第一界面显示有至少一个应用程序的图标。接收单元,用于接收用户针对所述至少一个应用程序中第一应用程序的图标的预设操作。所述显示单元,还用于响应于所述预设操作,在所述第一界面上叠加显示所述第一应用程序的界面。其中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动的操作。
在第二十二方面的一种可能设计中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动到第一界面的第一位置的操作。所述显示单元,还用于响应于所述预设操作,在所述第一界面的所述第一位置叠加显示所述第一应用程序的界面。
在第二十二方面的一种可能设计中,所述电子设备还包括存储单元,用于存储在所述第一界面上叠加显示所述第一应用程序的界面时的历史显示记录,所述历史显示记录包括所述第一应用程序的界面的显示大小和显示位置;
所述显示单元,还用于响应于所述预设操作,根据所述历史显示记录在所述第一界面上叠加显示所述第一应用程序的界面。
第二十三方面,提供一种电子设备,包括:显示单元,用于显示第一应用程序的界面和近期任务列表,所述近期任务列表中包含至少一个第二应用程序的图标。接收单元,用于接收用户针对所述近期任务列表中目标第二应用程序的图标的预设操作;所述预设操作用于触发打开所述目标第二应用程序。所述显示单元,还用于响应于所述预设操作,显示所述目标第二应用程序的界面,并在所述近期任务列表中显示所述第一应用程序的图标。
其中,所述预设操作包括单击或多击所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标后向所述第一应用程序的界面拖动的操作。
第二十四方面,提供一种电子设备,包括:显示单元,用于在不同显示区域分别显示第一界面和第二界面,所述第一界面为第一应用程序的界面,所述第二界面为第二应用程序的界面。接收单元,用于接收用户由所述第一界面和第二界面之间的分界线的第一位置沿着所述分界线持续滑动到所述分界线的第二位置的滑动操作。所述显示单元,还用于响应于所述滑动操作,显示目标应用程序的界面,所述目标应用程序为所述第一应用程序和所述第二应 用程序中的一个。
第二十五方面,提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行第一方面至第十一方面任意方面的方法。
第二十六方面,提供一种计算机程序产品,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行上述第一方面至第十一方面任意方面所述的方法。
附图说明
图1为现有技术中提供的一种分屏的过程示意图;
图2为手机的一种结构示意图;
图3为本申请实施例提供的一种多任务操作方法的流程示意图;
图3a、图3b、图3c、图3d为本申请实施例提供的多任务操作方法应用在电子设备未解锁状态的界面示意图;
图4为应用在电子设备显示主页界面的场景下时,本申请实施例提供的一种多任务操作方法的流程示意图;
图4a、图4b为应用在电子设备显示主页界面的场景下时,电子设备执行图4所示方法的界面示意图;
图5为应用在电子设备显示主页界面的场景下时,本申请实施例提供的另一种多任务操作方法的流程示意图;
图5a、图5b为应用在电子设备显示主页界面的场景下时,电子设备执行图5所示方法的界面示意图;
图6为应用在电子设备显示应用程序界面的场景下时,本申请实施例提供的一种多任务操作方法的流程示意图;
图6a为应用在电子设备显示应用程序界面的场景下时,电子设备执行图6所示方法的界面示意图;
图7为应用在电子设备显示应用程序界面的场景下时,本申请实施例提供的又一种多任务操作方法的流程示意图;
图7a、图7b为应用在电子设备显示应用程序界面的场景下时,电子设备执行图7所示方法的界面示意图;
图8为应用在电子设备显示主页界面的场景下时,本申请实施例提供的另一种多任务操作方法的流程示意图;
图8a为应用在电子设备显示主页界面的场景下时,电子设备执行图8所示方法的界面示意图;
图9为电子设备分屏显示多个应用程序的界面时,本申请实施例提供的一种调整多个应用程序的界面位置的方法的流程示意图;
图9a为电子设备执行图9所示方法的界面示意图;
图9b为电子设备执行另一种调整多个应用程序的界面位置的方法的界面示意图;
图10a、图10b为分屏显示多个应用程序时的界面示意图;
图11为本申请实施例提供的又一种多任务操作方法的流程示意图;
图11a为电子设备执行图11所示方法的界面示意图;
图12为本申请实施例提供的一种退出分屏的方法的流程示意图;
图12a、图12b为电子设备执行图12所示方法的界面示意图;
图13、图13a、图13b为本申请实施例提供的电子设备的结构示意图。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
多任务技术是指电子设备可以在同一时间内运行多个应用程序(也可以简称为应用)。其中,每个应用程序被称作一个任务。多任务技术具体可以体现为分屏技术和画中画(Picture-in-Picture,PIP)技术。分屏是指电子设备的显示屏的不同显示区域可显示不同应用程序的的界面,且不同应用程序的界面之间不存在重叠。例如:分别显示不同应用程序的界面,使得用户可同时操作多个应用程序。画中画技术是指显示第一界面后在第一界面上叠加显示第二界面。
本申请实施例提供一种多任务操作方法,可应用于电子设备。例如,本申请实施例中的电子设备可以是手机、平板电脑、可穿戴设备、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等,本申请实施例对此不作任何限制。
以所述电子设备为手机为例,如图2所示,该手机200包括:射频(radio frequency,RF)电路210、存储器220、输入单元230、一个或多个传感器240、处理器250、电源260、显示单元270、音频电路280等部件。本领域技术人员可以理解,图2中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面分别对手机200的各功能组件进行介绍:
其中,RF电路210可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器250处理;另外,将上行的数据发送给基站。通常,RF电路210不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路210还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。
存储器220可用于存储软件程序以及模块,该处理器250通过运行存储在存储器220的软件程序以及模块,从而执行手机200的各种功能应用以及数据处理。存储器220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(Application,APP)等,比如声音播放功能、图像播放功能等;存储数据区可存储根据手机200的使用所创建的数据(比如音频数据、图像数据、电话本等)等。此外,存储器220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器 件、闪存器件、或其他易失性固态存储器件。
输入单元230可用于接收用户输入的数字或字符信息,以及产生与手机200的用户设置以及功能控制有关的键信号输入。具体地,输入单元230可包括触摸屏231以及其他输入设备232。触摸屏231,也称为触控面板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏231上或在触摸屏231附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸屏231可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器250,并能接收处理器250发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏231。除了触摸屏231,输入单元230还可以包括其他输入设备232。具体地,其他输入设备232可以包括但不限于物理键盘、功能键(比如音量控制按键、电源开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
传感器240包括用于进行生物特征识别的传感器,如指纹识别传感器、人脸识别传感器以及虹膜识别传感器等。以指纹识别传感器为例,指纹识别传感器能够采集用户的指纹信息并将采集的指纹信息上报给处理器250,处理器250根据该指纹信息对用户进行身份识别。
传感器240还包括重力传感器(gravity sensor),可以检测手机在各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。
手机200还可以包括其它传感器,比如光传感器。具体地,光传感器可包括环境光传感器及接近光传感器。其中,环境光传感器可根据环境光线的明暗来调节显示面板231的亮度;接近光传感器可以检测是否有物体靠近或接触手机,可在手机200移动到耳边时,关闭显示面板231和/或背光。手机200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
显示单元270可用于显示由用户输入的信息或提供给用户的信息以及手机200的各种菜单。显示单元270可包括显示面板271,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板271。进一步的,触摸屏231可覆盖显示面板271,当触摸屏231检测到在其上或附近的触摸操作后,传送给处理器250以确定触摸事件的类型,随后处理器250根据触摸事件的类型在显示面板271上提供相应的视觉输出。虽然在图2中,触摸屏231与显示面板271是作为两个独立的部件来实现手机200的输入和输入功能,但是在某些实施例中,可以将触摸屏231与显示面板271集成而实现手机200的输入和输出功能。
音频电路280、扬声器291、麦克风292可提供用户与手机200之间的音频接口。音频电路280可将接收到的音频数据转换后的电信号,传输到扬声器291,由扬声器291转换为声音信号输出;另一方面,麦克风292将收集的声音信号转换为电信号,由音频电路280接收后转换为音频数据,再将音频数据输出至RF电路210以发送给比如另一手机,或者将音频数据输出至存储器220以便进一步处理。
处理器250是手机200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器220内的软件程序和/或模块,以及调用存储在存储器220内的数据,执行手机200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器250 可包括一个或多个处理单元;可选的,处理器250可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器250中。
手机200还包括给各个部件供电的电源260(比如电池),可选的,电源可以通过电源管理系统与处理器250逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机200还可以包括天线、无线保真(Wireless-Fidelity,WiFi)模块、近距离无线通信(Near Field Communication,NFC)模块、蓝牙模块、扬声器、加速计、陀螺仪等。
本申请实施例提供的多任务操作方法可应用于包括图2所示的手机在内的任意电子设备。
参考图3,本申请实施例提供一种多任务操作方法,包括以下步骤:
301、电子设备接收用户输入的快捷操作。
其中,所述快捷操作包括用户在电子设备处于未解锁状态时输入指纹、预设手势等快捷操作。所述快捷操作还包括用户在电子设备解锁后对解锁后的主页界面上显示的应用程序图标的快捷操作。所述快捷操作还包括用户在打开某个应用程序后,在已打开的该应用程序内执行的快捷操作。
302、响应于所述快捷操作,电子设备执行与所述快捷操作对应的多任务操作。
其中,所述多任务操作包括分屏操作和PIP操作。所述分屏操作包括上下分屏、左右分屏、以对角线的形式分屏等任意分屏形式。
本申请实施例提供的多任务操作方法,当电子设备检测到用户输入的某个快捷操作后,执行相应的多任务操作。
下文结合实际应用场景具体阐释本申请实施例提供的上述方法。
本申请实施例提供的上述方法可应用在电子设备未解锁的应用场景。在该应用场景下,本申请实施例提供的多任务操作方法可具体实现为:
可选的,在一种实现方式中,电子设备预先采集用户进行多任务操作时的操作习惯,得到一个或多个用户常用的多任务操作。并且,结合用户常用的多任务操作,电子设备预先建立快捷操作和用户常用的多任务操作的一个或多个对应关系。这样,当电子设备检测到用户输入的某个快捷操作时,电子设备执行与该快捷操作对应的多任务操作。
当所述多任务操作为分屏操作时,所述电子设备采集的分屏操作习惯包括:用户经常将哪些应用分屏显示、分屏显示的每个应用在显示屏中的显示位置以及进行该分屏显示操作的历史次数等。
例如:该分屏操作习惯包括,用户经常将应用A和应用B分屏显示;用户经常将应用C和应用D分屏显示;或者用户经常将应用A和其他应用分屏显示。又如:该分屏操作习惯包括,用户经常将应用A和应用B分屏显示且应用A在显示屏中的显示位置为靠近显示屏上边缘的位置且占显示屏的比例为0.6,应用B在显示屏中的显示位置为靠近显示屏下边缘的位置且占显示屏的比例为0.4。再如:该分屏操作习惯还包括,用户经常将应用A和应用B分屏显示且该分屏操作的平均显示时长为1小时等。
当所述多任务操作为PIP操作时,所述电子设备采集的用户的PIP操作习惯包括:用户经常将哪个应用放在屏幕的哪个位置显示。例如:用户习惯将视频应用A以长x1,宽y1的 尺寸放在屏幕的中间位置显示。用户习惯将聊天应用B以长x2,宽y2的尺寸放在屏幕的靠上位置显示。
在采集了用户的多任务操作习惯后,建立不同的快捷操作和多任务操作的对应关系。这样,当用户在锁屏界面输入第一快捷操作时,电子设备执行第一多任务操作,当用户在锁屏界面输入第二快捷操作时,电子设备执行第二多任务操作。其中,所述第一快捷操作与第二快捷操作包括用户在电子设备锁屏界面输入的指纹等生物识别特征、手势以及按压某个快捷键等。所述第一快捷操作和第二快捷操作不同。
示例性的,参考图3a,用户在手机的锁屏界面303输入第一指纹304a。手机检测到该第一指纹304a后,手机解锁并分屏显示视频界面3051a和微信界面3052a。该视频界面3051a和微信界面3052a分别占整个显示屏的50%。
参考图3b,用户在手机的锁屏界面303输入第二指纹304b。手机检测到该第二指纹304b后,手机解锁并分屏显示微博界面3051b和微信界面3052b。且微博界面3051b位于靠近显示屏上边缘的上方区域,微信界面3052b位于靠近显示屏下边缘的下方区域,且微博界面3051b和微信界面3052b在电子设备显示屏上的显示比例分别为60%和40%。
在其他实现方式中,当用户在手机的锁屏界面输入指纹时,手机解锁并显示第一应用的界面和其他应用的图标。其中,该第一应用为手机根据用户的历史分屏习惯得到的用户经常分屏显示的应用。该其他应用为除第一应用以外的其他任意支持分屏功能的应用。或者,该其他应用还可以为与第一应用关联的一个或多个应用。具体的,所述与第一应用关联的其他应用为根据用户的操作习惯得到的用户经常与第一应用分屏显示的一个或多个应用。或者,该其他应用为用户在使用第一应用的过程中可能会使用的其他应用。例如:当第一应用为微信这一应用时,考虑到用户可能会和微信中的好友分享图片、音乐等,则将微信应用的界面和图库、音乐等应用的图标分屏显示。
示例性的,参考图3c,用户在手机的锁屏界面303输入第三指纹304c。手机检测到该第三指纹304c后,显示有视频这一应用的界面3051c和第二界面3052c,该界面3052c显示有微信、QQ、短消息等应用的图标。
参考图3d,用户在锁屏界面303输入第四指纹304d。手机检测到该第四指纹304d后,解锁并显示解锁后的界面3051d。且在解锁后的界面3051d上叠加显示微信应用的界面3052d,也即在在解锁后的界面3051d上以画中画的方式显示微信应用的界面3052d。
需要说明的是,上述应用仅是示例,在实际操作中可以是任一应用。此外,上述各图中以指纹识别区位于显示屏内为例说明。实际应用中,指纹识别区还可能位于显示屏外,如手机的背部或Home按键等。
考虑到实际应用中,手机的显示屏包含多个指纹识别区。因此,在其他实现方式中,本申请实施例提供的方法还可以实现为:当手机检测到用户在第一指纹识别区输入的指纹时,指纹验证成功后,电子设备执行第一多任务操作。当手机检测到用户在第二指纹识别区输入的指纹时,指纹验证成功后,电子设备执行第二多任务操作。
上述快捷操作除了可以为指纹操作外,在其他实现方式中还可以为快捷手势操作。例如:当手机检测到用户在锁屏界面输入的第一手势时,手机解锁并执行第一分屏操作。当手机检测到用户在锁屏界面输入的第二手势时,手机解锁并执行第二分屏操作。当手机检测到用户在锁屏界面输入的第三手势时,手机解锁并执行第一PIP操作。当手机检测到用户在锁屏界 面输入的第四手势时,手机解锁并执行第二PIP操作。
本申请实施例提供的多任务操作方法还可应用在电子设备已解锁并显示主页界面的场景下。其中,本申请实施例所指的主页界面是指用于显示手机上已安装的所有应用程序的图标的界面。在该场景下,参考图4,本申请实施例提供的多任务操作方法可具体实现为:
401、电子设备显示第一数量的应用程序的图标。
402、所述电子设备接收用户在所述第一数量的应用程序的图标中对第二数量的应用程序的图标触发的预设操作。
403、响应于所述预设操作,所述电子设备根据所述预设操作分屏显示所述第二数量的应用程序的界面。
其中,所述第二数量大于等于两个小于等于第一数量。具体的,所述第二数量为2个。或者,当所述电子设备为个人电脑等具备较大显示屏的电子设备时,所述第二数量还可以为2个以上,如3个等。
可选的,所述预设操作包括单击所述第二数量的应用程序的图标的操作。具体的,该单击操作可以为在预设时间间隔内依次单击所述第二数量的应用程序的图标的操作。其中,该预设时间间隔很短,例如可以为几秒。当用户依次单击所述第二数量的应用程序的图标的间隔极短时,可以认为用户“同时”单击所述第二数量的应用程序的图标。例如:电子设备显示有应用程序A、B、C、D的图标,该预设操作具体为用户使用不同的手指同时单击应用程序A和应用程序B的图标。又如:电子设备显示有应用程序A、B、C、D的图标,该预设操作具体为用户使用同一手指在20s的时间间隔内依次单击应用程序A和应用程序B的图标。
示例性的,参考图4a,手机的主页界面404显示有“QQ”、“微信”、“视频、“音乐”等应用程序的图标。如4041a所示,当用户使用不同的手指同时点击“微信”和“视频”这两个应用程序的图标时,手机显示“视频”应用的界面4051和“微信”应用的界面4052。
所述预设操作还包括多击所述第二数量的应用程序的图标的操作。其中,该多击是指多次连续点击,包括双击、三击、四击等。具体的,该多击操作可以为在预设时间间隔内依次多击所述第二数量的应用程序的图标的操作。其中,该预设时间间隔很短,例如可以为几秒。当用户依次多击所述第二数量的应用程序的图标的间隔极短时,可以认为用户“同时”多击所述第二数量的应用程序的图标。例如:电子设备显示有应用程序A、B、C、D的图标,该预设操作具体为用户使用不同的手指同时双击应用程序A和应用程序B的图标。
所述预设操作还包括按压所述第二数量的应用程序的图标的操作。具体的,该按压操作可以为在预设时间间隔内依次按压所述第二数量的应用程序的图标的操作。其中,该预设时间间隔很短,例如可以为几秒。当用户依次按压所述第二数量的应用程序的图标的间隔极短时,可以认为用户“同时”按压所述第二数量的应用程序的图标。例如:电子设备显示有应用程序A、B、C、D的图标,该预设操作具体为用户使用不同的手指同时按压应用程序A和应用程序B的图标。
所述预设操作还包括滑动操作。该滑动操作具体为用户按压所述第二数量的应用程序的图标后沿第一方向持续滑动的第一滑动操作。具体的,第一滑动操作可以为用户按压所述第二数量的应用程序的图标后在预设时间间隔内依次沿第一方向持续滑动的滑动操作。其中,该预设时间间隔很短,例如可以为几秒。当用户按压所述第二数量的应用程序的图标后依次沿第一方向滑动的时间间隔极短时,可以认为用户按压所述第二数量的应用程序的图标后同 时沿第一方向滑动。例如:电子设备显示有应用程序A、B、C、D的图标,用户使用不同手指按压应用程序A和应用程序B的图标后以应用程序A和B的图标为起始点同时向相同的方向滑动。
示例性的,参考图4b,手机的主页界面404上显示有“QQ”、“微信”、“视频、“音乐”等应用程序的图标。如4041b所示,当用户按压“微信”和“视频”这两个应用程序的图标后同时向下滑动时,手机显示“视频”应用的界面4051和“微信”应用的界面4052。
或者,该滑动操作具体为用户按压所述第二数量的应用程序的图标外的任意点后在预设时间间隔内沿第二方向持续滑动到所述第二数量的应用程序的图标的第二滑动操作。其中,该预设时间间隔很短,例如可以为几秒。当用户按压所述第二数量的应用程序的图标外的任意点后在极短的时间内依次沿第二方向持续滑动到所述第二数量的应用程序的图标时,可以认为用户以所述第二数量的应用程序的图标外的任意点为起点同时沿第二方向滑动到所述应用程序A和应用程序B的图标。例如:电子设备显示有应用程序A、B、C、D的图标,用户沿特定方向同时滑动到应用程序A和应用程序B的图标。
上述方法中,电子设备上显示有应用程序的图标,当检测到用户对其中的两个或多个应用程序的图标触发相同的操作时,电子设备将该两个或多个应用程序分屏显示。与现有技术中用户需要先打开第一应用,然后从第一应用的界面的边缘滑动以开启分屏功能,再选择与该第一应用分屏显示的第二应用相比,采用本申请实施例提供的方法后用户能够直接对主页上的两个或多个应用的图标进行快捷操作以将该两个或多个应用分屏显示。因此,能够提供一种更快捷更方便的分屏显示方法。
在电子设备已解锁并显示主页界面,主页界面显示有多个应用程序的图标的应用场景下,参考图5,本申请实施例提供又一种多任务操作方法,包括以下步骤:
501、电子设备显示第一数量的应用程序的图标。
502、所述电子设备接收用户针对第一应用程序的图标的第一操作。
其中,在该实施例中,所述第一操作包括用户多指单击第一应用程序的图标的操作,还包括用户多指双击第一应用程序的图标的操作。所述第一操作还包括用户单指多击第一应用程序的图标的操作。所述第一操作还包括用户使用多指沿特定方向滑动到所述第一应用程序的图标的第一滑动操作,所述第一操作还包括用户按压所述第一应用程序的图标并以所述第一应用程序的图标为起始点沿特定方向滑动的第二滑动操作。
503、响应于所述第一操作,所述电子设备分屏显示第一界面和第二界面。
其中,所述第一界面为所述第一应用程序的界面,所述第二界面用于显示第二数量的应用程序的图标。
其中,所述第二数量小于第一数量。所述第二数量的应用程序为所述第一数量的应用程序中除所述第一应用程序以外的其他应用程序。具体的,所述与第一应用关联的其他应用为根据用户的操作习惯得到的用户经常与第一应用分屏显示的一个或多个应用。或者,该其他应用为用户在使用第一应用的过程中可能会使用的其他应用。例如:当第一应用为微信这一应用时,考虑到用户可能会和微信中的好友分享图片、音乐等,则将微信应用的界面和图库、音乐等应用的图标分屏显示。或者,所述第二数量的应用程序的图标为电子设备上当前后台运行的其他应用程序。
上述方法中,电子设备检测到用户针对第一应用程序的图标的第一操作时将该第一应用 程序的界面和其他应用程序的图标分屏显示,进而用户可从显示的其他应用程序的图标中选择用于和第一应用程序分屏显示的应用程序。与现有技术中,用户需要先打开第一应用程序,然后通过长按多任务功能键或者在第一应用程序的界面滑动等操作开启分屏功能后才显示其他应用程序的图标相比,本申请实施例提供的方法中,用户不需要打开第一应用程序的界面可直接将对第一应用程序的图标触发第一操作等快捷操作,便可和第一应用程序的界面分屏显示其他应用程序的图标,进而用户从中选择用于与第一应用程序分屏显示的其他应用程序。
可选的,参考图5,在电子设备分屏显示所述第一界面和第二界面之后,所述方法还包括以下步骤:
504、电子设备接收用户在该第二界面中对目标第二应用程序的第二操作。
其中,该第二操作用于触发所述电子设备打开所述目标第二应用程序。
505、响应于该第二操作,电子设备分屏显示第一应用程序的界面和目标第二应用程序的界面。
也即,在电子设备分屏显示第一界面和第二界面之后,电子设备接收用户在该第二界面中选择某个第二应用程序并打开该第二应用程序的操作,进而响应于用户的该操作,电子设备将第一应用程序和第二应用程序分屏显示。
参考图5a,手机的主页界面506显示有“QQ”、“微信”、“视频、“音乐”等应用程序的图标。如5061a所示,当用户双指同时点击“视频”这一应用程序的图标时,手机分屏显示视频应用的界面5071和第二界面5072,该第二界面5072显示有“微信”、“音乐”、“QQ”等其他应用程序的图标。
参考图5b,手机的主页界面506显示有有“QQ”、“微信”、“视频、“音乐”等应用程序的图标。如5061b所示,当用户按压“视频”这一应用程序的图标时,手机分屏显示视频应用的界面5071和第二界面5072,该第二界面5072显示有“微信”、“音乐”、“QQ”等其他应用程序的图标。
当应用在电子设备上已打开了某个应用程序的场景下时,参考图6,本申请实施例提供再一种多任务操作方法,包括以下步骤:
601、电子设备显示第一界面,所述第一界面为第一应用程序的界面。
602、电子设备接收用户在所述第一界面执行的预设操作。
603、响应于所述预设操作,所述电子设备分屏显示所述第一界面和第二界面。
其中,所述第二界面用于显示至少一个第二应用程序的图标。所述预设操作包括用户与电子设备的显示屏的接触面积大于一定阈值时触发的从屏幕上边缘开始下拉的滑动操作,或者从屏幕下边缘开始上推的滑动操作。例如:通过全手掌或大部分手掌从显示屏的下边缘向上推或者从显示屏的上边缘向下拉。又如:通过大拇指接触面积大于一定阈值或接触区域长度大于一定阈值时所述第二界面显示有其他一个或多个应用程序的图标。或者,所述第二界面显示有其他某个应用程序的界面。
参考图6a,手机显示有“视频”这一应用的界面604。如6041所示,当手机检测到用户手掌接触手机,且从手机屏幕下边缘向上推起时,手机分屏显示视频应用的界面6051和第二界面6052,该第二界面6052显示有“微信”、“音乐”、“QQ”等其他应用程序的图标。进而,用户可从第二界面6052显示的应用的图标中选取用于和视频这一应用分屏显示的应 用。
当应用在电子设备上已打开了某个应用程序的场景下时,参考图7,本申请实施例提供再一种多任务操作方法,包括以下步骤:
701、电子设备显示第一界面,所述第一界面为第一应用程序的界面。
702、电子设备接收用户输入的语音指令。
703、响应于所述语音指令,所述电子设备将所述第一界面和第二界面分屏显示。
其中,所述语音指令为包含“分屏”等词语的语音指令。
具体的,当所述语音指令用于指示用于和所述第一应用程序分屏显示的第二应用程序时,响应于所述语音指令,所述电子设备将所述第一应用程序的界面和所述第二应用程序的界面分屏显示。
例如:所述语音指令为用户输入的“分屏打开第二应用”或者“和第二应用分屏”的语音指令,则响应于该语音指令,电子设备将第一应用程序的界面和该语音指令指示的第二应用程序的界面分屏显示,也即所述电子设备第二界面为第二应用的界面。
当所述语音指令仅用于指示所述电子设备开启分屏功能时,响应于所述语音指令,所述电子设备将所述第一应用程序的界面和第二界面分屏显示,所述第二界面显示有至少一个第二应用程序的图标。在所述电子设备将所述第一应用程序的界面和第二界面分屏显示之后,电子设备接收用户针对目标第二应用程序的图标的第二操作,该第二操作用于触发打开所述目标第二应用程序。响应于该第二操作,电子设备将第一应用程序的界面和目标第二应用程序的界面分屏显示。也即,电子设备接收用户选择并打开目标第二应用程序的操作,响应于该操作,电子设备将第一应用程序和目标第二应用程序分屏显示。
例如:所述语音指令为“和桌面分屏”或者“分屏”的语音指令,则响应于该语音指令电子设备开启分屏功能并将第二界面和所述第一界面分屏显示。其中,所述第二界面为显示有其他应用程序的图标的界面。进而,用户可在第二界面中选取某个第二应用程序的图标,电子设备将第一应用程序和第二应用程序分屏显示。
可选的,在本申请实施例中,电子设备的语音采集功能一直处于开启状态。
可选的,本申请实施例中,当用户打开第一应用程序后,在第一应用程序的界面中显示有用于用户开启或关闭电子设备的语音采集功能的图标,用户可操作该图标以开启或关闭电子设备的语音采集功能。
参考图7a,手机显示有“视频”这一应用的界面704。该界面704上显示有提示用户输入语音的入口标识7041。当用户按住所述标识7041所标识的图标时,手机可采集用户输入的语音指令。如705a所示,当用户输入“和微信分屏”的语音指令时,手机分屏显示视频这一应用的界面7061和微信这一应用的界面7062a。
参考图7b,如705b所示,当用户输入“分屏”的语音指令时,手机分屏显示视频这一应用的界面7061和第二界面7062b,该第二界面7062b显示有微信、音乐和QQ等应用程序的图标。
当应用在电子设备已解锁并显示主页界面,该主页界面上显示有应用程序的图标的场景下时,参考图8,本申请实施例提供再一种多任务操作方法,包括以下步骤:
801、电子设备显示第一界面,所述第一界面显示有至少一个应用程序的图标。
802、电子设备接收用户针对第一应用程序的图标的预设操作。
803、响应于所述预设操作,所述电子设备在所述第一界面上叠加显示所述第一应用程序的界面。
其中,在该实施例中,所述预设操作用于触发电子设备以PIP的方式显示第一应用程序的界面。所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动的操作。所述预设操作还包括双击第一应用程序的图标的操作等。
可选的,步骤802所述的预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动到第一界面的第一位置的操作。则步骤803具体实现为电子设备在第一界面的第一位置处叠加显示所述第一应用程序的界面。
上述方法中,电子设备主页上显示有多个应用程序的图标,当检测到用户选择其中的第一应用程序的图标并将该第一应用程序的图标拖曳至某个位置释放的操作时,电子设备以PIP的方式显示所述第一应用程序的界面。
参考图8a,手机的主页界面804显示有“QQ”、“微信”、“视频、“音乐”等应用程序的图标。如操作8041所示,当用户按压“视频”这一应用程序的图标并将该图标拖动到靠近屏幕上边缘的位置时,手机在主页界面804上叠加显示视频应用的界面805。这样,视频应用的界面以PIP的方式显示在桌面上。
可选的,电子设备存储有在所述第一界面上叠加显示所述第一应用程序的界面时的历史显示记录,该历史显示记录包括所述第一应用程序的界面的显示大小和显示位置。因此,可按照该历史显示记录在所述第一界面上叠加显示所述第一应用程序的界面。实际应用中,在第一界面叠加显示该第一应用程序的界面后,其界面大小和位置可调。具体的,用户可拖动该第一应用程序的界面以调整该第一应用程序的界面的位置。或者,用户可在第一应用程序的界面的边缘进行拖动以扩大或缩小第一应用程序的界面。
本申请实施例提供的上述方法能够实现电子设备的快捷分屏或快捷以PIP的方式显示应用界面。
在实现电子设备快捷分屏之后,本申请实施例还提供了调节分屏显示的多个界面的位置的可选实现方式。
参考图9,本申请实施例提供一种调节分屏显示的多个界面的位置的方法,包括以下步骤:
901、电子设备显示第一应用程序的界面和第二应用程序的界面。
902、电子设备接收用户从所述第一应用程序的界面向第二应用程序的界面滑动的第一滑动操作和从所述第二应用程序的界面向第一应用程序的界面滑动的第二滑动操作。
903、响应于所述第一滑动操作和第二滑动操作,电子设备切换所述第一应用程序的界面和第二应用程序的界面的显示位置。
通过图9所示的方法,能够实现切换第一应用和第二应用的显示界面。
需要说明的是,在一种实现方式中,仅切换第一应用和第二应用的位置,切换后的第一应用和第二应用的显示比例不变。例如:切换前,应用A的显示界面位于靠近屏幕上边缘的区域,应用B的显示界面位于靠近屏幕下边缘的区域,且应用A的显示比例为30%,应用B的显示比例为70%。则采用上述方法切换应用A和应用B的显示位置后,应用B的显示界面位于靠近屏幕上边缘的区域,其显示比例仍为70%。应用A的显示界面位于靠近屏幕下边缘的区域,其显示比例仍为30%。在另一种实现方式中,显示屏包括固定划分的第一显示区 域和第二显示区域,切换前,第一显示区域用于显示应用A,第二显示区域用于显示应用B。切换后,第一显示区域用于显示应用B,第二显示区域用于显示应用A。
参考图9a,在一种可选实现方式中,手机分屏显示视屏应用的界面和微信应用的界面时,“视频”这一应用的界面904显示在靠近显示屏上边缘的区域;“微信”这一应用的界面905显示在靠近显示屏下边缘的区域。如操作906a所示,当用户用两个不同的手指同时由视频应用的界面904向微信应用的界面905滑动以及由微信应用的界面905向视频应用的界面904滑动时,“交换”视频和微信这两个应用的显示位置。也即,“微信”这一应用的界面905显示在靠近显示屏上边缘的区域;“视频”这一应用的界面904显示在靠近显示屏下边缘的区域。
参考图9b,在另一种可选实现方式中,手机分屏显示视屏应用的界面和微信应用的界面时,“视频”这一应用的界面904显示在靠近显示屏上边缘的区域;“微信”这一应用的界面905显示在靠近显示屏下边缘的区域。“视频”这一应用的界面904和“微信”这一应用的界面905之间存在分割线907。如906b所示,当用户双击或长按分割线907时,“交换”视频和微信这两个应用的显示位置。也即,“微信”这一应用的界面905显示在靠近显示屏上边缘的区域;“视频”这一应用的界面904显示在靠近显示屏下边缘的区域。
在采用上述各种方法实现电子设备的快捷分屏后,本申请实施例还提供了分屏显示多个应用程序的界面的几种具体实现方式:
可选的,在分屏显示多个应用程序的界面时,默认将多个应用程序的界面等比例显示。例如:在分屏显示应用程序A和应用程序B时,应用A和应用B在电子设备显示屏上的显示比例均为50%,也即应用A和应用B的界面各占显示屏的一半。又如:在分屏显示应用A、应用B和应用C时,应用A、应用B和应用C的显示比例均为三分之一。
可选的,在分屏显示多个应用程序的界面时,按照应用程序的属性,使得不同应用程序的界面的显示比例不同。
示例性的,手机分屏显示视频、音乐等多媒体应用和微信、QQ等消息类应用时,多媒体应用在电子设备显示屏上的显示比例大于消息类应用的显示比例。
参考图10a,视频应用的界面1001和微信应用的界面1002分屏显示时,由于视频应用为多媒体应用,微信应用为聊天类应用,则视频应用的界面1001在电子设备显示屏的显示比例为70%,微信应用的界面1002的显示比例为30%。
可选的,在首次分屏显示多个应用程序的界面时,按照默认设置将该多个应用分屏显示。以应用A和应用B分屏显示为例,在首次分屏显示这两个应用时,电子设备对称显示这两个应用,也即应用A和应用B这两个应用的显示比例均为50%,且应用A位于靠近电子设备显示屏上边缘的区域,应用B位于靠近电子设备显示屏下边缘的区域。当用户根据自己的使用习惯调整了应用的显示位置或显示比例时,例如:用户进行操作以将应用A显示在靠近电子设备显示屏下边缘的区域且显示比例为70%,将应用B显示在靠近电子设备显示屏上边缘的区域且显示比例为30%,则电子设备采集用户的该分屏习惯并保存。之后,当电子设备下次分屏显示应用A和应用B时,电子设备根据其保存的用户的分屏习惯显示应用A和应用B。
因此,在一种实现方式中,电子设备采集用户进行分屏操作时的操作习惯,得到用户的历史分屏参数并保存。其中,该历史分屏参数包括应用的分屏位置、显示比例等。则电子设备在分屏显示两个或多个应用程序时,按照该两个或多个应用程序的历史分屏参数对这两个 或多个应用程序进行分屏显示。
例如,在分屏显示应用A和应用B时,当电子设备本地保存有应用A和应用B分屏显示时的历史分屏参数时,如应用A和应用B在分屏时的显示位置以及分别的显示比例等,则按照该历史分屏参数分屏显示应用A和应用B。
又如,在分屏显示应用A和应用B时,当电子设备仅保存其中一个应用的历史分屏参数,如仅保存应用A在和多个应用程序的图标分屏显示或和其他应用(不包括应用B)分屏显示时的历史分屏参数,则按照应用A的历史分屏参数分屏显示应用A和应用B。
再如,在分屏显示应用A和应用B时,当电子设备保存有应用A和其他应用(不包括应用B)分屏时的历史分屏参数以及存在应用B和其他应用(不包括应用A)分屏时的历史分屏参数,但未保存应用A和应用B分屏显示时的历史分屏参数时,电子设备按照历史分屏参数的保存时间为最新或出现频度最多的应用的历史分屏参数将应用A和应用B分屏显示。例如:历史分屏记录中保存有应用A和其他应用分屏显示的历史分屏参数的出现次数为5次,应用B和其他应用分屏显示的历史分屏参数出现的次数为10次。则按照应用B的历史分屏记录分屏显示应用B和应用A。
又如,在分屏显示应用A和应用B时,当电子设备既未保存应用A的历史分屏参数,又未保存应用B的历史分屏参数时,按照默认设置分屏显示应用A和应用B。
参考图10b,视频应用的界面1001和微信应用的界面1002分屏显示时,根据历史分屏参数,用户在分屏显示这两个应用时,其显示习惯为“视频”这一应用位于靠近屏幕上边缘的位置,其显示比例为0.8。微信这一应用位于靠近屏幕下边缘的位置,其显示比例为0.2。
在电子设备实现快捷分屏后,本申请实施例还提供一种能够实现快速切换当前要显示的应用程序的界面的方法。参考图11,所述方法包括以下步骤:
1101、电子设备显示第一应用程序的界面和近期任务列表。
其中,所述近期任务列表中包含至少一个第二应用程序的图标。
本申请实施例中,触发电子设备分屏显示所述第一应用程序和近期任务列表的触发操作可以为本申请实施例前述方法所提供的触发电子设备分屏显示的操作,如用户在打开第一应用程序后,用户输入特定语音指令;又如,用户与电子设备的显示屏的接触面积大于一定阈值时触发的从屏幕上边缘开始下拉的滑动操作,或者从屏幕下边缘开始上推的滑动操作等。该触发操作还可以为用户打开某个应用后按压多任务功能键等方式,其具体实现可参考现有技术,此处不再赘述。
1102、电子设备接收用户针对所述近期任务列表中目标第二应用程序的图标的预设操作。
其中,所述预设操作用于触发打开所述目标第二应用程序。
可选的,所述预设操作包括用户单击或多击所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标的操作、电子设备接收用户按压所述近期任务列表中目标第二应用程序的图标后向所述第一应用程序的界面持续滑动的操作。
1103、响应于所述预设操作,所述电子设备显示所述目标第二应用程序的界面,并将所述第一应用程序添加到所述近期任务列表中。
上述方法,当用户打开第一应用后,通过按压多任务功能键等方式触发将第一应用和近期任务列表分屏显示。进而,当用户按压近期任务列表中的某个第二应用的图标并并向第一应用程序的界面持续滑动时,“交换”第一应用和第二应用的显示位置,使得电子设备显示 第二应用的界面,并在近期任务列表中显示第一应用的图标。
参考图11a,电子设备显示“视频”这一应用的界面1104,如操作1105所示,当电子设备检测到用户按压多任务按键等操作时,电子设备将视频应用的界面1104和近期任务列表1106分屏显示。该近期任务列表1106中包括“微信”以及“设置”等用户近期打开过的应用程序的图标。如操作1107所示,当用户按压“微信”这一应用的图标并将其向视频这一应用的界面滑动时,电子设备分屏显示微信应用的界面1108和近期任务列表1106,该近期任务列表1106中显示“视频”这一应用的图标1109。
在实现电子设备快捷分屏之后,本申请实施例还提供了退出分屏的实现方法,如图12所示,该方法包括以下步骤:
1201、电子设备分屏显示第一界面和第二界面。
其中,所述第一界面为第一应用程序的界面,所述第二界面为第二应用程序的界面。
1202、电子设备接收用户由所述第一界面和第二界面之间的分界线的第一位置沿着所述分界线持续滑动到所述分界线的第二位置的滑动操作。
其中,该步骤1202所示的操作可以看作用户模拟擦除分割线的操作。
1203、响应于所述滑动操作,电子设备显示目标应用程序的界面。
其中,所述目标应用程序为所述第一应用程序和所述第二应用程序中的一个。可选的,电子设备接收用户执行的如步骤1202所示的模拟“擦除”分割线的操作后,自动退出分屏,并仅显示用户当前焦点所在应用,也即该当前焦点所在的应用为目标应用程序。其中,所述“用户当前焦点所在应用”是指在用户执行“擦除”分割线的操作之前,用户操作的应用。例如:在用户执行“擦除”分割线的操作之前,用户正在微信聊天,则微信为用户当前焦点所在的应用。如果在用户执行“擦除”分割线的操作之前,用户未对任何应用进行任何操作,则用户当前焦点所在的应用为显示比例较大的应用。
参考图12a,在一种可选实现方式中,手机分屏显示有“视频”这一应用的界面1204和“微信”这一应用的界面1205。“视频”这一应用的界面1204和“微信”这一应用的界面1205之间存在分割线1206。当用户按压分割线1206的第一位置1207a沿着该分割线1206持续滑动到第二位置1207b以模拟“擦除”分割线的操作时,手机退出分屏模式,仅显示“微信”这一应用的界面1205。
参考图12b,在另一种可选实现方式中,手机分屏显示有“视频”这一应用的界面1204和“微信”这一应用的界面1205。“视频”这一应用的界面1204和“微信”这一应用的界面1205之间存在分割线1206。如操作1208所示,当用户按压分割线1206后快速向“视频”这一应用的界面1204加速度操作时,手机最小化显示有视频应用的界面1204,并最大化显示微信这一应用的界面1205,用户可双击视频应用的界面1204以重新将视频应用和微信应用分屏显示。或者(图中未示出这种实现方式),当用户按压分割线1206后快速向“微信”这一应用的界面1205加速度操作时手机退出分屏,手机最大化显示有视频应用的界面1204,并最小化显示微信这一应用的界面1205。
在其他实现方式中(图中未示出该实现方式),当用户按压分割线1206后快速向“视频”这一应用的界面1204加速度操作时,手机退出分屏,仅显示微信这一应用的界面1205。或者,当用户按压分割线1206,快速向“微信”这一应用的界面1205方向加速度操作时手机退出分屏,仅显示“视频”这一应用的界面1204。
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图13示出了上述实施例中所涉及的电子设备的一种可能的结构示意图,电子设备包括:显示单元1301和接收单元1302。具体的,所述显示单元1301用于支持电子设备执行图4中的过程401、过程403、图5中的过程501、503、505;图6中的过程601、603;图7中的过程701、703;图8中的过程801、803;图9中的过程901、903;图11中的过程1101、1103;图12中的过程1201、1203。接收单元1302用于支持电子设备执行图4中的过程402、图5中的过程502、504、图6中的过程602、图7中的过程702、图8中的过程802、图9中的过程902、图11中的过程1102;图12中的过程1202。
可选的,所述电子设备还可能包括存储单元,所述存储单元用于存储所述第一应用程序和第二应用程序分屏显示时的历史分屏记录,该历史分屏记录包括所述第一应用程序和第二应用程序的相对位置以及在所述电子设备显示单元中的显示比例。。
上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图13a示出了上述实施例中所涉及的电子设备的一种可能的结构示意图。电子设备1400包括:处理模块1402和通信模块1403。处理模块1402用于对电子设备的动作进行控制管理,例如,处理模块1402用于支持电子设备执行图5、图6、图7、图8、图9、图11及图12中的各个过程,和/或用于本文所描述的技术的其它过程。通信模块1403用于支持电子设备与其他网络实体的通信,例如与基站或者其他电子设备之间的通信。电子设备1400还可以包括存储模块1401,用于存储电子设备的程序代码和数据。
其中,处理模块1402可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块1403可以是收发器、收发电路或通信接口等。存储模块1401可以是存储器。
当处理模块1402为处理器,通信模块1403为通信接口,存储模块1401为存储器时,本申请实施例所涉及的电子设备可以为图13b所示的电子设备。
参阅图13b所示,该电子设备1500包括:存储器1501、一个或多个处理器1502、输入设备1503、显示屏1504、通信接口1505以及总线1506。其中,存储器1501、一个或多个处理器1502、输入设备1503、显示屏1504以及通信接口1505通过总线1506相互连接。总线1506可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13b中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
具体的,在一种实现中,所述显示屏1504用于显示第一数量的应用程序的图标。所述输入设备1503,用于接收用户对所述第一数量的应用程序的图标中第二数量的应用程序的图标触发的预设操作。所述一个或多个处理器1502,用于响应于所述预设操作,通过所述显示屏1504分屏显示所述第二数量的应用程序的界面。
具体的,在另一种实现中,所述显示屏1504,用于显示第一数量的应用程序的图标。所述输入设备1503,用于接收用户针对第一应用程序的图标的第一操作。所述一个或多个处理器1502,用于响应于所述第一操作,通过所述显示屏1504分屏显示第一界面和第二界面。其中,所述第一操作包括以下操作中的任意一种:多指点击第一应用程序的图标的操作、双击所述第一应用程序的图标的操作、按压所述第一应用程序的图标的操作、按压所述第一应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第一应用程序的图标外的任意一点后沿第二方向持续滑动到第一应用程序的图标的第二滑动操作。所述第一界面为所述第一应用程序的界面;所述第二界面用于显示第二数量的应用程序的图标;所述第二数量小于所述第一数量。
具体的,在又一种实现方式中,所述显示屏1504,用于显示第一界面,所述第一界面为第一应用程序的界面。所述输入设备1503,用于接收用户在所述第一界面执行的预设操作。所述一个或多个处理器1502,用于响应于所述预设操作,通过所述显示屏1504分屏显示所述第一界面和第二界面,所述第二界面用于显示至少一个第二应用程序的图标。其中,所述预设操作包括用户与所述第一界面的接触面积大于第一阈值时触发的滑动操作。
在又一种实现方式中,所述显示屏1504,用于显示第一界面,所述第一界面为第一应用程序的界面。所述输入设备1503,用于接收用户输入的语音指令。所述一个或多个处理器1502,用于响应于所述语音指令,通过所述显示屏1504将所述第一界面和第二界面分屏显示。
在又一种实现方式中,所述显示屏1504,用于显示第一界面,所述第一界面显示有至少一个应用程序的图标。所述输入设备1503,用于接收用户针对所述至少一个应用程序中第一应用程序的图标的预设操作。所述一个或多个处理器1502,用于响应于所述预设操作,通过所述显示屏1504在所述第一界面上叠加显示所述第一应用程序的界面。其中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动的操作。
在又一种实现方式中,所述显示屏1504,用于显示第一应用程序的界面和近期任务列表,所述近期任务列表中包含至少一个第二应用程序的图标。所述输入设备1503,用于接收用户针对所述近期任务列表中目标第二应用程序的图标的预设操作;所述预设操作用于触发打开 所述目标第二应用程序。所述一个或多个处理器1502,用于响应于所述预设操作,通过所述显示屏1504显示所述目标第二应用程序的界面,并将所述第一应用程序添加到所述近期任务列表中。
在又一种实现方式中,所述显示屏1504,用于分屏显示第一界面和第二界面,所述第一界面为第一应用程序的界面,所述第二界面为第二应用程序的界面。所述输入设备1503,用于接收用户由所述第一界面和第二界面之间的分界线的第一位置沿着所述分界线持续滑动到所述分界线的第二位置的滑动操作。所述一个或多个处理器1502,用于响应于所述滑动操作,通过所述显示屏1504显示目标应用程序的界面,所述目标应用程序为所述第一应用程序和所述第二应用程序中的一个。
结合本申请公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。

Claims (36)

  1. 一种多任务操作方法,其特征在于,包括:
    电子设备显示第一数量的应用程序的图标;
    所述电子设备接收用户对所述第一数量的应用程序的图标中第二数量的应用程序的图标触发的预设操作;
    响应于所述预设操作,所述电子设备分屏显示所述第二数量的应用程序的界面;
    其中,所述第二数量大于等于两个且小于等于所述第一数量;
    所述预设操作包括以下操作中的任意一种:单击所述第二数量的应用程序的图标的操作、多击所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第二数量的应用程序的图标外的任意一点后沿第二方向持续滑动到所述第二数量的应用程序的图标的第二滑动操作。
  2. 根据权利要求1所述的方法,其特征在于,所述第二数量的应用程序包括第一应用程序和第二应用程序;所述第一应用程序属于第一类预设应用程序或第一预设应用程序,所述第二应用程序属于第二类预设应用程序或第二预设应用程序;
    所述响应于所述预设操作,所述电子设备分屏显示所述第二数量的应用程序的界面,具体包括:
    响应于所述预设操作,所述电子设备分屏显示所述第一应用程序的界面和第二应用程序的界面;
    其中,所述第一应用程序的界面在所述电子设备显示屏上的显示比例大于所述第二应用程序的界面在所述电子设备显示屏上的显示比例。
  3. 根据权利要求1所述的方法,其特征在于,所述第二数量的应用程序包括第一应用程序和第二应用程序;所述电子设备存储有所述第一应用程序和第二应用程序分屏显示时的历史分屏记录,所述历史分屏记录包括所述第一应用程序和第二应用程序的相对位置以及在所述电子设备显示屏上的显示比例;
    所述响应于所述预设操作,所述电子设备分屏显示所述第二数量的应用程序的界面,具体包括:
    响应于所述预设操作,所述电子设备按照所述历史分屏记录分屏显示所述第一应用程序的界面和第二应用程序的界面。
  4. 一种多任务操作方法,其特征在于,包括:
    电子设备显示第一数量的应用程序的图标;
    所述电子设备接收用户针对第一应用程序的图标的第一操作;
    响应于所述第一操作,所述电子设备分屏显示第一界面和第二界面;
    其中,所述第一操作包括以下操作中的任意一种:多指点击第一应用程序的图标的操作、双击所述第一应用程序的图标的操作、按压所述第一应用程序的图标的操作、按压所述第一应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第一应用程序的图标外的任意一点后沿第二方向持续滑动到第一应用程序的图标的第二滑动操作;
    所述第一界面为所述第一应用程序的界面;所述第二界面用于显示第二数量的应用程序的图标;所述第二数量小于所述第一数量。
  5. 根据权利要求4所述的方法,其特征在于,所述第一界面在所述电子设备显示屏上的显示比例大于所述第二界面在所述电子设备显示屏上的显示比例。
  6. 根据权利要求4或5所述的方法,其特征在于,所述电子设备存储有所述第一应用程序对应的历史分屏记录,所述历史分屏记录用于记录在用户的历史分屏操作中,和所述第一应用程序分屏显示的至少一个第二应用程序;
    所述第二数量的应用程序包括所述历史分屏记录中记录的至少一个第二应用程序。
  7. 根据权利要求4至6任一项所述的方法,其特征在于,在所述电子设备分屏显示所述第一界面和第二界面之后,所述方法还包括:
    所述电子设备接收用户在所述第二界面中对目标第二应用程序的第二操作,所述第二操作用于触发所述电子设备打开所述目标第二应用程序;
    响应于所述第二操作,所述电子设备分屏显示所述第一应用程序的界面和所述目标第二应用程序的界面。
  8. 一种多任务操作方法,其特征在于,包括:
    电子设备显示第一界面,所述第一界面为第一应用程序的界面;
    所述电子设备接收用户在所述第一界面执行的预设操作;
    响应于所述预设操作,所述电子设备分屏显示所述第一界面和第二界面,所述第二界面用于显示至少一个第二应用程序的图标;
    其中,所述预设操作包括用户与所述第一界面的接触面积大于第一阈值时触发的滑动操作。
  9. 一种多任务操作方法,其特征在于,包括:
    电子设备显示第一界面,所述第一界面为第一应用程序的界面;
    所述电子设备接收用户输入的语音指令;
    响应于所述语音指令,所述电子设备将所述第一界面和第二界面分屏显示。
  10. 根据权利要求9所述的方法,其特征在于,所述语音指令用于指示用于和所述第一应用程序分屏显示的第二应用程序;
    所述响应于所述语音指令,所述电子设备将所述第一界面和第二界面分屏显示,包括:
    响应于所述语音指令,所述电子设备将所述第一应用程序的界面和所述第二应用程序的界面分屏显示。
  11. 根据权利要求9所述的方法,其特征在于,所述语音指令用于指示所述电子设备开启分屏功能;
    所述响应于所述语音指令,所述电子设备将所述第一界面和第二界面分屏显示,包括:
    响应于所述语音指令,所述电子设备将所述第一应用程序的界面和第二界面分屏显示,所述第二界面显示有至少一个第二应用程序的图标。
  12. 根据权利要求11所述的方法,其特征在于,在所述电子设备将所述第一应用程序的界面和第二界面分屏显示之后,所述方法还包括:
    所述电子设备接收用户针对所述至少一个第二应用程序中目标第二应用程序的图标的第二操作,所述第二操作用于触发打开所述目标第二应用程序;
    响应于所述第二操作,所述电子设备将所述第一应用程序的界面和所述目标第二应用程序的界面分屏显示。
  13. 一种多任务操作方法,其特征在于,包括:
    电子设备显示第一界面,所述第一界面显示有至少一个应用程序的图标;
    所述电子设备接收用户针对所述至少一个应用程序中第一应用程序的图标的预设操作;
    响应于所述预设操作,所述电子设备在所述第一界面上叠加显示所述第一应用程序的界面;
    其中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动的操作。
  14. 根据权利要求13所述的方法,其特征在于,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动到第一界面的第一位置的操作;
    所述响应于所述预设操作,所述电子设备在所述第一界面上叠加显示所述第一应用程序的界面,包括:
    响应于所述预设操作,所述电子设备在所述第一界面的所述第一位置叠加显示所述第一应用程序的界面。
  15. 根据权利要求13或14所述的方法,其特征在于,所述电子设备存储有在所述第一界面上叠加显示所述第一应用程序的界面时的历史显示记录,所述历史显示记录包括所述第一应用程序的界面的显示大小和显示位置;
    所述响应于所述预设操作,所述电子设备在所述第一界面上叠加显示所述第一应用程序的界面,包括:
    响应于所述预设操作,所述电子设备根据所述历史显示记录在所述第一界面上叠加显示所述第一应用程序的界面。
  16. 一种多任务操作方法,其特征在于,所述方法包括:
    电子设备显示第一应用程序的界面和近期任务列表,所述近期任务列表中包含至少一个第二应用程序的图标;
    所述电子设备接收用户针对所述近期任务列表中目标第二应用程序的图标的预设操作;所述预设操作用于触发打开所述目标第二应用程序;
    响应于所述预设操作,所述电子设备显示所述目标第二应用程序的界面,并将所述第一应用程序添加到所述近期任务列表中;
    其中,所述预设操作包括单击或多击所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标后向所述第一应用程序的界面拖动的操作。
  17. 一种多任务操作的方法,其特征在于,包括:
    电子设备分屏显示第一界面和第二界面,所述第一界面为第一应用程序的界面,所述第二界面为第二应用程序的界面;
    所述电子设备接收用户由所述第一界面和第二界面之间的分界线的第一位置沿着所述分界线持续滑动到所述分界线的第二位置的滑动操作;
    响应于所述滑动操作,所述电子设备显示目标应用程序的界面,所述目标应用程序为所述第一应用程序和所述第二应用程序中的一个。
  18. 一种电子设备,其特征在于,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储一个或多个程序,所述一个或多个程序中包括指令;
    所述显示屏,用于显示第一数量的应用程序的图标;
    所述输入设备,用于接收用户对所述第一数量的应用程序的图标中第二数量的应用程序的图标触发的预设操作;
    所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏分屏显示所述第二数量的应用程序的界面;
    其中,所述第二数量大于等于两个且小于等于所述第一数量;
    所述预设操作包括以下操作中的任意一种:单击所述第二数量的应用程序的图标的操作、多击所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标的操作、按压所述第二数量的应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第二数量的应用程序的图标外的任意一点后沿第二方向持续滑动到所述第二数量的应用程序的图标的第二滑动操作。
  19. 根据权利要求18所述的电子设备,其特征在于,所述第二数量的应用程序包括第一应用程序和第二应用程序;所述第一应用程序属于第一类预设应用程序或第一预设应用程序,所述第二应用程序属于第二类预设应用程序或第二预设应用程序;
    所述一个或多个处理器,还用于响应于所述预设操作,通过所述显示屏分屏显示所述第一应用程序的界面和第二应用程序的界面;
    其中,所述第一应用程序的界面在所述电子设备显示屏上的显示比例大于所述第二应用程序的界面在所述电子设备显示屏上的显示比例。
  20. 根据权利要求18所述的电子设备,其特征在于,所述第二数量的应用程序包括第一应用程序和第二应用程序;
    所述存储器,还用于存储所述第一应用程序和第二应用程序分屏显示时的历史分屏记录,所述历史分屏记录包括所述第一应用程序和第二应用程序的相对位置以及在所述电子设备显示屏上的显示比例;
    所述一个或多个处理器,还用于响应于所述预设操作,按照所述历史分屏记录分屏通过所述显示屏显示所述第一应用程序的界面和第二应用程序的界面。
  21. 一种电子设备,其特征在于,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令;
    所述显示屏,用于显示第一数量的应用程序的图标;
    所述输入设备,用于接收用户针对第一应用程序的图标的第一操作;
    所述一个或多个处理器,用于响应于所述第一操作,通过所述显示屏分屏显示第一界面和第二界面;
    其中,所述第一操作包括以下操作中的任意一种:多指点击第一应用程序的图标的操作、双击所述第一应用程序的图标的操作、按压所述第一应用程序的图标的操作、按压所述第一应用程序的图标后沿第一方向持续滑动的第一滑动操作、按压所述第一应用程序的图标外的任意一点后沿第二方向持续滑动到第一应用程序的图标的第二滑动操作;
    所述第一界面为所述第一应用程序的界面;所述第二界面用于显示第二数量的应用程序的图标;所述第二数量小于所述第一数量。
  22. 根据权利要求21所述的电子设备,其特征在于,所述第一界面在所述显示屏上的 显示比例大于所述第二界面在所述显示屏上的显示比例。
  23. 根据权利要求21或22所述的电子设备,其特征在于,所述存储器,还用于存储所述第一应用程序对应的历史分屏记录,所述历史分屏记录用于记录在用户的历史分屏操作中,和所述第一应用程序分屏显示的至少一个第二应用程序;
    所述第二数量的应用程序包括所述历史分屏记录中记录的至少一个第二应用程序。
  24. 根据权利要求21至23任一项所述的电子设备,其特征在于,
    所述输入设备,还用于接收用户在所述第二界面中对目标第二应用程序的第二操作,所述第二操作用于触发所述电子设备打开所述目标第二应用程序;
    所述一个或多个处理器,还用于响应于所述第二操作,通过所述显示屏分屏显示所述第一应用程序的界面和所述目标第二应用程序的界面。
  25. 一种电子设备,其特征在于,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令;
    所述显示屏,用于显示第一界面,所述第一界面为第一应用程序的界面;
    所述输入设备,用于接收用户在所述第一界面执行的预设操作;
    所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏分屏显示所述第一界面和第二界面,所述第二界面用于显示至少一个第二应用程序的图标;
    其中,所述预设操作包括用户与所述第一界面的接触面积大于第一阈值时触发的滑动操作。
  26. 一种电子设备,其特征在于,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令;
    所述显示屏,用于显示第一界面,所述第一界面为第一应用程序的界面;
    所述输入设备,用于接收用户输入的语音指令;
    所述一个或多个处理器,用于响应于所述语音指令,通过所述显示屏将所述第一界面和第二界面分屏显示。
  27. 根据权利要求26所述的电子设备,其特征在于,所述语音指令用于指示用于和所述第一应用程序分屏显示的第二应用程序;
    所述一个或多个处理器,用于响应于所述语音指令,通过所述显示屏将所述第一应用程序的界面和所述第二应用程序的界面分屏显示。
  28. 根据权利要求26所述的电子设备,其特征在于,所述语音指令用于指示所述电子设备开启分屏功能;
    所述一个或多个处理器,用于响应于所述语音指令,通过所述显示屏将所述第一应用程序的界面和第二界面分屏显示,所述第二界面显示有至少一个第二应用程序的图标。
  29. 根据权利要求28所述的电子设备,其特征在于,
    所述输入设备,还用于接收用户针对所述至少一个第二应用程序中目标第二应用程序的图标的第二操作,所述第二操作用于触发打开所述目标第二应用程序;
    所述一个或多个处理器,还用于响应于所述第二操作,通过所述显示屏将所述第一应用程序的界面和所述目标第二应用程序的界面分屏显示。
  30. 一种电子设备,其特征在于,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令;
    所述显示屏,用于显示第一界面,所述第一界面显示有至少一个应用程序的图标;
    所述输入设备,用于接收用户针对所述至少一个应用程序中第一应用程序的图标的预设操作;
    所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏在所述第一界面上叠加显示所述第一应用程序的界面;
    其中,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动的操作。
  31. 根据权利要求30所述的电子设备,其特征在于,所述预设操作包括按压所述第一应用程序的图标后沿第一方向持续滑动到第一界面的第一位置的操作;
    所述一个或多个处理器,还用于响应于所述预设操作,通过所述显示屏在所述第一界面的所述第一位置叠加显示所述第一应用程序的界面。
  32. 根据权利要求30或31所述的电子设备,其特征在于,所述存储器,还用于存储在所述第一界面上叠加显示所述第一应用程序的界面时的历史显示记录,所述历史显示记录包括所述第一应用程序的界面的显示大小和显示位置;
    所述一个或多个处理器,还用于响应于所述预设操作,根据所述历史显示记录通过所述显示屏在所述第一界面上叠加显示所述第一应用程序的界面。
  33. 一种电子设备,其特征在于,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令;
    所述显示屏,用于显示第一应用程序的界面和近期任务列表,所述近期任务列表中包含至少一个第二应用程序的图标;
    所述输入设备,用于接收用户针对所述近期任务列表中目标第二应用程序的图标的预设操作;所述预设操作用于触发打开所述目标第二应用程序;
    所述一个或多个处理器,用于响应于所述预设操作,通过所述显示屏显示所述目标第二应用程序的界面,并将所述第一应用程序添加到所述近期任务列表中;
    其中,所述预设操作包括单击或多击所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标的操作、按压所述目标第二应用程序的图标后向所述第一应用程序的界面拖动的操作。
  34. 一种电子设备,其特征在于,包括:通过总线互相连接的显示屏、输入设备、一个或多个处理器和存储器;其中,所述存储器,用于存储有一个或多个程序,所述一个或多个程序中包括指令;
    所述显示屏,用于分屏显示第一界面和第二界面,所述第一界面为第一应用程序的界面,所述第二界面为第二应用程序的界面;
    所述输入设备,用于接收用户由所述第一界面和第二界面之间的分界线的第一位置沿着所述分界线持续滑动到所述分界线的第二位置的滑动操作;
    所述一个或多个处理器,用于响应于所述滑动操作,通过所述显示屏显示目标应用程序的界面,所述目标应用程序为所述第一应用程序和所述第二应用程序中的一个。
  35. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述权利要求1至3任一项或者权利要求4至7任一项或者权利要求8或者权利要求9至12任一项或者权利要求13至15任一项或者权利要求16或者权利要求17所述的方法。
  36. 一种计算机程序产品,其特征在于,所述计算机程序产品包含指令,当其在计算机上运行时,使得计算机执行上述权利要求1至3任一项或者权利要求4至7任一项或者权利要求8或者权利要求9至12任一项或者权利要求13至15任一项或者权利要求16或者权利要求17所述的方法。
PCT/CN2017/093430 2017-07-18 2017-07-18 一种多任务操作方法及电子设备 WO2019014859A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2017/093430 WO2019014859A1 (zh) 2017-07-18 2017-07-18 一种多任务操作方法及电子设备
CN201780091772.2A CN110709806A (zh) 2017-07-18 2017-07-18 一种多任务操作方法及电子设备
US16/631,735 US20200183574A1 (en) 2017-07-18 2017-07-18 Multi-Task Operation Method and Electronic Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/093430 WO2019014859A1 (zh) 2017-07-18 2017-07-18 一种多任务操作方法及电子设备

Publications (1)

Publication Number Publication Date
WO2019014859A1 true WO2019014859A1 (zh) 2019-01-24

Family

ID=65014904

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093430 WO2019014859A1 (zh) 2017-07-18 2017-07-18 一种多任务操作方法及电子设备

Country Status (3)

Country Link
US (1) US20200183574A1 (zh)
CN (1) CN110709806A (zh)
WO (1) WO2019014859A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238759A1 (zh) * 2019-05-25 2020-12-03 华为技术有限公司 一种界面显示方法和电子设备
CN112346801A (zh) * 2019-04-15 2021-02-09 苹果公司 用于与多个应用程序窗口交互的系统、方法和用户界面
CN113360224A (zh) * 2021-05-06 2021-09-07 维沃移动通信(杭州)有限公司 一种操作方法和装置
EP3951578A4 (en) * 2019-05-24 2022-06-15 Huawei Technologies Co., Ltd. PROCESSING METHOD, DEVICE AND APPARATUS FOR SHARED SCREEN DISPLAY AND STORAGE MEDIA
CN114968046A (zh) * 2021-02-18 2022-08-30 深圳市柔宇科技股份有限公司 分屏的交互方法及电子设备
WO2023010940A1 (zh) * 2021-08-03 2023-02-09 荣耀终端有限公司 分屏显示方法和装置
US12026367B2 (en) 2021-08-03 2024-07-02 Honor Device Co., Ltd. Split-screen display method and apparatus

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD941830S1 (en) * 2018-07-26 2022-01-25 Samsung Electronics Co., Ltd. Display screen or portion thereof with graphical user interface
CN109656439A (zh) * 2018-12-17 2019-04-19 北京小米移动软件有限公司 快捷操作面板的显示方法、装置及存储介质
US11252274B2 (en) * 2019-09-30 2022-02-15 Snap Inc. Messaging application sticker extensions
CN112199146A (zh) * 2020-10-12 2021-01-08 维沃移动通信有限公司 界面切换方法、装置及电子设备
CN112269508B (zh) * 2020-10-27 2022-07-29 维沃移动通信有限公司 显示方法、装置和电子设备
CN112423086A (zh) * 2020-11-10 2021-02-26 北京达佳互联信息技术有限公司 视频的显示方法、装置、电子设备及存储介质
CN112540740A (zh) * 2020-12-09 2021-03-23 维沃移动通信有限公司 分屏显示方法、装置、电子设备和可读存储介质
CN112764630A (zh) * 2021-01-27 2021-05-07 维沃移动通信有限公司 应用程序图标显示方法及装置
CN112925598B (zh) * 2021-03-17 2022-07-26 联想(北京)有限公司 应用程序启动方法、启动装置及电子设备
CN115525187B (zh) * 2022-01-30 2023-08-11 荣耀终端有限公司 一种分屏方法以及相关设备
CN114327189B (zh) * 2022-03-07 2022-09-30 深圳传音控股股份有限公司 操作方法、智能终端及存储介质
CN114827708A (zh) * 2022-04-12 2022-07-29 Oppo广东移动通信有限公司 视频播放方法、装置以及电子设备
CN115185423B (zh) * 2022-07-14 2024-01-19 Oppo广东移动通信有限公司 近期任务显示方法、装置、电子设备及存储介质
CN115185446A (zh) * 2022-07-21 2022-10-14 Oppo广东移动通信有限公司 应用程序内执行系统级操作的方法、装置、电子设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120011467A1 (en) * 2010-07-06 2012-01-12 Compal Electronics, Inc. Window Opening and Arranging Method
CN103744671A (zh) * 2013-12-31 2014-04-23 联想(北京)有限公司 一种信息处理的方法及电子设备
CN104298434A (zh) * 2014-09-30 2015-01-21 联想(北京)有限公司 一种信息处理方法及电子设备
CN104536795A (zh) * 2015-01-23 2015-04-22 深圳市中兴移动通信有限公司 一种应用程序的启动方法及装置
CN104881266A (zh) * 2015-06-16 2015-09-02 魅族科技(中国)有限公司 一种应用分屏显示的控制方法及终端
CN104898952A (zh) * 2015-06-16 2015-09-09 魅族科技(中国)有限公司 一种终端分屏实现方法及终端
CN104991704A (zh) * 2015-07-06 2015-10-21 魅族科技(中国)有限公司 一种终端分屏方法及终端
CN105808095A (zh) * 2015-07-08 2016-07-27 维沃移动通信有限公司 一种终端的应用界面的显示方法及终端
CN106484220A (zh) * 2016-09-19 2017-03-08 珠海格力电器股份有限公司 一种分屏显示方法、装置及终端

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324435B (zh) * 2013-05-24 2017-02-08 华为技术有限公司 分屏显示的方法、装置及其电子设备
CN104820552A (zh) * 2015-04-29 2015-08-05 努比亚技术有限公司 移动终端的分屏显示方法及移动终端
CN106201157B (zh) * 2015-05-05 2020-02-21 阿里巴巴集团控股有限公司 应用窗口的调节方法、装置
CN105242898B (zh) * 2015-10-22 2019-01-22 努比亚技术有限公司 移动终端分屏显示装置和方法
CN105426097B (zh) * 2015-10-30 2020-07-31 深圳市名思展示设计工程有限公司 一种分屏大小实时调整方法及分屏装置
CN105677231B (zh) * 2016-02-23 2019-10-15 努比亚技术有限公司 关联应用分屏显示装置、方法及终端
CN106919302B (zh) * 2017-02-16 2019-12-27 北京小米移动软件有限公司 移动终端的操作控制方法及装置
CN106933450A (zh) * 2017-03-13 2017-07-07 联想(北京)有限公司 一种控制方法及电子设备

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120011467A1 (en) * 2010-07-06 2012-01-12 Compal Electronics, Inc. Window Opening and Arranging Method
CN103744671A (zh) * 2013-12-31 2014-04-23 联想(北京)有限公司 一种信息处理的方法及电子设备
CN104298434A (zh) * 2014-09-30 2015-01-21 联想(北京)有限公司 一种信息处理方法及电子设备
CN104536795A (zh) * 2015-01-23 2015-04-22 深圳市中兴移动通信有限公司 一种应用程序的启动方法及装置
CN104881266A (zh) * 2015-06-16 2015-09-02 魅族科技(中国)有限公司 一种应用分屏显示的控制方法及终端
CN104898952A (zh) * 2015-06-16 2015-09-09 魅族科技(中国)有限公司 一种终端分屏实现方法及终端
CN104991704A (zh) * 2015-07-06 2015-10-21 魅族科技(中国)有限公司 一种终端分屏方法及终端
CN105808095A (zh) * 2015-07-08 2016-07-27 维沃移动通信有限公司 一种终端的应用界面的显示方法及终端
CN106484220A (zh) * 2016-09-19 2017-03-08 珠海格力电器股份有限公司 一种分屏显示方法、装置及终端

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346801A (zh) * 2019-04-15 2021-02-09 苹果公司 用于与多个应用程序窗口交互的系统、方法和用户界面
EP3951578A4 (en) * 2019-05-24 2022-06-15 Huawei Technologies Co., Ltd. PROCESSING METHOD, DEVICE AND APPARATUS FOR SHARED SCREEN DISPLAY AND STORAGE MEDIA
US11822784B2 (en) 2019-05-24 2023-11-21 Huawei Technologies Co., Ltd. Split-screen display processing method and apparatus, device, and storage medium
WO2020238759A1 (zh) * 2019-05-25 2020-12-03 华为技术有限公司 一种界面显示方法和电子设备
CN114968046A (zh) * 2021-02-18 2022-08-30 深圳市柔宇科技股份有限公司 分屏的交互方法及电子设备
CN113360224A (zh) * 2021-05-06 2021-09-07 维沃移动通信(杭州)有限公司 一种操作方法和装置
WO2023010940A1 (zh) * 2021-08-03 2023-02-09 荣耀终端有限公司 分屏显示方法和装置
US12026367B2 (en) 2021-08-03 2024-07-02 Honor Device Co., Ltd. Split-screen display method and apparatus

Also Published As

Publication number Publication date
US20200183574A1 (en) 2020-06-11
CN110709806A (zh) 2020-01-17

Similar Documents

Publication Publication Date Title
WO2019014859A1 (zh) 一种多任务操作方法及电子设备
US11907013B2 (en) Continuity of applications across devices
US11269575B2 (en) Devices, methods, and graphical user interfaces for wireless pairing with peripheral devices and displaying status information concerning the peripheral devices
US20230052490A1 (en) Remote user interface
US11922518B2 (en) Managing contact information for communication applications
CN108701001B (zh) 显示图形用户界面的方法及电子设备
WO2018082269A1 (zh) 菜单显示方法及终端
WO2017088131A1 (zh) 一种快速分屏的方法、装置、电子设备、显示界面以及存储介质
CN107193455B (zh) 一种信息处理方法及移动终端
US20120032891A1 (en) Device, Method, and Graphical User Interface with Enhanced Touch Targeting
CN110007996B (zh) 应用程序管理方法及终端
WO2019000287A1 (zh) 一种图标显示方法及装置
WO2014206101A1 (zh) 一种基于手势的会话处理方法、装置及终端设备
WO2017113379A1 (zh) 一种用户界面的菜单显示方法及手持终端
WO2021036603A1 (zh) 应用程序的控制方法及终端
CN110879680B (zh) 一种图标管理方法及电子设备
WO2017193496A1 (zh) 应用数据的处理方法、装置和终端设备
WO2013135169A1 (zh) 一种输入法键盘的调整方法及其移动终端
CN106775185B (zh) 一种桌面显示方法及终端
CN106951143B (zh) 隐藏应用图标的方法及装置
CN110795189A (zh) 一种应用启动方法及电子设备
US20230195237A1 (en) Navigating user interfaces using hand gestures
CN108153460B (zh) 一种图标隐藏方法及终端
CN109074124B (zh) 数据处理的方法及移动设备
WO2018112803A1 (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: 17918671

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17918671

Country of ref document: EP

Kind code of ref document: A1