Software uninstalling method, device, equipment, storage medium and computer program product

By displaying uninstallation results and residual boot information in silent uninstallation mode, the problem of accidental data deletion during silent uninstallation is solved, thus improving the accuracy of uninstallation.

CN117407071BActive Publication Date: 2025-12-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210805400.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-08
Publication Date
2025-12-26
Estimated Expiration
2042-07-08

AI Technical Summary

Technical Problem

In silent uninstallation mode, user data is easily deleted by mistake, resulting in low uninstallation accuracy.

Method used

In silent uninstallation mode, the uninstallation results of the target software are displayed, and residual boot information is provided if any residual content exists. Files that have not been deleted are highlighted, allowing users to view and delete these files.

Benefits of technology

The accuracy of silent uninstallation has been improved, ensuring that users can effectively clean up residual files in silent uninstallation mode, thus improving the accuracy of uninstallation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117407071B_ABST
    Figure CN117407071B_ABST
Patent Text Reader

Abstract

The application discloses a software uninstalling method and device, equipment, storage medium and computer program product, and relates to the technical field of computers. The method comprises the following steps: in response to receiving an uninstalling viewing operation, displaying the uninstalling result of target software, wherein the uninstalling range of a silent uninstalling mode is smaller than that of a manual uninstalling mode; displaying the residual guide information corresponding to the target software; in response to receiving a content viewing operation on the residual guide information, displaying the file list corresponding to the target folder, and displaying the files corresponding to the residual content in a highlighted mode in the file list, the files corresponding to the residual content being the files outside the uninstalling range of the silent uninstalling mode; and in response to receiving a file deleting operation on the files in the file list, displaying the file deleting result. That is, by viewing the residual content corresponding to the target software uninstalled in the silent uninstalling mode through the residual guide information, the accuracy of software uninstalling in the silent uninstalling mode can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a software uninstallation method, apparatus, device, storage medium, and computer program product. Background Technology

[0002] With the continuous development of computer technology, users can download and use software on their terminals, and also uninstall software they no longer need. One proposed method is a silent uninstallation mode, which refers to uninstalling infrequently used software without the user's knowledge.

[0003] In related technologies, a silent uninstallation mode can be used to automatically uninstall software that has not been started for a long time from the background.

[0004] However, since silent uninstallation is an uninstallation method that is imperceptible to the user, there is a high possibility that the data needed by the user may be accidentally deleted during the silent uninstallation process, resulting in data loss and reducing the accuracy of silent uninstallation. Summary of the Invention

[0005] This application provides a software uninstallation method, apparatus, device, storage medium, and computer program product, which can improve the accuracy of silent uninstallation. The technical solution is as follows.

[0006] On the one hand, a software uninstallation method is provided, the method comprising:

[0007] In response to receiving an uninstallation viewing operation, the uninstallation result of the target software is displayed. The target software is uninstalled in silent uninstallation mode. Silent uninstallation mode refers to a mode in which the uninstallation is automatically triggered in the background when the uninstallation conditions are met. The uninstallation result is used to indicate the residual content of the target software after silent uninstallation. The uninstallation range of the silent uninstallation mode is smaller than the uninstallation range of the manual uninstallation mode.

[0008] If the target software has uninstallation residue, in response to receiving a residue viewing operation, the residual guidance information corresponding to the target software is displayed. The uninstallation residue is content associated with the target software that has not been deleted after uninstallation. The residual guidance information is used to guide the user to the target folder where the uninstallation residue is stored based on the storage path of the uninstallation residue.

[0009] In response to receiving a content viewing operation for the residual guide information, a file list corresponding to the target folder is displayed, wherein the file list contains the file corresponding to the uninstallation residual content, and the file corresponding to the uninstallation residual content is displayed in a highlighted mode in the file list, and the file corresponding to the uninstallation residual content is a file outside the uninstallation range of the silent uninstallation mode.

[0010] In response to receiving a file deletion operation in the file list, a file deletion result is displayed, and the file deletion operation is used to delete the file corresponding to the uninstallation residual content.

[0011] The display module is configured to display an uninstallation result of target software in response to receiving an uninstallation viewing operation, the target software being software uninstalled in a silent uninstallation mode, the silent uninstallation mode being a mode in which uninstallation is automatically triggered in the background when uninstallation conditions are met, and the uninstallation result being used to indicate a content residual situation of the target software after silent uninstallation, wherein an uninstallation range of the silent uninstallation mode is smaller than an uninstallation range of a manual uninstallation mode.

[0012] The display module is further configured to, in a case where the target software has uninstallation residual content, display residual guide information corresponding to the target software in response to receiving a residual viewing operation, the uninstallation residual content being content associated with the target software and not deleted after uninstallation ends, and the residual guide information being used to guide to a target folder in which the uninstallation residual content is stored according to a storage path of the uninstallation residual content.

[0013] The receiving module is further configured to, in response to receiving a content viewing operation for the residual guide information, display a file list corresponding to the target folder, wherein the file list contains the file corresponding to the uninstallation residual content, and the file corresponding to the uninstallation residual content is displayed in a highlighted mode in the file list, and the file corresponding to the uninstallation residual content is a file outside the uninstallation range of the silent uninstallation mode.

[0014] The display module is further configured to, in response to receiving a file deletion operation in the file list, display a file deletion result, and the file deletion operation is used to delete the file corresponding to the uninstallation residual content.

[0015] In another aspect, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the processor to implement the software uninstallation method according to any of the above embodiments of the present application.

[0016] In another aspect, a computer-readable storage medium is provided, and the storage medium stores at least one instruction, at least one program, a code set or an instruction set, which are loaded and executed by a processor to implement the software uninstallation method according to any one of the above embodiments of the present application.

[0017] In another aspect, a computer program product or computer program is provided, and the computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the software uninstallation method according to any one of the above embodiments.

[0018] The technical solutions provided by the embodiments of the present application have at least the following beneficial effects:

[0019] After the current receiving of the uninstallation viewing operation, the uninstallation result corresponding to the target software in the silent uninstallation mode is displayed, wherein the uninstallation range of the silent uninstallation mode is smaller than that of the manual uninstallation mode, when the target software has residual uninstallation content, residual guide information is displayed, and the files corresponding to the residual uninstallation content are displayed in a highlighted mode in the file list, guiding the user to view the corresponding files in the target folder storing the residual uninstallation content, facilitating the user to delete the files outside the range of the silent uninstallation mode, and effectively improving the efficiency of deleting the files of the residual content of the target software in the silent uninstallation mode, thereby improving the accuracy of the silent uninstallation. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0021] Figure 1 is an implementation environment schematic diagram provided by an exemplary embodiment of the present application;

[0022] Figure 2 is a software uninstallation method flowchart provided by an exemplary embodiment of the present application;

[0023] Figure 3 is a software uninstallation method flowchart provided by another exemplary embodiment of the present application;

[0024] Figure 4is a residual viewing operation schematic diagram provided by an exemplary embodiment of the present application;

[0025] Figure 5 is a file summary information schematic diagram provided by an exemplary embodiment of the present application;

[0026] Figure 6 is a content thumbnail schematic diagram provided by an exemplary embodiment of the present application;

[0027] Figure 7 is a file classification information schematic diagram provided by an exemplary embodiment of the present application;

[0028] Figure 8 is a software uninstallation method flowchart provided by another exemplary embodiment of the present application;

[0029] Figure 9 is a software uninstallation completion schematic diagram provided by an exemplary embodiment of the present application;

[0030] Figure 10 is an uninstallation indication mark schematic diagram provided by an exemplary embodiment of the present application;

[0031] Figure 11 is a sliding operation schematic diagram provided by an exemplary embodiment of the present application;

[0032] Figure 12 is a manual deletion interface schematic diagram provided by an exemplary embodiment of the present application;

[0033] Figure 13 is a software uninstallation method flowchart provided by an exemplary embodiment of the present application;

[0034] Figure 14 is a software library interface schematic diagram provided by an exemplary embodiment of the present application;

[0035] Figure 15 is a scanning result schematic diagram provided by an exemplary embodiment of the present application;

[0036] Figure 16 is a software classification list schematic diagram provided by an exemplary embodiment of the present application;

[0037] Figure 17 is a software classification list schematic diagram provided by another exemplary embodiment of the present application;

[0038] Figure 18 is a software classification list schematic diagram provided by another exemplary embodiment of the present application;

[0039] Figure 19 is a software uninstallation method flowchart provided by another exemplary embodiment of the present application;

[0040] Figure 20 This is a structural diagram of a software unloading device provided in an exemplary embodiment of this application;

[0041] Figure 21 This is a structural diagram of a software unloading device provided in an exemplary embodiment of this application;

[0042] Figure 22 This is a structural block diagram of a terminal provided in an exemplary embodiment of this application. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0044] It should be understood that although the terms first, second, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, a first parameter may also be referred to as a second parameter without departing from the scope of this disclosure, and similarly, a second parameter may also be referred to as a first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0045] First, a brief introduction to the terms used in the embodiments of this application will be given.

[0046] Uninstallation remnants: After a computer device uninstalls software, some files / folders may still be stored in the software's installation directory, or the software's installation directory may contain registry entries corresponding to the software. These registry entries are databases that store relevant program information for the software.

[0047] First, the implementation environment of this application will be introduced. Please refer to... Figure 1 The diagram illustrates an implementation environment provided by an exemplary embodiment of this application, which includes a terminal 110.

[0048] The terminal 110 has an application 111 installed with software uninstallation function. The application 111 can be implemented as a standalone application or as a network application, and there is no limitation on this.

[0049] In some embodiments, when the application 111 installed in the terminal 110 is implemented as a standalone application, when the target software meets the uninstall condition, the application 111 automatically performs silent uninstallation on the target software, and displays the uninstall result corresponding to the target software on the terminal 110. When the target software has uninstallation residual content, if the terminal 110 receives a residual viewing operation, it displays the residual guide information 112 corresponding to the target software, which guides the user to view the target folder where the uninstallation residual content of the target software is stored. The user can view the corresponding file list in the target folder and perform a file deletion operation on it by performing a content viewing operation on the residual guide information in the terminal 110.

[0050] In some embodiments, when the application 111 installed in the terminal 110 is implemented as a networked application, the implementation environment further includes a server and a communication network, wherein the terminal 110 and the server are connected through the communication network.

[0051] When the target software installed in the terminal 110 meets the uninstall condition, a software uninstall request is generated and sent to the server.

[0052] When the server receives the software uninstall request, it automatically performs silent uninstallation on the target software that needs to be uninstalled, including uninstalling the cloud data of the target software stored in the server, and feeding back the uninstall result to the terminal 110. The uninstall result includes the content residual situation of the target software after uninstallation, and the residual situation includes the files corresponding to the uninstallation residual content after uninstallation of the target software and the rendering data corresponding to the residual guide information. The terminal 110 receives and displays the uninstall result, and when the target software has uninstallation residual content, if the terminal 110 receives a residual viewing operation, it obtains the rendering data corresponding to the residual guide information from the uninstall result, and displays the residual guide information 112 in the terminal 110. The residual guide information 112 is used to guide to the target folder where the uninstallation residual content is stored according to the storage path of the uninstallation residual content. When the terminal 110 performs a content viewing operation on the residual guide information 112, it displays the file list corresponding to the uninstallation residual content in the residual guide information 112, which includes the files corresponding to the uninstallation residual content. The user can delete the files corresponding to the uninstallation residual content through the terminal 110.

[0053] The terminal is optional, and the terminal can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a smart television, a smart vehicle, and various forms of terminal devices, and the embodiments of the present application do not limit this.

[0054] It is worth noting that the above-mentioned server can be a stand-alone physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud security, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms.

[0055] Among them, cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network to realize data calculation, storage, processing, and sharing in a wide area network or local area network.

[0056] In some embodiments, the above-mentioned server can also be implemented as a node in a blockchain system.

[0057] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant national and regional laws, regulations and standards.

[0058] In combination with the above-mentioned name introduction and implementation environment, the application scenario of the software uninstalling method is described.

[0059] 1. In a silent uninstallation scenario, when the target software meets the uninstallation condition, the background automatically triggers automatic uninstallation of the target software when the background is in a silent uninstallation mode. When the current silent uninstallation process of the target software ends and there is residual uninstallation content of the target software, the uninstallation result of the target software is displayed, the residual viewing operation is received, the residual guide information corresponding to the target software is displayed, and the uninstallation residual content of the target software is displayed through the content viewing operation of the residual guide information. The user can delete the file to clean up the residual content of the target software in the silent uninstallation mode, thereby ensuring the network operation safety of the terminal and avoiding non-normal software remaining in the terminal, wherein the non-normal software includes at least one of promotion software, advertising software, virus residual software and the like.

[0060] 2. In a software automatic silent uninstallation in a software antivirus process, when the target software with a virus is scanned and identified by the specified software, the target software is automatically uninstalled. When the uninstallation ends, the uninstallation result corresponding to the target software is displayed. When the uninstallation result is that the target software has uninstallation residual content, the residual guide information is displayed. When the content viewing operation of the residual guide information is received, the file list of the uninstallation residual content is displayed, so that the user can delete the file corresponding to the uninstallation residual content, thereby cleaning up the residual content of the target software with a virus and improving the effectiveness of software management of the downloaded software in the computer device.

[0061] For illustration, please refer to Figure 2 which shows a flowchart of a software uninstallation method provided by an example embodiment of the present application. The method can be applied to a terminal, a server or both the terminal and the server. The example embodiment of the present application takes the method applied to a terminal as an example for illustration, as shown in Figure 2 which includes the following steps:

[0062] Step 210, in response to receiving the uninstallation viewing operation, the uninstallation result of the target software is displayed.

[0063] The target software is software uninstalled in a silent uninstallation mode. The silent uninstallation mode refers to a mode in which the background automatically triggers uninstallation when the uninstallation condition is met. The uninstallation result is used to indicate the content residual situation of the target software after silent uninstallation. The uninstallation range of the silent uninstallation mode is smaller than that of the manual uninstallation mode.

[0064] In some embodiments, the uninstallation viewing operation is used to trigger the display of the uninstallation result corresponding to the target software, thereby facilitating the user to view the uninstallation result of the target software.

[0065] Illustratively, the target software is software that is automatically uninstalled in a silent mode. The silent mode refers to a mode in which the background automatically uninstalls the target software that meets the uninstallation condition without the user obtaining an uninstallation notification. The uninstallation notification is used to show the user that the target software is about to be uninstalled. The background can be implemented as a terminal or a server, and is not limited in this regard.

[0066] Illustratively, the uninstallation range refers to the deletion of the files corresponding to the target software during the uninstallation of the target software. The deletion includes the number of deleted files, the type of deleted files, and the storage content of the deleted files.

[0067] In some embodiments, the uninstallation range of the silent uninstallation mode is smaller than the uninstallation range of the manual uninstallation mode. This includes that the number of files of the target software deleted in the silent uninstallation mode is smaller than the number of files of the target software deleted in the manual uninstallation mode; or the two modes each correspond to the deletion of different file types (more file types are deleted in the manual uninstallation mode); or the two modes each correspond to the deletion of files corresponding to different storage contents.

[0068] Optionally, the uninstallation range of the silent uninstallation mode is a specified range pre-set by the device; or the uninstallation range of the silent uninstallation mode is a range set by the user according to actual needs, and is not limited in this regard.

[0069] Step 220, in the case that the target software has uninstallation residual content, in response to receiving a residual viewing operation, displaying residual guide information corresponding to the target software.

[0070] The uninstallation residual content is content associated with the target software and not deleted after the uninstallation is completed. The residual guide information is used to guide to the target folder in which the uninstallation residual content is stored according to the storage path of the uninstallation residual content.

[0071] Illustratively, when the uninstallation result of the target software is implemented as a case that there is residual content after uninstallation, it indicates that the current target software has uninstallation residual content.

[0072] In some embodiments, the uninstallation residual content associated with the target software means that the uninstallation residual content contains relevant information of the target software, such as software usage data generated during the use of the target software, and software installation data corresponding to the target software.

[0073] Optionally, the uninstallation residual content includes at least one of the following content forms:

[0074] 1. The uninstallation residual content comprises a registry item corresponding to the target software, wherein the registry item is used to represent program registration information corresponding to the target software before uninstallation, and the program registration information can be implemented as initialization information corresponding to the target software, and is used to run the target software.

[0075] 2. The uninstallation residual content comprises files corresponding to an installation directory of the target software, wherein the installation directory refers to a file address where files installed by the target software during installation are stored.

[0076] 3. The uninstallation residual content comprises data files corresponding to the target software, wherein the data files comprise at least one of program files (such as program codes corresponding to the target software), parameter files (such as display parameters corresponding to the target software), and data files (such as files corresponding to data generated by the target software during use).

[0077] It is worth noting that the forms of the uninstallation residual content described above are only illustrative examples, and embodiments of the present application are not limited thereto.

[0078] In some embodiments, the residual viewing operation is used to view the uninstallation residual content of the target software.

[0079] Illustratively, the residual guidance information is used to guide the target folder where the uninstallation residual content is stored, so that the user can view the target folder where the uninstallation residual content is stored through a storage path of the uninstallation residual content.

[0080] The storage path of the uninstallation residual content refers to a file path of a file where the uninstallation residual content is stored, and the file path includes a hard disk name where the file is located and a target folder name where the file is located.

[0081] In step 230, in response to receiving a content viewing operation for the residual guidance information, a file list corresponding to the target folder is displayed.

[0082] The file list contains files corresponding to the uninstallation residual content, and the files corresponding to the uninstallation residual content are displayed in a highlighted mode in the file list. The files corresponding to the uninstallation residual content are files outside the uninstallation range of the silent uninstallation mode.

[0083] Illustratively, the content viewing operation is used to view files in the target folder where the uninstallation residual content is stored.

[0084] Illustratively, the silent uninstallation mode is used to delete files within the uninstallation range of the target software, and when there is a file in the target software outside the silent uninstallation mode, the file is used as a file corresponding to the uninstallation residual content of the target software.

[0085] In some embodiments, the uninstall residual content is stored in one target folder or multiple target folders, and when the uninstall residual content is implemented as being stored in different target folders, the content viewing operation can be implemented as simultaneously displaying the file lists corresponding to the multiple target folders respectively; or, the content viewing operation can only display the file list corresponding to one target folder at a time, without limitation.

[0086] When the uninstall residual content is implemented as being stored in different target folders, the folder lists corresponding to the different target folders are displayed, and the switching viewing of the different target folders is implemented by triggering operations on the different target folders.

[0087] Illustratively, the file list displays the files arranged according to a specified sorting rule, and the specified sorting rule includes at least one of the following sorting rules: file creation time, file memory capacity, file name, etc.

[0088] Optionally, the file list corresponding to the target folder only stores the files corresponding to the uninstall residual content; or, the file list corresponding to the target folder stores the files corresponding to the uninstall residual content and other files.

[0089] In some embodiments, in the file list corresponding to the target folder, the files corresponding to the uninstall residual content are displayed in a highlighted mode during the display of the file list, for distinguishing the files corresponding to the uninstall residual content from other files in the current file list.

[0090] Optionally, the highlighted mode includes displaying the file name in a highlighted form; or, displaying a target file identifier at a specified position of the file corresponding to the uninstall residual content, for indicating that the file is the file corresponding to the uninstall residual content, without limitation.

[0091] When the target folder stores other files, the content viewing operation only displays the file list of the files corresponding to the uninstall residual content in the target folder, or the content viewing operation displays all the stored files in the target folder (including the files corresponding to the uninstall residual content and other files).

[0092] Optionally, the content viewing operation includes at least one of the following operation modes:

[0093] 1. The residual guide information includes a jump path control, and the content viewing operation is implemented as a triggering operation on the guide control, so as to directly jump and display the file list corresponding to the uninstall residual content (the files in the file list are in a viewable or deletable state) through the jump path control.

[0094] 2. The residual guidance information includes a storage path corresponding to the uninstallation residual content. The content viewing operation is implemented as a triggering operation on the storage path. The current triggering displays a schematic diagram corresponding to a file list of the uninstallation residual content (the file list only has a display function).

[0095] 3. The residual guidance information only has a display function. The content viewing operation is implemented as a manual search of a target folder storing the uninstallation residual content by a user according to a storage path corresponding to the uninstallation residual content.

[0096] It should be noted that the operation mode of the content viewing operation described above is only an illustrative example, and the embodiments of the present application are not limited in this regard.

[0097] Optionally, the file list of the target folder displayed through the content viewing operation displays a thumbnail corresponding to a file; or displays text information (for example, a file name) corresponding to the file; or displays storage content (for example, file 1: storage of an installation directory of software A) corresponding to the file; or displays a file type (for example, file 2: an audio file.mp4) corresponding to the file, and the like, and the present application is not limited in this regard.

[0098] In step 240, in response to receiving a file deletion operation on the file list, a file deletion result is displayed.

[0099] The file deletion operation is used to delete a file corresponding to the uninstallation residual content.

[0100] Optionally, the file deletion operation includes at least one of the following operation modes:

[0101] 1. The file deletion operation is implemented as a selection of each file to be deleted, and finally the selected files are uniformly deleted; or as a random deletion of the file to be deleted as the file is selected;

[0102] 2. The file list displays an uninstallation indication mark for a file corresponding to the uninstallation residual content. Through a triggering operation on the uninstallation indication mark, all files corresponding to the uninstallation residual content are selected and deleted as a file deletion operation;

[0103] 3. The file list displays a text input box. By inputting text content corresponding to a file to be deleted in the text input box, the text content is recognized to determine a file in the file list matching the text content for corresponding deletion as a file deletion operation. For example, the text content of "delete the installation directory of software A" is input in the text input box. After the text content is recognized, file C storing the installation directory of software A in the file list is determined, and file C is deleted.

[0104] Illustratively, the file deletion result is used to indicate a deletion condition of a file currently deleted by the file deletion operation, wherein the deletion condition includes a deletion success or a deletion failure.

[0105] To sum up, the software uninstallation method provided by the embodiments of the present application displays the uninstallation result of the target software in the silent uninstallation mode after receiving the uninstallation viewing operation, wherein the silent uninstallation range is smaller than the uninstallation range of the manual uninstallation mode, and when there is residual uninstallation content of the target software, the residual guiding information is displayed, and the files corresponding to the residual uninstallation content are displayed in the file list in the highlight display mode, guiding the user to view the corresponding files in the target folder storing the residual uninstallation content, facilitating the user to delete the files outside the range of the silent uninstallation mode, and effectively improving the efficiency of the file deletion of the residual content of the target software in the silent uninstallation mode, thereby improving the accuracy of the silent uninstallation.

[0106] In an optional embodiment, the residual guiding information is implemented as folder information of the target folder, please refer to Figure 3 , which shows a flowchart of the software uninstallation method provided by an exemplary embodiment of the present application, as Figure 3 , that is, step 220 includes steps 221 to 223, and the method includes the following steps:

[0107] Step 221, in response to receiving the residual viewing operation, determining the target folder storing the residual uninstallation content of the target software.

[0108] Illustratively, when the residual viewing operation of the target software is received, the target folder storing the residual uninstallation content of the target software is determined.

[0109] Optionally, the determination of the target folder includes at least one of the following ways:

[0110] 1. When the residual viewing operation of the target software is received, the files corresponding to the residual uninstallation content of the target software are determined, and the folder storing the files is determined as the target folder according to the storage path of the files;

[0111] 2. The files corresponding to the target software have file storage information stored in advance, wherein the file storage information stores the files corresponding to the target software and the folder information corresponding to the files, when the residual viewing operation of the target software is received, the files corresponding to the residual uninstallation content of the target software and the corresponding folder information are obtained, and the corresponding target folder is determined according to the folder information;

[0112] 3. When the residual viewing operation of the target software is received, all the folders stored in the device are traversed, the folder storing the files corresponding to the residual uninstallation content is determined as the target folder.

[0113] It is worth noting that the above-mentioned determination of the target folder is only an example, and the embodiments of the present application are not limited thereto.

[0114] Optionally, the target folder in which the uninstallation residual content of the target software is stored is only one; or, the uninstallation residual content is stored in multiple different target folders, and the embodiments of the present application are not limited thereto.

[0115] In the case that the uninstallation residual content is stored in multiple different target folders, when the residual viewing operation is received, the multiple target folders in which the uninstallation residual content of the target software is stored are determined in sequence, or the multiple target folders are determined simultaneously according to the uninstallation residual content of the target software, and the embodiments of the present application are not limited thereto.

[0116] Optionally, the determination of the target folder includes at least one of the following: a storage location corresponding to the target folder (for example, it is determined that the target folder 1 is stored under the P file of the C disk), a storage capacity corresponding to the target folder (for example, it is determined that the storage capacity of the target folder 1 is 500 KB), a number of files stored in the target folder (for example, it is determined that there are 300 files stored in the target folder 1), a folder name of the target folder, and the embodiments of the present application are not limited thereto.

[0117] For example, as shown in Figure 4 , a residual viewing operation diagram is shown, as shown in Figure 4 , the uninstallation result interface 400 is currently displayed, the uninstallation result interface 400 includes the uninstallation result of the target software 410, the current target software 410 has uninstallation residual content, and therefore the residual viewing control 420 corresponding to the target software 410 is displayed, and the residual viewing operation is triggered by triggering the residual viewing control 420.

[0118] In step 222, the folder information corresponding to the target folder is obtained.

[0119] The folder information is used to represent the file storage characteristics of the target folder.

[0120] Optionally, after the target folder in which the uninstallation residual content is stored is determined, the folder information corresponding to the target folder is obtained.

[0121] In some embodiments, the file storage characteristics refer to the storage characteristics of the files in the target folder in the storage process.

[0122] Next, several different folder information will be illustrated.

[0123] Firstly, the storage path information is included in the folder information.

[0124] In some embodiments, the storage path information of the target folder is obtained, and the storage path information is used to indicate the storage path of the target folder in the device.

[0125] Illustratively, the storage path information refers to the storage location of the target folder storing the uninstallation residual content in the device, wherein the storage location is usually implemented as the storage path corresponding to the target folder.

[0126] In some embodiments, the storage path of the target folder can be implemented as "C disk\folder A\folder a\target folder", as the storage path information of the target file, wherein according to the storage path of the target folder, it can be known that the storage location of the target folder in the device is that the folder a is stored in the folder A in the C disk, and the target folder is stored in the folder a.

[0127] Illustratively, as shown in Figure 4 When the terminal receives the residual viewing operation, the storage path information 430 corresponding to the target folder storing the uninstallation residual content of the target software 410 is displayed, which is used to indicate the storage location of the current target folder in the device.

[0128] When the uninstallation residual content stores multiple target folders respectively, the storage path information corresponding to each of the multiple target folders is displayed.

[0129] Secondly, the folder information includes file keyword information.

[0130] In some embodiments, the file keyword information of the file corresponding to the uninstallation residual content in the target folder is obtained, and the file keyword information is information obtained by keyword extraction on the file corresponding to the uninstallation residual content.

[0131] Illustratively, the file keyword information refers to the abstract information for summarizing the file corresponding to the uninstallation residual content, wherein the summarizing method can be implemented as abstract extraction on the specified field in the file; or keyword extraction on the file.

[0132] Optionally, when the uninstallation residual content corresponds to multiple files, the specified field of the same position of the multiple files is extracted for abstract, such as extracting the last two characters of the file name of the multiple files as the file keyword information corresponding to the files (the multiple files include file aaA1, file aaA2, and file aaA3, and the file keyword information corresponding to the three files respectively is A1, A2, and A3 by extracting the last two characters of the file); or the specified field of different positions of the multiple files is extracted for keyword, such as the multiple files include file 11a1, file 12a1, and file 11a2, the first two characters of file 11a1 are extracted to obtain the file keyword information "11", the first two characters of file 12a1 are extracted to obtain the file keyword information "12", and the last two characters of file 11a2 are extracted to obtain the file keyword information "a2".

[0133] Optionally, the extraction manner of the keyword extraction includes at least one of the following manners:

[0134] 1. text extraction is performed on the specified field in the file corresponding to the uninstallation residual content to obtain the text content corresponding to the specified field as the keyword extraction;

[0135] 2. individual characters in the specified field in the file corresponding to the uninstallation residual content are extracted as the keyword extraction;

[0136] 3. a preset keyword generation model is used, the keyword in the file corresponding to the uninstallation residual content is input into the keyword generation model as the keyword extraction, and the keyword generation model is used to output the file keyword information of the file corresponding to the uninstallation residual content.

[0137] It is worth noting that the above extraction manners of the keyword extraction are only illustrative examples, and the embodiments of the present application are not limited thereto.

[0138] For example, as shown in FIG. 5, the file keyword information 510 of the file corresponding to the uninstallation residual content is included in the folder interface 500, which is used to summarize the file corresponding to the uninstallation residual content in the target folder. Figure 5 Figure 5 For example, as shown in FIG. 5, the file keyword information 510 of the file corresponding to the uninstallation residual content is included in the folder interface 500, which is used to summarize the file corresponding to the uninstallation residual content in the target folder.

[0139] Thirdly, the content thumbnail list is included in the folder information.

[0140] In some embodiments, the content thumbnail of the uninstallation residual content stored in the target folder is obtained, the content thumbnail is an icon for thumbnail display of the uninstallation residual content; and the content thumbnail list is arranged based on the content thumbnail.​

[0141] Illustratively, the content thumbnail table includes at least one content thumbnail corresponding to the uninstall residual content of the user in the target folder, wherein the content thumbnail refers to displaying the uninstall residual content in the form of a thumbnail icon.

[0142] Optionally, the content thumbnail can be implemented as an icon corresponding to the thumbnail display of the content type of the uninstall residual content, that is, the content thumbnail is used to represent the content type corresponding to the uninstall residual content (for example, if the content type of the uninstall residual content is a video file, the content thumbnail is implemented as a video icon).

[0143] Optionally, the content thumbnail can be implemented as an icon corresponding to the thumbnail display of the content information of the uninstall residual content, that is, the content thumbnail is used to represent the content information corresponding to the uninstall residual content (for example, if the uninstall residual content is an installation package of the target software, the content thumbnail is implemented as an icon corresponding to the "installation package").

[0144] Optionally, the content thumbnail can be implemented as an icon corresponding to the thumbnail display of the memory occupation capacity of the uninstall residual content, that is, the content thumbnail can be implemented as the memory occupation capacity corresponding to the uninstall residual content (for example, the uninstall residual content occupies 500KB capacity in the current target folder, and the content thumbnail is implemented as "500" to represent that the uninstall residual content occupies 500KB file capacity in the target folder).

[0145] Optionally, the content thumbnail can be implemented as an icon corresponding to the thumbnail display of the memory occupation capacity of the uninstall residual content, that is, the content thumbnail can be implemented as the memory occupation capacity corresponding to the uninstall residual content (for example, the uninstall residual content occupies 500KB capacity in the current target folder, and the content thumbnail is implemented as "500" to represent that the uninstall residual content occupies 500KB file capacity in the target folder).

[0146] 1. The preset thumbnail library includes a plurality of different standard thumbnails, the uninstall residual content is matched with the standard thumbnail in the thumbnail library, the standard thumbnail matched with the uninstall residual content is determined as the content thumbnail, for example, the thumbnail library includes video file thumbnails, program file thumbnails, audio file thumbnails, data file thumbnails and the like, and the uninstall residual content is a program file, so the program file thumbnail is used as the content thumbnail corresponding to the uninstall residual content.

[0147] 2. The content of the uninstall residual content is extracted to obtain the thumbnail content corresponding to the uninstall residual content, and the corresponding content thumbnail is generated according to the thumbnail content, for example, the uninstall residual content is "A video software corresponding to the video data file", the character extraction is performed on the content name to obtain "video data file", and the corresponding video thumbnail is generated as the content thumbnail corresponding to the uninstall residual content.

[0148] It is worth noting that the above-mentioned content thumbnail acquisition method is only an illustrative example, and the embodiments of the present application are not limited thereto.

[0149] Optionally, when there are multiple content thumbnails, each content thumbnail is different; or, there are at least two identical content thumbnails, without limitation.

[0150] In some embodiments, after obtaining the content thumbnail corresponding to the uninstallation residual content, the content thumbnail is arranged according to a specified sorting rule, to obtain a content thumbnail list corresponding to the uninstallation residual content.

[0151] The specified sorting rule includes at least one of a time sequence sorting rule, an icon size sorting rule, a memory occupation capacity sorting rule of the uninstallation residual content, and the like.

[0152] For illustration, please refer to Figure 6 which shows a content thumbnail diagram provided by an example embodiment of the present application, as shown in Figure 6 The folder information interface 600 is used to represent the folder information corresponding to the target folder, and includes the content thumbnail 610 corresponding to the uninstallation residual content in the folder information interface 600. The content thumbnail 610 is an icon that is arranged in sequence and that is obtained by performing thumbnail display on the uninstallation residual content according to the content type of the uninstallation residual content. In the present embodiment, the content thumbnail 610 is implemented as a video file thumbnail 611 and an image file thumbnail 612.

[0153] Fourthly, the folder information includes file classification information.

[0154] In some embodiments, the files corresponding to the uninstallation residual content in the target folder are classified according to a specified classification rule, to obtain file classification information corresponding to the files. The file classification information is used to indicate the classification results of the files corresponding to the uninstallation residual content.

[0155] For illustration, the file classification information is obtained by classifying the files corresponding to the uninstallation residual content in the target folder according to the specified classification rule.

[0156] The specified classification rule is a classification rule preset by the device, or the specified classification rule is a classification rule set by the user, without limitation.

[0157] Optionally, when only the files corresponding to the uninstallation residual content are stored in the target folder, the classification of the files corresponding to the uninstallation residual content in the target folder is the classification of all the files stored in the target folder, that is, the file classification information can be implemented as the classification results of all the files in the target folder; or when the files corresponding to the uninstallation residual content and other files are stored in the target folder, the classification of the files corresponding to the uninstallation residual content in the target folder is the classification of only part of the files in the target folder (i.e., the files corresponding to the uninstallation residual content), and the file classification information can be implemented as the classification results of part of the files in the target folder.

[0158] Optionally, the classification manner of classifying the files includes at least one of the following manners:

[0159] 1. In the process of obtaining the folder information corresponding to the target folder, the files in the target folder are scanned to determine the files corresponding to the uninstallation residual content in the target folder, and the files are classified according to the pre-set specified classification rule, as the process of classifying the files corresponding to the uninstallation residual content.

[0160] 2. In the process of obtaining the folder information corresponding to the target folder, the files in the target folder are scanned to determine the files corresponding to the uninstallation residual content in the target folder, and the files corresponding to the specified classification rule are classified into the specified classification rule according to the specified classification rule and the files corresponding to the uninstallation residual content, as the process of classifying the files corresponding to the uninstallation residual content.

[0161] It should be noted that the above classification manner of classifying the files is only an illustrative example, and the embodiments of the present application are not limited thereto.

[0162] Optionally, the files corresponding to the uninstallation residual content in the target folder correspond to only one classification result, that is, when the file classification information includes multiple classification results, there are no same files between each classification result; or the files corresponding to the uninstallation residual content in the target folder correspond to multiple classification results, that is, when the file classification information includes multiple classification results, there are same files between each classification result, which is not limited.

[0163] Optionally, the specified classification rule includes at least one of the following rules:

[0164] 1. The specified classification rule is to determine different time periods according to the creation time of the files corresponding to the uninstallation residual content, and the files in the same time period are taken as one classification result.

[0165] 2. The classification rule is specified as classifying the files according to the file type of the files corresponding to the uninstallation residual content, i.e., the files of the same file type are classified as one classification result, such as classifying all the files of the video file type into the same classification result;

[0166] 3. The classification rule is specified as classifying the files according to the file occupation capacity of the files corresponding to the uninstallation residual content, i.e., the files in the same file occupation capacity interval are classified as one classification result, such as file 1 is a 300 KB file, file 2 is a 500 KB file, and file 3 is an 800 KB file, and when the classification rule is specified as "300 KB to 500 KB files", file 1 and file 2 are the files in the classification result;

[0167] 4. The classification rule is specified as classifying the files according to the file content of the files corresponding to the uninstallation residual content, i.e., the files in the same classification result correspond to the storage of the same type of file content, such as file a and file b are included in the same classification result, and file a and file b both store the installation package information corresponding to the target software.

[0168] It is worth noting that the above classification rule is only an illustrative example, and the embodiments of the present application are not limited thereto.

[0169] For illustration, please refer to Figure 7 which shows a file classification information diagram provided by an example embodiment of the present application, as shown in Figure 7 The file folder information interface 700 is used to represent the folder information corresponding to the target folder, and the file classification information is included in the folder information in the embodiment, wherein the classification result 710 corresponding to the files corresponding to the uninstallation residual content is included in the file classification information, and the classification result 710 is the result of classifying the files corresponding to the uninstallation residual content according to the file content, including the installation package file 711 and the running data file 712, the installation package file 711 includes the installation package file corresponding to the target software, and the running data file 712 includes the running parameter file used by the target software in the running process.

[0170] In step 223, the folder information corresponding to the target folder is displayed as the residual guide information.

[0171] Optionally, when the folder information includes the storage path information, the residual guide information is implemented as the storage path of the target folder in the device.

[0172] Optionally, when the folder information includes the file digest information, the residual guide information is implemented as the digest information of the files corresponding to the uninstallation residual content in the target folder.

[0173] Optionally, when the folder information includes a content thumbnail list, the residual guidance information is implemented as an icon of the residual content in the target folder.

[0174] Optionally, when the folder information includes file classification information, the residual guidance information is implemented as a classification result of the file corresponding to the residual content in the target folder.

[0175] In summary, the software uninstallation method provided by the embodiments of the present application displays the uninstallation result of the target software in the silent uninstallation mode after receiving the uninstallation viewing operation, wherein the uninstallation range of the silent uninstallation mode is smaller than that of the manual uninstallation mode, and when the target software has residual uninstallation content, residual guidance information is displayed, and the file corresponding to the residual uninstallation content is displayed in a highlighted mode in the file list, thereby guiding the user to view the corresponding file in the target folder storing the residual uninstallation content, facilitating the user to delete the file outside the range of the silent uninstallation mode, and effectively improving the efficiency of deleting the file of the residual content of the target software in the silent uninstallation mode, thereby improving the accuracy of the silent uninstallation.

[0176] In the embodiments, when the folder information includes storage path information, displaying the storage path information as residual guidance content enables the user to directly obtain the storage path corresponding to the target folder storing the residual uninstallation content, thereby improving the viewing efficiency of the residual uninstallation content.

[0177] In the embodiments, when the folder information includes file summary information, displaying the summary information of the file corresponding to the residual uninstallation content enables the user to quickly understand the storage condition of the file corresponding to the residual uninstallation content stored in the target folder, thereby improving the viewing efficiency of the residual uninstallation content.

[0178] In the embodiments, when the folder information includes a content thumbnail list, displaying the icon of the residual uninstallation content as residual guidance content enables the user to obtain the folder information in the target folder by viewing the thumbnail, thereby improving the viewing efficiency of the residual uninstallation content.

[0179] In the embodiments, when the folder information includes file classification information, displaying the classification result of the file corresponding to the residual uninstallation content enables the user to uniformly understand the classification condition of the file corresponding to the residual uninstallation content, thereby improving the viewing efficiency of the residual uninstallation content.

[0180] In an optional embodiment, in the process of displaying the target folder, there is also a case of displaying an uninstallation indication mark, for example, refer to Figure 8 Fig. 1 shows a flowchart of a software uninstallation method provided by an exemplary embodiment of the present application, and the method comprises the following steps:

[0181] In step 810, determine the uninstall condition corresponding to the silent uninstall mode.

[0182] The uninstall condition includes at least one of the software popup frequency, the software use frequency, the software user evaluation, and the software download willingness. The software popup frequency is used to indicate the number of times of the popup window generated by the target software. The software use frequency is used to indicate the number of times of the use of the target software within a specified time range. The software user evaluation is used to indicate the user evaluation corresponding to the target software. The software download willingness is used to indicate the willingness of the user for the download process of the target software.

[0183] Illustratively, the background automatically uninstalls the software in the silent uninstall mode only when the software meets the uninstall condition.

[0184] Optionally, the uninstall condition is automatically set by the background, or the uninstall condition can be set by the user according to actual needs, which is not limited.

[0185] In some embodiments, the software popup frequency refers to the frequency of the popup window associated with the target software suddenly popped up in the process of using the target software, wherein the popup window includes at least one of the advertisement popup window, the message popup window, the video popup window, and the picture popup window.

[0186] It is worth noting that when the uninstall condition is implemented as the software popup frequency, it is necessary to determine whether the popup window generated by the target software is an advertisement popup window. When the popup window generated by the target software is an advertisement popup window, it is regarded as a software popup process, and the number of times of the advertisement popup window generated by the target software is used as the uninstall condition.

[0187] Optionally, the software popup frequency includes the number of times of the advertisement popup window generated by the target software, or the software popup frequency includes the time interval between the two consecutive advertisement popup windows generated by the target software, which is not limited.

[0188] Optionally, each time the target software generates an advertisement popup window, the generated advertisement popup window is immediately recorded. When the number of the advertisement popup windows generated by the target software reaches a popup number threshold, the time range of the generation of the advertisement popup window by the target software is determined, so as to determine the software popup frequency. The popup number threshold is a number threshold preset by the background for the number of times of the generation of the advertisement popup window, or is a number threshold set by the user according to actual needs.

[0189] Optionally, a target time range is preset, and the number of times of the generation of the advertisement popup window by the target software is recorded within the target time range, so as to determine the software popup frequency corresponding to the target software.

[0190] In some embodiments, the software usage frequency refers to the number of times or the usage duration of the target software used or run by the user within a specified time range.

[0191] Optionally, the software usage frequency is preset by the background, or the software usage frequency is set by the user according to actual needs, which is not limited.

[0192] Optionally, when the user triggers the target software, it is regarded as a usage process; or when the user triggers the target software and the running time of the target software reaches a certain duration, it is regarded as a usage process, so as to avoid the case that the user mistakenly triggers the target software.

[0193] In some embodiments, the software user evaluation refers to the user evaluation of the target software by the user who has downloaded and used the target software, wherein the user evaluation includes positive evaluation (such as: good evaluation) and negative evaluation (such as: poor evaluation).

[0194] Optionally, by recording the positive evaluation and the negative evaluation of the target software, and calculating the proportion of the number of negative evaluations in all evaluations, the software user evaluation is obtained, such as: the software user evaluation is realized as “poor evaluation rate 20%”.

[0195] Optionally, the background presets a keyword recognition model, the positive evaluation and the negative evaluation of the target software are recorded, the text content corresponding to the positive evaluation and the negative evaluation is input into the keyword recognition model, the keywords corresponding to the positive evaluation and the negative evaluation are extracted by the keyword recognition model, and then the occurrence frequency of the keywords in the positive evaluation and the negative evaluation is determined as the software user evaluation, such as: the evaluation keywords corresponding to the target software are “smooth running” and “large memory occupation ratio”, wherein the probability of “smooth running” appearing in all user evaluations is 60%, and the probability of “large memory occupation ratio” appearing in all user evaluations is 40%.

[0196] Optionally, the user evaluation of the target software is realized by scoring, the score of the target software given by each user is obtained, the average score corresponding to the target software is determined, and the average score is taken as the software user evaluation.

[0197] In some embodiments, the software download willingness refers to the download willingness of the user corresponding to the target software in the downloading process, wherein the download willingness includes that the user mainly downloads, or the user is passively downloaded without knowing.

[0198] The passive downloading includes at least one of the following cases:

[0199] 1. The target software is an advertising software, when the user browses a webpage, the download control is mistakenly triggered, and the target software is automatically downloaded without the user knowing;

[0200] 2. The target software is bundled software, when a user downloads a specified software, the target software is automatically bundled and downloaded together with the specified software.

[0201] 3. The target software is forced download software, when a user needs to implement an application process, the target software needs to be forced downloaded before the application process can be started.

[0202] It is worth noting that the above-mentioned passive download is only an illustrative example, and the embodiments of the present application do not limit it.

[0203] Illustratively, when the uninstallation condition is implemented as a software download intention, it is determined whether the current software is downloaded by the user in a passive download situation, if so, the target software is software that needs to be uninstalled in a silent mode.

[0204] Step 820, in response to the target software meeting the uninstallation condition, automatically uninstalling the target software.

[0205] Among them, the target software is software uninstalled in a silent uninstallation mode, and the silent uninstallation mode refers to a mode of automatically triggering uninstallation in the background when the uninstallation condition is met.

[0206] In some embodiments, when the uninstallation condition includes at least one of the software popup frequency, software usage frequency, software user evaluation, and software download intention in the above steps, when the target software meets at least one, it is considered that the target software meets the uninstallation condition.

[0207] Optionally, when a single target software meets the uninstallation condition, the target software is automatically uninstalled in a silent uninstallation mode; or when a specified number of target software meets the uninstallation condition, a specified number of target software is uniformly uninstalled in a silent uninstallation mode, which is not limited.

[0208] In this embodiment, when the uninstallation condition is implemented as a software popup frequency, a specified popup frequency is preset, and when the frequency of the target software generating a specified type of popup window (such as an advertisement popup window) reaches the specified popup frequency, it is considered that the target software meets the uninstallation condition.

[0209] In this embodiment, when the uninstallation condition is implemented as a software usage frequency, a specified usage frequency is preset, and when the usage time (or usage times) of the target software reaches the specified usage frequency, it is considered that the target software meets the uninstallation condition.

[0210] In this embodiment, when the uninstallation condition is implemented as a software user evaluation, a negative evaluation probability threshold is preset, and when the probability of negative evaluation in the user evaluation of the target software reaches the negative evaluation probability threshold, it is considered that the target software meets the uninstallation condition.

[0211] In the embodiment, when the uninstallation condition is implemented as the software downloading intention, if the target software is the software downloaded by the user in a passive manner, the target software is considered to meet the uninstallation condition.

[0212] In some embodiments, after the target software meets the uninstallation condition, the background triggers the mode of automatically uninstalling the target software, as the silent uninstallation mode.

[0213] In the process of automatically uninstalling the target software, the program file corresponding to the target software can be deleted, or the target software and the file associated with the target software can be deleted, without limitation.

[0214] In one implementation, before the target software is automatically uninstalled, the trigger condition of the silent uninstallation mode needs to be determined.

[0215] In some embodiments, the device running parameter is obtained, and the device running parameter is used to indicate the running environment of the device in the running process; in response to the device running parameter meeting the trigger condition and the target software meeting the uninstallation condition, the silent uninstallation of the target software is started. The device running parameter includes at least one of the remaining capacity of the device memory, the number of installed software, the number of running software, and the operation response speed.

[0216] Illustratively, the trigger condition is used to trigger the device to start the silent uninstallation mode. The trigger condition is a condition preset by the device, or the trigger condition can be a condition set by the user according to actual needs, without limitation.

[0217] Illustratively, the device running parameter refers to the running condition corresponding to the current running process of the device. The remaining capacity of the device memory refers to the remaining value of the current device memory capacity (for example, the remaining capacity of the C disk in the current device is 14.5G); the number of installed software refers to the number of installed software in the current device; the number of running software refers to the number of running software in the current device; and the operation response speed refers to the reaction speed of the device when the user performs a related operation in the device.

[0218] When the device running parameter is implemented as the remaining capacity of the memory, the trigger condition is implemented as the remaining capacity of the current device being lower than a preset capacity threshold; when the device running parameter is implemented as the number of installed software, the trigger condition is implemented as the current number of installed software reaching a preset number of installation threshold; when the device running parameter is implemented as the number of running software, the trigger condition is implemented as the current number of running software reaching a preset number of running threshold; and when the device running parameter is implemented as the operation response speed, the trigger condition is implemented as the current operation response speed reaching a preset speed threshold.

[0219] At step 830, in response to receiving the uninstallation check operation, the uninstallation result of the target software is displayed.

[0220] The target software is software uninstalled in a silent uninstallation mode, the silent uninstallation mode refers to a mode in which uninstallation is automatically triggered in the background when uninstallation conditions are met, and the uninstallation result is used to indicate the content residual situation of the target software after silent uninstallation. The uninstallation range of the silent uninstallation mode is smaller than the uninstallation range of the manual uninstallation mode.

[0221] In some embodiments, the uninstallation result refers to the uninstallation situation corresponding to the target software after the current uninstallation process ends, wherein the uninstallation situation includes three situations corresponding to the target software:

[0222] 1. The target software has been completely uninstalled after the current uninstallation process ends;

[0223] 2. The target software has a content residual situation after the current uninstallation process ends;

[0224] 3. The target software fails in the current uninstallation.

[0225] In the above second situation, the target software has a content residual situation after uninstallation, which means that the files related to the target software are still stored in the current device and have not been deleted.

[0226] For illustration, please refer to Figure 9 which shows a software uninstallation completion diagram provided by an embodiment of the present application, as shown in Figure 9 When the uninstallation check operation is received, the uninstallation result interface 900 is currently displayed, wherein the uninstallation result interface 900 includes the uninstallation result 920 corresponding to the target software 910, and the uninstallation result 920 is implemented as the current target software 910 has been uninstalled and 1.8 GB of memory space has been released.

[0227] In a possible implementation, before the uninstallation result is displayed, the uninstallation identification model can be used to determine whether the target software is software that needs to be uninstalled.

[0228] In some embodiments, the software parameters of the target software are input into the uninstallation identification model, and the uninstallation identification result corresponding to the target software is output. The uninstallation identification result includes an uninstallation requirement probability. The uninstallation identification model is a machine learning model pre-trained to analyze software parameters. In response to the uninstallation requirement probability reaching a second probability threshold, the target software is automatically uninstalled in a silent uninstallation mode.

[0229] The software parameters include at least one of the download time of the target software, the software type of the target software, and the startup period of the target software.

[0230] Illustratively, the download time of the target software refers to a time point when the target software is downloaded into the device; the software type of the target software includes at least one of a social software, an entertainment software, a shopping software, and the like; and the start period of the target software refers to a time period when the user uses the target software in the device.

[0231] In this embodiment, when it is determined whether the target software needs to be uninstalled in the silent uninstallation mode, the software parameters corresponding to the target software are input into the uninstallation identification model, and an uninstallation requirement probability corresponding to the target software is output. The software parameters input into the uninstallation identification model include at least one of the three software parameters described above. The uninstallation identification model is a machine learning model that is pre-trained and used to perform probability analysis on the input software parameters. The uninstallation identification result (the uninstallation requirement probability) output by the uninstallation identification model is used to represent a probability value of the target software needing to be uninstalled. When the probability value of the uninstallation requirement probability reaches a second threshold value, it is indicated that the current target software meets the uninstallation condition, and the device can perform silent uninstallation on the target software.

[0232] The second threshold value is a pre-set probability threshold value.

[0233] In step 840, in the case where the target software has uninstallation residual content, the residual viewing operation is received, and residual guide information corresponding to the target software is displayed.

[0234] The uninstallation residual content is content associated with the target software and not deleted after the uninstallation is completed. The residual guide information is used to guide to a target folder where the uninstallation residual content is stored according to a storage path of the uninstallation residual content.

[0235] The content of the residual guide information in step 840 has been described in detail in step 222 described above, and will not be described herein again.

[0236] In a possible case, the uninstallation residual content of the target software is determined by using a residual identification model.

[0237] In some embodiments, the software parameters of the target software and file information of a candidate file stored in the device are input into the residual identification model, and a residual probability of the candidate file is output. The residual identification model is a machine learning model pre-trained to analyze the software parameters and the file information. When the residual probability of the candidate file reaches a first probability threshold value, the candidate file is taken as the uninstallation residual content of the target software.

[0238] Illustratively, the target software parameters include at least one of a download time of the target software, a software type of the target software, and a start period of the target software.

[0239] Illustratively, the candidate file refers to all files or partial files stored in the current device. When the candidate file is implemented as a partial file, the selection condition of the candidate file can be implemented as a file having the same or partially same storage path as the target software.

[0240] Illustratively, the file information of the candidate file includes at least one of the acquisition time of the candidate file, the file type of the candidate file, and the application period of the candidate file.

[0241] The acquisition time of the candidate file refers to the corresponding time point when the candidate file exists in the device; the file type of the candidate file includes at least one of a data file, an installation package file, and a registry file; and the application time of the candidate file refers to the time point when the user uses the candidate file in the process of using the device.

[0242] In this embodiment, the software parameters of the target software and the file information of the candidate file are simultaneously input into the residual identification model for analyzing the software parameters and the candidate file, and the residual probability of the candidate file is output. The residual probability refers to the probability value of the current candidate file as the file corresponding to the uninstallation residual content of the target software.

[0243] In this embodiment, when the residual probability of the candidate file output by the residual identification model reaches the first probability threshold, it indicates that the candidate file is the uninstallation residual content corresponding to the target software, and the candidate file is taken as the file corresponding to the uninstallation residual content. The residual identification model is a machine learning model trained in advance.

[0244] In this embodiment, the process of analyzing the parameter information of the target software and the file information of the candidate file by the residual identification model refers to analyzing the difference between the parameter information and the file information, so as to determine the probability value of the candidate file as the file corresponding to the uninstallation residual content. The difference between the parameter information and the file information includes at least one of the following differences:

[0245] 1. When the parameter information is implemented as the download time of the target software, and the file information is implemented as the acquisition time of the candidate file, the difference between the parameter information and the file information is implemented as the time difference between the download time and the acquisition time, which is used to determine whether the target software and the candidate software are acquired at the same time.

[0246] 2. When the parameter information is implemented as the software type of the target software, and the file information is implemented as the file type of the candidate file, the difference between the parameter information and the file information is implemented as the type difference between the software type and the file type.

[0247] 3. When the parameter information is implemented as a start period of the target software, the file information is implemented as an application period of the candidate file, and the difference between the parameter information and the file information is implemented as an overlap period between the start period and the application period, as an overlap case, used to determine whether the candidate file is called for use in the use process of the target software.

[0248] In this embodiment, the residual identification model outputs a residual probability by analyzing the time difference, the type difference, and the overlap case. That is, the software parameters of the target software and the file information of the candidate file stored in the device are input into the residual identification model; the time difference between the download time of the target software and the acquisition time of the target file is determined; and the residual probability of the candidate file is output by the residual identification model analyzing the time difference, the type difference of the software type and the file type, and the overlap case of the start period and the application period.

[0249] Step 850, in response to receiving the content viewing operation on the residual guide information, displaying the file list corresponding to the target folder.

[0250] The file list includes the uninstallation residual content corresponding file, and the uninstallation residual content corresponding file is displayed in a highlighted mode in the file list. The uninstallation residual content corresponding file is a file outside the uninstallation range of the silent uninstallation mode.

[0251] The content of the content viewing operation in step 850 has been described in detail in step 230 above, and will not be repeated here.

[0252] Step 860, in the process of displaying the file list corresponding to the target folder, displaying the file list item corresponding to the uninstallation residual content in a highlighted display mode.

[0253] The highlighted display mode is used to indicate that the uninstallation residual content corresponding file is a to-be-deleted file corresponding to the target software.

[0254] Illustratively, in the process of displaying the file list corresponding to the target folder, i.e., displaying the file list item corresponding to the file stored in the target folder, each file list item corresponds to a file.

[0255] In some embodiments, the highlighted display mode means that when the target folder includes the uninstallation residual content corresponding file and other files, the current file is highlighted by the highlighted display mode, i.e., the uninstallation residual content corresponding file, for highlighting the uninstallation residual content corresponding file.

[0256] Optionally, the highlighted display mode can be implemented as highlighting the text content corresponding to the file; or, as displaying an uninstallation indication mark at the file list item corresponding to the file. In the following, the highlighted display mode is taken as an example of the uninstallation indication mark.

[0257] Optionally, the uninstallation residual content corresponds to a plurality of files, and the same uninstallation residual identifier is displayed at the file list item of each file; or, different types of uninstallation residual identifiers are displayed at the file list item of each file, and the types are not limited.

[0258] Optionally, the uninstallation instruction identifier is an identifier with only a display function, i.e., the display of the uninstallation instruction identifier at the file list item of the file only indicates that the current file is a file to be deleted corresponding to the target software.

[0259] Optionally, the uninstallation instruction identifier can be implemented as a control with a deletion function, i.e., in the process of displaying the uninstallation instruction identifier at the file list item of the file, not only can the current file be indicated as a file to be deleted corresponding to the target software, but also the file corresponding to the uninstallation instruction identifier can be deleted by triggering the uninstallation instruction identifier.

[0260] Optionally, the uninstallation instruction identifier is an identifier with only a display function, i.e., the display of the uninstallation instruction identifier at the file list item of the file only indicates that the current file is a file to be deleted corresponding to the target software. Figure 10 Figure 10 Optionally, the uninstallation instruction identifier is an identifier with only a display function, i.e., the display of the uninstallation instruction identifier at the file list item of the file only indicates that the current file is a file to be deleted corresponding to the target software.

[0261] Optionally, the uninstallation instruction identifier is an identifier with only a display function, i.e., the display of the uninstallation instruction identifier at the file list item of the file only indicates that the current file is a file to be deleted corresponding to the target software.

[0262] Optionally, the uninstallation instruction identifier is an identifier with only a display function, i.e., the display of the uninstallation instruction identifier at the file list item of the file only indicates that the current file is a file to be deleted corresponding to the target software.

[0263] Optionally, the uninstallation instruction identifier is an identifier with only a display function, i.e., the display of the uninstallation instruction identifier at the file list item of the file only indicates that the current file is a file to be deleted corresponding to the target software.

[0264] The following will be described in detail in two different ways of file deletion operation.

[0265] First, the file deletion operation is implemented as a batch deletion operation.

[0266] ​In some embodiments, a batch deletion operation on the file is received, the batch deletion operation being used to indicate unified deletion of the file corresponding to the uninstallation residual content; and based on the batch deletion operation, a file deletion result is displayed.

[0267] Illustratively, the batch deletion operation refers to simultaneously deleting the multiple selected files after batch selecting the files corresponding to the uninstallation residual content in the file list of the target folder.

[0268] Optionally, the batch deletion operation includes at least one of the following operation modes:

[0269] 1. Selecting the files corresponding to the uninstallation residual content one by one in the file list, and when the last file corresponding to the uninstallation residual content is selected, the batch deletion operation is implemented;

[0270] 2. The file list corresponding to the target folder includes a batch selection control, and by receiving a trigger operation on the batch selection control, all the files corresponding to the uninstallation residual content are automatically selected, and the batch deletion operation is implemented, as shown in Figure 10 In the process of displaying the file list, the target folder interface 1000 further includes a batch trigger control 1020, wherein the batch trigger control 1020 is used to trigger batch selection of the files (file 1 and file 2) with the uninstallation indication mark 1011.

[0271] It is worth noting that the above batch deletion operation is only illustrative, and the embodiments of the present application are not limited thereto.

[0272] Secondly, the file deletion operation is implemented as a sliding operation.

[0273] In some embodiments, a sliding operation on the uninstallation indication mark in the file list is received, a sliding track corresponding to the sliding operation is generated, the sliding track being used to indicate unified deletion of the file corresponding to the uninstallation indication mark coinciding with the position corresponding to the sliding track; and based on the sliding operation, a file deletion result is displayed.

[0274] Illustratively, the sliding operation refers to an operation of generating a sliding track, wherein when the sliding operation stops, if the sliding track corresponding to the sliding operation coincides with the position of the uninstallation indication mark in the file list, the file corresponding to the uninstallation indication mark is automatically selected as a file to be deleted, and the automatically selected file is unified deleted.

[0275] Illustratively, as shown in Figure 11 , which shows a sliding operation diagram provided by an example embodiment of the present application, as shown in Figure 11As shown, the current target folder interface 1100 is displayed, and the file list is displayed in the target folder interface 1100, and the file list item corresponding to the uninstallation indication identifier 1110 is displayed in the file list. When a sliding operation is received in the target folder interface 1100, a corresponding sliding track 1120 is generated, and when the sliding operation stops, the file corresponding to the uninstallation indication identifier 1110 that is positionally coincident with the sliding track is taken as a file to be deleted (file 1).

[0276] In some embodiments, the file deletion operation is applicable to a case where the number of files stored in the target folder does not reach a specified number threshold. When the number of files stored in the target folder reaches the specified number threshold, it indicates that the number of files in the current target folder is large, and the user needs to manually check the stored files to confirm whether manual deletion is needed.

[0277] For illustration, please refer to Figure 12 which shows a schematic diagram of a manual deletion interface provided by an example embodiment of the present application, as shown in Figure 12 When a file deletion operation is received, if the number of files stored in the target folder reaches the specified number threshold, a manual deletion interface 1200 is displayed, where the manual deletion interface 1200 is used to show the user that the number of files stored in the current target folder is too large and the user needs to manually delete them.

[0278] In summary, the software uninstallation method provided by the embodiments of the present application displays the uninstallation result of the target software in the silent uninstallation mode after receiving the uninstallation viewing operation, where the uninstallation range of the silent uninstallation mode is smaller than that of the manual uninstallation mode. When there is residual uninstallation content of the target software, residual guidance information is displayed, and the files corresponding to the residual uninstallation content are displayed in a highlighted mode in the file list, guiding the user to check the corresponding files in the target folder where the residual uninstallation content is stored. This facilitates the user to delete the files outside the range of the silent uninstallation mode, effectively improves the efficiency of file deletion of the residual content of the target software in the silent uninstallation mode, and thus improves the accuracy of silent uninstallation.

[0279] In the embodiments, the process of uninstalling the target software is implemented as a process of automatically uninstalling the target software that meets the uninstallation condition in the background in the silent uninstallation mode. This can automatically uninstall the software that meets the uninstallation condition without the user manually selecting the software to be downloaded, thereby improving the efficiency of software uninstallation.

[0280] In the embodiment, the uninstallation indication mark is displayed at the file list item of the file corresponding to the uninstallation residual content in the file list, so as to intuitively show the user the file to be deleted corresponding to the target software in the current target folder, improve the intuitiveness of the file content display, and further improve the software uninstallation efficiency.

[0281] In the embodiment, the files corresponding to the uninstallation residual content are batch-uninstalled through two different file deletion operations, so as to meet the uninstallation requirements of different users, conform to the uninstallation habits of different users, and improve the software uninstallation efficiency.

[0282] In the embodiment, the target software needing to be silently uninstalled is determined through the uninstallation identification model, so as to improve the accuracy of the software uninstallation.

[0283] In the embodiment, the files corresponding to the uninstallation residual content are determined from the candidate files stored in the device through the residual identification model in the case that the uninstallation residual content of the target software is not identified, so as to improve the accuracy of the software uninstallation.

[0284] In an optional embodiment, the software in the software library is classified according to the software classification rule. Illustratively, refer to Figure 13 which shows a flowchart of a software uninstallation method provided by an example embodiment of the present application, that is, before step 210, steps 1310 to 1340 are further included, as shown in Figure 13 The method includes the following steps:

[0285] In step 1310, a software library is acquired, and the software library includes at least one software.

[0286] Illustratively, the software in the software library is the software currently downloaded in the device and not uninstalled.

[0287] Optionally, when each software is downloaded in the device, the software is stored in the software library; or when a specified number of software is downloaded in the device, the specified number of software is stored in the software library, which is not limited.

[0288] Illustratively, refer to Figure 14 which shows a schematic diagram of a software library interface provided by an example embodiment of the present application, as shown in Figure 14 The current software library interface 1400 is displayed, and the software library interface 1400 displays the software downloaded in the current device (a total of 23 software is downloaded).

[0289] In step 1320, at least one software in the software library is scanned, and scanning results corresponding to the at least one software are acquired.

[0290] The scanning result is used to indicate the software usage of the at least one software.

[0291] Illustratively, the scanning result refers to a software usage corresponding to the software in the software library, wherein the software usage includes at least one of the following: a popularity of the software, a software usage duration, a software memory capacity, a software installation time, and a software nature (e.g., an advertising software, a junk software, etc.).

[0292] Optionally, after a single scanning of the at least one software in the software library, different types of software usage corresponding to the at least one software are obtained as the scanning result; or, after each scanning of the at least one software in the software library, only one type of software usage corresponding to the at least one software is obtained as the scanning result.

[0293] Optionally, the software in the software library is scanned one by one to obtain the scanning result corresponding to the software; or, all the software in the software library is scanned simultaneously to obtain the scanning result corresponding to all the software, which is not limited.

[0294] Illustratively, please refer to Figure 15 which shows a scanning result diagram provided by an example embodiment of the present application, as shown in Figure 15 the scanning result interface 1500 corresponding to the software library is currently displayed, wherein the scanning result interface includes the scanning result of each software in the software library, such as: a size (a software memory capacity), a last usage time, a download date, etc.

[0295] In step 1330, at least one software is classified according to a software classification rule based on the scanning result to determine a software classification result corresponding to the at least one software.

[0296] Illustratively, the software usage obtained by scanning the at least one software in the software library is classified according to the software classification rule to obtain the software classification result corresponding to each software in the software library.

[0297] Illustratively, the software classification rule is used to classify the software including the same type of scanning result as the software under the same software classification result.

[0298] Optionally, the software classification rule is a rule pre-set by a background, or the software classification rule is a rule freely set by a user according to actual needs, which is not limited.

[0299] In some embodiments, when the software classification rule is implemented as a rule preset in the background, the background automatically classifies the software in the software library according to the software classification rule to determine the software classification result corresponding to each software in the software library. For example, the scanning result is implemented as the software usage time of each software in the software library, the software classification rule is to set different usage time ranges, and the software in the software library is classified into different usage time ranges according to the corresponding software usage time, as the software classification result corresponding to each software in the software library.

[0300] In some embodiments, when the software classification rule is implemented as a rule freely set by the user according to actual needs, a classification input operation is received, the classification input operation is used to input at least one classification label as the software classification rule; the at least one classification label is subjected to text recognition to determine the classification text content corresponding to the classification label; and the software usage of the at least one software is matched with the classification text content to determine the matching result of the at least one software and the classification label as the software classification result.

[0301] Illustratively, the current display content input box, the classification input operation can be implemented as inputting the text content corresponding to the classification label in the content input box, wherein the classification label is used as the software classification rule, and the background is preset with a text recognition model. The received classification label input text recognition model is output to obtain the text analysis result corresponding to the classification label as the classification text content corresponding to the classification label. According to the scanning result corresponding to each software in the software library, the software is matched with the classification text content to determine the scanning result matched with the classification label. The software corresponding to the scanning result is marked with the classification label as the matching result of the software. Finally, the software marked with the same classification label is used as the software under the same software classification result. For example, the user inputs the classification label as "adware", and the background determines the classification text content corresponding to the classification label by text recognition of the classification label. Therefore, the software with "adware" in the scanning result is marked with the classification label. Finally, the software marked with the "adware" classification label is obtained as the software classification result corresponding to "adware".

[0302] Step 1340, based on the software classification result, display the software classification list corresponding to the software library.

[0303] Among them, the software classification list corresponds to the software classification result.

[0304] Illustratively, according to the software classification result, a software classification list corresponding to the software classification result is displayed, wherein when different types of software classification results are included, a software classification list corresponding to each software classification result is displayed each time, for example, when the software classification result is "popular software", a software list corresponding to the classification result is displayed, and when the software classification result is "junk software", a software list of junk software corresponding to the classification result is displayed, which is not limited in this regard.

[0305] Illustratively, please refer to Figure 16 which shows a software classification list diagram provided by an example embodiment of the present application, as shown in Figure 16 , the current software classification result 1610 is "unpopular" corresponding to the software classification list 1620, wherein the software classification list includes software 1 and software 2, and in addition, the software type identifier 1621 is also displayed at the specified position of software 1 and software 2, which is used to show that the current software 1 and software 2 correspond to "adware", and can reflect from the side that the reason why software 1 and software 2 are "unpopular" software is that software 1 and software 2 are adware, in addition, the current interface also includes classification rule indication information 1630 corresponding to the software classification result 1610, which is used to describe the abstract information corresponding to the software classification rule corresponding to the current software classification result 1610, when receiving the triggering operation of the classification rule indication information 1630, the rule display interface 1640 is displayed, wherein the rule display interface 1640 includes the specific content corresponding to the software classification rule.

[0306] Illustratively, please refer to Figure 17 which shows a software classification list diagram provided by an example embodiment of the present application, as shown in Figure 17 , the current software classification result 1710 is "recently installed" corresponding to the software classification list 1720, wherein "recently installed" refers to software installed on the device in the past week, and the software classification list 1720 displays software arranged in order from recent to remote according to the time of downloading and installation.

[0307] Illustratively, please refer to Figure 18 which shows a software classification list diagram provided by an example embodiment of the present application, as shown in Figure 18 , the current software classification result 1810 is "space occupation" corresponding to the software classification list 1820, wherein "space occupation" refers to software whose occupied capacity exceeds 300MB, and the software classification list 1820 displays software whose occupied capacity exceeds 300MB and is arranged in descending order according to the capacity size (the larger the occupied capacity, the higher the software is displayed in the list).

[0308] In summary, the software uninstallation method provided by the embodiments of the present application displays the uninstallation result of the target software in the silent uninstallation mode after receiving the uninstallation viewing operation, wherein the silent uninstallation mode has a smaller uninstallation range than the manual uninstallation mode. When the target software has residual uninstallation content, residual guidance information is displayed, and the files corresponding to the residual uninstallation content are displayed in the file list in a highlighted mode, guiding the user to view the corresponding files in the target folder storing the residual uninstallation content. This facilitates the user to delete the files outside the range of the silent uninstallation mode, effectively improves the efficiency of deleting the files of the residual content of the target software in the silent uninstallation mode, and thus improves the accuracy of the silent uninstallation.

[0309] In the embodiments, the scanning of the software in the software library obtains the scanning result of each software in the software library, which improves the classification accuracy and efficiency in the subsequent classification of the software.

[0310] In the embodiments, the classification input operation enables the user to freely set the software classification rule, which facilitates the different software classification habits of the user, improves the software viewing efficiency of the user, and further improves the efficiency of the subsequent software uninstallation.

[0311] For illustration, refer to Figure 19 which shows the flowchart of the software uninstallation provided by an example embodiment of the present application, as shown in Figure 19 The method comprises the following steps:

[0312] Step 1910, scanning the software in the software library.

[0313] For illustration, the device is installed with uninstallation software, wherein the uninstallation software is an application program having the function of uninstalling other software installed in the terminal.

[0314] The software library corresponding to the device is obtained, wherein the software library stores all the software downloaded in the device. After obtaining the software in the software library, the uninstallation software automatically scans each software in the software library, and obtains the scanning result corresponding to each software in the software library.

[0315] Optionally, the automatically scanned scanning content comprises at least one of the following scanning contents:

[0316] 1. Scanning the uninstallation registry, which is used to determine the software currently registered in the background system;

[0317] 2. Scanning the universal system platform application (UWP application), which scans the software supported by the background system or downloaded and installed in the software application store;

[0318] 3. For the protected software, by data parsing on the system registry data structure, scanning and obtaining the software not directly shown in the registry;

[0319] 4. Scanning green software, for the software that can be directly used without installation, by scanning the desktop shortcut and disk directory, the executable file (EXE file), dynamic link library file (DLL) and other binary files are scanned;

[0320] 5. Scan rogue software, for the software scanned in steps 1 to 4, through the preset operation strategy, determine the characteristics of the software with promotion, pop-up advertisement and other bad behaviors, identify these software, facilitate user identification and uninstallation;

[0321] 6. Obtain software information, identify the installation directory of the software through the registry or shortcut, obtain the disk capacity occupied by the software, installation time and software icon information;

[0322] 7. Obtain the usage frequency of the software, determine the history process record corresponding to the software process startup, data statistics of the startup record of the path corresponding to the process, then match the path with the software, determine the matching result of the software and the path corresponding to the process, and record the last usage time of the software.

[0323] It is worth noting that the above scanning content is only an illustrative example, and the embodiments of the present application are not limited thereto.

[0324] Step 1930, display the software classification list.

[0325] Illustratively, after scanning the software in the software library, the scanning results corresponding to each software in the software library are obtained, based on the scanning results corresponding to each software, the software in the software library is classified according to the software classification rule, the software classification result is obtained, and the software classification list corresponding to the software classification result is displayed, wherein the software displayed in the software classification list is the corresponding software in the software classification result, and the software classification result can be realized as different dimensions of classification rules.

[0326] Step 1940, uninstall the target software.

[0327] Optionally, the way of uninstalling the target software includes at least one of the following two uninstallation ways:

[0328] 1. Manual trigger uninstall: By reading the registry, the uninstaller file (uninst.exe) corresponding to the target software is obtained. In the display interface of the uninstall software, during the display of the software classification list, each software displays an uninstall trigger control. By receiving the trigger operation of the uninstall trigger control corresponding to the target software, the uninstall operation for the target software is triggered. During the uninstall process, the uninstaller file corresponding to the target software is called to execute the software uninstall process corresponding to the target software itself.

[0329] 2. Silent uninstall: By recording the installation process of the target software, the files released and the registry entries written by the target software during the installation process are obtained. After recording, a policy file corresponding to the target software is generated and distributed to the client. When the target software meets the uninstall condition, the client will delete the files and registry entries released by the target software one by one according to the list of the policy file corresponding to the target software. In this mode, no need to go through the uninstall process corresponding to the target software itself, directly and accurately delete software related files and registry entries. For software with self-protection, it will also delete files through file penetration driver.

[0330] When the uninstall process corresponding to the target software ends, the uninstall software automatically determines whether the target software has been completely uninstalled, that is, whether there are uninstall residual contents.

[0331] In this embodiment, by comparing the changes of the installation directory and the registry entry corresponding to the target software before and after the uninstallation, it is determined whether the target software is successfully uninstalled, wherein the installation directory refers to the file directory corresponding to the installation file generated by the target software during the installation process, and the registry entry refers to the database corresponding to the target software, wherein the database stores initialization information and the like corresponding to the target software.

[0332] First step, judge the registry entry: preferentially judge the registry entry of the target software, record the registry information of the target software before uninstallation, especially the uninstall registry. If the registry under uninstall does not have information corresponding to the target software, it means that the software has been successfully uninstalled. Otherwise, go to the next step.

[0333] Second step, judge the installation directory: if the registry entry under uninstall still has information corresponding to the target software, judge whether the installation directory corresponding to the target software exists. Compare whether the installation path of the target software exists before and after uninstallation. If it does not exist, it means that the target software has been successfully uninstalled. Otherwise, go to the next step.

[0334] Thirdly, judging the number of files: if the registry item and the installation directory corresponding to the target software exist normally, the files related to the target software will be traversed again to compare the number of files, and if the number of files of the target software is reduced by ≥20% before and after uninstallation, it is judged that the target software has been uninstalled. This situation is common in scenarios where users delete software files by themselves without using the normal uninstall program or in scenarios where the software is not very standard.

[0335] In step 1950, the memory capacity released by the current uninstall result is displayed.

[0336] Illustratively, when there is no content residue in the uninstall result corresponding to the target software, an uninstall success interface corresponding to the target software is displayed, wherein the uninstall success interface includes the memory capacity released after the current target software is uninstalled.

[0337] In step 1960, the residual uninstall content is deleted.

[0338] Illustratively, when the uninstall result of the target software is that there is residual uninstall content, residual guide information corresponding to the target software is displayed, which is used to guide to the target folder storing the residual uninstall content according to the storage path corresponding to the residual uninstall content.

[0339] Optionally, the residual guide information includes folder information corresponding to the target folder storing the residual uninstall content, wherein the folder information includes at least one of storage path information, file digest information, content thumbnail, and file classification information, which is used to display the residual item information corresponding to the residual uninstall content, so as to facilitate the user to confirm whether to clean up the residual content.

[0340] Illustratively, the residual uninstall content can be selected not to be deleted, and the memory capacity released by the current uninstall result is displayed in step 1950.

[0341] Illustratively, when the content viewing operation is received, the file list corresponding to the target folder is displayed, which is used to display the files corresponding to the residual uninstall content to the user.

[0342] Illustratively, when the file deletion operation is received, the files corresponding to the residual uninstall content in the target folder are deleted, and the file deletion result corresponding to the residual uninstall content is displayed, wherein the file deletion result includes the content capacity released after the files corresponding to the current residual uninstall content are deleted.

[0343] In step 1970, the files are deleted.

[0344] Optionally, if the number of files corresponding to the residual uninstall content is small during the process of deleting the files corresponding to the residual uninstall content in the above steps, the automatic deletion operation of the files is performed.

[0345] Optionally, in the process of deleting the files corresponding to the residual uninstall content in the above step, if the number of files corresponding to the residual uninstall content is too large (for example, more than 100 files), a manual deletion interface is displayed, so that the user can manually delete the files corresponding to the residual uninstall content in the target folder, thereby avoiding the case that the non-residual uninstall content corresponding files are mistakenly deleted by the file deletion operation.

[0346] In summary, the software uninstall method provided by the embodiments of the present application displays the uninstall result of the target software in the silent uninstall mode after receiving the uninstall viewing operation, wherein the uninstall range of the silent uninstall mode is smaller than that of the manual uninstall mode. When the target software has residual uninstall content, residual guide information is displayed, and the files corresponding to the residual uninstall content are displayed in the file list in a highlighted mode, guiding the user to view the corresponding files in the target folder where the residual uninstall content is stored. The user can delete the files outside the range of the silent uninstall mode, which can effectively improve the efficiency of deleting the files of the residual content of the target software in the silent uninstall mode, thereby improving the accuracy of the silent uninstall.

[0347] The scheme provided by the present application enables the user to quickly and efficiently obtain the installed software in the device, thereby selecting the target software for uninstallation. When the uninstall result of the target software has residual content, the user can obtain the residual condition indication in time and clean up the residual uninstall content in time, thereby improving the accuracy and efficiency of the software uninstallation.

[0348] Figure 20 is a structural block diagram of the software uninstall device provided by an exemplary embodiment of the present application, as shown in the figure, the device comprises the following parts: Figure 20

[0349] The display module 2010 is configured to display the uninstall result of the target software in response to receiving the uninstall viewing operation, the target software being the software uninstalled in the silent uninstall mode, the silent uninstall mode being a mode of automatically triggering the uninstallation in the background when the uninstallation condition is met, and the uninstall result being used to indicate the content residual condition of the target software after uninstallation, wherein the uninstall range of the silent uninstall mode is smaller than that of the manual uninstall mode.

[0350] The display module 2010 is further configured to display the residual guide information corresponding to the target software in response to receiving the residual viewing operation when the target software has residual uninstall content, the residual uninstall content being the content associated with the target software and not deleted after the uninstallation, and the residual guide information being used to guide to the target folder where the residual uninstall content is stored according to the storage path of the residual uninstall content. ​

[0351] The receiving module 2020 is configured to display a file list corresponding to the target folder in response to receiving a content viewing operation for the residual guide information, wherein the file list includes the file corresponding to the uninstallation residual content, and the file corresponding to the uninstallation residual content is displayed in a highlighted mode in the file list, and the file corresponding to the uninstallation residual content is a file outside the uninstallation range of the silent uninstallation mode.

[0352] The display module 2010 is further configured to display a file deletion result in response to receiving a file deletion operation in the file list, the file deletion operation being used to delete the file corresponding to the uninstallation residual content.

[0353] In an optional embodiment, the display module 2010 is further configured to receive a sliding operation on the uninstallation indication mark in the file list, generate a sliding track corresponding to the sliding operation, the sliding track being used to indicate unified deletion of the file corresponding to the uninstallation indication mark coinciding with a position corresponding to the sliding track, and display the file deletion result based on the sliding operation.

[0354] In an optional embodiment, the display module 2010 is further configured to receive a batch deletion operation on the file, the batch deletion operation being used to indicate unified deletion of the file corresponding to the uninstallation residual content, and display the file deletion result based on the batch deletion operation.

[0355] In an optional embodiment, the display module 2010 is further configured to input a software parameter of the target software and file information of a candidate file stored in the device into a residual identification model, and output a residual probability of the candidate file, the residual identification model being a machine learning model pre-trained to analyze the software parameter and the file information, and in response to the residual probability of the candidate file reaching a first probability threshold, the candidate file is taken as the uninstallation residual content of the target software.

[0356] In an optional embodiment, the apparatus further includes:

[0357] The obtaining module 2030 is configured to obtain a device running parameter, the device running parameter being used to indicate a running environment of the device in a running process.

[0358] The uninstallation module 2040 is configured to start silent uninstallation of the target software in response to the device running parameter meeting a trigger condition and the target software meeting the uninstallation condition.

[0359] In an optional embodiment, the display module 2010 is further configured to input software parameters of the target software into an uninstall identification model, and output an uninstall identification result corresponding to the target software, wherein the uninstall identification result includes an uninstall demand probability, and the uninstall identification model is a machine learning model pre-trained to analyze the software parameters; and in response to the uninstall demand probability reaching a second probability threshold, automatically performing silent uninstallation on the target software.

[0360] In an optional embodiment, the display module 2010 includes:

[0361] A determination unit 2011 configured to, in response to receiving the residual viewing operation, determine a target folder in which uninstall residual content of the target software is stored;

[0362] An acquisition unit 2012 configured to acquire folder information corresponding to the target folder, wherein the folder information is used to indicate file storage features of the target folder;

[0363] A display unit 2013 configured to display the folder information corresponding to the target folder as the residual guidance information.

[0364] In an optional embodiment, the folder information includes file classification information.

[0365] The acquisition unit 2012 is further configured to classify files corresponding to the uninstall residual content in the target folder according to a specified classification rule, to obtain file classification information corresponding to the files, wherein the file classification information is used to indicate classification results respectively corresponding to the files corresponding to the uninstall residual content.

[0366] In an optional embodiment, the folder information includes file keyword information.

[0367] The acquisition unit 2012 is further configured to acquire file keyword information of files corresponding to the uninstall residual content in the target folder, wherein the file keyword information is information obtained by keyword extraction on the files corresponding to the uninstall residual content.

[0368] In an optional embodiment, the folder information includes a content thumbnail list.

[0369] The acquisition unit 2012 is further configured to acquire content thumbnails of the uninstall residual content stored in the target folder, wherein the content thumbnails are icons obtained by thumbnail display on the uninstall residual content; and the content thumbnail list is arranged based on the content thumbnails.

[0370] In an optional embodiment, the display module 2010 is further configured to display the file list item corresponding to the uninstall residual content in a highlighted display mode, where the highlighted display mode is used to indicate that the file corresponding to the uninstall residual content is a to-be-deleted file corresponding to the target software.

[0371] In an optional embodiment, the apparatus further includes:

[0372] The determination module 2050 is configured to determine the uninstall condition corresponding to the silent uninstall mode.

[0373] The uninstall module 2040 is further configured to automatically uninstall the target software in response to the target software meeting the uninstall condition.

[0374] In an optional embodiment, the display module 2010 is further configured to obtain a software library, where the software library includes at least one software; scan the at least one software in the software library to obtain a scanning result corresponding to each of the at least one software; and classify the at least one software according to a software classification rule based on the scanning result to determine a software classification result corresponding to the at least one software; and display a software classification list corresponding to the obtained software library based on the software classification result, where the software classification list corresponds to the software classification result.

[0375] In an optional embodiment, the receiving module 2020 is further configured to receive a classification input operation, where the classification input operation is used to input at least one classification label as the software classification rule.

[0376] The determination module 2050 is further configured to perform text recognition on the classification label to determine classification text content corresponding to the at least one classification label.

[0377] The determination module 2050 is further configured to match the software usage of the at least one software with the classification text content to determine a matching result of the at least one software and the classification label as the software classification result.

[0378] In summary, the software uninstallation device provided by the embodiments of the present application displays the uninstallation result of the target software in the silent uninstallation mode after receiving the uninstallation viewing operation, wherein the uninstallation range of the silent uninstallation mode is smaller than that of the manual uninstallation mode, and when the target software has residual uninstallation content, residual guide information is displayed, and the files corresponding to the residual uninstallation content are displayed in the file list in a highlighted mode, guiding the user to view the corresponding files in the target folder storing the residual uninstallation content, facilitating the user to delete the files outside the range of the silent uninstallation mode, and effectively improving the efficiency of deleting the files of the residual content of the target software in the silent uninstallation mode, thereby improving the accuracy of the silent uninstallation.

[0379] It should be noted that: the software uninstallation device provided by the above embodiments is only exemplified by the division of the above functional modules, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the software uninstallation device and the software uninstallation method provided by the above embodiments belong to the same concept, and the specific implementation process is described in detail in the method embodiments, which will not be repeated here.

[0380] Figure 22 A structure block diagram of a terminal 2200 provided by an example embodiment of the present application is shown. The terminal 2200 can be a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a notebook computer or a desktop computer. The terminal 2200 can also be referred to as a user equipment, a portable terminal, a laptop terminal, a desktop terminal, and other names.

[0381] Generally, the terminal 2200 includes a processor 2201 and a memory 2202.

[0382] The processor 2201 can include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 2201 can be implemented in at least one of a hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), a PLA (Programmable Logic Array). The processor 2201 can also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also known as a CPU (Central Processing Unit), and the coprocessor being a low-power processor for processing data in a standby state. In some embodiments, the processor 2201 can be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 2201 can also include an AI (Artificial Intelligence) processor for processing machine learning-related computing operations.

[0383] The memory 2202 can include one or more computer-readable storage media that can be non-transitory. The memory 2202 can also include a high-speed random access memory, and a non-volatile memory such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2202 is used to store at least one instruction for being executed by the processor 2201 to implement the virtual game-based control method provided by the method embodiment of the present application.

[0384] In some embodiments, the terminal 2200 further includes other components, which can be understood by those skilled in the art, Figure 22 The structure shown in the figure does not constitute a limitation on the terminal 2200, and can include more or fewer components than those shown, or combine certain components, or use different component arrangements.

[0385] Embodiments of the present application also provide a computer device, which can be implemented as a terminal or a server as shown in Figure 2 The computer device includes a processor and a memory, the memory storing at least one instruction, at least one program, a code set or an instruction set, the at least one instruction, at least one program, code set or instruction set being loaded and executed by the processor to implement the software uninstallation method provided by the above method embodiments.

[0386] The embodiment of the present application further provides a computer readable storage medium, and at least one instruction, at least one program, a code set or an instruction set are stored on the computer readable storage medium. The at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by a processor to implement the software uninstalling method provided by any of the above method embodiments.

[0387] The embodiment of the present application further provides a computer program product or a computer program, and the computer program product or the computer program includes computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the software uninstalling method described in any of the above embodiments.

[0388] Optionally, the computer readable storage medium can include a read only memory (ROM), a random access memory (RAM), a solid state disk (SSD) or an optical disk. The random access memory can include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0389] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by a program instructing related hardware to complete, and the program can be stored in a computer readable storage medium. The storage medium mentioned above can be a read only memory, a magnetic disk or an optical disk.

[0390] The above-mentioned is only the optional embodiment of the present application, and does not limit the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A software uninstallation method, characterized by, The method comprises: in response to receiving an uninstallation viewing operation, displaying uninstallation results of target software, the target software being software uninstalled in a silent uninstallation mode, the silent uninstallation mode being a mode in which uninstallation is triggered automatically in the background under the condition that uninstallation conditions are met, the uninstallation results being used to indicate content residue of the target software after silent uninstallation, wherein an uninstallation range of the silent uninstallation mode is smaller than an uninstallation range of a manual uninstallation mode; in the case that the target software has uninstallation residue content, in response to receiving a residue viewing operation, determining a target folder in which the uninstallation residue content of the target software is stored, the uninstallation residue content being content associated with the target software and not deleted after uninstallation ends; obtaining content thumbnails of the uninstallation residue content stored in the target folder, the content thumbnails being icons for thumbnail display of the uninstallation residue content, the content thumbnails being used to represent at least one of a content type, content information and a memory occupation capacity corresponding to the uninstallation residue content; arranging the content thumbnails to obtain a content thumbnail list; displaying the content thumbnail list corresponding to the target folder as residue guide information, the residue guide information being used to guide to the target folder in which the uninstallation residue content is stored according to a storage path of the uninstallation residue content; in response to receiving a content viewing operation for the residue guide information, displaying a file list corresponding to the target folder, wherein the file list contains files corresponding to the uninstallation residue content, and the files corresponding to the uninstallation residue content are displayed in a highlighted mode in the file list, the files corresponding to the uninstallation residue content being files outside the uninstallation range of the silent uninstallation mode; in response to receiving a file deletion operation in the file list, displaying a file deletion result, the file deletion operation being used to delete the files corresponding to the uninstallation residue content.

2. The method of claim 1, wherein, The response to receiving a file deletion operation in the file list and displaying a file deletion result comprises: receiving a batch deletion operation for the files, the batch deletion operation being used to indicate unified deletion of the files corresponding to the uninstallation residue content; based on the batch deletion operation, displaying the file deletion result.

3. The method of claim 1, wherein, The response to receiving a file deletion operation in the file list and displaying a file deletion result comprises: receiving a sliding operation in the file list, generating a sliding track corresponding to the sliding operation, the sliding track being used to indicate unified deletion of the files corresponding to the uninstallation residue content coinciding with a position corresponding to the sliding track; based on the sliding operation, displaying the file deletion result.

4. The method according to any one of claims 1 to 3, characterized in that, Before the case that the target software has uninstallation residue content, in response to receiving a residue viewing operation, determining a target folder in which the uninstallation residue content of the target software is stored, the method further comprises: inputting the software parameter of the target software and file information of a candidate file stored in the device into a residual identification model, outputting a residual probability of the candidate file, the residual identification model being a machine learning model pre-trained for analyzing the software parameter and the file information; in response to the residual probability of the candidate file reaching a first probability threshold, regarding the candidate file as uninstall residual content of the target software.

5. The method according to any one of claims 1 to 3, characterized in that, Before the step of displaying the uninstall result of the target software in response to receiving the uninstall viewing operation, the method further includes: obtaining a device running parameter, the device running parameter being used for indicating a running environment of the device in a running process; in response to the device running parameter meeting a triggering condition and the target software meeting the uninstall condition, starting to perform silent uninstall on the target software.

6. The method according to any one of claims 1 to 3, characterized in that, Before the step of displaying the uninstall result of the target software in response to receiving the uninstall viewing operation, the method further includes: inputting the software parameter of the target software into an uninstall identification model, outputting an uninstall identification result corresponding to the target software, the uninstall identification result including an uninstall demand probability, the uninstall identification model being a machine learning model pre-trained for analyzing the software parameter; in response to the uninstall demand probability reaching a second probability threshold, automatically performing silent uninstall on the target software.

7. The method according to any one of claims 1 to 3, characterized in that, The method further includes: obtaining folder information corresponding to the target folder, the folder information being used for indicating file storage features of the target folder; displaying the folder information corresponding to the target folder as the residual guidance information.

8. The method of claim 7, wherein, The folder information includes file classification information. The step of obtaining the folder information corresponding to the target folder includes: classifying files corresponding to the uninstall residual content in the target folder according to a specified classification rule, to obtain file classification information corresponding to the files, the file classification information being used for indicating classification results respectively corresponding to the files of the uninstall residual content.

9. The method of claim 7, wherein, The folder information includes file keyword information. The step of obtaining the folder information corresponding to the target folder includes: obtaining file keyword information of files corresponding to the uninstall residual content in the target folder, the file keyword information being information obtained by keyword extraction on the files corresponding to the uninstall residual content.

10. The method according to any one of claims 1 to 3, characterized in that, Before the step of displaying the uninstall result of the target software in response to receiving the uninstall viewing operation, the method further includes: determining the uninstall condition corresponding to the silent uninstall mode; in response to the target software meeting the uninstall condition, automatically uninstalling the target software.

11. The method according to any one of claims 1 to 3, characterized in that, Before the step of displaying the uninstall result of the target software in response to receiving the uninstall viewing operation, the method further includes: obtaining a software library, the software library including at least one software; scanning the at least one software in the software library, to obtain scanning results respectively corresponding to the at least one software, the scanning results being used for indicating software usage situations corresponding to the at least one software; classifying the at least one software according to a software classification rule based on the scanning results, to determine software classification results corresponding to the at least one software; Based on the software classification result, a software classification list corresponding to the software library is displayed, the software classification list corresponding to the software classification result.

12. The method of claim 11, wherein, Before the determination of the software classification result corresponding to the at least one software, the method further includes: receiving a classification input operation for inputting at least one classification label as the software classification rule; performing text recognition on the at least one classification label to determine classification text content corresponding to the classification label; matching the software usage of the at least one software with the classification text content to determine a matching result of the at least one software and the classification label as the software classification result.

13. A software uninstallation apparatus characterized by comprising: The apparatus includes: The display module is configured to, in response to receiving an uninstallation viewing operation, display an uninstallation result of a target software, the target software being software uninstalled in a silent uninstallation mode, the silent uninstallation mode being a mode in which uninstallation is automatically triggered in the background when uninstallation conditions are met, and the uninstallation result being used to indicate a content residue condition of the target software after silent uninstallation, wherein an uninstallation range of the silent uninstallation mode is smaller than an uninstallation range of a manual uninstallation mode. The determination unit is configured to, in response to receiving a residue viewing operation, determine a target folder storing uninstallation residue content of the target software when the target software has uninstallation residue content, the uninstallation residue content being content associated with the target software and not deleted after uninstallation ends. The acquisition unit is configured to acquire a content thumbnail of the uninstallation residue content stored in the target folder, the content thumbnail being an icon for thumbnail display of the uninstallation residue content, the content thumbnail being used to indicate at least one of a content type, content information, and memory occupation capacity corresponding to the uninstallation residue content, and a content thumbnail list being arranged based on the content thumbnail. The display unit is configured to display the content thumbnail list corresponding to the target folder as residue guide information, the residue guide information being used to guide to the target folder storing the uninstallation residue content according to a storage path of the uninstallation residue content. The receiving module is further configured to, in response to receiving a content viewing operation for the residue guide information, display a file list corresponding to the target folder, wherein the file list includes a file corresponding to the uninstallation residue content, and the file corresponding to the uninstallation residue content is displayed in a highlighted mode in the file list, the file corresponding to the uninstallation residue content being a file outside the uninstallation range of the silent uninstallation mode. The display module is further configured to, in response to receiving a file deletion operation on a file in the file list, display a file deletion result, the file deletion operation being used to delete the file corresponding to the uninstallation residue content.

14. A computer device, comprising: The computer device includes a processor and a memory, the memory storing at least one program, the at least one program being loaded and executed by the processor to implement the software uninstallation method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that, The storage medium stores at least one program, and the at least one program is loaded by the processor and executed to implement the software offloading method according to any one of claims 1 to 12.

16. A computer program product, characterised in that, The computer program is executed by the processor to implement the software offloading method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method and device for clearing useless files

    CN103559276A

  • Method and device for silently uninstalling software

    CN112162763A