WO2021082739A1 - 多任务界面管理方法及电子设备 - Google Patents

多任务界面管理方法及电子设备 Download PDF

Info

Publication number
WO2021082739A1
WO2021082739A1 PCT/CN2020/113804 CN2020113804W WO2021082739A1 WO 2021082739 A1 WO2021082739 A1 WO 2021082739A1 CN 2020113804 W CN2020113804 W CN 2020113804W WO 2021082739 A1 WO2021082739 A1 WO 2021082739A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
electronic device
user
task area
applications
Prior art date
Application number
PCT/CN2020/113804
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 华为技术有限公司
Publication of WO2021082739A1 publication Critical patent/WO2021082739A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the field of terminal technology, and in particular to a multi-task interface management method and electronic equipment.
  • a multi-task interface is set in an electronic device to realize switching between multiple applications.
  • the cards corresponding to multiple applications (tasks) that have been activated by the electronic device are displayed in an arrangement such as stacking, stacking, or side-by-side.
  • the card interface in the multitasking interface corresponds to the interface when the user exits the application. The user clicks on the card on the multitasking interface, and the application corresponding to the card is run in the foreground.
  • the cards corresponding to multiple applications are arranged side by side on the display screen of the electronic device in a manner of side-by-side display, evenly distributed horizontally.
  • the card corresponding to one application can only be displayed completely in Figure 1, and the cards corresponding to the other applications can only display part of the content. Therefore, when there are too many applications that have been started and running, the user can only find the application that he wants to start by swiping left and right on the display screen, which is very time-consuming and affects the user experience.
  • the present application provides a multi-task interface management method and electronic equipment, which can realize rapid switching of applications, simplify user operations, and improve user experience.
  • the present application provides a multi-task interface management method applied to an electronic device, the display interface of the electronic device is provided with a task area, and the method includes: in response to a preset operation, the electronic device determines one or more application programs One or more applications include the applications currently running on the electronic device; preset operations include: unlocking, switching to the desktop, or clicking the start button in the task area; the electronic device is based on one or The priority order of multiple applications, the icon of one or more applications is displayed in the task area according to preset rules.
  • the electronic device if the electronic device is running one or more applications and detects the unlocking operation of the user, it can determine the priority order of these applications based on the predicted possibility of the user launching the running applications, and based on the priority
  • the level sequence displays the icons of one or more applications in the task area. Furthermore, the user can quickly lock the application to be started in the task area, and can directly drive the electronic device to perform corresponding actions, such as starting the corresponding application, by directly operating the icon displayed in the task area.
  • the electronic device determining one or more priority orders includes: the electronic device determines the priority order of one or more applications according to the application data, and the application data includes one or more of the following Items: the start time of the application, the start location of the application, the start frequency of the application, and the length of time the application is used.
  • the electronic device obtains the possibility of the user launching one or more applications based on the application data, and arranges and displays the application icons in the task area according to the possibility, that is, the priority order.
  • the application data includes user usage data related to the user, and the application recommended according to the user's usage habits can better meet the needs of the user.
  • the user will use Alipay to pay for breakfast at 8 o'clock every morning. Then, when the user unlocks the phone at 8 in the morning, the electronic device predicts that the user may start Alipay at this time, and then judges Alipay as the application with the highest priority, and displays the display position in the task area that is the easiest for the user to operate, so that the user can Quickly lock and activate Alipay without having to search again.
  • the electronic device displays the icon of one or more applications in the task area according to the priority order of one or more applications according to preset rules, including: the electronic device displays the icons of one or more applications in accordance with the priority order of the one or more applications.
  • the priority order of the program according to the priority order of the display position in the task area, display one or more application icons.
  • the task area is a rectangular area displayed below or above the display interface
  • the priority order of display positions in the task area includes: the central display position of the task area is the display position with the highest priority, The display positions arranged on the side have lower priority; or, the display position on the far left of the task area is the display position with the highest priority, and the display positions arranged to the right have lower priority; or, the display position on the far right of the task area is For the display position with the highest priority, the display position arranged to the left has a lower priority.
  • the priority order of each display position in the task area can be determined according to the user's usage habits, and the priority of the application program can be matched with the priority of the position in the task area, thereby facilitating the user to quickly start the application program. For example, if the user can quickly lock the central position of the task area, the central display position of the task area is determined as the display position with the highest priority, and the priority order is lowered along both sides. For another example, if the electronic device has a large display screen and it is not convenient for the user to click too far with one hand, the display position on the left or right side of the task area is determined as the display position with the highest priority, which is convenient for the user to operate.
  • the electronic device determines the priority order of one or more applications, including: the electronic device detects the user's unlocking operation for the i+1th time, and resets the first application It is determined as the application with the highest priority; the first application is an application that is started by the user and is not displayed in the task area after the electronic device is unlocked for the i time.
  • the electronic device detects the unlocking operation of the user for the i+1th time, and determines one or more second applications as the highest priority application program in the first application program; wherein, the electronic device according to the one or more first applications The download time sequence of the second application program determines the priority sequence of one or more second application programs.
  • the newly-launched application after the user unlocks this time may be an application that the user wants to use after unlocking the next time. Therefore, the application icon can be placed in the higher priority display position of the task area, which is convenient for the user to start . Or, after the user unlocks the newly-downloaded application program this time, the possibility of the user launching it next time is also higher, so it is arranged in the higher priority display position of the task area.
  • the electronic device detects that the user starts the first application, and the first application is an application that is started by the user and is not displayed in the task area. Then, when the electronic device detects that the user switches the first application to The operation of the desktop matches the priority order according to the switching order of the first application, and the priority of the first application is lower than the priority of one or more applications; wherein, the number of the first application is one or more.
  • the icon of the application can also be displayed in the task area, ensuring that the user can subsequently start the application and can lock the icon in the task area. Without having to search and find in multiple applications on the desktop.
  • the electronic device detects that the user has started the third application, and the electronic device displays the icon of the application with a higher degree of association according to the degree of association with the third application in one or more applications.
  • association recommendation can be performed, which is more convenient for users to operate.
  • the electronic device can arrange the retouching application icon in the higher priority display position of the task area, which is convenient for the user to quickly lock , Start the retouching application to improve user experience.
  • the electronic device in response to a click operation on the icon of the target application, the electronic device runs the target application in the foreground. In response to the long-press and slide-up operation on the icon of the target application, the electronic device deletes the icon of the target application in the task area.
  • the electronic device detects various operations of the user on the icon of the application program displayed in the task area, and executes various preset actions to meet the needs of the user. For example, when the electronic device detects the user's operation of clicking an icon, it starts the application program corresponding to the icon. For another example, if the electronic device detects that the user presses and slides up on an icon, it deletes the icon.
  • the electronic device in response to the sliding operation in the task area, displays the icon of the application program in the hidden area.
  • the task area includes a display area and a hidden area.
  • the size of the display area is limited by the size of the display screen of the electronic device.
  • the icons of the applications included in the hidden area can be displayed through a sliding operation.
  • the task area can include more Application icon.
  • the electronic device in response to a two-finger pinching or two-finger stretching operation in the task area, the electronic device enlarges or reduces the task area.
  • the application icons displayed in the task area will also be enlarged or reduced accordingly, thereby more satisfying the user's usage habits. If the user is an elderly person, a larger icon can make the user see more clearly.
  • the icon displayed in the task area is refreshed according to the priority order of one or more currently running applications according to a preset period.
  • the electronic device detects the user's operation to start an application contained in the non-task area, and detects the user's operation to switch to the desktop, it will refresh the task area display content. If the user does not lock the screen for a long time, the electronic device The device will also refresh the content displayed in the task area according to the preset period to ensure that the icons displayed in the current task area can meet the needs of users.
  • the display interface of the electronic device is provided with a task area start button, and the method includes: in response to an operation of the user clicking the task area start button, the electronic device displays the task area.
  • the task area can be continuously displayed in a fixed position on the display interface of the electronic device, or a task area start button can be set on the display interface of the electronic device. If the user needs to switch applications, the task area can be started by operating the task area start button. In addition, each time the electronic device detects that the user operates the task area start button, it will obtain the priority order of the currently running application program, so as to meet the user's current need to quickly start the application program.
  • an embodiment of the present application provides an electronic device, and the electronic device may be a device that implements the method in the first aspect described above.
  • the electronic device may include: one or more processors; a memory in which instructions are stored; a touch screen for detecting touch operations and displaying task areas; if the instructions are executed by one or more processors, the electronic The device executes the multi-task interface management method of the first aspect.
  • the present application provides an electronic device that has the function of realizing the multi-task interface management method of any one of the above-mentioned first aspects.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • an embodiment of the present application provides a computer-readable storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute as described in the first aspect and any one of its possible implementation manners. The method described.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method described in the first aspect and any of the possible implementation manners.
  • a circuit system in a sixth aspect, includes a processing circuit configured to execute the multitasking interface management method according to any one of the above-mentioned first aspects.
  • an embodiment of the present application provides a chip system, which includes at least one processor and at least one interface circuit.
  • the at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor.
  • at least one processor executes the multi-task interface management method in the first aspect and any possible implementation manner thereof.
  • FIG. 1 is a schematic diagram of a multi-task interface in the prior art provided by an embodiment of the application;
  • FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of a configuration block diagram of a programming module provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram 1 of an application scenario of the multi-task interface management method provided by an embodiment of the application;
  • FIG. 5 is a schematic diagram 2 of an application scenario of the multi-task interface management method provided by an embodiment of the application;
  • FIG. 6 is a third schematic diagram of an application scenario of the multi-task interface management method provided by an embodiment of the application.
  • FIG. 7 is a fourth schematic diagram of an application scenario of the multi-task interface management method provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram 5 of an application scenario of the multi-task interface management method provided by an embodiment of the application.
  • FIG. 9 is a sixth schematic diagram of an application scenario of the multi-task interface management method provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram 7 of the application scenario of the multi-task interface management method provided by an embodiment of the application;
  • FIG. 11 is an eighth schematic diagram of an application scenario of the multi-task interface management method provided by an embodiment of the application.
  • FIG. 12 is a first structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 13 is a second structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 14 is a schematic structural diagram of a chip system provided by an embodiment of the application.
  • the embodiment of the present application provides a multi-task interface management method, which can be applied to electronic devices.
  • the electronic device may be a mobile phone, wearable device, vehicle-mounted device, augmented reality (AR) ⁇ virtual reality (VR) device, personal digital assistant (PDA), artificial intelligence (PDA), Intelligence, AI) terminal, etc.
  • AR augmented reality
  • VR virtual reality
  • PDA personal digital assistant
  • AI artificial intelligence
  • the embodiment of the application does not impose any restrictions on this.
  • the above-mentioned electronic device is a device that can run multiple tasks at the same time.
  • the task can include applications (or application software), documents, pages, or any other activities that can be performed in conjunction with electronic devices.
  • the electronic device in the embodiment of the present application may be a mobile phone 100.
  • the following takes the mobile phone 100 as an example to describe the embodiments of the present application in detail. It should be understood that the illustrated mobile phone 100 is only an example of the above-mentioned electronic device, and the mobile phone 100 may have more or less components than those shown in FIG. 2, and two or more components may be combined. Or it can have different component configurations.
  • the mobile phone 100 can communicate with other electronic devices 102 and 104 and the server 106 in addition to the mobile phone 100.
  • the mobile phone 100 may include a bus 110, a processor 120, a memory 130, a user input module 150, a display module 160, a communication configuration control module 170, and other similar and/or suitable components.
  • the bus 110 may be a circuit that connects the aforementioned elements to each other and transfers communication (for example, control messages) between the aforementioned elements.
  • the processor 120 may receive commands from the above-mentioned other elements (for example, the memory 130, the user input module 150, the display module 160, the communication configuration control module 170, etc.) through the bus 110, may interpret the received commands, and may perform commands based on the interpreted commands. Perform calculations or data processing.
  • the above-mentioned other elements for example, the memory 130, the user input module 150, the display module 160, the communication configuration control module 170, etc.
  • the processor 120 may receive commands from the above-mentioned other elements (for example, the memory 130, the user input module 150, the display module 160, the communication configuration control module 170, etc.) through the bus 110, may interpret the received commands, and may perform commands based on the interpreted commands. Perform calculations or data processing.
  • the memory 130 may store commands or data received from the processor 120 or other elements (for example, the user input module 150, the display module 160, the communication configuration control module 170, etc.), or commands or data generated by the processor 120 or other elements.
  • the memory 130 may include programming modules, such as a kernel 131, a middleware 132, an application programming interface (application programming interface, API) 133, an application 134, and the like.
  • programming modules such as a kernel 131, a middleware 132, an application programming interface (application programming interface, API) 133, an application 134, and the like.
  • Each part of the above-mentioned programming module can be implemented by software, firmware, hardware, or a combination of two or more of them.
  • FIG. 3 For a detailed description, please refer to the relevant description in FIG. 3.
  • the kernel 131 may control or manage system resources (for example, the bus 110, the processor 120, the memory 130, etc.) for performing operations or functions implemented by other programming modules (for example, middleware 132, API 133, and application 134).
  • the kernel 131 may provide an interface capable of accessing and controlling or managing various elements of the mobile phone 100 by using the middleware 132, the API 133, or the application 134.
  • the middleware 132 may be used to run between the API 133 or the application 134 and the kernel 131 in a manner of communicating and exchanging data between the API 133 or the application 134 and the kernel 131.
  • the middleware 132 may be configured as an intermediary for communication between the API 133 or the application 134 and the kernel 131.
  • a priority can be assigned to at least one of the one or more applications 134 by using The method of using the system resources of the mobile phone 100 (for example, the bus 110, the processor 120, the memory 130, etc.) to perform load balancing of work requests.
  • the API 133 is an interface through which the application 134 can control the functions provided by the kernel 131 or the middleware 132, and may include, for example, at least one interface or function for file control, window control, image processing, character control, and the like.
  • Applications 134 may include, for example, homepage applications, dialer applications, short message service (short message service, SMS)/multimedia message service (MMS) applications, instant message (immediately message, IM) applications, browser applications, and cameras. Applications, alarm clock applications, contacts applications, voice dialing applications, email (e-mail) applications, calendar applications, media player applications, photo album applications, clock applications, and any other suitable and/or similar applications.
  • SMS short message service
  • MMS multimedia message service
  • IM intermediately message
  • browser applications and cameras.
  • alarm clock applications contacts applications, voice dialing applications, email (e-mail) applications, calendar applications, media player applications, photo album applications, clock applications, and any other suitable and/or similar applications.
  • Application icons may also be referred to as application icons or icons, where each application corresponds to an application icon.
  • the user input module 150 may receive commands or data input from a user via input-output means (for example, a sensor, a keyboard, a touch screen, etc.), and may transmit the received commands or data to the processor 120 or the memory 130 through the bus 110.
  • the display module 160 may display videos, images, data, etc. to the user.
  • the display module 160 may display various information (for example, multimedia data, text data) received from the above-mentioned elements.
  • the communication configuration control module 170 can control a short-distance communication connection with another electronic device 102.
  • the communication configuration control module 170 may stop the scanning operation of waiting to receive a signal from a neighboring electronic device or stop the broadcasting operation of a broadcast signal.
  • the communication configuration control module 170 stops the scanning operation of waiting to receive a signal from a neighboring electronic device or stops the broadcasting operation of a broadcast signal.
  • the communication configuration control module 170 may control the period of scanning or broadcasting operations.
  • the mobile phone 100 may use the communication configuration control module 170 to communicate with another electronic device.
  • the mobile phone 100 may use the communication configuration control module 170 to communicate with another electronic device 104, the server 106, and the like.
  • the mobile phone 100 can use the communication configuration control module 170 to communicate with other electronic devices 104, servers 106, etc. directly or through the communication configuration control module 170 and the network 162.
  • the mobile phone 100 may be connected to the network 162 through the communication configuration control module 170.
  • Fig. 3 shows a block diagram of the configuration of the programming module disclosed in the embodiment of the present application.
  • the programming module 310 may be included (or stored) in the mobile phone 100 (for example, the memory 130) shown in FIG. 2. At least a part of the programming module 310 may be implemented as software, firmware, hardware, or a combination of two or more of them.
  • the programming module 310 may be implemented as hardware, and may include an operating system (OS) that controls resources related to the electronic device (such as the mobile phone 100) and/or various applications (such as the application 370) executed in the OS.
  • OS operating system
  • the OS may be Android, iOS, Windows, Symbian, Tizen, Bada, etc.
  • the programming module 310 may include a kernel 320, a middleware 330, an API 360, and/or an application 370.
  • the kernel 320 may include a system resource manager 321 and/or a device driver 323.
  • the system resource manager 321 may include a process manager (not shown), a memory manager (not shown), and a file system manager (not shown).
  • the system resource manager 321 may perform control, allocation, restoration, etc. of system resources.
  • the device driver 323 may include, for example, a display driver (not shown), a camera driver (not shown), a Bluetooth driver (not shown), a shared memory driver (not shown), a USB driver (not shown) Out), a keypad driver (not shown), a Wi-Fi (wireless fidelity, wireless fidelity) driver (not shown), and/or an audio driver (not shown).
  • the device driver 323 may include an inter-process communication (IPC) driver (not shown).
  • IPC inter-process communication
  • the middleware 330 may include a plurality of modules implemented in advance to provide functions shared by the application 370.
  • the middleware 330 may provide functions to the application 370 through the API 360, so that the application 370 can efficiently use the limited system resources in the electronic device.
  • the middleware 330 (for example, the middleware 132 shown in FIG. 2) may include at least one of the following: runtime library 335, application manager 341, window manager 342, multimedia manager 343, Resource manager 344, power manager 345, database manager 346, package manager 347, connection manager 348, notification manager 349, location manager 350, graphics manager 351, security manager 352, and any other suitable and/ Or similar manager.
  • the runtime library 335 may include, for example, a library module used by a compiler to add new functions by using a programming language during the execution of the application 370.
  • the runtime library 335 may perform functions related to input and output, memory management, arithmetic functions, and the like.
  • the application manager 341 may manage the life cycle of at least one application 370, for example.
  • the window manager 342 can manage graphical user interface (GUI) resources used on the screen.
  • the multimedia manager 343 can detect formats for reproducing various media files, and can encode or decode the media files by using a codec suitable for the relevant format.
  • the resource manager 344 can manage resources of at least one application 370, such as source code, memory, storage space, and so on.
  • the window manager 342 may display the corresponding application icon in the task area, so that the user can directly lock the application they want to use, without having to search for the application through a sliding operation on the multitasking display interface.
  • the power manager 345 can operate together with a basic input/output system (BIOS), can manage batteries or power, and can provide power information for operation, and the like.
  • the database manager 346 may manage the database in a manner that enables the generation, search, and/or change of the database to be used by the at least one application 370.
  • the package manager 347 may manage the installation and/or update of applications distributed in the form of package files.
  • the connection manager 348 can manage wireless connections such as Wi-Fi and BT.
  • the notification manager 349 may display or report events such as arrival messages, appointments, proximity alarms, etc. to the user in a manner that does not disturb the user.
  • the location manager 350 can manage the location information of the electronic device.
  • the graphic manager 351 may manage graphic effects to be provided to the user and/or UI related to the graphic effects.
  • the security manager 352 may provide various security functions for system security, user authentication, and the like.
  • the middleware 330 may generate and use a new middleware module through various functional combinations of the aforementioned internal component modules.
  • the middleware 330 may provide modules specialized according to the type of OS to provide differentiated functions.
  • the middleware 330 can also dynamically delete some of the existing components, or can add new components. Therefore, the middleware 330 may omit some of the elements described in the various embodiments disclosed in this application, may also include other elements, or may replace some of these elements with elements that perform similar functions and have different names.
  • API 360 (for example, API 133 shown in FIG. 2) is a collection of API programming functions, and may have different configurations according to OS.
  • a set of APIs can be provided to each platform.
  • Tizen for example, two or more API sets can be provided to each platform.
  • the application 370 may include, for example, a pre-loaded application and/or a third-party application.
  • the application 370 (for example, the application 134) may include, for example, a homepage application 371, a dialing application 372, an SMS/MMS application 373, an IM application 374, a browser application 375, a camera application 376, an alarm clock application 377, a contact application 378, and a voice dialing application 379 , Email application 380, calendar application 381, media player application 382, photo album application 383, clock application 384, and any other suitable and/or similar applications.
  • the electronic device can start and run multiple applications at the same time.
  • the electronic device running multiple applications at the same time means that the electronic device has started multiple applications, the multiple applications have not been closed, or the electronic device has not deleted resources such as memory occupied by multiple applications, so that multiple applications are running at the same time.
  • the background and/or the foreground occupy resources such as memory, and multiple applications are not required to interact with the user in the foreground at the same time.
  • the mobile phone has launched three applications: Music, Gallery, and WeChat, and while running the music application in the foreground, the Gallery application and WeChat application are running in the background.
  • the electronic device displays the icons of one or more applications that are running (including background running and foreground running) in the task according to the priority order of the applications. Area.
  • the user can quickly start the corresponding application in the foreground by clicking the icon in the task area.
  • the preset operation includes an unlocking operation, an operation of switching to the desktop, or an operation of clicking a start button in the task area.
  • the task area can be located at a fixed position pre-configured on the display interface, for example, the task area is a rectangular area displayed below or above the display interface.
  • the electronic device detects the user's unlocking operation, obtains the priority order of one or more running applications, and displays one or more applications in the priority order in the task area displayed in a fixed position on the display interface. Icon.
  • the electronic device hides the task area. If the electronic device detects the user's operation of switching to the desktop, it obtains the priority order of one or more running applications, and displays the application icons in the priority order in the task area displayed in a fixed position pre-configured on the display interface .
  • a task area start button is provided on the display interface of the electronic device. After the electronic device is unlocked, the task area is not displayed or the task area is hidden after being displayed. If the electronic device detects the user's operation on the start button of the task area, the task area is displayed. As shown in (a) of FIG. 4, a task area start button 401 is set anywhere on the display interface of the electronic device. The electronic device detects that the user clicks the task area start button 401, and then obtains the priority order of one or more running applications, displays the task area in a fixed position pre-configured on the display interface, and displays the task area in accordance with the priority in the task area Display one or more application icons in sequence.
  • the user can move the task area activation button 401 according to usage habits. If the electronic device detects the user's operation of clicking the task area start button 401, the task area as shown in (b) of FIG. 4 is displayed in the center of the display interface of the electronic device.
  • the task area button 401 is a floating button, that is, if an application is running in the foreground of the electronic device, the task area button 401 is displayed floating on the application interface.
  • the electronic device detects that the user clicks the task area start button 401 and displays The fixed position pre-configured on the interface displays the task area as shown in Figure 4(b).
  • the electronic device after the electronic device detects the pinch or stretch operation of the user in the task area, it can zoom out or zoom in on the task area accordingly, and the icons in the corresponding task area will also be reduced or enlarged accordingly.
  • the electronic device detects the user's two-finger pinch operation in the task area, the task area shrinks and narrows, and the icons in the corresponding task area also shrink. In this way, more icons can be displayed or more consistent with the user’s screen Display habits.
  • the electronic device detects the user's two-finger stretching operation in the task area, the task area is enlarged and widened, and the icons in the corresponding task area are also enlarged. This allows the user to view the icons more clearly, which is convenient Click the corresponding icon.
  • the size of the task area and the number of displayed icons can be adjusted.
  • the size of the task area and the number of displayed icons will vary with the screen orientation of the electronic device.
  • 6 application icons can be displayed in the task area.
  • the task area becomes longer and 8 application icons can be displayed.
  • the user can customize the size of the task area and/or the number of icons displayed in the task area according to their own needs, and the electronic device arranges a corresponding number of application icons in the task area according to the user's custom settings.
  • the mobile phone can run one or more tasks, each task is an application program, and each application program corresponds to an application program icon as an example.
  • the task interface management method is explained.
  • the embodiment of the present application provides a multi-task interface management method. As shown in Figure 6, the method may include:
  • the electronic device determines a priority order of one or more application programs.
  • the priority order of one or more applications currently running is calculated.
  • the priority refers to the possibility of the user launching the application. For example, a higher priority means that the electronic device predicts that the user is more likely to start the application.
  • the display interface of the mobile phone 100 includes a main display interface 702 (ie, a desktop) and a task area 701 located at the bottom of the display interface.
  • the task area 701 is used to display icons of applications running on the electronic device.
  • the display content in the task area 701 does not change with the user's sliding operation on the switching interface on the main display interface 702.
  • the main display interface 702 displays the call application and the information application.
  • the mobile phone displays as shown in The user interface shown in (b) in 7.
  • the application program displayed on the main display interface 702 after sliding becomes a weather application program and a setting application program, but the application program icon displayed in the task area 701 does not change. Among them, the user can view, move, delete, add, zoom in, or zoom out the application icons displayed in the task area 701.
  • the mobile phone operating system provides a process for recording the usage of the applications installed in the mobile phone.
  • This process can monitor the running status of the application in the mobile phone in real time after the mobile phone is turned on, and record and count the application data. For example, record the name of the application in the mobile phone, the frequency of use of the application, the opening time, the length of use, the location of use, and other information.
  • the application data can be stored in a specific storage area of the mobile phone, such as the memory 130 shown in FIG. 2.
  • the mobile phone can also obtain application data from the cloud, other electronic devices (such as an old mobile phone used by the user, a tablet computer used by the user), or other external storage.
  • the mobile phone 100 can be triggered to generate a lock screen instruction, and the mobile phone 100 responds to the lock screen instruction at The lock screen is loaded on the current display interface, and the screen is turned off to enter the black screen state as shown in (a) in Figure 8.
  • the mobile phone 100 can read the data of each application in the mobile phone background application from the above storage area, calculate the priority of each application according to the data of different applications, and arrange the different applications in the order of priority The icon of the program.
  • an application with a high priority indicates that the user is more likely to use the application later, and an application with a low priority indicates that the subsequent user is less likely to use the application. Therefore, as shown in (b) of FIG. 8, after unlocking the mobile phone 100, the task area 701 displays icons of different applications arranged in order of priority.
  • the priority order of background applications can be obtained in combination with user usage data.
  • the user usage data is one or more of the following items in the user-related usage data in the above application data: the startup time of the application, the startup location of the application, the startup frequency of the application, and the duration of the application.
  • the priority order of the background application is obtained.
  • user A will use Alipay to pay for breakfast every morning at around 8 o'clock in the morning. Therefore, when user A unlocks the phone at around 8 o'clock in the morning, Alipay is the application with the highest priority.
  • a preset period can be set to count the number of starts of different applications in different time periods. For example, a 7-day period is used to count the number of times the user has started the background application in the current time period in the last 7 days, and then determine the priority of the application.
  • the priority order of the background application is obtained.
  • user A when user A is at home, he often uses WeChat applications and Weibo applications. Therefore, when user A is judged to be at home by the mobile phone positioning device, user A unlocks the phone, and the WeChat application and Weibo application have higher priority.
  • a preset period can be set to count the number of times the user has launched different applications in different locations. For example, a period of 1 month is used to count the number of times the user has started the background application at the current location in the most recent month, and then determine the priority of the application at the current location.
  • the priority order of the background application is obtained.
  • User A uses WeChat applications and Weibo applications for a long time at home. Among them, users from 8:00 to 9:00 use WeChat applications for a long time, and users from 9:00 to 10:00 use Weibo applications for a long time. Therefore, when the user unlocks the phone at home at 9:30, the Weibo application is the highest priority application, and the WeChat application is the second highest priority application.
  • the priority order of the background application is obtained.
  • establish a database of the usage of each application program record the startup frequency of each application program in the time dimension and location dimension in the database, and then obtain the priority of the application program according to the data recorded in the database.
  • the time dimension can be customized by the manufacturer or the user. For example, it is set to one week, that is, the number of times the user starts a certain application within a week is recorded in the database.
  • the location dimension is the location where the user starts a certain application.
  • the application is started in a certain place, the latitude and longitude coordinates or address information of the place can be recorded. That is, the database records the number of times the user has started a certain application in a certain place.
  • the user launches the application at any time and place, and it will be recorded in the database by the electronic device.
  • the mobile phone detects the user's unlocking operation, according to the current time and location dimensions, combined with the user's start frequency of each background application, two sets of scores are calculated respectively, and the corresponding combined scores are used as the prediction of the application Score.
  • the icons of each application program are arranged in order from the display position with higher priority to the display position with lower priority in the task area 701.
  • the user unlocks the mobile phone at a convenience store at about 8 am.
  • the time dimension is 8 o'clock in the morning
  • the location dimension is the convenience store's latitude and longitude coordinates or address information.
  • the mobile phone reads the usage data of the running application in the database, assuming that there are two applications Alipay and WeChat running in the background.
  • the number of times the user has activated Alipay at the current time is 5 times
  • the number of times the user has activated WeChat is 3 times
  • the number of times the user has activated Alipay at the current location is 5 times
  • the number of WeChat activations is 1 time.
  • the above method of obtaining the priority order of the application is not limited to the start time of the application, the start location of the application, the start frequency of the application, and the use time of the application, and can also include other influences on application recommendation. the elements of. Such as user-defined settings.
  • the user may set a certain application as the application with the highest priority, and the icon of the application is always arranged in the display position with the highest priority in the task area 701. This embodiment of the present application does not specifically limit this.
  • the priority calculation method in the embodiment of the present application is only applied to applications running in the foreground or background. That is, if the application is not running, in order to protect user privacy, the electronic device cannot read the user data used to obtain the priority of the application, and therefore, the foregoing priority calculation method cannot be applied.
  • the electronic device displays the icon of one or more application programs in the task area according to a preset rule according to the priority order of the one or more application programs.
  • the priority order of each display position in the task area 701 is pre-configured in the electronic device or set by the user.
  • the display position in the center is the display position with the highest priority, and the priorities along both sides Gradually decreases.
  • the electronic device sequentially arranges the icons of each background application in a corresponding display position according to the priority order of each background application.
  • the icon of the application with the highest priority is displayed in the display position in the center of the task area 701, which is convenient for the user to start the application.
  • the icons of the application with lower priority are arranged in order of the icons of the application with the highest priority. side.
  • FIG. 8(b) six application program icons are displayed in the task area 701.
  • the Alipay icon and the WeChat icon are arranged in the center of the task area 701, then the priority of the six applications can be: Alipay>WeChat>Music>Weibo>Camera>Gallery.
  • the application icons are arranged in the task area 701 in order of priority.
  • the application icons are arranged in order from left to right or from right to left in order of priority.
  • the application icons are arranged correspondingly according to the priority order of the display positions in the task area 701 customized by the user. This embodiment of the present application does not specifically limit this.
  • the first application program displayed in the main display interface 702 (ie, the desktop) is started, and the first application program is not displayed in the task area 701. Then, if the first application used after the i-th unlocking is a background application after the i+1-th user unlocks, the first application will be calculated as the application with the highest priority, and the corresponding icon will be displayed in The display position with the highest priority in the task area 701.
  • the priority order of the six applications displayed in the task area 701 is: Alipay>WeChat>Music >Weibo>Camera>Gallery. If the user does not start the application program displayed in the task area 701, but chooses to start the call application in the main display interface 702. See (a) in Figure 9, if the phone is locked and unlocked this time, the call application will replace the Alipay application as the highest priority application, and the call application icon will be displayed in the task area 701 with the highest priority display Location, and due to the limited display area of the task area 701, the icon of the gallery application with the lowest priority among the previous six applications cannot be displayed.
  • the gallery icon is outside the display of the electronic device (ie Hidden area), it cannot be displayed in the current interface. If the user wants to use the gallery application, he can slide the task area 701 to display more background application icons. As shown in FIG. 9(b), it is an interface displayed after the user slides to the right in the task area 701, and the icon of the gallery application is displayed in the task area 701. That is, more icons of background applications can be displayed by sliding in the task area 701.
  • the task area 701 includes a display area and a hidden area. The centered display area can display icons of applications with priority 1-6, and more icons of lower priority applications contained in the left and right hidden areas can be displayed by sliding.
  • multiple first applications in the main display interface 702 ie, desktop
  • none of the multiple first applications are displayed in the task area 701.
  • the priority order of the multiple first application programs is calculated by using the above-mentioned priority algorithm, and the priority order is correspondingly displayed in the task area 701.
  • the one or more second applications newly downloaded and installed by the user in the plurality of first applications that is, the mobile phone does not record the application data of the one or more second applications
  • the one or more The priority of the second application is defined as the application with the highest priority in the first application, which corresponds to the display position with the highest priority in the task area 701.
  • the priority order of the one or more second application programs is determined, and one or more second application program icons are sequentially arranged in the task area 701 following the download and installation time sequence.
  • the user does not start the application program displayed in the task area 701, but chooses to start one or more first application programs displayed in the main display interface 702 (ie, the desktop). Then, after the user switches the one or more first application programs to the desktop, the priority order will be matched according to the switching order of the one or more first application programs, and the corresponding icon is displayed in the task area 701. Wherein, the priority order of the one or more first application programs is smaller than the priority order of the application programs included in the task area. Exemplarily, as shown in FIG.
  • the user does not start the application in the task area 701, but chooses to start the call application in the main display interface 702, then when the user ends the call and switches to the desktop, the call The application icon will be displayed in the display position with the lowest priority in the task area 701. After that, the user starts the information application in the main display interface 702. When the user finishes using the information application and switches to the desktop, the information application icon will be displayed in the display position with the lowest priority in the task area 701, and the call application icon will be displayed in the task area. The second-to-last priority display position in the area 701.
  • the electronic device refreshes the task area 701.
  • the timing of refreshing task area 701 includes: the electronic device detects the user's unlocking operation, the electronic device detects that the user clicks the start task area button, the electronic device detects that the user switches the application to the desktop or the electronic device starts after the continuous running time interval reaches The preset period.
  • the preset period may be pre-configured by the electronic device manufacturer or customized by the user. For example, if the user sets the preset period of the automatic refresh to 2h, when the time interval of continuous operation after the electronic device is started is equal to two hours, the electronic device will recalculate the priority order of the running applications.
  • the user unlocks the phone at 8 a.m.
  • Alipay is ranked first in the priority order
  • WeChat is ranked second in the priority order
  • Screen) to 10 o'clock the electronic device will recalculate the priority order of the running applications. For example, at 10 o'clock, the first in priority order becomes WeChat, and the second in priority order becomes Alipay. Then the WeChat icon will replace the Alipay icon in the task area 701 in the highest priority display position. For another example, at 10 o'clock, the electronic device recalculates the priority order of the application.
  • the Alipay application is not running (the user closes and clears the memory data occupied by Alipay during 8-10 o'clock), then the electronic device task The Alipay icon will not be displayed in the area 701. If the user continues to use the mobile phone without locking the screen, the electronic device will automatically refresh the display content of the task area 701 every 2 hours.
  • the electronic device displays the icon of the background application in the task area 701 according to the degree of association between the background application and the third application started by the current user.
  • the user starts the camera application, and the electronic device determines that the background application includes a WeChat application.
  • the electronic device determines the WeChat application as the application with the highest priority, and arranges the WeChat icon in the display position of the task area 701 with the highest priority.
  • the camera application is highly related to the WeChat application and the Meitu application. Therefore, when the user switches the camera application to the desktop, the electronic device determines that the WeChat application and the Meitu application have higher priority, and arranges the WeChat icon and the Meitu icon in the task area 701 at the higher priority display position.
  • the priority of the WeChat application and the Meitu application can be determined according to the number of times the user switches to these two applications after using the camera application, or can also be sorted randomly.
  • the electronic device display interface displays the task area, then the user can also operate the icon of the target application displayed in the task area through the following step S103 to drive the electronic device to perform preset actions to satisfy the user demand.
  • the electronic device executes a preset action.
  • the electronic device when the electronic device detects that the user has clicked, long-pressed, or long-pressed and moved up the icon of the target application in the task area 701, it will perform a corresponding preset action.
  • the actions performed by the electronic device may be one or more of the following: launching an application, viewing an application, moving an application, sharing an application, deleting an application icon, and editing an application shortcut.
  • the mobile phone 100 After the mobile phone 100 detects that the user has clicked an icon in the task area 701, it enters the application program corresponding to the icon, and displays the interface of the application program in full screen. That is, the application is run in the foreground.
  • the interface of a certain application program may be the main page of the application program, the interface recently displayed in the foreground, the login interface, or the interface frequently used by the user.
  • each icon in the task area 701 can correspond to one or more cards, and each card can correspond to an application.
  • the card is the functional interface corresponding to the application.
  • the mobile phone 100 detects that the user has clicked an icon in the task area 701, it displays the card corresponding to the icon on the main display interface 702.
  • the above-mentioned cards are the functions corresponding to the application that the user used before the screen is locked.
  • the cards are sorted in chronological order, and the cards corresponding to the most recently operated functions are displayed first.
  • the card corresponding to the icon is displayed on the main display interface 702.
  • the user used the two functions of WeChat namely the “add friend” function and the “main page chat” function. Therefore, the cards corresponding to these two functions are displayed on the main display interface 702.
  • the most recently operated function is the "add friend” function, so the card of this function is displayed first on the left. If the user wants to operate the "add friend” function, he can directly click the card to enter the function, instead of having to click and select step by step, which improves the interaction efficiency between the electronic device and the user.
  • the above-mentioned cards may be functions corresponding to the application used by the user before the screen is locked. The cards are sorted in the order of the number of times they are used, and the card corresponding to the function with the most used times is displayed first.
  • the above-mentioned card may also be a part of the functions that have been used by the user in the history of the corresponding functions in the application program, and the number of uses is ranked first. As shown in FIG. 10(b), after the user clicks the WeChat icon in the task area 701, the card corresponding to the icon is displayed on the main display interface 702.
  • the user has used the two functions of WeChat before the last lock screen or in the history record, namely the "add friend” function and the "main page chat” function. Therefore, the cards corresponding to these two functions are displayed on the main display interface 702 .
  • the "main page chat" function is a function that users use frequently. Therefore, the card of this function is displayed on the left side first, which is convenient for users to directly lock and activate the corresponding function, simplify user operations, and improve efficiency and user experience.
  • the user can click the icon to directly enter the function corresponding to the single card, instead of having to display and click the card to use the corresponding function. Improve interaction efficiency.
  • two cards corresponding to a certain icon are exemplarily given. It is understandable that the embodiment of the present application does not specifically limit the number of cards corresponding to each icon in the task area 701, and the icons can be Corresponding to more than two cards, the user can make selections through sliding operations.
  • the user can edit or quickly select an icon in the task area 701 by long pressing the icon.
  • the user can move the arrangement position of an icon by long pressing the icon.
  • the electronic device can record the current user's mobile operation.
  • the priority order of the applications corresponding to the icons displayed in the task area after this movement is also added to the priority calculation. For example, the user long presses the icon to move the application icon in the second highest priority display position to the highest priority display position, then if the electronic device is unlocked next time, the electronic device will directly arrange the moved application icons The display position with the highest priority in the task area 701.
  • the user can share an application corresponding to an icon by long pressing the icon. That is, by long pressing an icon, a link can be generated from the download address of the application corresponding to the icon and shared with other electronic devices connected to the current electronic device. The user can click the shared link in other electronic devices to download the shared application.
  • the user can delete an icon by long pressing the icon.
  • the deletion operation of long-pressing the icon only deletes the icon, and does not uninstall the application corresponding to the icon.
  • the operation of deleting the icon will not delete the background cache data of the application corresponding to the icon. That is, after the lock screen is unlocked this time, the mobile phone 100 can also calculate the priority of the application again, so that the The icons of the application programs are arranged in the task area 701.
  • the user can edit the application program corresponding to the icon by long-pressing the icon. For example, you can set up a shortcut for certain functions in the corresponding application, so that the user can quickly start the function, without having to enter the application and then start some functions through step-by-step selection, which improves the relationship between the electronic device and the user. Interactive efficiency.
  • the user does not need to enter WeChat first and then click to start the wallet function step by step, but can use the shortcut
  • the button directly starts the corresponding function.
  • the user can edit the shortcuts of more frequently used functions in the application through the editing function.
  • the user can quickly delete the icon in the task area 701 by long pressing and moving up the icon.
  • the quick delete operation is also to delete the icon without uninstalling the application corresponding to the icon. And you can delete the icon without having to click and select after long pressing the icon, which further improves efficiency.
  • the multi-task interface management method sets a task area in the display interface of the electronic device. If the electronic device detects a preset operation, the electronic device predicts the user icon of the running application program.
  • the applications that will be launched are arranged in the task area in order of priority, which is convenient for users to quickly lock and operate corresponding applications, simplify user operations, and improve user experience.
  • the above-mentioned electronic devices and the like include hardware structures and/or software modules corresponding to the respective functions.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present application.
  • the embodiments of the present application may divide the above-mentioned electronic devices and the like into functional modules according to the above-mentioned method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 12 shows a possible structural diagram of the electronic device involved in the above embodiment, including: a detection unit 1201, an acquisition unit 1202, a processing unit 1203, and a display Unit 1204.
  • the detection unit 1201 is used to detect preset operations and detect user operations on icons in the task area.
  • the preset operations include: unlocking, switching to the desktop, or clicking the start button in the task area.
  • the collection unit 1202 is used to collect application data of one or more applications and information about the environment in which the electronic device is currently located.
  • the environment information includes information such as current time and location.
  • the processing unit 1203 is configured to determine one or more applications according to the preset operation detected by the detection unit 1201 or the user's operation on the icon of the target application in the task area, and according to the application data and environment information collected by the collection unit 1202 The order of priority.
  • the display unit 1204 is configured to correspondingly display the icon of the application program in the task area according to the priority order of one or more applications, and display the task area start button.
  • the detection unit 1201, the acquisition unit 1202, the processing unit 1203, and the display unit 1204 can be integrated into a processing module.
  • the electronic device may also include a storage module, a communication module, an input/output module, and so on.
  • the processing module 1301 is used to control and manage the actions of the electronic device.
  • the communication module 1302 is used to support the communication between the electronic device and other network entities.
  • the input/output module 1303 is used to receive information input by the user or output information provided to the user and various menus of the electronic device.
  • the storage module 1304 is used to store the program code and data of the electronic device.
  • the processing module 1301 may be a processor or a controller, such as a central processing unit (CPU), a graphics processing unit (GPU), a general-purpose processor, and a digital signal processor (digital signal processor). signal successor, DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination for realizing computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the communication module 1302 may be a transceiver, a transceiver circuit, an input/output device, or a communication interface.
  • the communication module 1302 may specifically be a Bluetooth device, a Wi-Fi device, a peripheral interface, and so on.
  • the storage module 1304 may be a memory, and the memory may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as a magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • RAM random access memory
  • non-volatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input/output module 1303 may be input and output devices such as a touch screen, a keyboard, a microphone, and a display.
  • the display can be configured in the form of a liquid crystal display, an organic light emitting diode, and the like.
  • a touch panel can also be integrated on the display to collect touch events on or near it, and send the collected touch information to other devices (such as a processor, etc.).
  • An embodiment of the present application also provides an electronic device, including one or more processors; a memory; and a touch screen, which is used to detect touch operations and display a task area.
  • instructions are stored in the memory, and when the instructions are executed by one or more processors, the electronic device is caused to execute each step in the foregoing embodiment, so as to implement the multi-task interface management method in the foregoing embodiment.
  • the processor in the electronic device may be the processor 120 shown in FIG. 2
  • the memory in the electronic device may be the memory 130 shown in FIG.
  • the touch screen in the electronic device may be a combination of the user input module 150 and the display module 160 shown in FIG. 2.
  • the chip system includes at least one processor 1401 and at least one interface circuit 1402.
  • the processor 1401 and the interface circuit 1402 may be interconnected by wires.
  • the interface circuit 1402 can be used to receive signals from other devices.
  • the interface circuit 1402 can be used to send signals to other devices.
  • the interface circuit 1402 may read instructions stored in the memory, and send the instructions to the processor 1401.
  • the electronic device can be made to execute various steps executed by the mobile phone 100 in the foregoing embodiment.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the embodiments of the present application also provide a device, which may specifically be a component or a module.
  • the device may include a connected processor and a memory; wherein the memory is used to store computer execution instructions.
  • the processor When the device is running, the processor The computer-executable instructions stored in the executable memory can be executed to make the device execute the multi-task interface management method in the foregoing method embodiments.
  • the electronic devices, chips, computer-readable storage media, computer program products, or chips provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the above The beneficial effects of the provided corresponding methods will not be repeated here.

Abstract

一种多任务界面管理方法及电子设备,涉及终端技术领域,可用于人工智能(artificial intelligence,AI)终端,能够实现快速切换应用程序,简化用户操作。该方法包括:电子设备的显示界面设置有任务区域;响应于预设操作,电子设备确定一个或多个应用程序的优先级顺序(S101);其中,一个或多个应用程序包括电子设备当前正在运行的应用程序;预设操作包括:解锁操作、切换至桌面的操作或者点击任务区域启动按钮的操作;电子设备根据一个或多个应用程序的优先级顺序,在任务区域按照预设规则显示一个或多个应用程序的图标(S102)。

Description

多任务界面管理方法及电子设备
本申请要求于2019年10月31日提交国家知识产权局、申请号为201911056392.2、发明名称为“多任务界面管理方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及多任务界面管理方法及电子设备。
背景技术
随着电子技术的发展,手机、平板电脑、车载终端(又可描述为车机)等电子设备的功能越来越强大,电子设备安装的应用程序数量不断增加。用户需要经常在不同应用程序之间进行切换,以使用不同应用程序提供的不同服务和功能。
目前,在电子设备中设置多任务界面,以实现多个应用程序间的切换。多任务界面中通过层叠、堆叠或并排等排列方式来显示电子设备已启动的多个应用程序(任务)对应的卡片。其中,多任务界面中的卡片界面对应于用户退出应用程序时的界面。用户通过点击多任务界面上的卡片,前台运行卡片对应的应用程序。示例性的,如图1所示,通过并排显示的方式,横向均匀分布的将多个应用程序对应的卡片并排排列在电子设备显示屏上。由于受电子设备显示屏大小限制,图1中只能完整的显示一个应用程序对应的卡片,其余应用程序对应的卡片只能显示部分内容。因此,当已启动运行的应用程序过多时,用户只能通过在显示屏上左右滑动以查找想要启动的应用程序,非常耗时,影响用户体验。
发明内容
本申请提供一种多任务界面管理方法及电子设备,能够实现快速切换应用程序,简化用户操作,提升用户体验。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种多任务界面管理方法,应用于电子设备,该电子设备的显示界面设置有任务区域,该方法包括:响应于预设操作,电子设备确定一个或多个应用程序的优先级顺序;其中,一个或多个应用程序包括电子设备当前正在运行的应用程序;预设操作包括:解锁操作、切换至桌面的操作或者点击任务区域启动按钮的操作;电子设备根据一个或多个应用程序的优先级顺序,在任务区域按照预设规则显示一个或多个应用程序的图标。
如此,若电子设备正在运行一个或多个应用程序,并检测到用户的解锁操作,则可以根据预测的用户启动正在运行的应用程序的可能性,判断这些应用程序的优先级顺序,并根据优先级顺序将一个或多个应用程序的图标显示于任务区域中。进而,用户可以在任务区域中快速锁定想要启动的应用程序,并可以直接通过对任务区域中显示的图标的操作,驱动电子设备执行相应的动作,如启动对应的应用程序等。
在一种可能的实现方式中,电子设备确定一个或多个的优先级顺序,包括:电子设备根据应用程序数据确定一个或多个应用程序的优先级顺序,应用程序数据包含如 下一项或几项:应用程序的启动时间、应用程序的启动地点、应用程序的启动频率、应用程序的使用时长。
如此,电子设备基于应用程序数据,获得用户启动一个或多个应用程序的可能性大小,根据该可能性大小即优先级顺序将应用程序图标排列显示于任务区域中。其中,应用程序数据包括与用户相关的用户使用数据,根据用户使用习惯推荐的应用程序更能满足用户需求。
示例性的,用户在每天早上8点都会使用支付宝进行付款买早餐。那么,当用户在早上8点解锁手机,电子设备预测此时用户可能会启动支付宝,则将支付宝判断为优先级最高的应用程序,显示在任务区域中用户最容易操作的显示位置,使得用户可以快速锁定并启动支付宝,而不必再进行查找。
在一种可能的实现方式中,电子设备根据一个或多个应用程序的优先级顺序,在任务区域按照预设规则显示一个或多个应用程序的图标,包括:电子设备根据一个或多个应用程序的优先级顺序,按照任务区域中显示位置的优先级顺序,显示一个或多个应用程序图标。
在一种可能的实现方式中,任务区域为显示于显示界面下方或上方的矩形区域,任务区域中显示位置的优先级顺序包括:任务区域的中央显示位置为优先级最高的显示位置,向两侧排列的显示位置优先级顺序降低;或者,任务区域最左侧的显示位置为优先级最高的显示位置,向右排列的显示位置优先级顺序降低;或者,任务区域最右侧的显示位置为优先级最高的显示位置,向左排列的显示位置优先级顺序降低。
如此,可以根据用户使用习惯确定任务区域中各个显示位置的优先级排序,将应用程序的优先级与任务区域中位置的优先级匹配,进而,便于用户快速启动应用程序。比如,用户能够快速锁定任务区域中央位置,则将任务区域中央显示位置确定为优先级最高的显示位置,并沿两侧优先级顺序降低。又比如,电子设备显示屏较大,用户单手操作不便于点击过远的位置,则将任务区域左侧或者右侧的显示位置确定为优先级最高的显示位置,便于用户操作。
在一种可能的实现方式中,响应于预设操作,电子设备确定一个或多个应用程序的优先级顺序,包括:电子设备第i+1次检测到用户的解锁操作,将第一应用程序确定为优先级最高的应用程序;第一应用程序为电子设备第i次解锁后,用户启动的未在任务区域显示的应用程序。
在一种可能的实现方式中,若第一应用程序的数量为多个,且第一应用程序中包括一个或多个第二应用程序,一个或多个第二应用程序为用户新下载的应用程序,则电子设备第i+1次检测到用户的解锁操作,将一个或多个第二应用程序确定为第一应用程序中优先级最高的应用程序;其中,电子设备根据一个或多个第二应用程序的下载时间顺序确定一个或多个第二应用程序的优先级顺序。
如此,用户此次解锁后新启动的应用程序,可能为用户下次解锁后还想要使用的应用程序,因此可以将该应用程序图标放在任务区域优先级较高的显示位置,便于用户启动。或者,用户此次解锁后新下载启动的应用程序,下次用户启动的可能性也较大,因此排列于任务区域优先级较高的显示位置。
在一种可能的实现方式中,电子设备检测到用户启动第一应用程序,第一应用程 序为用户启动的未在任务区域显示的应用程序,则当电子设备检测到用户切换第一应用程序至桌面的操作,按照第一应用程序的切换顺序匹配优先级顺序,第一应用程序的优先级低于一个或多个应用程序的优先级;其中,第一应用程序的数量为一个或多个。
如此,用户启动了非任务区域包括的应用程序,并切换至桌面后,也能在任务区域显示该应用程序的图标,保证用户后续想要启动该应用程序,可以在任务区域中锁定的图标,而不必在桌面多个应用程序中进行搜索查找。
在一种可能的实现方式中,电子设备检测到用户启动第三应用程序,电子设备根据一个或多个应用程序中与第三应用程序的关联度,将关联度较高的应用程序的图标显示于任务区域中优先级较高的显示位置;其中,第二应用程序为电子设备中包含的应用程序。
如此,可以进行关联推荐,更加便于用户操作。示例性的,用户拍照后有修图的习惯,那么当用户启动相机并切换至桌面后,电子设备可以将修图应用程序的图标排列于任务区域优先级较高的显示位置,便于用户快速锁定,启动修图应用程序,提高用户体验。
在一种可能的实现方式中,响应于对目标应用程序的图标的单击操作,电子设备在前台运行目标应用程序。响应于对目标应用程序的图标的长按并上滑操作,电子设备删除任务区域中的目标应用程序的图标。
如此,电子设备检测到用户对任务区域中显示的应用程序的图标的各种操作,执行各种预设动作,满足用户需求。比如,电子设备检测到用户单击某图标的操作,则启动该图标对应的应用程序。又比如,电子设备检测到用户在某图标上长按并上滑,则删除该图标。
在一种可能的实现方式中,响应于任务区域中的滑动操作,电子设备显示隐藏区域中的应用程序的图标。
如此,任务区域包括显示区域和隐藏区域,显示区域的大小受限于电子设备显示屏的大小,则可以通过滑动操作显示隐藏区域中包括的应用程序的图标,进而,任务区域中可以包括更多的应用程序图标。
在一种可能的实现方式中,响应于任务区域中的双指捏合或双指拉伸操作,电子设备放大或缩小任务区域。
如此,任务区域放大或缩小后,任务区域中显示的应用程序图标也会随之放大或缩小,进而更加满足用户的使用习惯。如用户为老年人,较大的图标能够使该用户更加清晰的查看。
在一种可能的实现方式中,若电子设备未检测到用户的锁屏操作,则按照预设周期根据当前运行的一个或多个应用程序的优先级顺序刷新任务区域显示的图标。
如此,电子设备除检测到用户的解锁操作,检测到用户启动非任务区域包含的应用程序的操作,检测到用户切换至桌面的操作,会刷新任务区域显示内容若用户长时间未锁屏,电子设备也会按照预设周期刷新任务区域显示内容,以保证当前任务区域显示图标能够满足用户需求。
在一种可能的实现方式中,电子设备的显示界面设置有任务区域启动按钮,该方 法包括:响应于用户点击任务区域启动按钮的操作,电子设备显示所述任务区域。
如此,可以将任务区域持续显示于电子设备显示界面固定位置,或者,也可以在电子设备显示界面上设置任务区域启动按钮,若用户需要切换应用程序,则通过操作任务区域启动按钮启动任务区域。并且,每次电子设备检测到用户操作任务区域启动按钮时,都会获得当前正在运行的应用程序的优先级顺序,进而可以满足用户当前快速启动应用程序的需求。
第二方面,本申请实施例提供一种电子设备,该电子设备可以为实现上述第一方面方法的装置。该电子设备可以包括:一个或多个处理器;存储器,所述存储器中存储有指令;触摸屏,用于检测触摸操作,以及显示任务区域;若指令被一个或多个处理器执行,则使得电子设备执行第一方面的多任务界面管理方法。
第三方面,本申请提供一种电子设备,该电子设备具有实现上述第一方面任一项的多任务界面管理方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第四方面,本申请实施例提供一种计算机可读存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面及其中任一种可能的实现方式中所述的方法。
第五方面,本申请实施例提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面中及其中任一种可能的实现方式中所述的方法。
第六方面,提供一种电路系统,电路系统包括处理电路,处理电路被配置为执行如上述第一方面中任一项的多任务界面管理方法。
第七方面,本申请实施例提供一种芯片系统,包括至少一个处理器和至少一个接口电路,至少一个接口电路用于执行收发功能,并将指令发送给至少一个处理器,当至少一个处理器执行指令时,至少一个处理器执行如第一方面及其任一可能的实现方式中多任务界面管理方法。
附图说明
图1为本申请实施例提供的现有技术中多任务界面的示意图;
图2为本申请实施例提供的一种电子设备的结构示意图;
图3为本申请实施例提供的编程模块的配置框图的示意图;
图4为本申请实施例提供的多任务界面管理方法的应用场景示意图一;
图5为本申请实施例提供的多任务界面管理方法的应用场景示意图二;
图6为本申请实施例提供的多任务界面管理方法的应用场景示意图三;
图7为本申请实施例提供的多任务界面管理方法的应用场景示意图四;
图8为本申请实施例提供的多任务界面管理方法的应用场景示意图五;
图9为本申请实施例提供的多任务界面管理方法的应用场景示意图六;
图10为本申请实施例提供的多任务界面管理方法的应用场景示意图七;
图11为本申请实施例提供的多任务界面管理方法的应用场景示意图八;
图12为本申请实施例提供的一种电子设备的结构示意图一;
图13为本申请实施例提供的一种电子设备的结构示意图二;
图14为本申请实施例提供的一种芯片系统的结构示意图。
具体实施方式
下面结合附图对本申请实施例提供的多任务界面管理方法及电子设备进行详细地描述。
本申请实施例提供一种多任务界面管理方法,可以应用于电子设备。例如,该电子设备可以是手机、可穿戴设备、车载设备、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、个人数字助理(personal digital assistant,PDA)、人工智能(artificial intelligence,AI)终端等,本申请实施例对此不作任何限制。
上述电子设备为可以同时运行多个任务的设备。该任务可以包括应用程序(或称应用软件),文档,页面或其他任何可结合电子设备而执行的活动。
如图2所示,本申请实施例中的电子设备可以为手机100。下面以手机100为例对本申请实施例进行具体说明。应该理解的是,图示手机100仅是上述电子设备的一个范例,并且手机100可以具有比图2中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。
参照图2,手机100可与除手机100外的其它电子设备102和104、以及服务器106通信。手机100可包括总线110、处理器120、存储器130、用户输入模块150、显示模块160、通信配置控制模块170和其它相似和/或合适组件。
总线110可以是将上述元件相互连接并在上述元件之间传递通信(例如控制消息)的电路。
处理器120可以通过总线110从上述其它元件(例如存储器130、用户输入模块150、显示模块160、通信配置控制模块170等)接收命令,可以解释接收到的命令,并可以根据所解释的命令来执行计算或数据处理。
存储器130可以存储从处理器120或其它元件(例如用户输入模块150、显示模块160、通信配置控制模块170等)接收的命令或数据,或者由处理器120或其它元件产生的命令或数据。
存储器130可以包括编程模块,诸如内核131、中间件132、应用编程接口(application programming interface,API)133、应用134等。上述编程模块中的每一部分均可以用软件、固件、硬件或者其中两个或更多个的组合来实现,其详细描述可参见附图3的相关描述。
内核131可以控制或管理用于执行由其它编程模块(例如中间件132、API 133和应用134)实现的操作或功能的系统资源(例如总线110、处理器120、存储器130等)。另外,内核131可以提供能够通过使用中间件132、API 133或应用134来访问并控制或者管理手机100的各个元件的接口。
中间件132可以用于在API 133或应用134与内核131之间以API 133或应用134与内核131通信并与其交换数据的方式运行。例如,中间件132可以被配置为用于在API 133或应用134与内核131之间进行通信的中介。另外,例如,关于从一个或多个应用134和/或中间件132接收的工作请求,可以通过使用向一个或多个应用134中的至少一个应用指派优先级(其中可以按所述优先级来使用手机100的系统资源(例如总线110、处理器120、存储器130等))的方法来执行工作请求的负载均衡。
API 133是应用134能够通过其控制由内核131或中间件132提供的功能的接口, 并可以包括例如用于文件控制、窗口控制、图像处理、字符控制等的至少一个接口或功能。
应用134可以包括例如主页应用、拨号器应用、短消息服务(short message service,SMS)/多媒体消息服务(multimedia message service,MMS)应用、即时消息(immediately message,IM)应用、浏览器应用、相机应用、闹钟应用、联系人应用、语音拨号应用、电子邮件(e-mail)应用、日历应用、媒体播放器应用、相册应用、时钟应用以及任意其它合适和/或类似的应用。
在本申请实施例中,除非另有说明,应用的含义即为应用程序。应用图标也可以称为应用程序图标或图标,其中,每一应用对应一个应用图标。
用户输入模块150可以接收经由输入-输出手段(例如,传感器、键盘、触摸屏等)从用户输入的命令或数据,并可以通过总线110向处理器120或存储器130传送接收到的命令或数据。显示模块160可以向用户显示视频、图像、数据等。
显示模块160可以显示从上述元件接收到的各种信息(例如多媒体数据、文本数据)。
通信配置控制模块170可以控制与另一电子设备102之间的短距离通信连接。当手机100与另一电子设备配对时,通信配置控制模块170可以停止等待从邻近电子设备接收信号的扫描操作或者停止广播信号的广播操作。例如,响应于手机100与另一电子设备102配对,通信配置控制模块170停止等待从邻近电子设备接收信号的扫描操作或者停止广播信号的广播操作。当手机100与另一电子设备配对时,通信配置控制模块170可以控制扫描或广播操作的周期。
在本申请实施例中,手机100可以使用通信配置控制模块170与另一电子设备通信。例如,手机100可以使用通信配置控制模块170与另一电子设备104、服务器106等进行通信。手机100可以使用通信配置控制模块170直接,或者通过通信配置控制模块170及网络162与其它电子设备104、服务器106等进行通信。例如,手机100可以通过通信配置控制模块170连接至网络162。
图3示出了本申请实施例公开的编程模块的配置框图。
参照图3,编程模块310可被包括(或被存储)在图2中示出的手机100(例如存储器130)中。编程模块310的至少一部分可以实施为软件、固件、硬件或它们中的两个或更多个的组合。编程模块310可以实施为硬件,并可以包括控制与电子设备(例如手机100)相关的资源的操作系统(operating system,OS)和/或在OS中执行的各种应用(例如应用370)。例如,OS可以是Android、iOS、Windows、Symbian、Tizen、Bada等。
参照图3,编程模块310可以包括内核320、中间件330、API 360和/或应用370。
内核320(例如,图2中所示的内核131)可以包括系统资源管理器321和/或设备驱动程序323。系统资源管理器321可以包括进程管理器(未示出)、存储器管理器(未示出)和文件系统管理器(未示出)。系统资源管理器321可以执行对系统资源的控制、分配、恢复等。设备驱动程序323可以包括例如显示器驱动程序(未示出)、相机驱动程序(未示出)、蓝牙驱动程序(未示出)、共享存储器驱动程序(未示出)、USB驱动程序(未示出)、键区驱动程序(未示出)、Wi-Fi(wireless fidelity,无线保真)驱动程序(未示出)和/或音频驱动程序(未示出)。此外,在本申请实施例中,设备驱动程序323可以包括进程间通信(inter-process communication,IPC)驱动程序(未示出)。
中间件330可以包括预先实施的多个模块,以提供由应用370共用的功能。此外,中间件330可以通过API 360向应用370提供功能,以使应用370能够高效地使用电子设备内的有限系统资源。例如,如图3中所示,中间件330(例如图2中所示的中间件132)可以包括以下至少一项:运行库335、应用管理器341、窗口管理器342、多媒体管理器343、资源管理器344、电源管理器345、数据库管理器346、包管理器347、连接管理器348、通知管理器349、位置管理器350、图形管理器351、安全管理器352和任何其它合适和/或类似的管理器。
运行库335可以包括例如由编译器使用的库模块,以在应用370的执行期间通过使用编程语言来添加新功能。在本申请实施例中,运行库335可以执行与输入和输出、存储器的管理、算术功能等相关的功能。
应用管理器341可以管理例如至少一个应用370的生命周期。窗口管理器342可以管理在屏幕上使用的图形用户界面(graphical user interface,GUI)资源。多媒体管理器343可以检测用于再现各种媒体文件的格式,并可以通过使用适合于相关格式的编解码器对媒体文件进行编码或解码。资源管理器344可以管理至少一个应用370的资源,如源代码、存储器、存储空间等。
在本申请实施例中,窗口管理器342可以在任务区域显示相应的应用程序图标,便于用户直接锁定想要使用的应用,而不必在多任务显示界面通过滑动操作寻找该应用。
电源管理器345可以与基本输入/输出系统(basic input output system,BIOS)一起操作,可以管理电池或电源,并可以提供用于操作的电源信息等。数据库管理器346可以用以下方式来管理数据库:使得能够产生、搜索和/或改变将由至少一个应用370使用的数据库。包管理器347可以管理对以包文件的形式分发的应用的安装和/或更新。
连接管理器348可以管理诸如Wi-Fi和BT之类的无线连接。通知管理器349可以用不打扰用户的方式向用户显示或报告诸如到达消息、约会、接近警报等的事件。位置管理器350可以管理电子设备的位置信息。图形管理器351可以管理要向用户提供的图形效果和/或与图形效果相关的UI。安全管理器352可以提供用于系统安全、用户认证等的各种安全功能。
中间件330可以通过上述内部元件模块的各种功能组合来产生和使用新中间件模块。中间件330可以提供根据OS的类型而专门化的模块,以提供差异化功能。中间件330还可以动态删除现有元件中的一些元件,或可以添加新元件。因此,中间件330可以省略在本申请公开各个实施例中描述的元件中的一些元件,还可以包括其他元件,或可以将这些元件中的一些元件替换为执行相似功能并具有不同名称的元件。
API 360(例如,图2中所示的API 133)是API编程功能的集合,并且可以根据OS而具有不同配置。在例如Android或iOS的情况下,可以向每个平台提供一个API集合。在例如Tizen的情况下,可以向每个平台提供两个或更多个API集合。
应用370(例如,图2中所示的应用134)可以包括例如预加载的应用和/或第三方应用。应用370(例如应用134)可以包括例如主页应用371、拨号应用372、SMS/MMS应用373、IM应用374、浏览器应用375、相机应用376、闹钟应用377、联系人应用378、语音拨号应用379、电子邮件应用380、日历应用381、媒体播放器应用382、相 册应用383、时钟应用384以及任意其它合适和/或类似的应用。
电子设备可以启动并同时运行多个应用程序。一般的,用户在打开某个应用程序后,若切换至其他应用程序或桌面,电子设备不会主动清除用户之前打开的应用程序所占用的内存资源,而是将之前使用的应用程序作为后台应用程序保留在多任务队列中。因此,电子设备同时运行多个应用程序是指,电子设备已启动多个应用程序,多个应用程序未关闭或电子设备未删除多个应用程序占用的内存等资源,使得多个应用程序同时在后台和/或前台占用内存等资源,而并不要求多个应用程序同时在前台与用户交互。例如,手机先后启动了音乐、图库和微信3个应用程序,并且在前台运行音乐应用的同时,在后台运行图库应用和微信应用。
在本申请实施例中,电子设备检测到预设操作,则电子设备将正在运行(包括后台运行和前台运行)的一个或多个应用程序的图标,按照应用程序的优先级顺序,显示于任务区域中。用户可以通过点击任务区域中的图标快速在前台启动对应的应用程序。其中,预设操作包括解锁操作、切换至桌面的操作或者点击任务区域启动按钮的操作。任务区域可位于显示界面预配置的固定位置,如任务区域为显示于显示界面下方或上方的矩形区域。
比如,电子设备检测到用户的解锁操作,获得正在运行的一个或多个应用程序的优先级顺序,在显示界面预配置的固定位置显示的任务区域中按照优先级顺序显示一个或多个应用程序的图标。
又比如,当用户前台启动应用程序后,为了保证应用界面的显示效果,电子设备隐藏任务区域。若电子设备检测到用户切换至桌面的操作,则获得正在运行的一个或多个应用程序的优先级顺序,在显示界面预配置的固定位置显示的任务区域中按照优先级顺序显示应用程序的图标。
又比如,电子设备显示界面上设置有任务区域启动按钮,电子设备解锁后,任务区域未显示或显示后隐藏任务区域。若电子设备检测到用户对任务区域启动按钮的操作,则显示任务区域。如图4中的(a)所示,在电子设备显示界面上任意位置设置任务区域启动按钮401。电子设备检测到用户点击任务区域启动按钮401的操作,则获得正在运行的一个或多个应用程序的优先级顺序,在显示界面预配置的固定位置显示任务区域,并在任务区域中按照优先级顺序显示一个或多个应用程序的图标。其中,用户可以根据使用习惯移动任务区域启动按钮401。如电子设备检测到用户点击任务区域启动按钮401的操作,则在电子设备显示界面的中央位置显示如图4中的(b)所示的任务区域。其中,任务区域按钮401为悬浮按钮,即若某应用程序在电子设备前台运行,则任务区域按钮401悬浮显示于该应用程序界面,电子设备检测到用户点击任务区域启动按钮401的操作,在显示界面预配置的固定位置显示如图4中的(b)所示的任务区域。
可选的,电子设备检测到用户在任务区域中的双指捏合或拉伸操作后,可以对任务区域进行相应的缩小或放大显示,相应的任务区域中的图标也随之缩小或放大。比如,电子设备检测到用户在任务区域中的双指捏合操作后,任务区域缩小变窄,相应的任务区域中的图标也随之缩小,如此,可以显示更多的图标或者更符合用户对于屏幕的显示习惯。又比如,电子设备检测到用户在任务区域中的双指拉伸操作后,任务 区域放大变宽,相应的任务区域中的图标也随之放大,如此可以使得用户可以更加清晰的查看图标,便于点击相应的图标。
可选的,任务区域的大小及显示图标的数量可调整。示例性的,任务区域的大小及显示图标的数量会随着电子设备的屏幕方向变化。如图5中的(a)所示,电子设备竖屏显示时,任务区域可以显示6个应用程序图标。如图5中的(b)所示,电子设备切换为横屏显示时,任务区域变长,可显示8个应用程序图标。可选的,用户可以根据自身需求自定义任务区域的大小和/或任务区域中显示的图标数量,电子设备根据用户的自定义设置,在任务区域排列对应数量的应用程序图标。
以下将以电子设备为图2所示的手机100,手机可以运行一个或多个任务,每个任务为一个应用程序,每个应用程序对应一个应用程序图标为例,对本申请实施例提供的多任务界面管理方法进行阐述。
本申请实施例提供一种多任务界面管理方法。如图6所示,该方法可以包括:
S101、响应于预设操作,电子设备确定一个或多个应用程序的优先级顺序。
在一种可能的实现方式中,若当电子设备检测到预设操作,则计算当前正在运行的一个或多个应用程序的优先级顺序。其中,优先级指的是用户启动该应用程序的可能性。比如,优先级较高,即为电子设备预测用户启动该应用程序的可能性较大。
示例性的,如图7所示,手机100的显示界面包含主显示界面702(即桌面)和位于显示界面底部的任务区域701。其中,任务区域701用于显示电子设备正在运行的应用程序的图标。任务区域701中的显示内容不会随用户对主显示界面702上切换界面的滑动操作而变化。示例性的,参见如图7中的(a)所示的用户界面,主显示界面702显示通话应用程序和信息应用程序,当用户在主显示界面702沿箭头方向滑动屏幕后,手机显示如图7中的(b)所示的用户界面。滑动后的主显示界面702显示的应用程序变为天气应用程序和设置应用程序,而任务区域701中显示的应用程序图标未发生变化。其中,用户可以对任务区域701中显示的应用程序图标进行查看、移动、删除、添加、放大或缩小等操作。
一般地,手机操作系统提供有用于记录手机内所安装的应用程序的使用情况的进程。该进程在手机开机后可以实时监控手机内的应用程序的运行情况,记录并统计应用程序数据。例如,记录手机内的应用程序的名称,应用程序的使用频率、开启时间、使用时长、使用地点等信息。该应用程序数据可以存储在手机特定的存储区域,如图2中所示的存储器130。或者,手机也可从云端、其它电子设备(如用户使用过的旧手机、用户使用的平板电脑)或其它外部存储器获得应用程序数据。
当用户向手机100输入锁屏操作(例如按压电源键等),或者,在预设时间内没有接收到用户的任何输入,可触发手机100生成锁屏指令,由手机100响应该锁屏指令在当前显示界面上加载锁屏界面(lock screen),并熄灭屏幕进入如图8中的(a)所示的黑屏状态。手机锁屏后,所有运行的应用程序在手机后台运行,成为后台应用程序。后续,当用户解锁手机100,手机100可以从上述存储区域读取手机后台应用程序中各个应用程序的数据,根据不同应用程序的数据计算各个应用程序的优先级,并按照优先级顺序排列不同应用程序的图标。其中,优先级高的应用程序表明用户后续使用该应用程序的可能性较大,优先级低的应用程序表明后续用户使用该应用程序 的可能性较小。因此,如图8中的(b)所示,解锁手机100后,在任务区域701显示按照优先级顺序排列的不同应用程序的图标。
可选的,结合用户使用数据获得后台应用程序的优先级顺序。该用户使用数据为上述应用程序数据中与用户相关的使用数据中如下一项或几项内容:应用程序的启动时间、应用程序的启动地点、应用程序的启动频率、应用程序的使用时长。
比如,根据用户使用习惯,结合应用程序的启动时间及应用程序的启动频率,获得后台应用程序的优先级顺序。示例性的,用户A每天早上8点左右会使用支付宝付款买早餐,因此,当用户A在早上8点左右解锁手机,支付宝即为优先级最高的应用程序。可以理解的是,可以设置预设周期,用于统计不同时间段内不同应用程序的启动次数。例如,以7天为一周期统计用户在最近7天内,当前时间段内后台应用程序对应的启动次数,进而判断应用程序的优先级。
又比如,根据用户使用习惯,结合应用程序的启动地点及应用程序的启动频率,获得后台应用程序的优先级顺序。示例性的,用户A在家的时候,会经常使用微信应用及微博应用,因此,当通过手机定位装置判断用户A在家时,用户A解锁手机,微信应用和微博应用即为优先级较高的应用程序。可以理解的是,可以设置预设周期,用于统计用户在不同地点启动不同应用程序的次数。例如,以1个月为一周期统计用户在最近一个月内,在当前地点后台应用程序对应的启动次数,进而判断在当前地点应用程序的优先级。
又比如,根据用户使用习惯,结合应用程序的启动时间、应用程序的启动地点及应用程序的使用时长,获得后台应用程序的优先级顺序。用户A在家使用微信应用及微博应用的时间较长,其中,8点到9点用户使用微信应用的时间较长,9点-10点用户使用微博应用的时间较长。因此,当用户9点30分在家中解锁手机,微博应用为优先级最高的应用程序,微信应用为优先级第二高的应用程序。
又比如,根据用户使用习惯,结合应用程序的启动时间、应用程序的启动地点及应用程序的启动频率,获得后台应用程序的优先级顺序。示例性的,建立各个应用程序使用情况的数据库,在数据库中按照时间维度、地点维度记录各个应用程序的启动频率,之后根据数据库中记录的数据获得应用程序的优先级。其中,时间维度可以由厂商或用户自定义设定,如设定为一周,即,数据库中记录一周内用户启动某应用程序的次数。地点维度为用户启动某应用程序的地点,如在某地启动应用程序,可以记录该地的经纬度坐标或地址信息。即,数据库中记录用户在某地启动某应用程序的次数。综上用户在任何时刻任何地点启动应用程序都会被电子设备记录在数据库中。在手机检测到用户的解锁操作后,分别根据当前时间跟地点维度,结合用户对各个后台应用程序的启动频率,分别计算出两组得分,对应组合相加后的得分作为该应用程序的预测使用得分。根据预测使用得分,将各个应用程序的图标从任务区域701中优先级较高的显示位置到优先级较低的显示位置依次排列。示例性的,用户早上8点左右在某便利店解锁手机。此时,时间维度为早上8点,地点维度为该便利店经纬度坐标或地址信息。手机读取数据库中正在运行的应用程序的使用数据,假设此时后台运行有两个应用程序支付宝和微信。在一周时间内,用户在当前时间启动支付宝的次数为5次,启动微信的次数为3次;用户在当前地点启动支付宝的次数为5次,启动微信 的次数为1次。那么,此次解锁后,支付宝的预测使用分数为10分(5+5=10),微信的预测使用分数为4分(3+1=4),由此,手机获知此次解锁支付宝的预测使用分数大于微信的预测使用分数,那么手机会将支付宝应用图标排列在任务区域701中优先级最高的显示位置,将微信应用图标排列在次高的显示位置。
需要说明的是,上述获得应用程序优先级顺序的方法并不局限于应用程序的启动时间、应用程序的启动地点、应用程序的启动频率以及应用程序的使用时长,还可以包括其他影响应用程序推荐的因素。比如用户自定义的设置等。示例性的,用户可以将某一应用程序设置为优先级最高的应用程序,则该应用程序的图标始终排列在任务区域701中优先级最高的显示位置。对此本申请实施例不做具体限定。
此外,为了保护用户隐私,本申请实施例中的优先级计算方法只应用于正在前台或后台运行的应用程序。也即,若应用程序未运行,为保护用户隐私,电子设备不能读取用于获得应用程序优先级的用户数据,故,不能应用上述优先级计算方法。
S102、电子设备根据一个或多个应用程序的优先级顺序,在任务区域按照预设规则显示一个或多个应用程序的图标。
在一种可能的实现方式中,在电子设备中预配置或者由用户设定任务区域701中各个显示位置的优先级排序,如中央的显示位置为优先级最高的显示位置,沿两侧优先级逐渐降低。电子设备按照各个后台应用程序优先级顺序,依次将各个后台应用程序的图标排列在相应的显示位置。由此,可以使得用户快速锁定需要启动的应用程序,简化用户操作,提高用户体验。
可选的,在任务区域701中央的显示位置显示优先级最高的应用程序的图标,便于用户启动该应用程序,优先级较低的应用程序的图标依次排列在优先级最高的应用程序的图标两侧。示例性的,如图8中的(b)所示,任务区域701中显示有六个应用程序图标。支付宝图标及微信图标排列在任务区域701中央,那么这六个应用程序优先级排序可以为:支付宝>微信>音乐>微博>相机>图库。
可选的,根据用户习惯,在任务区域701按照优先级顺序排列应用程序的图标。比如,按照优先级顺序从左往右或从右往左的顺序依次排列应用程序的图标。又比如,根据用户自定义的任务区域701中显示位置的优先级顺序,对应排列应用程序图标。对此本申请实施例不做具体限定。
在一种可能的实现方式中,当用户第i次解锁手机后,启动主显示界面702(即桌面)中显示的第一应用程序,且该第一应用程序未显示于任务区域701中。那么,若第i次解锁后使用的第一应用程序,在第i+1次用户解锁后为后台应用程序,则该第一应用程序会被计算为优先级最高的应用程序,对应图标显示于任务区域701中优先级最高的显示位置。示例性的,参见图8中的(b)所示,假设用户不会清除后台应用程序占用的内存资源,则任务区域701中显示的六个应用程序的优先级排序为:支付宝>微信>音乐>微博>相机>图库。若用户并没有启动任务区域701中显示的应用程序,而是选择启动主显示界面702中的通话应用。参见图9中的(a)所示,若手机此次锁屏再解锁,则通话应用将取代支付宝应用成为优先级最高的应用程序,通话应用程序图标显示于任务区域701中优先级最高的显示位置,并且由于任务区域701显示区域有限,之前六个应用程序中优先级最低的图库应用的图标无法显示,如图9中 的(a)所示,图库图标在电子设备显示屏之外(即隐藏区域中),当前界面中无法显示。如果用户想要使用图库应用,可以通过滑动任务区域701以显示更多的后台应用程序的图标。如图9中的(b)所示,为用户在任务区域701滑动向右滑动后显示的界面,任务区域701中显示有图库应用的图标。即,可以在任务区域701中通过滑动显示更多的后台应用程序的图标。为了便于理解,参见下表1,示例性的,任务区域701包含显示区域和隐藏区域。居中的显示区域可以显示优先级1-6应用程序的图标,通过滑动可以显示左右隐藏区域中包含的更多的优先级较低的应用程序的图标。
表1
Figure PCTCN2020113804-appb-000001
可选的,当用户第i次解锁手机后,启动主显示界面702(即桌面)中的多个第一应用程序,且该多个第一应用程序均未显示于任务区域701中。那么,若第i次解锁手机后使用的多个第一应用程序,在第i+1次用户解锁时为后台应用程序,则该多个第一应用程序的优先级高于其他后台应用程序,并且利用上述优先级算法计算该多个第一应用程序的优先级顺序,对应显示于任务区域701中。若该多个第一应用程序中存在用户新下载安装的一个或多个第二应用程序即手机中并未记录该一个或多个第二应用程序的应用程序数据,则将该一个或多个第二应用程序的优先级定义为第一应用程序中优先级最高的应用程序,对应显示于任务区域701中优先级最高的显示位置。并且根据下载安装时间,确定该一个或多个第二应用程序的优先级顺序,在任务区域701中随下载安装的时间顺序,依次排列一个或多个第二应用程序图标。
可选的,当用户解锁手机后,并没有启动任务区域701中显示的应用程序,而是选择启动主显示界面702(即桌面)中显示的一个或多个第一应用程序。那么,当用户切换该一个或多个第一应用程序至桌面后,将按照一个或多个第一应用程序的切换顺序匹配优先级顺序,对应图标显示于任务区域701中。其中,一个或多个第一应用程序的优先级顺序小于任务区域中包括的应用程序优先级顺序。示例性的,如图8中的(b)所示,用户未启动任务区域701中的应用程序,而是选择启动主显示界面702中的通话应用,那么当用户结束通话切换至桌面后,通话应用程序图标将显示于任务区域701中优先级最低的显示位置。之后,用户启动主显示界面702中的信息应用,当用户使用完信息应用切换至桌面后,信息应用程序图标将显示于任务区域701中优先级最低的显示位置,通话应用程序图标将显示于任务区域701中倒数第二优先级显示位置。
可选的,电子设备刷新任务区域701。其中,刷新任务区域701的时机包括:电子设备检测到用户的解锁操作,电子设备检测到用户点击启动任务区域按钮,电子设备检测到用户切换应用程序至桌面或电子设备启动后持续运行时间间隔达到预设周期。其中,预设周期可以为电子设备厂商预配置或者由用户自定义设置。比如,用户设置该自动刷新的预设周期为2h,那么当电子设备启动后持续运行的时间间隔等于两小时时,电子设备会重新计算正在运行的应用程序的优先级顺序。示例性的,如图8中的(b)所示,用户早8点解锁手机,优先级顺序排序第一的为支付宝,优先级顺序排序第二的为微信,用户连续使用手机(期间未锁屏)至10点,电子设备会对运行的应用程序重新计算优先级顺序。比如,10点时,优先级顺序排序第一的变为微信,优先级顺序排序第二的变为支付宝,那么微信图标将会取代支付宝图标排列在任务区域701优先级最高的显示位置。又比如,10点时,电子设备重新计算应用程序优先级顺序,此时,支付宝应用并未运行(在8点-10点期间用户关闭并将支付宝占用的内存数据清除),那么,电子设备任务区域701中将不显示支付宝图标。若用户持续使用手机未锁屏,那么每隔2h,电子设备会自动刷新任务区域701的显示内容。
可选的,用户启动第三应用程序后,电子设备会根据后台应用程序中与当前用户启动的第三应用程序的关联度,按照关联度高低将后台应用程序的图标显示于任务区域701中。示例性的,用户启动相机应用,电子设备确定后台应用程序中包含微信应用。比如,用户习惯拍照后利用微信应用分享照片,因此相机应用与微信应用关联度较高。故,当用户切换相机应用至桌面后,电子设备将微信应用判定为优先级最高的应用程序,将微信图标排列在任务区域701优先级最高的显示位置。又比如,用户习惯拍照后利用微信应用分享照片,有时还会利用美图应用修改照片,且美图应用也为后台应用程序。因此,相机应用与微信应用及美图应用关联度较高。故,当用户切换相机应用至桌面后,电子设备判定微信应用与美图应用优先级较高,将微信图标与美图图标排列在任务区域701优先级较高的显示位置。其中,微信应用与美图应用的优先级可以根据用户使用相机应用后切换至这两个应用的次数确定,或者也可以随机排序。
通过上述步骤S101和S102,电子设备显示界面显示任务区域,则用户还可以通过下述步骤S103,对任务区域中显示的目标应用程序的图标进行操作,以驱动电子设备执行预设动作,满足用户需求。
S103、响应于对目标应用程序的图标的操作,电子设备执行预设动作。
具体的,电子设备检测到用户对任务区域701中目标应用程序的图标的单击、长按或长按并上移操作,会执行相应的预设动作。电子设备执行的动作可以为如下一项或几项:启动应用程序,查看应用程序,移动应用程序,分享应用程序,删除应用程序图标,编辑应用程序快捷方式。
在一种可能的实现方式中,手机100在检测到用户点击任务区域701中的某个图标的操作后,进入该图标对应的应用程序,并全屏显示该应用程序的界面。即,前台运行该应用程序。其中,某个应用程序的界面可以是该应用程序的主页面,最近在前台显示的界面,登录界面,或用户经常使用的界面等。
可选的,任务区域701中的每个图标可以对应一个或多个卡片,每个卡片可以对 应一个应用程序。其中,卡片为应用程序对应的功能界面。示例性的,手机100在检测到用户点击任务区域701中的某个图标的操作后,在主显示界面702上显示该图标对应的卡片。
比如,上述卡片为锁屏前用户使用过的该应用程序对应的功能,将这些卡片按照时间顺序排序,将最近操作过的功能对应的卡片优先显示。用户点击想要使用的功能对应的卡片即可进入该应用功能,用户还可以通过滑动操作,以显示更多的卡片。如图10中的(a)所示,用户点击任务区域701中的微信图标后,在主显示界面702上显示该图标对应的卡片。在上次锁屏前用户使用过微信的两个功能,分别为“添加朋友”功能和“主页面聊天”功能,因此,在主显示界面702上显示这两个功能对应的卡片。其中,最近操作的功能为“添加朋友”功能,因此,在左侧优先显示该功能的卡片。若用户还想操作“添加朋友”功能,直接点击该卡片即可进入该功能,而不必再通过一步步点击选择,提高电子设备与用户之间的交互效率。
又比如,上述卡片可以为锁屏前用户使用过的该应用程序对应的功能,将这些卡片按照使用次数顺序进行排序,将使用次数最多的功能对应的卡片优先显示。或者,上述卡片也可以为用户历史使用过的该应用程序中对应的功能中使用次数排序在先的部分功能。如图10中的(b)所示,用户点击任务区域701中的微信图标后,在主显示界面702上显示该图标对应的卡片。在上次锁屏前或历史记录中用户使用过微信的两个功能,分别为“添加朋友”功能和“主页面聊天”功能,因此,在主显示界面702上显示这两个功能对应的卡片。其中,“主页面聊天”功能为用户使用次数较多的功能,因此,在左侧优先显示该功能的卡片,便于用户直接锁定启动对应功能,简化用户操作,提高效率及用户体验。
需要说明的是,若任务区域701中的某一图标对应的卡片数量为1,用户点击该图标可以直接进入该单个卡片对应的功能,而不必再通过显示并点击该卡片而使用对应的功能,提高交互效率。并且,上述图10中,示例性的给出了某一图标对应的两个卡片,可以理解的是,本申请实施例对于任务区域701中每一图标对应的卡片数量不做具体限定,图标可以对应多于两个的卡片,用户可以通过滑动操作,进行选择。
在一种可能的实现方式中,用户可以通过长按任务区域701中的图标对该图标进行编辑或快速选择。
比如,用户可以通过长按某图标移动该图标的排列位置。如此,可以进一步的满足用户的使用需求,并且,电子设备可以记录当前用户的移动操作。进而,在下一次电子设备检测到用户的解锁操作,将此次移动后任务区域中显示的图标对应的应用程序优先级顺序也加入到优先级计算中。比如,用户通过长按图标将处于优先级次高显示位置的应用程序图标移动到优先级最高的显示位置,那么若下一次电子设备解锁,则电子设备会直接将该被移动的应用程序图标排列在任务区域701中优先级最高的显示位置。
又比如,用户可以通过长按某图标对该图标对应的应用程序进行分享。即可以通过长按某图标将该图标对应的应用程序的下载地址生成链接,分享给与当前电子设备连接的其他电子设备,用户可以在其他电子设备中点击分享的链接,下载分享的应用程序。
又比如,用户可以通过长按某图标删除该图标。长按图标的删除操作仅为删除该图标,而不会卸载该图标对应的应用程序。为了防止用户误删除,该删除图标的操作也不会删除该图标对应的应用程序的后台缓存数据,即此次锁屏再解锁后,手机100还可以再次计算该应用程序的优先级,使得该应用程序的图标排列在任务区域701中。
又比如,用户可以通过长按某图标编辑该图标对应的应用程序。例如,可以设置建立对应应用程序中某些功能的快捷方式,以便于用户可以快速启动该功能,而不必进入该应用程序后再通过一步步选择而启动某些功能,提高电子设备与用户之间的交互效率。
示例性的,参见图11中的(a)所示,手机100检测到用户长按任务区域701中的微信图标后,显示“分享”、“删除”、“编辑”、“钱包”和“三角图形”按钮。用户可以通过点击相应的按钮执行上述分享、删除及编辑操作。如通过点击“编辑”为微信应用中的钱包功能设置快捷方式或删除该快捷方式。手机100检测到用户点击某些功能快捷方式按钮的操作后,可以全屏显示相应的功能界面。如图11中的(b)所示,为手机100检测到用户点击“钱包”按钮后显示的“微信钱包”功能界面,用户不必先进入微信后再一步步点击启动钱包功能,而可以通过快捷按钮直接启动对应的功能。并且用户可以通过编辑功能,编辑该应用程序中更多常用功能的快捷方式。通过点击图11中的(a)中“钱包”后的“三角图形”按钮,进入如图11中的(c)显示的界面,显示更多的微信中的功能对应的快捷方式,如“添加朋友”、“生活缴费”等。若还有更多功能的快捷方式未显示,可以通过点击“三角图形”按钮以显示,若已没有未显示的快捷方式,则可以不显示“三角图形”按钮。
可选的,用户可以通过长按并上移任务区域701中的图标实现对该图标的快速删除。该快速删除操作同样为删除该图标,而不会卸载该图标对应的应用程序。并且可以不必在长按图标后再进行点击选择而删除图标,进一步提高效率。
由此可见,本申请实施例提供的一种多任务界面管理方法,在电子设备显示界面中设置任务区域,若电子设备检测到预设操作,则电子设备将运行中的应用程序图标按照预测用户会启动的应用程序优先级顺序排列在任务区域中,便于用户快速锁定及操作相应的应用程序,简化用户操作,提高用户体验。
可以理解的是,上述电子设备等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例可以根据上述方法示例对上述电子设备等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图12示出了上述实施例中所涉 及的电子设备的一种可能的结构示意图,包括:检测单元1201、采集单元1202、处理单元1203、显示单元1204。
其中,检测单元1201,用于检测预设操作,以及检测用户对任务区域中图标的操作。该预设操作包括:解锁操作、切换至桌面的操作或者点击任务区域启动按钮的操作。
采集单元1202,用于采集一个或多个应用程序的应用程序数据,及当前电子设备所处环境的信息,该环境信息包括当前时间、地点等信息。
处理单元1203,用于根据检测单元1201检测到预设操作或用户对任务区域中目标应用程序的图标的操作,并根据采集单元1202采集的应用程序数据及环境信息,确定一个或多个应用程序的优先级顺序。
显示单元1204,用于根据一个或多个应用程序的优先级顺序在任务区域对应显示应用程序的图标,以及显示任务区域启动按钮。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,可将上述检测单元1201、采集单元1202、处理单元1203以及显示单元1204集成为处理模块。当然,电子设备中还可以包括存储模块、通信模块以及输入输出模块等。
此时,如图13所示,示出了上述实施例中所涉及的电子设备的一种可能的结构示意图。其中,处理模块1301用于对电子设备的动作进行控制管理。通信模块1302用于支持电子设备与其他网络实体的通信。输入/输出模块1303用于接收由用户输入的信息或输出提供给用户的信息以及电子设备的各种菜单。存储模块1304用于保存电子设备的程序代码和数据。
示例性的,处理模块1301可以是处理器或控制器,例如可以是中央处理器(central processing unit,CPU),图形处理器(graphics processing unit,GPU),通用处理器,数字信号处理器(digital signal srocessor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。
通信模块1302可以是收发器、收发电路、输入输出设备或通信接口等。例如,通信模块1302具体可以是蓝牙装置、Wi-Fi装置、外设接口等等。
存储模块1304可以是存储器,该存储器可以包括高速随机存取存储器(random access memory,RAM),还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。
输入/输出模块1303可以为触摸屏、键盘、麦克风以及显示器等输入输出设备。其中,显示器具体可以采用液晶显示器、有机发光二极管等形式来配置显示器。另外,显示器上还可以集成触控板,用于采集在其上或附近的触摸事件,并将采集到的触摸信息发送给其他器件(例如处理器等)。
本申请实施例还提供了一种电子设备,包括一个或多个处理器;存储器;触摸屏,用于检测触摸操作,以及显示任务区域。其中,存储器中存储有指令,当指令被一个或多个处理器执行时,使得电子设备执行上述实施例中的各个步骤,以实现上述实施例中的多任务界面管理方法。
示例性的,当该电子设备为图2所示的设备时,该电子设备中的处理器可以为图2所示的处理器120,该电子设备中的存储器可以为图2所示的存储器130,该电子设备中的触摸屏可以为图2所示的用户输入模块150和显示模块160的组合。
本申请实施例还提供一种芯片系统,如图14所示,该芯片系统包括至少一个处理器1401和至少一个接口电路1402。处理器1401和接口电路1402可通过线路互联。例如,接口电路1402可用于从其它装置接收信号。又例如,接口电路1402可用于向其它装置发送信号。示例性的,接口电路1402可读取存储器中存储的指令,并将该指令发送给处理器1401。当所述指令被处理器1401执行时,可使得电子设备执行上述实施例中的手机100执行的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
在上述实施例中,可以全部或部分的通过软件,硬件,固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式出现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘,硬盘、磁带)、光介质(例如数字视屏光碟(digital video disc,DVD))或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
另外,本申请的实施例还提供一种装置,该装置具体可以是组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使装置执行上述各方法实施例中的多任务界面管理方法。
其中,本申请实施例提供的电子设备、芯片、计算机可读存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (17)

  1. 一种多任务界面管理方法,应用于电子设备,其特征在于,所述电子设备的显示界面设置有任务区域,所述方法包括:
    响应于预设操作,所述电子设备确定一个或多个应用程序的优先级顺序;其中,所述一个或多个应用程序包括所述电子设备当前正在运行的应用程序;所述预设操作包括:解锁操作、切换至桌面的操作或者点击任务区域启动按钮的操作;
    所述电子设备根据所述一个或多个应用程序的优先级顺序,在所述任务区域按照预设规则显示所述一个或多个应用程序的图标。
  2. 根据权利要求1所述的多任务界面管理方法,其特征在于,所述电子设备确定一个或多个应用程序的优先级顺序,包括:
    所述电子设备根据应用程序数据确定所述一个或多个应用程序的优先级顺序,所述应用程序数据包含如下一项或几项:应用程序的启动时间、应用程序的启动地点、应用程序的启动频率、应用程序的使用时长。
  3. 根据权利要求1或2所述的多任务界面管理方法,其特征在于,所述电子设备根据所述一个或多个应用程序的优先级顺序,在所述任务区域按照预设规则显示所述一个或多个应用程序的图标,包括:
    所述电子设备根据所述一个或多个应用程序的优先级顺序,按照所述任务区域中显示位置的优先级顺序,显示所述一个或多个应用程序图标。
  4. 根据权利要求3所述的多任务界面管理方法,其特征在于,所述任务区域为显示于显示界面下方或上方的矩形区域,所述任务区域中显示位置的优先级顺序包括:
    所述任务区域的中央显示位置为优先级最高的显示位置,向两侧排列的显示位置优先级顺序降低;或者,所述任务区域最左侧的显示位置为优先级最高的显示位置,向右排列的显示位置优先级顺序降低;或者,所述任务区域最右侧的显示位置为优先级最高的显示位置,向左排列的显示位置优先级顺序降低。
  5. 根据权利要求1-4任一项所述的多任务界面管理方法,其特征在于,所述响应于预设操作,所述电子设备确定一个或多个应用程序的优先级顺序,包括:
    所述电子设备第i+1次检测到用户的解锁操作,将第一应用程序确定为优先级最高的应用程序;所述第一应用程序为电子设备第i次解锁后,用户启动的未在任务区域显示的应用程序。
  6. 根据权利要求5所述的多任务界面管理方法,其特征在于,所述方法还包括:
    若所述第一应用程序的数量为多个,且所述第一应用程序中包括一个或多个第二应用程序,所述一个或多个第二应用程序为用户新下载的应用程序,则所述电子设备第i+1次检测到用户的解锁操作,将所述一个或多个第二应用程序确定为所述第一应用程序中优先级最高的应用程序;其中,所述电子设备根据所述一个或多个第二应用程序的下载时间顺序确定所述一个或多个第二应用程序的优先级顺序。
  7. 根据权利要求1-4任一项所述的多任务界面管理方法,其特征在于,所述方法还包括:
    所述电子设备检测到用户启动第一应用程序,所述第一应用程序为用户启动的未在任务区域显示的应用程序,则当所述电子设备检测到所述用户切换所述第一应用程 序至桌面的操作,按照所述第一应用程序的切换顺序匹配优先级顺序,所述第一应用程序的优先级低于所述一个或多个应用程序的优先级;其中,所述第一应用程序的数量为一个或多个。
  8. 根据权利要求1-4任一项所述的多任务界面管理方法,其特征在于,所述方法还包括:
    所述电子设备检测到用户启动第三应用程序,所述电子设备根据所述一个或多个应用程序与所述第三应用程序的关联度,按照关联度高低将应用程序的图标显示于所述任务区域中。
  9. 根据权利要求1所述的多任务界面管理方法,其特征在于,所述方法还包括:
    响应于对目标应用程序的图标的单击操作,所述电子设备在前台运行所述目标应用程序;
    响应于对目标应用程序的图标的长按并上滑操作,所述电子设备删除所述任务区域中的所述目标应用程序的图标。
  10. 根据权利要求1-9任一所述的多任务界面管理方法,其特征在于,所述任务区域包括显示区域和隐藏区域,所述显示区域显示于所述电子设备的显示界面,所述方法还包括:
    响应于所述任务区域中的滑动操作,所述电子设备显示隐藏区域中的应用程序的图标。
  11. 根据权利要求1-10任一所述的多任务界面管理方法,其特征在于,所述方法还包括:
    响应于所述任务区域中的双指捏合或双指拉伸操作,所述电子设备放大或缩小所述任务区域。
  12. 根据权利要求1-11任一项所述的多任务界面管理方法,其特征在于,所述方法还包括:
    若所述电子设备未检测到用户的锁屏操作,则按照预设周期根据当前运行的一个或多个应用程序的优先级顺序刷新任务区域显示的图标。
  13. 根据权利要求1所述的多任务界面管理方法,其特征在于,所述电子设备的显示界面设置有任务区域启动按钮,所述方法包括:
    响应于用户点击所述任务区域启动按钮的操作,所述电子设备显示所述任务区域。
  14. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器,所述存储器中存储有指令;
    触摸屏,用于检测触摸操作,以及显示任务区域;
    当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1-13中任一项所述的多任务界面管理方法。
  15. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-13中任一项所述的多任务界面管理方法。
  16. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行 时,使得所述计算机执行如权利要求1-13中任一项所述的多任务界面管理方法。
  17. 一种芯片系统,其特征在于,包括至少一个处理器和至少一个接口电路,所述至少一个接口电路用于执行收发功能,并将指令发送给所述至少一个处理器,所述至少一个处理器执行所述指令,所述至少一个处理器执行如权利要求1-13中任一项所述的多任务界面管理方法。
PCT/CN2020/113804 2019-10-31 2020-09-07 多任务界面管理方法及电子设备 WO2021082739A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911056392.2A CN112748972B (zh) 2019-10-31 2019-10-31 多任务界面管理方法及电子设备
CN201911056392.2 2019-10-31

Publications (1)

Publication Number Publication Date
WO2021082739A1 true WO2021082739A1 (zh) 2021-05-06

Family

ID=75644882

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113804 WO2021082739A1 (zh) 2019-10-31 2020-09-07 多任务界面管理方法及电子设备

Country Status (2)

Country Link
CN (1) CN112748972B (zh)
WO (1) WO2021082739A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116098A (zh) * 2021-11-23 2022-03-01 维沃移动通信有限公司 应用图标管理方法、装置、电子设备及存储介质
CN114840117A (zh) * 2022-05-10 2022-08-02 北京字跳网络技术有限公司 信息输入页面的元素控制方法、装置、设备、介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992791A (zh) * 2021-09-17 2022-01-28 珠海格力电器股份有限公司 操作处理方法、装置、存储介质及电子设备
CN116627534B (zh) * 2021-11-19 2024-04-05 荣耀终端有限公司 应用程序处理方法及装置
CN114116107A (zh) * 2021-11-29 2022-03-01 维沃移动通信有限公司 控件显示方法及装置
CN114356477B (zh) * 2021-12-22 2024-04-09 青岛海信移动通信技术有限公司 一种终端设备和应用程序调用方法
CN114340021B (zh) * 2022-03-03 2022-08-12 荣耀终端有限公司 一种请求处理方法及设备
CN114661396A (zh) * 2022-03-22 2022-06-24 合众新能源汽车有限公司 一种车控功能在显示界面上的动态调整方法及控制装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150205456A1 (en) * 2012-08-15 2015-07-23 Zte Corporation Method and Device for Processing Application Shortcut
CN105511853A (zh) * 2015-11-25 2016-04-20 上海斐讯数据通信技术有限公司 一种排列移动终端桌面应用程序图标的方法及系统
CN105824610A (zh) * 2015-07-31 2016-08-03 广东维沃软件技术有限公司 一种基于终端的应用程序图标的排列方法和装置
CN106293309A (zh) * 2015-05-21 2017-01-04 西安中兴新软件有限责任公司 一种应用程序图标排列方法和装置
CN108509108A (zh) * 2018-03-29 2018-09-07 维沃移动通信有限公司 一种应用程序图标排列方法及移动终端

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6052004B2 (ja) * 2013-03-27 2016-12-27 富士通株式会社 端末装置および端末制御プログラム
CN103984470B (zh) * 2014-05-29 2017-06-30 中国联合网络通信集团有限公司 图标显示方法和装置
CN104460987B (zh) * 2014-11-07 2019-05-28 惠州Tcl移动通信有限公司 可通过非接触手势操控的电子设备
CN106155720A (zh) * 2015-04-08 2016-11-23 阿里巴巴集团控股有限公司 一种启动应用程序功能的方法及系统
CN104978109B (zh) * 2015-07-15 2018-09-14 魅族科技(中国)有限公司 一种应用程序界面显示方法及终端
CN106557671A (zh) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 一种屏幕解锁时的快捷触发应用程序的方法及装置
CN105955576A (zh) * 2016-04-29 2016-09-21 杨永明 基于用户操作数据的应用图标显示方法
CN106020606A (zh) * 2016-05-19 2016-10-12 深圳市金立通信设备有限公司 一种调整快捷图标的方法及终端
CN106020615A (zh) * 2016-05-26 2016-10-12 珠海市魅族科技有限公司 一种终端控制方法及装置
CN106775193A (zh) * 2016-11-18 2017-05-31 广州视源电子科技股份有限公司 一种应用程序界面显示方法及装置
CN107861784B (zh) * 2017-10-27 2019-12-31 珠海格力电器股份有限公司 一种桌面图标的整理方法、装置及移动终端
CN108647058A (zh) * 2018-05-15 2018-10-12 维沃移动通信有限公司 一种应用程序启动方法及移动终端
CN109409070A (zh) * 2018-11-01 2019-03-01 Oppo广东移动通信有限公司 应用开启方法、装置、终端及存储介质
CN110222491A (zh) * 2019-04-26 2019-09-10 华为技术有限公司 一种启动应用的方法及一种电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150205456A1 (en) * 2012-08-15 2015-07-23 Zte Corporation Method and Device for Processing Application Shortcut
CN106293309A (zh) * 2015-05-21 2017-01-04 西安中兴新软件有限责任公司 一种应用程序图标排列方法和装置
CN105824610A (zh) * 2015-07-31 2016-08-03 广东维沃软件技术有限公司 一种基于终端的应用程序图标的排列方法和装置
CN105511853A (zh) * 2015-11-25 2016-04-20 上海斐讯数据通信技术有限公司 一种排列移动终端桌面应用程序图标的方法及系统
CN108509108A (zh) * 2018-03-29 2018-09-07 维沃移动通信有限公司 一种应用程序图标排列方法及移动终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116098A (zh) * 2021-11-23 2022-03-01 维沃移动通信有限公司 应用图标管理方法、装置、电子设备及存储介质
CN114116098B (zh) * 2021-11-23 2024-03-22 维沃移动通信有限公司 应用图标管理方法、装置、电子设备及存储介质
CN114840117A (zh) * 2022-05-10 2022-08-02 北京字跳网络技术有限公司 信息输入页面的元素控制方法、装置、设备、介质

Also Published As

Publication number Publication date
CN112748972A (zh) 2021-05-04
CN112748972B (zh) 2023-08-22

Similar Documents

Publication Publication Date Title
WO2021082739A1 (zh) 多任务界面管理方法及电子设备
US9432314B2 (en) Quick navigation of message conversation history
JP6700254B2 (ja) 通話中のリアルタイム共有
US20200257425A1 (en) File Sharing Method and Terminal
US11165963B2 (en) Device, method, and graphical user interface for accessing an application in a locked device
US9075508B1 (en) Next application suggestions on a user device
RU2705459C2 (ru) Способ показа темы и соответствующее устройство
US20150333971A1 (en) Method and device for managing processes of application program
CN108463799B (zh) 电子设备的柔性显示器及其操作方法
WO2019153211A1 (zh) 一种应用切换方法及终端
CN112955856A (zh) 在分屏上显示可执行应用的列表的电子装置及其操作方法
WO2019227487A1 (zh) 一种项目的显示方法及终端
CN111857531A (zh) 移动终端及其文件显示方法
CN110798521B (zh) 分享文件的方法、装置、电子设备及存储介质
CN105279164B (zh) 一种基于ios系统的文件处理方法及装置
WO2016049875A1 (en) Device and method for capturing, sharing and watching video messages
CN113157439B (zh) 一种资源统计方法、装置及终端
CN108958824A (zh) 应用程序的启动方法、装置、电子设备及存储介质
US20160196030A1 (en) Method and electronic device for displaying electronic document
CN110795194B (zh) 桌面显示控制的方法、装置、终端及存储介质
CN114721761A (zh) 一种终端设备、应用图标管理方法和存储介质
WO2019153687A1 (zh) 一种通话记录的管理方法及终端
US20210067625A1 (en) Technology and method for selectively providing network function to application of device
KR102569267B1 (ko) 전자 장치 및 그 제어 방법
WO2021073549A1 (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: 20880914

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: 20880914

Country of ref document: EP

Kind code of ref document: A1