CN111240551B - Application program control method and electronic equipment - Google Patents

Application program control method and electronic equipment Download PDF

Info

Publication number
CN111240551B
CN111240551B CN202010071089.6A CN202010071089A CN111240551B CN 111240551 B CN111240551 B CN 111240551B CN 202010071089 A CN202010071089 A CN 202010071089A CN 111240551 B CN111240551 B CN 111240551B
Authority
CN
China
Prior art keywords
application
theme
icon
input
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010071089.6A
Other languages
Chinese (zh)
Other versions
CN111240551A (en
Inventor
邓良明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010071089.6A priority Critical patent/CN111240551B/en
Publication of CN111240551A publication Critical patent/CN111240551A/en
Application granted granted Critical
Publication of CN111240551B publication Critical patent/CN111240551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Abstract

The invention provides an application program control method and electronic equipment, wherein the method comprises the following steps: displaying a first floating control, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; receiving a first input of a first application icon of application icons of at least one application program; and responding to the first input, and controlling the first application program corresponding to the first application icon to run in the foreground. According to the technical scheme of the embodiment of the invention, the theme icon and the application icon can be displayed in the suspension control, the application program can be switched rapidly through the suspension control, and the efficiency of switching the application program by a user is improved.

Description

Application program control method and electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to an application control method and an electronic device.
Background
Currently, it is becoming normal to run multiple applications simultaneously on an electronic device. In the existing technical solution, when switching among a plurality of application programs, a user needs to return to a main interface to search for a target application program, or each already-running application program is displayed in a screen, and the user searches for the target application program in each already-running application program through a sliding operation. The process is complicated and the time consumption is long when the application program is switched by the scheme. Therefore, a technical solution is urgently needed to improve the efficiency of switching the application programs.
Disclosure of Invention
The embodiment of the invention aims to provide an application program control method and electronic equipment, and solves the problem of low efficiency of switching application programs when a plurality of application programs are simultaneously operated on the electronic equipment.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an application program control method, applied to an electronic device, including: displaying a first floating control, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; receiving a first input of a first application icon of application icons of at least one application program; and responding to the first input, and controlling the first application program corresponding to the first application icon to run in the foreground.
In a second aspect, an embodiment of the present invention provides an electronic device, including: the suspension control display module is used for displaying a first suspension control, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first suspension control; the first input receiving module is used for receiving first input of a first application icon in application icons of at least one application program; and the application control module is used for responding to the first input and controlling the foreground of the first application program corresponding to the first application icon to run.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the application control method as described in the first aspect above.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when executed by a processor, the computer program implements the application control method according to the first aspect.
According to the technical scheme of the embodiment of the invention, firstly, a first floating control is displayed, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; then, receiving a first input of a first application icon in the application icons of at least one application program; and finally, responding to the first input, and controlling the foreground of the first application program corresponding to the first application icon to run. According to the embodiment of the invention, the theme icon and the application icon can be displayed in the suspension control, the application program can be switched rapidly through the suspension control, and the efficiency of switching the application program by a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an application control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an application scenario of the application control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another application scenario of the application control method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another application scenario of the application control method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another application scenario of the application control method according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of an electronic device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an application program control method, electronic equipment and a computer readable storage medium. The application program control method can be applied to an electronic device side and executed by the electronic device, and the electronic device provided by the embodiment of the invention comprises but is not limited to intelligent terminals such as mobile phones, tablet computers, computers and wearable devices.
Fig. 1 is a flowchart illustrating an application control method according to an embodiment of the present invention. Referring to fig. 1, the application control method includes step S110, step S120, and step S130. The application control method in the exemplary embodiment of fig. 1 is explained in detail below.
Referring to fig. 1, in step S110, a first floating control is displayed, where a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control.
In an example embodiment, the first hovering control may be a hovering window, or may be other forms of hovering controls. The electronic device creates a first hover control module. The application theme and the relevant information of the application program, which are stored in the first floating control module in advance, include and are not limited to: the number identification of the application theme, the number identification of the application program, whether the application theme is started or not, whether the application program is started or not, the attribution relationship between the application program and the application theme, and the starting time of the application program.
In an example embodiment, an application theme typically contains one or more applications, and an application is attributed to only one application theme. For example, the application theme may be a shopping theme, a chat theme, etc., and the shopping theme includes applications such as application 1, application 2, application 3, etc. The attribution relationship between the application program and the application theme can be reflected by the mapping relationship between the number identification of the application theme and the number identification of the application program stored on the electronic equipment. For example, on the electronic device, the number identifier of the shopping topic is 10001, the number identifier of the chat topic is 10005, the application number identifier of the application 1 is APP11, the application number identifier of the application 2 is APP12, the application number identifier of the application 4 is APP13, and the application number identifier of the application 3 is APP14, then 10001 has a mapping relationship with APP11, APP12, APP14, and 10005 has a mapping relationship with APP 13.
In an example embodiment, the application theme is in a starting state, that is, if one of the application programs included in the application theme is running in the foreground and the user does not select another application theme, or the application theme is selected by the user, the application icon displayed in the first hover control is the application icon of at least one application program belonging to the application theme. The application theme is in a closed state, that is, the theme icon of the application theme and the application icon of the application program contained in the application theme are not displayed in the first floating control, and the application program contained in the application theme is in an un-started state.
In an example embodiment, if the preset attribution relationship between the application program and the application theme is changed, for example, a user modifies a mapping relationship between a number identifier of the application theme and a number identifier of the application program stored on the electronic device, the application icon and the theme icon displayed in the first hover control are also changed accordingly. For example, the shopping theme and the application icons of the application program 1 and the application program 2 are originally displayed in the first floating control, the application program running in the foreground is the application program 2, and after the user deletes the mapping relationship between the number identifier 10001 of the shopping theme and the number identifier APP11 of the application program 1, the application icon of the application program 1 is no longer displayed in the first floating control, because the application program 1 is no longer attributed to the shopping theme at this time. The method for modifying the mapping relationship between the number identifier of the application theme and the number identifier of the application program stored in the electronic device may be to delete an old mapping relationship, add a new mapping relationship, modify the number identifier of the first application theme originally corresponding to the number identifier of the application program into the number identifier of the second application theme, and the like. After the attribution relationship between the application program and the application theme is modified, the relationship between the application program and the application theme still conforms to the rule that one application theme comprises one or more application programs, and one application program only belongs to one application theme.
In an example embodiment, if the application program with the modified attribution relation runs in the foreground, the first floating control informs the system to set a new application theme containing the application program to be in an open state. For example, the application program 1 currently running in the foreground originally belongs to a shopping topic, and after the affiliation is modified, the application program 1 belongs to a chat topic, and the application icons displayed in the first floating control are switched from the application icons of the shopping application programs to the application icons of the chat application programs including the application program 1.
In an example embodiment, if the application program with the modified attribution relationship is the only started application program in the application programs included in the original application theme, that is, when the application program is no longer attributed to the original application theme, all the application programs included in the original application theme are in an un-started state, the first floating control notifies the system to set the original application theme to a closed state, and the original application theme is no longer displayed in the first floating control.
In an example embodiment, the activation manner of the first floating control module may be to switch the on-off state of the first floating control, or to select "start the first floating control", or to be a preset shortcut, for example, to perform a double-click operation on a preset icon, to long-press the preset icon, and the like. After the user activates the first suspension control module, the electronic device starts the first suspension control function and displays the first suspension control.
In an example embodiment, in the first hover control, a theme icon of at least one application theme and an application icon of at least one application program that is attributed to the application theme are displayed. For example, in the first floating control, theme icons of shopping themes and chat themes are displayed, and application icons of three application programs belonging to the shopping themes. The application icons displayed in the first floating control all belong to the same application theme, and a plurality of application icons belonging to different themes cannot appear.
In an example embodiment, when the user does not select any theme icon, the theme icon of the application theme to which each opened application belongs and the application icon of each opened application belonging to the same application theme as the application currently running in the foreground are displayed in the first floating control by default. For example, the application a belonging to the application theme 1 is started, the application B belonging to the application theme 1 is started, the application C belonging to the application theme 2 is started, the application D belonging to the application theme 1 is started, the application E belonging to the application theme 2 is started, and the application currently used is the application E. At this time, theme icons of the application theme 1 and the application theme 2 and application icons of the application program C and the application program E are displayed in the first floating control.
In an example embodiment, the subject icon is preset, the subject icon may be in text form, for example, the shopping subject is a circle with the subject name "shopping", and the subject icon may also be in image form, for example, the shopping subject is a graphic of a shopping cart. The application icon is an icon that is self-contained by an application on the electronic device.
In an example embodiment, the first floating control may be a circle or a square, and the shape of the first floating control is not particularly limited in the present invention. The first floating control can be divided into a plurality of areas, such as a theme area and an application area, and is used for displaying a theme icon and an application icon respectively; there may be only one complete area with no clear demarcation between the subject icon and the application icon.
In an example embodiment, the transparency of the first hovering control displayed on the electronic device may be adjustable, either to switch between transparent and non-transparent states, or to scale the transparency, for example, to 40% transparency of the first hovering control. For example, the electronic device receives a transparency adjustment operation of a user, such as a double-click operation or a long-press operation, and switches the originally opaque first floating control into a transparent state, or switches the originally transparent first floating control into an opaque state. When the first floating control is in a transparent state, the user cannot see the first floating control on the electronic device and the application icon and the theme icon in the first floating control.
In an example embodiment, when an application program is started, a first floating control module obtains an identification number of the application program, determines an identification number of an application theme with a mapping relation with the identification number of the application program, starts a corresponding application theme according to the identification number of the application theme, and displays a corresponding theme icon and an application icon in a first floating control. If the theme icon already exists in the first hover control, the display is not repeated. For example, at 12:00, the first floating control function is started, no application program is opened, and no icon is displayed in the first floating control; 12:05, opening the application program exclusive meeting on the electronic equipment by a user, and displaying a theme icon of a shopping theme corresponding to the exclusive meeting and an application icon of the exclusive meeting by the first floating control at the same time; 12:20, when the user opens the application program Jingdong on the electronic equipment, the first floating control displays the application icon of the Jingdong at the same time, and the theme icon of the shopping theme already exists in the first floating control, so that the theme icon does not need to be displayed again.
In an example embodiment, the positions of the theme identifications and the application icons in the first hover control are determined according to the time sequence of the application programs being launched.
In an example embodiment, application A attributed to application topic 1 is launched at 12:00, application B attributed to application topic 1 is launched at 12:30, application C attributed to application topic 1 is launched at 12:50, and the currently used application is application C. According to the starting time of the application program A, the application program B and the application program C, the theme icon of the application theme 1 is displayed in the theme area in the first floating control, the application icons of the application program A, the application program B and the application program C are respectively displayed from right to left in the application area, and the application icon of the currently used application program C is displayed at the leftmost end of the application area.
In another example embodiment, application A attributed to application topic 1 is launched at 12:00, application B attributed to application topic 1 is launched at 12:30, application C attributed to application topic 2 is launched at 12:40, application D attributed to application topic 1 is launched at 12:45, application E attributed to application topic 2 is launched at 12:50, and the application currently in use is application E. According to the starting time of the application program A, the application program B, the application program C, the application program D and the application program E, the theme icons of the application theme 1 and the application theme 2 are displayed in the theme area from right to left in the first floating control, the application icons of the application program C and the application program E are displayed in the application area from right to left, the application icon of the application program E which is currently used is displayed at the leftmost end of the application area, and the theme icon of the application theme 2 to which the application program E belongs is displayed at the leftmost end of the theme area.
In an example embodiment, the positions of the theme identifications and the application icons in the first hover control are determined according to the use frequency of the application programs. For example, sorting is performed according to the use times of the application programs in a preset period, application icons of the application programs are displayed from left to right according to a sorting result, the more frequently used application icons of the application programs are closer to the left, and the currently used application programs are displayed at the leftmost end of the application area as exceptions; counting the use times of the application programs, sequencing the application themes according to the use times of the application programs contained in the application themes, displaying theme icons of the application themes from left to right according to a sequencing result, wherein the more frequently used application themes belong to the application themes which are closer to the left, and the application themes corresponding to the currently used application programs are displayed at the leftmost end of a theme area as exceptions.
In a further example embodiment, the theme icon of the at least one application theme displayed in the first hover control and the application icon of the at least one application program belonging to the application theme may be theme icons of the at least one common application theme previously added to the first hover control by the user and application icons of the at least one common application program belonging to the common application theme.
In step S120, a first input to a first application icon of the application icons of the at least one application program is received.
In an example embodiment, a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first hover control. The first input of the user for the application icon displayed in the first floating control means that the user selects a target application icon from the application icons of the at least one application program displayed in the first floating control. The first input may be a single-click operation, a double-click operation, or a long-press operation, which is not particularly limited in the present invention.
In an example embodiment, prior to receiving a first input to a first one of the application icons of the at least one application program, receiving a second input to a first one of the theme icons of the at least one application theme; in response to the second input, displaying an application icon of at least one application program belonging to the first application theme in the first hover control; the first application theme is an application theme to which the first theme icon belongs; receiving a first input to a first application icon of the application icons of the at least one application program, comprising: a first input is received for an application icon of at least one application program that is attributed to a first application theme.
In an example embodiment, a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first hover control. When the target application icon that the user wants to select is not displayed in the first hover control, there are two possibilities, one is that the target application program corresponding to the target application icon is not started, and the other is that the target application icon and at least one application icon displayed in the first hover control at the moment belong to different application themes respectively. Only in the second case, the user needs to select the target theme icon, switch the application icon displayed in the first hover control to at least one application icon corresponding to the target theme icon, and then select the target application icon.
In the exemplary embodiment, application a belonging to application theme 1 is started, application B belonging to application theme 1 is started, application C belonging to application theme 2 is started, application D belonging to application theme 1 is started, application E belonging to application theme 2 is started, and the currently used application is application E. Displayed in the first floating control are theme icons of an application theme 1 and an application theme 2, and application icons of an application program C and an application program E. The target application icon that the user wants to select is an application icon of application a. First, the user selects the theme icon of the application theme 1, the application icons displayed in the first hover control are switched from the application icons of the application programs C and E to the application icons of the application programs a, B and D, and then, the user selects the application icon of the application program a.
In step S130, in response to the first input, the first application corresponding to the first application icon is controlled to be operated in foreground.
In an example embodiment, according to a selection operation of a user on a target application icon in application icons of at least one application program displayed in the first hovering control, a target application icon selected by the user, namely the first application icon, is determined. And switching the application program which is currently operated in the foreground to the background operation, and switching the first application program corresponding to the first application icon to the foreground operation. And if the first application icon selected by the user is the application program currently running in the foreground, no operation is performed, and the original state is maintained.
In another example embodiment, if the first application icon is an application icon of a commonly used application program that is added in advance, there may be a case where the first application program corresponding to the first application icon is in a closed state when the first application program is selected, that is, the first application program is not run in the foreground nor in the background. At the moment, responding to the first input, starting the first application program and controlling the application program to run in the foreground.
According to the application program control method in the example embodiment of fig. 1, first, a first floating control is displayed, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; then, receiving a first input of a first application icon in the application icons of at least one application program; and finally, responding to the first input, and controlling the foreground of the first application program corresponding to the first application icon to run. According to the embodiment of the invention, the theme icon and the application icon can be displayed in the suspension control, the application program can be switched rapidly through the suspension control, and the efficiency of switching the application program by a user is improved.
Further, in an example embodiment, a third input is received for a second one of the theme icons of the at least one application theme; in response to the third input, removing the second theme icon and the application icon of the application program belonging to the second application theme from the first hover control, and closing the application program belonging to the second application theme; and the second application theme is the application theme to which the second theme icon belongs. The third input may be a long-press operation, a double-click operation, or a combination of a long-press operation and a single-click operation, which is not limited in any way by the present invention. And closing the application program belonging to the second application theme, wherein the closing may be to close the application program running in the foreground, or to quit and close the application program running in the background. For example, when a user wants to close a shopping theme, a long-time pressing operation is performed on a theme icon of the shopping theme in the first floating control, at this time, a cross mark in a circular frame appears in the upper left corner of the theme icon of the shopping theme, the user can close the shopping theme by clicking the cross mark again, the theme icon of the shopping theme and an application icon of a shopping application program belonging to the shopping theme are not displayed in the first floating control any more, and meanwhile, the opened shopping application program is also closed.
In an example embodiment, when a user closes an application theme at the first floating control, according to the number identifier of the application theme and the number identifiers of the application programs belonging to the application theme, the first floating control notifies the system to set the application theme and the application programs belonging to the application theme to a closed state.
In an example embodiment, if the application theme corresponding to the application icon displayed in the first hover control is closed, the last opened application theme is selected by default, that is, the theme icons of the remaining application themes and the application icons of the application programs included in the last opened application theme are displayed in the first hover control. For example, application A attributed to application topic 1 is launched at 12:00, application B attributed to application topic 1 is launched at 12:30, application C attributed to application topic 2 is launched at 12:40, application D attributed to application topic 1 is launched at 12:45, application E attributed to application topic 2 is launched at 12:50, and the currently used application is application E. After the user closes the application theme 2, the theme icon of the application theme 1 and the application icons of the application program a, the application program B and the application program D are displayed in the first floating control.
In an example embodiment, a fourth input is received for a second application icon of the application icons of the at least one application program; and in response to the fourth input, removing the second application icon in the first floating control, and closing or uninstalling the second application program corresponding to the second application icon. The fourth input may be a long-press operation, a double-click operation, or a combination of a long-press operation and a single-click operation, which is not limited in any way by the present invention. And closing the second application program corresponding to the second application icon, which may be closing the application program running in the foreground, or exiting and closing the application program running in the background. The unloading of the second application program corresponding to the second application icon may be closing the application program running in the foreground and unloading the application program, or exiting the application program running in the background, closing and unloading the application program, or directly unloading the application program in the closed state.
In an example embodiment, when a user wants to close the application 1, a double-click operation is performed on the application icon of the application 1 in the first hover control, at which time, the application icon of the application 1 is no longer displayed in the first hover control, and the application 1 is closed.
In yet another example embodiment, when the user wants to uninstall the application 2, the long-press operation is performed on the application icon of the application 2 in the first hover control, at which time, the application icon of the application 1 is no longer displayed in the first hover control, and the application 1 is closed and uninstalled.
In an example embodiment, an application theme is closed if all applications belonging to the same application theme are closed or uninstalled. For example, theme icons of a shopping theme and a chat theme and application icons of a shopping application 1, a shopping application 2 and a shopping application 3 are displayed in the first floating control, and when a user closes the shopping application 1, the shopping application 2 and the shopping application 3, a shopping theme is closed when a last application program belonging to the shopping theme is closed, the theme icon of the shopping theme is removed from the first floating control, and each application icon corresponding to the last opened chat theme is displayed.
In an example embodiment, when a user closes an application program at the first floating control, the first floating control informs the system to set the application program to a closed state according to the number identifier of the application program. And if all the application programs of a certain application theme are in the closed state, the first floating control informs the system of setting the application theme to be in the closed state.
In an example embodiment, if the application program is closed or uninstalled through another way that is not operating on the first hover control, for example, returning to the main interface of the electronic device to uninstall the application program, the application icon of the application program is no longer displayed in the first hover control.
In an example embodiment, if the application icon of the target application program that the user wants to close or uninstall is not displayed in the first floating control, the application theme needs to be switched to the target application theme to which the target application program belongs first, the application icons of the application programs belonging to the target application theme and including the target application program are displayed in the first floating control, and then the operation of closing or uninstalling the target application program is performed.
In an example embodiment, when the electronic device receives a floating window closing operation of a user, in response to the operation, the electronic device modifies the activation state of the first floating control to be inactive and modifies the starting state of each application theme to be an inactive state. When the electronic device turns off or sleeps the first floating control module, the function of the first floating control is turned off accordingly. At this time, the first floating control and the application icon and the theme icon in the first floating control are not displayed on the electronic device any more.
Fig. 2 is a schematic diagram of an application scenario of the application control method according to an embodiment of the present invention.
Referring to FIG. 2, a theme hover window 210 is a first hover control in the application control method shown in FIG. 1. The user sets whether to activate the theme hover window function by moving the control 220. When the control 220 is moved to the rightmost side of the designated area 230, the floating window is opened, that is, the electronic device activates a pre-created theme floating window module; when the control 220 is moved to the leftmost side of the designated area 230, the floating window is closed, i.e., the electronic device sleeps the pre-created theme floating window module.
Fig. 3 is a schematic diagram of another application scenario of the application control method according to an embodiment of the present invention.
Referring to fig. 3, a theme hover window 310 is a first hover window in the application control method as shown in fig. 1. On the electronic device, in the theme floating window 310, a mapping relationship between an application theme and an application program is preset, for example, the application program corresponding to the application icon 330, the application icon 340, and the application icon 350 belongs to the application theme "shopping". In the subject area 320 in the subject floating window 310, subject icons of application subjects, such as the shopping subjects 360 in fig. 3, are displayed, and in the subject floating window 310, application icons of application programs belonging to the shopping subjects 360, such as the application icons 330, 340, 350 in fig. 3, are displayed.
In an example embodiment, the application icons 330, 340, 350 are displayed in the theme floating window 310 from right to left according to the sequence in which the application program corresponding to each application icon is opened.
Fig. 4 is a schematic diagram of another application scenario of the application control method according to an embodiment of the present invention.
Referring to fig. 4, a theme hover window 410 is a first hover window in the application control method as shown in fig. 1. On the electronic device, topic icons of chat topics 460, shopping topics 470, and other application topics are displayed in a topic area 420 in a topic flyout window 410, wherein the chat topic 460 is selected by a user and the circle of the topic icon is bolded to highlight. In topic flyout window 410, application icons, such as application icon 430, application icon 440, and application icon 450 in FIG. 4, of the applications attributed to the selected chat topic are displayed.
In an example embodiment, the application icons 430, 440, 450 are displayed from right to left in the topic hover window 410, and the shopping topics 470 and chat topics 460 are displayed from right to left in the topic area 420 in the topic hover window 410, according to the chronological order in which the respective application programs are opened.
Fig. 5 is a schematic diagram of another application scenario of the application control method according to an embodiment of the present invention.
Referring to fig. 5, a theme hover window 510 is a first hover window in the application control method as shown in fig. 1. On the electronic device, topic icons of chat topics 560, shopping topics 570, and other application topics are displayed in a topic area 520 in a topic flyout window 510, wherein the shopping topics 560 are selected by the user and the round boxes of the topic icons are bolded to highlight. In the topic flyout window 510, application icons of the applications attributed to the selected shopping topic, such as application icon 530, application icon 540, and application icon 550 in FIG. 5, are displayed. Wherein, the application icons 530, 540 and 550 all display cross signs at the upper left corners. Clicking on the cross in the upper left corner of the application icon may close the application icon.
Fig. 6 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Referring to fig. 6, the electronic device 600 includes: a hover control display module 610, a first input receiving module 620, and an application control module 630. The floating control display module 610 is configured to display a first floating control, where a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; a first input receiving module 620, configured to receive a first input for a first application icon of the application icons of the at least one application program; the application control module 630 is configured to, in response to the first input, control a foreground of the first application corresponding to the first application icon to run.
In some embodiments of the present invention, based on the above scheme, the electronic device 600 further includes: the second input receiving module is used for receiving second input of a first theme icon in the theme icons of the at least one application theme; the application icon display module is used for responding to a second input and displaying an application icon of at least one application program belonging to the first application theme in the first floating control; the first application theme is an application theme to which the first theme icon belongs; the first input receiving module 620 is specifically configured to receive a first input of an application icon of at least one application program belonging to a first application theme.
In some embodiments of the present invention, based on the above scheme, the electronic device 600 further includes: the third input receiving module is used for receiving a third input of a second theme icon in the theme icons of the at least one application theme; the theme closing module is used for responding to a third input, removing the second theme icon and the application icon of the application program belonging to the second application theme from the first floating control, and closing the application program belonging to the second application theme; and the second application theme is the application theme to which the second theme icon belongs.
In some embodiments of the present invention, based on the above scheme, the electronic device 600 further includes: the fourth input receiving module is used for receiving fourth input of a second application icon in the application icons of the at least one application program; and the application closing and unloading module is used for responding to a fourth input, removing the second application icon from the first floating control, and closing or unloading the second application program corresponding to the second application icon.
In some embodiments of the present invention, based on the above scheme, the electronic device 600 further includes: and the position determining module is used for determining the positions of the theme identifications and the application icons in the first floating control according to the starting time sequence of the application programs.
According to the technical scheme provided by the embodiment of the invention, firstly, a first floating control is displayed, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; then, receiving a first input of a first application icon in the application icons of at least one application program; and finally, responding to the first input, and controlling the foreground of the first application program corresponding to the first application icon to run. According to the embodiment of the invention, the theme icon and the application icon can be displayed in the suspension control, the application program can be switched rapidly through the suspension control, and the efficiency of switching the application program by a user is improved.
It should be noted that the electronic device provided in the embodiment of the present invention can implement the processes of the foregoing application control method, and achieve the same functions and effects, which are not repeated here.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The memory 709 stores therein a computer program, and when the computer program is executed by the processor 710, the following process can be implemented: displaying a first floating control, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; receiving a first input of a first application icon of application icons of at least one application program; and responding to the first input, and controlling the first application program corresponding to the first application icon to run in the foreground.
Optionally, when the computer program is executed by the processor 710, before receiving the first input of the first application icon of the application icons of the at least one application program, the following process may be further implemented: receiving a second input of a first theme icon of the theme icons of the at least one application theme; in response to the second input, displaying an application icon of at least one application program belonging to the first application theme in the first hover control; the first application theme is an application theme to which the first theme icon belongs; receiving a first input to a first application icon of the application icons of the at least one application program, comprising: a first input is received for an application icon of at least one application program that is attributed to a first application theme.
Optionally, when executed by the processor 710, the computer program may further implement the following process: receiving a third input of a second theme icon of the theme icons of the at least one application theme; in response to the third input, removing the second theme icon and the application icon of the application program belonging to the second application theme from the first hover control, and closing the application program belonging to the second application theme; and the second application theme is the application theme to which the second theme icon belongs.
Optionally, when executed by the processor 710, the computer program may further implement the following process: receiving a fourth input of a second application icon of the application icons of the at least one application program; and in response to the fourth input, removing the second application icon in the first floating control, and closing or uninstalling the second application program corresponding to the second application icon.
Optionally, the computer program, when executed by the processor 710, determines the positions of the respective theme identifications and the respective application icons in the first hover control according to the time sequence in which the respective application programs are launched.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
According to the technical scheme provided by the embodiment of the invention, firstly, a first floating control is displayed, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control; then, receiving a first input of a first application icon in the application icons of at least one application program; and finally, responding to the first input, and controlling the foreground of the first application program corresponding to the first application icon to run. According to the embodiment of the invention, the theme icon and the application icon can be displayed in the suspension control, the application program can be switched rapidly through the suspension control, and the efficiency of switching the application program by a user is improved.
The electronic device in the embodiment of the present application can implement the processes of the foregoing application control method, and achieve the same effects and functions, which are not repeated here.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing application program control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The electronic device in the embodiment of the present application can implement the processes of the foregoing application control method, and achieve the same effects and functions, which are not repeated here.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing application program control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
A computer-readable storage medium in the embodiment of the present application can implement the respective processes of the foregoing application control method, and achieve the same effects and functions, which are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the above-mentioned embodiment of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An application control method applied to an electronic device, comprising:
when a target application program is started, adding a target application icon for displaying the target application program in a first floating control, wherein a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme are displayed in the first floating control;
receiving a first input of a first application icon of the application icons of the at least one application program;
responding to the first input, and controlling a first application program corresponding to the first application icon to run in a foreground mode;
receiving a third input to a second theme icon of the theme icons of the at least one application theme;
in response to the third input, removing the second theme icon and the application icon of the application belonging to a second application theme from the first hover control, and closing the application belonging to the second application theme; and the second application theme is the application theme to which the second theme icon belongs.
2. The method of claim 1, wherein prior to said receiving a first input for a first one of the application icons of the at least one application, the method further comprises:
receiving a second input of a first theme icon of the theme icons of the at least one application theme;
in response to the second input, displaying an application icon of at least one application program belonging to a first application theme in the first hover control; the first application theme is an application theme to which the first theme icon belongs;
the receiving a first input to a first application icon of the application icons of the at least one application program comprises:
a first input is received for an application icon of at least one application program that is attributed to the first application theme.
3. The method of claim 1, further comprising:
receiving a fourth input to a second application icon of the application icons of the at least one application program;
and responding to the fourth input, removing the second application icon in the first floating control, and closing or unloading a second application program corresponding to the second application icon.
4. The method according to any one of claims 1 to 3, further comprising:
and determining the positions of the theme identifications and the application icons in the first floating control according to the time sequence of the started application programs.
5. An electronic device, comprising:
the suspension control display module is used for additionally displaying a target application icon of a target application program in a first suspension control when the target application program is started, wherein the first suspension control displays a theme icon of at least one application theme and an application icon of at least one application program belonging to the application theme;
the first input receiving module is used for receiving a first input of a first application icon in the application icons of the at least one application program;
the application control module is used for responding to the first input and controlling the foreground of a first application program corresponding to the first application icon to run;
a third input receiving module, configured to receive a third input to a second theme icon of the theme icons of the at least one application theme;
the theme closing module is used for responding to the third input, removing the second theme icon and the application icon of the application program belonging to the second application theme from the first floating control, and closing the application program belonging to the second application theme; and the second application theme is the application theme to which the second theme icon belongs.
6. The electronic device of claim 5, further comprising:
the second input receiving module is used for receiving second input of a first theme icon in the theme icons of the at least one application theme;
an application icon display module, configured to display, in response to the second input, an application icon of at least one application program belonging to the first application theme in the first hover control; the first application theme is an application theme to which the first theme icon belongs;
the first input receiving module is specifically configured to receive a first input of an application icon of at least one application program belonging to the first application theme.
7. The electronic device of claim 5, further comprising:
the fourth input receiving module is used for receiving fourth input of a second application icon in the application icons of the at least one application program;
and the application closing and unloading module is used for responding to the fourth input, removing the second application icon from the first floating control, and closing or unloading the second application program corresponding to the second application icon.
8. The electronic device of any of claims 5-7, further comprising:
and the position determining module is used for determining the positions of the theme identifications and the application icons in the first floating control according to the starting time sequence of the application programs.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the application control method of any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the application control method according to any one of claims 1 to 4.
CN202010071089.6A 2020-01-21 2020-01-21 Application program control method and electronic equipment Active CN111240551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010071089.6A CN111240551B (en) 2020-01-21 2020-01-21 Application program control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010071089.6A CN111240551B (en) 2020-01-21 2020-01-21 Application program control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111240551A CN111240551A (en) 2020-06-05
CN111240551B true CN111240551B (en) 2021-12-28

Family

ID=70874813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010071089.6A Active CN111240551B (en) 2020-01-21 2020-01-21 Application program control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111240551B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831190B (en) * 2020-07-10 2022-05-03 维沃移动通信有限公司 Music application program control method and device and electronic equipment
CN113420270A (en) * 2021-06-21 2021-09-21 维沃移动通信有限公司 Application program login method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980428A (en) * 2016-01-16 2017-07-25 平安科技(深圳)有限公司 Application programe switch-over method and device
CN107402694A (en) * 2017-07-28 2017-11-28 努比亚技术有限公司 Using switching method, equipment and computer-readable recording medium
CN107992244A (en) * 2017-12-01 2018-05-04 维沃移动通信有限公司 The control method and terminal device of a kind of application program
CN110471591A (en) * 2019-08-08 2019-11-19 深圳传音控股股份有限公司 A kind of exchange method, device and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700776A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Device and method for switching background programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980428A (en) * 2016-01-16 2017-07-25 平安科技(深圳)有限公司 Application programe switch-over method and device
CN107402694A (en) * 2017-07-28 2017-11-28 努比亚技术有限公司 Using switching method, equipment and computer-readable recording medium
CN107992244A (en) * 2017-12-01 2018-05-04 维沃移动通信有限公司 The control method and terminal device of a kind of application program
CN110471591A (en) * 2019-08-08 2019-11-19 深圳传音控股股份有限公司 A kind of exchange method, device and computer storage medium

Also Published As

Publication number Publication date
CN111240551A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN108958865B (en) Corner mark management method and mobile terminal
CN107977132B (en) Information display method and mobile terminal
WO2019174611A1 (en) Application configuration method and mobile terminal
CN110837327B (en) Message viewing method and terminal
CN110851051B (en) Object sharing method and electronic equipment
CN110109604B (en) Application interface display method and mobile terminal
CN108897486B (en) Display method and terminal equipment
CN107613095B (en) Incoming call processing method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN111240551B (en) Application program control method and electronic equipment
CN110196667B (en) Notification message processing method and terminal
CN110989882B (en) Control method, electronic device and computer readable storage medium
CN109725789B (en) Application icon archiving method and terminal equipment
CN109407949B (en) Display control method and terminal
CN111610904B (en) Icon arrangement method, electronic device and storage medium
CN110968228B (en) Display method of application program icon and electronic equipment
CN111610903A (en) Information display method and electronic equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109857292B (en) Object display method and terminal equipment
CN110703972A (en) File control method and electronic equipment
CN109407921B (en) Application processing method and terminal device
CN108509131B (en) Application program starting method and terminal
CN108319409B (en) Application program control method and mobile terminal
CN110825295B (en) Application program control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant