CN105204908B - Application program package stopping method and device and electronic equipment - Google Patents

Application program package stopping method and device and electronic equipment Download PDF

Info

Publication number
CN105204908B
CN105204908B CN201510642350.2A CN201510642350A CN105204908B CN 105204908 B CN105204908 B CN 105204908B CN 201510642350 A CN201510642350 A CN 201510642350A CN 105204908 B CN105204908 B CN 105204908B
Authority
CN
China
Prior art keywords
application program
package
stopping
information
package stopping
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.)
Expired - Fee Related
Application number
CN201510642350.2A
Other languages
Chinese (zh)
Other versions
CN105204908A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510642350.2A priority Critical patent/CN105204908B/en
Publication of CN105204908A publication Critical patent/CN105204908A/en
Application granted granted Critical
Publication of CN105204908B publication Critical patent/CN105204908B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses an application program package stopping method and device and electronic equipment. An application program package stopping method is applied to a terminal and can comprise the following steps: determining an application program of a package to be stopped; calling a package stopping setting page of the application program; determining the position of a package stopping button of the application program in the package stopping setting page; and generating a clicking operation at the determined position of the package stopping button, and performing package stopping processing on the application program. By applying the technical scheme provided by the embodiment of the invention, the packet stopping processing process of the application program is automatically completed by the terminal, the user does not need to manually stop the packet of the application program one by one, the operation is simple, and the user experience is better.

Description

Application program package stopping method and device and electronic equipment
Technical Field
The invention relates to the technical field of internet, in particular to an application program package stopping method and device and electronic equipment.
Background
With the rapid development of internet technology, the number of applications installed and running in a terminal is increasing, but the capacity of a mobile power supply (such as a battery) for supplying power to the terminal is increasing only in a limited way, and the increase of the capacity of the mobile power supply is far from keeping up with the increasing rate of the applications in the terminal. In the process of using an application installed in a terminal by a user, if the opened application is not closed in time, more applications may still be in a running state, and the applications still consume the electric quantity of the mobile power supply, so that the cruising ability of the terminal is affected, and the user needs to frequently charge the mobile power supply.
Therefore, in order to prolong the cruising ability of the terminal, in the prior art, a user may manage the application program on a setting page of the terminal, and close the application program in a running state. The way in which an application in a running state is forcibly closed is referred to as a stop packet. However, the user needs to open the setting interface of each application program of the package to be stopped one by one, and click the corresponding package stopping button to complete the package stopping operation of the application program, which is troublesome to operate and poor in user experience.
Disclosure of Invention
The embodiment of the invention aims to provide an application program package stopping method, an application program package stopping device and electronic equipment, so that user operation is simplified, and user experience is improved. The technical scheme is as follows:
an application program package stopping method is applied to a terminal and comprises the following steps:
determining an application program of a package to be stopped;
calling a package stopping setting page of the application program;
determining the position of a package stopping button of the application program in the package stopping setting page;
and generating a clicking operation at the determined position of the package stopping button, and performing package stopping processing on the application program.
In a specific embodiment of the present invention, the determining the application program to be halted includes:
outputting a display interface of the application program recommending the package stopping according to the running state of each application program;
and determining the application program of the package to be stopped according to the selection of the user on the application program in the display interface.
In a specific embodiment of the present invention, the determining an application program to be packaged stopped according to a selection of a user on the application program in the display interface includes:
determining the application program selected by the user in the display interface as the application program to be packaged in a stopping way;
or,
and determining the application program selected by the user in the display interface and the application program associated with the application program selected by the user as the application program to be subjected to the package stopping.
In a specific embodiment of the present invention, after the determining the application to be parked, the method further includes:
searching a package stopping button identifier of the application program in a package stopping strategy library;
the determining the position of the package stopping button of the application program in the package stopping setting page comprises the following steps:
and determining the position of the package stopping button of the application program in the package stopping setting page according to the searched package stopping button identifier.
In a specific embodiment of the present invention, the searching for the package stopping button identifier of the application program in the package stopping policy library includes:
and searching a package stopping button identifier of the application program corresponding to the relevant attribute information of the terminal in a package stopping strategy library, wherein the relevant attribute information is at least one of terminal model information, operating system type information, operating system version information and operating system language information.
In a specific embodiment of the present invention, the generating a click operation at the determined position of the package stop button to perform package stop processing on the application program includes:
under the condition that the application program is the first application program to be packaged stopping, directly generating clicking operation at the position of the determined package stopping button, and performing package stopping processing on the application program;
and under the condition that the application program is not the first application program to be packaged for stopping, generating clicking operation at the position of the determined package stopping button when the package stopping experience duration of the last application program to be packaged for stopping the application program is reached, and performing package stopping processing on the application program, wherein the package stopping experience durations of all the application programs are the same or different.
An application program package stopping device applied to a terminal comprises:
the package to be stopped application program determining module is used for determining the application program of the package to be stopped;
the package stopping setting page calling module is used for calling a package stopping setting page of the application program;
a package stop button position determination module, configured to determine, in the package stop setting page, a position of a package stop button of the application:
and the package stopping processing module is used for generating clicking operation at the determined position of the package stopping button and performing package stopping processing on the application program.
In a specific embodiment of the present invention, the pending application program determining module includes:
the display interface output submodule is used for outputting a display interface of the application program recommended to stop the package according to the running state of each application program;
and the application program to be stopped package determining submodule is used for determining the application program to be stopped package according to the selection of the user on the application program in the display interface.
In a specific embodiment of the present invention, the pending package application program determining submodule is specifically configured to:
determining the application program selected by the user in the display interface as the application program to be packaged in a stopping way;
or,
and determining the application program selected by the user in the display interface and the application program associated with the application program selected by the user as the application program to be subjected to the package stopping.
In one embodiment of the present invention, the apparatus further comprises:
the package stopping button identifier searching module is used for searching the package stopping button identifier of the application program in a package stopping strategy library;
the package stopping button position determining module is specifically configured to:
and determining the position of the package stopping button of the application program in the package stopping setting page according to the searched package stopping button identifier.
In a specific embodiment of the present invention, the package stop button identifier search module is specifically configured to:
and searching a package stopping button identifier of the application program corresponding to the relevant attribute information of the terminal in a package stopping strategy library, wherein the relevant attribute information is at least one of terminal model information, operating system type information, operating system version information and operating system language information.
In an embodiment of the present invention, the packet stop processing module is specifically configured to:
under the condition that the application program is the first application program to be packaged stopping, directly generating clicking operation at the position of the determined package stopping button, and performing package stopping processing on the application program;
and under the condition that the application program is not the first application program to be packaged for stopping, generating clicking operation at the position of the determined package stopping button when the package stopping experience duration of the last application program to be packaged for stopping the application program is reached, and performing package stopping processing on the application program, wherein the package stopping experience durations of all the application programs are the same or different.
An electronic device, comprising: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for:
determining an application program of a package to be stopped;
calling a package stopping setting page of the application program;
determining the position of a package stopping button of the application program in the package stopping setting page;
and generating a clicking operation at the determined position of the package stopping button, and performing package stopping processing on the application program.
By applying the technical scheme provided by the embodiment of the invention, the terminal determines the application program to be subjected to package stopping, the package stopping setting page of the application program is called, the clicking operation is generated at the position of the determined package stopping button in the package stopping setting page, the package stopping processing is carried out on the application program, the package stopping processing process of the application program is automatically completed by the terminal, the user does not need to manually stop the package of the application program one by one, the operation is simple, and the user experience is better.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an implementation of a method for stopping application program packages according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a display interface of an application program recommending package stopping according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of a package stop progress interface according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another implementation of a method for application program stopping according to an embodiment of the present invention;
FIG. 4a is a schematic diagram of a prompt message according to an embodiment of the present invention;
FIG. 4b is a diagram illustrating another example of a prompt message according to an embodiment of the present invention;
FIG. 4c is a diagram illustrating another example of a prompt message according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an exemplary architecture of an application stop device according to an embodiment of the present invention;
fig. 6 is another structural diagram of an application program stopping device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The application program package stopping method provided by the embodiment of the invention can be applied to terminals such as mobile phones and tablet computers, the package stopping processing of the application program means that the application program in a running state is forcibly stopped and closed, and the application program is in a non-running state, namely a dormant state, through an auxiliary function, so that the power consumption of the idle application program in the background is avoided. The application program allows calling when necessary during the dormancy period, and the normal use of the application program is not influenced.
When the terminal performs package stopping processing on the application program, the determined application program to be subjected to package stopping processing can be automatically performed. Specifically, the other application programs of the package to be stopped may be determined by a certain application program in the terminal, and the package stopping process may be performed on the determined other application programs of the package to be stopped, for example, the package stopping process may be performed on the other application programs by a cleaning application program installed in the terminal, or an antivirus application program, and the like.
Referring to fig. 1, a flowchart of an implementation of a method for stopping a package of an application program according to an embodiment of the present invention is shown, where the method is applied to a terminal, and may include the following steps:
s110: determining an application program of a package to be stopped;
in practical application, the terminal may determine the application program of the pending package according to the time length of each application program currently in the running state, which is not used by the user. If the application is not used by the user within the duration, the terminal may determine the application as an application to be docked.
The duration may be the same for each application, for example, if the duration is half an hour or one hour unused for each application, the corresponding application may be determined to be the application to be parked as a package. In addition, the time period may be different for each application, for example, an application reflecting weather conditions, an application monitoring air quality, or the like, the time period for the application may be set to be slightly longer, for example, 3 hours, and the time period for other applications may be set to be slightly shorter, for example, 20 minutes, or the like.
Or, the terminal may determine the application program to be packaged stopped after receiving a trigger request of the user for stopping the package of the application program.
The terminal may provide a power saving mode entry for the user. The user can use the power saving mode of the terminal in order to save the electric quantity of the mobile power supply of the terminal and prolong the cruising ability of the terminal. When the user enters the power saving mode of the terminal or turns on the switch of the power saving mode, the user is considered to send a trigger request for stopping the application program to the terminal. In practical application, the terminal can provide a power saving mode entrance for a user through the HOME key, and the user can enter the power saving mode of the terminal by pressing the HOME key.
After the terminal receives a triggering request of a user for stopping the package of the application program, the application program to be stopped can be determined according to the specific state of the application program in the terminal or according to the selection of the user.
In one embodiment of the present invention, step S110 may include the following steps:
the method comprises the following steps: outputting a display interface of the application program recommending the package stopping according to the running state of each application program;
step two: and determining the application program of the package to be stopped according to the selection of the user on the application program in the display interface.
For convenience of description, the above two steps are combined for illustration.
After receiving a triggering request of the user for stopping the package of the application program, the terminal can recommend the application program for recommending and recommending the package stopping processing to the user according to the running state of each application program in the terminal. The running state of the application may include: power consumption of the application, a length of time the application is not used by the user, etc.
The terminal can output a display interface of the application program recommending the stop package to the user. Referring to fig. 2a, the terminal recommends 6 applications that suggest package stop processing to the user according to the running state of each application.
And selecting an application program to be subjected to package stopping processing by the user according to the recommendation of the terminal in the display interface and the actual requirement of the user. For example, the user selects the application program to be subjected to the package stopping processing in a checking manner in the interface shown in fig. 2a, the terminal may show the specific number of the application programs selected by the user to the user, and may also show information such as how long the standby time is prolonged if the package stopping processing is performed on the application program selected by the user to the user.
And the terminal determines the application program of the package to be stopped according to the selection of the user on the application program in the display interface.
Specifically, the terminal may determine the application program selected by the user in the presentation interface as the application program of the pending package. Such as directly determining the application selected by the user in the presentation interface shown in fig. 2a as the application of the pending package.
Or,
and the terminal determines the application program selected by the user in the display interface and the application program associated with the application program selected by the user as the application program of the waiting package.
It can be understood that the applications installed in the terminal may have a mutual starting phenomenon and have a certain association relationship. For example, the XX cloud disk and the XX bar may start each other, and if only one of the applications is subjected to the package stopping process, for example, the XX cloud disk is subjected to the package stopping process, but the XX bar is still in the running state, after the set restart time period, the XX cloud disk may be started by the XX bar, and the two applications may not be currently required to be used by the user. Thus, the operation of the XX cloud disk and the XX sticker still causes the consumption of the power of the mobile power supply.
Therefore, after determining the application program to be subjected to package stopping processing selected by the user in the display interface, the terminal may determine the application program associated with the application program selected by the user according to the pre-recorded association relationship of the application programs, and determine both the application program selected by the user and the associated application program as the application program to be subjected to package stopping. Of course, after determining the application program associated with the application program selected by the user, it may be determined whether a time length of the associated application program not used by the user reaches a corresponding threshold value, and if so, the associated application program is determined as the application program of the package to be stopped, otherwise, only the application program selected by the user is determined as the application program of the package to be stopped.
S120: calling a package stopping setting page of the application program;
in the operating system of the terminal, each application program has a respective stop packet setting page. After determining the application program to be packaged stopped in step S110, the package stopping setting page of the application program may be directly called.
S130: determining the position of a package stopping button of the application program in the package stopping setting page;
in the package stop setting page of the application program, a package stop button is arranged, and the position of the package stop button of the application program needs to be determined. Specifically, the package stopping button can be identified through an image identification method, the position of the package stopping button in the package stopping setting page is determined, and the position of the package stopping button in the package stopping setting page can be determined through an identification matching method of the package stopping button.
S140: and generating a clicking operation at the determined position of the package stopping button, and performing package stopping processing on the application program.
After the position of the package stopping button in the package stopping setting page is determined in step S130, a click operation may be generated at the determined position of the package stopping button, that is, the click operation of the user is simulated, the package stopping button is clicked, and the package stopping processing is performed on the application program, so as to forcibly close the application program.
In practical application, a package stopping setting page of an application program called by a terminal is invisible to a user, and a package stopping processing process of the application program is automatically completed by the terminal. In the process of stopping the package of each application program to be stopped, the terminal can display a progress interface to the user to prompt the current progress of the user, as shown in fig. 2b, the terminal prompts the user that the number of the application programs to be stopped is 4, the 2 nd application program is currently stopped, and the user can click a CANCEL "button to CANCEL the current package stopping operation.
By applying the technical scheme provided by the embodiment of the invention, the terminal determines the application programs to be subjected to package stopping, the package stopping button identification of each application program to be subjected to package stopping is obtained, the package stopping setting page of the application program is called for each application program to be subjected to package stopping, the clicking operation is generated at the position of the package stopping button determined in the package stopping setting page, the package stopping processing is carried out on the application program, the package stopping processing process of the application program is automatically completed by the terminal, the package stopping operation of the application program by one pair by one by a user is not needed, the operation is simple, and the user experience is better.
Referring to fig. 3, in one embodiment of the present invention, the method may further comprise the steps of:
s120': searching a package stopping button identifier of the application program in a package stopping strategy library;
different applications may have different stop packet button identifications. The operator can collect the packet stop button identification of the application program and store the collected identification in the packet stop strategy library of the server.
After determining the application program of the to-be-stopped package, the terminal can send a query request to the server, the query request carries identification information of the application program of the to-be-stopped package, the server searches the package-stopping button identification of the application program in the package-stopping strategy library according to the identification information of the application program of the to-be-stopped package, and returns a search result to the terminal, so that the terminal can obtain the package-stopping button identification of the application program of the to-be-stopped package.
The terminal can also obtain all the contents recorded in the package stopping strategy library from the server by communicating with the server, or the terminal only aims at the application program installed by the terminal, obtains the corresponding package stopping button identifier from the server and records the identifier in the package stopping strategy library stored locally. After the terminal determines the application program of the to-be-stopped package, the package stopping button identifier of the application program of the to-be-stopped package can be searched in a package stopping strategy library stored locally. Therefore, when the application program needs to be subjected to packet stop processing, the terminal can obtain the packet stop button identifier of the application program to be subjected to packet stop without communicating with the server, and network flow and network bandwidth can be saved. In addition, if only the package stopping button identification of the self-installed application program is recorded in the package stopping strategy library stored in the terminal, the storage space of the terminal can be saved, and the searching efficiency is improved.
It should be noted that, the execution sequence of step S120 and step S120' is not limited in the embodiment of the present invention.
Accordingly, step S130 may include the steps of:
s130': and determining the position of the package stopping button of the application program in the package stopping setting page according to the searched package stopping button identifier.
The terminal finds the package stop button identifier of the application in step S120', may match the found package stop button identifier with the relevant identifier in the package stop setting page, and determines the location of the package stop button of the application.
In one embodiment of the present invention, step S120' may include the steps of:
and searching a package stopping button identifier of the application program corresponding to the relevant attribute information of the terminal in a package stopping strategy library.
The related attribute information is at least one of terminal model information, operating system type information, operating system version information and operating system language information.
It is understood that the same application program may have less consistent stop button identifiers in different models of terminals under different types, versions and languages of operating systems. In order to improve the success rate of package stopping, the package stopping button identifications of the operating systems of different types, versions and languages, which correspond to different models of terminals, can be recorded in the package stopping strategy library aiming at each application program. Specifically, the information may be collected by an operator, or may be reported to the server by each terminal according to a package stop result.
The terminal searches the package stopping button identification of the application program corresponding to the relevant attribute information of the terminal in the package stopping strategy library, so that the package stopping success rate of the application program can be effectively improved.
In one embodiment of the present invention, step S140 may include the steps of:
when the application program is the first application program to be packaged stopping, directly generating clicking operation at the position of the determined package stopping button, and performing package stopping processing on the application program;
when the application program is not the application program of the first package to be stopped, generating clicking operation at the position of the determined package stopping button under the condition that the package stopping experience time length of the application program of the last package to be stopped is reached, and performing package stopping processing on the application program, wherein the package stopping experience time lengths of all the application programs are the same or different.
It can be understood that the terminal needs a certain time to perform the packet stop processing on the application program to be subjected to the packet stop processing.
When the application program to be package stopped determined in step S110 is the first application program to be package stopped, that is, the first application program to be package stopped, a click operation may be directly generated at the determined position of the package stopping button, the click operation of the package stopping button by the user is simulated, and the package stopping process is performed on the application program.
When the application program to be package stopped determined in step S110 is not the first application program to be package stopped, that is, is not the first application program that needs to be package stopped, a click operation may be generated at the position of the determined package stopping button when the experience time of package stopping of the application program to be package stopped is reached, and the user' S click operation on the package stopping button is simulated to perform package stopping on the application program.
In practical application, the experience duration of packet stopping of each application program can be the same, for example, the experience duration is set to 2 seconds, that is, after a certain application program to be subjected to packet stopping processing operation by the terminal, the packet stopping processing operation is performed on the next application program to be subjected to packet stopping at an interval of 2 seconds. If the application does not stop the package within the experience time of stopping the package, the application can be considered to fail to stop the package. It should be noted that the experience time of packet stop may be set and adjusted according to actual situations, and the embodiment of the present invention is not limited by this.
The length of the packet-stopping experience may be different for each application. The time length required by package stopping of different application programs can be different, the time length required by package stopping of some application programs is long, and the time length required by package stopping of some application programs is short. The package stopping experience duration of the application program can be collected in advance for each application program, or for each application program of different terminal models and different operating systems, and can be stored in a package stopping strategy library. After determining the application program to be packaged stopped, the package stopping experience time length of the application program can be obtained in the package stopping strategy library.
For ease of understanding, this is illustrated.
The package stopping experience time of the application program A is 5 seconds, the package stopping experience time of the application program B is 3 seconds, the package stopping experience time of the application program C is 1 second, after the package stopping processing operation is started on the application program A, the package stopping processing operation on the application program B is started at intervals of 5 seconds, and then the package stopping processing operation on the application program C is started at intervals of 3 seconds.
And according to the packet stopping experience time length of each application program of the packet to be stopped, sequentially performing packet stopping treatment on each application program of the packet to be stopped, so that the packet stopping success rate can be improved, and the packet stopping failure of the application program caused by too short time length reserved for the application program is avoided.
In practical application, after the terminal performs packet stop processing on each application program to be subjected to packet stop processing, state information of the application program can be acquired for each application program subjected to packet stop processing, so as to judge whether the application program stops the packet. If a certain application program fails to stop packing, the terminal can collect identification information of the application program which fails to stop packing, relevant attribute information of the terminal and information of other currently running application programs and report the information to the server, and the server determines a corresponding pack stopping button identification or adjusts pack stopping experience time length aiming at each application program which fails to stop packing according to the reported information. When the terminal needs to perform the packet stopping processing of the application program again, the corresponding packet stopping operation can be executed according to the new information so as to improve the packet stopping success rate.
It should be noted that, when a certain application of the terminal is first used by the user to automatically stop packaging other applications, the user is required to authorize the application, and specifically, the user may authorize the application by starting the auxiliary function of the application. In practical application, the application program may prompt a user to start the auxiliary function, the prompt interface may be as shown in fig. 4a, and when the user clicks a "go to start" button, the user is prompted to start the power saving function switch in a corresponding area, the prompt interface may be as shown in fig. 4b, and in addition, the user may be prompted as single authorization or always authorized to the application program, and the prompt interface may be as shown in fig. 4 c.
Corresponding to the above method embodiment, an embodiment of the present invention further provides an application program package stopping device, which is applied to a terminal, and as shown in fig. 5, the device may include the following modules:
a pending package application determining module 510, configured to determine an application of a pending package;
a package stop setting page calling module 520, configured to call a package stop setting page of the application program;
a package stop button position determining module 530, configured to determine, in the package stop setting page, a position of a package stop button of the application:
and the package stopping processing module 540 is configured to generate a click operation at the determined position of the package stopping button, and perform package stopping processing on the application program.
By applying the device provided by the embodiment of the invention, the terminal determines the application program to be subjected to package stopping, the package stopping setting page of the application program is called, the clicking operation is generated at the position of the determined package stopping button in the package stopping setting page, the package stopping processing is carried out on the application program, the package stopping processing process of the application program is automatically completed by the terminal, the user does not need to manually stop the package of the application program one by one, the operation is simple, and the user experience is better.
In an embodiment of the present invention, the pending application program determining module 510 may include the following sub-modules:
the display interface output submodule is used for outputting a display interface of the application program recommended to stop the package according to the running state of each application program;
and the application program to be stopped package determining submodule is used for determining the application program to be stopped package according to the selection of the user on the application program in the display interface.
In a specific embodiment of the present invention, the pending package application program determining submodule is specifically configured to:
determining the application program selected by the user in the display interface as the application program to be packaged in a stopping way;
or,
and determining the application program selected by the user in the display interface and the application program associated with the application program selected by the user as the application program to be subjected to the package stopping.
Referring to fig. 6, in an embodiment of the present invention, the apparatus may further include:
a package stopping button identifier searching module 520' for searching the package stopping button identifier of the application program in a package stopping strategy library;
the package stop button position determining module 530 may be specifically configured to:
and determining the position of the package stopping button of the application program in the package stopping setting page according to the searched package stopping button identifier.
In an embodiment of the present invention, the package stop button identifier lookup module 520' may be specifically configured to:
and searching a package stopping button identifier of the application program corresponding to the relevant attribute information of the terminal in a package stopping strategy library, wherein the relevant attribute information is at least one of terminal model information, operating system type information, operating system version information and operating system language information.
In an embodiment of the present invention, the packet stop processing module 540 may be specifically configured to:
under the condition that the application program is the first application program to be packaged stopping, directly generating clicking operation at the position of the determined package stopping button, and performing package stopping processing on the application program;
and under the condition that the application program is not the first application program to be packaged for stopping, generating clicking operation at the position of the determined package stopping button when the package stopping experience duration of the last application program to be packaged for stopping the application program is reached, and performing package stopping processing on the application program, wherein the package stopping experience durations of all the application programs are the same or different.
Corresponding to the above method embodiment and apparatus embodiment, the embodiment of the present invention further provides an electronic device.
An electronic device may include: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for:
determining an application program of a package to be stopped;
calling a package stopping setting page of the application program;
determining the position of a package stopping button of the application program in the package stopping setting page;
and generating a clicking operation at the determined position of the package stopping button, and performing package stopping processing on the application program.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those skilled in the art will appreciate that all or part of the steps in the above method embodiments may be implemented by a program to instruct relevant hardware to perform the steps, and the program may be stored in a computer-readable storage medium, which is referred to herein as a storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (13)

1. A method for stopping a package of an application program is applied to a terminal, and is characterized by comprising the following steps:
determining an application program of a package to be stopped;
calling a package stopping setting page of the application program;
determining the position of a package stopping button of the application program in the package stopping setting page;
generating a click operation at the determined position of the package stopping button, and performing package stopping processing on the application program;
after the application program is subjected to package stopping processing, acquiring state information of the application program, and judging whether the package stopping of the application program is successful or not;
if the application program fails to stop the package, acquiring reported information; sending the report information to a server, so that the server determines a packet stop button identifier corresponding to the application program and/or adjusts the packet stop experience time length according to the report information after receiving the report information; the reporting information comprises: the identification information of the application program, the related attribute information and the information of other currently running application programs.
2. The method of claim 1, wherein determining the application to be parked comprises:
outputting a display interface of the application program recommending the package stopping according to the running state of each application program;
and determining the application program of the package to be stopped according to the selection of the user on the application program in the display interface.
3. The method of claim 2, wherein determining the application to be packaged for shutdown based on the user selection of the application in the presentation interface comprises:
determining the application program selected by the user in the display interface as the application program to be packaged in a stopping way;
or,
and determining the application program selected by the user in the display interface and the application program associated with the application program selected by the user as the application program to be subjected to the package stopping.
4. The method of claim 1, wherein after the determining the application to be docked, the method further comprises:
searching a package stopping button identifier of the application program in a package stopping strategy library;
the determining the position of the package stopping button of the application program in the package stopping setting page comprises the following steps:
and determining the position of the package stopping button of the application program in the package stopping setting page according to the searched package stopping button identifier.
5. The method of claim 4, wherein the searching for the package stop button identifier of the application in a package stop policy repository comprises:
and searching a package stopping button identifier of the application program corresponding to the relevant attribute information of the terminal in a package stopping strategy library, wherein the relevant attribute information is at least one of terminal model information, operating system type information, operating system version information and operating system language information.
6. The method according to claim 1, wherein the generating of the click operation at the determined position of the package stopping button for performing package stopping processing on the application program comprises:
under the condition that the application program is the first application program to be packaged stopping, directly generating clicking operation at the position of the determined package stopping button, and performing package stopping processing on the application program;
and under the condition that the application program is not the first application program to be packaged for stopping, generating clicking operation at the position of the determined package stopping button when the package stopping experience duration of the last application program to be packaged for stopping the application program is reached, and performing package stopping processing on the application program, wherein the package stopping experience durations of all the application programs are the same or different.
7. An application program package stopping device applied to a terminal is characterized by comprising:
the package to be stopped application program determining module is used for determining the application program of the package to be stopped;
the package stopping setting page calling module is used for calling a package stopping setting page of the application program;
a package stop button position determination module, configured to determine, in the package stop setting page, a position of a package stop button of the application:
the package stopping processing module is used for generating clicking operation at the determined position of the package stopping button and performing package stopping processing on the application program;
the judging module is used for acquiring the state information of the application program after the package stopping processing is carried out on the application program, and judging whether the package stopping of the application program is successful or not;
the reporting module is used for acquiring reporting information when the application program fails to stop packaging; sending the report information to a server, so that the server determines a packet stop button identifier corresponding to the application program and/or adjusts the packet stop experience time length according to the report information after receiving the report information; the reporting information comprises: the identification information of the application program, the related attribute information and the information of other currently running application programs.
8. The apparatus of claim 7, wherein the pending application determination module comprises:
the display interface output submodule is used for outputting a display interface of the application program recommended to stop the package according to the running state of each application program;
and the application program to be stopped package determining submodule is used for determining the application program to be stopped package according to the selection of the user on the application program in the display interface.
9. The apparatus according to claim 8, wherein the pending package application determination submodule is specifically configured to:
determining the application program selected by the user in the display interface as the application program to be packaged in a stopping way;
or,
and determining the application program selected by the user in the display interface and the application program associated with the application program selected by the user as the application program to be subjected to the package stopping.
10. The apparatus of claim 7, further comprising:
the package stopping button identifier searching module is used for searching the package stopping button identifier of the application program in a package stopping strategy library;
the package stopping button position determining module is specifically configured to:
and determining the position of the package stopping button of the application program in the package stopping setting page according to the searched package stopping button identifier.
11. The apparatus of claim 10, wherein the stop packet button identifier lookup module is specifically configured to:
and searching a package stopping button identifier of the application program corresponding to the relevant attribute information of the terminal in a package stopping strategy library, wherein the relevant attribute information is at least one of terminal model information, operating system type information, operating system version information and operating system language information.
12. The apparatus of claim 7, wherein the packet stop processing module is specifically configured to:
under the condition that the application program is the first application program to be packaged stopping, directly generating clicking operation at the position of the determined package stopping button, and performing package stopping processing on the application program;
and under the condition that the application program is not the first application program to be packaged for stopping, generating clicking operation at the position of the determined package stopping button when the package stopping experience duration of the last application program to be packaged for stopping the application program is reached, and performing package stopping processing on the application program, wherein the package stopping experience durations of all the application programs are the same or different.
13. An electronic device, comprising: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for:
determining an application program of a package to be stopped;
calling a package stopping setting page of the application program;
determining the position of a package stopping button of the application program in the package stopping setting page;
generating a click operation at the determined position of the package stopping button, and performing package stopping processing on the application program;
after the application program is subjected to package stopping processing, acquiring state information of the application program, and judging whether the package stopping of the application program is successful or not;
if the application program fails to stop the package, acquiring reported information; sending the report information to a server, so that the server determines a packet stop button identifier corresponding to the application program and/or adjusts the packet stop experience time length according to the report information after receiving the report information; the reporting information comprises: the identification information of the application program, the related attribute information and the information of other currently running application programs.
CN201510642350.2A 2015-09-30 2015-09-30 Application program package stopping method and device and electronic equipment Expired - Fee Related CN105204908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510642350.2A CN105204908B (en) 2015-09-30 2015-09-30 Application program package stopping method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510642350.2A CN105204908B (en) 2015-09-30 2015-09-30 Application program package stopping method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105204908A CN105204908A (en) 2015-12-30
CN105204908B true CN105204908B (en) 2019-06-14

Family

ID=54952608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510642350.2A Expired - Fee Related CN105204908B (en) 2015-09-30 2015-09-30 Application program package stopping method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105204908B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648760A (en) * 2016-11-30 2017-05-10 捷开通讯(深圳)有限公司 Terminal and method thereof for cleaning background application programs based on face recognition
CN107329763B (en) * 2017-06-30 2020-12-18 北京金山安全软件有限公司 Application program interface display method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN103559445A (en) * 2013-11-07 2014-02-05 北京奇虎科技有限公司 Application-program interactive control method and device
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030145239A1 (en) * 2002-01-31 2003-07-31 Kever Wayne D. Dynamically adjustable cache size based on application behavior to save power

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN103559445A (en) * 2013-11-07 2014-02-05 北京奇虎科技有限公司 Application-program interactive control method and device
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application

Also Published As

Publication number Publication date
CN105204908A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
WO2016165389A1 (en) Screen exception handling method, handling device, and terminal
CN106162805B (en) WIFI hotspot service access control method and device
CN104021218A (en) Information display method and device
CN111026581A (en) Application program repairing method, device, system, storage medium and electronic device
CN105929697A (en) Smart home maintenance method and device and terminal
CN109982355B (en) Method for saving and restoring network path, apparatus, terminal and storage medium thereof
CN105204908B (en) Application program package stopping method and device and electronic equipment
CN105721203A (en) Upgrade processing method and device
CN116419184A (en) Processing method for vehicle remote wake-up and computer readable storage medium
CN102622254B (en) Television outage disposal route and system
WO2017181465A1 (en) Access point name configuration method and device
CN105607920B (en) Application program package stopping method and device and electronic equipment
CN111107147B (en) Message pushing method and device
CN105224188B (en) Application program package stopping method and device and electronic equipment
CN116668268A (en) Network repair method for terminal equipment, terminal equipment and storage medium
WO2015021827A1 (en) Method,device and system for offline reconnection of a web application
CN105528221A (en) Electronic device reset processing method and apparatus
CN107566215B (en) Wireless network cutout detection method, device, storage medium and mobile terminal
CN109901692A (en) Execution method, apparatus, terminal and the storage medium of target application
CN102487459A (en) Monitoring method for web television system and device thereof
CN109634782A (en) A kind of detection method of system robustness, device, storage medium and terminal
CN103986595A (en) Fault analyzing and upgrading method and server
CN109669359B (en) Method and device for detecting passive equipment and electronic equipment
CN108347521A (en) A kind of data back up method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190614

CF01 Termination of patent right due to non-payment of annual fee