WO2018133229A1 - Method for restoring factory settings and relevant device - Google Patents
Method for restoring factory settings and relevant device Download PDFInfo
- Publication number
- WO2018133229A1 WO2018133229A1 PCT/CN2017/081437 CN2017081437W WO2018133229A1 WO 2018133229 A1 WO2018133229 A1 WO 2018133229A1 CN 2017081437 W CN2017081437 W CN 2017081437W WO 2018133229 A1 WO2018133229 A1 WO 2018133229A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- list
- information
- terminal
- determining
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Definitions
- the present application relates to the field of communications, and in particular, to a method for restoring factory settings and related equipment.
- the embodiment of the present application provides a method for restoring factory settings and related devices for reducing the time for restoring the factory settings.
- a first aspect of the embodiments of the present application provides a method for restoring a factory setting, including: a user needs to perform a factory reset operation on a terminal, and the terminal may receive a factory reset instruction sent by the user, and obtain recommendation information, where The recommendation information includes at least the usage comprehensive information of the installed application on the terminal, and the usage comprehensive information may be the heat record information of the installed application in the application store; the terminal determines the target application according to the obtained recommendation information. And performing the restoring factory setting operation according to the determined target application, and retaining the determined target application.
- the target application is determined according to the recommendation information, and the determined target application is retained when the factory settings are restored, so that the user does not have to re-download, which reduces the time for restoring the factory settings.
- determining the target application according to the recommendation information includes: obtaining, by the terminal, the recommendation information, and according to the recommendation The information determines a first list, wherein the first list includes an application recommended to the user for reservation when the factory settings are restored; and determining the target application according to the determined first list.
- determining the target list by using the first information to determine the target application according to the first list enriches the process of the embodiment of the present application.
- determining, according to the recommendation information, the first list includes: using, by the terminal, comprehensive information according to usage of the installed application. Obtaining a heat order of the installed applications; by the obtained heat order, the terminals are sorted in order from the front to the back according to the heat, The first list of N applications is determined in the installed application, wherein the N is a positive integer.
- a specific manner in which the terminal determines the first list is provided, which increases the feasibility of the embodiment of the present application.
- the recommendation information further includes user behavior statistics information of each application in the installed application, according to the recommendation information.
- Determining the first list further includes: the terminal obtaining a heat ranking of the installed application according to usage comprehensive information of the installed application; and the terminal collecting usage frequency of each application in the installed application and staying Time, wherein the user behavior statistical information includes the usage frequency and the dwell time; the terminal uses the frequency of use, and sorts the applications in the installed application according to the frequency of use from high to low to determine the frequency order; Counting the dwell time, and sorting the applications in the installed application according to the dwell time from the longest to the shortest to determine the duration sorting; by obtaining the frequency sorting, the duration sorting, and the hot sorting, The terminal performs weighted statistics on the three to obtain recommended application ordering, and sorts the order from front to back according to the recommended application.
- the application has been installed in determining the first list, wherein the first application list includes M, and M is a positive integer.
- the terminal may further determine the first list according to the user behavior statistical information, and provide a specific manner for the terminal to determine the first list, which increases the feasibility of the embodiment of the present application.
- determining the target application according to the first list includes: displaying, by the terminal, on the screen of the terminal a first list; and receiving a selection operation of the user input for the application in the first list, to determine that the application selected by the user in the first list is the target application, that is, the first The selected application in the list is the target application.
- the manner of determining the target application is refined, and the embodiment of the present application is more operable.
- determining the target application according to the first list further includes: displaying the first list to the user, where The first list may further include a guide button, and the guide button may be used to extract a second list, where the second list may include other applications in the installed application than the application in the first list; Receiving, by the terminal, a selection operation input by the user for the application in the first list to determine the selected application in the first list; and receiving a click operation of the user inputting the guide button, in response to the In the click operation, the terminal displays the second list to the user; the terminal receives a screening operation input by the user for an application in the second list, so that the terminal determines that the user is The application selected in the second list, and the terminal further uses the selected application in the first list and the selected application in the second list as the target applicationIn this implementation, the first list may further include the guiding button to extract the second list, so that the user can select an application to be retained from the second
- the method when the terminal receives a selection operation for an application input in the first list, the method further includes: the terminal The user displays the prompt information to prompt the user whether to retain the data of the selected application in the first list; the terminal receives the feedback operation of the user inputting the prompt information, and the feedback operation is used to And feeding back to the terminal whether to retain data of the selected application in the first list.
- the user may not only retain the selected application in the first list, but also may select to retain data of the selected application in the first list, and improve the operation body of the user. Test.
- performing the restoring factory setting operation and retaining the target application includes: the terminal moving the target application into an isolated manner An quarantine area; and an application that is not moved into the quarantine area in the installed application, that is, an application other than the target application performs the factory reset operation.
- the manner in which the terminal is reserved when the terminal is restored to the factory settings is refined, so that the process of the embodiment of the present application is clearer.
- the performing, by the terminal, the performing a factory reset operation and retaining the target application includes: adding, by the terminal, the target application a flag bit, wherein the flag bit is used to indicate that the terminal retains the target application when performing the restoring factory setting operation; and the terminal clears an application that does not add a flag bit in the installed application to perform a factory reset operating.
- a manner is also provided in which the terminal retains the target application when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
- the method further includes: the terminal may display to the user whether to confirm the performing the factory reset operation, and receive a confirmation operation instruction input by the user to confirm the performing the factory reset operation.
- the terminal may display to the user whether to confirm the performing the factory reset operation, and receive a confirmation operation instruction input by the user to confirm the performing the factory reset operation.
- the user is prompted whether to confirm the performing the factory resetting, thereby reducing the occurrence of an erroneous operation.
- a second aspect of the present application provides a terminal, including: a first input unit, configured to receive a factory reset instruction, and obtain recommendation information, where the recommendation information includes comprehensive information about usage of an installed application on the terminal, The use comprehensive information is heat record information of the installed application in an application store; a determining unit, configured to determine a target application according to the recommended information; a retaining unit, configured to perform a factory reset operation and retain the target application .
- the determining unit determines the target application according to the recommendation information
- the retention unit reserves the determined target application when restoring the factory settings, so that the user does not have to re-download, reducing the recovery. Factory set time.
- the determining unit includes a first determining subunit, a second determining subunit, wherein the first determining subunit, And configured to determine, according to the recommendation information, the first list, where the first list includes an application recommended to be reserved when the factory setting is restored; and the second determining subunit is configured to determine the target application according to the first list.
- the first column is determined by the first information
- the target application is determined according to the first list, which enriches the process of the embodiment of the present application.
- the first determining subunit includes: a first determining module, a second determining module, wherein the first determining module And determining, according to the usage comprehensive information of the installed application, a heat ranking of the installed application; the second determining module, configured to determine, in the installed application, the order from the front to the back according to the heat ranking Contains a first list of N applications, the N being a positive integer.
- a specific manner in which the terminal determines the first list is provided, which increases the feasibility of the embodiment of the present application.
- the recommendation information And the first determining subunit includes: a first determining module, a statistic module, and a third determining module, wherein the first determining module is configured to be used according to the user behavior information of each application in the installed application. Determining the popularity ranking of the installed application by using the comprehensive information of the installed application; the statistics module is configured to count the usage frequency and the staying time of each application in the installed application, the usage frequency and the residence time The third determining module is configured to: sort the applications in the installed application according to the frequency of use according to the frequency of use, determine a frequency, and sort the frequency in the installed application.
- the application sorts the duration according to the staying time from long to short; sorts the frequency, the duration sorting, and the heat sorting to perform weighted statistics to determine the recommended application order; according to the recommended application, the order from front to back is in the
- the installation application determines a first list of M applications, the M being a positive integer. In this implementation manner, when the terminal further determines the first list according to the user behavior statistical information, the terminal determines a specific manner of the first list, which increases the feasibility of the embodiment of the present application.
- the second determining subunit includes: a first display module, a first input module, where the first display module For displaying the first list, the first input module is configured to receive a selection operation for an application input in the first list to determine a selected application in the first list.
- the manner of determining the target application is refined, and the embodiment of the present application is more operable.
- the second determining subunit further includes: a first display module, a first input module, and a second input module, a determining module, wherein the first display module is configured to display the first list, the first list further includes a guiding button, the guiding button is used to draw a second list, and the second list includes a An application other than the application in the first list in the installed application; the first input module, configured to receive a selection operation for an application input in the first list, to determine the first list a selected application; the second input module, configured to receive a click operation for the guide button input, and display the second list; receive a screening operation for an application input in the second list, to Determining the selected application in the second list; the fourth determining module, configured to determine the selected application in the first list and the selected application in the second list as the target Application.
- the first list further includes the guiding button to extract the second list, so that the user can select an application to be retained from the second list according to his or her own will, and The target application is retained when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
- the terminal further includes: a display unit, a second input unit, where the display unit is configured to display prompt information.
- the prompt information is used to prompt whether to retain data of the selected application in the first list;
- the fourth receiving unit is configured to receive a feedback operation for inputting the prompt information to feedback whether to retain the first The data of the selected application in the list.
- the user may not only retain the selected application in the first list, but also may select to retain data of the selected application in the first list, thereby improving the operation experience.
- the reserved unit includes: a move-in sub-unit, a first recovery sub-unit, where the move-in sub-unit is used to The target application is detached into the quarantine area; the first recovery subunit is configured to perform an operation of restoring a factory setting of an application that has not been moved into the quarantine area in the installed application.
- the terminal is refined to apply the target to the factory. The manner of reservation when setting makes the process of the present application clearer in the process.
- the retaining unit further includes: an adding subunit, a second restoring subunit, where the adding subunit is used to Adding a flag bit in the target application, the flag bit is used to indicate that the target application is retained when performing the restoring factory setting operation; and the second recovery subunit is configured to not add the installed application The application of the flag bit performs the factory reset operation.
- the terminal retains the target application when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
- the terminal further includes: a display unit, a third input unit, wherein the display unit is configured to display whether to confirm The restoring factory setting operation; the third input unit is configured to receive a confirmation operation instruction to confirm the performing the factory reset operation.
- the user before the performing the factory resetting, the user is prompted whether to confirm the operation, and the occurrence of the erroneous operation is reduced.
- a third aspect of the embodiment of the present application provides a terminal, where the terminal includes: an input unit, a processor;
- the input unit is configured to receive a factory reset instruction, where the processor is configured to obtain recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, where the comprehensive information is used.
- the heat record information of the application installed in the application store is installed; the processor is configured to determine the target application according to the recommendation information; perform a factory reset operation and retain the target application.
- the processor determines the target application according to the recommendation information, and the determined target application is retained when the factory settings are restored, so that the user does not have to re-download, and the factory reset is reduced. time.
- the processor is configured to: determine, according to the recommendation information, a first list, where the first list includes recovery The retained application is recommended at the factory setting; the target application is determined based on the first list.
- the first list is determined by using the first information, and the target application is determined according to the first list, which enriches the process of the embodiment of the present application.
- the processor is configured to: determine, according to usage comprehensive information of the installed application, the installed application Heat sorting; determining the first list of N applications in the installed application according to the order of the heat ranking from front to back, the N being a positive integer.
- the terminal determines the first list is provided, which increases the feasibility of the embodiment of the present application.
- the processor is further configured to: determine, according to the usage comprehensive information of the installed application, that the installed The hotness ranking of the application; the usage frequency and the dwell time of each application in the installed application are counted, and the usage frequency and the dwell time are included in the user behavior statistical information; and the application in the installed application is used according to the frequency of use Sorting the high to low determines the frequency ranking; sorting the applications in the installed application according to the staying time from long to short to determine the duration sorting; sorting the frequencies, sorting the durations, and sorting the heats Performing weighted statistics to determine a recommended application ranking; determining, in the installed application, the first list including M applications according to the recommended application ordering, the M being a positive integer.
- the terminal further determines the first list according to the user behavior statistical information, the specific manner in which the terminal determines the first list is added, which increases the feasibility of the embodiment of the present application.
- the terminal further includes a display unit, wherein the display unit is configured to display the first list; the input The unit is configured to perform the step of: receiving a selection operation for an application input in the first list to determine that the selected application in the first list is the target application.
- the manner of determining the target application is refined, and the embodiment of the present application is more operable.
- the terminal further includes the display unit, wherein the display unit is configured to display the first list, where The first list further includes a guide button for extracting a second list, the second list including other applications in the installed application except the application in the first list; the input The unit is further configured to: receive a selection operation for an application input in the first list to determine a selected application in the first list; receive a click operation for the guide button input, the display The unit displays the second list; receiving a screening operation for an application input in the second list to cause the processor to determine a selected application in the second list; the processor is further configured to perform the following Step: determining the selected application in the first list and the selected application in the second list as the target application.
- the first list further includes the guiding button to extract the second list, so that the user can select an application to be retained from the second list according to his or her own will, and The application is retained when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
- the display unit is configured to perform the following steps: displaying prompt information, where the prompt information is used to prompt whether to retain the first Data of the selected application in the list; the input unit is configured to perform the following steps: receiving a feedback operation for the prompt information input to feedback whether to retain data of the selected application in the first list.
- the user may not only retain the selected application in the first list, but also may select to retain data of the selected application in the first list, thereby improving the operation experience of the user.
- the processor is further configured to: perform the following steps: moving the target application into an isolation zone; Install the application that has not moved into the quarantine in the application to perform a factory reset operation.
- the manner in which the terminal is reserved when the terminal is restored to the factory settings is refined, so that the process of the embodiment of the present application is clearer.
- the processor is further configured to: add a flag bit in the target application, where the flag bit is used The target application is retained when the performing the factory reset operation is performed; and the factory setting operation is performed by an application that does not add the flag bit in the installed application.
- a manner is also provided in which the terminal retains the target application when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
- the display unit is further configured to: perform a step of: displaying whether to confirm the performing a factory reset operation; the input unit It is used to perform the following steps: receiving a confirmation operation instruction to confirm that the factory reset operation is performed.
- the user is prompted whether to confirm the operation, and the occurrence of the erroneous operation is reduced.
- a fourth aspect of embodiments of the present application provides a computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the methods described in the above aspects.
- a fifth aspect of an embodiment of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the above aspects.
- the embodiment of the present application includes: receiving the factory resetting instruction, and acquiring the recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, Recording information for the heat of the installed application in the application store using the integrated information; determining the target application based on the recommended information; performing the factory reset operation and retaining the target application.
- the target application is determined according to the obtained recommendation information, and the target application is retained when the factory setting is restored, so that the user does not have to re-download, and the time for restoring the factory setting is reduced.
- FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application
- FIG. 2 is a schematic diagram of an embodiment of a method for restoring factory settings according to an embodiment of the present application
- FIG. 3 is a schematic diagram of another embodiment of a method for restoring factory settings provided by an embodiment of the present application.
- 4A is a schematic diagram of an operation interface of a possible factory resetting according to an embodiment of the present application.
- FIG. 4B is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application.
- FIG. 4C is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application.
- FIG. 4D is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application.
- 4E is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of another embodiment of a method for restoring factory settings according to an embodiment of the present application.
- 6A is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application.
- FIG. 6B is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application.
- FIG. 7 is a schematic diagram of another embodiment of a method for restoring factory settings provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of another embodiment of a method for restoring factory settings according to an embodiment of the present application.
- FIG. 9 is a schematic diagram of an embodiment of a terminal according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of another embodiment of a terminal according to an embodiment of the present disclosure.
- FIG. 11 is a schematic diagram of another embodiment of a terminal according to an embodiment of the present application.
- the embodiment of the present application can be used in the application scenario shown in FIG. 1 .
- the function of restoring factory settings is set on the mobile phone, and the user performs the function of restoring the factory settings by using the function.
- restoring the factory settings will clear all the parameters set by the user in the mobile phone, such as the application downloaded by the user, application data and application optimization data.
- the user After the factory reset, the user needs to re-download and install the application according to personal preference, which increases the user's rework. The amount.
- a method for restoring the factory settings is provided to reduce the repetitive workload of the user and shorten the time for restoring the factory settings.
- the method for restoring the factory settings in the embodiment of the present application is introduced. example.
- the terminal When the user needs to perform a factory reset operation on the terminal, the terminal receives the factory resetting instruction sent by the user, and obtains the recommended information, where the recommended information includes at least the installed application on the terminal.
- the comprehensive information is used, and the usage comprehensive information includes the heat record information of the installed application in the application store.
- the heat record information may include the number of downloads or download times applied in the application store, and the application The number of recommended or recommended times, the rating of the user to the application, or the ranking of the rating, etc., is not limited herein.
- the recommendation information may further include user behavior statistics information of each application in the installed application.
- the terminal may determine the target application according to the recommendation information.
- the terminal may determine, by using the recommendation information, a first list, where the first list includes an application recommended to the user when the factory setting is restored, and then according to the first list. Determining the target application.
- the terminal determines, by using the recommendation information, that the first list can be determined in different manners.
- the recommendation information may include usage comprehensive information of an installed application on the terminal, and the terminal determines the first list according to usage comprehensive information of the installed application.
- the recommendation information may also include usage comprehensive information of the installed application on the terminal and user behavior statistical information of each application in the installed application, and the terminal according to the usage comprehensive information of the installed application and the The user behavior statistics of each application in the installation application determine the first list.
- the terminal determines the first list, and may further display the first list to the user, and receive a selection operation for an application input in the first list to determine the first
- the selected application in a list is the target application.
- the terminal displays the first list to the user, and the first list may further include a guide button, where the guide button may be used to extract the second list.
- the second list may include other applications in the installed application on the terminal other than the application in the first list.
- the terminal determines, according to the recommendation information, that there are multiple manners of the target application, and may determine the first list and display the first a list, the user selects the target application from the first list, and may also adopt a system default manner, for example, by using the recommendation letter Obtaining a recommendation order in which a preset number of applications are selected as the target application in a ranking from front to back, or a predetermined number of applications are randomly selected from the recommended ranking as the target application, This is not limited here.
- the terminal determines the target application, and can perform a factory reset operation and retain the target application.
- the embodiment of the present application briefly introduces a method for restoring the factory settings, and provides various possibilities.
- the terminal may determine the first list according to the recommendation information, where the recommendation information may be used by the installed application.
- the comprehensive information may also be comprehensive usage information of the installed application and user behavior statistics information of each application in the installed application. Determining, by the terminal, the first list according to the recommendation information, and displaying the first list to the user, and determining that the selected application in the first list is the target application, where the first list is further
- the guiding button may be included, so the terminal determines the selected application in the first list, and may further receive a click operation of the guiding button by the user, and extract and display the second list to the user. Determining to obtain the selected application in the second list, and using the selected application in the first list together with the selected application in the second list as the target application. Therefore, there are various ways to restore the factory settings in the embodiment of the present application, as illustrated by the following examples:
- the recommendation information includes usage comprehensive information of the installed application.
- the recommendation information includes usage comprehensive information of the installed application, and the guiding button is further included in the first list determined according to the recommendation information.
- the recommendation information includes usage comprehensive information of the installed application and user behavior statistical information of each application in the installed application.
- the recommendation information includes usage comprehensive information of the installed application and user behavior statistical information of each application in the installed application, and the first list further includes a guide button according to the recommended information. .
- the recommendation information includes comprehensive usage information of the installed application
- the obtaining the recommended information includes Get comprehensive usage information for the installed app.
- the terminal displays a system setting menu to the user, and the system setting menu is provided. Restore factory settings. If the factory reset option is selected, the terminal may acquire usage comprehensive information of each application in the application store from the application store, and determine usage comprehensive information of the installed application on the terminal, wherein the comprehensive information is used.
- the hot record information may be recorded in the application store of the installed application. In actual application, the heat record information may include the number of downloads or download times of the application, the recommended number of times of application or the number of recommended times, and the application to the application. The rating or ranking of the rating, etc., is not limited here.
- the method for restoring the factory settings in the embodiment of the present application may coexist with the method of restoring the factory setting in the prior art, that is, the method that the user-set data is completely cleared, as shown in FIG. 4A.
- Two different methods for restoring the factory settings, the method for restoring the factory settings in the embodiment of the present application is called “lazy recovery factory setting” on the system setting menu, and the actual application may also be referred to as “custom reset factory setting”. Or "DIY recovery The factory setting and the like are not limited herein.
- the method of restoring the factory setting by the embodiment of the present application can achieve the same effect as the prior art method of restoring the factory setting, the terminal can also be implemented only by the present application. The method of restoring the factory settings.
- the terminal in the embodiment of the present application may be a communication terminal, an internet terminal, and a music/video playing terminal, and may be, for example, a PDA, a mobile internet device (MID), a tablet computer, a mobile phone, or a smart TV. , specifically here is not limited.
- the hot content ranking of the installed application is obtained by using the comprehensive information.
- the installed application is the WeChat, the Sense, the Public Comment, and the High German map.
- the comprehensive information of the installed application is as shown in Table 1. It should be noted that, in the embodiment of the present application, the downloading frequency is more More, indicating that the application is hotter, the hotter order is also higher. Therefore, the terminal obtains the hotness of the installed application according to the order of downloading from the order of the number of downloads to WeChat>Public Comments>Korean>Gaode map.
- the usage comprehensive information of each application obtained by the terminal from the application store is ranked as the number of downloads, for example, the number of downloads of each application in the application store is in a micro-letter > microblog > pico Xiu Xiu>English-Chinese Dictionary>Mobile phone business hall, the installed application on the terminal is English-Chinese dictionary, Weibo and WeChat, then the comprehensive information of the installed application obtained by the terminal is WeChat> ⁇ >English-Chinese dictionary And the terminal may use the usage comprehensive information of the installed application as the heat ranking of the installed application.
- the heat ordering of the application may be negatively related to the heat of the application, that is, the hotter the application is, the more the heat ranking is later, which is not limited herein.
- the N applications may be randomly selected from the heat ranking to obtain the first list, so the manner of selecting the applications in the first list is not specifically herein. Make a limit.
- the terminal determines the first list and displays the first list to the user. For example, as shown in FIG. 4B, it is assumed that the first list includes WeChat, Alipay, and Today's headline, and the right side of each application icon corresponds to There is a selection button " ⁇ ", so that the user can select the target application by clicking the selection button, wherein the target application is an application that needs to be retained when the factory settings are restored.
- the terminal is directed to the user.
- the displayed interface may further include a select button, wherein the select button is used to enable the user to select all the applications in the first list as the target application by one button, and in addition, the user still exists in the actual situation.
- the application of all the applications in the first list needs to be cleared, so the user can click the “Next” button to enter the factory reset operation, wherein the “Next” button may also be referred to as “skip”. Buttons, etc., are not limited here.
- the manner in which the terminal provides the user to determine the target application may be performed in various manners, such as clicking an application icon or clicking an application, in addition to clicking the selection button.
- the location of the line area corresponding to the icon, so the manner of determining the target application is not limited herein.
- the terminal displays the first list to the user, the user clicks on the terminal screen to cause the terminal to receive a selection operation for selecting an application in the first list, and the terminal passes the selection
- the operation determines that the selected application in the first list is the target application.
- click the selection button “ ⁇ ” on the right side of the WeChat icon as shown in FIG. 4C.
- the selection button " ⁇ " on the right side of the WeChat icon becomes the OK button " ⁇ " to prompt the user that the WeChat application has been selected.
- the user may also directly click the application icon to select the application as the selected application in the first list, as shown in FIG. 4D, when the user clicks the WeChat icon as the first
- the color of the line area position corresponding to the WeChat icon is different from the color of the line area position corresponding to the other application icons, and the user has been prompted to select the WeChat application. Therefore, the manner in which the application is selected is not limited herein.
- the application data includes application data, the application configuration data, the application optimization data, or the application.
- the user data for example, when using WeChat, generates a chat record, a WeChat login password, an application authorization information, etc., so that the terminal can receive the selection operation input by the user, and display the prompt information on the terminal screen.
- the prompt information may be used to prompt the user whether to retain data of the target application.
- the terminal displays the first list to the user, and the user selects WeChat from the first list.
- the terminal displays a prompt box to prompt the user whether to retain the application data of the WeChat.
- the terminal indicates to the user whether to retain the prompt information of the data of the target application, and receives a feedback operation of the user for the prompt information, where the feedback operation may be used to indicate to the terminal whether to retain the If the data of the target application is retained, the terminal retains the data of the target application and the target application when restoring the factory settings; if not, the terminal retains only the target application when restoring the factory settings. But clear the data of the target application.
- the target application may include multiple applications, so each time the user inputs a selection operation to determine a target application, the terminal sends the target application to the user. A prompt message is determined to determine whether the data of each target application is retained.
- the terminal determines, by using the steps 305 and 306, whether to retain the data of the target application, and in actual application, the terminal may clear the data of the target application by default. Or the data of the target application is retained by default, which is not limited here.
- the terminal may go to the factory before performing the restoring the factory settings.
- the user prompts whether to confirm the performing the factory reset operation, and after the terminal receives the confirmation operation instruction, performs the restoring factory setting operation.
- the target application is isolated and moved into the isolation area.
- Determining, by the terminal, the target application, the corresponding application installation package file may be identified by using the application name of the target application, and the target application is stored in a preset isolation area, and the user is further
- the data of the target application may be reserved, so the terminal may obtain the data of the target application according to a storage path of the data, such as /data/data/package_name/files, and store the data in the quarantine.
- the quarantine area may be a protection directory.
- the protection directory may be set to /data/dalvik-cache, /data/media, and/or /data/lost+found. There is no limit here.
- the terminal stores the target application to the quarantine and sends a clear broadcast.
- the system of the terminal is an Android system
- the Android system sends a MASTER_CLEAR broadcast.
- the MasterClearReceiver receives the MASTER_CLEAR broadcast, enters the recovery mode, and reads the command file in the /cache/recovery directory. Obtaining a command field corresponding to the clear data attribute value in the command file, and determining a manner of clearing the data according to the command field.
- the command sets the target application in the reserved isolation zone, and clears an application that is not moved into the isolation zone in the installed application.
- the terminal may move the target application into the isolation area by using steps 307 and 308 to be retained during the factory reset operation.
- a flag may also be added to the target application. a bit, the flag bit is used to indicate that the target application is retained when the factory reset operation is performed, and the application that does not add a flag bit in the installed application is cleared; or, the installed application on the terminal is recorded. , creating a whitelist for the target application.
- the application is cleared, it is determined whether the application is located in the whitelist, and if not in the whitelist, the data of the application and the application is cleared; if it is located in the whitelist, the reservation is retained. For the application, it is also possible to determine whether to retain or clear the data of the application through the whitelist list.
- the first list may be determined by using the comprehensive information of the installed application of the application store to recommend, to the user, the application retained when the factory reset is performed, for some downloads with high number of downloads.
- Installed apps or high-rated installed apps choose to filter when performing the factory reset, increasing the experience.
- the recommendation information includes the usage comprehensive information of the installed application, and the recommended information is obtained. Comprehensive information on the use of installed applications.
- the steps 501 to 503 are similar to the steps 301 to 303 shown in FIG. 3, and details are not described herein again.
- the terminal Determining, by the terminal, the first list according to the heat ranking, and displaying the first list to a user, where the first list includes N applications, and may further include a guide button, where the guide button may be used to lead the Second list, at The second list may include other applications in the installed application except the first list.
- the first list includes WeChat, Alipay, and Today's headline, and the right side of each application icon corresponds to a selection button “ ⁇ ”, so that the user selects the button by clicking the selection button.
- the guide button in the first list may be a location of a line area corresponding to the installed application, so that the user can click anywhere in the area, and the terminal displays the second list, optionally
- the terminal may also include a select button in the interface displayed by the terminal to the user.
- the user needs to clear all the data set by the user on the terminal, so the user may click the “Next” button to enter the factory reset operation, where the The "Next” button can also be referred to as a "skip” button or the like.
- the terminal displays the second list in multiple manners, for example, the terminal receives a sliding operation of the user, and the sliding operation may be that the user is in the terminal.
- the screen slides from right to left by at least a preset distance and displays the second list. Therefore, the manner in which the terminal displays the second list is not limited herein.
- the terminal receives a selection operation for the application input in the first list, and may determine a manner of the selected application in the first list, and is performed in step 305 of FIG. 3
- the manner in which the terminal receives the selection operation for the application in the first list to determine the selected application in the first list is similar, and details are not described herein again.
- the terminal After receiving the selection operation input by the user for the application in the first list, the terminal displays the first prompt information, where the first prompt information may be used to prompt the user whether to retain the first
- the manner in which the terminal displays the first prompt information in step 506 is similar to the manner in which the prompt information is displayed in step 306 of FIG. Let me repeat.
- the manner in which the terminal receives the first feedback operation for the first prompt information in step 507 is similar to the feedback operation on the prompt information in step 307 in FIG. 3, and details are not described herein again. .
- the second list may be displayed to the user, for example, as shown in FIG. 6B, the second list includes the installed application except the Other applications of the application in the first list, including pre-installed applications on the terminal, such as file management, video and Huawei payment, etc., and applications downloaded by the user, such as the current headline, etc., and the right side of each application icon has a selection button, so that The user selects the selected application in the second list by clicking the selection button, wherein the selected application in the second list is an application that needs to be retained when performing the restoring factory setting, and the The color of the selection button corresponding to the right side of the selected application in the second list may be distinguished from the selection button corresponding to other applications to prompt the user that the application is selected.
- the terminal may further include a select button in the interface displayed by the terminal, where the select button is used to enable the user to select all applications in the second list as the second The selected application in the list.
- the terminal receives, by using step 509, a screening operation for the application input in the second list, and the terminal in FIG. 3 receives the input for the application in the first list through step 305.
- the way to select an operation is similar and will not be described here.
- the second prompt information is used to prompt the user whether to retain data of the selected application in the second list, and the terminal displays the content to the user by using steps 510 to 511.
- the manner in which the user performs feedback operations on the prompt information is similar, and details are not described herein again.
- the terminal determines the selected application in the first list, and the selected application in the second list, and determines the two together as the target application.
- the target application is isolated and moved into the isolation area.
- the steps 513 to 514 are similar to the steps 308 to 309 in FIG. 3, and details are not described herein again.
- the terminal may perform an application retained by the recommended restoration to the factory setting by using the integrated information of the installed application, and may be used by the user according to his or her own will. Selecting an application to be retained in the installation application increases the manner in which the user selects an application that needs to be retained, thereby improving the operation experience.
- the recommendation information includes usage comprehensive information of the installed application and includes the installed application.
- the user behavior statistics information of each application includes obtaining comprehensive usage information of the installed application and obtaining user behavior statistics information of each application in the installed application.
- the steps 701 to 702 are similar to the steps 301 to 302 shown in FIG. 3, and details are not described herein again.
- the user uses the application installed on the terminal, and the terminal may record the user behavior statistics information of the user for each installed application by using a built-in user behavior analysis program, where the user behavior statistics information may include Frequency of use and residence time.
- the user behavior statistics information may include only the frequency of use or only the duration of the stay, which is not limited herein.
- the terminal obtains user behavior statistics information of each application in the installed application, and the user behavior statistics information includes a usage frequency and a dwell time, and the terminal may use the frequency of use of each application in the installed application.
- the dwell time is counted according to a preset time period, for example, counting the applications with the highest frequency of use in the first predetermined time period, and counting the applications with the longest dwell time in the second predetermined time period for sorting. It can be understood that the first The predetermined time period and the second predetermined time period may be the same or different, and are not limited herein.
- the terminal invokes the usage frequency of each application in the installed application that is statistically obtained in the first predetermined period of time, and sorts the applications according to the frequency of use from high to low to obtain the frequency ordering, for example, Assuming that the first predetermined time period is 3 months, the installed application includes ⁇ WeChat, Know, Today Headlines, Alipay, Dictionary ⁇ , and the corresponding frequency of use within 3 months is ⁇ 247, 93, 164, 197 , 46 ⁇ , the frequency of the installed applications sorted according to the frequency of use is ranked as WeChat> Alipay> Today's headline> Known> Dictionary.
- the manner in which the terminal determines the duration of the duration by using the dwell time in step 706 is similar to the manner in which the terminal determines the frequency ranking by using the frequency of use in step 706, and details are not described herein again. .
- the terminal determines the frequency ordering by using the step 705, and determines the time-sorting by step 706. There is no sequence of steps between the two processes, and step 705 may be performed first, or the steps may be performed first. 706, or at the same time, specifically not limited herein.
- the terminal obtains the frequency ordering and the duration sorting through steps 703 to 706, and the hot ordering is obtained through steps 701 to 702, and between the two processes.
- step 703 to step 706 may be performed first, or step 701 to step 702 may be performed first, or may be performed at the same time, which is not limited herein.
- the terminal obtains the heat ordering, frequency sorting, and duration sorting of the installed application, and performs weighting statistics of the weighting coefficients, and calculates and determines the recommended application ordering.
- the application is sorted in the recommended application. The higher the ranking in the middle, the more worthy of the application is recommended to the user, so the first list containing M applications is determined in the installed application in the order from the top to the back according to the recommended application, wherein the M Is a positive integer.
- the installed application is set to ⁇ Today's headline, Alipay, dictionary, know, WeChat ⁇ , wherein the heat sorting, frequency sorting, and duration sorting of the installed application are as shown in Table 2, and the numbers 1 to 5 respectively represent Ranking, such as the frequency of WeChat, is ranked as 1, indicating that it is most frequently used during the first predetermined time period.
- the application is scored for each sort. For example, if the application ranks 1 in a certain sort, then the application should be given Use 5 points; rank 2, then give the application 4 points; rank 3, then give the application 3 points, and so on, you can get the score of the installed application in 3 sorting as shown in Table 3. .
- the weighting coefficient of the heat ranking is 0.2
- the weighting coefficient of the frequency ranking is 0.3
- the weighting coefficient of the time ranking is 0.5
- the installed application is sorted according to the comprehensive scores in descending order, and the recommended application is sorted into today's headline>WeChat>Dictionary>Know>Alipay.
- the applications in the first list include ⁇ Today Headlines, WeChat, Dictionary ⁇ .
- the M applications may be randomly selected from the obtained recommended application rankings to obtain the first list, which is not limited herein.
- the determining, by the terminal, the manner in which the recommended application is sorted according to the heat ranking, the frequency ordering, and the duration sorting manner for example, on the basis of Table 2 in this embodiment,
- the rankings of the applications in each sorting are directly added to get the predicted ranking.
- the predicted rankings obtained are ⁇ 6, 12, 11, 11, 5 ⁇ , respectively.
- the terminal can randomly select an application from which to obtain the first list. Therefore, the manner of determining the recommended application ordering is not limited herein.
- the target application is isolated and moved into the isolation area.
- the steps 708 to 713 are similar to the steps 304 to 309 shown in FIG. 3, and details are not described herein again.
- the first list may be determined to the user by using the integrated information of the installed application of the application store and the user behavior statistical information of the installed application, to recommend the user to the user.
- the application that is retained when the factory settings are restored increases the implementation manner of the embodiment of the present application.
- the recommendation information includes the usage comprehensive information of the installed application and the installed application.
- the user behavior statistics information of each application, the obtaining the recommendation information includes acquiring usage comprehensive information of the installed application, and acquiring user behavior statistical information of each application in the installed application.
- Sort the frequency by sorting the applications in the installed application according to the frequency of use from high to low.
- the steps 801 to 807 are similar to the steps 701 to 707 in FIG. 7, and details are not described herein again.
- the target application is isolated and moved into the isolation zone.
- the steps 808 to 818 are similar to the steps 504 to 514 in FIG. 5, and details are not described herein again.
- the first list may be recommended to the user according to the usage comprehensive information of the installed application and the user behavior statistical information of the installed application, and the user selects the first list according to his or her own will.
- the application that needs to be retained is selected in the installed application, and the implementation manner of the embodiment of the present application is added.
- an embodiment of the terminal in the embodiment of the present application includes:
- the first input unit 901 is configured to receive a factory reset instruction, where the recommendation information is obtained, where the recommendation information includes usage comprehensive information of an installed application on the terminal, and the usage comprehensive information is that the installed application is Hot record information in the app store;
- a determining unit 902 configured to determine a target application according to the recommendation information
- the retaining unit 903 is configured to perform a factory reset operation and retain the target application.
- FIG. 10 is a schematic diagram of another embodiment of the terminal in the embodiment of the present application.
- the method includes: a first determining subunit 10021, a second determining subunit 10022,
- the first determining subunit 10021 is configured to determine, according to the recommendation information, the first list, where the first list includes an application recommended to be reserved when the factory setting is restored;
- the second determining subunit 10022 is configured to determine the target application according to the first list.
- the first determining subunit 10021 includes a first determining module 100211 and a second determining module 100212.
- the first determining module 100211 is configured to determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application;
- the second determining module 100212 is configured to determine, in the installed application, the first list including N applications, the N is a positive integer, in the order of the heat ranking from front to back.
- the first determining subunit 10021 includes: a first determining module 100211, a statistic module 100213, and a third determining module 100214.
- the first determining module 100211 is configured to determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application;
- the statistic module 100213 is configured to collect a usage frequency and a dwell time of each application in the installed application, where the usage frequency and the dwell time are included in the user behavior statistical information;
- the third determining module 100214 is configured to determine, according to a frequency of use, that the applications in the installed application are sorted according to a frequency of use to determine the frequency ordering; and the applications in the installed application are long according to the staying time. Sorting to the short time to determine the duration sorting; sorting the frequency, the duration sorting, and the hot sorting to perform weighted statistics to determine the recommended application ranking; sorting the front-to-back order according to the recommended application in the
- the first list of M applications is determined in the installation application, and the M is a positive integer.
- the second determining subunit 10022 includes: a first display module 100221, a first input module 100222,
- the first display module 100221 is configured to display the first list.
- the first input module 100222 is configured to receive a selection operation for an application input in the first list to determine that the selected application in the first list is the target application.
- the second determining subunit 10022 includes: a first display module 100221, a first input module 100222, a second input module 100223, and a fourth determining module 100224. ,
- the first display module 100221 is configured to display the first list, the first list further includes a guide button, the guide button is used to lead to the second list, and the second list includes the installed application Other than the application in the first list;
- the first input module 100222 is configured to receive a selection operation for an application input in the first list to determine an selected application in the first list;
- the second input module 100223 is configured to receive a click operation for the guide button input, and display the second list; receive a screening operation for an application input in the second list to determine the second The selected application in the list;
- the fourth determining module 100224 is configured to determine the selected application in the first list and the selected application in the second list as the target application.
- the terminal further includes: a display unit 1004, and a second input unit 1005,
- the display unit 1004 is configured to display prompt information, where the prompt information is used to prompt whether to retain data of the selected application in the first list;
- the second input unit 1005 is configured to receive a feedback operation for the prompt information input to feedback whether to retain data of the selected application in the first list.
- the retaining unit 1003 specifically includes: a moving into the subunit 10031, and a first restoring subunit 10032.
- the moving into the subunit 10031 is configured to perform the isolation and movement of the target application into the isolation area
- the first recovery subunit 10032 is configured to perform the factory reset operation on an application that is not moved into the isolation area in the installed application.
- the retaining unit 1003 specifically includes: an adding subunit 10033, and a second restoring subunit 10034.
- the adding subunit 10033 is configured to add a flag bit in the target application, where the flag bit is used to indicate that the target application is retained when performing the restoring factory setting operation;
- the second recovery subunit 10034 is configured to perform the factory reset operation on an application that does not add a flag bit in the installed application.
- the terminal may further include: a display unit 1006, a third input unit 1007,
- the display unit 1006 is configured to display whether to confirm the performing the factory reset operation
- the third input unit 1007 is configured to receive a confirmation operation instruction to confirm that the factory reset operation is performed.
- the usage comprehensive information and the installed application according to the installed application are further provided.
- the user behavior statistics information is recommended by the first list and/or the manner in which the user selects the application to be retained from the installed application according to the user's will, and the implementation manner of the embodiment of the present application is added.
- FIG. 9 and FIG. 10 are a description of the terminal in the embodiment of the present application from the perspective of a modular functional entity.
- the terminal in the embodiment of the present application is described in detail below from the perspective of hardware processing.
- FIG. 11 in the embodiment of the present application, The terminals include:
- FIG. 11 is a block diagram showing a part of the structure of the terminal provided by the embodiment of the present application.
- the terminal can be used to reduce the time for restoring the factory settings, which is the terminal in the above embodiment.
- the terminal includes: a Wireless Fidelity (WIFI) module 1170, a Radio Frequency (RF) circuit 1110, an input unit 1131, a display unit 1140, a memory 1120, a processor 1180, an audio circuit 1160, and Sensor 1150 and other components.
- WIFI Wireless Fidelity
- RF Radio Frequency
- the terminal structure shown in FIG. 11 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
- the display unit 1140 can be used to display a setting interface when the factory reset is performed, as shown in FIG. 4B, FIG. 4C, FIG. 4D, FIG. 4E, FIG. 6A and FIG.
- the display unit 1140 may include a display panel 1141.
- the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touch panel 1131 may cover the display panel 1141, and when the touch panel 1131 detects a touch operation thereon or nearby, the touch panel 1131 transmits to the processor 1180 to determine the type of the touch event, and then the processing
- the device 1180 provides a corresponding visual output on the display panel 1141 depending on the type of touch event.
- touch panel 1131 and the display panel 1141 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1131 may be used in some embodiments.
- the input and output functions of the terminal are realized by being integrated with the display panel 1141.
- the input unit 1130 can be used by the user to perform selection of the target application, feedback for the prompt information, and the like on a setting interface.
- the input unit 1130 may include the touch panel 1131 and other input devices 1132.
- the touch panel 1131 also referred to as a touch screen, can collect touch operations on or near the user, for example, the user can select, in the first list, the selected application in the first list through the touch screen. Selecting the selected application and whether to retain the data of the application, for example, clicking and selecting the selected application in the first list in FIG. 4C and FIG. 4D through the touch screen, and clicking and selecting the image in FIG. 6B through the touch screen
- the application in the second list is described, or the prompt option in FIG.
- the touch panel 1131 may include two parts: a touch detection device and a touch controller. Wherein the touch detection device detects a touch orientation of the user and detects a signal brought by the touch operation to transmit the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts the same The contact coordinates are sent to the processor 1180 and can receive commands from the processor 1180 and execute them.
- the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 1130 may further include other input devices 1132.
- the other input device 1132 may include, but is not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
- function keys such as a volume control button, a switch button, etc.
- a trackball such as a mouse, a joystick, and the like.
- the processor 1180 is a control center of the terminal, and in the embodiment of the present application, the usage comprehensive information of the installed application, the user behavior statistical information of the installed application, and the heat information determined according to the usage comprehensive information may be obtained. Sorting to generate a first list, or determining frequency sorting and long-term sorting according to the user behavior statistical information, and generating a first list by the heat sorting, the frequency sorting, and the duration sorting, and performing the restoring factory setting An operation of moving the target application into the isolation area or adding the flag bit in the target application to retain an application or data that needs to be retained when the user determines a factory reset.
- WIFI is a short-range wireless transmission technology
- the terminal can provide wireless broadband Internet access by sending and receiving emails, browsing web pages, and accessing streaming media through the WIFI module 1170.
- the RF circuit 1110 is connected to the processor 1180 via a bus, and is responsible for transmitting data to or receiving data from the Internet. It can also be used for receiving and transmitting information or during a call, and receiving and transmitting signals, in particular, after receiving downlink information of the base station. And processing the processor 1180; in addition, transmitting the designed uplink data to the base station.
- the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
- the RF circuit 1110 can also communicate with the network and other devices via wireless communication.
- the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division Multiple). Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- Code Division Multiple Access Code Division Multiple Access
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- SMS Short Messaging Service
- the memory 1120 can be used to store software programs and modules, and the processor 1180 performs various functional applications and data processing of the terminals by running software programs and modules stored in the memory 1120.
- the memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be Stores data (such as audio data, phone book, etc.) created according to the use of the mobile terminal.
- the memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 1130 is configured to receive a factory reset command
- the processor 1180 is configured to obtain recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, where the usage comprehensive information is heat record information of the installed application in an application store; Determining a target application according to the recommendation information; performing a factory reset operation and retaining the target application.
- processor 1180 is specifically configured to:
- processor 1180 is specifically configured to:
- the first list of N applications is determined in the installed application in a sequence from front to back in accordance with the popularity ranking.
- processor 1180 is further configured to:
- the terminal further includes the display unit 1140,
- the display unit 1140 is configured to display the first list
- the input unit 1130 is configured to:
- a selection operation for an application input in the first list is received to determine that the selected application in the first list is the target application.
- the terminal further includes the display unit 1140,
- the display unit 1140 is configured to display the first list, where the first list further includes a guide button, the guide button is used to lead to the second list, and the second list includes the installed application Other applications than the applications in the first list;
- the input unit 1130 is configured to:
- the processor 1180 is further configured to:
- the selected application in the first list and the selected one of the second list are determined as the target application.
- the display unit 1140 is further configured to:
- the prompt information is used to prompt whether to retain data of the selected application in the first list;
- the input unit 1130 is configured to:
- a feedback operation for the prompt information input is received to feedback whether to retain data of the selected application in the first list.
- processor 1180 is further configured to:
- the target application is isolated and moved into the isolation area; and the application that is not moved into the isolation area in the installed application performs the factory reset operation.
- processor 1180 is further configured to:
- the flag bit is used to indicate that the target application is retained when performing the restoring factory setting operation; and the application that has not added a flag bit in the installed application performs the restoring factory setting operating.
- the display unit 1140 is further configured to:
- the input unit 1130 is configured to perform the following steps:
- a confirmation operation command is received to confirm the performing the factory reset operation.
- the terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Disclosed is a method for restoring factory settings, which is used for reducing the time for restoring factory settings. The method in the embodiments of the present application comprises: receiving a factory setting restoration instruction to acquire recommendation information, wherein the recommendation information comprises comprehensive usage information about an application installed on a terminal, and the comprehensive usage information is trend record information, in an application store, about the installed application; determining a target application according to the recommendation information; and performing a factory setting restoration operation and retaining the target application. Further provided is a terminal. The embodiments of the present application can reduce the time for restoring factory settings.
Description
本申请要求于2017年1月20日提交中国专利局、申请号为201710051757.7、发明名称为“一种恢复出厂设置的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on January 20, 2017, the Chinese Patent Application No. PCT Application No. PCT Application No. In the application.
本申请涉及通信领域,特别涉及一种恢复出厂设置的方法以及相关设备。The present application relates to the field of communications, and in particular, to a method for restoring factory settings and related equipment.
随着网络和技术愈来愈宽带化的发展以及集成电路的更优化处理,移动设备已从一个简单的通话工具逐渐演变为一个综合信息处理平台,更似一个微型计算处理器,期间用户的需求也在不断增加。随着长时间的使用,深层缓存信息不断堆积,移动设备实际上可使用的空间不断减少,运行速率降低,故用户会使用恢复出厂设置的功能来重置移动设备。With the development of networks and technologies becoming more and more broadband and the optimization of integrated circuits, mobile devices have evolved from a simple call tool to an integrated information processing platform, more like a micro-computing processor, during which users demand It is also increasing. With long-term use, deep cache information is constantly accumulating, mobile devices can actually use less space, and the running rate is reduced, so users will use the factory reset function to reset the mobile device.
现有技术中,会将移动终端内用户设置的所有参数全部恢复到出厂设置的状态,以基于Android系统的移动终端为例,其恢复出厂设置采用Android系统的wipe-data模式,在Recovery中清除数据。这种清除数据的方式,会过滤掉预装应用,包括系统应用、运营商定制机制定应用等,而卸载用户安装的应用、清除应用数据以及应用优化数据。In the prior art, all the parameters set by the user in the mobile terminal are restored to the state of the factory setting. For example, the mobile terminal based on the Android system is restored to the factory settings by using the wipe-data mode of the Android system, and is cleared in the Recovery. data. This way of clearing data will filter out pre-installed applications, including system applications, operators, custom machines, and other applications, while uninstalling user-installed applications, clearing application data, and applying optimization data.
然而,现有技术中,恢复出厂设置会将用户设置的所有参数全部清除,之后针对一些高频率使用软件,例如微信、导航等,用户需要进行重新安装,增加了用户的重复工作量,降低了恢复出厂设置的速度。However, in the prior art, restoring the factory settings will clear all the parameters set by the user, and then use software for some high frequencies, such as WeChat, navigation, etc., the user needs to re-install, which increases the user's repetitive workload and reduces the workload. Restore factory speed.
发明内容Summary of the invention
本申请实施例提供了一种恢复出厂设置的方法以及相关设备,用于减少恢复出厂设置的时间。The embodiment of the present application provides a method for restoring factory settings and related devices for reducing the time for restoring the factory settings.
本申请实施例的第一方面提供一种恢复出厂设置的方法,包括:用户需要对终端进行恢复出厂设置操作,终端可接收到所述用户发送的恢复出厂设置指令,并获取推荐信息,其中所述推荐信息中至少包括所述终端上已安装应用的使用综合信息,所述使用综合信息可以为所述已安装应用在应用商店中的热度记录信息;所述终端根据得到的推荐信息确定目标应用;并根据确定的所述目标应用,进行所述恢复出厂设置操作,且保留确定的所述目标应用。本申请实施例中,根据所述推荐信息确定所述目标应用,并将确定的所述目标应用在恢复出厂设置时保留,使得所述用户不必重新下载,减少了恢复出厂设置的时间。A first aspect of the embodiments of the present application provides a method for restoring a factory setting, including: a user needs to perform a factory reset operation on a terminal, and the terminal may receive a factory reset instruction sent by the user, and obtain recommendation information, where The recommendation information includes at least the usage comprehensive information of the installed application on the terminal, and the usage comprehensive information may be the heat record information of the installed application in the application store; the terminal determines the target application according to the obtained recommendation information. And performing the restoring factory setting operation according to the determined target application, and retaining the determined target application. In the embodiment of the present application, the target application is determined according to the recommendation information, and the determined target application is retained when the factory settings are restored, so that the user does not have to re-download, which reduces the time for restoring the factory settings.
在一种可能的设计中,在本申请实施例第一方面的第一种实现方式中,根据所述推荐信息确定所述目标应用包括:所述终端获得所述推荐信息,并根据所述推荐信息确定第一列表,其中所述第一列表中包括恢复出厂设置时向所述用户推荐保留的应用;并根据确定的所述第一列表确定所述目标应用。该实现方式中,通过所述第一信息确定所述第一列表进而根据所述第一列表确定所述目标应用,丰富了本申请实施例的过程。In a possible implementation, in a first implementation manner of the first aspect of the embodiments of the present application, determining the target application according to the recommendation information includes: obtaining, by the terminal, the recommendation information, and according to the recommendation The information determines a first list, wherein the first list includes an application recommended to the user for reservation when the factory settings are restored; and determining the target application according to the determined first list. In this implementation, determining the target list by using the first information to determine the target application according to the first list enriches the process of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第一方面的第二种实现方式中,根据所述推荐信息确定所述第一列表包括:所述终端根据所述已安装应用的使用综合信息得到所述已安装应用的热度排序;通过得到的所述热度顺序,终端按照所述热度排序从前到后的顺序,
在所述已安装应用中确定包含N个应用的所述第一列表,其中所述N为正整数。该实现方式中,提供了所述终端确定所述第一列表的具体方式,增加了本申请实施例的可行性。In a possible implementation, in a second implementation manner of the first aspect of the embodiments of the present application, determining, according to the recommendation information, the first list includes: using, by the terminal, comprehensive information according to usage of the installed application. Obtaining a heat order of the installed applications; by the obtained heat order, the terminals are sorted in order from the front to the back according to the heat,
The first list of N applications is determined in the installed application, wherein the N is a positive integer. In this implementation manner, a specific manner in which the terminal determines the first list is provided, which increases the feasibility of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第一方面的第三种实现方式中,所述推荐信息还包括所述已安装应用中各应用的用户行为统计信息,则根据所述推荐信息确定所述第一列表还包括:所述终端根据所述已安装应用的使用综合信息得到所述已安装应用的热度排序;且所述终端统计所述已安装应用中各应用的使用频率以及停留时间,其中,所述用户行为统计信息包括所述使用频率和所述停留时间;终端统计使用频率,并将已安装应用中的应用按照使用频率从高到低的顺序进行排序确定频率排序;终端统计所述停留时间,并将已安装应用中的应用按照停留时间从长到短的顺序进行排序确定所述时长排序;通过获得的所述频率排序、所述时长排序和所述热度排序,所述终端将三者进行加权统计得到推荐应用排序,按照所述推荐应用排序从前到后的顺序在所述已安装应用中确定所述第一列表,其中所述第一列表中包括M个应用,且所述M为正整数。本实现方式中,所述终端还可以根据所述用户行为统计信息确定所述第一列表,提供了终端确定第一列表的具体方式,增加了本申请实施例的可行性。In a possible design, in a third implementation manner of the first aspect of the embodiment, the recommendation information further includes user behavior statistics information of each application in the installed application, according to the recommendation information. Determining the first list further includes: the terminal obtaining a heat ranking of the installed application according to usage comprehensive information of the installed application; and the terminal collecting usage frequency of each application in the installed application and staying Time, wherein the user behavior statistical information includes the usage frequency and the dwell time; the terminal uses the frequency of use, and sorts the applications in the installed application according to the frequency of use from high to low to determine the frequency order; Counting the dwell time, and sorting the applications in the installed application according to the dwell time from the longest to the shortest to determine the duration sorting; by obtaining the frequency sorting, the duration sorting, and the hot sorting, The terminal performs weighted statistics on the three to obtain recommended application ordering, and sorts the order from front to back according to the recommended application. The application has been installed in determining the first list, wherein the first application list includes M, and M is a positive integer. In this implementation manner, the terminal may further determine the first list according to the user behavior statistical information, and provide a specific manner for the terminal to determine the first list, which increases the feasibility of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第一方面的第四种实现方式中,根据所述第一列表确定所述目标应用包括:所述终端在所述终端的屏幕上显示所述第一列表;并接收所述用户针对所述第一列表中的应用输入的选择操作,来确定所述用户在所述第一列表中所选择的应用为所述目标应用,即所述第一列表中被选中的应用为所述目标应用。本实现方式中,细化了确定所述目标应用的方式,使本申请实施例更加具有可操作性。In a possible design, in a fourth implementation manner of the first aspect of the embodiments of the present application, determining the target application according to the first list includes: displaying, by the terminal, on the screen of the terminal a first list; and receiving a selection operation of the user input for the application in the first list, to determine that the application selected by the user in the first list is the target application, that is, the first The selected application in the list is the target application. In this implementation manner, the manner of determining the target application is refined, and the embodiment of the present application is more operable.
在一种可能的设计中,在本申请实施例第一方面的第五种实现方式中,根据所述第一列表确定所述目标应用还包括:向所述用户显示所述第一列表,其中所述第一列表中还可以包括引导按钮,且所述引导按钮可用于引出第二列表,所述第二列表可以包括已安装应用中除所述第一列表中的应用以外的其他应用;所述终端接收到用户针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用;并接收所述用户对所述引导按钮输入的点击操作,响应于所述点击操作,所述终端向所述用户显示所述第二列表;所述终端接收到所述用户针对所述第二列表中的应用输入的筛选操作,以让所述终端确定所述用户在所述第二列表中选择的应用,进而所述终端将所述第一列表中被选中的应用和所述第二列表中被选中的应用共同作为所述目标应用。该实现方式中,所述第一列表中还可以包括所述引导按钮,来引出所述第二列表,使得所述用户能根据自己的意愿从所述第二列表中选择需要保留的应用,并在恢复出厂设置时保留,增加了本申请实施例的实现方式。In a possible design, in a fifth implementation manner of the first aspect of the embodiments of the present application, determining the target application according to the first list further includes: displaying the first list to the user, where The first list may further include a guide button, and the guide button may be used to extract a second list, where the second list may include other applications in the installed application than the application in the first list; Receiving, by the terminal, a selection operation input by the user for the application in the first list to determine the selected application in the first list; and receiving a click operation of the user inputting the guide button, in response to the In the click operation, the terminal displays the second list to the user; the terminal receives a screening operation input by the user for an application in the second list, so that the terminal determines that the user is The application selected in the second list, and the terminal further uses the selected application in the first list and the selected application in the second list as the target applicationIn this implementation, the first list may further include the guiding button to extract the second list, so that the user can select an application to be retained from the second list according to his or her own will, and It is retained when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第一方面的第六种实现方式中,所述终端接收针对所述第一列表中的应用输入的选择操作时,还包括:所述终端向所述用户展示提示信息,以提示所述用户是否保留所述第一列表中被选中的应用的数据;所述终端接收所述用户针对所述提示信息输入的反馈操作,所述反馈操作用以向所述终端反馈是否保留所述第一列表中被选中的应用的数据。该实现方式中,所述用户可以不仅保留所述第一列表中被选中的应用,还可以选择保留所述第一列表中被选中的应用的数据,提升了用户的操作体
验。In a possible design, in a sixth implementation manner of the first aspect of the embodiments of the present application, when the terminal receives a selection operation for an application input in the first list, the method further includes: the terminal The user displays the prompt information to prompt the user whether to retain the data of the selected application in the first list; the terminal receives the feedback operation of the user inputting the prompt information, and the feedback operation is used to And feeding back to the terminal whether to retain data of the selected application in the first list. In this implementation manner, the user may not only retain the selected application in the first list, but also may select to retain data of the selected application in the first list, and improve the operation body of the user.
Test.
在一种可能的设计中,在本申请实施例第一方面的第七种实现方式中,进行所述恢复出厂设置操作并保留所述目标应用包括:所述终端将所述目标应用进行隔离移入隔离区;并将所述已安装应用中未移入所述隔离区的应用即除所述目标应用以外的应用进行所述恢复出厂设置操作。该实现方式中,细化了所述终端将所述目标应用在恢复出厂设置时保留的方式,使得本申请实施例过程上更加清晰。In a possible design, in a seventh implementation manner of the first aspect of the embodiments of the present application, performing the restoring factory setting operation and retaining the target application includes: the terminal moving the target application into an isolated manner An quarantine area; and an application that is not moved into the quarantine area in the installed application, that is, an application other than the target application performs the factory reset operation. In this implementation manner, the manner in which the terminal is reserved when the terminal is restored to the factory settings is refined, so that the process of the embodiment of the present application is clearer.
在一种可能的设计中,在本申请实施例第一方面的第八种实现方式中,所述终端进行恢复出厂设置操作并保留所述目标应用包括:所述终端在所述目标应用中添加标志位,其中所述标志位用于表示所述终端在进行所述恢复出厂设置操作时保留所述目标应用;所述终端清除所述已安装应用中未添加标志位的应用即进行恢复出厂设置操作。该实现方式中,又提供了一种所述终端将所述目标应用在恢复出厂设置时保留的方式,增加了本申请实施例的实现方式。In a possible design, in an eighth implementation manner of the first aspect of the embodiments of the present application, the performing, by the terminal, the performing a factory reset operation and retaining the target application includes: adding, by the terminal, the target application a flag bit, wherein the flag bit is used to indicate that the terminal retains the target application when performing the restoring factory setting operation; and the terminal clears an application that does not add a flag bit in the installed application to perform a factory reset operating. In this implementation manner, a manner is also provided in which the terminal retains the target application when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第一方面的第九种实现方式中,所述终端根据所述第一列表确定所述目标应用之后,进行所述恢复出厂设置操作并保留目标应用之前,还包括:所述终端可以向所述用户显示是否确认进行所述恢复出厂设置操作,并接收所述用户输入的确认操作指令,以确认进行所述恢复出厂设置操作。该实现方式中,在进行所述恢复出厂设置之前,提示所述用户是否确认进行所述恢复出厂设置,降低了误操作的发生。In a possible design, in a ninth implementation manner of the first aspect of the embodiments of the present application, after determining, by the terminal, the target application according to the first list, performing the restoring factory setting operation and retaining a target Before the application, the method further includes: the terminal may display to the user whether to confirm the performing the factory reset operation, and receive a confirmation operation instruction input by the user to confirm the performing the factory reset operation. In this implementation manner, before the performing the factory resetting, the user is prompted whether to confirm the performing the factory resetting, thereby reducing the occurrence of an erroneous operation.
本申请实施例的第二方面提供一种终端,包括:第一输入单元,用于接收恢复出厂设置指令,获取推荐信息,所述推荐信息中包括所述终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;确定单元,用于根据所述推荐信息确定目标应用;保留单元,用于进行恢复出厂设置操作并保留所述目标应用。本申请实施例中,所述确定单元根据所述推荐信息确定所述目标应用,所述保留单元将确定的所述目标应用在恢复出厂设置时保留,使得所述用户不必重新下载,减少了恢复出厂设置的时间。A second aspect of the present application provides a terminal, including: a first input unit, configured to receive a factory reset instruction, and obtain recommendation information, where the recommendation information includes comprehensive information about usage of an installed application on the terminal, The use comprehensive information is heat record information of the installed application in an application store; a determining unit, configured to determine a target application according to the recommended information; a retaining unit, configured to perform a factory reset operation and retain the target application . In the embodiment of the present application, the determining unit determines the target application according to the recommendation information, and the retention unit reserves the determined target application when restoring the factory settings, so that the user does not have to re-download, reducing the recovery. Factory set time.
在一种可能的设计中,在本申请实施例第二方面的第一种实现方式中,所述确定单元包括第一确定子单元、第二确定子单元,其中所述第一确定子单元,用于根据所述推荐信息确定第一列表,所述第一列表包括恢复出厂设置时推荐保留的应用;所述第二确定子单元,用于根据所述第一列表确定所述目标应用。该实现方式中,通过所述第一信息确定所述第一列,并根据所述第一列表确定所述目标应用,丰富了本申请实施例的过程。In a possible design, in a first implementation manner of the second aspect of the embodiments of the present application, the determining unit includes a first determining subunit, a second determining subunit, wherein the first determining subunit, And configured to determine, according to the recommendation information, the first list, where the first list includes an application recommended to be reserved when the factory setting is restored; and the second determining subunit is configured to determine the target application according to the first list. In this implementation, the first column is determined by the first information, and the target application is determined according to the first list, which enriches the process of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第二种实现方式中,所述第一确定子单元包括:第一确定模块,第二确定模块,其中所述第一确定模块,用于根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;所述第二确定模块,用于按照所述热度排序从前到后的顺序在所述已安装应用中确定包含N个应用的第一列表,所述N为正整数。该实现方式中,提供了所述终端确定所述第一列表的具体方式,增加了本申请实施例的可行性。In a possible design, in a second implementation manner of the second aspect of the embodiments of the present application, the first determining subunit includes: a first determining module, a second determining module, wherein the first determining module And determining, according to the usage comprehensive information of the installed application, a heat ranking of the installed application; the second determining module, configured to determine, in the installed application, the order from the front to the back according to the heat ranking Contains a first list of N applications, the N being a positive integer. In this implementation manner, a specific manner in which the terminal determines the first list is provided, which increases the feasibility of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第三种实现方式中,所述推荐信息
还包括所述已安装应用中各应用的用户行为统计信息,所述第一确定子单元包括:第一确定模块,统计模块,第三确定模块,其中所述第一确定模块,用于根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;所述统计模块,用于统计所述已安装应用中各应用的使用频率和停留时间,所述使用频率和所述停留时间包含于所述用户行为统计信息;所述第三确定模块,具体用于:将所述已安装应用中的应用按照使用频率从高到低进行排序确定频率排序;将所述已安装应用中的应用按照停留时间从长到短进行排序确定时长排序;将所述频率排序、所述时长排序和所述热度排序进行加权统计确定推荐应用排序;按照推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的第一列表,所述M为正整数。本实现方式中,当所述终端还根据所述用户行为统计信息确定所述第一列表时,所述终端确定所述第一列表的具体方式,增加了本申请实施例的可行性。In a possible design, in a third implementation manner of the second aspect of the embodiment of the present application, the recommendation information
And the first determining subunit includes: a first determining module, a statistic module, and a third determining module, wherein the first determining module is configured to be used according to the user behavior information of each application in the installed application. Determining the popularity ranking of the installed application by using the comprehensive information of the installed application; the statistics module is configured to count the usage frequency and the staying time of each application in the installed application, the usage frequency and the residence time The third determining module is configured to: sort the applications in the installed application according to the frequency of use according to the frequency of use, determine a frequency, and sort the frequency in the installed application. The application sorts the duration according to the staying time from long to short; sorts the frequency, the duration sorting, and the heat sorting to perform weighted statistics to determine the recommended application order; according to the recommended application, the order from front to back is in the The installation application determines a first list of M applications, the M being a positive integer. In this implementation manner, when the terminal further determines the first list according to the user behavior statistical information, the terminal determines a specific manner of the first list, which increases the feasibility of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第二方面的第四种实现方式中所述,第二确定子单元包括:第一显示模块、第一输入模块,其中所述第一显示模块,用于显示所述第一列表;所述第一输入模块,用于接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用。本实现方式中,细化了确定目标应用的方式,使本申请实施例更加具有可操作性。In a possible design, in the fourth implementation manner of the second aspect of the embodiment of the present application, the second determining subunit includes: a first display module, a first input module, where the first display module For displaying the first list, the first input module is configured to receive a selection operation for an application input in the first list to determine a selected application in the first list. In this implementation manner, the manner of determining the target application is refined, and the embodiment of the present application is more operable.
在一种可能的设计中,在本申请实施例第二方面的第五种实现方式中,所述第二确定子单元还包括:第一显示模块,第一输入模块,第二输入模块,第四确定模块,其中所述第一显示模块,用于显示所述第一列表,所述第一列表中还包括引导按钮,所述引导按钮用于引出第二列表,所述第二列表包括所述已安装应用中除所述第一列表中的应用以外的其他应用;所述第一输入模块,用于接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用;所述第二输入模块,用于接收针对所述引导按钮输入的点击操作,并显示所述第二列表;接收针对所述第二列表中的应用输入的筛选操作,以确定所述第二列表中被选中的应用;所述第四确定模块,用于将所述第一列表中的被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。该实现方式中,所述第一列表中还包括所述引导按钮,来引出所述第二列表,使得所述用户能根据自己的意愿从所述第二列表中选择需要保留的应用,并在恢复出厂设置时保留所述目标应用,增加了本申请实施例的实现方式。In a possible design, in a fifth implementation manner of the second aspect of the embodiments, the second determining subunit further includes: a first display module, a first input module, and a second input module, a determining module, wherein the first display module is configured to display the first list, the first list further includes a guiding button, the guiding button is used to draw a second list, and the second list includes a An application other than the application in the first list in the installed application; the first input module, configured to receive a selection operation for an application input in the first list, to determine the first list a selected application; the second input module, configured to receive a click operation for the guide button input, and display the second list; receive a screening operation for an application input in the second list, to Determining the selected application in the second list; the fourth determining module, configured to determine the selected application in the first list and the selected application in the second list as the target Application. In this implementation manner, the first list further includes the guiding button to extract the second list, so that the user can select an application to be retained from the second list according to his or her own will, and The target application is retained when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第二方面的第六种实现方式中,所述终端还包括:展示单元,第二输入单元,其中所述展示单元,用于展示提示信息,所述提示信息用于提示是否保留所述第一列表中被选中的应用的数据;所述第四接收单元,用于接收针对所述提示信息输入的反馈操作,以反馈是否保留所述第一列表中被选中的应用的数据。该实现方式中,所述用户可以不仅保留所述第一列表中被选中的应用,还可以选择保留所述第一列表中被选中的应用的数据,提升了操作体验。In a possible design, in a sixth implementation manner of the second aspect of the embodiment, the terminal further includes: a display unit, a second input unit, where the display unit is configured to display prompt information. The prompt information is used to prompt whether to retain data of the selected application in the first list; the fourth receiving unit is configured to receive a feedback operation for inputting the prompt information to feedback whether to retain the first The data of the selected application in the list. In this implementation manner, the user may not only retain the selected application in the first list, but also may select to retain data of the selected application in the first list, thereby improving the operation experience.
在一种可能的设计中,在本申请实施例第二方面的第七种实现方式中,所述保留单元包括:移入子单元,第一恢复子单元,其中所述移入子单元,用于将所述目标应用进行隔离移入所述隔离区;所述第一恢复子单元,用于将所述已安装应用中未移入所述隔离区的应用进行恢复出厂设置操作。该实现方式中,细化了所述终端将所述目标应用在恢复出厂
设置时保留的方式,使得本申请实施例过程上更加清晰。In a possible design, in a seventh implementation manner of the second aspect of the embodiments of the present application, the reserved unit includes: a move-in sub-unit, a first recovery sub-unit, where the move-in sub-unit is used to The target application is detached into the quarantine area; the first recovery subunit is configured to perform an operation of restoring a factory setting of an application that has not been moved into the quarantine area in the installed application. In this implementation manner, the terminal is refined to apply the target to the factory.
The manner of reservation when setting makes the process of the present application clearer in the process.
在一种可能的设计中,在本申请实施例第二方面的第八种实现方式中,所述保留单元还包括:添加子单元,第二恢复子单元,其中所述添加子单元,用于在所述目标应用中添加标志位,所述标志位用于表示进行所述恢复出厂设置操作时保留所述目标应用;所述第二恢复子单元,用于将所述已安装应用中未添加标志位的应用进行所述恢复出厂设置操作。该实现方式中,又提供了一种所述终端将所述目标应用在恢复出厂设置时保留的方式,增加了本申请实施例的实现方式。In a possible design, in an eighth implementation manner of the second aspect of the embodiments of the present application, the retaining unit further includes: an adding subunit, a second restoring subunit, where the adding subunit is used to Adding a flag bit in the target application, the flag bit is used to indicate that the target application is retained when performing the restoring factory setting operation; and the second recovery subunit is configured to not add the installed application The application of the flag bit performs the factory reset operation. In this implementation manner, a manner is also provided in which the terminal retains the target application when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第二方面的第九种实现方式中,所述终端还包括:显示单元,第三输入单元,其中所述显示单元,用于显示是否确认进行所述恢复出厂设置操作;所述第三输入单元,用于接收确认操作指令,以确认进行所述恢复出厂设置操作。该实现方式中,在进行所述恢复出厂设置之前,提示所述用户是否确认进行该操作,降低了误操作的发生。In a possible design, in a ninth implementation manner of the second aspect of the embodiments of the present application, the terminal further includes: a display unit, a third input unit, wherein the display unit is configured to display whether to confirm The restoring factory setting operation; the third input unit is configured to receive a confirmation operation instruction to confirm the performing the factory reset operation. In this implementation manner, before the performing the factory resetting, the user is prompted whether to confirm the operation, and the occurrence of the erroneous operation is reduced.
本申请实施例的第三方面提供一种终端,所述终端包括:输入单元、处理器;A third aspect of the embodiment of the present application provides a terminal, where the terminal includes: an input unit, a processor;
其中所述输入单元,用于接收恢复出厂设置指令,所述处理器,用于获取推荐信息,所述推荐信息中包括所述终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;所述处理器,用于根据所述推荐信息确定所述目标应用;进行恢复出厂设置操作并保留所述目标应用。本申请实施例中,所述处理器根据所述推荐信息确定所述目标应用,并将确定的所述目标应用在恢复出厂设置时保留,使得所述用户不必重新下载,减少了恢复出厂设置的时间。The input unit is configured to receive a factory reset instruction, where the processor is configured to obtain recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, where the comprehensive information is used. The heat record information of the application installed in the application store is installed; the processor is configured to determine the target application according to the recommendation information; perform a factory reset operation and retain the target application. In the embodiment of the present application, the processor determines the target application according to the recommendation information, and the determined target application is retained when the factory settings are restored, so that the user does not have to re-download, and the factory reset is reduced. time.
在一种可能的设计中,在本申请实施例第三方面的第一种实现方式中,所述处理器用于执行如下步骤:根据所述推荐信息确定第一列表,所述第一列表包括恢复出厂设置时推荐保留的应用;根据所述第一列表确定所述目标应用。本实现方式中,通过所述第一信息确定所述第一列表,并根据所述第一列表确定所述目标应用,丰富了本申请实施例的过程。In a possible design, in a first implementation manner of the third aspect of the embodiments of the present application, the processor is configured to: determine, according to the recommendation information, a first list, where the first list includes recovery The retained application is recommended at the factory setting; the target application is determined based on the first list. In this implementation manner, the first list is determined by using the first information, and the target application is determined according to the first list, which enriches the process of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第三方面的第二种实现方式中,所述处理器用于执行如下步骤:根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;按照所述热度排序从前到后的顺序在所述已安装应用中确定包含N个应用的所述第一列表,所述N为正整数。该实现方式中,提供了所述终端确定所述第一列表的具体方式,增加了本申请实施例的可行性。In a possible design, in a second implementation manner of the third aspect of the embodiments of the present application, the processor is configured to: determine, according to usage comprehensive information of the installed application, the installed application Heat sorting; determining the first list of N applications in the installed application according to the order of the heat ranking from front to back, the N being a positive integer. In this implementation manner, a specific manner in which the terminal determines the first list is provided, which increases the feasibility of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第三方面的第三种实现方式中,所述处理器还用于执行如下步骤:根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;统计所述已安装应用中各应用的使用频率和停留时间,所述使用频率和所述停留时间包含于用户行为统计信息;将所述已安装应用中的应用按照使用频率从高到低进行排序确定所述频率排序;将所述已安装应用中的应用按照停留时间从长到短进行排序确定所述时长排序;将所述频率排序、所述时长排序和所述热度排序进行加权统计确定推荐应用排序;按照所述推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的所述第一列表,所述M为正整数。本实现方式中,当所述终端还可以根据所述用户行为统计信息确定所述第一列表,增加了终端确定所述第一列表的具体方式,增加了本申请实施例的可行性。
In a possible design, in a third implementation manner of the third aspect of the embodiments of the present application, the processor is further configured to: determine, according to the usage comprehensive information of the installed application, that the installed The hotness ranking of the application; the usage frequency and the dwell time of each application in the installed application are counted, and the usage frequency and the dwell time are included in the user behavior statistical information; and the application in the installed application is used according to the frequency of use Sorting the high to low determines the frequency ranking; sorting the applications in the installed application according to the staying time from long to short to determine the duration sorting; sorting the frequencies, sorting the durations, and sorting the heats Performing weighted statistics to determine a recommended application ranking; determining, in the installed application, the first list including M applications according to the recommended application ordering, the M being a positive integer. In this implementation manner, when the terminal further determines the first list according to the user behavior statistical information, the specific manner in which the terminal determines the first list is added, which increases the feasibility of the embodiment of the present application.
在一种可能的设计中,在本申请实施例第三方面的第四种实现方式中,所述终端还包括显示单元,其中所述显示单元,用于显示所述第一列表;所述输入单元用于执行如下步骤:接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用为所述目标应用。本实现方式中,细化了确定目标应用的方式,使本申请实施例更加具有可操作性。In a possible design, in a fourth implementation manner of the third aspect of the embodiments, the terminal further includes a display unit, wherein the display unit is configured to display the first list; the input The unit is configured to perform the step of: receiving a selection operation for an application input in the first list to determine that the selected application in the first list is the target application. In this implementation manner, the manner of determining the target application is refined, and the embodiment of the present application is more operable.
在一种可能的设计中,在本申请实施例第三方面的第五种实现方式中,所述终端还包括所述显示单元,其中所述显示单元,用于显示所述第一列表,所述第一列表中还包括引导按钮,所述引导按钮用于引出第二列表,所述第二列表包括所述已安装应用中除所述第一列表中的应用以外的其他应用;所述输入单元还用于执行如下步骤:接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用;接收针对所述引导按钮输入的点击操作,所述显示单元显示所述第二列表;接收针对所述第二列表中的应用输入的筛选操作,以使得所述处理器确定所述第二列表中被选中的应用;所述处理器还用于执行如下步骤:将所述第一列表中的被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。该实现方式中,所述第一列表中还包括所述引导按钮,来引出所述第二列表,使得所述用户能根据自己的意愿从所述第二列表中选择需要保留的应用,并在恢复出厂设置时保留该应用,增加了本申请实施例的实现方式。In a possible design, in a fifth implementation manner of the third aspect of the embodiments, the terminal further includes the display unit, wherein the display unit is configured to display the first list, where The first list further includes a guide button for extracting a second list, the second list including other applications in the installed application except the application in the first list; the input The unit is further configured to: receive a selection operation for an application input in the first list to determine a selected application in the first list; receive a click operation for the guide button input, the display The unit displays the second list; receiving a screening operation for an application input in the second list to cause the processor to determine a selected application in the second list; the processor is further configured to perform the following Step: determining the selected application in the first list and the selected application in the second list as the target application. In this implementation manner, the first list further includes the guiding button to extract the second list, so that the user can select an application to be retained from the second list according to his or her own will, and The application is retained when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第三方面的第六种实现方式中,所述显示单元用于执行如下步骤:展示提示信息,所述提示信息用于提示是否保留所述第一列表中被选中的应用的数据;所述输入单元用于执行如下步骤:接收针对所述提示信息输入的反馈操作,以反馈是否保留所述第一列表中被选中的应用的数据。该实现方式中,所述用户可以不仅保留所述第一列表中被选中的应用,还可以选择保留所述第一列表中被选中的应用的数据,提升了用户的操作体验。In a possible design, in a sixth implementation manner of the third aspect of the embodiments of the present application, the display unit is configured to perform the following steps: displaying prompt information, where the prompt information is used to prompt whether to retain the first Data of the selected application in the list; the input unit is configured to perform the following steps: receiving a feedback operation for the prompt information input to feedback whether to retain data of the selected application in the first list. In this implementation manner, the user may not only retain the selected application in the first list, but also may select to retain data of the selected application in the first list, thereby improving the operation experience of the user.
在一种可能的设计中,在本申请实施例第三方面的第七种实现方式中,所述处理器还用于执行如下步骤:将所述目标应用进行隔离移入隔离区;将所述已安装应用中未移入隔离区的应用进行恢复出厂设置操作。该实现方式中,细化了所述终端将所述目标应用在恢复出厂设置时保留的方式,使得本申请实施例过程上更加清晰。In a possible design, in a seventh implementation manner of the third aspect of the embodiments, the processor is further configured to: perform the following steps: moving the target application into an isolation zone; Install the application that has not moved into the quarantine in the application to perform a factory reset operation. In this implementation manner, the manner in which the terminal is reserved when the terminal is restored to the factory settings is refined, so that the process of the embodiment of the present application is clearer.
在一种可能的设计中,在本申请实施例第三方面的第八种实现方式中,所述处理器还用于执行如下步骤:在所述目标应用中添加标志位,所述标志位用于表示进行所述恢复出厂设置操作时保留所述目标应用;将所述已安装应用中未添加所述标志位的应用进行所述恢复出厂设置操作。该实现方式中,又提供了一种所述终端将所述目标应用在恢复出厂设置时保留的方式,增加了本申请实施例的实现方式。In a possible design, in an eighth implementation manner of the third aspect of the embodiments, the processor is further configured to: add a flag bit in the target application, where the flag bit is used The target application is retained when the performing the factory reset operation is performed; and the factory setting operation is performed by an application that does not add the flag bit in the installed application. In this implementation manner, a manner is also provided in which the terminal retains the target application when the factory settings are restored, and the implementation manner of the embodiment of the present application is added.
在一种可能的设计中,在本申请实施例第三方面的第九种实现方式中,所述显示单元还用于执行如下步骤:显示是否确认进行所述恢复出厂设置操作;所述输入单元用于执行如下步骤:接收确认操作指令,以确认进行所述恢复出厂设置操作。该实现方式中,在进行所述恢复出厂设置之前,提示所述用户是否确认进行该操作,降低了误操作的发生。In a possible design, in a ninth implementation manner of the third aspect of the embodiments of the present application, the display unit is further configured to: perform a step of: displaying whether to confirm the performing a factory reset operation; the input unit It is used to perform the following steps: receiving a confirmation operation instruction to confirm that the factory reset operation is performed. In this implementation manner, before the performing the factory resetting, the user is prompted whether to confirm the operation, and the occurrence of the erroneous operation is reduced.
本申请实施例第四方面提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。
A fourth aspect of embodiments of the present application provides a computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the methods described in the above aspects.
本申请实施例第五方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。A fifth aspect of an embodiment of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the above aspects.
本申请实施例提供的技术方案中,本申请实施例包括:接收所述恢复出厂设置指令,获取所述推荐信息,所述推荐信息中包括所述终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;根据所述推荐信息确定所述目标应用;进行所述恢复出厂设置操作并保留所述目标应用。本申请实施例中,根据获取到的所述推荐信息确定所述目标应用,将所述目标应用在恢复出厂设置时保留,使得用户不必重新下载,减少了恢复出厂设置的时间。In the technical solution provided by the embodiment of the present application, the embodiment of the present application includes: receiving the factory resetting instruction, and acquiring the recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, Recording information for the heat of the installed application in the application store using the integrated information; determining the target application based on the recommended information; performing the factory reset operation and retaining the target application. In the embodiment of the present application, the target application is determined according to the obtained recommendation information, and the target application is retained when the factory setting is restored, so that the user does not have to re-download, and the time for restoring the factory setting is reduced.
图1为本申请实施例的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application;
图2为本申请实施例提供的一种可能的恢复出厂设置的方法一个实施例示意图;2 is a schematic diagram of an embodiment of a method for restoring factory settings according to an embodiment of the present application;
图3为本申请实施例提供的另一种可能的恢复出厂设置的方法一个实施例示意图;FIG. 3 is a schematic diagram of another embodiment of a method for restoring factory settings provided by an embodiment of the present application; FIG.
图4A为本申请实施例提供的一种可能的恢复出厂设置的操作界面示意图;4A is a schematic diagram of an operation interface of a possible factory resetting according to an embodiment of the present application;
图4B为本申请实施例提供的另一种可能的恢复出厂设置的操作界面示意图;FIG. 4B is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application; FIG.
图4C为本申请实施例提供的另一种可能的恢复出厂设置的操作界面示意图;FIG. 4C is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application; FIG.
图4D为本申请实施例提供的另一种可能的恢复出厂设置的操作界面示意图;FIG. 4D is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application; FIG.
图4E为本申请实施例提供的另一种可能的恢复出厂设置的操作界面示意图;4E is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application;
图5为本申请实施例提供的另一种可能的恢复出厂设置的方法一个实施例示意图;FIG. 5 is a schematic diagram of another embodiment of a method for restoring factory settings according to an embodiment of the present application; FIG.
图6A为本申请实施例提供的另一种可能的恢复出厂设置的操作界面示意图;6A is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application;
图6B为本申请实施例提供的另一种可能的恢复出厂设置的操作界面示意图;FIG. 6B is a schematic diagram of another possible operation interface for restoring factory settings according to an embodiment of the present application; FIG.
图7为本申请实施例提供的另一种可能的恢复出厂设置的方法一个实施例示意图;FIG. 7 is a schematic diagram of another embodiment of a method for restoring factory settings provided by an embodiment of the present application; FIG.
图8为本申请实施例提供的另一种可能的恢复出厂设置的方法一个实施例示意图;FIG. 8 is a schematic diagram of another embodiment of a method for restoring factory settings according to an embodiment of the present application; FIG.
图9为本申请实施例提供的一种终端的实施例示意图;FIG. 9 is a schematic diagram of an embodiment of a terminal according to an embodiment of the present application;
图10为本申请实施例提供的另一种终端的实施例示意图;FIG. 10 is a schematic diagram of another embodiment of a terminal according to an embodiment of the present disclosure;
图11为本申请实施例提供的另一种终端的实施例示意图。FIG. 11 is a schematic diagram of another embodiment of a terminal according to an embodiment of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present application and the above figures are used to distinguish similar objects without having to use To describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than what is illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本申请实施例可用于图1所示的应用场景。在该应用场景中,手机上设置有恢复出厂设置功能,用户通过该功能将手机进行恢复出厂设置操作。现有技术中,恢复出厂设置会将手机中用户设置的所有参数全部清除,例如用户下载的应用、应用数据和应用优化数据等。在恢复出厂设置后,用户根据个人喜好需要重新下载安装应用,增加了用户的重复工
作量。The embodiment of the present application can be used in the application scenario shown in FIG. 1 . In this application scenario, the function of restoring factory settings is set on the mobile phone, and the user performs the function of restoring the factory settings by using the function. In the prior art, restoring the factory settings will clear all the parameters set by the user in the mobile phone, such as the application downloaded by the user, application data and application optimization data. After the factory reset, the user needs to re-download and install the application according to personal preference, which increases the user's rework.
The amount.
有鉴于此,本申请实施例中,提供了一种恢复出厂设置的方法以减少用户的重复工作量进而缩短恢复出厂设置的时间,请参阅图2,介绍本申请实施例恢复出厂设置的方法实施例。In view of this, in the embodiment of the present application, a method for restoring the factory settings is provided to reduce the repetitive workload of the user and shorten the time for restoring the factory settings. Referring to FIG. 2, the method for restoring the factory settings in the embodiment of the present application is introduced. example.
201、接收恢复出厂设置指令,获取推荐信息。201. Receive a factory reset command to obtain recommended information.
用户需要对终端进行恢复出厂设置操作时,所述终端接收到所述用户发送的所述恢复出厂设置指令,并获取所述推荐信息,其中所述推荐信息至少包括所述终端上已安装应用的使用综合信息,且所述使用综合信息包括所述已安装应用在应用商店中的热度记录信息,实际应用中,所述热度记录信息可以包括在应用商店中应用的下载次数或者下载次数排行、应用的推荐次数或者推荐次数排行、用户给应用的评分或者该评分排行等,具体此处不做限定。When the user needs to perform a factory reset operation on the terminal, the terminal receives the factory resetting instruction sent by the user, and obtains the recommended information, where the recommended information includes at least the installed application on the terminal. The comprehensive information is used, and the usage comprehensive information includes the heat record information of the installed application in the application store. In an actual application, the heat record information may include the number of downloads or download times applied in the application store, and the application The number of recommended or recommended times, the rating of the user to the application, or the ranking of the rating, etc., is not limited herein.
另外,实际应用中,所述推荐信息中还可以包括所述已安装应用中各应用的用户行为统计信息。In addition, in the actual application, the recommendation information may further include user behavior statistics information of each application in the installed application.
202、根据所述推荐信息确定目标应用。202. Determine a target application according to the recommendation information.
所述终端获取到所述推荐信息后,可以根据所述推荐信息确定出所述目标应用。After the terminal obtains the recommendation information, the terminal may determine the target application according to the recommendation information.
本申请的实施例中,所述终端可以通过所述推荐信息确定第一列表,其中所述第一列表中包括恢复出厂设置时向所述用户推荐保留的应用,进而再根据所述第一列表确定所述目标应用。In the embodiment of the present application, the terminal may determine, by using the recommendation information, a first list, where the first list includes an application recommended to the user when the factory setting is restored, and then according to the first list. Determining the target application.
本申请的实施例中,所述终端通过所述推荐信息确定所述第一列表可以通过不同的方式确定。所述推荐信息可以包括所述终端上已安装应用的使用综合信息,所述终端根据所述已安装应用的使用综合信息确定所述第一列表。所述推荐信息也可以包括所述终端上已安装应用的使用综合信息和所述已安装应用中各应用的用户行为统计信息,所述终端根据所述已安装应用的使用综合信息和所述已安装应用中各应用的用户行为统计信息确定所述第一列表。In the embodiment of the present application, the terminal determines, by using the recommendation information, that the first list can be determined in different manners. The recommendation information may include usage comprehensive information of an installed application on the terminal, and the terminal determines the first list according to usage comprehensive information of the installed application. The recommendation information may also include usage comprehensive information of the installed application on the terminal and user behavior statistical information of each application in the installed application, and the terminal according to the usage comprehensive information of the installed application and the The user behavior statistics of each application in the installation application determine the first list.
本申请的实施例中,所述终端确定所述第一列表,还可以向所述用户显示所述第一列表,接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用为所述目标应用。In an embodiment of the present application, the terminal determines the first list, and may further display the first list to the user, and receive a selection operation for an application input in the first list to determine the first The selected application in a list is the target application.
可选的,本申请的实施例中,所述终端向所述用户显示所述第一列表,所述第一列表中还可以包括引导按钮,所述引导按钮可以用于引出所述第二列表。所述第二列表可以包括终端上已安装应用中除所述第一列表中的应用以外的其他应用。所述终端确定所述第一列表中被选中的应用后,接收所述用户针对所述引导按钮输入的点击操作,显示所述第二列表,接收所述用户对于所述第二列表中的应用输入的筛选操作,从所述第二列表中确定被选中的应用,将所述第一列表中被选中的应用和所述第二列表中被选中的应用一起确定为所述目标应用。Optionally, in the embodiment of the present application, the terminal displays the first list to the user, and the first list may further include a guide button, where the guide button may be used to extract the second list. . The second list may include other applications in the installed application on the terminal other than the application in the first list. After the terminal determines the selected application in the first list, receiving a click operation input by the user for the guide button, displaying the second list, and receiving the application of the user for the second list And the input filtering operation determines the selected application from the second list, and determines the selected application in the first list together with the selected application in the second list as the target application.
需要说明的是,在本申请的实施例中,所述终端根据所述推荐信息确定所述目标应用的方式有多种,可以通过确定所述第一列表并向所述用户显示所述第一列表,由所述用户从所述第一列表中选择所述目标应用,还可以采用系统默认的方式,例如通过所述推荐信
息获得推荐排序,在所述推荐排序中按照排名从前到后的顺序选择预置数目个应用作为所述目标应用,或者从所述推荐排序中随机挑选预设数目个应用作为所述目标应用,具体此处不做限定。It should be noted that, in an embodiment of the present application, the terminal determines, according to the recommendation information, that there are multiple manners of the target application, and may determine the first list and display the first a list, the user selects the target application from the first list, and may also adopt a system default manner, for example, by using the recommendation letter
Obtaining a recommendation order in which a preset number of applications are selected as the target application in a ranking from front to back, or a predetermined number of applications are randomly selected from the recommended ranking as the target application, This is not limited here.
203、进行恢复出厂设置操作并保留所述目标应用。203. Perform a factory reset operation and retain the target application.
所述终端确定了所述目标应用,可以进行恢复出厂设置操作并保留所述目标应用。The terminal determines the target application, and can perform a factory reset operation and retain the target application.
本申请实施例简单介绍了恢复出厂设置的方法,并提供了多种可能性,例如终端可以根据所述推荐信息确定所述第一列表,其中所述推荐信息可以为所述已安装应用的使用综合信息,也可以为所述已安装应用的使用综合信息和所述已安装应用中各应用的用户行为统计信息。所述终端根据所述推荐信息确定所述第一列表且向所述用户显示第一列表,并确定所述第一列表中被选中的应用为所述目标应用,其中所述第一列表中还可以包括所述引导按钮,故所述终端确定所述第一列表中被选中的应用,还可以接收所述用户对所述引导按钮的点击操作,引出并向所述用户显示所述第二列表,确定得到所述第二列表中被选中的应用,将所述第一列表中被选中的应用和所述第二列表中被选中的应用一起作为所述目标应用。因此,本申请实施例中恢复出厂设置的方式可以有多种,举例说明如下:The embodiment of the present application briefly introduces a method for restoring the factory settings, and provides various possibilities. For example, the terminal may determine the first list according to the recommendation information, where the recommendation information may be used by the installed application. The comprehensive information may also be comprehensive usage information of the installed application and user behavior statistics information of each application in the installed application. Determining, by the terminal, the first list according to the recommendation information, and displaying the first list to the user, and determining that the selected application in the first list is the target application, where the first list is further The guiding button may be included, so the terminal determines the selected application in the first list, and may further receive a click operation of the guiding button by the user, and extract and display the second list to the user. Determining to obtain the selected application in the second list, and using the selected application in the first list together with the selected application in the second list as the target application. Therefore, there are various ways to restore the factory settings in the embodiment of the present application, as illustrated by the following examples:
方式一:所述推荐信息包括所述已安装应用的使用综合信息。Manner 1: The recommendation information includes usage comprehensive information of the installed application.
方式二:所述推荐信息包括所述已安装应用的使用综合信息,且根据所述推荐信息确定的所述第一列表中还包括所述引导按钮。Manner 2: The recommendation information includes usage comprehensive information of the installed application, and the guiding button is further included in the first list determined according to the recommendation information.
方式三:所述推荐信息包括所述已安装应用的使用综合信息和所述已安装应用中各应用的用户行为统计信息。Manner 3: The recommendation information includes usage comprehensive information of the installed application and user behavior statistical information of each application in the installed application.
方式四:所述推荐信息包括所述已安装应用的使用综合信息和所述已安装应用中各应用的用户行为统计信息,且根据所述推荐信息确定的所述第一列表中还包括引导按钮。Manner 4: the recommendation information includes usage comprehensive information of the installed application and user behavior statistical information of each application in the installed application, and the first list further includes a guide button according to the recommended information. .
下面结合具体的实施例对上述各种方式进行说明。The above various modes will be described below in conjunction with specific embodiments.
请参阅图3,介绍本申请实施例通过方式一恢复出厂设置的方法实施例,且在本实施例中,所述推荐信息包括所述已安装应用的使用综合信息,获取所述推荐信息即包括获取所述已安装应用的使用综合信息。Referring to FIG. 3, an embodiment of the method for restoring the factory settings by using the mode 1 in the embodiment of the present application is introduced. In this embodiment, the recommendation information includes comprehensive usage information of the installed application, and the obtaining the recommended information includes Get comprehensive usage information for the installed app.
301、接收所述恢复出厂设置指令,获取所述终端上已安装应用的使用综合信息。301. Receive the factory resetting instruction, and obtain comprehensive usage information of the installed application on the terminal.
用户在使用所述终端的过程中由于系统内存变小或者响应速度慢等原因需要对所述终端进行恢复出厂设置操作,所述终端向所述用户显示系统设置菜单,该系统设置菜单内设有恢复出厂设置选项。如果所述恢复出厂设置选项被选中,所述终端可以从应用商店获取应用商店中各应用的使用综合信息,并从中确定所述终端上的已安装应用的使用综合信息,其中所述使用综合信息可以为所述已安装应用在所述应用商店中的热度记录信息,实际应用中,所述热度记录信息可以包括应用的下载次数或者下载次数排行、应用的推荐次数或者推荐次数排行、用户给应用的评分或者该评分排行等,具体此处不做限定。During the process of using the terminal, the user needs to perform a factory reset operation on the terminal due to the system memory becoming smaller or the response speed is slow. The terminal displays a system setting menu to the user, and the system setting menu is provided. Restore factory settings. If the factory reset option is selected, the terminal may acquire usage comprehensive information of each application in the application store from the application store, and determine usage comprehensive information of the installed application on the terminal, wherein the comprehensive information is used. The hot record information may be recorded in the application store of the installed application. In actual application, the heat record information may include the number of downloads or download times of the application, the recommended number of times of application or the number of recommended times, and the application to the application. The rating or ranking of the rating, etc., is not limited here.
需要说明的是,本申请实施例的恢复出厂设置的方法可以与现有技术中恢复出厂设置的方法即用户设置的数据被全部清除的方法,共存于终端上,如图4A所示,为区分两种不同的恢复出厂设置的方法,将本申请实施例的恢复出厂设置的方法在系统设置菜单上称为“懒人恢复出厂设置”,实际应用中还可以称为“自定义恢复出厂设置”或者“DIY恢复
出厂设置”等,此处不做限定。另外,由于通过本申请实施例的恢复出厂设置的方法,也能达到现有技术恢复出厂设置的方法一样的效果,故终端上也可以只有本申请实施例的恢复出厂设置的方法。It should be noted that the method for restoring the factory settings in the embodiment of the present application may coexist with the method of restoring the factory setting in the prior art, that is, the method that the user-set data is completely cleared, as shown in FIG. 4A, Two different methods for restoring the factory settings, the method for restoring the factory settings in the embodiment of the present application is called “lazy recovery factory setting” on the system setting menu, and the actual application may also be referred to as “custom reset factory setting”. Or "DIY recovery
The factory setting and the like are not limited herein. In addition, since the method of restoring the factory setting by the embodiment of the present application can achieve the same effect as the prior art method of restoring the factory setting, the terminal can also be implemented only by the present application. The method of restoring the factory settings.
另外,本申请实施例中的所述终端可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、移动互联网设备(Mobile Internet Device,MID)、平板电脑、移动电话或智能电视等,具体此处不做限定。In addition, the terminal in the embodiment of the present application may be a communication terminal, an internet terminal, and a music/video playing terminal, and may be, for example, a PDA, a mobile internet device (MID), a tablet computer, a mobile phone, or a smart TV. , specifically here is not limited.
302、根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序。302. Determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application.
所述终端获取所述已安装应用的使用综合信息后,通过所述使用综合信息得到所述已安装应用的热度排序。例如,设所述已安装应用为微信、知乎、大众点评和高德地图,所述已安装应用的使用综合信息如表1所示,需要说明的是,本申请实施例中,下载次数越多,表示应用的热度越大,其热度排序也越靠前,故所述终端按照下载次数从大到小的顺序得到所述已安装应用的热度排序为微信>大众点评>知乎>高德地图。After the terminal obtains the usage comprehensive information of the installed application, the hot content ranking of the installed application is obtained by using the comprehensive information. For example, the installed application is the WeChat, the Sense, the Public Comment, and the High German map. The comprehensive information of the installed application is as shown in Table 1. It should be noted that, in the embodiment of the present application, the downloading frequency is more More, indicating that the application is hotter, the hotter order is also higher. Therefore, the terminal obtains the hotness of the installed application according to the order of downloading from the order of the number of downloads to WeChat>Public Comments>Korean>Gaode map.
表1Table 1
已安装应用Installed app | 微信WeChat | 知乎Know almost | 大众点评Public comment | 高德地图Gaode Map |
下载次数(万)Downloads (ten thousand) | 50.7450.74 | 20.1620.16 | 28.4928.49 | 10.0810.08 |
或者,本申请实施例中,所述终端从所述应用商店获得的各应用的使用综合信息为下载次数排行,例如,所述应用商店中各应用的下载次数排行为微信>微博>美图秀秀>英汉词典>手机营业厅,所述终端上的已安装应用为英汉词典、微博和微信,则所述终端获得的所述已安装应用的使用综合信息为微信>微博>英汉词典,则所述终端可将所述已安装应用的使用综合信息作为所述已安装应用的热度排序。Or, in the embodiment of the present application, the usage comprehensive information of each application obtained by the terminal from the application store is ranked as the number of downloads, for example, the number of downloads of each application in the application store is in a micro-letter > microblog > pico Xiu Xiu>English-Chinese Dictionary>Mobile phone business hall, the installed application on the terminal is English-Chinese dictionary, Weibo and WeChat, then the comprehensive information of the installed application obtained by the terminal is WeChat>微博>English-Chinese dictionary And the terminal may use the usage comprehensive information of the installed application as the heat ranking of the installed application.
可选的,实际应用中,所述应用的热度排序还可与所述应用的热度负相关,即所述应用的热度越大,其热度排序越靠后,具体此处不做限定。Optionally, in an actual application, the heat ordering of the application may be negatively related to the heat of the application, that is, the hotter the application is, the more the heat ranking is later, which is not limited herein.
303、根据所述热度排序确定第一列表。303. Determine a first list according to the heat ranking.
所述终端确定所述已安装应用的热度排序,且由于所述已安装应用的热度越大,其热度排序也越靠前,故按照热度排序从前到后的顺序确定前N个应用,以得到包括所述N个应用的第一列表,其中所述N为正整数。Determining, by the terminal, the heat ranking of the installed application, and because the hotness of the installed application is greater, the hotness is ranked higher, so the top N applications are determined in order from the front to the back according to the heat ranking to obtain A first list of the N applications is included, wherein the N is a positive integer.
需要说明的是,本申请实施例中,也可从所述热度排序中随机挑选所述N个应用来得到所述第一列表,故挑选所述第一列表中的应用的方式具体此处不做限定。It should be noted that, in the embodiment of the present application, the N applications may be randomly selected from the heat ranking to obtain the first list, so the manner of selecting the applications in the first list is not specifically herein. Make a limit.
304、显示所述第一列表。304. Display the first list.
所述终端确定所述第一列表并向所述用户显示所述第一列表,例如,如图4B所示,假设所述第一列表中包括微信、支付宝和今日头条,各应用图标右侧对应有选择按钮“○”,使得用户可以通过单击所述选择按钮来选择所述目标应用,其中所述目标应用为恢复出厂设置时需要保留的应用,可选的,所述终端向所述用户显示的界面中还可包括全选按钮,所述全选按钮用于使所述用户一键选择所述第一列表中的所有应用作为所述目标应用,另外,实际情况中还存在所述用户需要将所述第一列表中的所有应用进行清除的情况,故所述用户可以点击“下一步”按钮进入恢复出厂设置操作,其中,所述“下一步”按钮还可以称为“跳过”按钮等,具体此处不做限定。
The terminal determines the first list and displays the first list to the user. For example, as shown in FIG. 4B, it is assumed that the first list includes WeChat, Alipay, and Today's headline, and the right side of each application icon corresponds to There is a selection button "○", so that the user can select the target application by clicking the selection button, wherein the target application is an application that needs to be retained when the factory settings are restored. Optionally, the terminal is directed to the user. The displayed interface may further include a select button, wherein the select button is used to enable the user to select all the applications in the first list as the target application by one button, and in addition, the user still exists in the actual situation. The application of all the applications in the first list needs to be cleared, so the user can click the “Next” button to enter the factory reset operation, wherein the “Next” button may also be referred to as “skip”. Buttons, etc., are not limited here.
可以理解的是,实际应用中,所述终端向所述用户提供的确定所述目标应用的方式除了单击所述选择按钮外,还有多种方式,例如单击应用图标、或者单击应用图标对应的行区域的位置,故确定所述目标应用的方式具体此处不做限定。It can be understood that, in an actual application, the manner in which the terminal provides the user to determine the target application may be performed in various manners, such as clicking an application icon or clicking an application, in addition to clicking the selection button. The location of the line area corresponding to the icon, so the manner of determining the target application is not limited herein.
305、接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选择的应用为所述目标应用。305. Receive a selection operation for an application input in the first list to determine that the selected application in the first list is the target application.
所述终端向所述用户显示所述第一列表,所述用户点击所述终端屏幕以使得所述终端接收针对所述第一列表中的应用进行选择的选择操作,所述终端通过所述选择操作确定所述第一列表中被选中的应用为所述目标应用。在图4B的基础上,当所述用户确定微信应用为所述第一列表中被选中的应用时,单击所述微信图标右侧的选择按钮“○”,如图4C所示,所述微信图标右侧的所述选择按钮“○”变为确定按钮“√”,以提示所述用户所述微信应用已被选中。The terminal displays the first list to the user, the user clicks on the terminal screen to cause the terminal to receive a selection operation for selecting an application in the first list, and the terminal passes the selection The operation determines that the selected application in the first list is the target application. On the basis of FIG. 4B, when the user determines that the WeChat application is the selected application in the first list, click the selection button “○” on the right side of the WeChat icon, as shown in FIG. 4C. The selection button "○" on the right side of the WeChat icon becomes the OK button "√" to prompt the user that the WeChat application has been selected.
可选的,所述用户还可以直接单击应用图标以将该应用选为所述第一列表中被选中的应用,如图4D所示,当所述用户单击微信图标作为所述第一列表中被选中的应用时,所述微信图标对应的行区域位置的颜色差异于其他应用图标对应的行区域位置的颜色,已提示所述用户所述微信应用被选中。故所述应用被选中的方式具体此处不做限定。Optionally, the user may also directly click the application icon to select the application as the selected application in the first list, as shown in FIG. 4D, when the user clicks the WeChat icon as the first When the selected application is in the list, the color of the line area position corresponding to the WeChat icon is different from the color of the line area position corresponding to the other application icons, and the user has been prompted to select the WeChat application. Therefore, the manner in which the application is selected is not limited herein.
306、展示提示信息。306. Display prompt information.
由于所述用户在通过所述终端使用应用的过程中,会产生对应的应用数据,所述应用数据包括应用程序本身数据、所述应用程序配置数据、所述应用优化数据或所述应用程序的用户数据,例如使用微信时会产生聊天记录、微信登录密码、应用授权信息等,故所述终端可以接收到所述用户输入的选择操作,并在所述终端屏幕上展示所述提示信息,所述提示信息可以用于提示所述用户是否需要保留所述目标应用的数据,如图4E所示,所述终端向所述用户显示所述第一列表,用户从所述第一列表中选择微信为所述第一列表中被选中的应用即所述目标应用时,所述终端显示提示框,以提示所述用户是否需要保留所述微信的应用数据。Since the user uses the application in the process of using the application by the terminal, the application data includes application data, the application configuration data, the application optimization data, or the application. The user data, for example, when using WeChat, generates a chat record, a WeChat login password, an application authorization information, etc., so that the terminal can receive the selection operation input by the user, and display the prompt information on the terminal screen. The prompt information may be used to prompt the user whether to retain data of the target application. As shown in FIG. 4E, the terminal displays the first list to the user, and the user selects WeChat from the first list. When the selected application in the first list is the target application, the terminal displays a prompt box to prompt the user whether to retain the application data of the WeChat.
307、接收针对所述提示信息的反馈操作。307. Receive a feedback operation for the prompt information.
所述终端向所述用户展示是否保留所述目标应用的数据的提示信息,并接收所述用户针对所述提示信息的反馈操作,所述反馈操作可以用于向所述终端指示是否保留所述目标应用的数据,若保留,则所述终端在恢复出厂设置时保留所述目标应用以及所述目标应用的数据;若不保留,则所述终端在恢复出厂设置时仅保留所述目标应用,但清除所述目标应用的数据。The terminal indicates to the user whether to retain the prompt information of the data of the target application, and receives a feedback operation of the user for the prompt information, where the feedback operation may be used to indicate to the terminal whether to retain the If the data of the target application is retained, the terminal retains the data of the target application and the target application when restoring the factory settings; if not, the terminal retains only the target application when restoring the factory settings. But clear the data of the target application.
可以理解的是,本申请实施例中,所述目标应用可以包括多个应用,故所述用户每次在所述终端输入选择操作来确定一个目标应用时,所述终端便向所述用户发送提示信息,以确定所述各目标应用的数据是否保留。It can be understood that, in the embodiment of the present application, the target application may include multiple applications, so each time the user inputs a selection operation to determine a target application, the terminal sends the target application to the user. A prompt message is determined to determine whether the data of each target application is retained.
需要说明的是,本申请实施例中,所述终端通过步骤305和步骤306向所述用户确定是否保留所述目标应用的数据,实际应用中,所述终端可以默认清除所述目标应用的数据或者默认保留目标应用的数据,具体此处不做限定。It should be noted that, in the embodiment of the present application, the terminal determines, by using the steps 305 and 306, whether to retain the data of the target application, and in actual application, the terminal may clear the data of the target application by default. Or the data of the target application is retained by default, which is not limited here.
可选的,为避免所述用户误操作,所述终端在进行所述恢复出厂设置之前,可以向所
述用户提示是否确认进行所述恢复出厂设置操作,在所述终端接收到确认操作指令后,再进行所述恢复出厂设置操作。Optionally, in order to prevent the user from misoperation, the terminal may go to the factory before performing the restoring the factory settings.
The user prompts whether to confirm the performing the factory reset operation, and after the terminal receives the confirmation operation instruction, performs the restoring factory setting operation.
308、将所述目标应用进行隔离移入隔离区。308. The target application is isolated and moved into the isolation area.
所述终端确定所述目标应用,可以通过所述目标应用的应用名称识别出对应的应用程序安装包文件,将所述目标应用进行隔离存储在预先设定的隔离区,另外,所述用户还可以选择将所述目标应用的数据保留,故所述终端可以依据数据的存储路径,比如/data/data/package_name/files,获得所述目标应用的数据并存储到隔离区。Determining, by the terminal, the target application, the corresponding application installation package file may be identified by using the application name of the target application, and the target application is stored in a preset isolation area, and the user is further The data of the target application may be reserved, so the terminal may obtain the data of the target application according to a storage path of the data, such as /data/data/package_name/files, and store the data in the quarantine.
需要说明的是,所述隔离区可以为保护目录,例如在Android系统中,所述保护目录可以设定为/data/dalvik-cache、/data/media和/或/data/lost+found,具体此处不做限定。It should be noted that the quarantine area may be a protection directory. For example, in an Android system, the protection directory may be set to /data/dalvik-cache, /data/media, and/or /data/lost+found. There is no limit here.
309、将所述已安装应用中未移入隔离区的应用进行所述恢复出厂设置操作。309. Perform the factory reset operation on an application that is not moved into the isolation area in the installed application.
所述终端将所述目标应用存储到隔离区,并发送清除广播。例如,当所述终端的系统为Android系统时,所述Android系统发送MASTER_CLEAR广播,对应的,MasterClearReceiver会接收到所述MASTER_CLEAR广播,并进入recovery模式,读取/cache/recovery目录下的command文件,获取该command文件中与清除数据属性值相对应的命令字段,依据所述命令字段确定清除数据的方式。本申请实施例中,所述command设定所述保留隔离区内的所述目标应用,将所述已安装应用中未移入隔离区的应用清除。The terminal stores the target application to the quarantine and sends a clear broadcast. For example, when the system of the terminal is an Android system, the Android system sends a MASTER_CLEAR broadcast. Correspondingly, the MasterClearReceiver receives the MASTER_CLEAR broadcast, enters the recovery mode, and reads the command file in the /cache/recovery directory. Obtaining a command field corresponding to the clear data attribute value in the command file, and determining a manner of clearing the data according to the command field. In the embodiment of the present application, the command sets the target application in the reserved isolation zone, and clears an application that is not moved into the isolation zone in the installed application.
需要说明的是,所述终端可以通过步骤307和步骤308将所述目标应用移入所述隔离区以在所述恢复出厂设置操作时保留,实际应用中,还可以在所述目标应用中添加标志位,所述标志位用来表示进行所述恢复出厂设置操作时保留所述目标应用,再将所述已安装应用中未添加标志位的应用清除;或者,记录所述终端上的已安装应用,为所述目标应用建立白名单列表。在清除应用时,判断应用是否位于所述白名单列表内,若不位于所述白名单列表内,则清除所述应用和所述应用的数据;若位于所述白名单列表内,则保留所述应用,还可以通过所述白名单列表确定是否保留或清除应用的数据。It should be noted that the terminal may move the target application into the isolation area by using steps 307 and 308 to be retained during the factory reset operation. In an actual application, a flag may also be added to the target application. a bit, the flag bit is used to indicate that the target application is retained when the factory reset operation is performed, and the application that does not add a flag bit in the installed application is cleared; or, the installed application on the terminal is recorded. , creating a whitelist for the target application. When the application is cleared, it is determined whether the application is located in the whitelist, and if not in the whitelist, the data of the application and the application is cleared; if it is located in the whitelist, the reservation is retained. For the application, it is also possible to determine whether to retain or clear the data of the application through the whitelist list.
本申请实施例中,可以通过所述应用商店的已安装应用的使用综合信息确定所述第一列表来向所述用户推荐进行所述恢复出厂设置时保留的应用,对于一些下载次数高的已安装应用或者评分高的已安装应用在进行所述恢复出厂设置时选择过滤,增加了使用体验。In the embodiment of the present application, the first list may be determined by using the comprehensive information of the installed application of the application store to recommend, to the user, the application retained when the factory reset is performed, for some downloads with high number of downloads. Installed apps or high-rated installed apps choose to filter when performing the factory reset, increasing the experience.
请参阅图5,介绍本申请实施例中通过方式二恢复出厂设置的另一方法实施例,且在本实施例中,推荐信息包括已安装应用的使用综合信息,获取所述推荐信息即获取所述已安装应用的使用综合信息。Referring to FIG. 5, another embodiment of the method for restoring the factory setting by the second method in the embodiment of the present application is introduced. In this embodiment, the recommendation information includes the usage comprehensive information of the installed application, and the recommended information is obtained. Comprehensive information on the use of installed applications.
501、接收恢复出厂设置指令,获取所述终端上已安装应用的使用综合信息。501. Receive a factory resetting instruction, and obtain comprehensive usage information of the installed application on the terminal.
502、根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序。502. Determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application.
503、根据所述热度排序确定所述第一列表。503. Determine the first list according to the heat ranking.
本申请实施例中,步骤501至步骤503与图3所示的步骤301至步骤303类似,此处不再赘述。In the embodiment of the present application, the steps 501 to 503 are similar to the steps 301 to 303 shown in FIG. 3, and details are not described herein again.
504、显示所述第一列表。504. Display the first list.
所述终端根据所述热度排序确定第一列表,并向用户显示所述第一列表,其中所述第一列表中包括N个应用,还可以包括引导按钮,所述引导按钮可以用于引出第二列表,在
所述第二列表中,可以包括所述已安装应用中除所述第一列表以外的其他应用。例如,如图6A所示,所述第一列表中包括微信、支付宝和今日头条,各应用图标右侧对应有选择按钮“○”,使得所述用户通过单击所述选择按钮来选择所述目标应用,所述第一列表中的引导按钮可以为所述已安装应用对应的行区域的位置,使得所述用户可以点击该区域的任意位置,终端便会显示所述第二列表,可选的,所述终端向所述用户显示的界面中还可包括全选按钮。另外,实际情况中存在所述用户需要将所述终端上所述用户设置的所有数据全部清除的情况,故所述用户可以点击“下一步”按钮进入所述恢复出厂设置操作,其中,所述“下一步”按钮还可以称为“跳过”按钮等。Determining, by the terminal, the first list according to the heat ranking, and displaying the first list to a user, where the first list includes N applications, and may further include a guide button, where the guide button may be used to lead the Second list, at
The second list may include other applications in the installed application except the first list. For example, as shown in FIG. 6A, the first list includes WeChat, Alipay, and Today's headline, and the right side of each application icon corresponds to a selection button “○”, so that the user selects the button by clicking the selection button. a target application, the guide button in the first list may be a location of a line area corresponding to the installed application, so that the user can click anywhere in the area, and the terminal displays the second list, optionally The terminal may also include a select button in the interface displayed by the terminal to the user. In addition, in actual situations, the user needs to clear all the data set by the user on the terminal, so the user may click the “Next” button to enter the factory reset operation, where the The "Next" button can also be referred to as a "skip" button or the like.
可以理解的是,实际应用中,所述终端显示所述第二列表的方式有多种,例如,所述终端接收所述用户的滑动操作,所述滑动操作可以为所述用户在所述终端屏幕上从右往左滑动至少预置距离,并显示所述第二列表。故所述终端显示所述第二列表的方式此处不做限定。It can be understood that, in an actual application, the terminal displays the second list in multiple manners, for example, the terminal receives a sliding operation of the user, and the sliding operation may be that the user is in the terminal. The screen slides from right to left by at least a preset distance and displays the second list. Therefore, the manner in which the terminal displays the second list is not limited herein.
505、接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用。505. Receive a selection operation for an application input in the first list to determine a selected application in the first list.
本申请实施例中,步骤505中所述终端接收针对所述第一列表中的应用输入的选择操作,可以确定所述第一列表中被选中的应用的方式,与图3的步骤305中所述终端接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用的方式类似,此处不再赘述。In the embodiment of the present application, in step 505, the terminal receives a selection operation for the application input in the first list, and may determine a manner of the selected application in the first list, and is performed in step 305 of FIG. 3 The manner in which the terminal receives the selection operation for the application in the first list to determine the selected application in the first list is similar, and details are not described herein again.
506、展示第一提示信息。506. Display the first prompt information.
所述终端接收到所述用户针对所述第一列表中的应用输入的选择操作后,展示所述第一提示信息,其中所述第一提示信息可以用于提示所述用户是否保留所述第一列表中被选中的应用的数据,且本申请实施例中,步骤506中所述终端展示所述第一提示信息的方式与图3的步骤306展示所述提示信息的方式类似,此处不再赘述。After receiving the selection operation input by the user for the application in the first list, the terminal displays the first prompt information, where the first prompt information may be used to prompt the user whether to retain the first The data of the selected application in the list, and in the embodiment of the present application, the manner in which the terminal displays the first prompt information in step 506 is similar to the manner in which the prompt information is displayed in step 306 of FIG. Let me repeat.
507、接收针对所述第一提示信息的第一反馈操作。507. Receive a first feedback operation for the first prompt information.
本申请实施例中,所述终端通过步骤507接收针对所述第一提示信息的第一反馈操作的方式与图3中的步骤307接收针对所述提示信息的反馈操作类似,此处不再赘述。In the embodiment of the present application, the manner in which the terminal receives the first feedback operation for the first prompt information in step 507 is similar to the feedback operation on the prompt information in step 307 in FIG. 3, and details are not described herein again. .
508、接收对所述引导按钮输入的点击操作并显示所述第二列表。508. Receive a click operation on the guide button input and display the second list.
所述终端接收所述用户对所述引导按钮输入的点击操作,可以向用户显示所述第二列表,例如如图6B所示,所述第二列表中包括所述已安装应用中除所述第一列表中的应用的其他应用,所述包括终端上的预装应用如文件管理、视频和华为支付等,和用户下载的应用如今日头条等,各应用图标右侧对应有选择按钮,使得所述用户通过单击所述选择按钮来选择所述第二列表中被选中的应用,其中所述第二列表中被选中的应用为进行所述恢复出厂设置时需要保留的应用,且所述第二列表中被选中的应用右侧对应的选择按钮颜色可以区别于其他应用对应的选择按钮,以提示所述用户该应用被选中。可选的,所述终端向所述用户显示的界面中还可包括全选按钮,所述全选按钮用于使所述用户一键选择所述第二列表中的所有应用作为所述第二列表中被选中的应用。Receiving, by the terminal, the click operation of the user to input the guide button, the second list may be displayed to the user, for example, as shown in FIG. 6B, the second list includes the installed application except the Other applications of the application in the first list, including pre-installed applications on the terminal, such as file management, video and Huawei payment, etc., and applications downloaded by the user, such as the current headline, etc., and the right side of each application icon has a selection button, so that The user selects the selected application in the second list by clicking the selection button, wherein the selected application in the second list is an application that needs to be retained when performing the restoring factory setting, and the The color of the selection button corresponding to the right side of the selected application in the second list may be distinguished from the selection button corresponding to other applications to prompt the user that the application is selected. Optionally, the terminal may further include a select button in the interface displayed by the terminal, where the select button is used to enable the user to select all applications in the second list as the second The selected application in the list.
509、接收针对所述第二列表中的应用输入的筛选操作,以确定所述第二列表中被选中
的应用。509. Receive a screening operation for an application input in the second list to determine that the second list is selected
Applications.
本实施例中,所述终端通过步骤509接收针对所述第二列表中的应用输入的筛选操作的方式,与图3中所述终端通过步骤305接收针对所述第一列表中的应用输入的选择操作的方式类似,此处不再赘述。In this embodiment, the terminal receives, by using step 509, a screening operation for the application input in the second list, and the terminal in FIG. 3 receives the input for the application in the first list through step 305. The way to select an operation is similar and will not be described here.
510、展示第二提示信息。510. Display second prompt information.
511、接收针对所述第二提示信息的第二反馈操作。511. Receive a second feedback operation for the second prompt information.
本实施例中,所述第二提示信息用于提示所述用户是否保留所述第二列表中被选中的应用的数据,且所述终端通过步骤510至步骤511,向所述用户展示所述第二提示信息并接收所述用户针对所述第二提示信息的第二反馈操作的方式,与图3中所述终端通过步骤306至步骤307,向所述用户展示所述提示信息并接收所述用户针对所述提示信息的反馈操作的方式类似,此处不再赘述。In this embodiment, the second prompt information is used to prompt the user whether to retain data of the selected application in the second list, and the terminal displays the content to the user by using steps 510 to 511. a second prompt information and a manner of receiving a second feedback operation of the second prompt information by the user, and the terminal in FIG. 3, by using steps 306 to 307, present the prompt information to the user and receive the The manner in which the user performs feedback operations on the prompt information is similar, and details are not described herein again.
512、将所述第一列表中被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。512. Determine the selected application in the first list and the selected application in the second list as the target application.
所述终端确定了所述第一列表中被选中的应用,以及所述第二列表中被选中的应用,将两者一起确定为所述目标应用。The terminal determines the selected application in the first list, and the selected application in the second list, and determines the two together as the target application.
513、将所述目标应用进行隔离移入隔离区。513. The target application is isolated and moved into the isolation area.
514、将所述已安装应用中未移入隔离区的应用进行所述恢复出厂设置操作。514. Perform the factory reset operation on an application that is not moved into the isolation area in the installed application.
本实施例中,步骤513至步骤514与图3中的步骤308至步骤309类似,此处不再赘述。In this embodiment, the steps 513 to 514 are similar to the steps 308 to 309 in FIG. 3, and details are not described herein again.
本申请实施例中,所述终端可以通过所述已安装应用的使用综合信息向所述用户进行所述推荐恢复出厂设置时保留的应用,并可以由所述用户按照自己的意愿从所述已安装应用中选择需要保留的应用,增加了所述用户挑选需要保留的应用的方式,提升了操作体验。In the embodiment of the present application, the terminal may perform an application retained by the recommended restoration to the factory setting by using the integrated information of the installed application, and may be used by the user according to his or her own will. Selecting an application to be retained in the installation application increases the manner in which the user selects an application that needs to be retained, thereby improving the operation experience.
请参阅图7,介绍本申请实施例通过方式三恢复出厂设置的另一方法实施例,且本实施例中,所述推荐信息包括所述已安装应用的使用综合信息和包括所述已安装应用中各应用的用户行为统计信息,则获取推荐信息包括获取所述已安装应用的使用综合信息和获取所述已安装应用中各应用的用户行为统计信息。Referring to FIG. 7 , another embodiment of the method for restoring the factory settings by using the third method in the embodiment of the present application is described. In this embodiment, the recommendation information includes usage comprehensive information of the installed application and includes the installed application. The user behavior statistics information of each application includes obtaining comprehensive usage information of the installed application and obtaining user behavior statistics information of each application in the installed application.
701、接收所述恢复出厂设置指令,获取所述终端上已安装应用的使用综合信息。701. Receive the factory resetting instruction, and obtain comprehensive usage information of the installed application on the terminal.
702、根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序。702. Determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application.
本申请实施例中,步骤701至步骤702与图3所示的步骤301至步骤302类似,此处不再赘述。In the embodiment of the present application, the steps 701 to 702 are similar to the steps 301 to 302 shown in FIG. 3, and details are not described herein again.
703、获取所述已安装应用中各应用的用户行为统计信息。703. Obtain user behavior statistics information of each application in the installed application.
所述用户使用所述终端上已安装应用,所述终端可以通过内置的用户行为分析程序记录所述用户对所述每一个已安装应用的用户行为统计信息,其中所述用户行为统计信息可以包括使用频率和停留时间。The user uses the application installed on the terminal, and the terminal may record the user behavior statistics information of the user for each installed application by using a built-in user behavior analysis program, where the user behavior statistics information may include Frequency of use and residence time.
可选的,本申请实施例中,所述用户行为统计信息也可以仅包括所述使用频率或者仅包括所述停留时长,具体此处不做限定。Optionally, in the embodiment of the present application, the user behavior statistics information may include only the frequency of use or only the duration of the stay, which is not limited herein.
704、统计所述已安装应用中各应用的使用频率和停留时间。
704. Count the usage frequency and the staying time of each application in the installed application.
所述终端获取到所述已安装应用中各应用的用户行为统计信息,且所述用户行为统计信息包括使用频率和停留时间,终端可以将所述已安装应用中的每一个应用的使用频率和停留时间按照预置时间段进行统计,例如统计第一预定时段内的使用频率最高的应用进行排序,以及统计第二预定时段内的停留时间最长的应用进行排序,可以理解的是,第一预定时段与第二预定时段可以相同,也可以不同,具体此处不做限定。The terminal obtains user behavior statistics information of each application in the installed application, and the user behavior statistics information includes a usage frequency and a dwell time, and the terminal may use the frequency of use of each application in the installed application. The dwell time is counted according to a preset time period, for example, counting the applications with the highest frequency of use in the first predetermined time period, and counting the applications with the longest dwell time in the second predetermined time period for sorting. It can be understood that the first The predetermined time period and the second predetermined time period may be the same or different, and are not limited herein.
705、将所述已安装应用中的应用按照使用频率从高到低进行排序确定频率排序。705. Sort the frequency of the applications in the installed application according to the frequency of use from high to low.
所述终端调用所述第一预定时段内统计得到的所述已安装应用中各应用的使用频率,将所述各应用按照使用频率从高到低的顺序进行排序得到所述频率排序,例如,假设所述第一预定时段为3个月,所述已安装应用包括{微信,知乎,今日头条,支付宝,词典},对应的3个月内的使用频率为{247,93,164,197,46},则将所述已安装应用按照使用频率从高到低排序得到的频率排序为微信>支付宝>今日头条>知乎>词典。The terminal invokes the usage frequency of each application in the installed application that is statistically obtained in the first predetermined period of time, and sorts the applications according to the frequency of use from high to low to obtain the frequency ordering, for example, Assuming that the first predetermined time period is 3 months, the installed application includes {WeChat, Know, Today Headlines, Alipay, Dictionary}, and the corresponding frequency of use within 3 months is {247, 93, 164, 197 , 46}, the frequency of the installed applications sorted according to the frequency of use is ranked as WeChat> Alipay> Today's headline> Known> Dictionary.
706、将所述已安装应用中的应用按照停留时间从长到短进行排序确定时长排序。706. Sort the applications in the installed application according to the stay time from long to short to determine the duration.
本申请实施例中,步骤706中所述终端通过所述停留时间确定所述时长排序的方式与步骤706中所述终端通过所述使用频率确定所述频率排序的方式类似,此处不再赘述。In the embodiment of the present application, the manner in which the terminal determines the duration of the duration by using the dwell time in step 706 is similar to the manner in which the terminal determines the frequency ranking by using the frequency of use in step 706, and details are not described herein again. .
需要注意的是,所述终端通过步骤705确定所述频率排序,通过步骤706确定所述时长排序,这两个过程之间不存在步骤的先后顺序,可以先执行步骤705,也可以先执行步骤706,或者同时执行,具体此处不做限定。It is to be noted that the terminal determines the frequency ordering by using the step 705, and determines the time-sorting by step 706. There is no sequence of steps between the two processes, and step 705 may be performed first, or the steps may be performed first. 706, or at the same time, specifically not limited herein.
另外,本实施例中,所述终端通过步骤703至步骤706即可得到所述频率排序和所述时长排序,通过步骤701至步骤702即可得到所述热度排序,而这两个过程之间并不存在步骤的先后顺序,可以先执行步骤703至步骤706,也可以先执行步骤701至步骤702,或者同时执行,具体此处不做限定。In addition, in this embodiment, the terminal obtains the frequency ordering and the duration sorting through steps 703 to 706, and the hot ordering is obtained through steps 701 to 702, and between the two processes. There is no sequence of steps, and step 703 to step 706 may be performed first, or step 701 to step 702 may be performed first, or may be performed at the same time, which is not limited herein.
707、根据所述热度排序、所述频率排序和所述时长排序确定所述第一列表。707. Determine the first list according to the heat ranking, the frequency ordering, and the duration ordering.
所述终端获得所述已安装应用的热度排序、频率排序和时长排序,将这三者进行权重系数的加权统计,计算并确定推荐应用排序,在本实施例中,应用在所述推荐应用排序中的排名越靠前,则该应用越值得被推荐给用户,故按照所述推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的第一列表,其中所述M为正整数。例如,设所述已安装应用为{今日头条,支付宝,词典,知乎,微信},其中所述已安装应用的热度排序、频率排序和时长排序如表2所示,数字1至5分别表示排名,如微信的频率排序为1,即表示其在所述第一预定时间段内的使用频率最高。The terminal obtains the heat ordering, frequency sorting, and duration sorting of the installed application, and performs weighting statistics of the weighting coefficients, and calculates and determines the recommended application ordering. In this embodiment, the application is sorted in the recommended application. The higher the ranking in the middle, the more worthy of the application is recommended to the user, so the first list containing M applications is determined in the installed application in the order from the top to the back according to the recommended application, wherein the M Is a positive integer. For example, the installed application is set to {Today's headline, Alipay, dictionary, know, WeChat}, wherein the heat sorting, frequency sorting, and duration sorting of the installed application are as shown in Table 2, and the numbers 1 to 5 respectively represent Ranking, such as the frequency of WeChat, is ranked as 1, indicating that it is most frequently used during the first predetermined time period.
表2Table 2
热度排序Heat sort | 频率排序Frequency ordering | 时长排序Duration sort | |
今日头条Today's headlines | 33 | 22 | 11 |
支付宝Alipay | 22 | 55 | 55 |
词典dictionary | 55 | 44 | 22 |
知乎Know almost | 44 | 33 | 44 |
微信WeChat | 11 | 11 | 33 |
再针对每一个排序对应用进行打分,比如应用在某一个排序内的排名为1,则给该应
用打5分;排名为2,则给该应用打4分;排名为3,则给该应用打3分,以此类推,可以得到已安装应用在3个排序中的打分如表3所示。Then, the application is scored for each sort. For example, if the application ranks 1 in a certain sort, then the application should be given
Use 5 points; rank 2, then give the application 4 points; rank 3, then give the application 3 points, and so on, you can get the score of the installed application in 3 sorting as shown in Table 3. .
表3table 3
热度分数Heat score | 频率分数Frequency fraction | 时长分数Duration score | |
今日头条Today's headlines | 33 | 44 | 55 |
支付宝Alipay | 44 | 11 | 11 |
词典dictionary | 11 | 22 | 44 |
知乎Know almost | 22 | 33 | 22 |
微信WeChat | 55 | 55 | 33 |
得到所述已安装应用中的每一个应用在各排序的打分后,根据各排序的权重系数进行加权计算综合分数,可根据公式Pi=∑d∈Dwd*pi,d计算所述综合分数,其中Pi可表示应用i的综合分数,D可表示各排序的集合,本实施例中该集合为所述热度排序、所述频率排序和所述时长排序,wd可表示排序d的权重系数,pi,d表示应用i在排序d的打分。Obtaining, after each of the installed applications, the weighting calculation comprehensive score according to each sorted weight coefficient, and calculating the sum according to the formula P i =∑ d∈D w d *p i,d a composite score, where P i can represent a composite score of the application i, and D can represent a set of each sort. In this embodiment, the set is the heat sort, the frequency sort, and the duration sort, and w d can represent the sort d The weighting factor, p i,d represents the score of the application i in the sort d.
其中,可假设所述热度排序的权重系数为0.2,所述频率排序的权重系数为0.3,所述时长排序的权重系数为0.5,故可分别计算得到所述已安装应用中各应用的综合分数如下:Wherein, it can be assumed that the weighting coefficient of the heat ranking is 0.2, the weighting coefficient of the frequency ranking is 0.3, and the weighting coefficient of the time ranking is 0.5, so that the comprehensive scores of each application in the installed application can be separately calculated. as follows:
今日头条的综合分数:P1=∑d∈Dwd*p1,d=0.2*3+0.3*4+0.5*5=4.3;Today's headline composite score: P 1 =∑ d∈D w d *p 1,d =0.2*3+0.3*4+0.5*5=4.3;
支付宝的综合分数:P2=∑d∈Dwd*p2,d=0.2*4+0.3*1+0.5*1=1.6;Alipay's composite score: P 2 =∑ d∈D w d *p 2,d =0.2*4+0.3*1+0.5*1=1.6;
词典的综合分数:P3=∑d∈Dwd*p3,d=0.2*1+0.3*2+0.5*4=2.8;The composite score of the dictionary: P 3 =∑ d∈D w d *p 3,d =0.2*1+0.3*2+0.5*4=2.8;
知乎的综合分数:P4=∑d∈Dwd*p4,d=0.2*2+0.3*3+0.5*2=2.3;Known composite score: P 4 =∑ d∈D w d *p 4,d =0.2*2+0.3*3+0.5*2=2.3;
微信的综合分数:P5=∑d∈Dwd*p5,d=0.2*5+0.3*5+0.5*3=4。The composite score of WeChat: P 5 = ∑ d ∈ D w d * p 5, d = 0.2 * 5 + 0.3 * 5 + 0.5 * 3 = 4.
则将所述已安装应用按照综合分数从大到小的顺序得到所述推荐应用排序为今日头条>微信>词典>知乎>支付宝。假设预置将所述推荐应用排序中的前3个应用作为所述第一列表中的应用,则所述第一列表中的应用包括{今日头条,微信,词典}。Then, the installed application is sorted according to the comprehensive scores in descending order, and the recommended application is sorted into today's headline>WeChat>Dictionary>Know>Alipay. Assuming that the first three applications in the recommended application ranking are preset as the applications in the first list, the applications in the first list include {Today Headlines, WeChat, Dictionary}.
可以理解的是,实际应用中,还可以从得到的所述推荐应用排序中随机挑选M个应用来得到第一列表,具体此处不做限定。It is to be understood that, in an actual application, the M applications may be randomly selected from the obtained recommended application rankings to obtain the first list, which is not limited herein.
可选的,所述终端根据所述热度排序、所述频率排序和所述时长排序确定所述推荐应用排序的方式有多种,例如,在本实施例中的表2的基础上,将每个应用在各排序的排名直接相加得到预测排名,例如微信的排名相加为1+1+3=5,故已安装应用中{今日头条,支付宝,词典,知乎,微信}的排名相加得到的预测排名分别为{6,12,11,11,5},可以理解的是,应用的所述预测排名越小,则该应用越值得被推荐给用户,故所述推荐应用排序为微信>今日头条>词典=知乎>支付宝,另外,当多个应用的预测排名相同时,终端可从中随机选择应用来得到所述第一列表。故确定所述推荐应用排序的方式具体此处不做限定。Optionally, the determining, by the terminal, the manner in which the recommended application is sorted according to the heat ranking, the frequency ordering, and the duration sorting manner, for example, on the basis of Table 2 in this embodiment, The rankings of the applications in each sorting are directly added to get the predicted ranking. For example, the ranking of WeChat is added to 1+1+3=5, so the ranks of {Today's headlines, Alipay, dictionary, know, WeChat} have been installed in the application. The predicted rankings obtained are {6, 12, 11, 11, 5}, respectively. It can be understood that the smaller the predicted ranking of the application, the more worthy of the application is recommended to the user, so the recommended application is ranked as WeChat> Today's Headline>Dictionary=Knowledge> Alipay, in addition, when the prediction rankings of multiple applications are the same, the terminal can randomly select an application from which to obtain the first list. Therefore, the manner of determining the recommended application ordering is not limited herein.
708、显示所述第一列表。708. Display the first list.
709、接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用为所述目标应用。709. Receive a selection operation for an application input in the first list to determine that the selected application in the first list is the target application.
710、展示所述提示信息。
710. Display the prompt information.
711、接收针对所述提示信息的反馈操作。711. Receive a feedback operation for the prompt information.
712、将所述目标应用进行隔离移入所述隔离区。712. The target application is isolated and moved into the isolation area.
713、将所述已安装应用中未移入隔离区的应用进行所述恢复出厂设置操作。713. Perform the factory reset operation on an application that is not moved into the isolation area in the installed application.
本申请实施例中,步骤708至步骤713与图3所示的步骤304至步骤309类似,此处不再赘述。In the embodiment of the present application, the steps 708 to 713 are similar to the steps 304 to 309 shown in FIG. 3, and details are not described herein again.
本申请实施例中,可以通过所述应用商店的已安装应用的使用综合信息和所述已安装应用的用户行为统计信息向所述用户确定所述第一列表,以向所述用户推荐进行所述恢复出厂设置时保留的应用,增加了本申请实施例的实现方式。In the embodiment of the present application, the first list may be determined to the user by using the integrated information of the installed application of the application store and the user behavior statistical information of the installed application, to recommend the user to the user. The application that is retained when the factory settings are restored increases the implementation manner of the embodiment of the present application.
请参阅图8,介绍本申请实施例通过方式四恢复出厂设置的另一方法实施例,且本实施例中,所述推荐信息包括所述已安装应用的使用综合信息和所述已安装应用中各应用的用户行为统计信息,则获取所述推荐信息包括获取所述已安装应用的使用综合信息和获取所述已安装应用中各应用的用户行为统计信息。Referring to FIG. 8 , another embodiment of the method for restoring the factory settings by the method of the fourth embodiment of the present application is described. In this embodiment, the recommendation information includes the usage comprehensive information of the installed application and the installed application. The user behavior statistics information of each application, the obtaining the recommendation information includes acquiring usage comprehensive information of the installed application, and acquiring user behavior statistical information of each application in the installed application.
801、接收所述恢复出厂设置指令,获取所述终端上已安装应用的使用综合信息。801. Receive the factory resetting instruction, and obtain comprehensive usage information of the installed application on the terminal.
802、根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序。802. Determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application.
803、获取所述已安装应用中各应用的用户行为统计信息。803. Obtain user behavior statistics information of each application in the installed application.
804、统计所述已安装应用中各应用的使用频率和停留时间。804. Count the usage frequency and the staying time of each application in the installed application.
805、将所述已安装应用中的应用按照使用频率从高到低进行排序确定所述频率排序。805. Sort the frequency by sorting the applications in the installed application according to the frequency of use from high to low.
806、将所述已安装应用中的应用按照停留时间从长到短进行排序确定所述时长排序。806. Sort the durations of the applications in the installed application according to the stay time from long to short.
807、根据所述热度排序、所述频率排序和所述时长排序确定所述第一列表。807. Determine the first list according to the heat ranking, the frequency ranking, and the duration ranking.
本申请实施例中,步骤801至步骤807与图7中的步骤701至707类似,此处不再赘述。In the embodiment of the present application, the steps 801 to 807 are similar to the steps 701 to 707 in FIG. 7, and details are not described herein again.
808、显示所述第一列表。808. Display the first list.
809、接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用。809. Receive a selection operation for an application input in the first list to determine a selected application in the first list.
810、展示所述第一提示信息。810. Display the first prompt information.
811、接收针对所述第一提示信息的第一反馈操作。811. Receive a first feedback operation for the first prompt information.
812、接收对所述引导按钮输入的点击操作并显示所述第二列表。812. Receive a click operation on the guide button input and display the second list.
813、接收针对所述第二列表中的应用输入的筛选操作,以确定所述第二列表中被选中的应用。813. Receive a screening operation for an application input in the second list to determine a selected application in the second list.
814、展示所述第二提示信息。814. Display the second prompt information.
815、接收针对所述第二提示信息的第二反馈操作。815. Receive a second feedback operation for the second prompt information.
816、将所述第一列表中被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。816. Determine the selected application in the first list and the selected one in the second list as the target application.
817、将所述目标应用进行隔离移入所述隔离区。817. The target application is isolated and moved into the isolation zone.
818、将所述已安装应用中未移入隔离区的应用进行所述恢复出厂设置操作。818. Perform the factory reset operation on an application that is not moved into the isolation area in the installed application.
本申请实施例中,步骤808至步骤818与图5中的步骤504至514类似,此处不再赘述。
In the embodiment of the present application, the steps 808 to 818 are similar to the steps 504 to 514 in FIG. 5, and details are not described herein again.
本申请实施例中,可以根据所述已安装应用的使用综合信息和所述已安装应用的用户行为统计信息向所述用户推荐所述第一列表,并由所述用户按照自己的意愿从所述已安装应用中选择需要保留的应用,增加了本申请实施例的实现方式。In the embodiment of the present application, the first list may be recommended to the user according to the usage comprehensive information of the installed application and the user behavior statistical information of the installed application, and the user selects the first list according to his or her own will. The application that needs to be retained is selected in the installed application, and the implementation manner of the embodiment of the present application is added.
上面对本申请实施例中恢复出厂设置的方法进行了描述,下面对本申请实施例中的终端进行描述,请参阅图9,本申请实施例中终端一个实施例包括:The method for restoring the factory settings in the embodiment of the present application is described above. The following describes the terminal in the embodiment of the present application. Referring to FIG. 9, an embodiment of the terminal in the embodiment of the present application includes:
第一输入单元901,用于接收恢复出厂设置指令,获取所述推荐信息,所述推荐信息中包括所述终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;The first input unit 901 is configured to receive a factory reset instruction, where the recommendation information is obtained, where the recommendation information includes usage comprehensive information of an installed application on the terminal, and the usage comprehensive information is that the installed application is Hot record information in the app store;
确定单元902,用于根据所述推荐信息确定目标应用;a determining unit 902, configured to determine a target application according to the recommendation information;
保留单元903,用于进行恢复出厂设置操作并保留所述目标应用。The retaining unit 903 is configured to perform a factory reset operation and retain the target application.
本申请实施例中,根据获取到的所述推荐信息确定获得所述目标应用,将所述目标应用在恢复出厂设置时保留,使得用户不必重新下载,减少了恢复出厂设置的时间。In the embodiment of the present application, determining the target application according to the obtained recommendation information, and retaining the target application when restoring the factory settings, so that the user does not have to re-download, reducing the time for restoring the factory settings.
为便于理解,下面对本申请实施例中的终端进行详细描述,在上述图9所示的基础上,请参阅图10,为本申请实施例中终端的另一个实施例示意图,所述确定单元1002,包括:第一确定子单元10021、第二确定子单元10022,For the sake of understanding, the terminal in the embodiment of the present application is described in detail below. On the basis of the foregoing FIG. 9 , please refer to FIG. 10 , which is a schematic diagram of another embodiment of the terminal in the embodiment of the present application. The method includes: a first determining subunit 10021, a second determining subunit 10022,
所述第一确定子单元10021,用于根据所述推荐信息确定所述第一列表,所述第一列表包括恢复出厂设置时推荐保留的应用;The first determining subunit 10021 is configured to determine, according to the recommendation information, the first list, where the first list includes an application recommended to be reserved when the factory setting is restored;
所述第二确定子单元10022,用于根据所述第一列表确定所述目标应用。The second determining subunit 10022 is configured to determine the target application according to the first list.
可选的,本申请实施例中终端的另一实施例中,所述第一确定子单元10021包括第一确定模块100211、第二确定模块100212,Optionally, in another embodiment of the terminal in the embodiment of the present application, the first determining subunit 10021 includes a first determining module 100211 and a second determining module 100212.
所述第一确定模块100211,用于根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;The first determining module 100211 is configured to determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application;
所述第二确定模块100212,用于按照所述热度排序从前到后的顺序在所述已安装应用中确定包含N个应用的所述第一列表,所述N为正整数。The second determining module 100212 is configured to determine, in the installed application, the first list including N applications, the N is a positive integer, in the order of the heat ranking from front to back.
可选的,本申请实施例中终端的另一实施例中,所述第一确定子单元10021包括:第一确定模块100211、统计模块100213、第三确定模块100214,Optionally, in another embodiment of the terminal in the embodiment of the present application, the first determining subunit 10021 includes: a first determining module 100211, a statistic module 100213, and a third determining module 100214.
所述第一确定模块100211,用于根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;The first determining module 100211 is configured to determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application;
所述统计模块100213,用于统计所述已安装应用中各应用的使用频率和停留时间,所述使用频率和所述停留时间包含于所述用户行为统计信息;The statistic module 100213 is configured to collect a usage frequency and a dwell time of each application in the installed application, where the usage frequency and the dwell time are included in the user behavior statistical information;
所述第三确定模块100214,用于将所述已安装应用中的应用按照使用频率从高到低进行排序确定所述频率排序;将所述已安装应用中的应用按照所述停留时间从长到短进行排序确定所述时长排序;将所述频率排序、所述时长排序和所述热度排序进行加权统计确定所述推荐应用排序;按照所述推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的所述第一列表,所述M为正整数。The third determining module 100214 is configured to determine, according to a frequency of use, that the applications in the installed application are sorted according to a frequency of use to determine the frequency ordering; and the applications in the installed application are long according to the staying time. Sorting to the short time to determine the duration sorting; sorting the frequency, the duration sorting, and the hot sorting to perform weighted statistics to determine the recommended application ranking; sorting the front-to-back order according to the recommended application in the The first list of M applications is determined in the installation application, and the M is a positive integer.
可选的,本申请实施例中终端的另一实施例中,所述第二确定子单元10022包括:第一显示模块100221、第一输入模块100222,
Optionally, in another embodiment of the terminal in the embodiment of the present application, the second determining subunit 10022 includes: a first display module 100221, a first input module 100222,
所述第一显示模块100221,用于显示所述第一列表;The first display module 100221 is configured to display the first list.
所述第一输入模块100222,用于接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用为所述目标应用。The first input module 100222 is configured to receive a selection operation for an application input in the first list to determine that the selected application in the first list is the target application.
可选的,本申请实施例中终端的另一实施例中,所述第二确定子单元10022包括:第一显示模块100221,第一输入模块100222,第二输入模块100223,第四确定模块100224,Optionally, in another embodiment of the terminal in the embodiment of the present application, the second determining subunit 10022 includes: a first display module 100221, a first input module 100222, a second input module 100223, and a fourth determining module 100224. ,
所述第一显示模块100221,用于显示所述第一列表,所述第一列表中还包括引导按钮,所述引导按钮用于引出第二列表,所述第二列表包括所述已安装应用中除所述第一列表中的应用以外的其他应用;The first display module 100221 is configured to display the first list, the first list further includes a guide button, the guide button is used to lead to the second list, and the second list includes the installed application Other than the application in the first list;
所述第一输入模块100222,用于接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用;The first input module 100222 is configured to receive a selection operation for an application input in the first list to determine an selected application in the first list;
所述第二输入模块100223,用于接收针对所述引导按钮输入的点击操作,并显示所述第二列表;接收针对所述第二列表中的应用输入的筛选操作,以确定所述第二列表中被选中的应用;The second input module 100223 is configured to receive a click operation for the guide button input, and display the second list; receive a screening operation for an application input in the second list to determine the second The selected application in the list;
所述第四确定模块100224,用于将第一列表中的被选中的应用和第二列表中被选中的应用确定为目标应用。The fourth determining module 100224 is configured to determine the selected application in the first list and the selected application in the second list as the target application.
可选的,本申请实施例中终端的另一实施例中,所述终端还包括:展示单元1004,第二输入单元1005,Optionally, in another embodiment of the terminal in the embodiment of the present application, the terminal further includes: a display unit 1004, and a second input unit 1005,
所述展示单元1004,用于展示提示信息,所述提示信息用于提示是否保留所述第一列表中被选中的应用的数据;The display unit 1004 is configured to display prompt information, where the prompt information is used to prompt whether to retain data of the selected application in the first list;
所述第二输入单元1005,用于接收针对所述提示信息输入的反馈操作,以反馈是否保留所述第一列表中被选中的应用的数据。The second input unit 1005 is configured to receive a feedback operation for the prompt information input to feedback whether to retain data of the selected application in the first list.
可选的,本申请实施例中终端的另一实施例中,所述保留单元1003具体包括:移入子单元10031,第一恢复子单元10032,Optionally, in another embodiment of the terminal in the embodiment of the present application, the retaining unit 1003 specifically includes: a moving into the subunit 10031, and a first restoring subunit 10032.
所述移入子单元10031,用于将所述目标应用进行隔离移入隔离区;The moving into the subunit 10031 is configured to perform the isolation and movement of the target application into the isolation area;
所述第一恢复子单元10032,用于将所述已安装应用中未移入隔离区的应用进行所述恢复出厂设置操作。The first recovery subunit 10032 is configured to perform the factory reset operation on an application that is not moved into the isolation area in the installed application.
可选的,本申请实施例中终端的另一实施例中,所述保留单元1003具体包括:添加子单元10033,第二恢复子单元10034,Optionally, in another embodiment of the terminal in the embodiment of the present application, the retaining unit 1003 specifically includes: an adding subunit 10033, and a second restoring subunit 10034.
所述添加子单元10033,用于在所述目标应用中添加标志位,所述标志位用于表示进行所述恢复出厂设置操作时保留所述目标应用;The adding subunit 10033 is configured to add a flag bit in the target application, where the flag bit is used to indicate that the target application is retained when performing the restoring factory setting operation;
所述第二恢复子单元10034,用于将所述已安装应用中未添加标志位的应用进行所述恢复出厂设置操作。The second recovery subunit 10034 is configured to perform the factory reset operation on an application that does not add a flag bit in the installed application.
可选的,本申请实施例中终端的另一实施例中,所述终端还可以包括:显示单元1006,第三输入单元1007,Optionally, in another embodiment of the terminal in the embodiment of the present application, the terminal may further include: a display unit 1006, a third input unit 1007,
所述显示单元1006,用于显示是否确认进行所述恢复出厂设置操作;The display unit 1006 is configured to display whether to confirm the performing the factory reset operation;
所述第三输入单元1007,用于接收确认操作指令,以确认进行所述恢复出厂设置操作。The third input unit 1007 is configured to receive a confirmation operation instruction to confirm that the factory reset operation is performed.
本申请实施例中,还提供了根据所述已安装应用的使用综合信息和所述已安装应用的
用户行为统计信息推荐所述第一列表和/或由用户按照自己的意愿从所述已安装应用中选择需要保留的应用的方式,增加了本申请实施例的实现方式。In the embodiment of the present application, the usage comprehensive information and the installed application according to the installed application are further provided.
The user behavior statistics information is recommended by the first list and/or the manner in which the user selects the application to be retained from the installed application according to the user's will, and the implementation manner of the embodiment of the present application is added.
上面图9和图10从模块化功能实体的角度对本申请实施例中的终端进行描述,下面从硬件处理的角度对本申请实施例中的终端进行详细描述,请参阅图11,本申请实施例中的终端包括:9 and FIG. 10 are a description of the terminal in the embodiment of the present application from the perspective of a modular functional entity. The terminal in the embodiment of the present application is described in detail below from the perspective of hardware processing. Referring to FIG. 11 , in the embodiment of the present application, The terminals include:
图11示出的是与本申请实施例提供的终端的部分结构的框图,所述终端能用于减少恢复出厂设置的时间,为上述实施例中的终端。参考图11,所述终端包括:无线保真(WIFI,Wireless Fidelity)模块1170、射频(RF,Radio Frequency)电路1110、输入单元1131、显示单元1140、存储器1120、处理器1180、音频电路1160和传感器1150等部件。本领域技术人员可以理解,图11中示出的终端结构并不构成对所述终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 11 is a block diagram showing a part of the structure of the terminal provided by the embodiment of the present application. The terminal can be used to reduce the time for restoring the factory settings, which is the terminal in the above embodiment. Referring to FIG. 11, the terminal includes: a Wireless Fidelity (WIFI) module 1170, a Radio Frequency (RF) circuit 1110, an input unit 1131, a display unit 1140, a memory 1120, a processor 1180, an audio circuit 1160, and Sensor 1150 and other components. It will be understood by those skilled in the art that the terminal structure shown in FIG. 11 does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
所述显示单元1140可用于显示进行所述恢复出厂设置时的设置界面,如图4B、图4C、图4D、图4E、图6A和图6B所示的设置界面。所述显示单元1140可包括显示面板1141,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1141。进一步的,触控面板1131可覆盖显示面板1141,当所述触控面板1131检测到在其上或附近的触摸操作后,传送给所述处理器1180以确定触摸事件的类型,随后所述处理器1180根据触摸事件的类型在所述显示面板1141上提供相应的视觉输出。虽然在图11中,所述触控面板1131与所述显示面板1141是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将所述触控面板1131与所述显示面板1141集成而实现终端的输入和输出功能。The display unit 1140 can be used to display a setting interface when the factory reset is performed, as shown in FIG. 4B, FIG. 4C, FIG. 4D, FIG. 4E, FIG. 6A and FIG. The display unit 1140 may include a display panel 1141. Alternatively, the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 1131 may cover the display panel 1141, and when the touch panel 1131 detects a touch operation thereon or nearby, the touch panel 1131 transmits to the processor 1180 to determine the type of the touch event, and then the processing The device 1180 provides a corresponding visual output on the display panel 1141 depending on the type of touch event. Although the touch panel 1131 and the display panel 1141 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1131 may be used in some embodiments. The input and output functions of the terminal are realized by being integrated with the display panel 1141.
所述输入单元1130可用于所述用户在设置界面上进行所述目标应用的选择、针对所述提示信息的反馈等。具体地,所述输入单元1130可包括所述触控面板1131以及其他输入设备1132。所述触控面板1131,也称为触摸屏,可收集用户在其上或附近的触摸操作,例如:用户可以通过所述触摸屏进行所述第一列表中被选中的应用的选择、第一列表中被选中的应用的选择及是否保留应用的数据,例如:通过所述触摸屏单击选择图4C、图4D中所述第一列表中被选中的应用,通过所述触摸屏单击选择图6B中所述第二列表中的应用,或者通过所述触摸屏点击图4E中的提示选项以确定是否保留应用的数据。可选的,所述触控面板1131可包括触摸检测装置和触摸控制器两个部分。其中,所述触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将所述信号传送给触摸控制器;所述触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,发送给所述处理器1180,并能接收所述处理器1180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现所述触控面板1131。除了所述触控面板1131,所述输入单元1130还可以包括其他输入设备1132。具体地,所述其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1130 can be used by the user to perform selection of the target application, feedback for the prompt information, and the like on a setting interface. Specifically, the input unit 1130 may include the touch panel 1131 and other input devices 1132. The touch panel 1131, also referred to as a touch screen, can collect touch operations on or near the user, for example, the user can select, in the first list, the selected application in the first list through the touch screen. Selecting the selected application and whether to retain the data of the application, for example, clicking and selecting the selected application in the first list in FIG. 4C and FIG. 4D through the touch screen, and clicking and selecting the image in FIG. 6B through the touch screen The application in the second list is described, or the prompt option in FIG. 4E is clicked through the touch screen to determine whether to retain the data of the application. Optionally, the touch panel 1131 may include two parts: a touch detection device and a touch controller. Wherein the touch detection device detects a touch orientation of the user and detects a signal brought by the touch operation to transmit the signal to the touch controller; the touch controller receives the touch information from the touch detection device and converts the same The contact coordinates are sent to the processor 1180 and can receive commands from the processor 1180 and execute them. In addition, the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1131, the input unit 1130 may further include other input devices 1132. Specifically, the other input device 1132 may include, but is not limited to, one or more of a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, a joystick, and the like.
所述处理器1180是终端的控制中心,在本申请实施例中,可以获取所述已安装应用的使用综合信息、所述已安装应用的用户行为统计信息,并根据所述使用综合信息确定热度
排序生成第一列表,或者还根据所述用户行为统计信息确定频率排序及时长排序,并通过所述热度排序、所述频率排序以及所述时长排序生成第一列表,以及进行所述恢复出厂设置操作,将所述目标应用移入所述隔离区或者在所述目标应用中添加所述标志位,以保留所述用户确定的恢复出厂设置时需保留的应用或数据。The processor 1180 is a control center of the terminal, and in the embodiment of the present application, the usage comprehensive information of the installed application, the user behavior statistical information of the installed application, and the heat information determined according to the usage comprehensive information may be obtained.
Sorting to generate a first list, or determining frequency sorting and long-term sorting according to the user behavior statistical information, and generating a first list by the heat sorting, the frequency sorting, and the duration sorting, and performing the restoring factory setting An operation of moving the target application into the isolation area or adding the flag bit in the target application to retain an application or data that needs to be retained when the user determines a factory reset.
WIFI属于短距离无线传输技术,所述终端可以通过WIFI模块1170收发电子邮件、浏览网页和访问流式媒体等,提供了无线的宽带互联网访问。WIFI is a short-range wireless transmission technology, and the terminal can provide wireless broadband Internet access by sending and receiving emails, browsing web pages, and accessing streaming media through the WIFI module 1170.
RF电路1110通过总线与所述处理器1180连接,负责向互联网发送数据或者从互联网接收数据,还可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给所述处理器1180处理;另外,将设计上行的数据发送给基站。通常,所述RF电路1110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,所述RF电路1110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1110 is connected to the processor 1180 via a bus, and is responsible for transmitting data to or receiving data from the Internet. It can also be used for receiving and transmitting information or during a call, and receiving and transmitting signals, in particular, after receiving downlink information of the base station. And processing the processor 1180; in addition, transmitting the designed uplink data to the base station. Generally, the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1110 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division Multiple). Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
所述存储器1120可用于存储软件程序以及模块,所述处理器1180通过运行存储在所述存储器1120的软件程序以及模块,从而执行终端的各种功能应用以及数据处理。所述存储器1120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。此外,所述存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1120 can be used to store software programs and modules, and the processor 1180 performs various functional applications and data processing of the terminals by running software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be Stores data (such as audio data, phone book, etc.) created according to the use of the mobile terminal. Moreover, the memory 1120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
在执行本申请实施例的恢复出厂设置的操作过程中:During the operation of restoring the factory settings of the embodiment of the present application:
所述输入单元1130,用于接收恢复出厂设置指令;The input unit 1130 is configured to receive a factory reset command;
所述处理器1180,用于获取推荐信息,所述推荐信息中包括终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;用于根据所述推荐信息确定目标应用;用于进行恢复出厂设置操作并保留所述目标应用。The processor 1180 is configured to obtain recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, where the usage comprehensive information is heat record information of the installed application in an application store; Determining a target application according to the recommendation information; performing a factory reset operation and retaining the target application.
可选的,所述处理器1180具体用于:Optionally, the processor 1180 is specifically configured to:
根据所述推荐信息确定所述第一列表,所述第一列表中包括恢复出厂设置时推荐保留的应用;根据所述第一列表确定所述目标应用。Determining, according to the recommendation information, the first list, where the first list includes an application recommended to be reserved when the factory setting is restored; and determining the target application according to the first list.
可选的,所述处理器1180具体用于:Optionally, the processor 1180 is specifically configured to:
根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;Determining a heat ranking of the installed application according to the usage comprehensive information of the installed application;
按照所述热度排序从前到后的顺序在所述已安装应用中确定包含N个应用的所述第一列表,所述N为正整数。The first list of N applications, the N being a positive integer, is determined in the installed application in a sequence from front to back in accordance with the popularity ranking.
可选的,所述处理器1180还用于:Optionally, the processor 1180 is further configured to:
根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;
Determining a heat ranking of the installed application according to the usage comprehensive information of the installed application;
统计所述已安装应用中各应用的使用频率和停留时间,所述使用频率和所述停留时间包含于所述用户行为统计信息;Counting a usage frequency and a dwell time of each application in the installed application, where the usage frequency and the dwell time are included in the user behavior statistical information;
将所述已安装应用中的应用按照使用频率从高到低进行排序确定所述频率排序;Sorting the frequency in the installed application according to the frequency of use from high to low;
将所述已安装应用中的应用按照停留时间从长到短进行排序确定所述时长排序;Sorting the durations of the applications in the installed application according to the residence time from long to short;
将所述频率排序、所述时长排序和所述热度排序进行加权统计确定推荐应用排序;Sorting the frequency, the duration sorting, and the heat ranking to perform weighted statistics to determine a recommended application ranking;
按照所述推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的所述第一列表,所述M为正整数。Determining, in a front-to-back order of the recommended application, the first list of M applications in the installed application, the M being a positive integer.
可选的,所述终端还包括所述显示单元1140,Optionally, the terminal further includes the display unit 1140,
其中所述显示单元1140,用于显示所述第一列表;The display unit 1140 is configured to display the first list;
所述输入单元1130用于:The input unit 1130 is configured to:
接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用为所述目标应用。A selection operation for an application input in the first list is received to determine that the selected application in the first list is the target application.
可选的,所述终端还包括所述显示单元1140,Optionally, the terminal further includes the display unit 1140,
其中所述显示单元1140,用于显示所述第一列表,所述第一列表中还包括引导按钮,所述引导按钮用于引出第二列表,所述第二列表包括所述已安装应用中除所述第一列表中的应用以外的其他应用;The display unit 1140 is configured to display the first list, where the first list further includes a guide button, the guide button is used to lead to the second list, and the second list includes the installed application Other applications than the applications in the first list;
所述输入单元1130用于:The input unit 1130 is configured to:
接收针对所述第一列表中的应用输入的选择操作,以使得所述处理器1180确定所述第一列表中被选中的应用;接收针对所述引导按钮输入的点击操作,所述显示单元1140显示第二列表;接收针对所述第二列表中的应用输入的筛选操作,以使得所述处理器1180确定所述第二列表中被选中的应用;Receiving a selection operation for an application input in the first list to cause the processor 1180 to determine a selected application in the first list; receiving a click operation for the guidance button input, the display unit 1140 Displaying a second list; receiving a screening operation for an application input in the second list to cause the processor 1180 to determine a selected application in the second list;
所述处理器1180还用于:The processor 1180 is further configured to:
将所述第一列表中的被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。The selected application in the first list and the selected one of the second list are determined as the target application.
可选的,所述显示单元1140还用于:Optionally, the display unit 1140 is further configured to:
展示提示信息,所述提示信息用于提示是否保留所述第一列表中被选中的应用的数据;Presenting prompt information, the prompt information is used to prompt whether to retain data of the selected application in the first list;
所述输入单元1130用于:The input unit 1130 is configured to:
接收针对所述提示信息输入的反馈操作,以反馈是否保留所述第一列表中被选中的应用的数据。A feedback operation for the prompt information input is received to feedback whether to retain data of the selected application in the first list.
可选的,所述处理器1180还用于:Optionally, the processor 1180 is further configured to:
将所述目标应用进行隔离移入隔离区;将所述已安装应用中未移入所述隔离区的应用进行所述恢复出厂设置操作。The target application is isolated and moved into the isolation area; and the application that is not moved into the isolation area in the installed application performs the factory reset operation.
可选的,所述处理器1180还用于:Optionally, the processor 1180 is further configured to:
在所述目标应用中添加标志位,所述标志位用于表示进行所述恢复出厂设置操作时保留所述目标应用;将所述已安装应用中未添加标志位的应用进行所述恢复出厂设置操作。Adding a flag bit in the target application, the flag bit is used to indicate that the target application is retained when performing the restoring factory setting operation; and the application that has not added a flag bit in the installed application performs the restoring factory setting operating.
可选的,所述显示单元1140还用于:Optionally, the display unit 1140 is further configured to:
显示是否确认进行所述恢复出厂设置操作;
Whether to confirm whether the factory reset operation is performed;
所述输入单元1130用于执行如下步骤:The input unit 1130 is configured to perform the following steps:
接收确认操作指令,以确认进行所述恢复出厂设置操作。A confirmation operation command is received to confirm the performing the factory reset operation.
尽管未示出,所述终端还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
The above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions of the embodiments do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (32)
- 一种恢复出厂设置的方法,其特征在于,包括:A method for restoring factory settings, comprising:接收恢复出厂设置指令,获取推荐信息,所述推荐信息中包括终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;Receiving a factory reset command, and obtaining recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, where the usage comprehensive information is heat record information of the installed application in an application store;根据所述推荐信息确定目标应用;Determining a target application according to the recommendation information;进行恢复出厂设置操作并保留所述目标应用。Perform a factory reset operation and retain the target application.
- 根据权利要求1所述的方法,其特征在于,所述根据所述推荐信息确定目标应用包括:The method according to claim 1, wherein the determining the target application according to the recommendation information comprises:根据所述推荐信息确定第一列表,所述第一列表包括恢复出厂设置时推荐保留的应用;Determining, according to the recommendation information, a first list, where the first list includes an application recommended to be retained when the factory setting is restored;根据所述第一列表确定所述目标应用。Determining the target application based on the first list.
- 根据权利要求2所述的方法,其特征在于,所述根据所述推荐信息确定第一列表包括:The method according to claim 2, wherein the determining the first list according to the recommendation information comprises:根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;Determining a heat ranking of the installed application according to the usage comprehensive information of the installed application;按照热度排序从前到后的顺序在所述已安装应用中确定包含N个应用的第一列表,所述N为正整数。A first list of N applications is determined in the installed application in order of popularity ranking from front to back, the N being a positive integer.
- 根据权利要求2所述的方法,其特征在于,所述推荐信息还包括所述已安装应用中各应用的用户行为统计信息,所述根据所述推荐信息确定第一列表包括:The method according to claim 2, wherein the recommendation information further includes user behavior statistics information of each application in the installed application, and determining the first list according to the recommendation information comprises:根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;Determining a heat ranking of the installed application according to the usage comprehensive information of the installed application;统计所述已安装应用中各应用的使用频率和停留时间,所述使用频率和停留时间包含于所述用户行为统计信息;Counting a usage frequency and a dwell time of each application in the installed application, where the usage frequency and the dwell time are included in the user behavior statistical information;将所述已安装应用中的应用按照使用频率从高到低进行排序确定频率排序;Sorting the applications in the installed application according to the frequency of use from high to low to determine the frequency order;将所述已安装应用中的应用按照停留时间从长到短进行排序确定时长排序;Sorting the applications in the installed application according to the residence time from long to short;将所述频率排序、所述时长排序和所述热度排序进行加权统计确定推荐应用排序;Sorting the frequency, the duration sorting, and the heat ranking to perform weighted statistics to determine a recommended application ranking;按照推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的第一列表,所述M为正整数。A first list of M applications, the M being a positive integer, is determined in the installed application in a prioritized order in accordance with a recommended application.
- 根据权利要求2至4中任一项所述的方法,其特征在于,所述根据所述第一列表确定目标应用包括:The method according to any one of claims 2 to 4, wherein the determining the target application according to the first list comprises:显示所述第一列表;Displaying the first list;接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用为所述目标应用。A selection operation for an application input in the first list is received to determine that the selected application in the first list is the target application.
- 根据权利要求2至4中任一项所述的方法,其特征在于,所述根据所述第一列表确定目标应用包括:The method according to any one of claims 2 to 4, wherein the determining the target application according to the first list comprises:显示所述第一列表,所述第一列表中还包括引导按钮,所述引导按钮用于引出第二列表,所述第二列表包括所述已安装应用中除所述第一列表中的应用以外的其他应用;Displaying the first list, the first list further includes a guide button, the guide button is used to lead to the second list, and the second list includes the application in the first list in the installed application Other than the application;接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用;Receiving a selection operation for an application input in the first list to determine an selected application in the first list;接收针对所述引导按钮输入的点击操作,并显示所述第二列表; Receiving a click operation for the boot button input, and displaying the second list;接收针对所述第二列表中的应用输入的筛选操作,以确定所述第二列表中被选中的应用;Receiving a screening operation for an application input in the second list to determine a selected application in the second list;将所述第一列表中的被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。The selected application in the first list and the selected one of the second list are determined as the target application.
- 根据权利要求5或6所述的方法,其特征在于,所述接收针对所述第一列表中的应用输入的选择操作时,所述方法还包括:The method according to claim 5 or 6, wherein when the receiving the selection operation for the application in the first list, the method further comprises:展示提示信息,所述提示信息用于提示是否保留所述第一列表中被选中的应用的数据;Presenting prompt information, the prompt information is used to prompt whether to retain data of the selected application in the first list;接收针对所述提示信息输入的反馈操作,以反馈是否保留所述第一列表中被选中的应用的数据。A feedback operation for the prompt information input is received to feedback whether to retain data of the selected application in the first list.
- 根据权利要求1至7中任一项所述的方法,其特征在于,所述进行恢复出厂设置操作并保留所述目标应用包括:The method according to any one of claims 1 to 7, wherein the performing a factory reset operation and retaining the target application comprises:将所述目标应用进行隔离移入隔离区;The target application is isolated and moved into the isolation zone;将所述已安装应用中未移入所述隔离区的应用进行所述恢复出厂设置操作。The application that has not been moved into the isolation zone in the installed application performs the factory reset operation.
- 根据权利要求1至7中任一项所述的方法,其特征在于,所述进行恢复出厂设置操作并保留所述目标应用包括:The method according to any one of claims 1 to 7, wherein the performing a factory reset operation and retaining the target application comprises:在所述目标应用中添加标志位,所述标志位用于表示进行所述恢复出厂设置操作时保留所述目标应用;Adding a flag bit in the target application, the flag bit being used to indicate that the target application is retained when performing the restoring factory setting operation;将所述已安装应用中未添加所述标志位的应用进行所述恢复出厂设置操作。The application that does not add the flag bit in the installed application performs the factory reset operation.
- 根据权利要求1所述的方法,其特征在于,所述根据所述推荐信息确定目标应用之后,所述进行恢复出厂设置操作并保留所述目标应用之前,所述方法还包括:The method according to claim 1, wherein after the determining the target application according to the recommendation information, before performing the restoring factory setting operation and retaining the target application, the method further includes:显示是否确认进行所述恢复出厂设置操作;Whether to confirm whether the factory reset operation is performed;接收确认操作指令,以确认进行所述恢复出厂设置操作。A confirmation operation command is received to confirm the performing the factory reset operation.
- 一种终端,其特征在于,包括:A terminal, comprising:第一输入单元,用于接收恢复出厂设置指令,获取推荐信息,所述推荐信息中包括终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;a first input unit, configured to receive a factory reset command, and obtain recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, where the usage comprehensive information is a heat of the installed application in an application store record information;确定单元,用于根据所述推荐信息确定目标应用;a determining unit, configured to determine a target application according to the recommendation information;保留单元,用于进行恢复出厂设置操作并保留所述目标应用。A retention unit for performing a factory reset operation and retaining the target application.
- 根据权利要求11所述的终端,其特征在于,所述确定单元包括第一确定子单元、第二确定子单元,The terminal according to claim 11, wherein the determining unit comprises a first determining subunit and a second determining subunit,第一确定子单元,用于根据所述推荐信息确定第一列表,所述第一列表包括恢复出厂设置时推荐保留的应用;a first determining subunit, configured to determine, according to the recommendation information, a first list, where the first list includes an application recommended to be reserved when the factory setting is restored;第二确定子单元,用于根据所述第一列表确定目标应用;a second determining subunit, configured to determine a target application according to the first list;
- 根据权利要求12所述的终端,其特征在于,所述第一确定子单元包括:第一确定模块,第二确定模块,The terminal according to claim 12, wherein the first determining subunit comprises: a first determining module, a second determining module,所述第一确定模块,用于根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序; The first determining module is configured to determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application;所述第二确定模块,用于按照热度排序从前到后的顺序在所述已安装应用中确定包含N个应用的第一列表,所述N为正整数。The second determining module is configured to determine, in the order in which the heat is sorted from front to back, a first list including N applications in the installed application, where N is a positive integer.
- 根据权利要求12所述的终端,其特征在于,所述推荐信息还包括所述已安装应用中各应用的用户行为统计信息,所述第一确定子单元包括:所述第一确定模块,统计模块,第三确定模块,The terminal according to claim 12, wherein the recommendation information further includes user behavior statistics information of each application in the installed application, the first determining subunit comprising: the first determining module, statistics Module, third determination module,所述第一确定模块,用于根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;The first determining module is configured to determine, according to usage comprehensive information of the installed application, a heat ranking of the installed application;所述统计模块,用于统计所述已安装应用中各应用的使用频率和停留时间,所述使用频率和停留时间包含于所述用户行为统计信息;The statistic module is configured to collect a usage frequency and a dwell time of each application in the installed application, where the usage frequency and the dwell time are included in the user behavior statistical information;所述第三确定模块,具体用于:将所述已安装应用中的应用按照使用频率从高到低进行排序确定频率排序;The third determining module is specifically configured to: sort the applications in the installed application according to the frequency of use from high to low;将所述已安装应用中的应用按照停留时间从长到短进行排序确定时长排序;Sorting the applications in the installed application according to the residence time from long to short;将所述频率排序、所述时长排序和所述热度排序进行加权统计确定推荐应用排序;Sorting the frequency, the duration sorting, and the heat ranking to perform weighted statistics to determine a recommended application ranking;按照推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的第一列表,所述M为正整数。A first list of M applications, the M being a positive integer, is determined in the installed application in a prioritized order in accordance with a recommended application.
- 根据权利要求12到14中任一项所述的终端,其特征在于,所述第二确定子单元包括:第一显示模块、第一输入模块,The terminal according to any one of claims 12 to 14, wherein the second determining subunit comprises: a first display module, a first input module,第一显示模块,用于显示所述第一列表;a first display module, configured to display the first list;第一输入模块,用于接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的目标应用。a first input module, configured to receive a selection operation for an application input in the first list to determine a selected target application in the first list.
- 根据权利要求12到14中任一项所述的终端,其特征在于,所述第二确定子单元还包括:所述第一显示模块,所述第一输入模块,第二输入模块,第四确定模块,The terminal according to any one of claims 12 to 14, wherein the second determining subunit further comprises: the first display module, the first input module, the second input module, and the fourth Determine the module,所述第一显示模块,用于显示所述第一列表,所述第一列表中还包括引导按钮,所述引导按钮用于引出第二列表,所述第二列表包括所述已安装应用中除所述第一列表中的应用以外的其他应用;The first display module is configured to display the first list, the first list further includes a guide button, the guide button is used to lead to the second list, and the second list includes the installed application Other applications than the applications in the first list;所述第一输入模块,用于接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的目标应用;The first input module is configured to receive a selection operation for an application input in the first list to determine a selected target application in the first list;所述第二输入模块,用于接收针对所述引导按钮输入的点击操作,并显示所述第二列表;The second input module is configured to receive a click operation for the guide button input, and display the second list;接收针对所述第二列表中的应用输入的筛选操作,以确定所述第二列表中被选中的应用;Receiving a screening operation for an application input in the second list to determine a selected application in the second list;所述第四确定模块,用于将所述第一列表中的被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。The fourth determining module is configured to determine the selected application in the first list and the selected application in the second list as the target application.
- 根据权利要求15或16所述的终端,其特征在于,所述终端还包括:展示单元,第二输入单元,The terminal according to claim 15 or 16, wherein the terminal further comprises: a display unit, a second input unit,所述展示单元,用于展示提示信息,所述提示信息用于提示是否保留所述第一列表中被选中的应用的数据; The display unit is configured to display prompt information, where the prompt information is used to prompt whether to retain data of the selected application in the first list;所述第二输入单元,用于接收针对所述提示信息输入的反馈操作,以反馈是否保留所述第一列表中被选中的应用的数据。The second input unit is configured to receive a feedback operation for the prompt information input to feedback whether to retain data of the selected application in the first list.
- 根据权利要求11到17中任一项所述的终端,其特征在于,所述保留单元包括:移入子单元,第一恢复子单元,The terminal according to any one of claims 11 to 17, wherein the retention unit comprises: a migration subunit, a first restoration subunit,所述移入子单元,用于将所述目标应用进行隔离移入隔离区;The shifting subunit is configured to move the target application into the isolation zone in isolation;所述第一恢复子单元,用于将所述已安装应用中未移入所述隔离区的应用进行所述恢复出厂设置操作。The first recovery subunit is configured to perform the restoring factory setting operation on an application that is not moved into the isolation area in the installed application.
- 根据权利要求11到17中任一项所述的终端,其特征在于,所述保留单元还包括:添加子单元,第二恢复子单元,The terminal according to any one of claims 11 to 17, wherein the reservation unit further comprises: an adding subunit, and a second restoring subunit,所述添加子单元,用于在所述目标应用中添加标志位,所述标志位用于表示进行所述恢复出厂设置操作时保留所述目标应用;The adding subunit is configured to add a flag bit in the target application, where the flag bit is used to indicate that the target application is retained when performing the restoring factory setting operation;所述第二恢复子单元,用于将所述已安装应用中未添加所述标志位的应用进行所述恢复出厂设置操作。The second recovery subunit is configured to perform the restoring factory setting operation on an application that does not add the flag bit in the installed application.
- 根据权利要求11所述的终端,其特征在于,所述终端还包括:显示单元,第三输入单元,The terminal according to claim 11, wherein the terminal further comprises: a display unit, a third input unit,所述显示单元,用于显示是否确认进行所述恢复出厂设置操作;The display unit is configured to display whether to confirm the performing the factory reset operation;所述第三输入单元,用于接收确认操作指令,以确认进行所述恢复出厂设置操作。The third input unit is configured to receive a confirmation operation instruction to confirm that the factory reset operation is performed.
- 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:输入单元、处理器;Input unit, processor;所述输入单元,用于接收恢复出厂设置指令,所述处理器,用于获取推荐信息,所述推荐信息中包括终端上已安装应用的使用综合信息,所述使用综合信息为所述已安装应用在应用商店中的热度记录信息;The input unit is configured to receive a factory reset instruction, where the processor is configured to obtain recommendation information, where the recommendation information includes usage comprehensive information of an installed application on the terminal, and the usage comprehensive information is the installed Application of heat record information in the app store;所述处理器,用于根据所述推荐信息确定目标应用;进行恢复出厂设置操作并保留所述目标应用。The processor is configured to determine a target application according to the recommendation information; perform a factory reset operation and retain the target application.
- 根据权利要求21所述的终端,其特征在于,所述处理器用于执行如下步骤:The terminal according to claim 21, wherein the processor is configured to perform the following steps:根据所述推荐信息确定第一列表,所述第一列表包括恢复出厂设置时推荐保留的应用;Determining, according to the recommendation information, a first list, where the first list includes an application recommended to be retained when the factory setting is restored;根据所述第一列表确定目标应用。The target application is determined based on the first list.
- 根据权利要求22所述的终端,其特征在于,所述处理器用于执行如下步骤:The terminal according to claim 22, wherein the processor is configured to perform the following steps:根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;Determining a heat ranking of the installed application according to the usage comprehensive information of the installed application;按照热度排序从前到后的顺序在所述已安装应用中确定包含N个应用的第一列表,所述N为正整数。A first list of N applications is determined in the installed application in order of popularity ranking from front to back, the N being a positive integer.
- 根据权利要求22所述的终端,其特征在于,所述处理器还用于执行如下步骤:The terminal according to claim 22, wherein the processor is further configured to perform the following steps:根据所述已安装应用的使用综合信息确定所述已安装应用的热度排序;Determining a heat ranking of the installed application according to the usage comprehensive information of the installed application;统计所述已安装应用中各应用的使用频率和停留时间,所述使用频率和停留时间包含于所述用户行为统计信息;Counting a usage frequency and a dwell time of each application in the installed application, where the usage frequency and the dwell time are included in the user behavior statistical information;将所述已安装应用中的应用按照使用频率从高到低进行排序确定频率排序;Sorting the applications in the installed application according to the frequency of use from high to low to determine the frequency order;将所述已安装应用中的应用按照停留时间从长到短进行排序确定时长排序; Sorting the applications in the installed application according to the residence time from long to short;将所述频率排序、所述时长排序和所述热度排序进行加权统计确定推荐应用排序;Sorting the frequency, the duration sorting, and the heat ranking to perform weighted statistics to determine a recommended application ranking;按照推荐应用排序从前到后的顺序在所述已安装应用中确定包含M个应用的第一列表,所述M为正整数。A first list of M applications, the M being a positive integer, is determined in the installed application in a prioritized order in accordance with a recommended application.
- 根据权利要求22至24中任一项所述的终端,其特征在于,所述终端还包括显示单元,The terminal according to any one of claims 22 to 24, wherein the terminal further comprises a display unit,所述显示单元,用于显示所述第一列表;The display unit is configured to display the first list;所述输入单元用于执行如下步骤:The input unit is configured to perform the following steps:接收针对所述第一列表中的应用输入的选择操作,以确定所述第一列表中被选中的应用为所述目标应用。A selection operation for an application input in the first list is received to determine that the selected application in the first list is the target application.
- 根据权利要求22至24中任一项所述的终端,其特征在于,所述终端还包括所述显示单元,The terminal according to any one of claims 22 to 24, wherein the terminal further comprises the display unit,所述显示单元,用于显示所述第一列表,所述第一列表中还包括引导按钮,所述引导按钮用于引出第二列表,所述第二列表包括所述已安装应用中除所述第一列表中的应用以外的其他应用;The display unit is configured to display the first list, the first list further includes a guide button, the guide button is used to lead to a second list, and the second list includes the installed application Other applications than those in the first list;所述输入单元还用于执行如下步骤:The input unit is further configured to perform the following steps:接收针对第一列表中的应用输入的选择操作,以确定第一列表中被选中的应用;Receiving a selection operation for an application input in the first list to determine a selected application in the first list;接收针对所述引导按钮输入的点击操作,所述显示单元显示所述第二列表;Receiving a click operation for the boot button input, the display unit displaying the second list;接收针对所述第二列表中的应用输入的筛选操作,以使得所述处理器确定所述第二列表中被选中的应用;Receiving a screening operation for an application input in the second list to cause the processor to determine a selected application in the second list;所述处理器还用于执行如下步骤:The processor is further configured to perform the following steps:将所述第一列表中的被选中的应用和所述第二列表中被选中的应用确定为所述目标应用。The selected application in the first list and the selected one of the second list are determined as the target application.
- 根据权利要求25或26所述的终端,其特征在于,所述显示单元用于执行如下步骤:The terminal according to claim 25 or 26, wherein the display unit is configured to perform the following steps:展示提示信息,所述提示信息用于提示是否保留所述第一列表中被选中的应用的数据;Presenting prompt information, the prompt information is used to prompt whether to retain data of the selected application in the first list;所述输入单元用于执行如下步骤:The input unit is configured to perform the following steps:接收针对所述提示信息输入的反馈操作,以反馈是否保留所述第一列表中被选中的应用的数据。A feedback operation for the prompt information input is received to feedback whether to retain data of the selected application in the first list.
- 根据权利要求21至27中任一项所述的终端,其特征在于,所述处理器还用于执行如下步骤:The terminal according to any one of claims 21 to 27, wherein the processor is further configured to perform the following steps:将所述目标应用进行隔离移入隔离区;The target application is isolated and moved into the isolation zone;将所述已安装应用中未移入所述隔离区的应用进行所述恢复出厂设置操作。The application that has not been moved into the isolation zone in the installed application performs the factory reset operation.
- 根据权利要求21至27中任一项所述的终端,其特征在于,所述处理器还用于执行如下步骤:The terminal according to any one of claims 21 to 27, wherein the processor is further configured to perform the following steps:在所述目标应用中添加标志位,所述标志位用于表示进行所述恢复出厂设置操作时保留所述目标应用;Adding a flag bit in the target application, the flag bit being used to indicate that the target application is retained when performing the restoring factory setting operation;将所述已安装应用中未添加所述标志位的应用进行所述恢复出厂设置操作。 The application that does not add the flag bit in the installed application performs the factory reset operation.
- 根据据权利要求21所述的终端,其特征在于,所述显示单元用于执行如下步骤:The terminal according to claim 21, wherein the display unit is configured to perform the following steps:显示是否确认进行所述恢复出厂设置操作;Whether to confirm whether the factory reset operation is performed;所述输入单元用于执行如下步骤:The input unit is configured to perform the following steps:接收确认操作指令,以确认进行所述恢复出厂设置操作。A confirmation operation command is received to confirm the performing the factory reset operation.
- 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-10任意一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-10.
- 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1-10任意一项所述的方法。 A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-10.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710051757 | 2017-01-20 | ||
CN201710051757.7 | 2017-01-20 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018133229A1 true WO2018133229A1 (en) | 2018-07-26 |
Family
ID=62907689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/081437 WO2018133229A1 (en) | 2017-01-20 | 2017-04-21 | Method for restoring factory settings and relevant device |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018133229A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669810A (en) * | 2018-10-18 | 2019-04-23 | 西安中兴新软件有限责任公司 | Information storage, storage card restoration methods and device, electronic equipment and storage medium |
CN110489278A (en) * | 2019-08-20 | 2019-11-22 | 深圳市丰润达科技有限公司 | The method, apparatus and computer readable storage medium of factory reset |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060097161A (en) * | 2005-03-04 | 2006-09-14 | 엘지전자 주식회사 | Factory reset method of mobile communication terminal |
CN105611407A (en) * | 2015-12-22 | 2016-05-25 | 康佳集团股份有限公司 | Method and system for restoring television to factory settings on basis of user behavior analysis |
CN105718272A (en) * | 2016-02-22 | 2016-06-29 | 青岛海信移动通信技术股份有限公司 | Method for restoring factory settings of terminal and terminal |
CN106095615A (en) * | 2016-06-01 | 2016-11-09 | 乐视控股(北京)有限公司 | Application data restoration method and device |
-
2017
- 2017-04-21 WO PCT/CN2017/081437 patent/WO2018133229A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060097161A (en) * | 2005-03-04 | 2006-09-14 | 엘지전자 주식회사 | Factory reset method of mobile communication terminal |
CN105611407A (en) * | 2015-12-22 | 2016-05-25 | 康佳集团股份有限公司 | Method and system for restoring television to factory settings on basis of user behavior analysis |
CN105718272A (en) * | 2016-02-22 | 2016-06-29 | 青岛海信移动通信技术股份有限公司 | Method for restoring factory settings of terminal and terminal |
CN106095615A (en) * | 2016-06-01 | 2016-11-09 | 乐视控股(北京)有限公司 | Application data restoration method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669810A (en) * | 2018-10-18 | 2019-04-23 | 西安中兴新软件有限责任公司 | Information storage, storage card restoration methods and device, electronic equipment and storage medium |
CN109669810B (en) * | 2018-10-18 | 2023-07-14 | 西安中兴新软件有限责任公司 | Information storage method, information storage card recovery method, information storage device, information storage card recovery device, electronic equipment and storage medium |
CN110489278A (en) * | 2019-08-20 | 2019-11-22 | 深圳市丰润达科技有限公司 | The method, apparatus and computer readable storage medium of factory reset |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6442076B2 (en) | Dialogue method, terminal and server based on recommended content | |
TWI619025B (en) | Method, medium, system, and device for continuing an application session on a different device | |
KR20190097184A (en) | Smart Assist for Repeated Actions | |
US9225705B2 (en) | Method and system for providing a service for a mobile device and non-transitory computer-readable recording medium | |
CN103064593B (en) | The method and apparatus of mobile device desktop icons classification | |
US20160261627A1 (en) | Method and system for processing notification messages of a website | |
US10084729B2 (en) | Apparatuses and methods for web page sharing | |
CN103563415A (en) | Over-the-air device configuration | |
CN104572299A (en) | Method and device for resource transfer | |
WO2016094303A1 (en) | Accessing messaging applications in search | |
CN110309357B (en) | Application data recommendation method, model training method, device and storage medium | |
CN104978267A (en) | Web page testing method, terminal and server | |
KR102061956B1 (en) | Methods, devices and systems for presenting information | |
WO2015043525A1 (en) | Method, apparatus, and system for picture sharing | |
WO2014206037A1 (en) | Apparatuses and methods for web page sharing | |
US10176535B2 (en) | Method and system for providing social category indicators in a user profile header of an on-line posting | |
KR20190117753A (en) | Message notification method and terminal | |
CN105095253A (en) | Webpage display method and webpage display device | |
CN108427549B (en) | Method and device for processing sound of notification message, storage medium and terminal | |
CN112000876A (en) | Information display method, terminal and server | |
WO2018133229A1 (en) | Method for restoring factory settings and relevant device | |
CN106648704A (en) | Process management method and device and mobile terminal | |
CN105630376A (en) | Terminal control method and device | |
US20150128129A1 (en) | Method and device for installing application | |
CN118467119A (en) | A control method for application startup and user terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17892295 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17892295 Country of ref document: EP Kind code of ref document: A1 |