CN109710278B - Method and device for unloading application program and terminal equipment - Google Patents

Method and device for unloading application program and terminal equipment Download PDF

Info

Publication number
CN109710278B
CN109710278B CN201811585384.2A CN201811585384A CN109710278B CN 109710278 B CN109710278 B CN 109710278B CN 201811585384 A CN201811585384 A CN 201811585384A CN 109710278 B CN109710278 B CN 109710278B
Authority
CN
China
Prior art keywords
application program
application
target
program
uninstalling
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
CN201811585384.2A
Other languages
Chinese (zh)
Other versions
CN109710278A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811585384.2A priority Critical patent/CN109710278B/en
Publication of CN109710278A publication Critical patent/CN109710278A/en
Application granted granted Critical
Publication of CN109710278B publication Critical patent/CN109710278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for uninstalling an application program and terminal equipment, which are used for improving the efficiency of uninstalling a plurality of application programs. The method comprises the following steps: obtaining an uninstalling instruction for a target folder, wherein the uninstalling instruction is used for indicating to uninstall at least one application program corresponding to at least one application icon included in the target folder; determining a target application program to be uninstalled from at least one application program according to the uninstalling instruction; obtaining program resources corresponding to a target application program, wherein the program resources of the application program comprise program installation information, application icons and cache records; and deleting the program resource corresponding to the target application program so as to uninstall the target application program.

Description

Method and device for unloading application program and terminal equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for uninstalling an application program, and a terminal device.
Background
At present, with the continuous development of science and technology, mobile terminals have gradually become the main carrier of people for activities such as entertainment, work, daily shopping, and the like, and in order to provide better use experience for users, tens of thousands of application programs covering various industries appear in mobile terminals.
However, due to the occurrence of a large number of applications, some problems occur when a user manages the applications, for example, when the user wants to uninstall a plurality of applications, the existing method requires the user to confirm to uninstall one application and then confirm to uninstall another application, and the uninstall of the plurality of applications is completed by means of multiple uninstallations respectively.
Therefore, in the process of uninstalling a plurality of application programs, a user needs to perform more operations, the operation process is complicated, the efficiency of uninstalling the plurality of application programs is low, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a method and a device for uninstalling an application program and terminal equipment, which are used for improving the efficiency of uninstalling a plurality of application programs.
In a first aspect, a method for uninstalling an application is provided, the method including:
obtaining an uninstalling instruction for a target folder, wherein the uninstalling instruction is used for indicating to uninstall at least one application program corresponding to at least one application icon included in the target folder;
determining a target application program to be uninstalled from the at least one application program according to the uninstalling instruction;
obtaining program resources corresponding to the target application program, wherein the program resources of the application program comprise program installation information, application icons and cache records;
and deleting the program resource corresponding to the target application program so as to uninstall the target application program.
Optionally, obtaining an uninstall instruction for the target folder includes:
obtaining a first preset operation performed on the target folder, wherein the first preset operation is an operation for triggering quick uninstalling of an application program in the target folder;
and obtaining the unloading instruction according to the first preset operation.
Optionally, obtaining an uninstall instruction for the target folder includes:
obtaining a second preset operation performed on the target file;
displaying a folder menu option according to the triggering of the second preset operation, wherein the folder menu option comprises a one-key unloading option;
obtaining a first selection operation for selecting the one-key uninstalling option;
and obtaining the unloading instruction according to the first selection operation.
Optionally, determining a target application to be uninstalled from the at least one application according to the uninstalling instruction includes:
determining a reserved application program belonging to a preset application program set from the at least one application program according to the uninstalling instruction, wherein the preset application program set comprises all system application programs;
determining the application program of the at least one application program except the reserved application program as the target application program.
Optionally, determining a target application to be uninstalled from the at least one application according to the uninstalling instruction includes:
displaying at least one uninstalling confirmation option corresponding to the at least one application program according to the uninstalling instruction;
obtaining a second selection operation for the at least one confirmation uninstalling option;
determining a selected confirmation uninstalling option according to the second selection operation;
and determining the application program corresponding to the selected uninstalling confirmation option as the target application program.
Optionally, determining a target application to be uninstalled from the at least one application according to the uninstalling instruction includes:
determining a program cache memory of each application program in the at least one application program according to the unloading instruction;
and determining the application program with the program cache memory smaller than or equal to a preset memory threshold value as the target application program.
Optionally, after the target application is uninstalled, the method further includes:
determining whether the target folder is an empty folder;
and deleting the target folder when the target folder is an empty folder.
In a second aspect, an apparatus for uninstalling an application is provided, the apparatus for uninstalling an application comprising:
the device comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining an uninstalling instruction for a target folder, and the uninstalling instruction is used for indicating to uninstall at least one application program corresponding to at least one application icon included in the target folder;
the determining module is used for determining a target application program to be uninstalled from the at least one application program according to the uninstalling instruction;
the second obtaining module is used for obtaining the program resources corresponding to the target application program, wherein the program resources of the application program comprise program installation information, application icons and cache records;
and the uninstalling module is used for deleting the program resource corresponding to the target application program so as to uninstall the target application program.
Optionally, the first obtaining module is configured to:
obtaining a first preset operation performed on the target folder, wherein the first preset operation is an operation for triggering quick uninstalling of an application program in the target folder;
and obtaining the unloading instruction according to the first preset operation.
Optionally, the first obtaining module is configured to:
obtaining a second preset operation performed on the target file;
displaying a folder menu option according to the triggering of the second preset operation, wherein the folder menu option comprises a one-key unloading option;
obtaining a first selection operation for selecting the one-key uninstalling option;
and obtaining the unloading instruction according to the first selection operation.
Optionally, the determining module is configured to:
determining a reserved application program belonging to a preset application program set from the at least one application program according to the uninstalling instruction, wherein the preset application program set comprises all system application programs;
determining the application program of the at least one application program except the reserved application program as the target application program.
Optionally, the determining module is configured to:
displaying at least one uninstalling confirmation option corresponding to the at least one application program according to the uninstalling instruction;
obtaining a second selection operation for the at least one confirmation uninstalling option;
determining a selected confirmation uninstalling option according to the second selection operation;
and determining the application program corresponding to the selected uninstalling confirmation option as the target application program.
Optionally, the determining module is configured to:
determining a program cache memory of each application program in the at least one application program according to the unloading instruction;
and determining the application program with the program cache memory smaller than or equal to a preset memory threshold value as the target application program.
Optionally, the apparatus for uninstalling an application further includes a deletion module, configured to:
determining whether the target folder is an empty folder;
and deleting the target folder when the target folder is an empty folder.
In a third aspect, a terminal device is provided, which includes:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the steps included in any of the methods of the first aspect according to the obtained program instructions.
In a fourth aspect, there is provided a storage medium having stored thereon computer-executable instructions for causing a computer to perform the steps included in any one of the methods of the first aspect.
In the embodiment of the present invention, when it is desired to uninstall at least one application program included in a target folder, for example, three application programs or a plurality of application programs, a user may operate on the target folder first, a terminal device may obtain an uninstalling instruction for the target folder according to the operation, further, after the terminal device obtains the uninstalling instruction, the terminal device may determine a target application program to be uninstalled from the at least one application program according to the uninstalling instruction, and then obtain a program resource corresponding to the target application program, so as to delete the program resource corresponding to the target application program, so as to uninstall the target application program, that is, a plurality of application programs that are desired to be uninstalled may be collected into one folder, so that the purpose of deleting application programs in bulk may be achieved by directly performing one operation on the target folder, the application programs do not need to be unloaded one by one, operation steps of a user are simplified, time of the user can be saved, accordingly, the efficiency of unloading the application programs can be improved to a certain extent, and use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention.
FIG. 1 is a flow chart of a method of uninstalling an application in an embodiment of the present invention;
FIG. 2 is a diagram illustrating the determination of a target folder in an embodiment of the present invention;
FIG. 3 is a diagram illustrating an embodiment of determining to obtain an unload instruction;
FIG. 4 is a diagram illustrating a targeted application in accordance with an embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus for uninstalling an application according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying 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 of the 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 embodiments and features of the embodiments of the present invention may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In the embodiment of the present invention, the "plurality" may mean at least two, for example, two, three, or more, and the embodiment of the present invention is not limited.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
In the prior art, when a user finds that the memory of the mobile phone is insufficient or the mobile phone runs slowly, the user wants to uninstall an application program so that the mobile phone can run quickly, however, the method for uninstalling the application program in the prior art needs the user to uninstall one application program and then uninstall another application program, which not only wastes the time of the user, and the operation process is cumbersome, for example, assuming that the user wishes to uninstall the application a, the application B, and the application C, the user can first press the application icon corresponding to the application a, then slide upwards to uninstall the application program A, and then perform the above operations on the application program B and the application program C to uninstall the above three application programs, the unloading method is complex in operation process, consumes time of a user, is low in application program unloading efficiency, and reduces user experience.
In view of this, an embodiment of the present invention provides a method for uninstalling an application, where a plurality of applications that are expected to be uninstalled may be collected into one folder, so that the target folder may be directly operated, and thus, a plurality of applications may be uninstalled in batches, efficiency of uninstalling a plurality of applications is improved, and user experience is improved.
The method for uninstalling an application provided in the embodiment of the present invention may be executed by a device having an uninstalling function and installed with an application, where the device may be, for example, a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a notebook computer, an intelligent wearable device (e.g., an intelligent watch and an intelligent helmet), a terminal device such as a Personal computer, or may also be an intelligent home device such as a television and installed with an application.
The technical scheme provided by the embodiment of the invention is described in the following with the accompanying drawings of the specification.
Referring to fig. 1, an embodiment of the present invention provides a method for uninstalling an application, where the method may be executed by the foregoing terminal device or smart home device. The specific flow of the method is described below.
Step 101: and obtaining an uninstalling instruction for the target folder, wherein the uninstalling instruction is used for indicating to uninstall at least one application program corresponding to at least one application icon included in the target folder.
The method for uninstalling an application in the embodiment of the present invention may apply the application included in the uninstalled folder, and specifically, the application included in the folder may be one or more, which is not limited in the embodiment of the present invention. It should be noted that, in order to better describe the method in the embodiment of the present invention, the folder including all the applications to be uninstalled is referred to as the target folder.
In the embodiment of the present invention, the determining of the target folder may be that when a user desires to uninstall multiple applications in a current scene, the multiple applications are operated to obtain the target folder, for example, if the applications that the user desires to uninstall include an application M, an application N, and an application F, the user may perform a moving operation on application icons in the three applications at a display interface of the terminal device to move three application icons corresponding to the three applications into one folder, so as to complete establishing the target folder at the display interface of the terminal, thereby obtaining the target folder.
In another possible implementation manner, the manner of determining the target folder may also be directly determining an existing folder as the target folder, for example, when the user wishes to uninstall the application 1, the application 2, and the application 3 included in the folder named as entertainment shown in fig. 2, the folder named as entertainment may be determined as the target folder, and specifically, in which manner the target folder is obtained, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the manner of obtaining the uninstall instruction for the target folder may be to obtain a first predetermined operation performed on the target folder, where the first predetermined operation is an operation that triggers fast uninstall of an application program in the target folder, and then obtain the uninstall instruction according to the first predetermined operation, for example, if the first predetermined operation is sliding of two fingers to the right, when a user slides the target folder on a display interface in the terminal device to the right using the two fingers, that is, the terminal device obtains the uninstall instruction according to the operation of detecting the sliding to the right, such an obtaining manner may enable the terminal device to obtain the uninstall instruction more quickly, so that user experience may be improved.
In the embodiment of the present invention, the manner of obtaining the uninstalling instruction for the target folder may also be to obtain a second predetermined operation performed on the target file, and then the terminal device displays a folder menu option according to the triggering of the second predetermined operation, where the folder menu option includes a one-key uninstalling option, and then the terminal device obtains a first selection operation for selecting the one-key uninstalling option, and then obtains the uninstalling instruction according to the first selection operation, for example, as shown in fig. 3, if the target folder is a folder named as entertainment, and if the first predetermined operation is a name of clicking the target folder, then the user may long-press the name of the target folder in fig. 3 to "entertainment", and then the terminal device may display the folder menu option according to the foregoing operations, where the folder menu option includes renaming, one-key uninstalling, and one-key uninstalling, Sharing, then the user can select to click a one-key uninstalling option, so that the terminal equipment obtains an uninstalling instruction according to the selection operation of the user, and in this way, the user can operate the target folder in daily use, the memory burden of the user is reduced, and the user experience is improved.
Step 102: and determining a target application program to be uninstalled from the at least one application program according to the uninstalling instruction.
As described previously, in an application scenario where at least one application included in the target folder is uninstalled at once, it is generally desirable to uninstall all the applications to be uninstalled in the target folder at one time when the target folder is uninstalled, in the embodiment of the present invention, the applications to be uninstalled are referred to as target applications, and the target applications may be, for example, non-system applications that are to be uninstalled at present, or may be an application program whose program cache memory is smaller than a predetermined memory threshold, and so on, and further, the target application program may be one or more, specifically, the target application program can be determined from at least one application program in different determining modes under different application scenes, and determining the target application program from the plurality of application programs is a precondition for realizing accurate uninstallation of the application program to be uninstalled.
In embodiments of the present invention, the target application may be determined from the target folder in two general ways, active determination and passive determination. The active determination method is, for example, to compare the program cache memory of each application program in the at least one application program with a predetermined memory threshold value, so as to determine the application program smaller than or equal to the predetermined memory threshold value as a final target application program, and since the active determination method is to directly compare the program cache memory of the application program, the rate is faster, and the determination efficiency is higher; the passive determination method is, for example, to determine the final target application program according to the obtained second selection operation performed on at least one determined uninstalling option, that is, another optional determination method is provided in the foregoing automatic determination method, so that the applicability and flexibility of the scheme are enhanced, and since the determination is performed through the real-time second selection operation, the determination is more targeted through the determination method of the second selection operation, and the accuracy of determining the target application program to be uninstalled is further improved.
To facilitate understanding of those skilled in the art, the following lists several possible ways to describe how to determine the target application from at least one application included in the target folder, and it should be understood that the following examples are only illustrative and are not limiting to the embodiments of the present invention, and other determining ways may be adopted in the specific implementation process besides the ways listed below, which are not exhaustive herein.
First mode of determination
Determining a reserved application program belonging to a predetermined application program set from the at least one application program, wherein the predetermined application program set comprises all system application programs, and then determining the application program except the reserved application program from the at least one application program as a target application program.
In a first determination manner, some application programs may be predetermined, and a set of the predetermined application programs may be referred to as a predetermined application program set, specifically, all system application programs may be included in the predetermined application program set, for example, in a smart phone, and the predetermined application program set may be, for example, a set including a "calculator application program", a "flashlight application program", a "clock application program", a "calendar application program", a "weather application program", and the like.
After the at least one application program included in the target folder is obtained, each application program in the at least one application program can be judged to determine which application programs belong to the preset application set, if a certain application program belongs to the preset application program set, the application program is indicated to be a system application program, and then the application program can be regarded as a reserved application program and is not uninstalled, and other application programs except the reserved application program in the at least one application program are determined to be the target application program.
In the first determination mode, the condition that the target folder may include the system application program is considered, so that risks such as system instability or system running caused by unloading the system application program for the user are avoided, accuracy of unloading is ensured, and user experience is improved.
Second mode of determination
According to the obtained uninstalling instruction, at least one uninstalling confirmation option corresponding to at least one application program can be displayed, the terminal device can obtain a second selection operation performed on the at least one uninstalling confirmation option, and further determine the selected uninstalling confirmation option according to the second selection operation, so that the application program corresponding to the uninstalling confirmation option selected by the user is determined as the target application program.
In the embodiment of the present invention, after obtaining the uninstall instruction, at least one uninstall confirmation option corresponding to each of the at least one application program may be displayed on a display interface of the terminal device, in a specific implementation process, an application identifier of each of the at least one application program may be displayed in the terminal interface, specifically, the application identifier may be an application icon or an application name, and of course, the application icon and the application name may also be displayed simultaneously, further, each application identifier corresponds to (for example, to the right of) one uninstall confirmation option, when the user performs a second selection operation on the uninstall confirmation option, it indicates that the corresponding uninstall confirmation option is selected, and the terminal device may determine the uninstall confirmation option selected by the user according to the second selection operation when the terminal device obtains the second selection operation, and determining the application program corresponding to the selected confirmation uninstalling option as the target application program.
For example, if at least one application is an application a, an application B, and an application C, and if the application identifier is an application name, after the terminal device obtains the uninstall instruction, as shown in fig. 4, the terminal display interface displays the three applications and their corresponding uninstall confirmation options, and the user determines to operate the uninstall confirmation options corresponding to the applications a and B in fig. 4, so that the terminal device may determine the selected uninstall confirmation option according to the operation performed by the user, and further determine the application a and the application B corresponding to the uninstall confirmation option as the target application.
In the second determination mode, the user can be provided with the option of determining deletion again, so that the operation of mistaken deletion can be reduced as much as possible, the deletion accuracy is improved, and the user experience is improved.
Third mode of determination
According to the uninstalling instruction, the memory of the program cache of each application program in at least one application program can be determined, and then the application program with the memory of the program cache less than or equal to the preset memory threshold is determined as the target application program.
In a specific implementation process, considering that the longer the user uses an application program, the more data is cached by the application program, the larger the memory of the program cache corresponding to the application program is, and therefore, the program cache memory of each application program in the at least one application program can be determined according to the unloading instruction, then, whether the program cache memory of each application program is less than or equal to a predetermined memory threshold is judged, specifically, the predetermined memory threshold can be set according to the actual use condition of the user, and then determining the application program with the program cache memory less than or equal to the preset memory threshold value in at least one application program as the target application program, wherein in this way, the method and the device can avoid unloading the application programs which are commonly used by the user and have more cache resources, avoid mistaken unloading, and improve the unloading accuracy so as to improve the use experience of the user.
For example, continuing with the previous example, assuming that the predetermined memory threshold is 1GB, and assuming that the program cache memory of application a is 800M, the program cache memory of application B is 1.3GB, and the program cache memory of application C is 600M, then application a and application C may be determined to be the target applications.
Through the specific implementation modes of the determination modes, the target application program can be determined more accurately, so that the target application program can be determined accurately, the application program is prevented from being unloaded by mistake, the unloading accuracy is improved, and the subsequent processing work is smoother.
Step 103: and obtaining program resources corresponding to the target application program, wherein the program resources of the application program comprise program installation information, application icons and cache records.
As described above, after the target application program is determined, the program resource corresponding to the target application program may be obtained by using the package name of the target application program, and specifically, the program resource of the application program includes program installation information, an application icon, and a cache record.
Step 104: and deleting the program resource corresponding to the target application program so as to uninstall the target application program.
In the embodiment of the invention, after the program resource corresponding to the target application program is obtained, the program resource corresponding to the target application program can be deleted, so that the aim of uninstalling the target application program is fulfilled. Further, after the target application program is uninstalled, whether a target folder in which the target application program is located before is an empty folder or not can be determined, and when the target folder is determined to be the empty folder, the target folder can be deleted, so that a display interface of the terminal can be arranged, and certain desktop display resources are saved.
Therefore, by the above method, in the embodiment of the present invention, when it is desired to uninstall at least one application included in the target folder, for example, three applications or a plurality of applications may be used, a user may first operate the target folder, and the terminal device may obtain an uninstalling instruction for the target folder according to the operation, further, after the terminal device obtains the uninstalling instruction, the terminal device may determine a target application to be uninstalled from the at least one application according to the uninstalling instruction, and then obtain a program resource corresponding to the target application, so as to delete the program resource corresponding to the target application, so as to uninstall the target application, that is, a plurality of applications that are desired to be uninstalled may be collected into one folder, so that it is possible to achieve the purpose of deleting applications in bulk by directly performing one operation on the target folder, the application programs do not need to be unloaded one by one, operation steps of a user are simplified, time of the user can be saved, accordingly, the efficiency of unloading the application programs can be improved to a certain extent, and use experience of the user is improved.
Based on the same inventive concept, the embodiment of the present invention provides an apparatus for uninstalling an application, where the apparatus for uninstalling an application can implement the function corresponding to the foregoing method for uninstalling an application. The means for uninstalling an application may be a hardware structure, a software module, or a hardware structure plus a software module. The device for unloading the application program can be realized by a chip system, and the chip system can be formed by a chip and can also comprise the chip and other discrete devices. Referring to fig. 5, the apparatus for uninstalling an application includes a first obtaining module 501, a determining module 502, a second obtaining module 503, and an uninstalling module 504. Wherein:
a first obtaining module 501, configured to obtain an uninstall instruction for a target folder, where the uninstall instruction is used to instruct to uninstall at least one application program corresponding to at least one application icon included in the target folder;
a determining module 502, configured to determine, according to the uninstalling instruction, a target application to be uninstalled from the at least one application;
a second obtaining module 503, configured to obtain a program resource corresponding to a target application program, where the program resource of the application program includes program installation information, an application icon, and a cache record;
the uninstalling module 504 is configured to delete the program resource corresponding to the target application program, so as to uninstall the target application program.
In a possible implementation manner, the first obtaining module 501 is configured to obtain a first predetermined operation performed on a target folder, where the first predetermined operation is an operation that triggers fast uninstalling of an application program in the target folder; and obtaining an unloading instruction according to the first preset operation.
In a possible implementation manner, the first obtaining module 501 is configured to obtain a second predetermined operation performed on the target file; displaying a folder menu option according to the triggering of a second preset operation, wherein the folder menu option comprises a one-key unloading option; obtaining a first selection operation for selecting a one-key uninstalling option; according to the first selection operation, an unload instruction is obtained.
In a possible embodiment, the determining module 502 is configured to determine, according to the uninstall instruction, a reserved application belonging to a predetermined set of applications from among the at least one application, where the predetermined set of applications includes all system applications; and determining the application program except the reserved application program in the at least one application program as the target application program.
In a possible implementation, the determining module 503 is configured to display at least one uninstall confirmation option corresponding to at least one application according to the uninstall instruction; obtaining a second selection operation for at least one confirmation uninstalling option; determining a selected confirmation uninstalling option according to the second selection operation; and determining the application program corresponding to the selected confirmation uninstalling option as a target application program.
In a possible implementation manner, the determining module 503 is configured to determine, according to the uninstall instruction, a program cache memory of each application program of the at least one application program; and determining the application program with the program cache memory smaller than or equal to the preset memory threshold value as the target application program.
In a possible implementation manner, the apparatus for uninstalling an application in the embodiment of the present invention further includes a deletion module, configured to determine whether the target folder is an empty folder; and when the target folder is an empty folder, deleting the target folder.
All relevant contents of each step involved in the foregoing method for uninstalling an application may be referred to the functional description of the functional module corresponding to the apparatus for uninstalling an application in the embodiment of the present invention, and are not described herein again.
The division of the modules in the embodiments of the present invention is schematic, and only one logical function division is provided, and in actual implementation, there may be another division manner, and in addition, each functional module in each embodiment of the present invention may be integrated in one processor, or may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Based on the same inventive concept, an embodiment of the present invention provides a terminal device, please refer to fig. 6, where the terminal device includes at least one processor 601 and a memory 602 connected to the at least one processor, a specific connection medium between the processor 601 and the memory 602 is not limited in the embodiment of the present invention, in fig. 6, the processor 601 and the memory 602 are connected through a bus 600 as an example, the bus 600 is shown by a thick line in fig. 6, and a connection manner between other components is only schematically illustrated and is not limited. The bus 600 may be divided into an address bus, a data bus, a control bus, etc., and is shown with only one thick line in fig. 6 for ease of illustration, but does not represent only one bus or type of bus.
In the embodiment of the present invention, the memory 602 stores instructions executable by the at least one processor 601, and the at least one processor 601 may execute the steps included in the foregoing method for uninstalling an application program by executing the instructions stored in the memory 602.
The processor 601 is a control center of the terminal device, and may connect various parts of the terminal device through various interfaces and lines, and perform various functions and process data of the terminal device by operating or executing instructions stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring on the terminal device. Optionally, the processor 601 may include one or more processing units, and the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles an operating system, a user interface, an application program, and the like, and the modem processor mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 601. In some embodiments, the processor 601 and the memory 602 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 601 may be a general-purpose processor, such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
The memory 602, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 602 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 602 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 602 in the embodiments of the present invention may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 601, the code corresponding to the method for uninstalling an application program described in the foregoing embodiment may be solidified into a chip, so that the chip can execute the steps of the method for uninstalling an application program when running.
Based on the same inventive concept, embodiments of the present invention also provide a storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the steps of the method for uninstalling an application program as described above.
In some possible embodiments, the various aspects of the method for uninstalling an application provided by the present invention can also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the steps in the method for uninstalling an application according to various exemplary embodiments of the present invention described above in this specification when the program product runs on the terminal device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of uninstalling an application, the method comprising:
obtaining an uninstalling instruction for a target folder, wherein the uninstalling instruction is used for indicating to uninstall at least one application program corresponding to at least one application icon included in the target folder; the target folder is a pre-established folder or a folder newly built by moving a plurality of application programs; the target folder comprises a plurality of application icons, and the application icons are pre-stored or obtained in a moving mode;
determining a target application program to be uninstalled from the at least one application program according to the uninstalling instruction;
obtaining program resources corresponding to the target application program, wherein the program resources of the application program comprise program installation information, application icons and cache records;
and deleting the program resource corresponding to the target application program so as to uninstall the target application program.
2. The method of claim 1, wherein obtaining an uninstall instruction for a target folder comprises:
obtaining a first preset operation performed on the target folder, wherein the first preset operation is an operation for triggering quick uninstalling of an application program in the target folder;
and obtaining the unloading instruction according to the first preset operation.
3. The method of claim 1, wherein obtaining an uninstall instruction for a target folder comprises:
obtaining a second preset operation performed on the target file;
displaying a folder menu option according to the triggering of the second preset operation, wherein the folder menu option comprises a one-key unloading option;
obtaining a first selection operation for selecting the one-key uninstalling option;
and obtaining the unloading instruction according to the first selection operation.
4. A method according to any one of claims 1-3, wherein determining a target application to be uninstalled from the at least one application based on the uninstall instruction comprises:
determining a reserved application program belonging to a preset application program set from the at least one application program according to the uninstalling instruction, wherein the preset application program set comprises all system application programs;
determining the application program of the at least one application program except the reserved application program as the target application program.
5. A method according to any one of claims 1-3, wherein determining a target application to be uninstalled from the at least one application based on the uninstall instruction comprises:
displaying at least one uninstalling confirmation option corresponding to the at least one application program according to the uninstalling instruction;
obtaining a second selection operation for the at least one confirmation uninstalling option;
determining a selected confirmation uninstalling option according to the second selection operation;
and determining the application program corresponding to the selected uninstalling confirmation option as the target application program.
6. A method according to any one of claims 1-3, wherein determining a target application to be uninstalled from the at least one application based on the uninstall instruction comprises:
determining a program cache memory of each application program in the at least one application program according to the unloading instruction;
and determining the application program with the program cache memory smaller than or equal to a preset memory threshold value as the target application program.
7. The method of any of claims 1-3, wherein after uninstalling the target application, the method further comprises:
determining whether the target folder is an empty folder;
and deleting the target folder when the target folder is an empty folder.
8. An apparatus for uninstalling an application, the apparatus comprising:
the device comprises a first obtaining module, a second obtaining module and a third obtaining module, wherein the first obtaining module is used for obtaining an uninstalling instruction for a target folder, and the uninstalling instruction is used for indicating to uninstall at least one application program corresponding to at least one application icon included in the target folder; the target folder is a pre-established folder or a folder newly built by moving a plurality of application programs; the target folder comprises a plurality of application icons, and the application icons are pre-stored or obtained in a moving mode;
the determining module is used for determining a target application program to be uninstalled from the at least one application program according to the uninstalling instruction;
the second obtaining module is used for obtaining the program resources corresponding to the target application program, wherein the program resources of the application program comprise program installation information, application icons and cache records;
and the uninstalling module is used for deleting the program resource corresponding to the target application program so as to uninstall the target application program.
9. A terminal device, characterized in that the terminal device comprises:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the steps comprised in the method of any one of claims 1 to 7 in accordance with the obtained program instructions.
10. A storage medium storing computer-executable instructions for causing a computer to perform the steps comprising the method of any one of claims 1-7.
CN201811585384.2A 2018-12-24 2018-12-24 Method and device for unloading application program and terminal equipment Active CN109710278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811585384.2A CN109710278B (en) 2018-12-24 2018-12-24 Method and device for unloading application program and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811585384.2A CN109710278B (en) 2018-12-24 2018-12-24 Method and device for unloading application program and terminal equipment

Publications (2)

Publication Number Publication Date
CN109710278A CN109710278A (en) 2019-05-03
CN109710278B true CN109710278B (en) 2021-02-26

Family

ID=66257356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811585384.2A Active CN109710278B (en) 2018-12-24 2018-12-24 Method and device for unloading application program and terminal equipment

Country Status (1)

Country Link
CN (1) CN109710278B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489385B (en) * 2019-07-31 2021-06-15 维沃移动通信有限公司 Information processing method and terminal equipment
CN111698559A (en) * 2020-06-08 2020-09-22 深圳创维-Rgb电子有限公司 Storage method, television and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577417B (en) * 2012-07-23 2019-02-22 腾讯科技(深圳)有限公司 The method and apparatus for clearing up desktop
CN106896990A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 The discharging method and device of a kind of application program
CN106293854B (en) * 2016-08-23 2019-10-01 广东小天才科技有限公司 A kind of method and device handling application program for mobile terminal
US10667136B2 (en) * 2017-01-20 2020-05-26 Red Hat, Inc. Disabling applications on a client device remotely

Also Published As

Publication number Publication date
CN109710278A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN107957831B (en) Data processing method, device and processing equipment for displaying interface content
CN112748972B (en) Multi-task interface management method and electronic equipment
CN102654814B (en) Method and device for calling functions in application as well as electronic equipment
CN111984163B (en) Application icon display method and device and electronic equipment
CN112214142B (en) Application information display method and device, electronic equipment and storage medium
CN111427596B (en) Software upgrading method and device and terminal equipment
CN110633032B (en) Icon display method and device for terminal equipment
CN105955770A (en) Application program uninstalling method and terminal
CN109710278B (en) Method and device for unloading application program and terminal equipment
CN111562865B (en) Information sharing method and device, electronic equipment and storage medium
CN110764862A (en) Desktop wallpaper display method and device, terminal equipment and storage medium
CN114443189A (en) Image processing method and electronic equipment
CN112256178A (en) Application icon adjusting method, device and system
CN105279164A (en) File processing method and device based on IOS system
CN112905072B (en) Application processing method and device and electronic equipment
CN113157539A (en) Resource statistical method, device and terminal
CN112578961B (en) Application identifier display method and device
CN110297650B (en) Application program upgrading method and device, terminal equipment and storage medium
CN111162943B (en) Method and device for configuring application networking priority and electronic equipment
CN108614660A (en) A kind of merging method and device of file
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN107786744A (en) Date methods of exhibiting, device, computer installation and computer-readable recording medium
CN109725966B (en) Mode conversion method, device, terminal equipment and storage medium
CN113849195A (en) Application program loading method and device, storage medium and terminal
CN115437551A (en) Data cloning method, device, storage medium and computer program product

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