Backtracking method and backtracking device for uninstalling software based on Android system

By generating backtracking compression packages in the Android system and reinstalling and data recovery, the problem of inability to restore the application status after uninstalling the software is solved, improving the user experience.

CN119440553APending Publication Date: 2025-02-14BOE TECHNOLOGY GROUP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310953381.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In Android system, it is difficult for users to restore the application status before uninstalling the software after uninstalling, resulting in the loss of user information and application data, and the user experience is poor.

Method used

By generating a back-tracking compressed package during the uninstallation process, and reinstalling and data recovery after uninstallation, restore to the application state before uninstallation.

Benefits of technology

It realizes software backtracking and data recovery, retains user information and application data, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440553A_ABST
    Figure CN119440553A_ABST
Patent Text Reader

Abstract

The invention discloses a backtracking method and device for uninstalling software based on an Android system, computer equipment and a storage medium. The backtracking method of one embodiment comprises the steps that in response to a first operation of a user, a software item of software to be backtracked in a backtraceable list is selected, and the software item comprises an installation package name of the software to be backtracked; according to the installation package name, a backtracking compressed package of the to-be-backtracked software is obtained, an installation file and use data in the backtracking compressed package are obtained, and the backtracking compressed package is generated when the to-be-backtracked software is uninstalled; and performing installation according to the installation file, and transmitting the use data to a corresponding folder. According to the embodiment provided by the invention, the backtracking compressed package generated in the uninstalling process is used for backtracking and reinstalling after the software is uninstalled, and the application state before the software is uninstalled can be recovered, so that the method is convenient for a user to use, the user experience is effectively improved, and the method has a practical application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Android technology, and in particular to a backtracking method, a backtracking device, a computer device and a storage medium for uninstalling software based on an Android system. Background Art

[0002] With the popularization of smart phones and smart tablet devices, users are facing more and more software installation and uninstallation problems. For various reasons, there is often a need to reinstall the uninstalled software. However, after uninstalling the software, the application data will also be deleted, and each reinstallation requires tedious steps such as re-login to the software and setting information, and there is also the problem that past application records cannot be restored.

[0003] Therefore, how to backtrack uninstalled software and restore it to the application state before uninstallation has become a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0004] In order to solve at least one of the above problems, the first aspect of the present invention provides a backtracking method for uninstalling software based on an Android system, comprising:

[0005] In response to a first operation of a user, a software item of the software to be backtraced in the backtraced list is selected to start a reinstallation operation of the software to be backtraced, wherein the software item includes an installation package name of the software to be backtraced;

[0006] Obtaining a backtracking compressed package of the software to be backtracked according to the installation package name, and obtaining installation files and usage data in the backtracking compressed package, wherein the backtracking compressed package is generated when the software to be backtracked is uninstalled;

[0007] The installation is performed according to the installation file, and the usage data is transferred to a corresponding folder.

[0008] For example, in the backtracking method provided in some embodiments of the present application, before selecting the software item of the to-be-backtracked software in the backtrackable list in response to the user's first operation to start the reinstallation operation of the to-be-backtracked software, the method further includes:

[0009] In response to a second operation of the user, installing the software and generating the installation package name;

[0010] applying the software and generating the usage data in response to a third operation of the user;

[0011] In response to the fourth operation of the user, the software is uninstalled, and a retrospective compression package of the software is generated during the uninstallation process and added to the retrospective list.

[0012] For example, in the backtracking method provided in some embodiments of the present application, the usage data includes private data and peripheral device data;

[0013] The installing software in response to the second operation of the user further comprises: storing the installation file of the software in an installation directory including the installation package name;

[0014] The applying the software and generating the usage data in response to the user's third operation further includes: during the application process, storing the generated private data in a private data directory including the installation package name, and storing the generated peripheral data in a peripheral data directory including the installation package name.

[0015] For example, in the backtracking method provided in some embodiments of the present application, uninstalling the software in response to the fourth operation of the user, generating a backtracking compressed package of the software during the uninstallation process, and adding it to the backtrackable list further includes:

[0016] generating an uninstall instruction in response to a fourth operation of the user, and determining the installation package name of the corresponding software according to the uninstall instruction;

[0017] Obtaining the installation file of the software from the installation directory according to the installation package name, obtaining the private data of the software from the private data directory according to the installation package name, and obtaining the peripheral data of the software from the peripheral data directory according to the installation package name;

[0018] Generate a retrospective compression package of the software according to the installation file, private data and peripheral data, and add it to the retrospective list;

[0019] Uninstall the software and delete the corresponding installation files, private data and peripheral data.

[0020] For example, in the backtracking method provided in some embodiments of the present application,

[0021] The step of generating a retrospective compressed package of the software according to the installation file, private data and peripheral data, and adding the package to the retrospective list further comprises: encrypting the retrospective compressed package using a preset encryption algorithm;

[0022] The step of obtaining the backtrace compressed package of the software to be backtraced according to the installation package name, and obtaining the installation files and usage data in the backtrace compressed package further includes: using the encryption algorithm to decrypt the backtrace compressed package to obtain the installation files, private data and peripheral data of the software to be backtraced.

[0023] For example, in the backtracking method provided in some embodiments of the present application, the encryption algorithm is at least one of a DES encryption algorithm, an AES encryption algorithm, an RSA encryption algorithm, a Base64 encryption algorithm, an MD5 encryption algorithm, and a SHA1 encryption algorithm.

[0024] For example, in the backtracking method provided in some embodiments of the present application, the installing according to the installation file and transferring the usage data to the corresponding folder further includes:

[0025] The software to be backtracked is silently installed according to the installation file.

[0026] For example, in the backtracking method provided in some embodiments of the present application, the backtracking method also includes: cleaning the backtracking compression package according to a preset storage period threshold and / or a preset storage space threshold, and modifying the backtrackable list.

[0027] A second aspect of the present invention provides a backtracking device for uninstalling software based on an Android system, comprising a backtracking software selection unit, a backtracking compressed package storage unit, and a controller, wherein the controller is configured to:

[0028] In response to a user's first operation in the backtraceable software selection unit selecting a software item of the software to be backtraced in the backtraceable list to start a reinstallation operation of the software to be backtraced, the software item including the installation package name of the software to be backtraced;

[0029] Obtaining a backtracking compressed package of the software to be backtracked from the backtracking compressed package storage unit according to the installation package name, and obtaining installation files and usage data in the backtracking compressed package, wherein the backtracking compressed package is generated when the software to be backtracked is uninstalled;

[0030] The installation is performed according to the installation file, and the usage data is transferred to a corresponding folder.

[0031] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the backtracking method as described in the first aspect.

[0032] A fourth aspect of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the backtracking method as described in the first aspect when executing the program.

[0033] The beneficial effects of the present invention are as follows:

[0034] In view of the existing problems, the present invention develops a backtracking method, a backtracking device, a computer device and a storage medium for uninstalling software based on the Android system. By backtracking and reinstalling the backtracking compressed package generated during the uninstallation process after the software is uninstalled, the application state before uninstallation can be restored, and user information and application data can be retained, thereby facilitating user use. The problems existing in the prior art can be solved, the user experience is effectively improved, and the invention has practical application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0036] Figure 1 A flowchart showing a backtracking method according to an embodiment of the present invention is shown;

[0037] Figure 2 A structural block diagram showing a backtracking device according to another embodiment of the present invention is shown;

[0038] Figure 3 A schematic structural diagram of a computer device according to another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0039] In order to more clearly illustrate the present invention, the present invention is further described below in conjunction with preferred embodiments and accompanying drawings. Similar components in the accompanying drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content specifically described below is illustrative rather than restrictive, and should not be used to limit the scope of protection of the present invention.

[0040] In view of the problems existing in related technologies, such as Figure 1 As shown, an embodiment of the present invention provides a backtracking method for uninstalling software based on an Android system, comprising:

[0041] In response to a first operation of a user, a software item of the software to be backtraced in the backtraced list is selected to start a reinstallation operation of the software to be backtraced, wherein the software item includes an installation package name of the software to be backtraced;

[0042] Obtaining a backtracking compressed package of the software to be backtracked according to the installation package name, and obtaining installation files and usage data in the backtracking compressed package, wherein the backtracking compressed package is generated when the software to be backtracked is uninstalled;

[0043] The installation is performed according to the installation file, and the usage data is transferred to a corresponding folder.

[0044] In this embodiment, based on the Android operating system, the software to be backtracked is selected through the traceable software provided in the backtrackable list, and reinstalled and data restored through the backtracking compressed package generated during the uninstallation process, thereby restoring the reinstalled software to the application state before uninstallation, retaining user information and application data, facilitating user use, and effectively improving user experience.

[0045] To further illustrate the specific implementation of this embodiment, in a specific example, a process of installing software - using application software - uninstalling software - backtracking software based on the Android system is described in detail.

[0046] The first step is to install the software and generate the installation package name in response to the second operation of the user.

[0047] In this embodiment, the user selects software and installs it. During the installation process, the installation file is stored in the system's installation directory, and the data generated when the software is applied is stored in the application target. Specifically, the software installation file is stored in the installation directory including the installation package name.

[0048] In this embodiment, the APK (Android application package) file of the software installation is stored under the installation target of the Android system. Specifically, the APK file is an application package file format used by the Android operating system for distributing and installing mobile applications and middleware. During the installation of the APK file, the Android system automatically generates an installation package name and an identification code for the installation software, and creates a folder including the installation package name under the installation directory " / data / app" under the Android system, where the installation package name is a unique identifier corresponding to the installation software, and the identification code is dynamically generated by the Android system according to certain rules. This embodiment takes the installation of input method application software as an example. During the installation process, the package name and identification code are automatically generated:

[0049] com.boe.android.inputmethod.pinyin-TM2QDMAyHZd0s7Asm4VyDw==

[0050] The generated package name is: com..boe.android.inputmethod.pinyin, and the generated identification code is: TM2QDMAyHZd0s7Asm4VyDw. The Android system stores the APK file of the installation software in this folder, such as base.apk, which is equivalent to the downloaded installation file.

[0051] In a second step, in response to a third operation of the user, the software is applied and the usage data is generated.

[0052] In this embodiment, after the application software is installed, as the user logs in, sets up and uses it, the software generates usage data and stores it in the data directory. Specifically, in the process of applying the input method software, the user's login username, password, and set skins, preferences, etc. are all usage data, which are all stored in the data directory. The usage data includes private data and peripheral data. For example, the generated private data is stored in the private data directory including the installation package name: for example, in the "data / data / installation package name" folder. At the same time, the generated peripheral data is stored in the peripheral data directory including the installation package name: for example, "android / data / installation package name".

[0053] The third step is to uninstall the software in response to the fourth operation of the user, generate a retrospective compression package of the software during the uninstallation process, and add it to the retrospective list.

[0054] In this embodiment, according to the user's operation of uninstalling the software, a backtracking compressed package of the software is generated before the uninstallation operation, and the backtracking information of the software is added to the backtrackable list. Specifically, the following steps are included:

[0055] First, an uninstallation instruction is generated in response to a fourth operation of the user, and the installation package name of the corresponding software is determined according to the uninstallation instruction.

[0056] In this embodiment, an uninstall instruction including the installation package name of the uninstalled software is generated in response to the user's uninstall operation, and a traceable compressed package is subsequently generated according to the installation package name.

[0057] Secondly, the installation file of the software is obtained from the installation directory according to the installation package name, the private data of the software is obtained from the private data directory according to the installation package name, and the peripheral data of the software is obtained from the peripheral data directory according to the installation package name.

[0058] In this embodiment, the installation targets are traversed according to the installation package name and a folder matching the installation package name is found.

[0059]

[0060] The matching folder is the installation directory of the uninstall software. Enter the folder to obtain the installation file of the uninstall software: base.apk.

[0061]

[0062] Similarly, in the private data and peripheral data directories, folders matching the installation package name are obtained. Specifically, in this embodiment, for the input method software, private data is obtained from the "data / data / installation package name" folder, and peripheral data is obtained from the "android / data / installation package name" folder, for example: com.boe.andriod.inputmethod.pinyin.

[0063]

[0064] Thirdly, a retrospective compression package of the software is generated according to the installation file, private data and peripheral data, and is added to the retrospective list.

[0065] In this embodiment, the obtained installation files, private data and peripheral data are packaged and a retrospective compressed package and retrospective information of the software are generated. The retrospective information includes the installation package name, name, version number, icon, storage address and generation time of the retrospective compressed package of the software, etc., and the retrospective information is added to the retrospective list for user query.

[0066] Finally, the software is uninstalled and the corresponding installation files, private data and peripheral data are deleted.

[0067] In this embodiment, after the retrospective compression package of the software is generated, the software is uninstalled, and the installation files in the installation directory and the private data and peripheral data in the data directory are deleted.

[0068] It should be noted that this embodiment uses the administrator account of a smart phone or smart tablet as the application basis, and can access and obtain the above-mentioned installation files, private data and peripheral data.

[0069] In the fourth step, in response to the user's first operation, the software to be backtracked is selected and the software to be backtracked is restored.

[0070] In this embodiment, the software to be reinstalled is selected from the backtrackable list, the corresponding backtracking compressed package is obtained according to the backtracking information of the software, the installation software in the backtracking compressed package is used to reinstall, and the application data is restored using the usage data in the backtracking compressed package. Specifically, the following steps are included:

[0071] First, in response to a first operation of a user, a software item of the software to be backtraced in the backtracing list is selected, and the software item includes the installation package name of the software to be backtraced.

[0072] Secondly, the backtrace compressed package of the software to be backtraced is obtained according to the installation package name, and the installation files and usage data in the backtrace compressed package are obtained. The usage data includes private data and peripheral data. The backtrace compressed package is generated when the software to be backtraced is uninstalled.

[0073] Finally, the installation is performed according to the installation file, and the private data and peripheral data are transferred to corresponding folders.

[0074] In this embodiment, the retrospective compression package of the uninstalled software is obtained through the above steps, and reinstallation and data recovery are performed according to the installed software, private data and peripheral data in the retrospective compression package. The application state before uninstallation can be restored, and user information and application data can be retained, which is convenient for users to use and effectively improves the user experience.

[0075] At this point, the entire process of installing software based on the Android system - using application software - uninstalling software - tracing back software is completed.

[0076] In order to improve the security performance of the retrospective compressed package, in an optional embodiment, the step of generating the retrospective compressed package of the software according to the installation file, private data and peripheral data, and adding the package to the retrospective list further comprises: encrypting the retrospective compressed package using a preset encryption algorithm;

[0077] The step of obtaining the backtrace compressed package of the software to be backtraced according to the installation package name, and obtaining the installation files, private data and peripheral data in the backtrace compressed package further includes: decrypting the backtrace compressed package using the encryption algorithm to obtain the installation files, private data and peripheral data of the software to be backtraced.

[0078] In this embodiment, an encryption algorithm is used to encrypt and decrypt the retrospective compression package to improve the security performance of user information and application data. Specifically, the encryption algorithm used in this embodiment is at least one of the DES encryption algorithm, the AES encryption algorithm, the RSA encryption algorithm, the Base64 encryption algorithm, the MD5 encryption algorithm, and the SHA1 encryption algorithm. By encrypting the retrospective compression package, on the one hand, data integrity is protected, and on the other hand, user privacy is effectively protected, further improving user experience.

[0079] In order to further improve the user experience, in an optional embodiment, the installing according to the installation file and transferring the private data and peripheral data to the corresponding folder further includes: silently installing the software to be backtracked according to the installation file.

[0080] In this embodiment, it is considered that the user has installed the software before, and a silent installation is performed according to the selection in the previous installation process, that is, the background installation currently used by the user is not affected, so the installation process is further simplified and the user experience is improved.

[0081] It is worth noting that the present application does not specifically limit the installation method. Silent installation or normal installation can be used. For example, if the user needs to change relevant settings when reinstalling the software, technical personnel in this field should choose a specific installation method based on actual application requirements, which will not be elaborated here.

[0082] Taking into account the possibility of backtracking, in an optional embodiment, the backtracking method further includes: cleaning up the backtracking compression package according to a preset storage period threshold, and modifying the backtrackable list.

[0083] In this embodiment, the uninstallation time of the software is used as a benchmark. The longer the uninstallation time is, the less likely it is to be reinstalled. Therefore, a certain storage period threshold is set, such as three months or six months. When the storage period threshold is reached, the retroactive compressed package is deleted and the retroactive list is modified.

[0084] In another optional embodiment, the backtracking method further includes: cleaning up the backtracking compression package according to a preset storage space threshold, and modifying the backtrackable list.

[0085] In this embodiment, the remaining amount of storage space of the smart phone or smart tablet is used as a reference benchmark. When the remaining storage space is less than a certain storage space threshold, the backtracking compressed package is deleted and the backtrackable list is modified.

[0086] In an optional embodiment, both the storage period threshold and the storage space threshold are considered, and when any condition is met, the backtracking compression package is deleted and the backtrackable list is modified.

[0087] It is worth noting that the present application does not specifically limit the method for cleaning the retroactive compressed package, and those skilled in the art should make a choice based on actual application requirements, which will not be elaborated here.

[0088] Corresponding to the backtracking method provided in the above embodiment, an embodiment of the present application further provides a backtracking device applying the above backtracking method, such as Figure 2 As shown, it includes a backtracking software selection unit, a backtracking compression package storage unit, and a controller, wherein the controller is configured to:

[0089] In response to a user selecting a software item of the to-be-backtraced software in the backtraced software selection unit through a first operation, the software item including the installation package name of the to-be-backtraced software;

[0090] Obtaining a backtracking compressed package of the software to be backtracked from the backtracking compressed package storage unit according to the installation package name, and obtaining installation files and usage data in the backtracking compressed package, wherein the backtracking compressed package is generated when the software to be backtracked is uninstalled;

[0091] The installation is performed according to the installation file, and the usage data is transferred to a corresponding folder.

[0092] In this embodiment, through the backtracking list presented in the backtracking software selection unit, the software that can be backtracked can be selected, and through the backtracking compressed package generated during the uninstallation process stored in the backtracking compressed package storage unit, it is possible to backtrack and reinstall after uninstalling the software, and restore to the application state before uninstallation, retaining user information and application data, thereby facilitating user use, effectively improving user experience, and having practical application value. Since the LCD screen test method provided in the embodiment of the present application corresponds to the temperature shock device provided in the above-mentioned embodiments, the previous implementation is also applicable to the LCD screen test method provided in this embodiment, and will not be described in detail in this embodiment.

[0093] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements: in response to a user's first operation, selecting a software item of a software to be backtraced in a backtraced list, the software item including an installation package name of the software to be backtraced; obtaining a backtracing compressed package of the software to be backtraced according to the installation package name, and obtaining installation files and usage data in the backtracing compressed package, the backtracing compressed package being generated when the software to be backtraced is uninstalled; installing according to the installation file, and transferring the usage data to a corresponding folder.

[0094] In practical applications, the computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0095] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0096] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0097] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0098] like Figure 3 As shown, a structural schematic diagram of a computer device provided by another embodiment of the present invention. Figure 3 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0099] like Figure 3 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0100] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0101] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0102] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 3 not shown, usually called a "hard drive"). Although Figure 3 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0103] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0104] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 20. Figure 3 As shown, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that although Figure 3 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0105] The processor unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a backtracking method for uninstalling software based on the Android system provided in an embodiment of the present invention.

[0106] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.

Claims

1. A backtracking method for uninstalling software based on Android system, characterized in that: include: In response to a first operation of a user, a software item of the software to be backtraced in the backtraced list is selected to start a reinstallation operation of the software to be backtraced, wherein the software item includes an installation package name of the software to be backtraced; Obtaining a backtracking compressed package of the software to be backtracked according to the installation package name, and obtaining installation files and usage data in the backtracking compressed package, wherein the backtracking compressed package is generated when the software to be backtracked is uninstalled; The installation is performed according to the installation file, and the usage data is transferred to a corresponding folder.

2. The backtracking method according to claim 1, characterized in that: Before selecting the software item of the to-be-backtracked software in the backtrackable list in response to the user's first operation to start the reinstallation operation of the to-be-backtracked software, the method further includes: In response to a second operation of the user, installing the software and generating the installation package name; applying the software and generating the usage data in response to a third operation of the user; In response to the fourth operation of the user, the software is uninstalled, and a retrospective compression package of the software is generated during the uninstallation process and added to the retrospective list.

3. The backtracking method according to claim 2, characterized in that: The usage data includes private data and peripheral data; The installing software in response to the second operation of the user further comprises: storing the installation file of the software in an installation directory including the installation package name; The applying the software and generating the usage data in response to the user's third operation further includes: during the application process, storing the generated private data in a private data directory including the installation package name, and storing the generated peripheral data in a peripheral data directory including the installation package name.

4. The backtracking method according to claim 3, characterized in that: The step of uninstalling the software in response to the fourth operation of the user, generating a retrospective compressed package of the software during the uninstallation process, and adding the package to the retrospective list further comprises: generating an uninstall instruction in response to a fourth operation of the user, and determining the installation package name of the corresponding software according to the uninstall instruction; Obtaining the installation file of the software from the installation directory according to the installation package name, obtaining the private data of the software from the private data directory according to the installation package name, and obtaining the peripheral data of the software from the peripheral data directory according to the installation package name; Generate a retrospective compression package of the software according to the installation file, private data and peripheral data, and add it to the retrospective list; Uninstall the software and delete the corresponding installation files, private data and peripheral data.

5. The backtracking method according to claim 4, characterized in that: The step of generating a retrospective compressed package of the software according to the installation file, private data and peripheral data, and adding the package to the retrospective list further comprises: encrypting the retrospective compressed package using a preset encryption algorithm; The step of obtaining the backtrace compressed package of the software to be backtraced according to the installation package name, and obtaining the installation files and usage data in the backtrace compressed package further includes: using the encryption algorithm to decrypt the backtrace compressed package to obtain the installation files, private data and peripheral data of the software to be backtraced.

6. The backtracking method according to claim 5, characterized in that: The encryption algorithm is at least one of a DES encryption algorithm, an AES encryption algorithm, an RSA encryption algorithm, a Base64 encryption algorithm, an MD5 encryption algorithm and a SHA1 encryption algorithm.

7. The backtracking method according to any one of claims 1 to 6, characterized in that: The installing according to the installation file and transferring the usage data to the corresponding folder further comprises: The software to be backtracked is silently installed according to the installation file.

8. The backtracking method according to claim 1, characterized in that: The backtracking method further includes: cleaning up the backtracking compression package according to a preset storage period threshold and / or a preset storage space threshold, and modifying the backtrackable list.

9. A backtracking device for uninstalling software based on Android system, characterized in that: The system comprises a backtracking software selection unit, a backtracking compression package storage unit, and a controller, wherein the controller is configured to: In response to a user's first operation in the backtraceable software selection unit selecting a software item of the software to be backtraced in the backtraceable list to start a reinstallation operation of the software to be backtraced, the software item including the installation package name of the software to be backtraced; Obtaining a backtracking compressed package of the software to be backtracked from the backtracking compressed package storage unit according to the installation package name, and obtaining installation files and usage data in the backtracking compressed package, wherein the backtracking compressed package is generated when the software to be backtracked is uninstalled; The installation is performed according to the installation file, and the usage data is transferred to a corresponding folder.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the backtracking method according to any one of claims 1 to 8 is implemented.

11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the backtracking method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Method and system for recovering installation of unloaded software

    CN104346206A

  • Terminal and application uninstallation method and device

    CN106648750A

  • Application management method and apparatus

    CN108108172A