Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present application with reference to the accompanying drawings.
With the updating of mobile terminals, the functions of the mobile terminals are more and more powerful. A large number of applications are generally installed in mobile terminals to meet various demands in daily life, for example, various social applications, shopping applications, news applications, game applications, etc.
With more and more applications installed in mobile terminals, there may be a case where a plurality of applications are run using the mobile terminal, and thus, a case where a user performs task management on the running applications may be involved. In the related art, a mobile terminal typically displays a task management interface when detecting an operation triggering the task management interface, and displays an identifier of an application program to be managed in the task management interface for a user to manage the application programs. For example, as shown in fig. 1, fig. 1 shows an interface schematic diagram of a task management interface, where the task management interface may include an application identifier, and the application identifier may include an interface thumbnail A1 and an application icon A2 of an application program, where the interface thumbnail and the application icon of each application program may be displayed correspondingly, so that a user may know the application program corresponding to each interface thumbnail conveniently.
The inventor finds that in the related technology, only a small number of application identifiers of application programs are usually displayed in a task management interface displayed by the mobile terminal, and as the functions of the mobile terminal become more and more powerful, a large number of application programs to be managed may exist, and when the tasks of the application programs to be managed in the mobile terminal are more, a user needs more time to search for the application programs requiring management, so that the task management efficiency of the application programs is lower.
In order to solve the problems, the inventor provides the task management method, the device, the mobile terminal and the storage medium, which are provided by the embodiment of the application, so that after the mobile terminal displays a task management interface, application identifiers of a plurality of application programs can be triggered and displayed through a second preset operation, a user can manage tasks of a plurality of application programs conveniently, the efficiency of application task management of the user is improved, and further user experience is improved. The specific task management method is described in detail in the following embodiments.
Referring to fig. 2, fig. 2 is a flow chart illustrating a task management method according to an embodiment of the application. In a specific embodiment, the task management method is applied to a task management device 400 as shown in fig. 15 and a mobile terminal 100 (fig. 16) configured with the task management device 400. The specific flow of the present embodiment will be described below by taking a mobile terminal as an example, and it will be understood that the mobile terminal applied in the present embodiment may be a smart phone, a tablet computer, a smart watch, etc., which is not limited herein. The following details about the flow shown in fig. 2, the task management method specifically may include the following steps:
Step S110, responding to a first preset operation aiming at a current display interface, and switching the current display interface into a task management interface, wherein the task management interface comprises application identifiers of a first number of application programs.
In the embodiment of the application, the mobile terminal can trigger to enter the task management interface when detecting the first preset operation in the current display interface. It will be appreciated that, in order to satisfy the task management of the running application by the user, the mobile terminal may provide a task management interface for the user to manage the running application, for example, to make the application run in the foreground, and for example, to close the application. The current display interface may be any interface, for example, an interface when an application program is running, for example, a main interface (desktop) of a mobile terminal, etc., which is not limited herein, and the application identifier may be an application icon corresponding to the application program, or an interface thumbnail corresponding to the interface when the application program is running.
In some embodiments, the task management interface may be an interface for performing task management on a currently running application program, that is, an application program corresponding to an application identifier in the task management interface is a currently running application program of the mobile terminal, or an interface for performing task management on a recently running application program in the task management interface, that is, an application program corresponding to an application identifier in the task management interface is a recently running application program of the mobile terminal, where the recently running application program may be an application program still in a running state or an application program in a closed state.
In some embodiments, the first preset operation may be a pressing operation satisfying a preset pressing condition. The preset pressing condition may be one or more of preset pressing force, preset pressing duration and preset pressing area. For example, when the preset pressing condition is a preset pressing force, the mobile terminal may determine whether the pressing force of the pressing operation is greater than the preset pressing force when detecting the pressing operation in the current display interface, and if the pressing force of the pressing operation is greater than the preset pressing force, determine that the pressing operation meets the preset pressing condition, otherwise, determine that the pressing operation does not meet the preset pressing condition. For another example, when the preset pressing condition is a preset pressing duration, the mobile terminal may determine whether the pressing duration of the pressing operation is greater than the preset pressing duration when detecting the pressing operation in the current display interface, and if the pressing duration of the pressing operation is greater than the preset pressing duration, determine that the pressing operation meets the preset pressing condition, otherwise, determine that the pressing operation does not meet the preset pressing condition. For another example, when the preset pressing condition is a preset pressing area, the mobile terminal may determine whether the pressing area of the pressing operation is greater than the preset pressing area when detecting the pressing operation in the current display interface, and if the pressing area of the pressing operation is greater than the preset pressing area, determine that the pressing operation meets the preset pressing condition, otherwise, determine that the pressing operation does not meet the preset pressing condition. Of course, the specific preset pressing condition may not be limited, and for example, the setting of the preset pressing condition is only required to enable the first preset operation to be distinguished from the operation triggering other processes.
In other embodiments, the first preset operation may be a specific sliding operation of a specific area on the current display interface, that is, when the mobile terminal detects the specific sliding operation of the specific area in the current display interface, the mobile terminal triggers to switch the current display interface to the task management interface. The designated area and the designated sliding operation may not be limited, and may be distinguished from the operation for triggering other processes, for example, the designated area may be a lower edge area in the display interface, and the designated operation may be a sliding operation in which the sliding direction is vertically upward.
In still other embodiments, the mobile terminal may display a control for viewing the task management interface, and when the mobile terminal detects a trigger operation on the control, the current display interface may be switched to the task management interface. The control can be located on any display interface. The position of the control in the display interface may be any position in the display interface, for example, the position of the upper left corner, the position of the upper right corner, or the like, or may be dragged to any position in the display interface under control, that is, when the mobile terminal detects a drag operation on the control, the position of the control may be controlled to move along the drag track until the control is moved to the end point of the drag track. The triggering operation may be a clicking operation, that is, when the clicking operation on the control is detected, triggering to switch the current display interface to the task management interface, or the triggering operation may be a pressing operation in which the pressing time length reaches a time length threshold, that is, when the pressing operation on the control is detected, the continuous pressing time length of the pressing operation is monitored, and when the continuous pressing time length reaches the time length threshold, triggering to switch the current display interface to the task management interface. Of course, the particular triggering operation may not be limiting.
Of course, in the embodiment of the present application, the specific first preset operation for triggering the switching of the current display interface to the task management interface may not be limited, but may also be other operations, for example, a physical key, such as a HOME key, is provided on the mobile terminal, and when a specific operation (for example, two continuous presses) on the HOME key is detected, the switching of the current display interface to the task management interface may be triggered.
And step S120, responding to a second preset operation aiming at the task management interface, and displaying application identifiers of a second number of application programs in the task management interface, wherein the second number is larger than the first number.
In the embodiment of the application, after the mobile terminal switches the current display interface to the task management interface, the mobile terminal can detect the operation in the task management interface, for example, detect the click operation, the press operation, the slide operation and the like in the task management interface. The operation in the task management interface may be an operation performed on an application identifier in the task management interface, or may be an operation performed on another area, which is not limited herein.
In the embodiment of the application, when the mobile terminal detects a second preset operation aiming at the task management interface, the mobile terminal can respond to the second preset operation to display application identifiers of a second number of application programs in the task management interface, wherein the second number is larger than the first number. That is, after detecting the second preset operation of the user in the task management interface, the mobile terminal responds to the second preset operation to increase the application identifiers displayed in the task management interface, so that the user can view the application identifiers of more application programs, and the user can conveniently select the application programs requiring management for processing.
In some embodiments, when the mobile terminal increases the application identifiers in the task management interface, the application identifiers of other application programs may be increased on the first number of application identifiers that are originally displayed, so that the number of application identifiers in the task management interface is the second number. That is, the application identification of the second number of applications may include the application identification of the first number of applications.
In other embodiments, when the application identifier in the task management interface is added to the mobile terminal, the application identifier of the second number of application programs may be reacquired, where the application identifier of the second number of application programs may include the application identifier of the previous first number of application programs, or may not include the application identifier of any application program in the application identifiers of the first number of application programs. Alternatively, the application identifier of the second number of application programs may not include the application identifier of the first number of application programs before the application identifier of the first number of application programs, that is, the mobile terminal may acquire the application identifier of the second number of application programs from other application programs except the first number of application programs again when the application identifier of the second number of application programs is displayed in the task management interface. It can be understood that, since the user is required to trigger and display more application identifiers of the application programs through active operation, the application identifiers displayed before are not application identifiers required to be operated by the user, but application identifiers of other application programs are required to be checked, so that when the display of the application identifiers of more application programs is triggered, the application identifiers of other application programs can be displayed, the user can check more application identifiers of the application programs conveniently, and meanwhile, the user can check only the application identifiers of other application programs conveniently, so that the operation efficiency of the user is improved.
In some embodiments, the second preset operation may also be a pressing operation that satisfies a specified pressing condition, where the specified pressing condition may be the same as the preset pressing condition described above, and will not be described herein, the second preset operation may also be a setting sliding operation of a setting area, where the setting area and the specific setting sliding operation may not be limited, the second preset operation may also be a triggering operation of a control configured to trigger display of a greater number of application identifiers, and the second preset operation may also be a setting operation of a physical key of the mobile terminal.
As an alternative embodiment, the second preset operation may be a two-finger kneading operation or a two-finger expanding operation. The double-finger kneading operation can be sliding operation that two contacts on any area in the task management interface are close to each other, the two contacts are contacts on the screen respectively where the double fingers are located, the double-finger unfolding operation can be sliding operation that two contacts on any area in the task management interface are far away from each other, and the two contacts are contacts on the screen respectively where the double fingers are located. For example, referring to fig. 3, by sliding the two fingers close to each other, the mobile terminal may detect the pinching operation of the two fingers, thereby triggering the display of the application identifier of the second number of application programs in the task management interface.
In some embodiments, when the task management interface includes an application icon, the mobile terminal may increase the number of application icons displayed in the task management interface, so that the mobile terminal displays a second number of application icons in the task management interface, when the task management interface includes an interface thumbnail, the mobile terminal may increase the number of interface thumbnails displayed in the task management interface, so that the mobile terminal displays a second number of interface thumbnails in the task management interface, and when the task management interface includes both an application icon and an interface thumbnail, the mobile terminal may increase the number of interface thumbnails or application icons displayed in the task management interface, so that the mobile terminal displays a second number of interface thumbnails or a second number of application icons in the task management interface.
In some embodiments, after increasing the number of application identifiers in the task management interface, the mobile terminal may further respond to the third preset operation when detecting the third preset operation in the task management interface, and display the application identifiers of a fourth number of application programs in the task management interface, where the fourth number is smaller than the second number. It can be understood that the mobile terminal can reduce the number of the displayed application identifiers by detecting the third preset operation, so as to meet the requirement that the user views fewer application identifiers in the same task management interface.
In this embodiment, the third preset operation may specifically be, but not limited to, a pressing operation that satisfies a certain condition, a sliding operation in a specific area, a triggering operation on a displayed virtual control, a corresponding operation on a physical key, and the like, and it is understood that the third preset operation may be set according to actual needs, and only needs to be distinguished from an operation that triggers other processes. For example, when the second preset operation is a two-finger pinch operation, the third preset operation may be a two-finger expansion operation, as shown in fig. 4, by sliding the two fingers away from each other, the mobile terminal may detect the second preset operation as a two-finger expansion operation, so as to trigger displaying application identifiers of the third number of application programs in the task management interface.
In some embodiments, after displaying the second number of application identifiers in the task management interface, the mobile terminal may further display a greater number of application identifiers on the basis of displaying the second number of application identifiers when detecting the second preset operation again. For example, as shown in fig. 1, after the first preset operation is responded, the displayed task management interface may include interface thumbnails of 3 application programs, as shown in fig. 5, after the second preset operation is responded for the first time, the displayed task management interface may include interface thumbnails of 6 application programs, as shown in fig. 6, and, as shown in fig. 6, after the second preset operation is responded for the second time, the displayed task management interface may include interface thumbnails of 12 application programs.
According to the task management method provided by the embodiment of the application, the mobile terminal switches the current display interface into the task management interface by responding to the first preset operation aiming at the current display interface, the task management interface comprises the application identifiers of the first number of application programs, and the application identifiers of the second number of application programs are displayed in the task management interface by responding to the second preset operation aiming at the task management interface, wherein the second number is larger than the first number, so that the application identifiers of the application programs displaying more number can be triggered through the second preset operation after the mobile terminal displays the task management interface, the user can manage the tasks of the application programs conveniently, the efficiency of application task management of the user is improved, and the user experience is further improved.
Referring to fig. 7, fig. 7 is a flow chart illustrating a task management method according to another embodiment of the application. The task management method is applied to the mobile terminal, and will be described in detail with respect to the flow shown in fig. 7, and the task management method specifically includes the following steps:
Step S210, responding to a first preset operation aiming at a current display interface, switching the current display interface into a task management interface, wherein the task management interface comprises application identifiers of a first number of application programs, and the application identifiers comprise interface thumbnails of the application programs.
In the embodiment of the application, the application identifier displayed by the mobile terminal in the task management interface can at least comprise an interface thumbnail of the application program. Of course, the task management interface displayed by the mobile terminal may also include an application icon.
In some embodiments, the mobile terminal may display the application identifier in a first size when displaying a task management interface including application identifiers of a first number of applications. In one embodiment, the mobile terminal may determine the size of the area capable of being allocated for displaying the interface thumbnails according to the size of the interface, determine the size of each interface thumbnail according to the ratio of the total area size to the first number, and calculate the first size of the interface thumbnail.
And step S220, responding to a second preset operation aiming at the task management interface, and acquiring interface thumbnails of a second number of application programs in the currently running application programs.
In the embodiment of the application, when responding to the second preset operation, the mobile terminal can acquire the interface thumbnails of the second number of application programs in the currently running application programs. The second number of applications may or may not include the first number of applications, and may or may not include only some of the first number of applications.
In some embodiments, when the mobile terminal responds to the second preset operation and displays the second number of interface thumbnails in the task management interface, the mobile terminal may determine the last frame interface of each application program in the second number of application programs when the application program runs in the foreground, and then generate the interface thumbnail of each application program based on the last frame interface of each application program when the application program runs in the foreground.
In other embodiments, when the mobile terminal obtains the thumbnail corresponding to each application program in the second number of application programs, the thumbnail may also be generated according to the interface of each application program in the application programs in the history running. Of course, the specific content in the thumbnail of the application may not be limiting.
And step S230, displaying interface thumbnails of the second number of application programs in a second size in the task management interface.
In the embodiment of the application, since more interface thumbnails need to be displayed in the task management interface and the interface thumbnails generally occupy a larger proportion of the interface, if the second number of interface thumbnails are displayed according to the display size of the previous interface thumbnails, the second number of interface thumbnails cannot be accommodated in the task management interface. Accordingly, the mobile terminal may re-determine the display size of the interface thumbnail, that is, determine the display size of each of the second number of interface thumbnails as the second size, and the second size is greater than the above first size, so that the interface thumbnail of the second size may be displayed in the task management interface.
In one embodiment, the mobile terminal may determine the size of the area to which the interface thumbnail may be allocated according to the size of the interface, and then determine the size of each interface thumbnail according to the ratio of the total area size to the second number, and calculate the display size of the interface thumbnail as the second size.
In another embodiment, the mobile terminal may also be used as the second size according to a preset display size when the second number of interface thumbnails is displayed, where the second size may be obtained by calculating a ratio of a size of an area for displaying the interface thumbnails to the second number, and after the second size is obtained by calculation, the second size may be stored, so that each time the second number of interface thumbnails is displayed, the display of the interface thumbnails may be performed according to the second size.
In the embodiment of the application, after the mobile terminal determines the second size, the interface thumbnails of the second number of application programs can be displayed in the task management interface in the second size, that is, each interface thumbnail is displayed in the second size.
In the embodiment of the application, when the mobile terminal generates the interface thumbnail for display by the last frame interface when the application program runs in the foreground, the mobile terminal can update the content of the interface thumbnail corresponding to some set designated application programs, so that a user can also check the content change of the designated application programs in the task management interface.
In some embodiments, when detecting that a specified application program in the application programs corresponding to all the interface thumbnail changes content of a specified type, the mobile terminal may acquire the changed content, and then update the interface thumbnail of the specified application program based on the changed content. Wherein the specified application may be an application whose content change speed is lower than a certain speed, for example, change once for 1 minute, change once for 2 minutes, etc. As one way, the designated application program can be chat application, short message application, news application, text live broadcast application and the like, and the designated type of content change can be text change and the like. When the appointed application programs change the appointed type of content, a large amount of rendering amount is not needed to update the interface, so that the mobile terminal does not need to occupy a large amount of resources to update the interface thumbnail of the application programs, and no clamping occurs, thereby not only meeting the requirement of a user for checking the updated content of the appointed application programs, but also ensuring the fluency.
In some embodiments, when the mobile terminal displays the task management interface and uses the interface thumbnail as the application identifier, when the interface thumbnail is selected, the selected thumbnail can also increase the display scale, so that the user can know the currently selected interface thumbnail, and the task selection error of the application program is avoided.
According to the task management method provided by the embodiment of the application, the mobile terminal switches the current display interface into the task management interface by responding to the first preset operation aiming at the current display interface, the task management interface comprises the interface thumbnails of the first number of application programs, the interface thumbnails of the second number of application programs are determined to be displayed by responding to the second preset operation aiming at the task management interface, and the interface thumbnails are updated, so that after the task management interface is displayed by the mobile terminal, the interface thumbnails of the application programs with more numbers can be triggered by the second preset operation, the user can manage the tasks of the application programs conveniently, the efficiency of application task management of the user is improved, and the user experience is further improved. In addition, the mobile terminal updates the interface thumbnail for the content change of the appointed type generated by the appointed application program, so that the requirement of a user for checking the updated content of the appointed application program is met, and the fluency can be ensured.
Referring to fig. 8, fig. 8 is a flow chart illustrating a task management method according to another embodiment of the application. The task management method is applied to the mobile terminal, and will be described in detail with respect to the flow shown in fig. 8, and the task management method specifically includes the following steps:
step S310, responding to a first preset operation aiming at a current display interface, and switching the current display interface into a task management interface, wherein the task management interface comprises application identifiers of a first number of application programs.
In the embodiment of the present application, the step S310 may refer to the content of the step S110 in the foregoing embodiment, which is not described herein.
Step 320, in response to a second preset operation for a first preset area in the task management interface, displaying application icons of a second number of application programs in the first preset area.
In this embodiment of the present application, the second preset operation may be an operation in the first preset area, that is, the user may trigger the display of more application identifiers only when the user performs the second preset operation in the first preset area. And, the mobile terminal may display application icons of the second number of application programs in the first preset area when responding to the second preset operation.
In some embodiments, the first preset area may be an edge area, for example, an upper edge area in the task management interface, and may be, for example, a lower edge area in the task management interface, and may be, for example, a left edge area in the task management interface, and may be, for example, a right edge area in the task management interface. The edge area refers to an area in a preset range of the edge of the interface in the task management interface, and the specific size of the preset range can be set according to actual conditions.
As an alternative embodiment, the first preset area may be a left side edge area, and/or a right side edge area. The second preset operation may be a sliding operation in the first sliding direction in the left edge area or the right edge area, and when the mobile terminal displays the second number of application icons, the application icons of the second number of application programs may be displayed in the first preset area in a column arrangement form. For example, referring to fig. 9 and 10, when a sliding operation of the right edge region vertically downward is detected, displaying a second number of interface thumbnails in the first preset region may be triggered, so that a user may perform operations on the application icons to complete task management of a requirement.
And step S330, responding to the selection operation of the first application icon in the second number of application icons, and displaying the interface thumbnail at the middle position in the task management interface as the interface thumbnail of the application program corresponding to the first application icon.
In the embodiment of the application, the mobile terminal can also detect the operation in the task management interface, control the application icon to be in the selected state, and when the first application icon is in the selected state, the mobile terminal can display the interface thumbnail in the middle position in the task management interface as the interface thumbnail of the application program corresponding to the first application icon, so that a user can know the currently selected application program conveniently, and whether to process or not is determined. It may be appreciated that the application identifier in the task management interface may include, in addition to the application icon located in the first preset area, an interface thumbnail, where the number of interface thumbnails may be one or multiple, and is not limited herein. When the number of the interface thumbnails is 1, the interface thumbnails in the task management interface are interface thumbnails corresponding to the application icons in the selected state, the interface thumbnails are positioned in the middle position in the task management interface, and when the number of the interface thumbnails is multiple, the interface thumbnails corresponding to the application icons in the selected state in the task management interface are displayed in the middle position of the task management interface. The middle position is the position of a central area of the task management interface, and the size of the central area can be set according to actual conditions.
In some embodiments, the mobile terminal may control different application icons to be in a selected state in response to a sliding operation for the second sliding direction in the first preset area, and when the first application icon is selected by sliding, may control the first application icon to be in the selected state. The second sliding direction is opposite to the first sliding direction, and it can be understood that the sliding operation in one sliding direction is used for triggering the display of the second number of application icons in the first preset area, and the sliding operation in the opposite sliding direction is used for triggering the selection of different application icons, so that the user experience can be improved. For example, when the first sliding direction is vertically downward, the second sliding direction may be numerically upward, and as shown in fig. 11, by sliding vertically upward in the right edge region, different application icons may be placed in a selected state.
In this embodiment, when an application icon is selected, the application icon in the selected state may be distinguished from other application icons in the task management interface by a different display state. As one way, the selected application icon may be in a state of enlarged display scale, for example, as shown in fig. 11, when the right edge area is the first preset area, the application icon in the middle position of the first preset area may be regarded as the application icon in the selected state, by sliding in the vertical direction on the right edge area, the different application icon may be in the middle position, and further, the different application icon may be in the selected state, and the display scale of the application icon in the middle position may be larger than the display scale of the other application icons, for example, when the application icon "application C" is in the middle position in fig. 11, the application icon "application C" is in the selected state, and the display scale of the application icon "application C" is larger than the display scale of the other application icons. Alternatively, the application icons in the selected state may be distinguished by a display mark, for example, the application icons in the selected state may be highlighted, and for example, the display mark frame frames the application icons in the selected state.
And step 340, responding to the selection operation for the first application icon, and processing the task corresponding to the first application icon.
In the embodiment of the application, after the first application icon is controlled to be in the selected state, if the user performs the selection operation on the first application icon, the mobile terminal can correspondingly detect the selection operation and then process the corresponding task of the first application icon in response to the selection operation. The processing of the task corresponding to the first application icon may be, for example, cleaning an application program corresponding to the first application icon, or making the application program corresponding to the first application icon in a state of running in the foreground, which is not limited herein.
In some embodiments, when the number of application icons displayed in the first preset area is different, the application icons may be displayed in the first preset area in different arrangement modes, for example, please refer to fig. 10 and fig. 12, and when the number of application icons is different, the display effect of the application icons in the first preset area is different, that is, the application icons may be displayed in different arrangement modes.
In some embodiments, after the first application icon is in the selected state and the interface thumbnail in the middle position in the task management interface is in the middle position, when detecting the selection operation on the interface thumbnail, the mobile terminal may also respond to the selection operation on the interface thumbnail, and then process the task of the application program corresponding to the first application icon, for example, control the application program to be in a foreground running, for example, close the application program, and so on.
According to the task management method provided by the embodiment of the application, the mobile terminal responds to the first preset operation aiming at the current display interface to switch the current display interface into the task management interface, the task management interface comprises the application identifiers of the first number of application programs, responds to the second preset operation aiming at the first preset area in the task management interface, displays the application icons of the second number of application programs in the first preset area, and when the application icons are selected, the interface thumbnail at the middle position in the task management interface is displayed as the interface thumbnail corresponding to the selected application icon, so that a user can know the task of the currently selected application program conveniently, after the application icons are executed with the selection operation, the task processing of the application program corresponding to the application icons can be completed, and therefore, after the task management interface is displayed by the mobile terminal, the application icons of the application programs with more numbers can be triggered and displayed through the second preset operation in the first preset area, the user can manage the task of the application programs conveniently, and the user experience is improved. In addition, the task management interface can also display an interface thumbnail, when the application icon is selected, the interface thumbnail at the middle position can be displayed as the interface thumbnail of the application program corresponding to the selected application for refunding, so that the user knows the currently selected task, and misoperation of the user is avoided.
Referring to fig. 13, fig. 13 is a flow chart illustrating a task management method according to still another embodiment of the present application. The task management method is applied to the mobile terminal, and will be described in detail with respect to the flow shown in fig. 13, where the task management method specifically includes the following steps:
Step S410, responding to a first preset operation aiming at the current display interface, and acquiring the current running application program.
In the embodiment of the application, when the mobile terminal detects the first preset operation for triggering the entering of the task management interface, the mobile terminal can acquire the currently running application program so as to generate the task management interface for display. The currently running application may refer to an application currently running in the foreground and running in the background.
Step S420, based on the currently running application program, switching the current display interface into a task management interface, wherein the task management interface comprises a second preset area and a third preset area.
In the embodiment of the application, the task management interface can simultaneously comprise an application icon and an interface thumbnail. The task management interface may include a second preset area and a third preset area, where the second preset area is used to display interface thumbnails of a first number of applications in the currently running applications, the third preset area is used to display application icons corresponding to a third number of applications in the currently running applications, the third number is greater than the first number, and the third number of applications includes the first number of applications. Therefore, the task management interface not only can display the interface thumbnails, but also can display more application icons than the interface thumbnails, and is convenient for a user to view different application programs so as to manage correspondingly. For example, as shown in fig. 14, not only the interface thumbnail A1 but also the application icon A2 is displayed in the lower side area in the task management interface, and the number of application icons is larger than the number of interface thumbnails.
And step S430, controlling second application icons in the third number of application icons to be in a selected state in response to the sliding operation for the third sliding direction in the third preset area.
And step S440, controlling the interface thumbnail at the middle position in the second preset area to be displayed as the target interface thumbnail of the application program corresponding to the second application icon.
And S450, responding to the confirmation operation for selecting the second application icon or the target interface thumbnail, and processing the task corresponding to the second application icon.
In the embodiment of the application, after the task management interface is displayed, the mobile terminal can also respond to the operation of the application icon to finish the task selection of different application programs and the task processing. The third sliding direction may be any sliding direction, which is not limited herein. For example, when the third preset area is the lower side area, the third sliding direction may be a sliding direction horizontally leftward or horizontally rightward.
In the embodiment of the application, different application icons can be controlled to be in the selected state by responding to the sliding operation aiming at the third sliding direction in the third preset area, and when the application icon is selected, the interface thumbnail at the middle position can be displayed as the interface thumbnail of the application program corresponding to the selected application icon. It may be appreciated that the application identifier in the task management interface may include, in addition to the application icon located in the third preset area, an interface thumbnail located in the second preset area, and the number of the interface thumbnails may be one or multiple, which is not limited herein. When the number of the interface thumbnails is 1, the interface thumbnails in the task management interface are interface thumbnails corresponding to the application icons in the selected state, the interface thumbnails are positioned in the middle position in the task management interface, and when the number of the interface thumbnails is multiple, the interface thumbnails corresponding to the application icons in the selected state in the task management interface are displayed in the middle position of the task management interface. The middle position is the position of a central area of the task management interface, and the size of the central area can be set according to actual conditions.
In some embodiments, when an application icon is selected, the application icon in the selected state may be distinguished from other application icons in the task management interface by a different display state. In one mode, the selected application icon can be in a state of enlarged display proportion, when the third preset area is the lower area, the application icon in the middle position of the third preset area can be used as the application icon in the selected state, and by sliding in the horizontal direction on the third preset area, different application icons can be in the middle position, further, different application icons are in the selected state, and the display proportion of the application icon in the middle position can be larger than that of other application icons. Alternatively, the application icons in the selected state may be distinguished by a display mark, for example, the application icons in the selected state may be highlighted, and for example, the display mark frame frames the application icons in the selected state.
Step S460, responding to a second preset operation for the task management interface, and displaying application identifiers of a second number of application programs in the task management interface, wherein the second number is larger than the first number.
In the embodiment of the present application, step S460 may refer to the foregoing embodiment for displaying the content of the application identifier of the second number of application programs in the task management interface in response to the second preset operation for the task management interface, which is not described herein. For example, a greater number of interface thumbnails or the like may be displayed in the above second preset area in the task management interface. Therefore, the task management interface not only displays a large number of application icons, but also displays a large number of interface thumbnails, thereby facilitating the requirement of a user on checking and managing the tasks of the application program.
According to the task management method provided by the embodiment of the application, the mobile terminal responds to the first preset operation aiming at the current display interface, when the first preset operation is responded to display the task management interface, the currently running application program is acquired, then the interface thumbnails of the first number of application programs are displayed in the second preset area of the task management interface, the application icons of the third number of application programs are displayed in the third preset area, and the third number is larger than the first number, so that the character management interface can display not only the interface thumbnails but also more application icons than the number of the interface thumbnails, and a user can conveniently view different application programs to perform corresponding management.
In addition, the selection of the corresponding application icons can be responded in the task management interface, so that different application icons are in a selected state, and the interface thumbnail in the middle position can be correspondingly updated into the selected application icon, so that a user knows the task of the selected application program, and misoperation of the user is avoided. And the second preset operation aiming at the task management interface can be responded, and the application identifiers of the second number of application programs are displayed in the task management interface, wherein the second number is larger than the first number, so that the application identifiers of the application programs with more numbers can be triggered and displayed through the second preset operation after the mobile terminal displays the task management interface, the user can manage the tasks of the application programs with more numbers conveniently, the efficiency of application task management of the user is improved, and the user experience is further improved.
Referring to fig. 15, a block diagram of a task management device 400 according to an embodiment of the application is shown. The task management device 400 is applied to the mobile terminal, and the task management device 400 includes a first response module 410 and a second response module 420. The first response module 410 is configured to switch a current display interface to a task management interface in response to a first preset operation for the current display interface, where the task management interface includes application identifiers of a first number of application programs, and the second response module 420 is configured to display application identifiers of a second number of application programs in the task management interface in response to a second preset operation for the task management interface, where the second number is greater than the first number.
In some embodiments, the application identifications comprise application program interface thumbnails that are displayed in a first size when a first number of application program application identifications are displayed in the task management interface. The second response module 420 may include a thumbnail acquisition unit and a thumbnail display unit. The thumbnail obtaining unit is used for responding to a second preset operation aiming at the task management interface to obtain interface thumbnails of a second number of application programs in the currently running application programs, and the thumbnail display unit is used for displaying the interface thumbnails of the second number of application programs in the task management interface in a second size. Wherein the second dimension is smaller than the first dimension.
In this embodiment, the thumbnail acquisition unit may include an interface determination subunit and a thumbnail generation subunit. The interface determination subunit is used for determining the last frame interface of each application program in the second number of application programs when the application programs run in the foreground in response to a second preset operation for the task management interface, and the thumbnail generation subunit is used for generating the interface thumbnail of each application program based on the last frame interface of each application program when the application programs run in the foreground.
Further, the task management device 400 may further include a content acquisition module and a thumbnail update module. The system comprises a content acquisition module, a thumbnail updating module and a thumbnail updating module, wherein the content acquisition module is used for acquiring changing content when detecting that a designated application program in application programs corresponding to all interface thumbnail changes content of designated types, and the thumbnail updating module is used for updating the interface thumbnail of the designated application program based on the changing content.
In some embodiments, the application identification includes an application icon. The second response module may be specifically configured to display application icons of a second number of application programs in a first preset area in the task management interface in response to a second preset operation for the first preset area.
In this embodiment, the application identification further includes an interface thumbnail. The task management device 400 may further include a thumbnail adjustment module and a first task processing module. The task management system comprises a task management interface, a thumbnail adjustment module, a first task processing module and a second task processing module, wherein the task management interface is used for displaying a first preset area in the task management interface, the thumbnail adjustment module is used for responding to a second preset operation aiming at the first preset area in the task management interface, responding to a selection operation aiming at a first application icon in the second number of application icons after displaying application icons of a second number of application programs in the first preset area, displaying an interface thumbnail at the middle position in the task management interface as an interface thumbnail of an application program corresponding to the first application icon, and the first task processing module is used for responding to a selection operation aiming at the first application icon and processing a task corresponding to the first application icon.
Further, the first preset area includes a left edge area and/or a right edge area of the task management interface. The second response module 420 may be specifically configured to display application icons of a second number of application programs in a column arrangement form in the first preset area in response to a sliding operation for a first sliding direction in the first preset area. The thumbnail adjustment module may be specifically configured to control the first application icon to be in a selected state in response to a sliding operation for a second sliding direction in the first preset area, where the second sliding direction is opposite to the first sliding direction.
In some embodiments, the first response module 410 may include an application acquisition unit and an interface switching unit. The interface switching unit is used for switching the current display interface into a task management interface based on the current running application program, wherein the task management interface comprises a second preset area and a third preset area. The second preset area is used for displaying interface thumbnails of a first number of application programs in the currently running application programs, the third preset area is used for displaying application icons corresponding to a third number of application programs in the currently running application programs, the third number is larger than the first number, and the third number of application programs comprises the first number of application programs.
Further, the task management device 400 may further include an icon state control module, a thumbnail control module, and a second task processing module. The icon state control module is used for responding to the sliding operation aiming at a third sliding direction in the third preset area and controlling second application icons in the third number of application icons to be in a selected state, the thumbnail control module is used for controlling interface thumbnails in the middle position in the second preset area to be displayed as target interface thumbnails of application programs corresponding to the second application icons, and the second task processing module is used for responding to the confirmation operation of selecting the second application icons or the target interface thumbnails and processing tasks corresponding to the second application icons.
In some embodiments, the task management device 400 may further include a third response module. The third response module is configured to respond to a third preset operation for the task management interface after the response is for a second preset operation for the task management interface and the application identifiers of a second number of application programs are displayed in the task management interface, and display application identifiers of a fourth number of application programs in the task management interface, where the fourth number is smaller than the second number.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided by the present application, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
In summary, according to the scheme provided by the application, the mobile terminal switches the current display interface into the task management interface by responding to the first preset operation aiming at the current display interface, the task management interface comprises the application identifiers of the first number of application programs, and the application identifiers of the second number of application programs are displayed in the task management interface by responding to the second preset operation aiming at the task management interface, wherein the second number is larger than the first number, so that the application identifiers of the application programs displaying more number can be triggered by the second preset operation after the mobile terminal displays the task management interface, the user can manage the tasks of the application programs conveniently, the efficiency of application task management of the user is improved, and the user experience is further improved.
Referring to fig. 16, a block diagram of a mobile terminal according to an embodiment of the present application is shown. The mobile terminal 100 may be a mobile terminal capable of running an application program such as a smart phone, a tablet computer, an electronic book, a smart watch, etc. The mobile terminal 100 of the present application may include one or more of a processor 110, a memory 120, a display 130, and one or more application programs, wherein the one or more application programs may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more program(s) configured to perform the methods as described in the foregoing method embodiments.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall mobile terminal 100 using various interfaces and lines, performs various functions of the mobile terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in at least one hardware form of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like, the GPU is used for rendering and drawing display contents, and the modem is used for processing wireless communication. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
Memory 120 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (ROM). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the terminal 100 in use (such as phonebook, audio-video data, chat-record data), etc.
The display 130 is used to display information input by a user, information provided to the user, and various graphical user interfaces of the mobile terminal 100, which may be formed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the display 130 may be a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD) or an Organic Light-Emitting Diode (OLED), which is not limited herein.
Referring to fig. 17, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 800 has stored therein program code which can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present application and not for limiting the same, and although the present application has been described in detail with reference to the above-mentioned embodiments, it will be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or replacements do not drive the essence of the corresponding technical solution to deviate from the spirit and scope of the technical solution of the embodiments of the present application.