Multi-task interface operation method and related device
By adjusting the display position of the multi-task operation component on large-screen electronic devices according to the device usage mode, the problem of users having difficulty operating the multi-task interface with one hand is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202311150162.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-06
- Publication Date
- 2025-03-07
AI Technical Summary
When using large-screen electronic devices, it is difficult for users to operate some components of the multi-task interface with one hand, resulting in a poor user experience.
By detecting device usage patterns, the electronic device displays multitasking components in an area close to the left or right of the screen, allowing users to easily operate when holding the device with one hand in the left or right hand.
Improves the user experience of one-handed operation in multitasking scenarios, ensuring that users can easily access and control components of the multitasking interface.
Smart Images

Figure CN119576451A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a multi-tasking interface operation method and related devices. Background Art
[0002] Nowadays, electronic devices are developing in the direction of larger screens. Portable devices such as foldable phones and tablets all have larger screens. Larger screens can display more content, giving users a better experience in scenes such as watching movies, reading, and browsing news, but at the same time, it also makes it more difficult for users to operate electronic devices with one hand.
[0003] Especially in a multitasking scenario, an electronic device can display multiple components on the multitasking interface to indicate recently used applications. Some of the components are displayed in the upper left corner of the screen, and some of the components are actually in the upper right corner of the screen. When a user holds the electronic device with one hand in his right hand, it may be difficult for the user to touch the component displayed in the upper left corner for operation. When a user holds the electronic device with one hand in his left hand, it may be difficult for the user to touch the component displayed in the upper right corner for operation. It can be seen that when a user holds an electronic device with a large screen with one hand, it is difficult to operate some components on its multitasking interface. The user experience is poor. Summary of the invention
[0004] The present application provides a multi-tasking interface operation method and related devices. Among them, the electronic device can display a multi-tasking operation component in an area close to the left or right side of the screen according to the device usage mode of the electronic device. This can facilitate the user to implement corresponding functions through the multi-tasking operation component when holding the electronic device with one hand in the left or right hand. The method can improve the user's experience of one-handed operation in a multi-tasking scenario.
[0005] In a first aspect, the present application provides a multi-task interface operation method. Specifically, an electronic device detects a first operation; in response to the first operation, the electronic device displays a multi-task interface, the multi-task interface includes a first task card and a first component of a first application, and the first component is displayed in a first area of the screen; wherein the first task card and the first component are both used to control the first application.
[0006] The multitasking interface can be used to display task cards of one or more running applications in an electronic device. A task card of an application can be a screenshot of the interface of the application when the application switches from the foreground running state to the background running state, or it can also be a screenshot of the interface of the application after blurring. Figure 1B The multitasking interface 220 shown, Figure 3A Multitasking interface 310 is shown.
[0007] The first operation may be an operation for calling up the multitasking interface. Figure 1A The action shown is to swipe up from the bottom edge of the screen and pause.
[0008] The first task card may be a task card of the first application, and reference may be made to this application. Figure 1B The task cards 221 to 226 shown in the figure. The first component can be a mirror component of the first application, and can refer to the present application Figure 3A Mirrored components are shown in the component folder 316. The first component and the first task card may have a mirrored relationship.
[0009] The first area can refer to this application Figure 3A The area shown in the component folder 316, or the application Figure 3B The area shown in the component folder 321, or the application Figure 3C The area in which the component folder 332 is displayed is shown.
[0010] It can be seen from the above method that when the multitasking interface is called up, in addition to the task card of the application, the electronic device 100 can also display the mirror component of the application in the multitasking interface. The mirror component of the application can be displayed in the first area of the screen. The first area is an area that can be operated by the user holding the electronic device with one hand. In this way, when the screen of the electronic device is large and the display position of the first task card is far away from the user's fingers and inconvenient to operate, the user holding the electronic device with one hand can easily control the first application through the first component. This can improve the user's one-handed operation experience in a multitasking scenario.
[0011] In combination with the first aspect, in some embodiments, an electronic device displays a multitasking interface, the multitasking interface includes a first task card and a first component of a first application, and the first component is displayed in a first area of the screen. Specifically, the electronic device displays task cards of one or more running applications in the multitasking interface, and displays components of one or more running applications in the first area, wherein the task card and component of a running application are both used to control a running application, the one or more running applications include the first application, and the one or more components of the running applications include the first component.
[0012] The running applications may include multiple applications running in the background and in the foreground and having a user interface. Optionally, the running applications may also include applications that were once running and had a user interface but were automatically closed by the electronic device due to insufficient memory or the like.
[0013] It can be seen that electronic devices displaying task cards and mirror components on the screen can maximize the full use of the screen and improve the user's one-handed operation experience in multi-tasking scenarios.
[0014] In combination with the first aspect, in some embodiments, the electronic device determines the position of the first area according to the device usage mode, wherein when the device usage mode is left-hand mode, the first area is close to the left side of the screen, and when the device usage mode is right-hand mode, the first area is close to the right side of the screen; the device usage mode is set by the user, or is determined by the electronic device based on the detection result of whether the electronic device is held by the left hand or the right hand.
[0015] The scenario of user setting usage mode can refer to this application Figure 2A and Figure 2B The scene shown.
[0016] In some embodiments, the electronic device can detect in real time whether the electronic device is held by the left hand or the right hand. When it is detected that the electronic device is held by the left hand, the electronic device can determine that the device usage mode is the left-hand mode. When it is detected that the electronic device is held by the right hand, the electronic device can determine that the device usage mode is the right-hand mode. During the process of displaying the multitasking interface, if the electronic device detects that the device usage mode has changed, the electronic device can adjust the position of the above-mentioned first area in real time to facilitate the user to always be able to quickly implement the corresponding functions through the multitasking operation component when holding the electronic device with one hand.
[0017] In combination with the first aspect, in some embodiments, the electronic device detects a second operation on the first component, and the second operation is used to open the first application; in response to the second operation, the electronic device opens the first application and displays the user interface of the first application.
[0018] The second operation can refer to this application Figure 5A The operation shown.
[0019] In some embodiments, in response to an operation performed on the first task card to open the first application, the electronic device may also open the first application and display the user interface of the first application.
[0020] It can be seen that the effect that can be achieved by the user operating the mirror component to open the application corresponding to the mirror component is the same as the effect that can be achieved by the user operating the task card that has a mirror relationship with the mirror component. This can ensure the consistency of the user experience of using the mirror component and the task card.
[0021] In combination with the first aspect, in some embodiments, the electronic device detects a third operation on the first component, and the third operation is used to lock the first application; in response to the third operation, the electronic device locks the first application and displays a lock mark on the first task card, and the lock mark is used to indicate that the first application is locked.
[0022] The third operation can refer to this application Fig. 5F and Figure 5G The above lock mark can refer to this application Figure 5H The locking mark 551 is shown.
[0023] In some embodiments, in response to an operation performed on the first task card to lock the first application, the electronic device may also lock the first application and display a lock mark on the first task card.
[0024] In combination with the first aspect, in some embodiments, the electronic device detects a fourth operation on the first component, the fourth operation is used to close the first application; in response to the fourth operation, the electronic device closes the first application, and cancels the display of the first task card and the first component in the multitasking interface. When closing the first application, the electronic device can kill the process of the first application.
[0025] The fourth operation can refer to this application Figure 5C and Figure 5D The operation shown.
[0026] In some embodiments, in response to an operation on the first task card for closing the first application (see the present application Figure 5E The electronic device may also close the first application and cancel the display of the first task card and the first component in the multi-tasking interface.
[0027] It can be seen that when the user holds the electronic device with one hand, the user can also easily control the application corresponding to the mirror component through the mirror component, such as opening the application, closing the application, locking the application, etc. Moreover, the effect achieved by the user controlling the application through the mirror component is the same as the effect achieved by the user controlling the application through the task card. This can ensure the consistency of the user's experience of using the mirror component and the task card. When the screen of the electronic device is large and the display position of the task card on the multi-task interface is far away from the user's fingers and inconvenient to operate, the user can control the application through the mirror component.
[0028] In combination with the first aspect, in some embodiments, the multitasking interface also includes a second component of a second application, the second component is used to control the second application, and the second component is displayed in the first area; the electronic device detects a fifth operation on the first component and the second component, and the fifth operation is used to combine the first component and the second component; in response to the fifth operation, the electronic device displays the first component and the second component in combination as a third component, and the third component is used to control the first application or the second application individually, and / or, for controlling the first application and the second application simultaneously.
[0029] The fifth operation can refer to this application Fig.6D The operation shown. The electronic device can refer to the present application for the scenario in which the first component and the second component are combined and displayed as a third component. Fig.6D and Fig. 6E The mirror component 622B and the mirror component 622C are combined to be shown as Fig. 6E A scene of combined mirror component 622A is shown.
[0030] In combination with the first aspect, in some embodiments, in response to the fifth operation, the electronic device adjusts the first application and the second application to a split-screen display state; the electronic device detects a sixth operation on the third component, and the sixth operation is used to open the first application and the second application; in response to the sixth operation, the electronic device displays the user interface of the first application and the second application in a split-screen.
[0031] In combination with the first aspect, in some embodiments, the electronic device detects a seventh operation on the third component, and the seventh operation is used to lock the first application and the second application; in response to the seventh operation, the electronic device locks the first application and the second application.
[0032] In combination with the first aspect, in some embodiments, the electronic device detects an eighth operation on the third component, and the eighth operation is used to close the first application and the second application; in response to the eighth operation, the electronic device closes the first application and the second application, and cancels the display of the third component in the multitasking interface.
[0033] The eighth operation mentioned above can refer to this application Figure 6G and Figure 6H The operation shown.
[0034] It can be seen that after combining the mirror components of the first application and the second application, the user can realize simultaneous control of the first application and the second application through the combined mirror component, i.e., the third component, for example, opening the first application and the second application at the same time, locking the first application and the second application at the same time, and closing the first application and the second application at the same time. This can improve the efficiency of the user's control over the application.
[0035] In combination with the first aspect, in some embodiments, the electronic device detects a ninth operation on the third component, and the ninth operation is used to lock the first application; in response to the ninth operation, the electronic device locks the first application.
[0036] In combination with the first aspect, in some embodiments, the electronic device detects a tenth operation on the third component, and the tenth operation is used to close the first application; in response to the tenth operation, the electronic device closes the first application, displays the second component in the first area of the multitasking interface, and cancels the display of the third component.
[0037] It can be seen that after combining the mirror components of the first application and the second application, the user can also control the first application or the second application separately through the combined mirror component, that is, the third component. This can improve the user experience of using the combined mirror component.
[0038] In combination with the first aspect, in some embodiments, the multitasking interface also includes a second task card for the second application. In response to the fifth operation, the electronic device displays the first task card and the second task card in combination as a third task card. The third task card is used to control the first application or the second application individually, and / or to control the first application and the second application simultaneously.
[0039] The above scenario of combining the first task card and the second task card to display the third task card can refer to this application Fig.6D and Fig. 6E As shown, task card 623 and task card 624 are displayed in combination. Fig. 6E The scene of the combined task card 621 is shown.
[0040] It can be seen that in the scenario of controlling the applications corresponding to the task cards and the mirror components, the changes of the mirror components and the task cards with mirror relationships can be associated, which makes it convenient for users to clearly understand the status of the applications corresponding to the mirror components and the task cards.
[0041] In combination with the first aspect, in some embodiments, the electronic device detects an eleventh operation on the third component, and the eleventh operation is used to split the third component; in response to the eleventh operation, the electronic device splits the third component and displays it as a first component and a second component.
[0042] The eleventh operation can refer to this application Figure 6B The above-mentioned scenario of splitting the third component into the first component and the second component can refer to the present application Figure 6B and Figure 6C The combined mirror component 622A is split into Figure 6C The scenes of mirror component 622B and mirror component 622C are shown.
[0043] In combination with the first aspect, in some embodiments, when the first component and the second component are combined and displayed as a third component, the first application and the second application are in a split-screen display state, and in response to the eleventh operation, the electronic device adjusts the first application and the second application to a non-split-screen display state.
[0044] It can be seen that on the multitasking interface, the user can adjust the multiple applications to split-screen display by combining the mirror components of the multiple applications. The user can also adjust the multiple applications from the split-screen display state to the non-split-screen display state by splitting the combined mirror components corresponding to the multiple applications.
[0045] The user can not only realize batch control of multiple applications through the combined task cards or combined mirror components of multiple applications, but also individually control a single application among the multiple applications through the combined task cards or combined mirror components. The above embodiments can improve the convenience of the user to control multiple applications displayed on the split screen, and improve the user's experience of one-handed operation in a multi-tasking scenario.
[0046] In combination with the first aspect, in some embodiments, a first floating window of a first application is displayed in a floating manner on the task interface, and a fourth component is further displayed in the first area, and the fourth component is used to control the first floating window.
[0047] The fourth component can refer to this application Figure 7B Component 721B is shown.
[0048] In combination with the first aspect, in some embodiments, the fourth component and the first component are the same component.
[0049] It can be seen that when a floating window is displayed in an electronic device, the user can call up the multitasking interface and conveniently control the floating window through the component corresponding to the floating window on the multitasking interface. The component corresponding to the above floating window can be displayed in an area within reach of the user on the multitasking interface. In this way, when the screen of the electronic device is large and the display position of the floating window is far from the fingers of the user holding the electronic device with one hand, the component corresponding to the above floating window can facilitate the user to control the floating window by holding the electronic device with one hand. The above embodiment can improve the user's experience of one-handed operation in a multitasking scenario.
[0050] In combination with the first aspect, in some embodiments, the first area also displays one or more of the following quick function components: a flashlight component, a Wi-Fi component, a Bluetooth component, and a payment code.
[0051] In combination with the first aspect, in some embodiments, one or more shortcut function components are added by user selection.
[0052] In combination with the first aspect, in some embodiments, the electronic device detects a twelfth operation; in response to the twelfth operation, the electronic device removes the flashlight assembly in the first area.
[0053] The scenario where the user adds or removes shortcut function components on the multitasking interface can refer to this application Figure 2A The scene shown.
[0054] It can be seen that in addition to the mirror component of the application, the electronic device can also display one or more shortcut function components in the area on the task interface that the user can operate when holding the electronic device with one hand. These one or more shortcut function components can be preset or added by the user. When the user holds the electronic device with one hand, the user can easily operate the shortcut function components on the multitasking interface with one hand and quickly use the corresponding functions. This can improve the user's one-handed operation experience in multitasking scenarios.
[0055] In combination with the first aspect, in some embodiments, a first folder is displayed in the first area, the first folder is used to store components, a first component is displayed in the first folder, the electronic device detects a thirteenth operation on the first folder, and the thirteenth operation is used to switch the components displayed in the first folder; in response to the thirteenth operation, the electronic device displays the second component of the second application in the first folder.
[0056] The first folder can refer to this application Figure 3A The component folder 316 is shown. The thirteenth operation can refer to the present application Figure 3D or Figure 3E The operation shown.
[0057] It can be seen that a component folder on the multitasking interface may contain multiple components. Due to the limited size of the component folder display area, multiple components contained in the component folder may not be displayed at the same time. The electronic device can switch the components displayed in the component folder in response to the operation of switching the display components in the component folder, so that the user can view the various components in the component folder.
[0058] In combination with the first aspect, in some embodiments, when task cards of k1 applications are displayed on the multitasking interface, components of k1 applications are displayed in the first folder; the electronic device detects a fourteenth operation, and the fourteenth operation is used to switch the task cards displayed on the multitasking interface; in response to the fourteenth operation, the electronic device switches the task cards of k1 applications to task cards of k2 applications on the multitasking interface, and switches the components of the k1 applications in the first folder to components of k2 applications, the k1 applications and the k2 applications are partially or completely different, and k1 and k2 are both positive integers.
[0059] For the fourteenth operation, please refer to this application Figure 3G The above scenario of switching the task cards of k1 applications to the task cards of k2 applications can refer to the present application. Figure 3G The multiple task cards shown are switched to Figure 3H A scenario with multiple task cards shown.
[0060] It can be seen that in the multi-task interface, the mirror component displayed in the component folder is associated with the task card currently displayed in the multi-task interface. Among them, the mirror component displayed in the component folder can be switched as the task card displayed on the multi-task interface is switched.
[0061] In combination with the first aspect, in some embodiments, a first folder is displayed at a first position within the first area, and the electronic device detects a fifteenth operation on the first folder, and the fifteenth operation is used to move the first folder; in response to the fifteenth operation, the electronic device moves the first folder to a second position within the first area.
[0062] In combination with the first aspect, in some embodiments, the first component is displayed at the third position in the first folder, and the electronic device detects a sixteenth operation on the first component, and the sixteenth operation is used to move the first component; in response to the sixteenth operation, the electronic device moves the first component to the fourth position in the first folder.
[0063] The above sixteenth operation can refer to this application Fig. 3I The above-mentioned scene of moving the first component from the third position to the fourth position can refer to the operation of this application. Fig. 3I The mirror assembly 316I shown is from Fig. 3I Move the position shown to Figure 3J Scenes at the locations shown.
[0064] It can be seen that the above embodiment can increase the fun of using the above mirror components on the multitasking interface. In addition, the user can display the frequently used mirror components or shortcut function components in the front position of the component folder according to personal preferences and usage habits for easy operation.
[0065] In combination with the first aspect, in some embodiments, before the electronic device displays the multitasking interface, the electronic device determines that a first function is in an on state, and the first function includes a function for displaying components of an application running in the electronic device in a first area.
[0066] The first function mentioned above may also be referred to as a multitasking function.
[0067] In combination with the first aspect, in some embodiments, the electronic device detects a seventeenth operation, and the seventeenth operation is used to turn off the first function; in response to the seventeenth operation, the electronic device cancels the display of the first component in the multitasking interface.
[0068] It can be seen that the user can manually turn on or off the first function.
[0069] In a second aspect, the present application provides an electronic device, which may include a screen, a memory, and a processor. The display screen may be used to display a multitasking interface. The memory may be used to store a computer program. The processor may be used to call the computer program so that the electronic device executes any possible implementation method as in the first aspect.
[0070] In a third aspect, the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute any possible implementation method in the first aspect.
[0071] In a fourth aspect, the present application provides a computer program product, which may include computer instructions. When the computer instructions are run on an electronic device, the electronic device executes any possible implementation method in the first aspect.
[0072] In a fifth aspect, the present application provides a chip, which is applied to an electronic device, and the chip includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute any possible implementation method as in the first aspect.
[0073] It can be understood that the electronic device provided in the second aspect, the computer-readable storage medium provided in the third aspect, the computer program product provided in the fourth aspect, and the chip provided in the fifth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0074] Figure 1A and Figure 1B is a schematic diagram of calling up a multi-tasking interface provided in an embodiment of the present application;
[0075] Figure 1C is a schematic diagram of a drop-down control interface provided in an embodiment of the present application;
[0076] Figure 2A and Figure 2B It is a schematic diagram of a scenario for setting a multi-task interface provided in an embodiment of the present application;
[0077] Figure 3A to Figure 3J It is a schematic diagram of some multi-task interface display scenes provided in the embodiments of the present application;
[0078] Figure 4 It is a flow chart of a method for displaying a multi-task interface provided by an embodiment of the present application;
[0079] Figure 5A to Figure 5H It is a schematic diagram of some multi-task interface operation scenarios provided by the embodiments of the present application;
[0080] FIG. 6A to FIG. 6I Schematic diagrams of other multi-tasking interface operation scenarios provided by embodiments of the present application;
[0081] Figure 7A to Figure 7C Schematic diagrams of other multi-tasking interface operation scenarios provided by embodiments of the present application;
[0082] Figure 8 This is a flow chart of a method for operating a multi-task interface provided by an embodiment of the present application;
[0083] Fig. 9 is a flow chart of another method for multi-tasking interface operation provided by an embodiment of the present application;
[0084] Fig.10 is a flow chart of another method for multi-tasking interface operation provided by an embodiment of the present application;
[0085] Fig.11 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0086] Fig.12 It is a software structure block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0087] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in a "or" relationship.
[0088] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0089] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0090] The term "user interface (UI)" in the following embodiments of the present application refers to the medium interface for interaction and information exchange between an application (APP) or an operating system (OS) and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that can be recognized by the user. The commonly used form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0091] For ease of understanding, the multi-task interface involved in this application is first introduced here.
[0092] Figure 1A and Figure 1B The schematic diagram of the electronic device 100 calling out the multi-tasking interface is exemplarily shown.
[0093] like Figure 1A As shown, the electronic device 100 may display a user interface 210. For example, the user interface 210 may be a user interface of a video application. In response to an operation of sliding upward from the bottom edge of the screen and pausing, the electronic device 100 may display a Figure 1B The multitasking interface 220 shown. The multitasking interface 220 may include one or more task cards of running applications, and the task cards of running applications may be application snapshots. For example, a task card 221 of a setting application, a task card 222 of a music application, a task card 223 of an email application, a task card 224 of a memo application, a task card 225 of a video application, and a task card 226 of a game application.
[0094] The task card of an application can be a screenshot of the interface of the application when the application switches from the foreground running state to the background running state. The application running in the foreground can mean that the interface of the application is displayed on the screen of the electronic device 100. The application running in the background can mean that the content displayed on the screen of the electronic device 100 does not include the interface of the application, but the application still occupies the processor, memory and other resources of the electronic device 100 and is in a running state. It can be understood that when the application switches from the foreground running state to the background running state, the electronic device 100 can save the relevant data of the application running, so that when the application switches to the foreground running again, it can quickly display the interface displayed when the application switched to the background running last time, so as to facilitate the user to continue to operate the application.
[0095] For example, when the electronic device 100 is Figure 1A The user interface 210 shown switches to Figure 1B In the multitasking interface 220 shown, the application to which the user interface 210 belongs, namely the video application, switches from a foreground running state to a background running state. The task card 225 may be a screenshot of the user interface 210 .
[0096] The embodiment of the present application does not limit the display style of a task card of an application. For example, a task card of an application can also be a screenshot of the interface of the application after blurring.
[0097] The task card of an application can be used to control the application by closing, locking, opening, etc. That is, the user can close, lock, or open the application corresponding to the task card by operating the task card. Closing the application can mean killing the process of the application. After the application is closed, it will no longer occupy the processor, memory and other resources of the electronic device 100, that is, it will no longer be in a running state. Locking the application can mean keeping the application in a running state at all times. Locking the application can prevent the electronic device 100 from killing the process of the application.
[0098] The multitasking interface 220 may further include a delete control 227. The delete control 227 may be used to close an application. In response to the operation of dragging a task card to the location of the delete control 227, the electronic device 100 may close the application corresponding to the task card.
[0099] The multitasking interface 220 is not limited to task cards 221 to 226, and may also include more or more task cards. In some embodiments, in response to a left or right sliding operation on the multitasking interface 220, the electronic device 100 may switch the task cards displayed on the multitasking interface 220, and display task cards of other applications on the multitasking interface 220. The embodiment of the present application does not limit the user operation for switching task cards.
[0100] In some embodiments, the multitasking interface 220 may include task cards of multiple applications that are running and have user interfaces in the electronic device 100. Optionally, the multitasking interface 220 may also include task cards of applications that were once running and had user interfaces but were automatically closed by the electronic device 100 due to insufficient memory or other reasons. When closing these applications, the electronic device 100 may still save their task cards. The embodiments of the present application do not limit the applications to which the task cards included in the multitasking interface 220 belong.
[0101] When the screen of the electronic device 100 is relatively large, it may be difficult for the user to operate some components on the multitasking interface 220 when holding the electronic device 100 with one hand. For example, it may be difficult for the user to touch the task cards (such as task card 221 and task card 224) displayed on the left side of the screen when holding the electronic device 100 with one hand in the right hand. It may be difficult for the user to touch the task cards (such as task card 223 and task card 226) displayed on the right side of the screen when holding the electronic device 100 with one hand in the left hand. The user operation is relatively inconvenient and the user experience is poor.
[0102] Not limited to the above Figure 1A The user interface 210 of the video application is switched to the multitasking interface 220. The electronic device 100 can also switch from other interfaces (such as the desktop, user interfaces of other applications) to the multitasking interface 220. The embodiment of the present application does not limit the user operation for calling up the multitasking interface 220. The above multitasking interface 220 is only an exemplary description of the present application and should not constitute a limitation on the present application.
[0103] The multitasking interface 220 may also be referred to as a multitasking management interface, a recent task interface, a recently used application screen, a recent task list, etc. This application does not limit this.
[0104] Figure 1CThe pull-down control interface 230 of the electronic device 100 is exemplarily shown.
[0105] like Figure 1C As shown, the electronic device 100 may display a pull-down control interface 230. The pull-down control interface 230 may be displayed by the electronic device 100 in response to a pull-down operation of sliding downward from the top of the screen when displaying other interfaces.
[0106] The drop-down control interface 230 may include multiple shortcut function components. For example, a mobile data component 231, an instant sharing component 232, a Wi-Fi component 233, a Bluetooth component 234, a music playback component 235, a flashlight component, a location information component, a volume adjustment component, a screen brightness adjustment component, and the like. In some embodiments, some shortcut function components (such as a mobile data component 231, an instant sharing component 232, a Wi-Fi component 233, a Bluetooth component 234, and a music playback component 235) are displayed in the upper left corner of the screen. It may be difficult for a user to touch the shortcut function component displayed in the upper left corner of the screen when holding the electronic device 100 in one hand with his right hand. It is inconvenient for the user to operate.
[0107] It can be seen that on a user interface that displays multiple components, such as a multitasking interface and a drop-down control interface, when a user holds the electronic device 100 with one hand and wants to operate a component on the user interface that is far away from the user's finger, there is a risk of accidental touches and even the risk of the electronic device 100 falling.
[0108] The present application provides a multi-tasking interface operation method. Among them, when the multi-tasking interface is called up, the electronic device 100 can display the mirror component of the running application in addition to displaying the task card of the running application in the multi-tasking interface. The mirror component can be a component that has a mirror relationship with the task card. The mirror component of an application and the task card of this application can implement the same control on this application (such as closing the application, locking the application, opening the application, etc.). The display changes of the mirror component of an application on the multi-tasking interface and the display changes of the task card of this application on the multi-tasking interface may be interrelated. The display style of the mirror component may include but is not limited to: application icon, application interface thumbnail, application name, etc.
[0109] The electronic device 100 can set the display position of the mirror component on the multitasking interface. For example, the user can manually set the display position of the mirror component on the multitasking interface. The electronic device 100 can also determine the display position of the mirror component on the multitasking interface according to the device usage mode. For example, if the device usage mode indicates that the electronic device 100 is used by the left hand, the electronic device 100 can display the mirror component on the left side of the screen (for example, the area in the lower left corner). If the device usage mode indicates that the electronic device 100 is used by the right hand, the electronic device 100 can display the mirror component on the right side of the screen (for example, the area in the lower right corner). The device usage mode can be determined in real time by the electronic device 100 according to sensors (such as acceleration sensors, gyroscope sensors, etc.). That is, the electronic device 100 can detect in real time whether the electronic device 100 is currently held by the left hand or the right hand to determine the device usage mode. Alternatively, the device usage mode can be preset by the user. That is, the user can set the right-hand mode or the left-hand mode in advance. The electronic device 100 can determine the position of the mirror component when calling up the multitasking interface according to the device usage mode set by the user. The embodiment of the present application does not limit the above method for determining the device usage mode of the electronic device 100.
[0110] In this way, when the user holds the electronic device 100 with one hand, the mirror components of the running applications are all displayed at a position within the reach of the user's one hand. Even if the user cannot touch some task cards, the user can still operate through the mirror components to control the application. The above method can improve the user's one-handed operation experience in multi-tasking scenarios.
[0111] The multitasking scenario may include a scenario in which the electronic device 100 displays the multitasking interface.
[0112] In some embodiments, the electronic device 100 may also display one or more shortcut function components in the multi-tasking interface. Figure 1C The mobile data component 231, the instant sharing component 232, the Wi-Fi component 233, the Bluetooth component 234, the music playing component 235, etc. are shown. Figure 1C The quick function components on the drop-down control interface 230 shown in the figure, the quick function components displayed on the multi-task interface can also include components on other user interfaces. The embodiment of the present application does not limit the source of the quick function components on the multi-task interface. The quick function components displayed on the multi-task interface can be preset or added by the user.
[0113] The display position of the above-mentioned quick function components on the multitasking interface can also be determined by the device usage mode of the electronic device 100. In this way, when the user holds the electronic device 100 with one hand, the quick function components are also displayed at a position within reach of the user's one hand. The user can call up the multitasking interface and operate the quick function components on the multitasking interface to quickly use the corresponding functions.
[0114] In some embodiments, the electronic device 100 may provide a switch for turning on or off the multitasking function, so that the user can turn on or off the multitasking function. When the multitasking function is turned on, the electronic device 100 may display the mirror component and / or the shortcut function component on the multitasking interface. When the multitasking function is turned off, the content displayed on the multitasking interface may not include the mirror component and the shortcut function component.
[0115] Figure 2A and Figure 2B A schematic diagram of a scenario for setting a multi-tasking interface provided in an embodiment of the present application is exemplified.
[0116] like Figure 2A As shown, the electronic device 100 may display a user interface 240. The user interface 240 may be a user interface for setting an application. The user interface 240 may include a multitasking interface option 241. In response to an operation on the multitasking interface option 241, such as a click operation, the electronic device 100 may display an option in the area on the right side of the user interface 240. Figure 2A The options for setting the multitasking interface are shown, for example, a multitasking function switch 242, a display style setting item 243, a display mode setting item 244, and a quick function component setting item 245.
[0117] The multitasking function switch 242 can be used to turn on or off the multitasking function. In response to the operation of the multitasking function switch 242, the electronic device 100 can display Figure 2BThe user interface 250 shown. Exemplarily, taking the case that the electronic device 100 can determine the display position of the mirror component on the multitasking interface according to the device usage mode, the user interface 250 may include a left-hand mode option 251A, a right-hand mode option 251B, and a close option 251C. The left-hand mode option 251A can be used to enable the multitasking function and set the device usage mode of the electronic device 100 to the left-hand mode. In the left-hand mode, the electronic device 100 can display the mirror component and / or the shortcut function component in the area on the left side of the multitasking interface, so that the user can conveniently operate the mirror component and / or the shortcut function component when holding the electronic device 100 with one hand in the left hand. The right-hand mode option 251B can be used to enable the multitasking function and set the device usage mode of the electronic device 100 to the right-hand mode. In the right-hand mode, the electronic device 100 can display the mirror component and / or the shortcut function component in the area on the right side of the multitasking interface, so that the user can conveniently operate the mirror component and / or the shortcut function component when holding the electronic device 100 with one hand in the right hand. The close option 251C can be used to close the multitasking function.
[0118] The embodiment of the present application does not limit the user operation for turning on or off the multitasking function. In some embodiments, when the electronic device 100 displays the multitasking interface, the electronic device 100 can also turn on or off the multitasking function at any time in response to a preset operation.
[0119] The display style setting item 243 can be used to set the display style of the mirror component on the multitasking interface. For example, the display style setting item 243 may include an application icon option 243A and a thumbnail option 243B. When the application icon option 243A is selected, the electronic device 100 can present the mirror component of the application in the display style of the application icon on the multitasking interface. When the thumbnail option 243B is selected, the electronic device 100 can present the mirror component of the application in the display style of the interface thumbnail on the multitasking interface. The interface thumbnail of the application can be a thumbnail of a snapshot screenshot of the application. Not limited to application icons and interface thumbnails, the mirror component of the application on the multitasking interface can also be presented in other display styles.
[0120] The display mode setting item 244 can be used to set the display mode of the mirror component and / or the shortcut function component on the multi-task interface. For example, the display mode setting item 244 may include a suspended display option 244A and an embedded display option 244B. When the suspended display option 244A is selected, the electronic device 100 can suspend and display the mirror component and / or the shortcut function component on the multi-task interface. Among them, the mirror component and / or the shortcut function component can be suspended and displayed on the task card. When the embedded display option 244B is selected, the electronic device 100 can display the mirror component and / or the shortcut function component in an embedded manner on the multi-task interface. Among them, the mirror component and / or the shortcut function component and the task card each occupy an independent display area on the multi-task interface and are displayed side by side on the multi-task interface. Not limited to the above-mentioned suspended display and embedded display, the electronic device 100 can also use other display modes to display the mirror component and / or the shortcut function component on the multi-task interface.
[0121] The quick function component setting item 245 can be used to set the quick function component displayed on the multitasking interface. For example, the quick function component setting item 245 may include a flashlight option 245A, a Wi-Fi component option 245B, a Bluetooth component option 245C, a payment code option 245D, and an add component option 245E. The flashlight option 245A, the Wi-Fi component option 245B, the Bluetooth component option 245C, and the payment code option 245D can remove the flashlight component, the Wi-Fi component, the Bluetooth component, and the payment code component from the multitasking interface respectively. Among them, the flashlight component can be used to turn on or off the flashlight of the electronic device 100. The Wi-Fi component can be used to turn on or off the Wi-Fi function of the electronic device 100. The Bluetooth component can be used to turn on or off the Bluetooth of the electronic device 100. The payment code component can be used to call out the payment code of the payment application in the electronic device 100. The add component option 245E can be used to add more other quick function components in the multitasking interface.
[0122] Not limited to the above Figure 2A and Figure 2B In addition to the setting items shown, the electronic device 100 may also provide more or fewer setting items for the user to set the multitasking interface.
[0123] In some embodiments, the multitasking function may not need to be manually turned on or off by the user. For example, the multitasking function in the electronic device 100 may always be turned on.
[0124] It can be seen that the user can perform one or more of the following settings through the above-mentioned setting items for setting the multitasking interface: turn on or off the multitasking function switch, set the device usage mode, set the display style and display mode of the components, and add or remove shortcut function components in the multitasking interface. The above-mentioned embodiment can facilitate the user to personalize the multitasking interface so that the content displayed in the multitasking interface is more in line with the user's usage habits. The above-mentioned embodiment can improve the user's experience of holding the electronic device 100 with one hand and operating in the multitasking interface.
[0125] The following describes the multi-tasking interface display scenario provided by the embodiments of the present application.
[0126] Figure 3A to Figure 3J A schematic diagram of a scene displayed on a multi-tasking interface is exemplified.
[0127] like Figure 3A As shown, the electronic device 100 can display a multitasking interface 310. The operation for calling the multitasking interface 310 can refer to the aforementioned Figure 1A The multi-task interface 310 may include task cards 311 to 315 and component folders 316. Task cards 311 to 315 may refer to the aforementioned Figure 1B Introduction to task cards. Component folder 316 can be used to place mirror components and shortcut function components. Component folder 316 can also be called component storage area, component card, etc. This embodiment of the application is not limited to this.
[0128] When the multitasking function is turned on, the electronic device 100 can display the component folder 316. When the multitasking function is turned off, the electronic device 100 can cancel the display of the component folder 316.
[0129] Here, the display style of the mirror component is Figure 3A The application icon shown is used as an example for introduction.
[0130] Component folder 316 may include mirror components 316A to 316E. Among them, mirror component 316A and task card 311 may have a mirror relationship, which are respectively a mirror component and a task card of a setting application. Mirror component 316B and task card 312 may have a mirror relationship, which are respectively a mirror component and a task card of a music application. Mirror component 316C and task card 313 may have a mirror relationship, which are respectively a mirror component and a task card of an email application. Mirror component 316D and task card 314 may have a mirror relationship, which are respectively a mirror component and a task card of a memo application. Mirror component 316E and task card 315 may have a mirror relationship, which are respectively a mirror component and a task card of a video application. Component folder 316 may also include more or fewer mirror components and shortcut function components.
[0131] In some embodiments, Figure 2B When the right-hand mode option 251B is selected, the electronic device 100 can determine that the device usage mode is the right-hand mode. The electronic device 100 can display the component folder containing the mirror component and the shortcut function component on the right side of the screen. Figure 3A As shown, the electronic device 100 can display a component folder 316 at the lower right corner of the screen. In this way, when the user holds the electronic device 100 in one hand in the right hand, the user can easily touch the component folder 316 and then operate the components in the component folder 316.
[0132] like Figure 3B As shown, when the electronic device 100 determines that the device usage mode is the left-hand mode, the component folder containing the mirror component and the shortcut function component can be displayed in the area on the left side of the screen (such as the lower left corner). Figure 2B When the left-hand mode option 251A is selected, the electronic device 100 can determine that the device usage mode is the left-hand mode. Figure 3B The multitasking interface 320 shown in FIG. The lower left corner of the multitasking interface 320 displays a component folder 321. The component folder 321 can refer to Figure 3A Component folder 316 is shown.
[0133] In some embodiments, the electronic device 100 can also determine the device usage mode of the electronic device 100 in real time based on the data collected by the sensor. The direction of the screen when the electronic device 100 is held by the left hand is different from the direction of the screen when the electronic device 100 is held by the right hand. Therefore, the electronic device 100 can determine whether the electronic device 100 is currently held by the left hand or the right hand based on the data collected by the acceleration sensor and / or the gyroscope sensor. If the electronic device 100 is currently held by the left hand, the electronic device 100 can determine that the current device usage mode is the left-hand mode, and then Figure 3B If the electronic device 100 is currently held by the right hand, the electronic device 100 may determine that the current device usage mode is the right hand mode, and then Figure 3A The component folder 316 is displayed at the location shown. Figure 3A When the multitasking interface 310 is displayed, if the electronic device 100 detects that the device usage mode changes from the right-hand mode to the left-hand mode, the electronic device 100 can adjust the display position of the component folder in real time, and change the displayed content to Figure 3B Multitasking interface 320 is shown.
[0134] The embodiment of the present application does not limit the method for the electronic device 100 to determine the device usage mode.
[0135] It can be seen that the electronic device 100 can fully utilize the display screen to allow the user to see more content on the screen, and can also facilitate the user to operate the electronic device 100 when holding it in one hand.
[0136] Figure 3A and Figure 3B FIG. 3 shows a schematic diagram of a component folder 316 being displayed in an embedded manner on a multitasking interface. Figure 3A When the floating display option 244A is in a selected state, the electronic device 100 can float display the component folder on the multi-tasking interface.
[0137] like Figure 3C As shown, the electronic device 100 can display a multi-task interface 330. The multi-task interface 330 may include a task card 331 and a component folder 332. The component folder 332 may refer to the aforementioned Figure 3A Component folder 316 is shown. Component folder 332 is displayed in a suspended manner on multi-tasking interface 330. For example, component folder 332 is displayed in a suspended manner on task card 331 in multi-tasking interface 330.
[0138] In some embodiments, whether it is an embedded display, a floating display, or other display modes, the position of the component folder displayed on the multitasking interface can be fixed when the device usage mode remains unchanged. The electronic device 100 can switch the task card displayed on the multitasking interface in response to the user sliding left or right on the multitasking interface or other operations. In the process of switching task cards, the component folder can always remain displayed at the preset position on the multitasking interface. For example, Figure 3A During the process of switching the task cards on the multitasking interface 310 , the component folder 316 can always remain displayed in the area at the lower right corner of the screen.
[0139] In some embodiments, the position of the component folder displayed on the multitasking interface is changeable. The electronic device 100 can move the component folder on the multitasking interface in response to the user's operation of adjusting the display position of the component folder. Figure 3A In the example, the electronic device 100 may exchange the positions of the component folder 316 and the task card 315 in response to the operation of moving the component folder 316 to the left. Optionally, the component folder may change its display position as the electronic device 100 switches the task card in the multi-task interface. Figure 3A In the example, the component folder 316 can be moved horizontally to the left or right together with the task cards 311 to 315 as a whole. The embodiment of the present application does not limit the manner in which the component folder is moved and displayed on the multi-task interface.
[0140] In some embodiments, a component folder on the multitasking interface may contain multiple components. Due to the limited size of the component folder display area, multiple components contained in the component folder may not be displayed at the same time. The electronic device 100 may switch the components displayed in the component folder in response to the operation of switching the display components in the component folder, so that the user can view the various components in the component folder.
[0141] like Figure 3D As shown, the electronic device 100 displays a multitasking interface 310. The multitasking interface 310 includes a component folder 316. The component folder 316 can refer to the introduction of the above embodiment. In response to the operation of sliding left in the component folder 316, the electronic device 100 can display Figure 3E The component folder 316 is shown. It can be seen that the electronic device 100 can switch the components displayed in the component folder 316. Figure 3D The components shown in the component folder 316 are similar to Figure 3E The components displayed in the illustrated component folder 316 are different.
[0142] like Figure 3EAs shown, in response to the operation of sliding leftward in the component folder 316, the electronic device 100 can continue to switch the components displayed in the component folder 316, and display Figure 3F The component folder 316 is shown. Figure 3F In the component folder 316, multiple shortcut function components may be displayed. Figure 3F The components shown in the component folder 316 are similar to Figure 3D and Figure 3E The components displayed in the component folder 316 are all different. The present application does not limit the user operation of switching components in the component folder 316.
[0143] In some embodiments, the mirror component and the shortcut function component may be displayed in different component folders on the multitasking interface.
[0144] In some embodiments, in the multitasking interface, the mirror component displayed in the component folder is associated with the task card currently displayed in the multitasking interface. The mirror component displayed in the component folder can be switched as the task card displayed on the multitasking interface is switched.
[0145] like Figure 3G As shown, the electronic device 100 can display a multitasking interface 310. The multitasking interface 310 may include a component folder 316 and task cards 311 to 315. Among them, the mirror component currently displayed in the component folder 316 may be a mirror component that has a mirror relationship with the task cards 311 to 315, that is, the mirror component 316A to the mirror component 316E. In response to an operation for switching task cards on the multitasking interface 310, such as a left sliding operation, the electronic device 100 may display Figure 3H Multitasking interface 310 is shown.
[0146] like Figure 3H As shown, the task cards displayed on the multi-task interface 310 are composed of Figure 3G The task cards 311 to 315 shown are switched to Figure 3H The task cards 312, 313, 315, 317, and 318 are shown. The mirror components displayed in the component folder 316 are also switched to mirror components 316B, 316C, 316E to 316G. Among them, mirror components 316B, 316C, 316E to 316G are respectively related to Figure 3H The task card 312, task card 313, task card 315, task card 317, and task card 318 shown have components in a mirror relationship.
[0147] In some embodiments, the task cards displayed in the multi-task interface can also switch as the mirror components displayed in the component folder switch. Figure 3G In the case of the multitasking interface 310 shown in FIG. 1 , the electronic device 100 may switch the components displayed in the component folder 316 to the components displayed in the component folder 316 in response to an operation for switching components in the component folder 316, such as a left sliding operation. Figure 3H The mirror component 316B, mirror component 316C, mirror component 316E to mirror component 316G are shown in the component folder 316. The electronic device 100 can change the task cards displayed in the multitasking interface 310 from one to another as the components displayed in the component folder 316 are switched. Figure 3G The task card shown switches to Figure 3H The task card shown.
[0148] In some embodiments, the electronic device 100 may adjust the display position of the component in the component folder.
[0149] like Fig. 3I As shown, the electronic device 100 can display a component folder 316 in the multitasking interface 310. The component folder 316 may include a mirror component 316H and a mirror component 316I. In response to a double-click operation on the mirror component 316I, the electronic device 100 may move the display position of the mirror component 316I forward by the distance of one mirror component. Figure 3J Component folder 316 is shown. Compare Fig. 3I and Figure 3J It can be seen that the display positions of the mirror component 316I and the mirror component 316H are exchanged. The electronic device 100 moves the mirror component 316H to the front of the mirror component 316I. In this way, each time the user double-clicks the mirror component, the display position of the mirror component can be moved forward by a mirror component distance, and the animation effect of the mirror component jumping forward with the double-click operation can be viewed. The above embodiment can increase the fun of the user using the above mirror component on the multi-tasking interface. In addition, the user can display the frequently used mirror component or shortcut function component in the front position of the component folder according to personal preferences and usage habits for easy operation.
[0150] It should be noted that Figure 3A to Figure 3J The locations of the task cards and component folders shown on the multi-task interface are merely exemplary illustrations of the present application and should not constitute a limitation on the present application.
[0151] By the above Figure 3A to Figure 3JAs can be seen from the scenario shown, the electronic device 100 can display component folders in an area within reach of the user on the multitasking interface. The component folder may contain a mirror component that has a mirror relationship with the task card. The component folder may also contain one or more shortcut function components. These one or more shortcut function components may be preset or added by user selection. When the user holds the electronic device 100 with one hand, the user can also easily operate the components in the above-mentioned component folder with one hand to quickly use the corresponding functions. This can maximize the full use of the screen and improve the user's one-handed operation experience in a multitasking scenario.
[0152] Based on the above-mentioned multi-task interface display scenario, a multi-task interface display method provided by an embodiment of the present application is introduced below.
[0153] Figure 4 A flowchart of a method for displaying a multi-task interface is exemplified.
[0154] like Figure 4 As shown, the method may include steps S411 to S419. Among them:
[0155] S411 , detecting a user operation 1 for calling up a multitasking interface.
[0156] The above user operation 1 can refer to the above Figure 1A The operation shown is sliding upward from the bottom edge of the screen and pausing. The specific implementation of the user operation 1 is not limited in the present application embodiment.
[0157] S412: Obtain a process set of running applications.
[0158] In response to the above-mentioned user operation 1, the electronic device 100 may obtain a process set of running applications.
[0159] The above-mentioned running applications may include multiple applications running in the background and in the foreground and having a user interface. In some embodiments, a floating window is displayed on the screen of the electronic device 100. When the multitasking interface is called up, the floating window may still be displayed floating on the multitasking interface. At this time, the application corresponding to the floating window is the application running in the foreground. That is to say, when the multitasking interface is called up, the applications running in the electronic device 100 may include applications running in the background, and may also include applications running in the foreground.
[0160] Optionally, the above-mentioned running application may also include an application that was once running and had a user interface, but was automatically closed by the electronic device 100 due to insufficient memory or other reasons.
[0161] S413: Determine whether the multitasking function is enabled.
[0162] In some embodiments, the multitasking function can be manually turned on or off by the user. Therefore, the electronic device 100 can determine whether the multitasking function is turned on before displaying the multitasking interface. If the multitasking function is turned on, in addition to displaying the task card of the running application, the electronic device 100 can also display the mirror component and / or shortcut function component of the running application on the multitasking interface. If the multitasking function is turned off, the content displayed on the multitasking interface may not include the above-mentioned mirror component and shortcut function component.
[0163] If the multitasking function is enabled, the electronic device 100 may perform the following step S414. If the multitasking function is not enabled, the electronic device 100 may perform the following step S418.
[0164] S414. Acquire configuration information of the multi-task operation component, where the configuration information includes one or more of the following: display style, display method, and content of the multi-task operation component.
[0165] The multitasking operation component may include a mirror component and / or a shortcut function component.
[0166] The configuration information of the multi-task operation component can be set by the user. The scenario in which the user sets the configuration information of the multi-task operation component can refer to the aforementioned Figure 2A and Figure 2B The electronic device 100 can determine how to display the multitasking operation component on the multitasking interface according to the configuration information. The content of the multitasking operation component in the configuration information can be used to indicate which shortcut function components the multitasking operation component includes. The electronic device 100 can display the shortcut function components included in the multitasking operation component on the multitasking interface.
[0167] The mirror component displayed on the multitasking interface by the electronic device 100 may include the mirror component of the running application. That is, when the multitasking function is turned on, the electronic device 100 may display the task card and the mirror component of the running application acquired in step S412 on the multitasking interface.
[0168] S415: Acquire display data of the multi-task operation component according to the configuration information.
[0169] In some embodiments, the configuration information indicates that the display style of the multitasking operation component is an application icon. The electronic device 100 can obtain the application icon of the running application and the icon corresponding to the shortcut function component according to the configuration information. That is, the display data of the multitasking operation component may include the icon corresponding to the component. Alternatively, the configuration information indicates that the display style of the mirror component is an interface thumbnail. The electronic device 100 can obtain the interface thumbnail of the running application according to the configuration information. That is, the display data of the multitasking operation component may include the interface thumbnail of the application. The embodiment of the present application does not limit the content of the display data of the multitasking operation component.
[0170] S416: Obtain the task card of the running application.
[0171] S417: Draw and display a multi-task interface according to the task card, the configuration information of the multi-task operation component and the display data.
[0172] In some embodiments, the multitasking operation component is displayed in a preset area on the multitasking interface, and the location of the preset area is associated with the device usage mode of the electronic device.
[0173] The scene of the electronic device 100 displaying the multi-task interface can refer to the aforementioned Figure 3A to Figure 3J The scene shown. The multitasking operation component can be displayed in the component folder on the multitasking interface. When the electronic device 100 determines that the device usage mode is the left-hand mode, the above-mentioned preset area can be the area on the left side of the screen (for example, the area in the lower left corner). When the electronic device 100 determines that the device usage mode is the right-hand mode, the above-mentioned preset area can be the area on the right side of the screen (for example, the area in the lower right corner). It can be understood that the above-mentioned preset area can be the area on the screen that is within reach when the user holds the electronic device 100 in one hand.
[0174] In some embodiments, the device usage mode may be preset by a user. Alternatively, the device usage mode may be detected in real time by the electronic device 100. For details, please refer to the introduction of the above embodiments.
[0175] S418: Obtain the task card of the running application.
[0176] S419: Draw and display a multi-task interface according to the task card.
[0177] When the multitasking function is turned off, the electronic device 100 may not need to display the multitasking operation component on the multitasking interface. Therefore, the electronic device 100 may perform steps S418 and S419 to display the task card on the multitasking interface.
[0178] It should be noted that Figure 4The order of the steps shown does not limit the order in which the steps are executed. For example, the electronic device 100 may execute the above steps S414 and S416 simultaneously, or may execute step S416 first and then step S414.
[0179] It can be seen from the above method that the electronic device 100 can display component folders in an area within the reach of the user on the multitasking interface. The component folder may contain multitasking operation components (such as mirror components, multi-function shortcut components, etc.). When the user holds the electronic device 100 in one hand, the user can also easily operate the components in the above component folder with one hand and quickly use the corresponding functions. In the case where the screen of the electronic device 100 is large and it is difficult for the user to touch and operate some components with one hand, the user can also achieve corresponding control through the multitasking operation components in the component folder. The above method can maximize the full use of the screen and improve the user's one-handed operation experience in multitasking scenarios.
[0180] The following describes the multi-tasking interface operation scenarios provided by the embodiments of the present application.
[0181] Figure 5A to Figure 5H Some schematic diagrams of multi-tasking interface operation scenarios are shown as examples.
[0182] 1. Open the app.
[0183] like Figure 5A As shown, the electronic device 100 may display a multitasking interface 310. The multitasking interface 310 may refer to the description of the aforementioned embodiment. The multitasking interface 310 may include a task card 315 of a video application and a mirror component 316E. In response to an operation on the mirror component 316E, such as a click operation or a touch operation, the electronic device 100 may open the video application and display the video. Figure 5B User interface 510 is shown. User interface 510 is a user interface of a video application.
[0184] In addition to opening the video application through the mirroring component 316E, the user can also open the video application by operating the task card 315. For example, in response to the operation of the task card 315, such as a click operation or a touch operation, the electronic device 100 can display Figure 5B User interface 510 is shown.
[0185] That is to say, the effect that can be achieved by the user operating the mirror component to open the application corresponding to the mirror component is the same as the effect that can be achieved by the user operating the task card that has a mirror relationship with the mirror component. This can ensure the consistency of the user experience of using the mirror component and the task card.
[0186] The embodiment of the present application does not limit the above-mentioned user operation acting on the mirror component for opening the application.
[0187] 2. Close the app.
[0188] like Figure 5C As shown, the multitasking interface 310 may include a mirror component 316A for setting an application. In response to a long press operation on the mirror component 316A, the electronic device 100 may display Figure 5D Function option box 521 is shown.
[0189] like Figure 5D As shown, the function option box 521 may include a close control 521A and a lock control 521B. The close control 521A may be used to close the settings application. The lock control 521B may be used to lock the settings application. In response to an operation on the close control 521A, such as a click operation, the electronic device 100 may display a close setting application and display Figure 5E Multitasking interface 310 is shown.
[0190] contrast Figure 5D and Figure 5E It can be seen that when the setting application is closed, the electronic device 100 can cancel the display of the task card 311 of the setting application in the multitasking interface 310 , and cancel the display of the mirroring component 316A in the component folder 316 .
[0191] In addition to closing the application through the mirror component, users can also close the settings application through the application's task card.
[0192] like Figure 5E As shown, the multitasking interface 310 may include a task card 312 of a music application and a mirror component 316B. In response to the operation of dragging the task card 312 to the location of the delete control 531, the electronic device 100 may close the music application and display the music application. Fig. 5F Multitasking interface 310 is shown.
[0193] contrast Figure 5E and Fig. 5F It can be seen that when the music application is closed, the electronic device 100 can cancel the display of the task card 312 of the music application in the multi-tasking interface 310 , and cancel the display of the mirror component 316B in the component folder 316 .
[0194] The embodiment of the present application does not limit the user operation acting on the task card for closing the application. For example, the user operation for closing the music application may also include the operation of sliding the task card 312 upward.
[0195] The embodiment of the present application does not limit the user operation acting on the mirror component to close the application.
[0196] 3. Lock the app.
[0197] like Fig. 5F As shown, the multitasking interface 310 may include a task card 314 of a memo application and a mirror component 316D. In response to a long press operation on the mirror component 316D, the electronic device 100 may display Figure 5G Function option box 541 is shown.
[0198] like Figure 5G As shown, the function option box 541 may include a close control 541A and a lock control 541B. The close control 541A may be used to close the memo application. The lock control 541B may be used to lock the memo application. In response to an operation on the lock control 541B, such as a click operation, the electronic device 100 may lock the memo application and display the Figure 5H Multitasking interface 310 is shown.
[0199] like Figure 5H As shown, when the memo application is locked, the electronic device 100 can display a lock mark 551 at the position associated with the task card 314. The lock mark 551 can be used to indicate that the memo application is currently in a locked state. When the memo application is in a locked state, the electronic device 100 can keep the memo application running without killing the process of the memo application.
[0200] In some embodiments, when the memo application is locked, the electronic device 100 can also adjust the display style of the mirror component 316D to prompt the user that the memo application is currently in a locked state. The embodiment of the present application does not limit the display style of the mirror component of the application when the application is in a locked state.
[0201] In addition to locking the memo application through the mirror component 316D, the user can also open the memo application by operating through the task card 314. For example, in response to the operation of locking the application on the task card 314, the electronic device 100 can lock the memo application and display Figure 5H The locking mark 551 is shown. The embodiment of the present application does not limit the user operation on the task card 314 for locking the application.
[0202] The embodiment of the present application does not limit the above-mentioned user operation acting on the mirror component for locking the application.
[0203] In some embodiments, the component folder on the multitasking interface may further include a shortcut function component. The user may use the corresponding function provided by the electronic device 100 through the shortcut function component. The shortcut function component may refer to the aforementioned Figure 3FComponents in the component folder 316 are shown. For example, the component folder may include a flashlight component. The user can call up the multitasking interface and use the flashlight component to quickly turn on or off the flashlight of the electronic device 100. In this way, when the user holds the electronic device 100 in one hand, the user can conveniently operate with one hand to control the flashlight of the electronic device 100.
[0204] By the above Figure 5A to Figure 5H As can be seen from the scenario shown, the electronic device 100 can display component folders in an area within reach of the user on the multitasking interface. The component folder may include a mirror component. When the user holds the electronic device 100 in one hand, the user can also easily control the application corresponding to the mirror component through the mirror component, such as opening the application, closing the application, locking the application, etc. Moreover, the effect achieved by the user controlling the application through the mirror component is the same as the effect achieved by the user controlling the application through the task card. This can ensure the consistency of the user's experience of using the mirror component and the task card. When the screen of the electronic device 100 is large and the display position of the task card on the multitasking interface is far away from the user's fingers and inconvenient to operate, the user can control the application through the mirror component.
[0205] In addition, the component folder may also include quick function components such as a flashlight component, a Wi-Fi component, and a payment code component. The user can call up the multitasking interface and use the quick function components to achieve corresponding control. The above embodiment can improve the user's experience of one-handed operation in a multitasking scenario.
[0206] In some embodiments, the electronic device 100 can display the application interface in a split screen. For example, the electronic device 100 can divide the screen into two, divided into two display areas. The electronic device 100 can display the user interfaces of different applications in the two display areas respectively. When two applications are in a split-screen display state, the electronic device 100 can provide a mirror component associated with the two applications on the multitasking interface for the user to adjust the split-screen display state of the two applications. For example, the electronic device 100 can adjust the application from the split-screen display state to the non-split-screen display state in response to the operation of the mirror component of the application in the split-screen display state. The electronic device 100 can adjust the application from the non-split-screen display state to the split-screen display state in response to the operation of the mirror component of the application in the non-split-screen display state.
[0207] FIG. 6A to FIG. 6I Schematic diagrams of other multi-tasking interface operation scenarios are shown as examples.
[0208] like Fig. 6AAs shown, the electronic device 100 can display a user interface 610. The user interface 610 may include a display area 611, a display area 612, and a separator control 613. Among them, the display area 611 may display a user interface of a video application. The display area 612 may display a user interface of a game application. The separator control 613 can be used to adjust the size of the display area 611 and the display area 612. For example, in response to the operation of moving the separator control 613 to the left, the electronic device 100 can reduce the size of the display area 611 and increase the size of the display area 612. On the contrary, in response to the operation of moving the separator control 613 to the right, the electronic device 100 can increase the size of the display area 611 and reduce the size of the display area 612. It can be seen that the electronic device 100 currently displays the user interfaces of the video application and the game application on the screen in split screen. The video application and the game application are currently in a split screen display state.
[0209] In response to Fig. 6A As shown in the operation of sliding upward from the edge of the screen and pausing, the electronic device 100 can display Figure 6B Multitasking interface 620 is shown.
[0210] like Figure 6B As shown, the multitasking interface 620 may include a combined task card 621. The combined task card 621 may include a task card 621A for a video application and a task card 621B for a game application. The multitasking interface 620 may also include a component folder 622. The component folder 622 may include a combined mirror component 622A. The combined mirror component 622A may include application icons for a video application and a game application.
[0211] The combined task card 621 and the combined mirror component 622A can both indicate that the video application and the game application are in a split-screen display state. The combined task card 621 and the combined mirror component 622A can both be used to implement control of the video application and the game application.
[0212] When multiple applications are in split-screen display, the electronic device 100 can Figure 6B The display style of the combined task card 621 shown displays the task cards of the multiple applications, and displays the mirror components of the multiple applications according to the display style of the combined mirror component 622A. The embodiment of the present application does not limit the display style of the task cards and mirror components of the multiple applications displayed in split screen. In addition, it is not limited to being divided into two display areas. The screen of the electronic device 100 can also be divided into more display areas at one time, so that more applications can be displayed in split screen on the screen at the same time. In this application, the scenario of two applications being displayed in split screen is specifically described as an example.
[0213] In some embodiments, the user can adjust the video application and the game application from the split screen display state to the non-split screen display state by operating the combined mirror component 622A. The above non-split screen display state may indicate that the screen of the electronic device 100 only displays the user interface of one application in the same time period. The video application and the game application in the non-split screen display state may indicate that the user interfaces of the video application and the game application are no longer displayed on the screen at the same time, but are displayed on the screen independently at different times.
[0214] For example, Figure 6B As shown, in response to the left sliding operation on the combined mirror component 622A, the electronic device 100 can adjust the video application and the game application from the split screen display state to the non-split screen display state, and display Figure 6C Multitasking interface 620 is shown.
[0215] like Figure 6C As shown, the multitasking interface 620 may include a task card 623 and a mirror component 622B for a video application, and a task card 624 and a mirror component 622C for a game application. It can be seen that when the video application and the game application are adjusted to a non-split screen display state, the electronic device 100 can split the task cards of the video application and the game application, and split the mirror components of the video application and the game application. Figure 6B and Figure 6C It can be seen that when the video application and the game application are adjusted to the non-split screen display state, Figure 6B The combined task card 621 shown can be split into Figure 6C The task cards 623 and 624 shown, Figure 6B The combined mirror assembly 622A shown can be split into Figure 6C Mirror image component 622B and mirror image component 622C are shown.
[0216] The embodiment of the present application does not limit the user operation of adjusting the application to a non-split-screen display state through the combined mirror component 622A.
[0217] After the multiple applications displayed in split screen are adjusted to a non-split screen display state, the user can individually control each application through the task cards and / or mirror components corresponding to the multiple applications, such as closing, opening, or locking the application.
[0218] In some embodiments, the user can adjust the video application and the game application from a non-split-screen display state to a split-screen display state by operating the mirroring component 622B and the mirroring component 622C.
[0219] For example, Fig.6DAs shown, in response to the operation of dragging the mirror component 622C to the mirror component 622B, the electronic device 100 can adjust the video application and the game application from the non-split screen display state to the split screen display state, and display Fig. 6E Multitasking interface 620 is shown.
[0220] like Fig.6D As shown, the multitasking interface 620 may include a combined task card 621 of a video application and a game application, and a combined mirror component 622A. It can be seen that when the video application and the game application are adjusted to a split-screen display state, the electronic device 100 can combine the task cards of the video application and the game application, and combine the mirror components of the video application and the game application. Fig.6D and Fig. 6E It can be seen that when the video application and the game application are adjusted to a split-screen display state, Fig.6D The task cards 623 and 624 shown may be combined into Fig. 6E The combined task card 621 shown, Figure 6B The mirror component 622B and the mirror component 622C shown can be combined into Fig. 6E The combined mirrored assembly 622A is shown.
[0221] The embodiment of the present application does not limit the user operation of adjusting the application to the split-screen display state through the mirror component 622B and the mirror component 622C.
[0222] After multiple applications are adjusted to split-screen display state, the user can control these multiple applications at the same time through the combined mirror components or combined task cards corresponding to these multiple applications, such as opening these multiple applications at the same time, or closing these multiple applications at the same time, or locking these multiple applications at the same time, etc.
[0223] In some embodiments, when multiple applications are in a split-screen display state, the user can individually control a single application among the multiple applications through the combined mirror components or combined task cards corresponding to the multiple applications.
[0224] For example, Fig. 6E As shown, in response to the operation of dragging the task card 621B of the game application on the combined task card 621 to the position where the delete control 625 is located, the electronic device 100 can close the game application and display Fig. 6F The multitasking interface 620 is shown. Fig. 6E and Fig. 6F It can be seen that when the game application is closed, the electronic device 100 can cancel the display Fig. 6E The combined task card 621 shown in FIG. 1 is displayed, and a task card 623 of the video application is displayed separately on the multi-task interface 620. In addition, the electronic device 100 may cancel the display of the task card 621. Fig. 6E The combined mirror component 622A is shown, and the mirror component 622B of the video application is displayed separately in the component folder 622. It can be understood that in the case where the video application and the game application are displayed in split screen, if the game application is closed, the video application can occupy the entire screen for display. The video application changes from the split screen display state to the non-split screen display state.
[0225] Similarly, the user can also close the video application by dragging the task card 621A in the combined task card 621 to the location of the delete control 625 .
[0226] The electronic device 100 can also close the video application in response to the operation of sliding the task card 621A upward or downward. Similarly, the electronic device 100 can close the game application in response to the operation of sliding the task card 621B upward or downward. The embodiment of the present application does not limit the user operation of closing a single application displayed in split screen by combining the task cards 621.
[0227] In addition to operating the combined task card 621 to close the video application or the game application, the user can also perform preset operations on the combined task card 621 to achieve other controls on the video application or the game application separately, such as locking the video application or the game application separately.
[0228] In addition, users can also Fig. 6E The preset operation of the combined mirror component 622A is shown to realize the control of closing, locking, etc. of a video application or a game application separately. The embodiment of the present application does not limit the method of the above preset operation.
[0229] In some embodiments, when multiple applications are in a split-screen display state, the user can simultaneously control the multiple applications through the combined mirror components or combined task cards corresponding to the multiple applications.
[0230] For example, Figure 6G As shown, in response to a long press operation on the combined mirror component 622A, the electronic device 100 may display Figure 6H Function option control 626 is shown. Function option control 626 may include close control 626A and lock control 626B. Close control 626A may be used to close the application corresponding to combined mirror component 622A, i.e., video application and game application. Lock control 626B may be used to lock the application corresponding to combined mirror component 622A.
[0231] like Figure 6H As shown, in response to an operation on the close control 626A, such as a click operation, the electronic device 100 can close the video application and the game application, and display Fig.6IThe multitasking interface 620 is shown. Fig.6I The multitasking interface 620 does not include Figure 6H The combined task card 621 and the combined mirror component 622A are shown. Figure 6H and Fig.6I It can be seen that when the video application and the game application are closed, the electronic device 100 can cancel the display of the combined task card 621 and the combined mirror component 622A.
[0232] Apart from Figure 6G and Figure 6H As shown in the user operation, the electronic device 100 can also close the video application and the game application in response to the operation of dragging the combined mirror component 622A to the location of the delete control 625. The embodiment of the present application does not limit the user operation of closing the video application and the game application at the same time through the combined mirror component 622A.
[0233] In addition to closing the video application and the game application at the same time through the combined mirror component 622A, the user can also perform preset operations on the combined mirror component 622A to achieve other controls on the video application and the game application at the same time. For example, in response to a click operation on the combined mirror component 622A, the electronic device 100 can open the video application and the game application, and display the user interface of the video application and the game application in split screen (for details, please refer to Fig. 6A User interface 610 shown).
[0234] It can be seen that in the scenario where multiple applications are displayed in split screens, the user can control the multiple applications at the same time by operating a single component (i.e., the combined mirror component corresponding to the multiple applications). In this way, the user does not need to perform separate control operations on the multiple applications. The above embodiment can improve the convenience of the user to control the application.
[0235] In addition, users can also Figure 6H The preset operation of the combined task card 621 is shown to realize the control of the video application and the game application at the same time. Figure 6H The electronic device 100 can close the video application and the game application in response to the click operation on the combined task card 621, and display the video application and the game application. Fig. 6A The user interface 610 is shown. The embodiment of the present application does not limit the preset operation of controlling the video application and the game application at the same time by combining the task cards 621.
[0236] By the above FIG. 6A to FIG. 6IAs can be seen from the scenario shown, when multiple applications are displayed in split screen, the electronic device 100 can provide combined task cards and combined mirror components corresponding to these multiple applications on the multi-tasking interface. The user can not only achieve batch control of these multiple applications through the combined task card or the combined mirror component, but also control a single application in these multiple applications separately through the combined task card or the combined mirror component. In addition, the user can also adjust the split-screen display state between multiple applications through the task card or the mirror component on the multi-tasking interface. The above embodiment can improve the convenience of the user to control multiple applications displayed in split screen, and improve the user's experience of one-handed operation in a multi-tasking scenario.
[0237] Not limited to the above split-screen display scenario, the electronic device 100 can also combine task cards of multiple applications and / or combine mirror components of multiple applications in other scenarios. This can facilitate users to batch control multiple applications through combined task cards of multiple applications or combined mirror components, thereby improving the efficiency of user control of applications and the user experience.
[0238] In some embodiments, the electronic device 100 may display a floating window on the screen. When the multitasking interface is called up, the floating window may still be displayed on the multitasking interface. The electronic device 100 may provide a component corresponding to the floating window on the multitasking interface so that the user can control the floating window through the component corresponding to the floating window, such as closing the floating window or opening the application corresponding to the floating window, etc.
[0239] Figure 7A to Figure 7C Schematic diagrams of other multi-tasking interface operation scenarios are shown as examples.
[0240] like Fig. 7A As shown, the electronic device 100 displays a user interface 710. The user interface 710 may be a user interface of a chat application. The electronic device 100 displays a floating window 711 on the user interface 710. The floating window 711 may be a floating window of a video application. The embodiment of the present application does not limit the application to which the user interface displayed under the floating window 711 belongs, and the application to which the floating window 711 belongs. Here, the floating window of a video application is displayed on the user interface of a chat application as an example for explanation.
[0241] In response to Fig. 7A As shown in the operation of sliding upward from the bottom edge of the screen and pausing, the electronic device 100 can display Figure 7BThe multitasking interface 720 shown. The floating window 711 may still be displayed on the multitasking interface 720. It can be seen that when the multitasking interface 720 is displayed, the application running in the foreground of the electronic device 100 may include a video application. The running process in the electronic device 100 may include the process corresponding to the floating window 711.
[0242] like Figure 7B As shown, the electronic device 100 can display the task card 722 and the mirror component 721A of the video application on the multitasking interface 720. Based on the above floating window 711, the electronic device 100 can also display the component 721B corresponding to the floating window 711 in the component folder 721. The component 721B can be used to control the floating window 711. Figure 7B The display style of component 721B shown is only an exemplary description of the present application and should not constitute a limitation on the present application.
[0243] For example, in response to Figure 7B As shown in FIG. 1 , the electronic device 100 can close the floating window 711 and display the component 721B being dragged to the position of the delete control 723. Figure 7C The multitasking interface 720 is shown. Figure 7B and Figure 7C It can be seen that when the floating window 711 is closed, the electronic device 100 can remove the component 721B in the component folder 721. It should be noted that the electronic device 100 can close the floating window 711 by killing the process corresponding to the floating window 711. Although the process corresponding to the floating window 711 is killed, there may still be other running processes in the video application. Therefore, after the electronic device 100 closes the floating window 711, the video application changes from an application running in the foreground to an application running in the background. The electronic device 100 can still display the task card 722 and the mirror component 721A of the video application in the multitasking interface 720.
[0244] In addition, the user can also perform other controls on the floating window 711 through the component 721B. For example, in response to a click operation on the component 721B, the electronic device 100 can open a video application and display the display content in the floating window 711 on the user interface of the video application. The embodiment of the present application does not limit the user operation of controlling the floating window 711 through the component 721B.
[0245] In some embodiments, Figure 7B When the floating window 711 is displayed on the multitasking interface 720, the user can operate the task card 722 or the mirror component 721A to close the video application. When closing the video application, the electronic device 100 can close the floating window 711 and cancel the display in the multitasking interface 720. Figure 7BThe task card 722, the mirror component 721A, and the component 721B are shown. It is understandable that when the electronic device 100 closes the video application, all processes of the video application will be killed. Therefore, the floating window 711 will be closed when the video application is closed.
[0246] exist Figure 7B When the floating window 711 is displayed on the multitasking interface 720, the user can operate the task card 722 or the mirror component 721A to open the video application. When the video application is opened, the electronic device 100 can display the user interface of the video application and cancel the display of the floating window 711. Among them, the display content in the floating window 711 can be displayed on the user interface of the video application.
[0247] In some embodiments, the mirror component 721A and the component 721B may be displayed as one component. That is, when the floating window 711 is displayed on the multitasking interface 720, the electronic device 100 may provide a mirror component corresponding to a video application in the component folder 721. The user may control the floating window 711 individually through the mirror component corresponding to the video application, or may control the entire video application through the mirror component corresponding to the video application (such as closing, opening, or locking the video application, etc.).
[0248] By the above Figure 7A to Figure 7C It can be seen from the scenario shown that when a floating window is displayed in the electronic device 100, the user can call up the multitasking interface and conveniently control the floating window through the components corresponding to the floating window on the multitasking interface. The components corresponding to the above floating window can be displayed in an area within the reach of the user on the multitasking interface. In this way, when the screen of the electronic device 100 is large and the display position of the floating window is far from the fingers of the user holding the electronic device 100 with one hand, the components corresponding to the above floating window can facilitate the user to control the floating window by holding the electronic device 100 with one hand. The above embodiments can improve the user's experience of one-handed operation in a multitasking scenario.
[0249] Based on the above multi-task interface operation scenario, the multi-task interface operation method provided by the embodiment of the present application is introduced below.
[0250] Figure 8 A flowchart of a method for operating a multi-tasking interface is exemplified.
[0251] like Figure 8 As shown, the method is a method for operating in a multi-tasking interface to open an application. The method may include steps S811 and S812.
[0252] S811 . A user operation 2 on the mirror component of APP1 on the multitasking interface is detected, where the user operation 2 is used to open APP1 .
[0253] APP1 may be an application running in the electronic device 100. The method for displaying the mirror component in the multi-task interface of the electronic device 100 may refer to the aforementioned Figure 4 The mirror component of APP1 can be displayed in a display area on the multitasking interface that can be operated by the user when holding the electronic device 100 with one hand. In this way, when the user holds the electronic device 100 with one hand, the user can conveniently control the APP through the mirror component of APP1.
[0254] For example, the user operation 2 may be a click operation or a touch operation on the mirror component of APP 1. The embodiment of the present application does not limit the user operation 2.
[0255] S812. Exit the multitasking interface and display the user interface of APP1.
[0256] In response to the above user operation 2, the electronic device 100 may obtain the operating data of APP1, and display the user interface of APP1 according to the operating data of APP1.
[0257] For example, APP1 is the aforementioned Figure 5B The electronic device 100 may store the running data of the video application. When the video application is switched to the background, the running data of the video application may include data such as the content displayed on the user interface when the video application is switched to the background, the video playback progress, etc. When the video application is opened, the video application may be switched to the foreground. The electronic device 100 may restore the display of the content displayed when the video application is switched to the background according to the running data of the video application, and may continue to play the video from the video playback progress when the video application is switched to the background.
[0258] It should be noted that the multi-task interface may also display a task card of APP1. The effect of a user operating the mirror component of APP1 to open APP1 is consistent with the effect of a user operating the task card of APP1 to open APP1. This can ensure the consistency of the user's experience of using the mirror component and the task card.
[0259] By the above Figure 8 It can be seen from the method shown that, on the multitasking interface, the mirror component of the application can be displayed in a display area that can be operated by the user when the user holds the electronic device 100 with one hand. When the screen of the electronic device 100 is large and the display position of the task card on the multitasking interface is far away from the user's fingers and inconvenient to operate, the user holding the electronic device 100 with one hand can easily open the application corresponding to the mirror component through the mirror component. The above method can improve the user's experience of one-handed operation in a multitasking scenario.
[0260] Fig. 9 Another method flow chart showing a multi-tasking interface operation method
[0261] like Fig. 9 As shown, the method is a method for operating in the multi-task interface and still displaying the multi-task interface after controlling the application. The method may include steps S911 to S916.
[0262] S911. Detect user operation 3 for APP1 on the multitasking interface. User operation 3 is used to control APP1 corresponding to control item A. Control item A includes: closing APP1, locking APP1, adjusting the split-screen display state of APP1, or closing the floating window of APP1.
[0263] The multi-task interface may display the task card and mirror component of APP1. The display method of the task card and mirror component can refer to the above Figure 4 The method shown in the figure. User operation 3 can be an operation on a task card of APP1, or can be an operation on a mirror component of APP1.
[0264] For example, when closing APP1, user operation 3 can refer to the above Figure 5C and Figure 5D Operations shown, or refer to the above Figure 5E When locking APP1, user operation 3 can refer to the above Fig. 5F and Figure 5G When adjusting the split screen display state of APP1, user operation 3 can refer to the above Figure 6B Operations shown, or refer to the above Fig.6D The operation shown in the figure. Among them, adjusting the split-screen display state of APP1 may include adjusting APP1 from the split-screen display state to the non-split-screen display state, or adjusting APP1 from the non-split-screen display state to the split-screen display state. When closing the floating window of APP1, user operation 3 can refer to the aforementioned Figure 7B The present embodiment of the application does not limit the above user operation 3.
[0265] S912. Perform control corresponding to control item A on APP1.
[0266] In response to user operation 3, the electronic device 100 may control APP1 corresponding to the control item A. The electronic device 100 may control APP1 corresponding to the control item A by managing the process of APP1.
[0267] Exemplarily, if user operation 3 is used to close APP1, the electronic device 100 can search for and kill the process of APP1. If user operation 3 is used to lock APP1, the electronic device 100 can set the process of APP1 to a locked state to prevent the process of APP1 from being killed when resources such as device memory are insufficient. If user operation 3 is used to adjust APP1 from a split-screen display state to a non-split-screen display state, the electronic device 100 can adjust the process of APP1 so that the user interface of APP1 drawn by the process of APP1 running adapts to the size of the screen and can occupy the entire screen for independent display. If user operation 3 is used to adjust APP1 from a non-split-screen display state to a split-screen display state, the electronic device 100 can adjust the process of APP1 so that the user interface of APP1 drawn by the process of APP1 running adapts to the size of the split-screen display area and can be displayed on the screen at the same time as other APPs. If user operation 3 is used to close the floating window of APP1, the electronic device 100 can search for and kill the process corresponding to the floating window of APP1.
[0268] The embodiment of the present application does not limit the method for implementing the control of the APP corresponding to the control item A by the electronic device 100.
[0269] S913: Determine whether the multitasking function is enabled.
[0270] S914. Acquire configuration information of a multitasking operation component, where the multitasking operation component includes a mirror component, and the configuration information includes one or more of the following: display style, display mode, and content of the multitasking operation component.
[0271] Steps S913 and S914 may refer to the aforementioned Figure 4 Steps S413 and S414 are shown.
[0272] The electronic device 100 can be configured as described above. Figure 4 The method shown displays a multitasking interface. When a multitasking interface is displayed on the screen, the electronic device 100 can respond to the user's operation of turning off the multitasking function, turn off the multitasking function, and cancel the display of the multitasking operation component on the multitasking interface. In other words, when a multitasking interface is displayed on the screen, the user can turn on or off the multitasking function at any time. Therefore, when the electronic device 100 adjusts the display content of the multitasking interface in response to the user's operation of controlling the application on the multitasking interface, it can be determined again whether the multitasking function is turned on to determine whether the multitasking operation component needs to be displayed on the multitasking interface.
[0273] In some embodiments, steps S913 and S914 are optional. Figure 4It can be seen from the method shown that the electronic device 100 has determined whether the multitasking function is turned on before displaying the multitasking interface, and has obtained the configuration information of the multitasking operation component when the multitasking function is turned on. When the multitasking interface is displayed on the screen, the multitasking function can always remain turned on. When the electronic device 100 needs to adjust the display content of the multitasking interface, the electronic device 100 does not need to determine whether the multitasking function is turned on again, and does not need to obtain the configuration information of the multitasking operation component again.
[0274] S915. Adjust the task card displayed on the multitasking interface according to control item A, and adjust the mirror component displayed on the multitasking interface according to the configuration information of control item A and the multitasking operation component, wherein the change of the task card is associated with the change of the mirror component.
[0275] The task card and the mirror component of APP1 have a mirror relationship. After the electronic device 100 controls APP1 corresponding to the control item A, the task card and the mirror component of APP1 may produce associated changes to prompt the user the status of APP1.
[0276] Exemplarily, when control item A is to close APP1, the electronic device 100 can cancel the display of the task card and mirror component of APP1 in the multitasking interface. Among them, when the task card of APP1 is canceled, the electronic device 100 can adjust the display position of the task card currently displayed on the multitasking interface. For example, the display position of the task card originally displayed after the task card of APP1 can be moved forward in sequence. The electronic device 100 can also display task cards of other applications at the position of the vacant task card. Similarly, the mirror component is displayed in the component folder of the multitasking interface. When the mirror component of APP1 is canceled, the electronic device 100 can adjust the display position of the component in the component folder. The electronic device can move the display position of the mirror component originally displayed after the mirror component of APP1 forward in sequence. The electronic device 100 can also display other components at the vacant component position in the component folder. The above-mentioned scenario of adjusting the display content of the multitasking interface when closing APP1 can refer to the aforementioned Figure 5C to Figure 5F The scene shown.
[0277] When control item A is to adjust APP1 from a split-screen display state to a non-split-screen display state, the electronic device 100 can separate the task card of APP1 from the combined task card with other applications, and can separate the mirror component of APP1 from the combined mirror component with other applications. For example, APP1 and APP2 are displayed in split screen. The electronic device 100 displays the combined task card and combined mirror component of APP1 and APP2 on the multitasking interface. When APP1 is adjusted to a non-split-screen display state, the electronic device 100 can cancel the display of the combined task card of APP1 and APP2, and separately display the task card of APP1 and the task card of APP2 on the multitasking interface. In addition, the electronic device 100 can cancel the display of the combined mirror component of APP1 and APP2, and separately display the mirror component of APP1 and the mirror component of APP2 in the component folder. The above scenario of adjusting the display content of the multitasking interface when APP1 is adjusted to a non-split-screen display state can refer to the aforementioned Figure 6B and Figure 6C The scene shown.
[0278] When control item A is to adjust APP1 from a non-split-screen display state to a split-screen display state, the electronic device 100 can display APP1 in combination with the task card of its split-screen APP, and display APP1 in combination with the mirror component of its split-screen APP. For example, APP1 and APP2 are in a non-split-screen display state. The multitasking interface displays task cards and mirror components corresponding to APP1 and APP2 respectively. When APP1 and APP2 are adjusted to a split-screen display state, the electronic device 100 can cancel the display of the task card corresponding to APP1 and the task card corresponding to APP2, and display the combined task card corresponding to APP1 and APP2 on the multitasking interface. In addition, the electronic device 100 can cancel the display of the mirror component corresponding to APP1 and the mirror component corresponding to APP2, and display the combined mirror component corresponding to APP1 and APP2 on the multitasking interface. The above scenario of adjusting the display content of the multitasking interface when APP1 is adjusted to a split-screen display state can refer to the aforementioned Fig.6D and Fig. 6E The scene shown.
[0279] In some embodiments, when the electronic device 100 controls APP1 corresponding to the control item A, the task card and / or mirror component displayed on the multi-task interface may also remain unchanged.
[0280] For example, when control item A is to lock APP1, the electronic device 100 can add a lock mark at the position associated with the task card of APP1 to indicate that APP1 is currently locked. The electronic device 100 can keep the display style of the mirror component of APP1 unchanged. For details, please refer to the aforementioned Figure 5F to Figure 5H Alternatively, when locking APP1, the electronic device 100 may also add a locking mark on the mirror component of APP1.
[0281] When control item A is to close the floating window of APP1, the electronic device 100 can close the floating window of APP1 and keep the task card of APP1 displayed on the multitasking interface unchanged. If the component corresponding to the floating window of APP1 and the mirror component of APP1 are two independent components, the electronic device 100 can cancel the component corresponding to the floating window of APP and keep the display style of the mirror component of APP1 unchanged. For details, please refer to the aforementioned Figure 7B and Figure 7C If the component corresponding to the floating window of APP1 is the same as the mirror component of APP1, the electronic device 100 adjusts the display style of the component when closing the floating window of APP1, or may keep the display style of the component unchanged. This embodiment of the application is not limited to this.
[0282] S916. Adjust the task cards displayed on the multi-task interface according to control item A.
[0283] When the multitasking function is turned off, the content displayed on the multitasking interface does not include the multitasking operation component. Therefore, the electronic device 100 can adjust the task cards displayed on the multitasking interface according to the control item A without adjusting the mirror component.
[0284] In some embodiments, when the multitasking function is turned on, the multitasking operation components displayed on the multitasking interface may also include a shortcut function component. In response to the operation of the shortcut function component, the electronic device 100 may not only implement the corresponding function according to the above operation, but also adjust the display style of the shortcut function component according to the above operation.
[0285] For example, a flashlight component is displayed on the multitasking interface. The flashlight component can refer to the aforementioned Figure 3FThe quick function component displayed in the component folder 316 shown. When the flashlight of the electronic device 100 is in the off state, the flashlight component can be displayed in the display style of the off state. In response to the operation of the flashlight component, the electronic device 100 can turn on the flashlight and change the display style of the flashlight component from the display style of the off state to the display style of the on state. The display style of the flashlight component in the off state and the display style in the on state may be different. The embodiment of the present application does not limit the change of the display style of the above-mentioned quick function component.
[0286] By the above Fig. 9 It can be seen from the method shown that, on the multitasking interface, the mirror component of the application can be displayed in a display area that can be operated by the user when the user holds the electronic device 100 with one hand. When the screen of the electronic device 100 is large and the display position of the task card on the multitasking interface is far away from the user's fingers and inconvenient to operate, the user holding the electronic device 100 with one hand can easily control the application corresponding to the mirror component through the mirror component. The above method can improve the user's experience of one-handed operation in a multitasking scenario.
[0287] Furthermore, when the electronic device 100 still displays the multitasking interface after controlling the application according to the user operation, the electronic device 100 can adaptively adjust the task cards and mirror components displayed on the multitasking interface to prompt the user of the status of the application after control.
[0288] Fig.10 Another method flow chart of multi-tasking interface operation is exemplarily shown.
[0289] like Fig.10 As shown, the method shows the interaction process between the modules included in the electronic device 100 when the electronic device 100 calls up the multi-task interface and responds to the operation on the multi-task interface.
[0290] Among them, the electronic device 100 may include a gesture recognition module, a multitasking management application, a process management module, a setting definition module and a display module. The gesture recognition module can be used to identify user operations for calling up the multitasking interface, user operations on task cards and mirror components on the multitasking interface, and the like. The multitasking management application can be used to manage the multitasking interface. The process management module can be used to create and manage processes in the electronic device 100. The setting definition module can be used to turn on or off the multitasking function, and to set the configuration information of the multitasking operation component. The display module can be used to draw a screen display multitasking interface, APP user interface and other contents on the screen.
[0291] Fig.10 The modules included in the electronic device 100 are only exemplary descriptions of the present application and should not be construed as limiting the present application. The electronic device 100 may also include Fig.10 More or fewer modules, or combining some modules, or splitting some modules.
[0292] like Fig.10 As shown, the method may include steps S1011 to S1027.
[0293] 1. (S1011-S1020) Call up the multi-tasking interface.
[0294] S1011. The setting definition module enables the multitasking function according to the user's setting operation and sets the configuration information of the multitasking operation component.
[0295] In some embodiments, the setting definition module may provide a switch for turning on or off the multitasking function, and a setting option for setting the configuration information of the multitasking operation component. In this way, the user can manually turn on or off the multitasking function and set the configuration information of the multitasking operation component. For details, please refer to the aforementioned Figure 2A and Figure 2B The multitasking operation component may include but is not limited to a mirror component and a shortcut function component. The configuration information of the multitasking operation component may include one or more of the following: display style, display mode, and content of the multitasking operation component.
[0296] The settings definition module can save the multitasking function's enabling status and the configuration information of the multitasking operation components.
[0297] S1012: The gesture recognition module detects a user operation of calling up a multitasking interface.
[0298] For this user operation, please refer to the above Figure 1A The action shown is to swipe up from the bottom edge of the screen and pause.
[0299] S1013: The gesture recognition module sends a message to the multitasking management application to call out a multitasking interface.
[0300] S1014: The multitasking management application obtains a process set of running applications from the process management module.
[0301] The process management module may include information about the processes of applications running in the electronic device 100. The multitasking management application may determine which applications are running in the electronic device 100 through the process management module.
[0302] S1015: The multitasking management application requests the setting definition module to obtain the activation status of the multitasking function.
[0303] S1016. The setting definition module sends information indicating that the multitasking function is enabled to the multitasking management application.
[0304] S1017: The multi-task management application obtains configuration information of the multi-task operation component from the setting definition module.
[0305] The embodiment of the present application does not limit the execution order of the above steps S1014 to S1017. In some embodiments, the multitasking management application can execute step S1014 and step S1015 at the same time. Alternatively, the multitasking management application can first execute step S1015 to determine the activation state of the multitasking function, and then execute step S1014.
[0306] S1018. The multitasking management application obtains the task card of the running application, and obtains display data of the multitasking operation component according to the configuration information of the multitasking operation component.
[0307] Step S1018 can refer to the above Figure 4 Steps S415 and S416 are shown.
[0308] S1019. The multitasking management application sends an instruction to the display module to draw and display a multitasking interface. The instruction includes a task card, configuration information of a multitasking operation component, and display data.
[0309] S1020: The display module draws and displays a multi-task interface, where the multi-task interface includes a task card and a multi-task operation component.
[0310] Step S1019 can refer to the above Figure 4 Step S417 shown.
[0311] 2. (S1021-S1027) Perform operations on the multi-tasking interface.
[0312] Here, the operation of closing APP1 on the multitasking interface is taken as an example for explanation.
[0313] S1021. The gesture recognition module detects a user operation for closing APP1 on the mirror component of APP1 in the multitasking interface.
[0314] For this user operation, please refer to the above Figure 5C and Figure 5D User actions shown.
[0315] S1022. The gesture recognition module sends a message to close APP1 to the multitasking management application.
[0316] In addition to the above-mentioned user operation on the mirror component of APP1 for closing APP1, the gesture recognition module can also recognize the user operation on the mirror component for opening APP1, or the operation for locking APP1, or the operation for adjusting the split-screen display state of APP1, or the operation for closing the floating window of APP1, etc. In addition, the gesture recognition module can also recognize the user operation on the task card for controlling the application, and the user operation on the shortcut function component. The gesture recognition module can send a corresponding message to the multitasking management application according to the operation recognized in the multitasking interface to instruct the multitasking management application to implement the corresponding function.
[0317] S1023. The multitasking management application sends an instruction to close APP1 to the process management module.
[0318] S1024. The process management application kills the process of APP1.
[0319] S1025. The multitasking management application adjusts the display data of the task card and the multitasking operation component.
[0320] S1026. The multitasking management application sends an instruction to refresh the multitasking interface to the display module. The instruction includes configuration information of the multitasking operation component, the adjusted task card, and display data of the multitasking operation component.
[0321] S1027. The display module refreshes the multi-task interface. The refreshed multi-task interface does not include the task card and mirror component of APP1.
[0322] Steps S1025 to S1027 may refer to the aforementioned Fig. 9 The above-mentioned scene of operating the mirror component of APP1 on the multitasking interface to close APP1 can refer to the aforementioned Figure 5C to Figure 5E The scene shown.
[0323] By the above Fig.10It can be seen from the method shown that the user can personalize the multitasking interface so that the multitasking interface displays the multitasking operation component, so as to facilitate the user to operate on the multitasking interface when holding the electronic device 100 with one hand. And the user can set the multitasking interface so that the content displayed on the multitasking interface is more in line with the user's usage habits. On the multitasking interface, the multitasking operation component can be displayed in a display area that the user can also operate when holding the electronic device 100 with one hand. When the screen of the electronic device 100 is large, and the display position of the task card on the multitasking interface or the display position of the shortcut function component on other user interfaces is far away from the user's fingers and inconvenient to operate, the user holding the electronic device 100 with one hand can easily achieve the corresponding needs through the multitasking operation component. The above method can improve the user's experience of one-handed operation in a multitasking scenario.
[0324] The structure of the electronic device 100 involved in this application is introduced below.
[0325] Please refer to Fig.11 , Fig.11 The schematic diagram of the hardware structure of the electronic device 100 is exemplarily shown.
[0326] like Fig.11 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
[0327] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0328] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0329] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0330] The processor 110 may also be provided with a memory for storing instructions and data. In some examples, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0331] The USB interface 130 is an interface that complies with USB standard specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 may be used to connect a charger to charge the electronic device 100, or may be used to transmit data between the electronic device 100 and a peripheral device. It may also be used to connect headphones to play audio through the headphones.
[0332] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142, it can also power the electronic device through the power management module 141.
[0333] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
[0334] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0335] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0336] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0337] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0338] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
[0339] The display screen 194 is used to display images, videos, etc. The display screen 194 may be a liquid crystal display screen, an OLED display screen, etc. The present application embodiment does not limit the material of the display screen 194. In some embodiments, the display screen 194 may also include a flexible folding screen. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0340] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0341] The ISP is used to process data fed back by the camera 193. For example, when taking a photo, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, and the light signal is converted into an electrical signal. The camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye.
[0342] The camera 193 is used to capture still images or videos. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0343] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0344] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0345] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0346] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0347] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0348] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some examples, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. The headphone jack 170D is used to connect wired headphones.
[0349] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a gravity sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, an angle sensor, and the like.
[0350] The buttons 190 include a power button, a volume button, etc. The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, messages, missed calls, notifications, etc.
[0351] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some examples, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0352] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 100 is exemplified.
[0353] Fig.12 The software structure block diagram of the electronic device 100 is exemplarily shown.
[0354] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. The system is divided into four layers, from top to bottom: application layer, application framework layer, Android Runtime and system library, and kernel layer.
[0355] The application layer can include a series of application packages.
[0356] like Fig.12 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, short message, multi-task management application, etc. Multi-task management application can refer to the aforementioned Fig.10 Introduction.
[0357] The application framework layer provides API and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0358] like Fig.12 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, an activity manager, and the like.
[0359] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0360] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0361] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a multi-task interface including task cards and multi-task operation components can include a view for displaying text and a view for displaying images.
[0362] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).
[0363] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0364] The notification manager enables applications to display notification information in the status bar (such as the pull-down notification bar). It can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.
[0365] The activity manager is responsible for managing activities, starting, switching, and scheduling components in the system, as well as managing and scheduling applications. The activity manager can be called by upper-level applications to open corresponding activities.
[0366] In some embodiments, the application framework layer may also include the aforementioned Fig.10 The gesture recognition module, process management module, setting definition module, and display module are shown.
[0367] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.
[0368] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.
[0369] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0370] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0371] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0372] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0373] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0374] A 2D graphics engine is a drawing engine for 2D drawings.
[0375] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0376] The electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) or virtual reality (VR) device, etc. The embodiment of the present application does not impose any special restrictions on the specific type of the electronic device 100.
[0377] It is understandable that the various user interfaces described in the embodiments of the present application are only example interfaces and do not limit the present application scheme. In other embodiments, the user interface may adopt a different interface layout, may include more or fewer controls, and may increase or decrease other functional options, as long as they are based on the same inventive concept provided by the present application, they are all within the scope of protection of the present application.
[0378] It should be noted that, without causing any contradiction or conflict, any feature in any embodiment of the present application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of the present application.
[0379] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A multi-task interface operation method, characterized in that: The method comprises: The electronic device detects a first operation; In response to the first operation, the electronic device displays a multitasking interface, the multitasking interface including a first task card of a first application and a first component, the first component being displayed in a first area of the screen; The first task card and the first component are both used to control the first application.
2. The method according to claim 1, characterized in that The electronic device displays a multitasking interface, the multitasking interface includes a first task card and a first component of a first application, the first component is displayed in a first area of the screen, including: the electronic device displays task cards of one or more running applications in the multitasking interface, and displays components of the one or more running applications in the first area, wherein the task card and component of the one running application are both used to control the one running application, the one or more running applications include the first application, and the components of the one or more running applications include the first component.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: The electronic device determines the position of the first area according to the device usage mode, wherein when the device usage mode is a left-hand mode, the first area is close to the left side of the screen, and when the device usage mode is a right-hand mode, the first area is close to the right side of the screen; The device usage mode is set by a user, or is determined by the electronic device according to a detection result of whether the electronic device is held by a left hand or a right hand.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The electronic device detects a second operation on the first component, where the second operation is used to open the first application; In response to the second operation, the electronic device opens the first application and displays a user interface of the first application.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The electronic device detects a third operation on the first component, where the third operation is used to lock the first application; In response to the third operation, the electronic device locks the first application and displays a lock mark on the first task card, where the lock mark is used to indicate that the first application is locked.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The electronic device detects a fourth operation on the first component, where the fourth operation is used to close the first application; In response to the fourth operation, the electronic device closes the first application and cancels display of the first task card and the first component in the multi-tasking interface.
7. The method according to any one of claims 1 to 6, characterized in that The multitasking interface further includes a second component of a second application, the second component is used to control the second application, and the second component is displayed in the first area; the method further includes: The electronic device detects a fifth operation on the first component and the second component, the fifth operation being used to combine the first component and the second component; In response to the fifth operation, the electronic device displays the first component and the second component in combination as a third component, and the third component is used to control the first application or the second application individually and / or to control the first application and the second application simultaneously.
8. The method according to claim 7, characterized in that The method further comprises: In response to the fifth operation, the electronic device adjusts the first application and the second application to a split-screen display state; The electronic device detects a sixth operation on the third component, where the sixth operation is used to open the first application and the second application; In response to the sixth operation, the electronic device displays the user interfaces of the first application and the second application in split screen.
9. The method according to claim 7 or 8, characterized in that: The method further comprises: The electronic device detects a seventh operation on the third component, where the seventh operation is used to lock the first application and the second application; In response to the seventh operation, the electronic device locks the first application and the second application.
10. The method according to any one of claims 7 to 9, characterized in that: The method further comprises: The electronic device detects an eighth operation on the third component, where the eighth operation is used to close the first application and the second application; In response to the eighth operation, the electronic device closes the first application and the second application, and cancels display of the third component in the multi-tasking interface.
11. The method according to any one of claims 7 to 10, characterized in that: The method further comprises: The electronic device detects a ninth operation on the third component, where the ninth operation is used to lock the first application; In response to the ninth operation, the electronic device locks the first application.
12. The method according to any one of claims 7 to 11, characterized in that: The method further comprises: The electronic device detects a tenth operation on the third component, where the tenth operation is used to close the first application; In response to the tenth operation, the electronic device closes the first application, displays the second component in the first area of the multi-tasking interface, and cancels the display of the third component.
13. The method according to any one of claims 7 to 12, characterized in that: The multi-task interface further includes a second task card of the second application, and the method further includes: In response to the fifth operation, the electronic device displays the first task card and the second task card in combination as a third task card, and the third task card is used to control the first application or the second application individually, and / or to control the first application and the second application simultaneously.
14. The method according to any one of claims 7 to 13, characterized in that: The method further comprises: The electronic device detects an eleventh operation on the third component, where the eleventh operation is used to split the third component; In response to the eleventh operation, the electronic device splits and displays the third component into the first component and the second component.
15. The method according to claim 14, characterized in that When the first component and the second component are combined and displayed as the third component, the first application and the second application are in a split-screen display state, and the method further includes: In response to the eleventh operation, the electronic device adjusts the first application and the second application to a non-split-screen display state.
16. The method according to any one of claims 1 to 15, characterized in that A first floating window of the first application is displayed in a floating manner on the multitasking interface, and a fourth component is also displayed in the first area. The fourth component is used to control the first floating window.
17. The method according to claim 16, characterized in that The fourth component is the same component as the first component.
18. The method according to any one of claims 1 to 17, characterized in that The first area also displays one or more of the following quick function components: a flashlight component, a Wi-Fi component, a Bluetooth component, and a payment code.
19. The method according to claim 18, characterized in that The one or more shortcut function components are added by user selection.
20. The method according to claim 18 or 19, characterized in that The method further comprises: The electronic device detects a twelfth operation; In response to the twelfth operation, the electronic device removes the flashlight assembly in the first area.
21. The method according to any one of claims 1 to 20, characterized in that The first area displays a first folder, the first folder is used to store components, the first component is displayed in the first folder, and the method further includes: The electronic device detects a thirteenth operation on the first folder, where the thirteenth operation is used to switch components displayed in the first folder; In response to the thirteenth operation, the electronic device displays a second component of a second application in the first folder.
22. The method according to claim 21, characterized in that When task cards of k1 applications are displayed on the multi-tasking interface, components of the k1 applications are displayed in the first folder; the method further includes: The electronic device detects a fourteenth operation, where the fourteenth operation is used to switch a task card displayed on the multi-task interface; In response to the fourteenth operation, the electronic device switches the task cards of the k1 applications to task cards of k2 applications on the multi-tasking interface, and switches the components of the k1 applications in the first folder to components of the k2 applications, the k1 applications and the k2 applications are partially or completely different, and k1 and k2 are both positive integers.
23. The method according to claim 21 or 22, characterized in that The first folder is displayed at a first position within the first area, and the method further includes: The electronic device detects a fifteenth operation on the first folder, where the fifteenth operation is used to move the first folder; In response to the fifteenth operation, the electronic device moves the first folder to a second location within the first area.
24. The method according to any one of claims 21 to 23, characterized in that The first component is displayed at a third position in the first folder, and the method further includes: The electronic device detects a sixteenth operation on the first component, where the sixteenth operation is used to move the first component; In response to the sixteenth operation, the electronic device moves the first component to a fourth position in the first folder.
25. The method according to any one of claims 1 to 24, characterized in that Before the electronic device displays the multi-task interface, the method further includes: The electronic device determines that a first function is in an on state, the first function including a function for displaying a component of an application running in the electronic device in the first area.
26. The method according to claim 25, characterized in that The method further comprises: The electronic device detects a seventeenth operation, where the seventeenth operation is used to turn off the first function; In response to the seventeenth operation, the electronic device cancels display of the first component in the multi-tasking interface.
27. An electronic device, characterized in that: The electronic device includes a screen, a memory and a processor, wherein the screen is used to display a multi-tasking interface; the memory is used to store a computer program; and the processor is used to call the computer program so that the electronic device executes the method described in any one of claims 1-26.
28. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 26.
29. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are run on an electronic device, the electronic device executes the method according to any one of claims 1 to 26.