CN111104038A - Application function processing method and electronic equipment - Google Patents
Application function processing method and electronic equipment Download PDFInfo
- Publication number
- CN111104038A CN111104038A CN201911294844.0A CN201911294844A CN111104038A CN 111104038 A CN111104038 A CN 111104038A CN 201911294844 A CN201911294844 A CN 201911294844A CN 111104038 A CN111104038 A CN 111104038A
- Authority
- CN
- China
- Prior art keywords
- control area
- input
- function
- interface
- application
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 claims description 70
- 238000011084 recovery Methods 0.000 claims description 19
- 230000006870 function Effects 0.000 abstract description 464
- 230000008569 process Effects 0.000 description 20
- 238000004064 recycling Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 8
- 230000003068 static effect Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a processing method of an application function and electronic equipment. The processing method of the application function comprises the following steps: receiving a first input to an application program interface; responding to the first input, and displaying at least one control area which is divided in advance on an application program interface, wherein one control area corresponds to one application function; receiving a second input to a target control region of the at least one control region; and responding to the second input, and closing the application function corresponding to the target control area. The embodiment of the invention can solve the problem of complex operation when the functions in the application are closed.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a processing method of an application function and electronic equipment.
Background
Currently, when a user uses an application program in an electronic device, a plurality of functions are included in an application program interface, for example, a search box, a plurality of content display areas, a voice input button, and the like are included in a display interface of a browser. In this case, since the functions are many, the user may not need some of the functions, and in order to simplify the display interface, the user needs to turn off some of the functions in the application.
However, in the existing application program using scheme, a user can only close the whole interface or close the whole application program, and although a mode of closing part of functions in the application program is arranged in the electronic device, the operation is complicated and troublesome, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an application function processing method and electronic equipment, and aims to solve the problem of complex operation when functions in an application are closed.
In a first aspect, an embodiment of the present invention provides an application function processing method, applied to an electronic device, including:
receiving a first input to an application program interface;
responding to the first input, and displaying at least one control area which is divided in advance on the application program interface, wherein one control area corresponds to one application function;
receiving a second input to a target control region of the at least one control region;
and responding to the second input, and closing the application function corresponding to the target control area.
In a second aspect, an embodiment of the present invention further provides a method for processing an application function, which is applied to an electronic device, and includes:
receiving a third input to the application program interface;
responding to the third input, and displaying an interface of a preset recycle bin; the interface of the preset recycle bin comprises a control area corresponding to the closed application function; one control area corresponds to one application function;
receiving a fourth input of a target control area in the interface of the preset recycle bin;
and responding to the fourth input, and restoring the application function corresponding to the target control area.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
the first receiving module is used for receiving first input of the application program interface;
the first display module is used for responding to the first input and displaying at least one control area which is divided in advance on the application program interface, wherein one control area corresponds to one application function;
a second receiving module, configured to receive a second input to a target control region in the at least one control region;
and the closing module is used for responding to the second input and closing the application function corresponding to the target control area.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including:
the third receiving module is used for receiving a third input to the application program interface;
the second display module is used for responding to the third input and displaying an interface of a preset recycle bin; the interface of the preset recycle bin comprises a control area corresponding to the closed application function; one control area corresponds to one application function;
the fourth receiving module is used for receiving a fourth input of a target control area in the interface of the preset recycle bin;
and the first recovery module is used for responding to the fourth input and recovering the application function corresponding to the target control area.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the method for processing the application function according to the first aspect or the steps of the method for processing the application function according to the second aspect are implemented.
In a sixth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the processing method for the application function according to the first aspect or the steps of the processing method for the application function according to the second aspect.
In the embodiment of the invention, after first input of a user for an application program interface is received, at least one control area which is divided in advance can be displayed on the application program interface, one control area corresponds to one application function, and the application function corresponding to the target control area is closed through second input of the user for the target control area, so that the purpose of independently closing the application functions contained in the application program interface is realized. Therefore, the embodiment of the invention enables the user to independently close the application function contained in the application program interface through simple input operation, simplifies the closing operation of the application program interface and improves the convenience of the user for closing the function in the application.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flowchart of a processing method for an application function according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another processing method for application functions according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a prompt message for adding a tag according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a division of a first control area in an application program interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface of a pre-determined recycle bin according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a background function menu interface according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a processing method for an application function according to another embodiment of the present invention;
fig. 8 is a flowchart illustrating a processing method for an application function according to another embodiment of the present invention;
FIG. 9 is a schematic view of an interface of another pre-determined recycling bin according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another electronic device according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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.
Currently, when a user uses an application program in an electronic device, a plurality of functions are included in an application program interface, for example, a search box, a plurality of content display areas, a voice input button, and the like are included in a display interface of a browser. In this case, since the functions are many, the user may not need some of the functions, and in order to simplify the display interface, the user needs to turn off some of the functions in the application.
However, currently, when a user needs to mask or remove a small application function, for example, a scan-off function, the user generally needs to find a closed entry, or some functions in the application do not close the entry at all, and the user can only close the entire interface or close the entire application program, which causes the application function that the user temporarily does not want to use to appear for a long time, and is easily objectionable to the user. In addition, the electronic device is provided with a mode for closing part of functions in the application program, but the operation is complicated, and the convenience for the user is poor.
Therefore, in order to solve the above technical problem, an embodiment of the present invention provides a method for processing an application function, which is capable of closing a function in an application program interface. This method is described below.
An embodiment of the present invention provides a method for processing an application function, which is applied to an electronic device, and referring to fig. 1, fig. 1 illustrates a flowchart of the method for processing an application function according to the embodiment of the present invention. The processing method of the application function comprises the following steps:
s101, receiving a first input to an application program interface;
the application program interface refers to a display interface after an application program is opened, and a plurality of application functions, such as a search function, a code scanning function, and the like, are displayed in the display interface, where the first input here may be a specific gesture input in the application program interface, such as a long-time press operation, and the like, or may also be an input that triggers a function closing identifier preset in the application program interface. The present invention does not limit the specific content of the first input.
S102, responding to a first input, and displaying at least one control area which is divided in advance on an application program interface, wherein one control area corresponds to one application function;
the purpose of displaying at least one control area is to enable a user to visually view and distinguish between the various application functions included in the current application program interface. In some embodiments, in order to divide the control area, a border may be added to each control area, or a display ground color corresponding to each control area may be adjusted. Of course, the dividing manner as long as the different control areas can be distinguished is within the protection scope of the present invention.
S103, receiving a second input of a target control area in the at least one control area;
the specific implementation of the second input will be described in the following embodiments.
And S104, responding to the second input, and closing the application function corresponding to the target control area.
After the application function is closed, the display content corresponding to the application function is no longer displayed in the application program interface, and the processing capability corresponding to the application function is no longer provided. For example, after the search function is turned off, the search box is no longer contained within the application interface and no search capability is available. Here, closing the application function corresponding to the target control area may also be understood as controlling the control in the target control area to become an inactive state.
In the embodiment of the invention, after first input of a user for an application program interface is received, at least one control area which is divided in advance can be displayed on the application program interface, one control area corresponds to one application function, and the application function corresponding to the target control area is closed through second input of the user for the target control area, so that the purpose of independently closing the application functions contained in the application program interface is realized. Therefore, the embodiment of the invention enables the user to independently close the application function contained in the application program interface through simple input operation, simplifies the closing operation of the application program interface and improves the convenience of the user for closing the function in the application.
In the process that the user closes the application function, the application function needs to be operated, so that in order to avoid confusion of the application program, the static locking mode needs to be entered, the application function is in a locked state and cannot be used, and the operation of the user on the function in the application belongs to static operation. That is, after S101, the application program interface may temporarily enter the static lock mode, and the display operation in S102 is also displayed in the static lock mode. After the closing operation of the in-application function is completed subsequently, the static locking mode may be exited through a specific exit input, where the exit input may be, for example, a double-finger long press, or may also be an input that triggers an exit identifier preset in the application program interface.
Since the first input may be similar to other gestures of the electronic device, in order to distinguish different gestures, different durations may be set for the same gesture, for example, the first input requires pressing with a double finger for 1000ms, so that after the user performs the double-finger pressing input, in order to ensure that the hand pressing time of the user can reach the preset duration, the user may be informed of the time that the user needs to continue pressing through a floating prompt that slowly appears in the application program interface, for example, 500ms, or the user may be prompted through a progress bar that changes with the change of the pressing time. The invention is not limited to specific duration and prompting mode.
In addition, in other embodiments, in order to centrally store the application functions that have been closed, and facilitate the recovery and management of the application functions that have been closed by the subsequent user, a preset recycle bin needs to be set to store the control area corresponding to the application functions that have been closed by the user. Since the preset recycle bin is not always required, the identifier of the preset recycle bin may be displayed in the application interface after S101. The identifier of the preset recycling bin may be displayed in a floating manner and may be translucent so as to avoid blocking the content below, and the display position of the identifier of the preset recycling bin may be 1/2 on the application program interface, although the invention is not limited thereto. In other embodiments, the identifier of the pre-defined recycle bin may be set in a menu of the application program interface.
In addition, in some other embodiments of the present invention, in order to facilitate the user to distinguish the closed application function, a label may be further added to the closed target control area. In particular, in one implementation of these embodiments, the user may be prompted to add a label to the application function to be closed before the application function is closed. Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another processing method for an application function according to an embodiment of the present invention. Namely, this embodiment includes:
S201-S203 are similar to S101-S103 and will not be described in detail here.
S204: and responding to the second input, and displaying prompt information for adding the label to the target control area.
S205: and receiving label information input by a user.
S206: and marking the target control area according to the label information.
S207: and closing the application function corresponding to the target control area.
In this embodiment, by reminding the user to add the label, the user can know that the electronic device has the function of label addition, and thus, according to the habit of the user, the label is added to the target control area, so that the subsequent user can distinguish each application function according to the label on the closed control area.
In an implementation manner, before displaying the prompt information for adding the label to the target control area in S204, the method may further include:
and judging whether the target control area is added with the label or not, and if not, displaying prompt information for adding the label to the target control area.
In another implementation, the user may custom edit the input tag, for example, a "hot search like microblog" tag edited by the user; or preset tags provided by the electronic device, such as "hot spots", "hot news", and the like, can be directly selected. That is, the prompt message may include an input box and/or at least one selectable preset tag, and the tag information received from the user may be: receiving label information input by a user in an input box; or receiving the selection input of the user to at least one target preset label, wherein the at least one target preset label is used as label information.
In a further implementation manner, the preset tags may be all selectable tags stored in the electronic device in advance, or may also be tags automatically generated by the electronic device according to application functions corresponding to the target control area, for example, the tags are "hot spots", "hot news", "hot movies", and the like. Referring to fig. 3, fig. 3 is a schematic diagram of a prompt message for adding a tag according to an embodiment of the present invention.
In another implementation manner, in a case that a selection input of the user for at least one target preset tag is received, before marking the target control area according to the tag information, the method may further include:
and displaying prompt information whether to confirm that the target control area is marked by the selected label.
The mode of further confirming the user can avoid the condition of wrong label selection caused by mistaken touch of the user and improve the accuracy of label setting.
Furthermore, in other embodiments of the present invention, the tag may not be added by the user, but may be added automatically by the electronic device, that is, the method may include: and automatically adding label information to the target control area according to the property of the application function corresponding to the target control area. For example, the 1-region and 2-region shown in fig. 4 belong to functions of the same nature, and a label of "hot news" may be given.
In another implementation manner of the present invention, the S206 may specifically be:
after the target control area is moved to the preset recycling bin, the label information is marked on the target control area stored in the preset recycling bin, for example, the label information is used as a function identifier of the target control area, or is used as a part of detailed information in the target control area, and the like.
Or,
after the target control area is moved to a preset recycling bin, the target control area is stored in a group corresponding to the label information; and under the condition that the preset recycle bin does not contain the group corresponding to the label information, newly building the group corresponding to the label information, and storing the target control area into the newly built group.
In this embodiment, the target control area may be stored in the preset recycle bin in a manner of grouping according to the tag information marked by the target control area, so that the application functions that are closed are stored in the preset recycle bin in a manner of grouping according to the tag. Therefore, in the subsequent process that the user needs to check or recover the application function, the user can directly select the corresponding group and then search the application function to be checked or recovered in the group, so that the convenience of searching the application function in the preset recycle bin is facilitated for the user.
Since the application functions contained within the application interface may contain foreground and background functions. Foreground functions are functions that a user can see directly within an application interface, such as search functions, scanning functions, and the like. Background functionality refers to functionality that a user cannot see directly within an application interface, but can also support the running of an application, such as update functionality.
Because there is a difference between the foreground function and the background function, the user usually needs to perform different input operations when closing the foreground function and the background function, and therefore, in an embodiment of the present invention, before S102, the method may further include:
and displaying a dialog box for prompting a user to determine whether the application function to be closed is a foreground function or a background function.
Because the user may only know to close the foreground function and not know to close the background function when closing the functions in the application, the user can be prompted by displaying the dialog box to inform the user that the background function can be closed, thereby improving the convenience of the user. The user can determine the input of the foreground function or the background function to close the foreground function or the background function.
The dialog box may include two selection identifiers respectively corresponding to a foreground function and a background function, for example, a selection button, and the user may confirm the function corresponding to the selection identifier by clicking the selection identifier. Or the dialog box can also comprise an input box, after the user clicks the menu identification of the input box, a pull-down menu containing foreground function identification and background function identification can be displayed, and the user confirms the foreground function and the background function by clicking the identification in the pull-down menu. Or the gesture corresponding to the foreground function or the background function and input in the dialog box by the user can be used as the confirmation input of the foreground function or the background function. Of course, the dialog box may also take other forms of display, which the present invention does not determine.
Based on the difference between the foreground function and the background function, the following embodiments respectively introduce the closing process of the foreground function and the background function.
First, a method of turning off the foreground function will be described.
In an implementation manner of the present invention, S102 may specifically include:
and under the condition that the received determination input that the application function to be closed is the foreground function is determined, displaying at least one first control area corresponding to at least one foreground function in the application program interface. Referring to fig. 4, fig. 4 is a schematic diagram illustrating division of a first control area in an application interface according to an embodiment of the present invention.
The first control area is an area which can be directly seen by a user in the application program interface, so that the control area corresponding to each foreground function can be directly displayed in the application program interface.
In another implementation manner of the present invention, the second input in S103 may specifically include:
and the second input is triggering a first identifier in the target first control area or dragging the target first control area to a preset recycle bin.
Correspondingly, at this time, S104 may specifically include: and responding to the second input, and moving the target first control area into the preset recycle bin.
Because the first control area is an area that a user can directly see in the application program interface, when the foreground function corresponding to the first control area is closed, the foreground function can be closed in the two modes.
The first identifier may be a closing symbol set in the first control area, and the position of the closing symbol may be set at will. The mode that the user drags the first control area to the recycle bin can be that the user drags the first control area to the preset recycle bin by keeping a selected state after selecting any position in the first control area.
The first control area saved in the preset recycle bin may include: the method comprises the steps that a foreground function identifier and a switch control corresponding to the foreground function identifier in a closed state are included, and when the switch control is in an open state, an application function corresponding to a first control area is in the open state, namely the first control area is not activated; when the switch control is in the closed state, the application function corresponding to the first control area is in the closed state, that is, the first control area is in the activated state. As shown in fig. 5, fig. 5 is a schematic view illustrating an interface of a preset recycling bin according to an embodiment of the present invention. The mode is to enable the user to check which foreground functions are currently closed, and the foreground functions can be recovered through the switch control, so that the convenience of the user in use is improved.
In an implementation manner of the present invention, the preset recycle bin may further include a first control area that is closed before and is currently in an open state, and each control area in the preset recycle bin includes a function identifier and a switch control corresponding to the control area. In this case, the S104 may specifically include:
and under the condition that the target control area is the first control area which is closed before and is in the opening state currently, controlling the switch control in the target control area to be in the closing state.
Here, the open state and the closed state of the first control area essentially refer to an activated state and an inactivated state of the first control area, and the first control area that is closed before and is currently in the open state refers to: the first control area that was previously controlled to become inactive but is currently active. In addition, the switch control is used for controlling the on-off of the application function corresponding to the target control area, so that the application function corresponding to the target control area is closed after the control switch control is turned to the closed state.
In this embodiment, the first control area may always exist in the preset recycle bin as long as the corresponding application function is closed. In this way, the user can know the first control area which is closed by the user through looking up the interface of the preset recycle bin, and subsequently, the user can directly enter the interface of the preset recycle bin to close foreground functions, so that operation means when the user closes the foreground functions are increased.
Based on the foregoing embodiment, if the second input is to trigger the first identifier in the first control area, in a specific implementation manner, after S102, before S103, the method may further include: a selection input to the application program interface is received, and a first indicator is displayed in each first control area in response to the selection input.
That is, in this embodiment, the first identifier is not displayed on the application program interface after receiving the first input, but is displayed after receiving a selection input of the user in the subsequent process. The selected input can also be input by long pressing, and the like, namely in the static locking mode, the user presses the application program interface for a long time, and the first identification is displayed in each first control area. The method provided by the embodiment is mainly applicable to the electronic device capable of simultaneously supporting the above two second inputs. In addition, in other embodiments, the first identifier may also be displayed in the first control area when the control area is displayed in S102. The present invention is not limited to the specific method.
Then, a method of closing the background function is described.
In an implementation manner of the present invention, S102 may specifically include:
and under the condition that the received determined input that the application function to be closed is the background function is determined, displaying a background function menu interface, wherein the background function menu interface comprises at least one second control area corresponding to at least one background function, and the second control area comprises a background function identifier and a switch control corresponding to the background function identifier. Referring to fig. 6, fig. 6 is a schematic diagram illustrating a background function menu interface according to an embodiment of the present invention.
For the background function, because the user cannot directly view the background function in the application program interface, the user needs to set a background function menu to facilitate the viewing of the background function. And in order to ensure that the user can know and close the background function, the second control area needs to include a background function identifier and a corresponding switch control. The background function identification is mainly the name of the background function or is used for summarizing the specific function of the background function; the switch control is a control for controlling the closing and the recovery of the second control area, and may be specifically displayed in the form of a switch button. This arrangement facilitates the user's closing and resuming operations of the background function. And the user can intuitively know whether the current background function is in an open state or a closed state through the background function menu interface. The convenience of use for the user is improved.
In some embodiments of the present invention, the background function menu interface may be disposed in the predetermined recycle bin, so as to further simplify the display content of the application program interface. In other embodiments, the identifier of the background function menu may also be directly displayed on the application program interface, after receiving the first input of the user, the identifier of the background function menu is displayed on the application program interface, and the user can enter the background function menu interface by directly clicking the identifier; or the identifier of the background function menu may be displayed in the application program interface in a fixed manner, that is, the identifier of the background function menu is displayed in the application program interface before the first input is received. The present invention is not particularly limited by the above-described modes.
In the case where the background function menu interface may be provided in a preset recycle bin, the user may not know the way to enter the background function menu. Therefore, under the condition that the received determined input that the application function to be closed is the background function is determined, the prompt information of the path entering the background function menu can be displayed, and the operation of a user is facilitated.
In a further embodiment, the operation of displaying the prompt message of the path entering the background function menu may be performed only when the user of the current electronic device first receives a determination input that the application function to be closed is the background function; or when the interval time between the time when the determined input that the application function to be closed is the background function is determined and the time when the determined input is received last time exceeds the preset time length, displaying the prompt information; or the prompt information may be displayed each time the determination input is received. The present invention is not particularly limited in which manner it is specifically employed.
In another implementation manner of the present invention, the background function menu interface may further include a first search input box; after S102, before S103, the method may further include:
first search information input by a user in the first search input box is received.
Displaying at least one second control area matching the first search information.
S103 may specifically include: a second input is received to a target control region in the currently displayed second control region.
In other words, in this embodiment, the user may search in the background function menu interface to filter the background function that the user wants to close, so that efficiency and convenience of the user in searching for the background function to be closed are improved.
In a specific embodiment, in order to facilitate the user to know the specific function of each background function and to facilitate the user to perform the search operation, each second control area may further include a detailed description of the background function. The matching with the first search information in the above embodiment means that the second control area contains the same information as the first search information, and usually contains the same information as the first search information in the background function identifier or in the detailed description of the background function. For example, if the first search information is "traffic", a background function identifier or specification may be displayed that identifies a second control area containing "traffic".
Of course, in the case that the background function menu interface includes the second control area where the switch control is in the off state, in the above embodiment, the first search input box may also be used to search for the background application in the off state, and may also be used to search for the background application in the on state.
In another implementation manner of the present invention, the second input in S103 may specifically include: and closing the switch control in the target second control area.
Correspondingly, S104 may specifically include: and under the condition that the second input is closing of the switch control in the target second control area, controlling the switch control in the target second control area to be in a closed state, and moving the target second control area to a preset recycle bin.
Because the second control area in the background function menu interface contains the switch control, the purpose of closing the corresponding background function can be realized by directly closing the switch control. In this embodiment, the closed second control area is moved into the preset recycle bin, so that a subsequent user can know the closed foreground function and the closed background function by looking at the interface of the preset recycle bin, and restore the foreground function or the background function.
In other embodiments, only the switch control may be turned off, and the second control area is not moved into the preset recycle bin, in which case, a subsequent user needs to enter the background function menu interface to restore the turned-off background function. In this way, the closed second control area does not need to be saved in the preset recycle bin, and the occupation of the storage space is reduced.
In other embodiments, the second control area may not contain a switch control, but a close identification similar to the first identification in the first control area. The user can close the second control area by triggering the closing identifier, or the user can drag the second control area to a preset recycle bin to close the background function corresponding to the second control area. Correspondingly, in this way, because the background function menu interface does not contain the switch control corresponding to the second control area, the user cannot visually check the opening and closing conditions of the background function through the background function menu interface. It is therefore necessary to move the closed second control area to the preset recycle bin. Namely, the preset recycle bin also comprises a second control area with the background function closed, and the second control area in the recycle bin comprises the background function identifier and the corresponding switch control in the closed state.
In an implementation manner of the present invention, the preset recycle bin may further include a second control area that is closed before and is currently in an open state, and each control area in the preset recycle bin includes a function identifier and a switch control corresponding to the control area. In this case, the S104 may specifically include:
and under the condition that the target control area is a second control area which is closed before and is in an opening state currently, controlling the switch control in the target control area to be in a closing state.
That is, in the present embodiment, the second control area that has been closed is always present in the predetermined recycle bin. In this way, the user can know the second control area which is closed by the user through looking up the interface of the preset recycle bin, and subsequently, the user can directly enter the interface of the preset recycle bin to close the background function, so that the operation means of the user for closing the background function is increased.
Based on the above closing embodiment for foreground and background applications, the present invention provides a specific embodiment to implement closing of application functions. Referring to fig. 7, fig. 7 is a flowchart illustrating a processing method of another application function according to an embodiment of the present invention. The embodiment comprises the following steps:
s301, receiving a first input to an application program interface.
And S302, displaying a dialog box for prompting a user to determine whether the application function to be closed is a foreground function or a background function.
And S303, under the condition that the received determination input that the application function to be closed is the foreground function is determined, displaying at least one first control area corresponding to at least one foreground function in the application program interface.
S304, receiving a first identifier in the target first control area triggered by the user or a second input of dragging the target first control area to a preset recycle bin, and entering S305.
S305, responding to the second input, and moving the target first control area to a preset recycle bin.
S306, under the condition that the received determined input that the application function to be closed is the background function is determined, displaying a background function menu interface, wherein the background function menu interface comprises at least one second control area corresponding to at least one background function, and the second control area comprises a background function identifier and a switch control corresponding to the background function identifier.
And S307, receiving a second input for closing the switch control in the target second control area, and entering S308.
And S308, responding to the second input, controlling the switch control in the target second control area to be in a closed state, and moving the target second control area to a preset recycling bin.
An embodiment of a recovery process of an application function is described below, an embodiment of the present invention further provides a processing method of an application function, which is applied to an electronic device, as shown in fig. 8, and fig. 8 illustrates a flowchart of a processing method of an application function according to another embodiment of the present invention. The processing method of the application function comprises the following steps:
s401, receiving a third input to an application program interface;
s402, responding to a third input, and displaying an interface of a preset recycle bin; presetting a control area corresponding to the closed application function in an interface of the recycle bin; one control area corresponds to one application function;
since the application functions that have been shut down are typically stored in a pre-defined recycle bin that requires the user to enter an in-application function recovery mode. The third input here may be a specific gesture input within the application program interface, such as a long press operation. Alternatively, the trigger may be preset in the application interface. And inputting a function recovery mark. The present invention does not limit the specific contents of the third input.
S403, receiving a fourth input of a target control area in the interface of the preset recycle bin;
and S404, responding to the fourth input, and recovering the application function corresponding to the target control area.
In the embodiment of the invention, after the third input of the user for the application program interface is received, the interface of the preset recycle bin can be displayed on the application program interface, the preset recycle bin comprises the application function in the closed application program, and the application function corresponding to the target control area can be replied according to the fourth input of the user. In this way, the purpose of independently restoring the application functions that have been closed can be achieved. Therefore, the embodiment of the invention enables the user to independently recover the application function contained in the closed application program interface through simple input operation, facilitates the user to simplify the recovery operation of the application program interface, and improves the convenience for the user to recover the function in the application.
In an implementation manner of the present invention, the interface of the preset recycle bin further includes a second search input box; after S402 and before S403, the method may further include:
receiving second search information input in a second search input box; and displaying a control area matched with the second search information.
The S403 may include: and receiving a fourth input of a control area currently displayed in the interface of the preset recycle bin.
Through the second search input box that sets up in presetting the recycle bin, can directly search for the control region that contains in presetting the recycle bin to make the search that the user can be quick look over or resume to self required control region, improved the convenience when the user used and preset the recycle bin.
In an implementation manner of the present invention, the control area in the interface of the preset recycle bin may include the application function identifier and the corresponding switch control. The on and off states of the switch control herein correspond to the on and off states of the application function, respectively. Therefore, the fourth input in S403 is an input operation of clicking the switch control in the target control area to turn the switch control into the on state.
In other embodiments of the present invention, based on the foregoing embodiment of the method for closing application function, the control areas stored in the preset recycle bin may be marked with corresponding label information or respectively stored in groups divided according to the label information, and therefore, the fourth input in S403 may include: clicking an input operation entering the grouping and restoring the input operation of the target control area in the grouping. In addition, the second search information input by the user in the second search input box can be label information, so that all control areas corresponding to the label information are searched, and convenience of the user in searching for the application function to be recovered is improved.
Based on the difference between the foreground function and the background function, further, in a specific embodiment of the present invention, the interface of the preset recycle bin may include a foreground function list and a background function list; the foreground function list comprises at least one first control area, and the first control area comprises foreground function marks and switch controls corresponding to the foreground function marks; the background function list comprises at least one second control area, and the second control area comprises a background function identifier and a switch control corresponding to the background function identifier.
The following embodiments respectively describe the recovery processes of foreground and background functions.
First, a method of restoring the foreground function will be described.
In an implementation manner of the present invention, the interface of the preset recycling bin may further include: and closing the thumbnail of the corresponding display interface in the control area. As shown in fig. 9, fig. 9 is a schematic view illustrating an interface of another preset recycling bin according to an embodiment of the present invention. Specifically, the application identifier in each control area in the interface of the preset recycle bin may be in the form of a thumbnail and a label, where the left is the thumbnail (which is convenient for a user to quickly recall the state before the application function is closed), and the right is the added label and the switch control, such as an application suggestion, a history record, hot news, a hot movie, a hot spot, and the like.
Before the control area corresponding to the foreground application function is closed, the foreground application function corresponds to a display interface, for example, if the foreground application function is a code scanning function, the code scanning function corresponds to a code scanning display area before the control is closed. Since the user may have forgotten the content corresponding to the previously closed application function, the user may not recall the specific application function corresponding to the target control area by directly viewing the target control area in the preset recycle bin, and therefore, the present embodiment can facilitate the user to quickly remember the situation when the application function was previously closed by providing the thumbnail and displaying the state before the function in the application was closed as the thumbnail, so that the user can conveniently restore the application function. The thumbnail herein refers to an image obtained by scaling down a screen shot of a display interface.
In another implementation manner of the present invention, the interface of the preset recycling bin may further include: a second identifier contained within each control area; the above method may further comprise:
a fifth input to the target second identification is received.
And responding to the fifth input, displaying an application interface of the target application function corresponding to the target second identification, and recovering the display content before the target application function is closed.
And displaying an interface of the preset recycle bin under the condition that a sixth input of returning to the preset recycle bin is received.
The second identifier may be understood as a "trial" identifier, that is, after the user triggers the second identifier, the user can enter the application interface corresponding to the control area and restore the state before closing. In this case, if the user wants to use the application function, the user can use the application function directly, and if the user does not want to use the application, the user can return to the interface of the preset recycle bin. Since only foreground functionality has a corresponding application interface, the control region containing the second identifier is referred to herein as the first control region.
In addition, in a further embodiment, a recovery identifier may be further set in the application interface of the target application function corresponding to the displayed target second identifier, after the user enters the application interface of the target application function, if the user wants to use the application function, the user may click the recovery identifier, and after receiving a trigger input to the recovery identifier from the user, the user controls to recover the target application function in the preset recycle bin. If the user does not want to restore the open state although the user wants to use the application function, the user can directly operate the current application interface without clicking the restoration identifier. In this way, the flexibility of the user in controlling the application functions is further increased.
In another implementation manner of the present invention, the application interface displaying the target application function corresponding to the target second identifier may specifically be: and displaying the application interface of the target application function containing the latest updated function.
Since the application function may be updated at irregular time, which causes the application interface of the application function to change, in order to ensure that the user can experience the application function of the latest version, the embodiment directly displays the application interface including the latest updated function. I.e. the application interface of the application function with the latest version number.
In another implementation manner of the present invention, before the displaying the application interface of the target application function corresponding to the target second identifier, the method further includes:
and in the case that the target application function is changed, prompting the replacement function of the target application function or prompting that the target application function is deleted.
The application function corresponding to the same application id may be changed, for example, originally corresponding to function a, may correspond to function B after the system of the electronic device is updated, or the application function may have been deleted by the system. In this case, since the user may not know that the function of the application function has been changed or the application function has been deleted, the displayed contents may confuse the user after the user clicks the second identifier. In order to avoid the above problem, the present embodiment provides a prompt to the user, which improves the convenience of the user when using the device.
Then, a method of restoring the background function is described.
Optionally, in another embodiment, if the background function is closed and still stored in the background function menu, the switch control corresponding to the background function in the background function menu interface changes to the closed state, and in this case, the method may further include:
and receiving the starting input of the user to the switch control corresponding to the target second control area in the background function menu interface.
And responding to the starting input, controlling the switch control corresponding to the target second control area to be started, and recovering the application function corresponding to the target second control area.
That is, in this embodiment, the background function corresponding to the second control area may be recovered through the switch control corresponding to the second control area in the background function menu interface. By the method, the user can directly restore the background function in the process of checking the states of all the background functions without entering a preset recycle bin specially, and convenience of the user in restoring the background function is improved.
Based on the embodiment of the application function closing method, the invention further provides an electronic device, as shown in fig. 10, and fig. 10 shows a schematic structural diagram of the electronic device provided by the embodiment of the invention. The electronic device includes:
a first receiving module 501, configured to receive a first input to an application program interface;
the first display module is used for responding to a first input and displaying at least one control area which is divided in advance on an application program interface, wherein one control area corresponds to one application function;
a second receiving module 503, configured to receive a second input to a target control region in the at least one control region;
and a closing module 504, configured to close, in response to the second input, the application function corresponding to the target control area.
In the embodiment of the invention, after first input of a user for an application program interface is received, at least one control area which is divided in advance can be displayed on the application program interface, one control area corresponds to one application function, and the application function corresponding to the target control area is closed through second input of the user for the target control area, so that the purpose of independently closing the application functions contained in the application program interface is realized. Therefore, the embodiment of the invention enables the user to independently close the application function contained in the application program interface through simple input operation, simplifies the closing operation of the application program interface and improves the convenience of the user for closing the function in the application.
In some embodiments, in order to centrally save the application functions that have been turned off, the first display module is further configured to: in response to the first input, an identification of a preset recycle bin is displayed within the application interface.
Because the foreground function and the background function are different, the user usually needs to perform different input operations when closing the foreground function and the background function, therefore, in an embodiment of the present invention, the electronic device further includes:
and the second display module is used for displaying a dialog box for prompting the user to determine that the application function to be closed is a foreground function or a background function.
The user can be prompted by displaying the dialog box, and the user is informed that the background function can be closed, so that the use convenience of the user is improved. The user can determine the input of the foreground function or the background function to close the foreground function or the background function.
Based on the difference between the foreground function and the background function, the following embodiments respectively introduce the closing process of the foreground function and the background function.
First, a closing process of the foreground function will be described.
In an implementation manner of the present invention, the first display module may specifically be configured to: and under the condition that the received determination input that the application function to be closed is the foreground function is determined, displaying at least one first control area corresponding to at least one foreground function in the application program interface. The purpose of the display is to enable a user to visually check which functions in the current display interface belong to the same control area, so that the user can conveniently close the application functions.
In another implementation manner of the present invention, the second input of the second receiving module 503 may specifically include: the second input is the input of triggering the first identifier in the target first control area or dragging the target first control area to a preset recycle bin.
Correspondingly, at this time, the shutdown module 504 may specifically be configured to: and responding to the second input, and moving the target first control area into the preset recycle bin.
In an implementation manner of the present invention, the preset recycle bin may further include a first control area that is closed before and is currently in an open state, and each control area in the preset recycle bin includes a function identifier and a switch control corresponding to the control area. At this time, the closing module 504 may specifically be configured to:
and under the condition that the target control area is the first control area which is closed before and is in the opening state currently, controlling the switch control in the target control area to be in the closing state.
That is, in the present embodiment, the first control area that has been closed will always exist in the predetermined recycle bin. In this way, the user can know the first control area which is closed once by looking up the interface of the preset recycle bin, and subsequently, the user can directly enter the interface of the preset recycle bin to close foreground functions, so that the operation means of closing the foreground functions by the user is increased.
Then, the closing process of the background function is described.
In an implementation manner of the present invention, the first display module may specifically be configured to:
and under the condition that the received determined input that the application function to be closed is the background function is determined, displaying a background function menu interface, wherein the background function menu interface comprises at least one second control area corresponding to at least one background function, and the second control area comprises a background function identifier and a switch control corresponding to the background function identifier.
This arrangement facilitates the user's closing and resuming operations of the background function. And the user can intuitively know whether the current background function is in an open state or a closed state through the background function menu interface. The convenience of use for the user is improved.
In an embodiment of the present invention, the electronic device further includes:
and the path prompt module is used for displaying prompt information of a path entering the background function menu under the condition that the received determined input that the application function to be closed is the background function is determined, so that the user can operate conveniently.
In another implementation manner of the present invention, the background function menu interface may further include a first search input box; the electronic device may further include:
the first search module is used for receiving first search information input by a user in the first search input box. Displaying at least one second control area matching the first search information.
The second receiving module 503 may specifically be configured to: a second input is received to a target control region in the currently displayed second control region.
In other words, in this embodiment, the user may search in the background function menu interface to filter the background function that the user wants to close, so that efficiency and convenience of the user in searching for the background function to be closed are improved.
In another implementation manner of the present invention, the shutdown module 504 may specifically be configured to: and under the condition that the second input is closing of the switch control in the target second control area, controlling the switch control in the target second control area to be in a closed state, and moving the target second control area to a preset recycle bin.
In this embodiment, the closed second control area is moved into the preset recycle bin, so that a subsequent user can know the closed foreground function and the closed background function by looking at the interface of the preset recycle bin, and restore the foreground function or the background function.
In an implementation manner of the present invention, the preset recycle bin may further include a second control area that is closed before and is currently in an open state, and each control area in the preset recycle bin includes a function identifier and a switch control corresponding to the control area. In this case, the closing module 504 may specifically be configured to:
and under the condition that the target control area is a second control area which is closed before and is in an opening state currently, controlling the switch control in the target control area to be in a closing state.
That is, in the present embodiment, the second control area that has been closed is always present in the predetermined recycle bin. In this way, the user can know the second control area which is closed by the user through looking up the interface of the preset recycle bin, and subsequently, the user can directly enter the interface of the preset recycle bin to close the background function, so that the operation means of the user for closing the background function is increased.
In addition, in some other embodiments of the present invention, in order to facilitate the user to distinguish the closed application function, a label may be further added to the closed target control area, and these embodiments may be applied to the foreground function and the background function, respectively.
In particular, in one implementation of these embodiments, the user may be prompted to add a label to the application function to be closed before the application function is closed. Namely, the electronic device may further include:
the label prompting module is used for displaying prompt information for adding labels to the target control area; receiving label information input by a user; and marking the target control area according to the label information.
In this embodiment, by reminding the user to add the label, the user can know that the electronic device has the function of label addition, and thus, according to the habit of the user, the label is added to the target control area, so that the subsequent user can distinguish each application function according to the label on the closed control area.
In one implementation, the tag prompt module may be further configured to: and judging whether the target control area is added with the label or not, and if not, displaying prompt information for adding the label to the target control area.
In another implementation manner, the tag prompting module is specifically configured to: displaying prompt information for adding labels to the target control area; receiving label information input by a user in an input box; or receiving the selection input of the user to at least one target preset label, wherein the at least one target preset label is used as label information; and marking the target control area according to the label information.
In yet another implementation, the tag prompt module may be further configured to:
and under the condition that the selection input of the user on at least one target preset label is received, displaying prompt information for confirming whether to mark the target control area by using the selected label before marking the target control area according to the label information. The mode of further confirming the user can avoid the condition of wrong label selection caused by mistaken touch of the user and improve the accuracy of label setting.
In another implementation manner of the present invention, a manner of marking the target control area according to the label information in the label prompting module may specifically be:
after the target control area is moved to the preset recycling bin, the label information is marked on the target control area stored in the preset recycling bin, for example, the label information is used as a function identifier of the target control area, or is used as a part of detailed information in the target control area, and the like.
Alternatively, the marking of the target control area according to the label information may further include:
after the target control area is moved to a preset recycling bin, the target control area is stored in a group corresponding to the label information; and under the condition that the preset recycle bin does not contain the group corresponding to the label information, newly building the group corresponding to the label information, and storing the target control area into the newly built group.
In this embodiment, the target control area may be stored in the preset recycle bin in a manner of grouping according to the tag information marked by the target control area, so that the application functions that are closed are stored in the preset recycle bin in a manner of grouping according to the tag. Therefore, in the subsequent process that the user needs to check or recover the application function, the user can directly select the corresponding group and then search the application function to be checked or recovered in the group, so that the convenience of searching the application function in the preset recycle bin is facilitated for the user.
The electronic device provided in the embodiment of the present invention can implement each method step implemented in the method embodiments of fig. 1, 2, and 7, and is not described herein again to avoid repetition.
Based on the above embodiment of the processing method of the application function, the present invention further provides an electronic device, as shown in fig. 11, and fig. 11 shows a schematic structural diagram of the electronic device provided in the embodiment of the present invention. The electronic device includes:
a third receiving module 601, configured to receive a third input to the application program interface;
a second display module 602, configured to display an interface of a preset recycle bin in response to a third input; presetting a control area corresponding to the closed application function in an interface of the recycle bin; one control area corresponds to one application function;
a fourth receiving module 603, configured to receive a fourth input to the target control area in the interface of the preset recycle bin;
and a first restoring module 604, configured to restore the application function corresponding to the target control area in response to the fourth input.
In the embodiment of the invention, after the third input of the user for the application program interface is received, the interface of the preset recycle bin can be displayed on the application program interface, the preset recycle bin comprises the application function in the closed application program, and the application function corresponding to the target control area can be replied according to the fourth input of the user. In this way, the purpose of independently restoring the application functions that have been closed can be achieved. Therefore, the embodiment of the invention enables the user to independently recover the application function contained in the closed application program interface through simple input operation, facilitates the user to simplify the recovery operation of the application program interface, and improves the convenience for the user to recover the function in the application.
In an implementation manner of the present invention, the interface of the preset recycle bin further includes a second search input box; the electronic device may further include:
the second search module is used for receiving second search information input in the second search input box; and displaying a control area matched with the second search information.
The fourth receiving module 603 may be configured to: and receiving a fourth input of a control area currently displayed in the interface of the preset recycle bin.
Through the second search input box that sets up in presetting the recycle bin, can directly search for the control region that contains in presetting the recycle bin to make the search that the user can be quick look over or resume to self required control region, improved the convenience when the user used and preset the recycle bin.
In an implementation manner of the present invention, the control area in the interface of the preset recycle bin may include the application function identifier and the corresponding switch control. The on and off states of the switch control herein correspond to the on and off states of the application function, respectively. Therefore, the fourth input is an input operation of clicking the switch control in the target control area to turn the switch control into the on state.
Based on the difference between the foreground function and the background function, the following embodiments respectively introduce the recovery processes of the foreground function and the background function.
First, a recovery process of the foreground function is described.
In an implementation manner of the present invention, the interface of the preset recycling bin may further include: and closing the thumbnail of the corresponding display interface in the control area. The embodiment can bring convenience to the user to quickly remember the condition of closing the application function before the application function is closed by providing the thumbnail and displaying the state of the function in the application before the function is closed as the thumbnail, so that the user can conveniently restore the application function. The thumbnail herein refers to an image obtained by scaling down a screen shot of a display interface.
In another implementation manner of the present invention, the interface of the preset recycling bin may further include: a second identifier contained within each control area; the electronic device may further include:
and the fifth receiving module is used for receiving a fifth input of the target second identification.
And the interface display module is used for responding to the fifth input, displaying an application interface of the target application function corresponding to the target second identifier, and recovering the display content before the target application function is closed.
And the return module is used for displaying an interface of the preset recycle bin under the condition of receiving a sixth input of returning to the preset recycle bin.
In this case, if the user wants to use the application function, the user can use the application function directly, and if the user does not want to use the application, the user can return to the interface of the preset recycle bin. Since only foreground functionality has a corresponding application interface, the control region containing the second identifier is referred to herein as the first control region.
In a further embodiment, a recovery identifier may be further set in the application interface of the target application function corresponding to the displayed target second identifier, and after entering the application interface of the target application function, if the user wants to use the application function, the user may click the recovery identifier, and after receiving a trigger input to the recovery identifier from the user, the user is controlled to recover the target application function in the preset recycle bin. If the user does not want to restore the open state although the user wants to use the application function, the user can directly operate the current application interface without clicking the restoration identifier. In this way, the flexibility of the user in controlling the application functions is further increased.
In another implementation manner of the present invention, the interface display module may be specifically configured to: and responding to the fifth input, displaying the application interface of the target application function containing the latest updated function, and restoring the display content before the target application function is closed. In order to ensure that the user can experience the latest version of the application function, the embodiment directly displays the application interface containing the latest updated function. I.e. the application interface of the application function with the latest version number.
In another implementation manner of the present invention, the interface display module may be further configured to:
and in the case that the target application function is changed, prompting the replacement function of the target application function or prompting that the target application function is deleted. According to the embodiment, the user is prompted when the application function corresponding to the application identifier changes, and the convenience of the user in use is improved.
Then, a process of restoring the background function is described.
Optionally, in another embodiment, if the background function is closed and still stored in the background function menu, the switch control corresponding to the background function in the background function menu interface changes to the closed state, in this case, the electronic device may further include:
and the starting input module is used for receiving the starting input of the user to the switch control corresponding to the target second control area in the background function menu interface.
And the second recovery module is used for responding to the starting input, controlling the opening and closing control corresponding to the target second control area to be started, and recovering the application function corresponding to the target second control area.
In this embodiment, the background function corresponding to the second control area may be recovered through the switch control corresponding to the second control area in the background function menu interface. By the method, the user can directly restore the background function in the process of checking the states of all the background functions without entering a preset recycle bin specially, and convenience of the user in restoring the background function is improved.
The electronic device provided in the embodiment of the present invention can implement each method step implemented in the method embodiment of fig. 8, and is not described here again to avoid repetition.
Fig. 12 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present invention.
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. 12 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 processor 710 is configured to receive a first input to the application program interface; responding to the first input, and displaying at least one control area which is divided in advance on the application program interface, wherein one control area corresponds to one application function; receiving a second input to a target control region of the at least one control region; and responding to the second input, and closing the application function corresponding to the target control area.
Or, receiving a third input to the application program interface; responding to the third input, and displaying an interface of a preset recycle bin; the interface of the preset recycle bin comprises a control area corresponding to the closed application function; one control area corresponds to one application function; receiving a fourth input of a target control area in the interface of the preset recycle bin; and responding to the fourth input, and restoring the application function corresponding to the target control area.
In the embodiment of the invention, after the first input of the user for the application program interface is determined to be received, at least one control area which is divided in advance can be displayed on the application program interface, one control area corresponds to one application function, and the application function corresponding to the target control area is closed through the second input of the user for the target control area, so that the purpose of independently closing the application functions contained in the application program interface is realized. Therefore, the embodiment of the invention enables the user to independently close the application function contained in the application program interface through simple input operation, simplifies the closing operation of the application program interface and improves the convenience of the user for closing the function in the application.
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 shown in fig. 12 as two separate 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.
Preferably, an embodiment of the present invention further provides an electronic device, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program, when executed by the processor 710, implements each process of the foregoing application function shutdown method or the foregoing application function processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, it is not described herein again.
The 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 executed by a processor, the computer program implements each process of the foregoing application function closing method or application function processing method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 solutions 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 embodiments 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 modifications can be made without departing from the spirit and scope of the present invention.
Claims (12)
1. A processing method of an application function is applied to an electronic device, and is characterized by comprising the following steps:
receiving a first input to an application program interface;
responding to the first input, and displaying at least one control area which is divided in advance on the application program interface, wherein one control area corresponds to one application function;
receiving a second input to a target control region of the at least one control region;
and responding to the second input, and closing the application function corresponding to the target control area.
2. The method of claim 1, wherein prior to displaying the pre-partitioned at least one control area on the application interface, further comprising:
displaying a dialog box for prompting a user to determine whether the application function to be closed is a foreground function or a background function;
the displaying of the at least one control area pre-divided on the application program interface includes:
under the condition that the received determination input that the application function to be closed is the foreground function is determined, displaying at least one first control area corresponding to at least one foreground function in the application program interface;
and displaying a background function menu interface under the condition that the received determined input that the application function to be closed is the background function is determined, wherein the background function menu interface comprises at least one second control area corresponding to at least one background function, and the second control area comprises a background function identifier and a switch control corresponding to the background function identifier.
3. The method according to claim 2, wherein the closing the application function corresponding to the target control area comprises:
under the condition that the second input is the input of triggering a first mark in a target first control area or dragging the target first control area to a preset recycle bin, moving the target first control area to the preset recycle bin;
and under the condition that the second input is the input of closing the switch control in the target second control area, controlling the switch control in the target second control area to be in a closed state, and moving the target second control area to the preset recycle bin.
4. The method of claim 3, wherein the background functionality menu interface further comprises a first search input box; after the displaying the background function menu interface and before the receiving the second input to the target control area in the at least one control area, the method further includes:
receiving first search information input by a user in the first search input box;
displaying at least one of the second control regions that matches the first search information;
the receiving of the second input to the target control area in the at least one control area specifically includes:
a second input is received to a target control region in the currently displayed second control region.
5. The method of claim 3, wherein the pre-determined recycle bin further comprises: the first control area and/or the second control area which are closed before and are in an opening state currently; each control area in the preset recycle bin comprises a corresponding function identifier and a switch control;
the closing of the application function corresponding to the target control area specifically includes:
and under the condition that the target control area is the first control area and/or the second control area which is closed before and is in the opening state currently, controlling the switch control in the target control area to be in the closing state.
6. The method of claim 1, wherein after receiving the second input to the target control region of the at least one control region and before closing the application function corresponding to the target control region, further comprising:
displaying prompt information for adding labels to the target control area;
receiving label information input by a user;
marking the target control area according to the label information;
after the application function corresponding to the target control area is closed, the method further includes:
and grouping and storing the target control area into a preset recycle bin according to the label information marked by the target control area.
7. A processing method of an application function is applied to an electronic device, and is characterized by comprising the following steps:
receiving a third input to the application program interface;
responding to the third input, and displaying an interface of a preset recycle bin; the interface of the preset recycle bin comprises a control area corresponding to the closed application function; one control area corresponds to one application function;
receiving a fourth input of a target control area in the interface of the preset recycle bin;
and responding to the fourth input, and restoring the application function corresponding to the target control area.
8. The method of claim 7, wherein the control area further comprises a second identification: the method further comprises the following steps:
receiving a fifth input to the target second identification;
responding to the fifth input, displaying an application interface of a target application function containing a recently updated function, and recovering the display content before the target application function is closed;
and displaying an interface of the preset recycle bin under the condition that a sixth input returning to the preset recycle bin is received.
9. The method according to claim 7 or 8, wherein the interface of the preset recycle bin comprises a foreground function list and a background function list;
the foreground function list comprises at least one first control area, and the first control area comprises foreground function marks and switch controls corresponding to the foreground function marks; the background function list comprises at least one second control area, and the second control area comprises a background function identifier and a switch control corresponding to the background function identifier.
10. The method of claim 9, wherein the interface of the pre-determined recycle bin further comprises a second search input box;
after the interface of the preset recycle bin is displayed, before a fourth input to a target control area in the interface of the preset recycle bin is received, the method specifically includes:
receiving second search information input in the second search input box;
displaying a control area matched with the second search information;
the receiving a fourth input to a target control area within the interface of the preset recycle bin includes:
and receiving a fourth input of a control area currently displayed in the interface of the preset recycle bin.
11. An electronic device, comprising:
the first receiving module is used for receiving first input of the application program interface;
the first display module is used for responding to the first input and displaying at least one control area which is divided in advance on the application program interface, wherein one control area corresponds to one application function;
a second receiving module, configured to receive a second input to a target control region in the at least one control region;
and the closing module is used for responding to the second input and closing the application function corresponding to the target control area.
12. An electronic device, comprising:
the third receiving module is used for receiving a third input to the application program interface;
the second display module is used for responding to the third input and displaying an interface of a preset recycle bin; the interface of the preset recycle bin comprises a control area corresponding to the closed application function; one control area corresponds to one application function;
the fourth receiving module is used for receiving a fourth input of a target control area in the interface of the preset recycle bin;
and the first recovery module is used for responding to the fourth input and recovering the application function corresponding to the target control area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911294844.0A CN111104038B (en) | 2019-12-16 | 2019-12-16 | Application function processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911294844.0A CN111104038B (en) | 2019-12-16 | 2019-12-16 | Application function processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111104038A true CN111104038A (en) | 2020-05-05 |
CN111104038B CN111104038B (en) | 2021-09-21 |
Family
ID=70423566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911294844.0A Active CN111104038B (en) | 2019-12-16 | 2019-12-16 | Application function processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111104038B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111880675A (en) * | 2020-06-19 | 2020-11-03 | 维沃移动通信(杭州)有限公司 | Interface display method and device and electronic equipment |
CN113296948A (en) * | 2021-05-24 | 2021-08-24 | 维沃移动通信有限公司 | Application program management method and device and electronic equipment |
CN113730911A (en) * | 2021-09-02 | 2021-12-03 | 网易(杭州)网络有限公司 | Game message processing method and device and electronic terminal |
CN114489858A (en) * | 2022-02-11 | 2022-05-13 | Tcl通讯科技(成都)有限公司 | Application software information setting method and device, terminal equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102662649A (en) * | 2012-03-06 | 2012-09-12 | 惠州Tcl移动通信有限公司 | Method and apparatus for customizing function menu of application programs |
CN104866212A (en) * | 2014-02-20 | 2015-08-26 | 维沃移动通信有限公司 | Method for fast calling program or function and system thereof |
US20160085404A1 (en) * | 2014-09-19 | 2016-03-24 | Alibaba Group Holding Limited | Mobile Application Configuration |
CN106855771A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of data processing method, device and intelligent terminal |
CN107015721A (en) * | 2016-10-20 | 2017-08-04 | 阿里巴巴集团控股有限公司 | The management method and device of a kind of application interface |
CN107302628A (en) * | 2017-05-27 | 2017-10-27 | 广东欧珀移动通信有限公司 | The control method and Related product of application function |
CN107390973A (en) * | 2017-07-11 | 2017-11-24 | 深圳传音通讯有限公司 | Mobile terminal and mobile terminal fast method to set up |
WO2018004200A1 (en) * | 2016-07-01 | 2018-01-04 | Samsung Electronics Co., Ltd. | Electronic device and information providing method thereof |
CN107908329A (en) * | 2017-11-15 | 2018-04-13 | 维沃移动通信有限公司 | The management method and mobile terminal of application icon |
CN108810274A (en) * | 2018-06-08 | 2018-11-13 | 广州优视网络科技有限公司 | Using startup method, apparatus, storage medium and the terminal of miscellaneous function |
CN110244999A (en) * | 2019-06-17 | 2019-09-17 | 广州酷狗计算机科技有限公司 | Control method, apparatus, equipment and the storage medium of destination application operation |
-
2019
- 2019-12-16 CN CN201911294844.0A patent/CN111104038B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102662649A (en) * | 2012-03-06 | 2012-09-12 | 惠州Tcl移动通信有限公司 | Method and apparatus for customizing function menu of application programs |
CN104866212A (en) * | 2014-02-20 | 2015-08-26 | 维沃移动通信有限公司 | Method for fast calling program or function and system thereof |
US20160085404A1 (en) * | 2014-09-19 | 2016-03-24 | Alibaba Group Holding Limited | Mobile Application Configuration |
CN106855771A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of data processing method, device and intelligent terminal |
WO2018004200A1 (en) * | 2016-07-01 | 2018-01-04 | Samsung Electronics Co., Ltd. | Electronic device and information providing method thereof |
CN107015721A (en) * | 2016-10-20 | 2017-08-04 | 阿里巴巴集团控股有限公司 | The management method and device of a kind of application interface |
CN107302628A (en) * | 2017-05-27 | 2017-10-27 | 广东欧珀移动通信有限公司 | The control method and Related product of application function |
CN107390973A (en) * | 2017-07-11 | 2017-11-24 | 深圳传音通讯有限公司 | Mobile terminal and mobile terminal fast method to set up |
CN107908329A (en) * | 2017-11-15 | 2018-04-13 | 维沃移动通信有限公司 | The management method and mobile terminal of application icon |
CN108810274A (en) * | 2018-06-08 | 2018-11-13 | 广州优视网络科技有限公司 | Using startup method, apparatus, storage medium and the terminal of miscellaneous function |
CN110244999A (en) * | 2019-06-17 | 2019-09-17 | 广州酷狗计算机科技有限公司 | Control method, apparatus, equipment and the storage medium of destination application operation |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111880675A (en) * | 2020-06-19 | 2020-11-03 | 维沃移动通信(杭州)有限公司 | Interface display method and device and electronic equipment |
CN111880675B (en) * | 2020-06-19 | 2024-03-15 | 维沃移动通信(杭州)有限公司 | Interface display method and device and electronic equipment |
CN113296948A (en) * | 2021-05-24 | 2021-08-24 | 维沃移动通信有限公司 | Application program management method and device and electronic equipment |
CN113296948B (en) * | 2021-05-24 | 2024-04-26 | 维沃移动通信有限公司 | Application management method and device and electronic equipment |
CN113730911A (en) * | 2021-09-02 | 2021-12-03 | 网易(杭州)网络有限公司 | Game message processing method and device and electronic terminal |
CN114489858A (en) * | 2022-02-11 | 2022-05-13 | Tcl通讯科技(成都)有限公司 | Application software information setting method and device, terminal equipment and storage medium |
CN114489858B (en) * | 2022-02-11 | 2024-03-19 | Tcl通讯科技(成都)有限公司 | Application software information setting method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111104038B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111104038B (en) | Application function processing method and electronic equipment | |
CN108845853B (en) | Application program starting method and mobile terminal | |
CN108958865B (en) | Corner mark management method and mobile terminal | |
EP3786771B1 (en) | Message management method and terminal | |
CN110502163B (en) | Terminal device control method and terminal device | |
CN110750188A (en) | Message display method and electronic equipment | |
CN108646958B (en) | Application program starting method and terminal | |
CN110888707A (en) | Message sending method and electronic equipment | |
CN107992342B (en) | Application configuration changing method and mobile terminal | |
CN109901976B (en) | Application program management method and terminal equipment | |
CN109521920B (en) | Application icon control method and terminal equipment | |
CN110308834B (en) | Setting method of application icon display mode and terminal | |
CN108170329B (en) | Display control method and terminal equipment | |
CN109062634B (en) | Application starting method and mobile terminal | |
CN110209331A (en) | Information cuing method and terminal | |
CN111459381A (en) | Information display method, electronic equipment and storage medium | |
CN111459362A (en) | Information display method, information display device, electronic apparatus, and storage medium | |
CN110647277A (en) | Control method and terminal equipment | |
CN111399715B (en) | Interface display method and electronic equipment | |
CN110167006B (en) | Method for controlling application program to use SIM card and terminal equipment | |
CN110175063B (en) | Operation assisting method, device, mobile terminal and storage medium | |
CN111367450A (en) | Application program control method, electronic device and medium | |
CN111562959A (en) | Icon management method and electronic equipment | |
CN109284146B (en) | Light application starting method and mobile terminal | |
CN111240551B (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 |