Method, apparatus, terminal device and storage medium for automatically restoring backup application
Through the intelligent large-screen system monitoring application deletion commands, recording and automatically recovering backup applications, the cumbersome problem of manually finding and installing backup applications in the existing technology is solved, and automated application management is realized.
Patent Information
- Application Number
- CN202011624533.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2040-12-30
AI Technical Summary
In the existing technology, when managing intelligent large-screen applications, after accidentally deleting the application, you need to manually find the backup location and manually install and restore it, which is cumbersome.
The system creates backend service to listen for application deletion commands, record application basic information, automatically search for the application with the least number of deletes in the memory, read external storage device information, listen to user selection and automatically install backup applications.
Automatic recovery and backup applications are realized, reducing the tedious process of manual search and manual installation, and improving management efficiency.
Smart Images

Figure CN114691419B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart large-screen technology, and in particular to a method, device, terminal device and storage medium for automatically restoring and backing up applications on a smart large-screen. Background Art
[0002] With the advent of the information age, the rapid development of computer multimedia technology and the widespread application of network technology have led to a growing demand for large-screen, multi-color, high-brightness, and high-resolution displays, from command and control centers and network management centers to impromptu meetings, technical seminars, and outdoor advertising. Traditional CRT monitors struggle to meet these demands. To meet this societal need, the development of smart large-screen displays has received significant attention from manufacturers in recent years. Smart large-screen technology has rapidly advanced, and its application scenarios have further expanded. The applications installed on smart large-screen displays are adapted to different scenarios, and technological advancements have enabled a wide range of applications to meet diverse needs. When a smart large-screen displays are equipped with multiple applications, user management becomes essential. This management inevitably involves deleting applications, and inadvertent deletions are unavoidable. With existing technology, finding and restoring deleted applications requires manual effort, including searching for the deleted application, locating the backup copy, and then manually installing and restoring it, which is often cumbersome.
[0003] Therefore, the existing technology needs to be improved and enhanced. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a method, device, terminal device and storage medium for automatically restoring backup applications in response to the above-mentioned defects of the prior art, aiming to solve the problem in the prior art that the smart large screen must manually search for what was accidentally deleted, then find the storage location of the backup, and manually install and restore it.
[0005] In order to solve the above technical problems, the technical solutions adopted by the present invention are as follows:
[0006] In a first aspect, the present invention provides a method for automatically restoring a backup application, comprising:
[0007] The system creates a background service to monitor the system's command to delete applications, record basic information of the deleted applications, and save it to the first memory;
[0008] The system detects a request to start an application, selects three pieces of information with the least number of deletions from the first memory, and saves them to the second memory;
[0009] After the system automatically searches for the deleted application, it reads the basic information of the installation package in the specified directory of the external storage device and saves it to the third memory;
[0010] The system determines whether the information of the installation package is empty, and displays the information of the available installation packages on the screen in a list;
[0011] The system monitors the user's selection of applications to be restored and stores the selected applications in a linked list;
[0012] The system monitors the user clicking the restore installation button and installs the application;
[0013] The system displays the result of automatically restoring the backup application on the screen.
[0014] In a second aspect, an embodiment of the present invention further provides a device for automatically restoring a backup application, wherein the device includes:
[0015] Automatic search for deleted applications module, used to monitor the system's command to delete applications, record the basic information of deleted applications, and save it to the memory;
[0016] A backup application recovery module, used to recover the application needed by the user that has been deleted by the system;
[0017] The application recovery display module is used to display the name of the application restored by the system on the screen.
[0018] In a third aspect, an embodiment of the present invention further provides a terminal device, comprising a memory, a processor, and a recovery and backup application of the terminal device stored in the memory and runnable on the processor. When the processor executes the recovery and backup application of the terminal device, the steps of the method for automatically restoring and backing up the terminal device as in any one of the above-mentioned schemes are implemented.
[0019] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a recovery backup application of a terminal device is stored. When the processor executes the recovery backup application of the terminal device, the steps of the method for automatically restoring the backup application of any one of the above-mentioned schemes are implemented.
[0020] Beneficial effects: Compared with the prior art, the present invention provides a method and device capable of automatically restoring backup applications. The method creates a background service through the system, monitors the system's command to delete applications, and records the basic information of the deleted applications. When restoring the backup applications, the system selects the three pieces of information with the least number of deletions from the memory, saves them to the memory, reads the basic information of the installation package in the specified directory of the external storage device, automatically determines whether the information of the installation package is empty, monitors the user's selection of the application to be restored and installed, monitors the user's clicking of the restore installation button, and installs the backup application according to the user's selection. Otherwise, the system automatically installs the corresponding application based on the three pieces of information with the least number of deletions stored in the memory, and displays the installation results. This solves the problem of the prior art that manual search and installation are cumbersome. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 The present invention provides a flowchart of a specific implementation of the method for automatically restoring a backup application.
[0022] Figure 2 The present invention provides a flowchart of a method for automatically restoring a backup application and reading basic information of an external storage device and saving it to a memory.
[0023] Figure 3 This is a flowchart of the system determining whether the basic information of an installation package is empty in the method for automatically restoring a backup application provided by an embodiment of the present invention.
[0024] Figure 4 This is a flow chart of the system monitoring the user clicking the restore installation button and installing the application in the method for automatically restoring a backup application provided by an embodiment of the present invention.
[0025] Figure 5 The present invention provides a flow chart of a method for automatically restoring a backup application provided by an embodiment of the present invention, in which the system displays the result of automatically restoring a backup application on the screen.
[0026] Figure 6 This is a block diagram of the internal structure principle of the automatic recovery backup application device provided by an embodiment of the present invention.
[0027] Figure 7 This is a block diagram of the internal structure of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0029] With the advent of the information age, the rapid development of computer multimedia technology and the widespread application of network technology have led to a growing demand for large-screen, multi-color, high-brightness, and high-resolution displays, from command and control centers and network management centers to impromptu meetings, technical seminars, and outdoor advertising. Traditional CRT monitors struggle to meet these demands. To meet this societal need, the development of smart large-screen displays has received significant attention from manufacturers in recent years. Smart large-screen technology has rapidly advanced, and its application scenarios have further expanded. The applications installed on smart large-screen displays are adapted to different scenarios, and technological advancements have enabled a wide range of applications to meet diverse needs. When a smart large-screen displays are equipped with multiple applications, user management becomes essential. This management inevitably involves deleting applications, and inadvertent deletions are unavoidable. With existing technology, finding and restoring deleted applications requires manual effort, searching for the deleted application, locating the backup location, and then manually installing and restoring it.
[0030] For example, when manually recovering a deleted application, one must first manually determine which files were deleted and the names of the deleted files, then insert a mobile storage device such as a USB flash drive that stores the application installation package files, and search for the required installation package files one by one. If the inserted mobile storage device does not have the corresponding installation package file, a new mobile storage device must be reinserted and searched again one by one until the corresponding installation package file is found. Then, one must manually determine one by one whether the installation package files actually exist and are available, and then install them. This is very time-consuming and labor-intensive.
[0031] To address the problems of manually searching and installing deleted applications in the prior art, this embodiment provides a method for automatically restoring backup applications. The method can monitor system application deletion commands based on a pre-created background service and record basic information about the deleted applications, including package name, application name, and number of deletions. When the system needs to restore the deleted applications, the system automatically retrieves the basic information (package name, application name) of the top three applications with the least number of deletions, automatically obtains the installation packages of the corresponding applications from an inserted mobile storage device, automatically determines whether the installation package files are actually available, and displays the information of the available installation packages on the screen in a list for the user to select and install. The system automatically monitors the user's selection of applications to be restored and stores the selected applications in a linked list. The system also automatically monitors the user's click on the restore installation button and installs the application files selected by the user. Alternatively, if the user clicks restore installation without selecting an application in the linked list, the system automatically installs the top three applications with the least number of deletions stored in the memory and displays the names of the installed applications on the screen, informing the user of the final installation results. This avoids the tedious and inconvenient process of manually searching for deleted files, making judgments, and performing installation.
[0032] Exemplary Methods
[0033] The method for automatically restoring a backup application in this embodiment can be applied to a terminal device. Figure 1 As shown in , the method for automatically restoring a backup application includes the following steps:
[0034] Step S100: The system creates a background service to monitor the system's command to delete an application, record basic information of the deleted application, and save it to the first memory.
[0035] To enable the smart large-screen system to automatically restore the backup application of deleted applications, in this embodiment, the smart large-screen system first needs to create a background service to monitor the system's daily command to delete applications. The background service also needs to record and store the basic information of the deleted applications. The stored basic information includes the package name of the deleted application, the application name, and the total number of times the application has been deleted. This basic information is stored in the first memory. For ease of management and retrieval, the basic information of the deleted applications is stored in ascending order according to the number of times the application has been deleted.
[0036] Step S200: The system detects a request to start an application, selects three pieces of information with the least number of deletions from the first memory, and saves them to the second memory.
[0037] In this embodiment, the background service created by the smart large screen system detects the request of the smart large screen system to start an application. If it is found that the application required to be started does not exist in the system, the system immediately starts the program to automatically search for deleted applications to search for the application.
[0038] The smart large-screen system selects the first three application information with the least number of deletions in the first memory and saves them in the second memory. The content of the application information stored in the second memory includes: the package name and application name of the application.
[0039] Step S300: After the system automatically searches for the deleted application, it reads the basic information of the installation package in the specified directory of the external storage device and saves it to the third memory.
[0040] Specific implementation methods are as follows Figure 2 As shown in , step S300 specifically includes the following steps:
[0041] Step S301: The system obtains an identifier of the second storage device. When the identifier is equal to 1, the system starts a backup application recovery.
[0042] Specifically, in this embodiment, the smart large-screen system obtains the identifier of the second memory. The identifier 1 of the second memory means that the smart large-screen system starts the program to automatically search for deleted applications. The task of searching for information on the application with the least number of deletions has been completed. The smart large-screen system can start the next step, that is, start to restore the installation program of the deleted application.
[0043] Step S302: The system monitors the connection status of the external storage device;
[0044] Specifically, in this embodiment, the smart large-screen system monitors by a background service whether an external mobile storage device is connected to the large-screen system, that is, whether an external mobile storage device such as a USB flash drive or a mobile hard disk has been connected to the smart large-screen system.
[0045] Step S303: The system detects that no external storage device is connected, prompts that there is no external storage device, and ends the automatic recovery backup application.
[0046] Specifically, in this embodiment, the background service of the smart large-screen system detects that no external storage device is connected, that is, no external storage device such as a USB flash drive or a mobile hard disk is connected to the smart large-screen system. The smart large-screen system prompts the user that there is no external storage device connected to the system, that is, there is no installation file that can be used to select the application to be restored and installed. The smart large-screen system automatically restores the backup application and the program ends on its own.
[0047] Step S304: The system monitors that an external storage device is connected, and the system reads basic information of the installation package of the backup application in the specified directory of the external storage device and saves it to the third memory.
[0048] Specifically, in this embodiment, the background service of the smart large-screen system monitors that an external storage device is connected, that is, an external storage device such as a USB flash drive or a mobile hard disk is connected to the smart large-screen system. The smart large-screen system reads the basic information of the installation package of the backup application stored in the specified directory (BACKUP_DIR) by the external storage device such as the USB flash drive or the mobile hard disk, including the package name of the application and the application name, and saves it to the third memory.
[0049] Step S400: The system determines whether the information of the installation package is empty, and displays the information of the available installation packages on the screen in a list.
[0050] Specific implementation methods are as follows Figure 3 As shown in , step S400 specifically includes the following steps:
[0051] Step S401: The system obtains basic information of the installation package of each backup application in the third memory, and the system determines whether the basic information of the installation package of each backup application is empty.
[0052] Specifically, in this embodiment, the smart large-screen system reads the basic information of the installation package of the backup application stored in the designated directory (BACKUP_DIR) by an external storage device such as a USB flash drive or a mobile hard disk, including the package name of the application and the application name, and saves it to the third memory. The smart large-screen system obtains the basic information of the installation package of each backup application in the third memory, and analyzes and judges the basic information of the installation package of each backup application to determine whether the file of the application installation package actually exists and is available.
[0053] Step S402: If the system determines that the information of the installation package of the backup application is empty, the system prompts that the external storage device does not have the backup application and ends the automatic restoration of the backup application.
[0054] Specifically, in this embodiment, the smart large-screen system obtains basic information about each backup application installation package in the third memory, analyzes and determines the basic information about each backup application installation package, and determines that the file of the application installation package does not exist or is unavailable. The smart large-screen system notifies the user that the file of the application installation package does not exist or is unavailable, i.e., there is no installation file for the application to be restored, and the smart large-screen system automatically terminates the process of restoring the backup application.
[0055] Step S403: If the system determines that the basic information of the backup application installation package is not empty, the system obtains the basic information of the backup application installation package and displays the basic information of the backup application installation package on the screen in a list.
[0056] Specifically, in this embodiment, the smart large-screen system obtains basic information about each backup application installation package in the third memory, analyzes and determines the basic information of each backup application installation package, and determines whether the application installation package file actually exists and is available. The smart large-screen system obtains basic information about each backup application installation package and displays the basic information on the screen using a list (ListView), providing it to the user for installation selection.
[0057] Step S500: The system monitors the user's selection of applications to be restored and stores the selected applications in a linked list.
[0058] Specifically, in this embodiment, the smart large-screen system obtains the basic information of the installation package of each backup application, and displays the basic information of the installation package of the backup application on the screen using a list (ListView). The background service of the smart large-screen system monitors the user's selection of the application that needs to be restored and installed according to the list (ListView), and stores the selected application in a linked list.
[0059] Step S600: The system monitors the user clicking the restore installation button and installs the application;
[0060] Specific implementation methods are as follows Figure 4 As shown in , step S600 specifically includes the following steps:
[0061] Step S601: The system determines whether the user's selection is empty;
[0062] In this embodiment, the background service of the smart large-screen system listens for the user clicking the restore installation button, and monitors whether the user has selected the application that needs to be restored and installed when clicking the restore installation button.
[0063] Step S602: The system determines that the user's selection is empty, and the system prompts the user that he has not selected the application to be restored and installed. The system automatically reads the package name and application name of the application in the second memory, installs the application, and saves the package name and application name of the application to the third memory.
[0064] Specifically, in this embodiment, when the background service of the smart large-screen system detects that the user has not selected an application to be restored when clicking the restore installation button, the smart large-screen system prompts the user that the application has not been selected for restoration, and automatically reads the information of the first three applications with the least number of deletions stored in the second memory, including the application package name and application name, and installs the application by obtaining the installation package file stored in an external storage device such as a USB flash drive or mobile hard disk connected to the system. After the installation is complete, the package name and application name of the automatically installed application are saved to the third memory.
[0065] Step S603: The system determines that the user's selection is not empty, and the system installs the application according to the package name and application name of the application selected by the user, and saves the package name and application name of the application to the fourth memory.
[0066] Specifically, in this embodiment, the smart large-screen system background service monitors when a user clicks the restore installation button and selects an application to be restored. The smart large-screen system automatically searches for the corresponding installation package file for the application in an external storage device such as a USB flash drive or mobile hard drive connected to the system, based on the package name and application name of the application selected by the user, and then installs the application. After the installation is complete, the system automatically saves the package name and application name of the application selected by the user to the fourth memory.
[0067] Step S700: The system displays the result of automatically restoring the backup application on the screen.
[0068] Specific implementation methods are as follows Figure 5 As shown in , step S400 specifically includes the following steps:
[0069] Step S701: The system obtains the identifiers of the third storage and the fourth storage, which indicates that the system's application recovery and backup operation is completed.
[0070] Specifically, in this embodiment, when the smart large-screen system performs automatic backup and recovery, the system automatically completes the recovery of the deleted application, and the recovery result is displayed by the smart large-screen system judging the identification of the third memory and the fourth memory.
[0071] If the identifier of the third memory or the fourth memory is displayed as identifier 1, it indicates that the smart large-screen system has completed the backup application restoration action. If the smart large-screen system obtains identifier 1 for the third memory, it means that the user did not choose to install the application, and the backup application was automatically restored by the system. If the smart large-screen system obtains identifier 1 for the fourth memory, it means that the user selected the application to be installed through a list. Displaying the installed backup application on the screen is to inform the user of the result of restoring the application.
[0072] Step S702: When the identifier of the third memory obtained by the system indicates that the system has completed restoring the backup application, the system displays the name of the backup application automatically restored by the system on the screen;
[0073] Step S703: When the system obtains the identifier of the fourth memory indicating that the system restores the backup application action is complete, the system displays the name of the backup application selected by the user for restoration on the screen.
[0074] Exemplary devices
[0075] like Figure 6 As shown in , an embodiment of the present invention provides a device for automatically restoring a backup application, the device comprising:
[0076] The automatic search module 10 for deleted applications is used to monitor the system's command to delete applications, record basic information of the deleted applications, and save it to the memory.
[0077] Specifically, the automatic search for deleted applications module 10 mainly completes the following work process: first, a background service is created in the smart large screen system to listen to the command of deleting applications from the smart large screen system, and record the basic information of the deleted applications (package name, application name and the number of times the application has been deleted) and save it to the first memory;
[0078] The background service detects the smart large screen system's request to start an application. If the application does not exist, the smart large screen system starts the automatic search for deleted applications function, selects the three pieces of information with the least number of deletions in the first memory, and saves them to the second memory.
[0079] The backup application recovery module 20 is used to recover the application needed by the user that has been deleted by the system.
[0080] Specifically, after the smart large-screen system automatically searches for the deleted application, it determines whether the large-screen system is connected to an external storage device such as a USB flash drive or a mobile hard drive. If an external storage device such as a USB flash drive or a mobile hard drive is connected, the smart large-screen system obtains the basic information of the installation package in the specified directory of the external storage device such as the USB flash drive or the mobile hard drive, and saves it to the third memory.
[0081] Then, the smart large screen system determines whether the information of the installation package obtained from the external storage device such as the USB flash drive or mobile hard disk is real and available, and displays the information of the available installation packages on the screen in a list (ListView) for selection;
[0082] The background service monitors the applications that need to be restored and installed selected by the user, and stores the applications that need to be restored and installed selected by the user in a linked list;
[0083] The background service continues to listen for the user to click the restore installation button, and obtains whether the user selects the application information to be installed when clicking the restore installation button. If no selection is made, the system automatically installs the application according to the package name and application name of the application stored in the second memory; if the user selects the application information to be installed when clicking the restore installation button, the system installs the application according to the application selected by the user.
[0084] The application recovery display module 30 is used to display the name of the application restored by the system on the screen.
[0085] Specifically, the application recovery display module 30 determines whether to display the installation result by obtaining the identifiers of the third memory and the fourth memory, wherein the identifier 1 indicates that the system's recovery backup application action is completed;
[0086] The smart large-screen system obtains the identifier 1 of the third memory, which represents the backup application automatically restored by the system, and the system displays the name of the backup application automatically restored by the system on the screen;
[0087] The smart large-screen system obtains the identifier 1 of the fourth memory, which represents the backup application selected by the user to be restored. The system displays the name of the backup application selected by the user to be restored on the screen.
[0088] Exemplary terminal devices
[0089] like Figure 7 As shown, an embodiment of the present invention provides a terminal device for automatically restoring a backup application. In one embodiment, a terminal device is provided, comprising a memory, a processor, and a computer program for the terminal device stored in the memory and executable on the processor. The computer program is a laundry program. When the processor executes the computer program for the terminal device, the following operating instructions are implemented:
[0090] The system creates a background service to monitor the system's command to delete applications, record basic information of the deleted applications, and save it to the first memory;
[0091] The system detects a request to start an application, selects three pieces of information with the least number of deletions from the first memory, and saves them to the second memory;
[0092] After the system automatically searches for the deleted application, it reads the basic information of the installation package in the specified directory of the external storage device and saves it to the third memory;
[0093] The system determines whether the information of the installation package is empty, and displays the information of the available installation packages on the screen in a list;
[0094] The system monitors the user's selection of applications to be restored and stores the selected applications in a linked list;
[0095] The system monitors the user clicking the restore installation button and installs the application;
[0096] The system displays the result of automatically restoring the backup application on the screen.
[0097] Those skilled in the art will understand that Figure 7 The principle block diagram of the terminal device shown in the figure is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the terminal device to which the solution of the present invention is applied. The specific terminal device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0098] Those skilled in the art will appreciate that all or part of the processes in the above-described embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the above-described embodiments. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAM bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM).
[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for automatically restoring a backup application, used for restoring a backup application of a system of an intelligent terminal, characterized in that: include: The system creates a background service to monitor the system's command to delete applications, record basic information of the deleted applications, and save it to the first memory; The system detects a request to start an application, selects three pieces of information with the least number of deletions from the first memory, and saves them to the second memory; After the system automatically searches for the deleted application, it reads the basic information of the installation package in the specified directory of the external storage device and saves it to the third memory; The system determines whether the information of the installation package is empty, and displays the information of the available installation packages on the screen in a list; The system monitors the user's selection of applications to be restored and stores the selected applications in a linked list; The system monitors the user clicking the restore installation button and installs the application, including: The system determines whether the user's selection is empty; The system determines that the user's selection is empty, and automatically reads the package names and application names of the first three applications with the least number of deletions stored in the second memory, installs the applications, and saves the package names and application names of the applications in the third memory; The system determines that the user's selection is not empty, and the system installs the application according to the package name and application name of the application selected by the user, and saves the package name and application name of the application to a fourth memory; The system displays the result of automatically restoring the backup application on the screen.
2. The method for automatically restoring a backup application according to claim 1, wherein: The system creates a background service to monitor the system's command to delete applications, record basic information of the deleted applications, and save it to the first memory. The basic information includes the number of deletions, package name, and application name of the deleted application; The first memory stores the deleted applications in an ascending order of the number of times the deleted applications have been deleted.
3. The method for automatically restoring a backup application according to claim 1, wherein: After the system automatically searches for the deleted application, it reads the basic information of the installation package in the specified directory of the external storage device and saves it to the third memory, specifically including the following steps: The system obtains an identifier of the second storage, and when the identifier is equal to 1, the system starts the backup application recovery; The system monitors the connection status of the external storage device; The system detects that no external storage device is connected, prompts that no external storage device is present, and terminates the automatic recovery backup application; The system monitors that an external storage device is connected, and reads basic information of the installation package of the backup application in a specified directory of the external storage device and saves the information to the third memory.
4. The method for automatically restoring a backup application according to claim 3, wherein: The system determines whether the basic information of the installation package is empty and displays the information of the available installation packages on the screen in a list, specifically comprising the following steps: The system obtains basic information of the installation package of each backup application in the third memory, and determines whether the basic information of the installation package of each backup application is empty; If the system determines that the information of the installation package of the backup application is empty, the system prompts that the external storage device does not have the backup application and ends the automatic restoration of the backup application; If the system determines that the basic information of the installation package of the backup application is not empty, the system obtains the basic information of the installation package of the backup application and displays the basic information of the installation package of the backup application on the screen in a list.
5. The method for automatically restoring a backup application according to claim 1, wherein: The system automatically restores the backup application and displays the result on the screen, specifically including the following steps: The system obtains an identifier of the third memory and the fourth memory, where the identifier indicates that the system's application recovery and backup operation is completed; When the identifier of the third memory obtained by the system indicates that the system has completed restoring the backup application, the system displays the name of the backup application automatically restored by the system on the screen; When the system obtains the identifier of the fourth memory indicating that the system has completed the action of restoring the backup application, the system displays the name of the backup application selected by the user for restoration on the screen.
6. An automatic recovery backup application device, characterized in that: The device comprises: The automatic search module for deleted applications is used to monitor the system's command to delete applications, record the basic information of deleted applications, and save it to the memory, including: The system creates a background service to monitor the system's command to delete applications, record basic information of the deleted applications, and save it to the first memory; The system detects a request to start an application, selects three pieces of information with the least number of deletions from the first memory, and saves them to the second memory; The backup application recovery module is used to restore the application required by the user that has been deleted by the system, including: The system detects a request to start an application, selects three pieces of information with the least number of deletions from the first memory, and saves them to the second memory; After the system automatically searches for the deleted application, it reads the basic information of the installation package in the specified directory of the external storage device and saves it to the third memory; The system determines whether the information of the installation package is empty, and displays the information of the available installation packages on the screen in a list; The system monitors the user's selection of applications to be restored and stores the selected applications in a linked list; The system monitors the user clicking the restore installation button and installs the application, including: The system determines whether the user's selection is empty; The system determines that the user's selection is empty, and automatically reads the package names and application names of the first three applications with the least number of deletions stored in the second memory, installs the applications, and saves the package names and application names of the applications in the third memory; The system determines that the user's selection is not empty, and the system installs the application according to the package name and application name of the application selected by the user, and saves the package name and application name of the application to a fourth memory; The application recovery display module is used to display the name of the application restored by the system on the screen.
7. The automatic recovery backup application device according to claim 6, characterized in that: The basic information includes the number of deletions, package name, and application name of the deleted application.
8. A terminal device, characterized in that: The terminal device includes a memory, a processor, and a recovery backup application of the terminal device stored in the memory and runnable on the processor. When the processor executes the recovery backup application of the terminal device, the steps of the method for automatically restoring the backup application as described in any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium, characterized in that A terminal device recovery and backup application is stored thereon. When the terminal device recovery and backup application is executed by a processor, the steps of the method for automatically recovering and backing up an application as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Data management method and device
CN105786650A
Application program installation method, mobile terminal, and computer storage medium
CN109032621A