CN110069328B - Application closing method and terminal equipment - Google Patents

Application closing method and terminal equipment Download PDF

Info

Publication number
CN110069328B
CN110069328B CN201910228816.2A CN201910228816A CN110069328B CN 110069328 B CN110069328 B CN 110069328B CN 201910228816 A CN201910228816 A CN 201910228816A CN 110069328 B CN110069328 B CN 110069328B
Authority
CN
China
Prior art keywords
application
input
applications
sub
background
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910228816.2A
Other languages
Chinese (zh)
Other versions
CN110069328A (en
Inventor
陆晓浒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ioco Communication Software Co ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910228816.2A priority Critical patent/CN110069328B/en
Publication of CN110069328A publication Critical patent/CN110069328A/en
Application granted granted Critical
Publication of CN110069328B publication Critical patent/CN110069328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Abstract

The embodiment of the invention discloses an application closing method and terminal equipment, relates to the technical field of communication, and aims to solve the problems that the operation process of closing background application in the prior art is complex and time-consuming. The method comprises the following steps: receiving a first input of a first application identifier by a user, wherein the first application identifier is one of N application identifiers, each of the N application identifiers is used for indicating different applications running in a background, and the first application identifier is used for indicating the first application; responding to the first input, determining M second applications associated with the first application, and executing the target action according to the first input parameter of the first input, wherein the M second applications are the applications indicated by the M second application identifiers, and the M second application identifiers are the application identifiers in the N application identifiers; wherein the target action comprises at least one of: and closing the first application from the background, and closing at least one second application in the M second applications from the background.

Description

Application closing method and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an application closing method and terminal equipment.
Background
With the continuous development of terminal technologies, the types of applications (apps) in terminal devices are increasing. At present, a multitasking operating system (for example, an android operating system) is usually adopted for a terminal device, and in the multitasking operating system, only one application can be run on a foreground of the terminal device, and other applications are run on a background of the terminal device.
However, since the running memory of the terminal device is limited, when more and more applications run in the background of the terminal device, the response speed of the terminal device may be reduced. At this time, the response speed of the terminal device can be improved by closing the application running in the background. Specifically, the user may trigger to close the applications running in the background one by one, or trigger to close all the applications at one time.
Then, when the user needs to close part of the background applications, the user needs to find the applications needing to be closed one by one and then trigger the closing of the applications one by one. Therefore, the operation process of closing the background application in the prior art is complex and time-consuming.
Disclosure of Invention
The embodiment of the invention provides an application closing method and terminal equipment, and aims to solve the problems that the operation process of closing background application in the prior art is complex and time-consuming.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an application shutdown method, which is applied to a terminal device, and the method includes: receiving a first input of a first application identifier from a user, wherein the first application identifier is one of N application identifiers, each of the N application identifiers is used for indicating a different application running in a background, and the first application identifier is used for indicating a first application; in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input, wherein the M second applications are applications indicated by M second application identifications, and the M second application identifications are application identifications in the N application identifications; wherein the target action comprises at least one of: and closing the first application from the background and closing at least one second application in the M second applications from the background, wherein N is an integer larger than 1, and M is a positive integer.
In a second aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: the device comprises a receiving module and a processing module;
the receiving module is configured to receive a first input of a first application identifier by a user, where the first application identifier is one of N application identifiers, each of the N application identifiers is used to indicate a different application running in a background, and the first application identifier is used to indicate a first application;
the processing module is configured to determine, in response to the first input received by the receiving module, M second applications associated with the first application, and execute a target action according to a first input parameter of the first input, where the M second applications are applications indicated by M second application identifiers, and the M second application identifiers are application identifiers in the N application identifiers;
wherein the target action comprises at least one of: and closing the first application from the background and closing at least one second application in the M second applications from the background, wherein N is an integer larger than 1, and M is a positive integer.
In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the application shutdown method in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the application shutdown method as in the first aspect.
In the embodiment of the present invention, a terminal device may receive a first input of a first application identifier from a user, where the first application identifier is one of N application identifiers, each of the N application identifiers is used to indicate a different application running in a background, and the first application identifier is used to indicate a first application; in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input, wherein the M second applications are applications indicated by M second application identifications, and the M second application identifications are application identifications in the N application identifications; wherein the target action comprises at least one of: and closing the first application from the background, and closing at least one second application in the M second applications from the background. By the scheme, the terminal device can determine the M second applications associated with the first application according to a first input of an application identifier (first application identifier) of the first application by a user, and execute a target action according to a first input parameter of the first input (the target action comprises at least one of closing the first application from the background and closing at least one second application in the M second applications from the background), namely, the terminal device can close at least one of the following applications from the background according to an operation of the application identifier of the first application by the user: the first application and at least one second application in the M second applications can control the quick closing of the background application needing to be closed by a user through the operation of a certain application identifier, so that the problems that the operation process of closing the background application in the prior art is complex and time-consuming are solved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a flowchart of an application shutdown method according to an embodiment of the present invention;
fig. 3 is a second flowchart of an application shutdown method according to an embodiment of the present invention;
fig. 4 is a third flowchart of an application shutdown method according to an embodiment of the present invention;
fig. 5 is one of schematic diagrams of an interface of an application closing method according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of an interface applying the shutdown method according to the embodiment of the present invention;
FIG. 7 is a fourth flowchart of an application shutdown method according to an embodiment of the present invention;
fig. 8 is a third schematic diagram of an interface of an application shutdown method according to an embodiment of the present invention;
FIG. 9 is a fifth flowchart of an application shutdown method according to an embodiment of the present invention;
FIG. 10 is a sixth flowchart of an application shutdown method according to an embodiment of the present invention;
FIG. 11 is a fourth schematic diagram of an interface of an application shutdown method according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 13 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
Description of the drawings: in the interface diagram of the embodiment of the present invention, the dashed box application identifier is used to indicate a position of the application identifier before the input, the solid box application identifier is used to indicate a position of the application identifier after the input, and the dashed arrow is used to indicate a moving direction in which the user drags the first application identifier, for example, in (b) in fig. 5, the dashed box "app 4" is a position of "app 4" before the second sub-input, the solid box "app 4" is a position of "app 4" after the second sub-input, and the dashed arrow is a moving direction in which the second sub-input drags "app 3".
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.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first," "second," "third," and "fourth," etc. in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input, the second input, the third input, the fourth input, etc. are used to distinguish between different inputs, rather than to describe a particular order of inputs.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the embodiments of the present invention, unless otherwise specified, "a plurality" means two or more, for example, a plurality of processing units means two or more processing units; plural elements means two or more elements, and the like.
The embodiment of the invention provides an application closing method, wherein a terminal device can receive a first input of a first application identifier by a user, the first application identifier is one of N application identifiers, each of the N application identifiers is used for indicating different applications running in a background, and the first application identifier is used for indicating a first application; in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input, wherein the M second applications are applications indicated by M second application identifications, and the M second application identifications are application identifications in the N application identifications; wherein the target action comprises at least one of: and closing the first application from the background, and closing at least one second application in the M second applications from the background. By the scheme, the terminal device can determine the M second applications associated with the first application according to a first input of an application identifier (first application identifier) of the first application by a user, and execute a target action according to a first input parameter of the first input (the target action comprises at least one of closing the first application from the background and closing at least one second application in the M second applications from the background), namely, the terminal device can close at least one of the following applications from the background according to an operation of the application identifier of the first application by the user: the first application and at least one second application in the M second applications can control the quick closing of the background application needing to be closed by a user through the operation of a certain application identifier, so that the problems that the operation process of closing the background application in the prior art is complex and time-consuming are solved.
The following describes a software environment applied by the application shutdown method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the application closing method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the application closing method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the application shutdown method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution subject of the application shutdown method provided in the embodiment of the present invention may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the method in the terminal device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example to exemplarily describe the application shutdown method provided by the embodiment of the present invention.
Referring to fig. 2, an embodiment of the present invention provides an application shutdown method, which is applied to a terminal device and may include steps 201 to 202 described below.
Step 201, the terminal device receives a first input of the first application identifier by the user.
The first application identifier is one of N application identifiers, each of the N application identifiers is used for indicating a different application running in the background, the first application identifier is used for indicating a first application, and N is an integer greater than 1.
The first input may be any number of times of click input of the user on the first application identifier, the first input may also be a sliding input of the user in any direction on the first application identifier, the first input may also be an input of the user dragging the first application identifier in any direction, and the first input may also be other feasibility inputs, which is not limited in the embodiment of the present invention.
Illustratively, N applications are run in a background of the terminal device, each application corresponds to a different application identifier, a background running interface of the terminal device is used for displaying N application identifiers corresponding to the N applications, and each application identifier is used for indicating one application which is running in the background. The first application identifier is one of the N application identifiers, the first application indicated by the first application identifier is one of the N applications, and the terminal device receives first input of the first application identifier currently displayed in the background running interface from a user.
In this embodiment of the present invention, the application identifier may be an application icon, an application name, any interface in the application (for example, the last interface when the application runs in the foreground), or another identifier capable of indicating the application, which is not limited in this embodiment of the present invention. For example, the first application is identified as an application icon for the first application.
Step 202, in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input.
The M second applications are indicated by the M second application identifiers, and the M second application identifiers are application identifiers in the N application identifiers; wherein the target action comprises at least one of: and closing the first application from the background, and closing at least one second application in the M second applications from the background, wherein M is a positive integer.
The at least one second application refers to one or more (two or more) second applications. Even if the application is closed from the background and runs after finishing running, the application does not run in the foreground and does not run in the background.
In response to the first input, the terminal device determines M second applications associated with the first application from the N applications running in the background, and then executes a target action according to the first input parameter of the first input (for example, close the first application from the background according to the first input parameter of the first input; or close at least one of the M second applications from the background according to the first input parameter of the first input; or close the first application and at least one of the M second applications from the background according to the first input parameter of the first input). The specific correspondence between the first input parameter of the first input and the target action may be set according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, the M second applications may be preset applications associated with the first application.
Alternatively, the specific determination of the M second applications associated with the first application may be implemented by the following step 202 a.
Step 202a, the terminal device obtains the M second applications according to the target policy.
Specifically, the terminal device analyzes the M second applications according to the target policy. The target policy includes at least one of: the method comprises the following steps of a user use habit strategy, a scene association strategy, an operation intervention strategy and a system resource warning strategy.
For example, the following briefly describes the usage habit policy of the user, and specifically, reference may be made to the related art, and the embodiments of the present invention are not limited thereto.
Counting the operation chain of the application closing of the user on the background running interface, for example, when the terminal device detects that the user closes the application on the background running interface, recording the closing operation chain of the user, wherein the data format of the operation chain is as follows:
Figure BDA0002006068690000051
recording an operation time point when a user closes the application, and recording the position and the name of the application according to the closing sequence. Under the support of a large amount of user historical data, the following four types of data can be calculated in real time by using SPARK (platform for realizing rapid and universal cluster computing) streaming processing for data analysis:
big data-data one: closing operation flow schedule detail of X hour and X minute of working day
Big data-data two: closing operation flow schedule detail of X hour and X minute on weekend
Big data-data three: total shutdown operational flow schedule
Big data-data four: closing operation flow schedule detail of same time period in last week
The four types of data can be used as basic data for analyzing the habit of closing the background application of the user. Illustratively, by using the data counted by the big data, weights are respectively set for four types of data of the big data, the data in the four types of data are respectively multiplied by the corresponding weights (specifically, the number of occurrences of each operation behavior (the operation behavior is the same operation behavior with the operation flow ranking similarity larger than a preset threshold) is counted, and the number of occurrences of each operation behavior is multiplied by the corresponding weight), and at least one (for example, three operation behaviors) operation behavior with the highest probability is calculated and recommended to the user. According to the method, the associated applications (M second applications) needing to be closed can be recommended to the user in real time.
In the embodiment of the present invention, the scenario association policy may specifically be: the application association dictionary is set, for example, policies such as "supplement each other", "substitute each other", and the like may be set. The applications belong to the complementary incidence relation class and can be recommended to be closed (namely, each second application in the M second applications and the first application belong to the complementary incidence relation), and the applications belong to the mutual substitution incidence relation class and can not be recommended to be closed.
For example, the foreign language reading application and the translation application are associated with each other, and if the terminal device detects that the user is closing the foreign language reading application, the terminal device may recommend to the user to close the translation application. The hero alliance and the three kingdoms killer are in a mutual substitution association relationship, and if the terminal device detects that the user closes the hero alliance, the terminal device does not recommend the user to close the three kingdoms killer.
In the embodiment of the present invention, the operation intervention policy refers to that the application recommended to the user by the terminal device may be an application (M second applications) that can be set by the operation and can be preferentially closed, and otherwise, the terminal device does not recommend to the user to close an application that is set by the operation and cannot be closed.
In the embodiment of the present invention, the system resource alert policy refers to: when the system power is insufficient or the energy-saving setting is performed, the terminal equipment recommends to the user to close the application with large power usage and/or the game application (M second applications); when the slow running of the system is detected, the terminal equipment recommends the user to close the applications (M second applications) occupying large running memory.
It should be noted that: the terminal device can dynamically recommend applications needing to be closed to the user through one or more of the target strategies, and the terminal device can dynamically update and switch the recommendation algorithm through the recommended exposure and the user use condition, so that the algorithm is more and more suitable for the corresponding user.
The terminal device may determine M second applications associated with the first application according to the target policy analysis described above.
Optionally, the first input parameter may include at least one of: the input method comprises the steps of inputting direction, input speed, input touch duration, input track, input touch strength, input touch area, capacitance variation of a corresponding input touch area, voice parameters and the like.
For example, if the first input parameter is an input direction, the terminal device may determine a target action corresponding to the first input parameter according to the input direction of the first input, and execute the target action. Namely, different input directions correspond to different target actions, different target actions are determined according to different input directions of the first input, and different target actions are executed. For example, if the first input comprises an upward sliding, the terminal device closes the first application from the background; if the first input comprises sliding upwards and rightwards, the terminal equipment closes at least one second application in the first application and the M second applications from the background; and if the first input comprises leftward sliding, the terminal equipment closes at least one second application in the M second applications from the background. If the first input parameter is the input track or the voice parameter, the terminal device may determine the target action corresponding to the first input parameter according to the input track or the voice parameter, and execute the target action. Namely, different input tracks or voice parameters correspond to different target actions, different target actions are determined according to different first input tracks or voice parameters, and different target actions are executed.
For example, if the first input parameter is an input speed, the terminal device may determine a target action corresponding to the input speed of the first input, and execute the target action. Namely, different input speed ranges correspond to different target actions, different target actions are determined according to the speed range to which the different first input speed belongs, and different target actions are executed. Comparing the input speed, if the first input parameter is the input touch duration, the input touch strength, the input touch area or the input capacitance variation of the corresponding touch area, the terminal device may determine the corresponding target action according to the first input touch duration, the input touch strength, the input touch area or the input capacitance variation of the corresponding touch area, and execute the target action. The method comprises the steps of inputting a first input touch duration range, a first input touch strength range, a first input touch area range or a first input corresponding touch area capacitance variation range, wherein the first input touch duration range, the first input touch strength range, the first input touch area range or the first input corresponding touch area capacitance variation range correspond to different target actions, determining different target actions according to different first input touch duration ranges, different first input touch strength ranges, different first input touch area ranges or different first input corresponding touch area capacitance variation ranges, and executing different target actions.
Illustratively, if the first input parameter includes at least one of: the input direction, the input speed, the input touch duration, the input trajectory, the input touch strength, the input touch area, the capacitance variation of the touch region corresponding to the input, the voice parameter, and the like, the terminal device may determine the target action corresponding to the first input according to at least one of the input direction, the input speed, the input touch duration, the input trajectory, the input touch strength, the input touch area, the capacitance variation of the touch region corresponding to the input, the voice parameter, and the like, and execute the target action.
In an embodiment of the present invention, the first input may be one input, and the terminal device may determine, according to the first input, M second applications related to the first application, and execute the target action according to a first input parameter of the first input. The first input may also be multiple inputs, for example, the first input is two inputs (a first sub-input and a second sub-input), the first sub-input is used for triggering the terminal device to determine M second applications associated with the first application, and the second sub-input is used for triggering the terminal device to execute the target action according to second input parameters of the second sub-input.
Optionally, the first input comprises a first sub-input and a second sub-input; then, in conjunction with fig. 2, as shown in fig. 3, the above steps 201 to 202 can be specifically realized by the following steps 301 to 304.
Step 301, the terminal device receives a first sub-input of the first application identifier by the user.
The description of the first sub-input may refer to the above description of the first input, and is not repeated here.
Step 302, the terminal device determines the M second applications in response to the first sub-input.
Specifically, reference may be made to the related description in step 202, and details are not repeated here.
Step 303, the terminal device receives a second sub-input of the first application identifier from the user.
The description of the second sub-input may refer to the above description related to the first input, and is not repeated here.
And 304, the terminal device responds to the second sub-input and executes the target action according to the second input parameter of the second sub-input.
The description of the second input parameter may refer to the above description related to the first input parameter, and is not repeated here. The second input parameter may be the same as or different from the first input parameter, and the embodiment of the present invention is not limited.
Specifically, reference may be made to the related description in step 202, and details are not repeated here.
Therefore, in the case that the first input comprises the first sub-input and the second sub-input, the terminal device may determine, in response to the first sub-input, M second applications associated with the first application, and then trigger the terminal device to quickly close, from the background, the application that the user needs to close, through the second input parameters.
Alternatively, the step 304 may be specifically realized by the following step 304a, step 304b, or step 304 c.
Step 304a, under the condition that the second input parameter accords with the first preset parameter, the terminal device closes the first application from the background.
The second input parameter meeting the first preset parameter may specifically be the second input parameter being the first preset parameter, or may be the second input parameter being within the range of the first preset parameter indicated by the first preset parameter, which is specifically determined according to the actual use requirement, and the embodiment of the present invention is not limited.
And 304b, under the condition that the second input parameter accords with a second preset parameter, the terminal equipment closes the at least one second application from the background.
The second input parameter meeting the second preset parameter may specifically be the second input parameter being the second preset parameter, or may be the second input parameter being within a second preset parameter range indicated by the second preset parameter, which is specifically determined according to the actual use requirement, and the embodiment of the present invention is not limited.
Step 304c, under the condition that the second input parameter accords with a third preset parameter, the terminal device closes the first application and the at least one second application from the background.
The second input parameter meeting the third preset parameter may specifically be the second input parameter being the third preset parameter, or may be the second input parameter being within a third preset parameter range indicated by the third preset parameter, which is specifically determined according to actual use requirements, and the embodiment of the present invention is not limited.
Therefore, the terminal equipment can determine the corresponding target action according to the second input parameter, and accordingly the application needing to be closed by the user can be closed quickly.
Optionally, the first sub-input is used (for triggering the terminal device) to control the first application identifier to move along a first direction on the target interface; referring to fig. 3, as shown in fig. 4, after step 302, the application shutdown method provided in the embodiment of the present invention may further include step 305 described below.
And 305, the terminal device controls the K second application identifications to move along the first direction on the target interface.
The K second application identifiers are application identifiers in the M second application identifiers; the K second application identifications comprise the application identification of the at least one second application, K is a positive integer and is less than or equal to M.
When the user controls the first application identifier to move on the target interface along the first direction, the terminal device displays the K second applications associated with the first application on the terminal device and also moves on the target interface along the first direction, namely in the process of operating the first application identifier by the user, the terminal device displays the K second applications associated with the first application to the user, and then the user can determine the applications needing to be closed according to the first application and the K second applications, then determine the second input, and trigger the terminal device to close the applications needing to be closed through the second input.
Exemplarily, as shown in fig. 5 (a), a current interface of the terminal device is a background running interface, and four application identifiers are currently displayed in the background running interface: "app 1", "app 2", "app 3", and "app 4" (other contents may also be displayed in the background running interface, and the embodiment of the present invention is not limited). Wherein when the terminal device detects that the user drags "app 3" (first application) to move upward (first sub-input), the terminal device determines M second applications related to "app 3" and controls application identifications ("app 4") of K (taking K equal to 1 as an example) second applications of the M second applications to move upward. If the user wants to close "app 3" from the background and does not want to close "app 4", then as shown in (b) of fig. 5, the user may drag "app 3" to quickly slide up (the second sub-input, the speed of sliding up of the second sub-input being greater than the speed of sliding up of the first sub-input), and the terminal device closes "app 3" from the background and "app 4" returns to the original position; if the user wants to close "app 3" and "app 4" from the background, the user may drag "app 3" to slide up and right (second sub-input) as shown in fig. 6 (a), and the end device closes "app 3" and "app 4" from the background; if the user wants to close "app 4" from the background and does not want to close "app 3", the user may drag "app 3" to the right "app 4" to slide and touch "app 4" (second sub-input) as shown in fig. 6 (b), and the terminal device closes "app 4" from the background and "app 3" returns to the original position.
It should be noted that: the second application identifier may not be displayed in the current page (the page on which the first application identifier is displayed) of the background running interface, and then when the terminal device detects that the user performs the first sub-input on the first application identifier, the terminal device updates the second application identifier to the current page for display. For example, in connection with the above example, when "app 4" is not displayed in the page where "app 1" is located, the terminal device updates "app 4" to the page where "app 1" is located to display, and then controls "app 4" to move upward. The sliding speeds of the first application identifier (e.g., "app 3") and the K second application identifiers (e.g., "app 4") may or may not be the same, and the embodiment of the present invention is not limited.
It should be noted that: in the embodiment of the present invention, after the user completes the operation of the first sub-input, the first application identifier may not be released, and after pausing for the preset time length (the preset time length may be determined according to the actual use requirement, which is not limited in the embodiment of the present invention), the second sub-input is executed; after the user completes the operation of the first sub-input, the first application identifier can also be released, and the first application identifier is stopped at the position when the first sub-input is ended after the release and cannot return to the original position.
Therefore, under the condition that the first input comprises the first sub-input and the second sub-input, the terminal device can display K second applications in the M second applications to the user by responding to the first sub-input, the user can determine the applications needing to be closed according to requirements, and then the terminal device is triggered to quickly close the applications needing to be closed by the user from the background through the second sub-input.
Optionally, the first input further comprises a third sub-input; referring to fig. 4, as shown in fig. 7, after step 305, the application shutdown method provided in the embodiment of the present invention may further include steps 306 to 307 described below.
Step 306, the terminal device receives a third sub-input of the first application identifier from the user.
The description of the third sub-input may refer to the above description related to the first input, and will not be repeated here.
Step 307, in response to the third sub-input, the terminal device updates the K second application identifiers in the target interface to P second application identifiers.
The P second application identifiers are application identifiers of the M second application identifiers. The P second application identifiers include an application identifier of the at least one second application, P is a positive integer, P is less than or equal to M, the sum of P and K is less than or equal to M, and P and K may be the same or different.
With reference to step 305, if the user does not want to close the K second applications from the background, the user may trigger the terminal device to update the K second application identifiers to the P second application identifiers through the third sub-input.
Illustratively, taking over the example as described in (a) of fig. 5, as shown in (a) of fig. 8, the user drags "app 3" to the left (third sub-input), which triggers the terminal device to update "app 4" to "app 2", i.e., "app 4" back to the original position, and "app 2" associated with "app 3" moves upward.
In the embodiment of the invention, under the condition that the user does not want to close the M second applications recommended by the terminal device, the terminal device can trigger the terminal device to switch the application identifiers of another group of second applications (P second applications) associated with the first application according to the third sub-input of the user to the first application identifier, so that the user can determine the applications needing to be closed from the background, and thus, the user can provide more selectivity for the user to quickly close the applications needing to be closed by the user from the background.
Optionally, the first input includes M fourth sub-inputs, each fourth sub-input is used to determine a different application of the M second applications; then, in conjunction with fig. 2, as shown in fig. 9, the above steps 201 to 202 can be specifically realized by the following steps 401 to 402.
Step 401, the terminal device receives M fourth sub-inputs of the first application identifier from the user.
Each fourth sub-input may be an input that a user drags the first application identifier to collide with one of the M second application identifiers, or may be another feasibility input, which is not limited in the embodiment of the present invention.
Step 402, for each fourth sub-input of the M fourth sub-inputs, in response to one fourth sub-input, the terminal device determines one second application associated with the first application according to the target input parameter of the one fourth sub-input, and closes the one second application from the background, so as to close the M second applications from the background.
The first input parameter includes a target input parameter for each of the M fourth sub-inputs. The target input parameter may be position information of the first application identifier, for example, when the first position (the position indicated by the position information of the first application identifier) and the second position (the position indicated by the position information of one second application identifier (indicating one second application)) have a coincidence part (which may be completely coincident or partially coincident), the terminal device determines that the one second application is the application associated with the first application, and the terminal device closes the one second application from the background. According to the method, the terminal device responds to each fourth sub-input, and closes one second application from the background so as to close the M second applications from the background.
Illustratively, as shown in fig. 8 (b), when the user drags "app 3" to move to the left and touches "app 2", the terminal device closes "app 2" from the background, the user drags "app 3" to move to the left, and touches "app 1", the terminal device closes "app 1" from the background, and so on, and the user drags "app 3" to move to touch which application identifier, and the terminal device closes the application indicated by the application identifier from the background.
Therefore, the user can close the M second applications corresponding to the M fourth sub-inputs from the background through the M fourth sub-inputs identified by the first application, so that the application required to be closed by the user can be quickly closed from the background.
Optionally, with reference to fig. 2, as shown in fig. 10, before step 201, the application shutdown method provided in the embodiment of the present invention may further include steps 203 to 204 described below.
Step 203, the terminal device receives a second input of the first application identifier from the user.
The description of the second input may refer to the above description related to the first input, and will not be repeated here.
And 204, responding to the second input, and displaying an application setting interface corresponding to the first application.
The application settings interface includes at least one of: a voice control setting option, a gesture control setting option, and a numerical value setting option for M.
Illustratively, the application settings interface may include one, two, or three of a voice control settings option, a gesture control settings option, and a numerical settings option for M. When the application setting interface may include one of a voice control setting option, a gesture control setting option, and a numerical value setting option of M, the other two options may be factory set (i.e., default set) of the terminal device; when the application setting interface may include two items of a voice control setting option, a gesture control setting option, and a numerical value setting option of M, the other item may be factory-set (i.e., default-set) for the terminal device; the method is determined according to actual use requirements, and the embodiment of the invention is not limited.
In an embodiment of the present invention, in combination with the above steps 305 to 307, the application setting interface may include at least one of the following items: a voice control setting option, a gesture control setting option, a value setting option for M, and a value option for K. For the detailed description, reference may be made to the above description, which is not repeated herein.
In an embodiment of the present invention, in conjunction with the step 307, the application setting interface may include at least one of the following: a voice control setting option, a gesture control setting option, a value setting option for M, a value option for K, and a value option for P. For the detailed description, reference may be made to the above description, which is not repeated herein.
If the user selects "voice control" on the application setting interface, the user may control the terminal device through a voice instruction to implement the function of quickly closing the application from the background provided by the embodiment of the present invention (in response to the first input, determining M second applications associated with the first application, and executing a target action according to the first input parameter of the first input).
Illustratively, the voice instruction of the user may include: "close application a", "close qth application", "close all applications", "change batch of applications", etc. In response to the voice instruction of closing the application A, the terminal equipment can close the application A running in the background from the background and quit the management page; in response to the voice instruction of "close the qth application", the terminal device may close the qth application running in the background from the background (Q is a positive integer, the applications running in the background are arranged in reverse order according to the time of entering the background running, and the first application is the application that has recently entered the background running), and exit the management page; in response to the voice instruction of closing all the applications, the terminal equipment can close all the applications running in the background from the background and quit the management page; in response to "turn off applications not used for X hours": the terminal equipment can close the application meeting the requirements from the background and quit the management page; in response to the voice instruction of "change a batch of applications", the terminal device may update the currently displayed K associated applications to another P associated applications (the same role as that of the second sub-input being a leftward swipe in the gesture control process).
Therefore, when the user does not like gesture operation or is inconvenient to operate by gestures, the voice control function is provided for the user, and the user can operate conveniently.
If the user selects "gesture control" in the application setting interface, the specific gesture control process may refer to the related description process in the above embodiment, and details are not described here.
The user can set the values M, K and P automatically through the value setting options of M, K and P according to the actual use requirement, which is not limited in the embodiment of the invention.
It should be noted that: if the user does not use (refuse to use) the function (for short, the fast shutdown function) of rapidly shutting down the application from the background provided by the embodiment of the present invention twice continuously in the target time period, the terminal device controls the fast shutdown function to sleep for one week, that is, the terminal device does not automatically start the fast shutdown function under the condition that the user does not actively start the fast shutdown function.
It should be noted that: the embodiment of the present invention does not limit the execution sequence of the steps 201 to 202 and the steps 203 to 204, that is, the steps 201 to 202 may be executed first, and then the steps 203 to 204 may be executed; it is also possible to perform step 203-step 204 first and then perform step 201-step 202.
In the embodiment of the invention, the terminal device can be triggered to display the application setting interface corresponding to the first application through the second input of the first application identifier, so that the application setting interface corresponding to the first application can be quickly called out when the background running interface is displayed, and further, a quick closing function aiming at the first application can be set. And the application setting interface can also comprise original system setting function options such as an application uninstalling option, an application updating option, an application authority management option and the like, so that the application setting interface of the first application can be quickly called out through simple operation, the operation of a user is greatly reduced, and the difference is made for the overstaffed system setting.
Illustratively, the user triggers the terminal device to display the application setting interface as shown in fig. 11 through the second input.
The drawings in the embodiments of the present invention are all exemplified by the drawings in the independent embodiments, and when the embodiments of the present invention are specifically implemented, each of the drawings can also be implemented by combining any other drawings which can be combined, and the embodiments of the present invention are not limited.
The embodiment of the invention provides an application closing method, wherein a terminal device can receive first input of a first application identifier by a user, the first application identifier is one of N application identifiers, each of the N application identifiers is used for indicating different applications running in a background, and the first application identifier is used for indicating a first application; in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input, wherein the M second applications are applications indicated by M second application identifications, and the M second application identifications are application identifications in the N application identifications; wherein the target action comprises at least one of: and closing the first application from the background, and closing at least one second application in the M second applications from the background. By the scheme, the terminal device can determine the M second applications associated with the first application according to a first input of an application identifier (first application identifier) of the first application by a user, and execute a target action according to a first input parameter of the first input (the target action comprises at least one of closing the first application from the background and closing at least one second application in the M second applications from the background), namely, the terminal device can close at least one of the following applications from the background according to an operation of the application identifier of the first application by the user: the first application and at least one second application in the M second applications can control the quick closing of the background application needing to be closed by a user through the operation of a certain application identifier, so that the problems that the operation process of closing the background application in the prior art is complex and time-consuming are solved.
According to the embodiment of the invention, under the existing background application closing operation system in the prior art, the closing behavior of the user is recorded through the embedded point to obtain the user behavior big data, the closing behavior habit of the user is drawn through the analysis processing spectrum of the behavior big data, and a better recommendation effect is achieved when the application is closed, so that the operation complexity of the user is greatly reduced. When the data in the prior period is lack and not intelligent enough, the user can not be interfered excessively. And moreover, the background application can be controlled to be closed through the voice command by means of voice recognition and the mobile phone with an artificial intelligent assistant, so that the command of a user can be completed from the angles of time, use, frequency and the like, and more convenient and faster operation experience is achieved.
In addition, the method provided by the embodiment of the invention is not limited to the level of closing the background application, and can also be extended to the level of starting the application. For example, after the habit of starting the application by the user is fully learned, under the condition that the electric quantity is sufficient and the memory is sufficient, the terminal device can start the application which the subsequent user may need to use in the background, so as to improve the first starting speed of the application and improve the use experience of the user. And by combining the hardware configuration of the terminal equipment, the terminal equipment can be more freely collected and released finally, so that more time is saved for a user.
As shown in fig. 12, an embodiment of the present invention provides a terminal device 120, where the terminal device 120 includes: a receiving module 121 and a processing module 122; the receiving module 121, configured to receive a first input of a first application identifier from a user, where the first application identifier is one of N application identifiers, each of the N application identifiers is used to indicate a different application running in a background, and the first application identifier is used to indicate a first application; the processing module 122, configured to determine, in response to the first input received by the receiving module 121, M second applications associated with the first application, and execute a target action according to a first input parameter of the first input, where the M second applications are applications indicated by M second application identifiers, and the M second application identifiers are application identifiers in the N application identifiers; wherein the target action comprises at least one of: and closing the first application from the background and closing at least one second application in the M second applications from the background, wherein N is an integer larger than 1, and M is a positive integer.
Optionally, the first input comprises a first sub-input and a second sub-input; the processing module 122 is specifically configured to determine the M second applications in response to the first sub-input received by the receiving module 121; in response to the second sub-input received by the receiving module 121, the target action is executed according to a second input parameter of the second sub-input.
Optionally, the processing module 122 is specifically configured to close the first application from a background under the condition that the second input parameter meets a first preset parameter; under the condition that the second input parameter accords with a second preset parameter, closing the at least one second application from the background; and closing the first application and the at least one second application from the background under the condition that the second input parameter accords with a third preset parameter.
Optionally, the first sub-input is used to control the first application identifier to move in a first direction on the target interface; the processing module 122; the controller is further configured to, after the M second applications are determined, control K second application identifiers to move in the first direction on the target interface, where the K second application identifiers are application identifiers in the M second application identifiers; the K second application identifiers include an application identifier of the at least one second application, and K is a positive integer.
Optionally, the first input further comprises a third sub-input; the processing module 122 is further configured to update the K second application identifiers in the target interface to P second application identifiers in response to the third sub-input received by the receiving module 121 after controlling the K second application identifiers to move in the first direction on the target interface, where the P second application identifiers are application identifiers in the M second application identifiers; wherein the P second application identifiers include an application identifier of the at least one second application, and P is a positive integer.
Optionally, the first input includes M fourth sub-inputs, each fourth sub-input is used to determine a different application of the M second applications; the processing module 122 is specifically configured to, for each fourth sub-input of the M fourth sub-inputs, in response to a fourth sub-input received by the receiving module 121, determine a second application associated with the first application according to the target input parameter of the fourth sub-input; and closing the second application from the background, and closing the M second applications from the background.
Optionally, the processing module 122 is specifically configured to obtain the M second applications according to a target policy, where the target policy includes at least one of the following: the method comprises the following steps of a user use habit strategy, a scene association strategy, an operation intervention strategy and a system resource warning strategy.
Optionally, the terminal device 120 further includes: a display module 123; the receiving module 121 is further configured to receive a second input of the first application identifier from the user; the display module 123 is configured to display an application setting interface corresponding to the first application in response to the second input received by the receiving module 121, where the application setting interface includes at least one of the following: voice control setting options, gesture control setting options, and M, K and P's numerical value setting options.
The terminal device provided in the embodiment of the present invention can implement each process shown in any one of fig. 2 to 11 in the method embodiment, and details are not described here again to avoid repetition.
The embodiment of the invention provides a terminal device, which can receive a first input of a first application identifier by a user, wherein the first application identifier is one of N application identifiers, each of the N application identifiers is used for indicating different applications running in a background, and the first application identifier is used for indicating the first application; in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input, wherein the M second applications are applications indicated by M second application identifications, and the M second application identifications are application identifications in the N application identifications; wherein the target action comprises at least one of: and closing the first application from the background, and closing at least one second application in the M second applications from the background. By the scheme, the terminal device can determine the M second applications associated with the first application according to a first input of an application identifier (first application identifier) of the first application by a user, and execute a target action according to a first input parameter of the first input (the target action comprises at least one of closing the first application from the background and closing at least one second application in the M second applications from the background), namely, the terminal device can close at least one of the following applications from the background according to an operation of the application identifier of the first application by the user: the first application and at least one second application in the M second applications can control the quick closing of the background application needing to be closed by a user through the operation of a certain application identifier, so that the problems that the operation process of closing the background application in the prior art is complex and time-consuming are solved.
Fig. 13 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention. As shown in fig. 13, the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 13 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The user input unit 107 is configured to receive a first input of a first application identifier by a user, where the first application identifier is one of N application identifiers, each of the N application identifiers is used to indicate a different application running in the background, and the first application identifier is used to indicate a first application; a processor 110, configured to determine, in response to the first input, M second applications associated with the first application, and execute a target action according to a first input parameter of the first input, where the M second applications identify the indicated applications for the M second applications, and the M second applications identify application identifiers in the N application identifiers; wherein the target action comprises at least one of: and closing the first application from the background and closing at least one second application in the M second applications from the background, wherein N is an integer larger than 1, and M is a positive integer.
In the terminal device provided in the embodiment of the present invention, the terminal device may receive a first input of a first application identifier by a user, where the first application identifier is one of N application identifiers, each of the N application identifiers is used to indicate a different application running in a background, and the first application identifier is used to indicate a first application; in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input, wherein the M second applications are applications indicated by M second application identifications, and the M second application identifications are application identifications in the N application identifications; wherein the target action comprises at least one of: and closing the first application from the background, and closing at least one second application in the M second applications from the background. By the scheme, the terminal device can determine the M second applications associated with the first application according to a first input of an application identifier (first application identifier) of the first application by a user, and execute a target action according to a first input parameter of the first input (the target action comprises at least one of closing the first application from the background and closing at least one second application in the M second applications from the background), namely, the terminal device can close at least one of the following applications from the background according to an operation of the application identifier of the first application by the user: the first application and at least one second application in the M second applications can control the quick closing of the background application needing to be closed by a user through the operation of a certain application identifier, so that the problems that the operation process of closing the background application in the prior art is complex and time-consuming are solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 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 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound 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 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the 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 terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 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 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 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 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 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 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 13, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. 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 108 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 terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 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 109 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 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; alternatively, the processor 110 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 the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Optionally, an embodiment of the present invention further provides a terminal device, which may include the processor 110 shown in fig. 13, the memory 109, and a computer program stored on the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the application shutdown method shown in any one of fig. 2 to fig. 11 in the foregoing method embodiments, and can achieve the same technical effect, and details are not described here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the application shutdown method shown in any one of fig. 2 to 11 in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again. 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. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical 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 device (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 changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. An application shutdown method applied to a terminal device is characterized by comprising the following steps:
receiving a first input of a first application identifier from a user, wherein the first application identifier is one of N application identifiers, each of the N application identifiers is used for indicating a different application running in a background, and the first application identifier is used for indicating a first application;
in response to the first input, determining M second applications associated with the first application, and executing a target action according to a first input parameter of the first input, where the M second applications are indicated applications of M second application identifications, and the M second application identifications are application identifications in the N application identifications;
wherein the target action comprises at least one of: closing the first application from a background and closing at least one second application in the M second applications from the background, wherein N is an integer larger than 1, and M is a positive integer;
the first input comprises M fourth sub-inputs, each fourth sub-input for determining a different application of the M second applications;
the determining, in response to the first input, M second applications associated with the first application and performing a target action according to a first input parameter of the first input includes:
for each fourth sub-input in the M fourth sub-inputs, in response to one fourth sub-input, determining one second application associated with the first application according to the target input parameter of the one fourth sub-input, and closing the one second application from the background to close the M second applications from the background.
2. The method of claim 1, wherein the first input comprises a first sub-input and a second sub-input;
the determining, in response to the first input, M second applications associated with the first application and performing a target action according to a first input parameter of the first input includes:
determining the M second applications in response to the first sub-input;
in response to the second sub-input, performing the target action according to a second input parameter of the second sub-input.
3. The method of claim 2, wherein performing the target action according to the second input parameter of the second sub-input comprises:
under the condition that the second input parameter accords with a first preset parameter, closing the first application from a background;
closing the at least one second application from the background under the condition that the second input parameter accords with a second preset parameter;
and closing the first application and the at least one second application from the background under the condition that the second input parameter accords with a third preset parameter.
4. The method of claim 2, wherein the first sub-input is configured to control the first application identifier to move in a first direction on a target interface;
after the determining the M second applications, further comprising:
controlling K second application identifications to move on the target interface along the first direction, wherein the K second application identifications are application identifications in the M second application identifications;
the K second application identifications comprise the application identification of the at least one second application, and K is a positive integer.
5. The method of claim 4, wherein the first input further comprises a third sub-input;
after the controlling the K second application identifiers to move along the first direction on the target interface, the method further includes:
in response to the third sub-input, updating the K second application identifiers in the target interface to P second application identifiers, where the P second application identifiers are application identifiers in the M second application identifiers;
wherein the P second application identifiers include an application identifier of the at least one second application, and P is a positive integer.
6. The method of any of claims 1 to 5, wherein the determining M second applications associated with the first application comprises:
obtaining the M second applications according to a target policy, wherein the target policy comprises at least one of the following items: the method comprises the following steps of a user use habit strategy, a scene association strategy, an operation intervention strategy and a system resource warning strategy.
7. The method of claim 6, further comprising:
receiving a second input of the first application identifier by the user;
in response to the second input, displaying an application settings interface corresponding to the first application, the application settings interface including at least one of: a voice control setting option, a gesture control setting option, and a numerical value setting option for M.
8. A terminal device, characterized in that the terminal device comprises: the device comprises a receiving module and a processing module;
the receiving module is configured to receive a first input of a first application identifier by a user, where the first application identifier is one of N application identifiers, each of the N application identifiers is used to indicate a different application running in a background, and the first application identifier is used to indicate a first application;
the processing module is configured to determine, in response to the first input received by the receiving module, M second applications associated with the first application, and execute a target action according to a first input parameter of the first input, where the M second applications are applications indicated by M second application identifiers, and the M second application identifiers are application identifiers in the N application identifiers;
wherein the target action comprises at least one of: closing the first application from a background and closing at least one second application in the M second applications from the background, wherein N is an integer larger than 1, and M is a positive integer;
the first input comprises M fourth sub-inputs, each fourth sub-input for determining a different application of the M second applications;
the processing module is specifically configured to, for each fourth sub-input of the M fourth sub-inputs, in response to a fourth sub-input received by one of the receiving modules, determine a second application associated with the first application according to a target input parameter of the fourth sub-input; and closing the second application from the background, so as to close the M second applications from the background.
9. The terminal device of claim 8, wherein the first input comprises a first sub-input and a second sub-input;
the processing module is specifically configured to determine, in response to the first sub-input received by the receiving module, the M second applications; in response to the second sub-input received by the receiving module, performing the target action according to a second input parameter of the second sub-input.
10. The terminal device according to claim 9, wherein the processing module is specifically configured to close the first application from a background if the second input parameter meets a first preset parameter; closing the at least one second application from the background under the condition that the second input parameter accords with a second preset parameter; and closing the first application and the at least one second application from the background under the condition that the second input parameter accords with a third preset parameter.
11. The terminal device of claim 9, wherein the first sub-input is configured to control the first application identifier to move in a first direction on a target interface;
the processing module; the server is further configured to, after the determining of the M second applications, control K second application identifiers to move in the first direction on the target interface, where the K second application identifiers are application identifiers in the M second application identifiers;
the K second application identifications comprise the application identification of the at least one second application, and K is a positive integer.
12. The terminal device of claim 11, wherein the first input further comprises a third sub-input;
the processing module is further configured to update the K second application identifiers in the target interface to P second application identifiers in response to the third sub-input received by the receiving module after the K second application identifiers are controlled to move in the first direction on the target interface, where the P second application identifiers are application identifiers in the M second application identifiers;
wherein the P second application identifiers include an application identifier of the at least one second application, and P is a positive integer.
13. The terminal device according to any one of claims 8 to 12, wherein the processing module is specifically configured to obtain the M second applications according to a target policy, where the target policy includes at least one of: the method comprises the following steps of a user use habit strategy, a scene association strategy, an operation intervention strategy and a system resource warning strategy.
14. The terminal device according to claim 13, wherein the terminal device further comprises: a display module;
the receiving module is further used for receiving a second input of the first application identifier by the user;
the display module is configured to display an application setting interface corresponding to the first application in response to the second input received by the receiving module, where the application setting interface includes at least one of the following: a voice control setting option, a gesture control setting option, and a numerical value setting option for M.
15. A terminal device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the application shutdown method according to any one of claims 1 to 7.
CN201910228816.2A 2019-03-25 2019-03-25 Application closing method and terminal equipment Active CN110069328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910228816.2A CN110069328B (en) 2019-03-25 2019-03-25 Application closing method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910228816.2A CN110069328B (en) 2019-03-25 2019-03-25 Application closing method and terminal equipment

Publications (2)

Publication Number Publication Date
CN110069328A CN110069328A (en) 2019-07-30
CN110069328B true CN110069328B (en) 2021-11-09

Family

ID=67366725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910228816.2A Active CN110069328B (en) 2019-03-25 2019-03-25 Application closing method and terminal equipment

Country Status (1)

Country Link
CN (1) CN110069328B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs
CN104268009A (en) * 2014-09-24 2015-01-07 联想(北京)有限公司 Operational control method, device and electronic apparatus
TW201608454A (en) * 2014-08-26 2016-03-01 Alibaba Group Services Ltd Method and apparatus for managing background application
CN107222914A (en) * 2017-06-14 2017-09-29 广东欧珀移动通信有限公司 Application control method and related product
CN107219972A (en) * 2017-05-23 2017-09-29 努比亚技术有限公司 A kind of method of application management, equipment and computer-readable recording medium
CN107734616A (en) * 2017-10-31 2018-02-23 广东欧珀移动通信有限公司 Closing application program method, apparatus, storage medium and electronic equipment
CN107885545A (en) * 2017-10-31 2018-04-06 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN109032734A (en) * 2018-07-13 2018-12-18 维沃移动通信有限公司 A kind of background application display methods and mobile terminal
CN109101326A (en) * 2018-06-06 2018-12-28 三星电子(中国)研发中心 A kind of background process management method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577253B (en) * 2012-07-30 2018-07-20 腾讯科技(深圳)有限公司 The treating method and apparatus of application program
US9871741B2 (en) * 2014-03-10 2018-01-16 Microsoft Technology Licensing, Llc Resource management based on device-specific or user-specific resource usage profiles
CN104239094B (en) * 2014-08-29 2017-12-08 小米科技有限责任公司 Control method, device and the terminal device of background application
CN107402804B (en) * 2017-07-31 2019-12-10 Oppo广东移动通信有限公司 background process control method and device, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970395A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Method and device for stopping background programs
TW201608454A (en) * 2014-08-26 2016-03-01 Alibaba Group Services Ltd Method and apparatus for managing background application
CN104268009A (en) * 2014-09-24 2015-01-07 联想(北京)有限公司 Operational control method, device and electronic apparatus
CN107219972A (en) * 2017-05-23 2017-09-29 努比亚技术有限公司 A kind of method of application management, equipment and computer-readable recording medium
CN107222914A (en) * 2017-06-14 2017-09-29 广东欧珀移动通信有限公司 Application control method and related product
CN107734616A (en) * 2017-10-31 2018-02-23 广东欧珀移动通信有限公司 Closing application program method, apparatus, storage medium and electronic equipment
CN107885545A (en) * 2017-10-31 2018-04-06 广东欧珀移动通信有限公司 application management method, device, storage medium and electronic equipment
CN109101326A (en) * 2018-06-06 2018-12-28 三星电子(中国)研发中心 A kind of background process management method and device
CN109032734A (en) * 2018-07-13 2018-12-18 维沃移动通信有限公司 A kind of background application display methods and mobile terminal

Also Published As

Publication number Publication date
CN110069328A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN109542282B (en) Interface display method and terminal equipment
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN110769155B (en) Camera control method and electronic equipment
CN111142991A (en) Application function page display method and electronic equipment
CN110445924B (en) Network task execution method and terminal equipment
CN109976611B (en) Terminal device control method and terminal device
CN109933252B (en) Icon moving method and terminal equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN108681427B (en) Access right control method and terminal equipment
CN111163224B (en) Voice message playing method and electronic equipment
CN108881719B (en) Method for switching shooting mode and terminal equipment
CN110928461A (en) Icon moving method and electronic equipment
CN110703972B (en) File control method and electronic equipment
CN110049486B (en) SIM card selection method and terminal equipment
CN109521920B (en) Application icon control method and terminal equipment
CN108804151B (en) Method and terminal for restarting application program
CN110866465A (en) Control method of electronic equipment and electronic equipment
CN110647277A (en) Control method and terminal equipment
CN111190517B (en) Split screen display method and electronic equipment
CN110167006B (en) Method for controlling application program to use SIM card and terminal equipment
CN111338525A (en) Control method of electronic equipment and electronic equipment
CN109189514B (en) Terminal device control method and terminal device
CN111246105B (en) Photographing method, electronic device, and computer-readable storage medium
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
TR01 Transfer of patent right

Effective date of registration: 20220817

Address after: 518049 room 901, building 1, Shenzhen new generation industrial park, 136 Zhongkang Road, Meidu community, Meilin street, Futian District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN IOCO COMMUNICATION SOFTWARE Co.,Ltd.

Address before: No. 283, Bubugao Avenue, Wusha, Chang'an Town, Dongguan City, Guangdong Province, 523841

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right