A method of recovering critical operations and related apparatus

By recording and generating key operation descriptions and recovery information for terminal devices, users can quickly locate and recover from terminal anomalies caused by erroneous operations, thus resolving functional problems caused by erroneous operations and improving user experience.

CN114328004BActive Publication Date: 2026-03-24HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Users' unfamiliarity with the functions of the terminal device may lead to misoperation, causing abnormal terminal functions. Existing technologies that restore data through full data recovery are time-consuming and affect user experience.

Method used

The terminal records descriptions and recovery items of key operations, generates a summary of the anomaly and recovery information, and allows users to quickly locate and recover key operations based on this information, avoiding the need for full data recovery.

Benefits of technology

It enables rapid and accurate recovery of critical operations, reduces user reset time, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114328004B_ABST
    Figure CN114328004B_ABST
Patent Text Reader

Abstract

The application discloses a method and device for restoring a key operation, which are applied to the terminal field and used for accurately restoring changed data of a target key operation. The method comprises the following steps: a terminal records description information corresponding to the target key operation; then, a target recovery item corresponding to the target key operation is generated, wherein the target recovery item comprises recovery information and abnormality brief information; wherein the recovery information is reverse information of operation information; through visualizing the abnormality brief information and / or the recovery information corresponding to the target key operation, a user can determine whether a function abnormality of the terminal device is caused by the target key operation according to the abnormality brief information and / or the recovery information; and then, the target key operation is restored according to the recovery information. In the application, the user can quickly and accurately restore the changed data of the target key operation without resetting other operations, so that the user experience is improved. The application further provides a device for restoring a key operation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of terminal, and in particular, to a method for recovering key operation and related device. BACKGROUND

[0002] At present, with the continuous development of intelligent terminal technology, the functions of terminal (such as mobile phone) are more and more. Users can turn on or turn off some functions through the setting items in the terminal. Because the mobile terminal has many functions, the setting items are also more and more, and the operation of the user on the setting items will have a great influence on the user's use of the functions of the terminal. If the user makes a mistake operation on the terminal due to unfamiliarity with the functions of the terminal, it will cause some functions of the terminal to be abnormal. Or because the user actively operates, but does not remember which setting items are modified, it will also cause the terminal to be abnormal. For example, the user mis-sets the call blacklist and causes some calls to be unable to be connected, mis-clicks the do-not-disturb mode and causes the device to be silent, and the phone is missed. Because the user does not remember which setting items (or configurations) are modified, the problem of the terminal cannot be quickly recovered, which seriously affects the use of the functions of the terminal, and also increases a lot of invalid after-sales maintenance.

[0003] In the current technology, the mobile phone setting data can be regularly backed up through the cloud, and when the function of the mobile phone is abnormal, the data can be recovered through the cloud. The scheme of regularly backing up through the cloud can only be restored to the factory setting or the full data at the backup time point, so that after recovery, the user needs to spend a lot of time to reset the mobile phone, which greatly wastes the time cost of the user. SUMMARY

[0004] The embodiments of the present application provide a method and device for recovering key operation. The method is applied to the device for recovering key operation, wherein the key operation refers to the operation corresponding to the function which can affect the user experience. The method can accurately recover the data of the target key operation, and does not need to recover all the operation data, thereby improving the user experience. The device can be a terminal such as mobile phone, tablet computer, notebook computer, etc. For example, the device can be a mobile phone.

[0005] In a first aspect, the present application provides a method for recovering a critical operation, when a target critical operation is received, a terminal records or backs up description information corresponding to the target critical operation, the description information including operation information of the target critical operation, the operation information being used to indicate changes before and after the target critical operation; the terminal generates a target recovery item corresponding to the target critical operation, the target recovery item including recovery information and abnormality description information; wherein the recovery information is reverse information of the operation information; the terminal displays the abnormality description information and / or the recovery information corresponding to the target critical operation in response to a first operation on the terminal device, so that even if a user does not remember which operations have been performed on the terminal device, the user can determine whether a functional abnormality of the terminal device is caused by the target critical operation according to the abnormality description information and / or the recovery information, and then the terminal recovers the target critical operation according to the recovery information in response to a second operation on the terminal device. The method provided in the present application does not need to restore all full backup operations at the same time point as in the traditional method, and the user needs to reset the full data after recovery. In the present application, the user can quickly and accurately recover the changed data of the target critical operation without resetting other operations, thereby improving the user experience.

[0006] In an optional implementation, the method further includes: the terminal records the description information of the target critical operation as a backup item to a backup list; and records the target recovery item to a recovery list.

[0007] In an optional implementation, the description information of the target critical operation includes a timestamp, an operation item and operation information; wherein the timestamp is used to indicate an operation time of the target critical operation, the operation item is used to indicate an operation object of the target critical operation, and the operation information is: setting a first operation value to a second operation value. In this example, the description information can comprehensively record the related information of the target critical operation, thereby facilitating the generation of the recovery item for recovering the target critical operation to recover the target critical operation.

[0008] In an optional implementation, the recovery item includes a timestamp and an operation item; wherein the recovery information is: setting the second operation value to the first operation value. In this example, the recovery information is reverse information of the operation information, so that the terminal can recover the target critical operation according to the recovery information.

[0009] In an optional implementation, the first operation is a setting operation for displaying the target recovery item, and before displaying the target recovery item, the method further includes: displaying a first user interface, the first user interface including all setting interfaces for displaying the target recovery item. In this example, the first operation is used to trigger the display of the recovery item, and by gradually clicking the operation of the user to enter the recovery function interface, a way of triggering the display of the recovery item is provided.

[0010] In an optional implementation, the first operation is an operation for searching a target recovery item; the first operation includes an operation of inputting a keyword in a search box for searching, or an operation of keyword searching through a voice assistant application. In this example, the terminal matches the keyword with a recovery item. If a matching item is found, the matching item is a shortcut entry. The user can click the shortcut entry, and the interface is directly switched to an interface for displaying a recovery item (such as a recovery function confirmation page). This way can enable the user to quickly and accurately find the cause of the phone anomaly and recover the changed data of the target key operation, without a cumbersome operation process, quickly display the recovery item, and improve the user experience.

[0011] In an optional implementation, before recording the description information corresponding to the target key operation when the target key operation is received, the method can further include: displaying, by the terminal, a key operation list in response to a third operation on the terminal, the key operation list including the target key operation; and then, starting, by the terminal, a recovery function of the target key operation in response to a selection operation on the target key operation. In this example, the key operation list is used to limit the range of operations that can be revoked (recovered). The target key operation is a key operation for which the recovery function is started. The target key operation can be set through the key operation list, and the changed data of the target key operation is recorded (or backed up), avoiding redundancy of the backup information and achieving accuracy and lightness of the backup information.

[0012] In an optional implementation, the key operation list includes a plurality of key operations, and the plurality of key operations include one or more of a blacklist operation, an SMS center number operation, a do-not-disturb operation, a notification management operation, an application permission setting operation, and a picture deletion operation. In this example, the key operation can be a user high-frequency operation, an operation that is easy to mis-set, or an operation that causes user complaints and the like through mis-setting. Through recovery of the target key operation in the key operation list, the user or the after-sales personnel can be quickly positioned to the change of the target key operation for accurate setting recovery, which can effectively improve the problem solving speed and improve the user experience.

[0013] In an optional implementation, the recovery list includes a plurality of recovery items, each of which includes a timestamp, and the backup list includes a plurality of backup items, each of which includes a timestamp, and the method further includes: deleting a first backup item from the backup list and deleting a first recovery item from the recovery list; wherein the first backup item is a backup item whose interval between the timestamp and the current time is greater than a preset time length; and the first recovery item is a recovery item whose interval between the timestamp and the current time is greater than the preset time length. The terminal can support keeping backup data and recovery data of a preset time length, and in this example, the terminal can delete backup items and recovery items exceeding the preset time length (for example, 7 days), thereby reducing system storage overhead.

[0014] In an optional implementation, the target key operation is a system setting operation. In this example, the user or the after-sales personnel can be assisted to quickly locate the change of the system setting and perform accurate setting recovery, which can effectively improve the problem solving speed, and after the change data is recovered, other already set data will not be affected, and the user does not need to perform a large amount of re-setting work.

[0015] In a second aspect, the present application provides a device for recovering a key operation, comprising:

[0016] A storage module, when receiving a target key operation, records description information corresponding to the target key operation, and the description information includes operation information of the target key operation;

[0017] A processing module, which generates a target recovery item corresponding to the target key operation, the target recovery item including recovery information and abnormality description information; wherein the recovery information is inverse information of the operation information stored by the storage module;

[0018] A display module, which displays the abnormality description information and / or the recovery information corresponding to the target key operation in response to a first operation on the terminal device;

[0019] The display module is further configured to recover the target key operation according to the recovery information in response to a second operation on the terminal device.

[0020] In an optional implementation, the storage module is further configured to record the description information of the target key operation as a backup item in a backup list, and record the target recovery item in a recovery list.

[0021] In an optional implementation, the description information of the target key operation includes a timestamp, an operation item, and operation information; wherein the timestamp is used to indicate the operation time of the target key operation, the operation item is used to indicate the operation object of the target key operation, and the operation information is: setting a first operation value to a second operation value.

[0022] In an optional implementation, the recovery item includes a timestamp and an operation item; and the recovery information is: setting the second operation value to the first operation value.

[0023] In an optional implementation, the first operation is a setting operation for displaying the target recovery item.

[0024] The display module is further configured to display a first user interface, the first user interface including all setting interfaces for displaying the target recovery item.

[0025] In an optional implementation, the first operation is an operation for searching the target recovery item; the first operation includes: an operation of inputting a keyword in a search box for searching, or an operation of searching the keyword through a voice assistant application; and the processing module is further configured to match the keyword with the target recovery item, and if the keyword matches the target recovery item, execute the step of displaying the abnormal summary information and / or the recovery information corresponding to the target keyword operation.

[0026] In an optional implementation, the display module is further configured to display a keyword operation list in response to a third operation on the terminal, the keyword operation list including the target keyword operation.

[0027] The display module is further configured to start a recovery function of the target keyword operation in response to a selection operation on the target keyword operation.

[0028] In an optional implementation, the keyword operation list includes a plurality of keyword operations, and the plurality of keyword operations include one or more of a blacklist operation, an SMS center number operation, a do-not-disturb operation, a notification management operation, an application permission setting operation, and a picture deletion operation.

[0029] In an optional implementation, the recovery list includes a plurality of recovery items, each of which includes a timestamp, and the backup list includes a plurality of backup items, each of which includes a timestamp.

[0030] The processing module is further configured to delete the first backup item from the backup list and delete the first recovery item from the recovery list; wherein the first backup item is a backup item with an interval time length between the timestamp and the current time greater than a preset time length; and the first recovery item is a recovery item with an interval time length between the timestamp and the current time greater than the preset time length.

[0031] In an optional implementation, the target keyword operation is a system setting operation.

[0032] In a third aspect, an embodiment of the present application provides a terminal, comprising: a processor, a memory and a display screen; the display screen is configured to display a user interface; the memory is coupled with one or more processors, and the memory is configured to store computer program codes, the computer program codes comprising computer instructions, and the one or more processors are configured to invoke the computer instructions to cause the terminal to perform the method according to any one of the first aspect.

[0033] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, comprising instructions, when the instructions are executed on a terminal, causing the terminal to perform the method according to any one of the first aspect.

[0034] In a fifth aspect, an embodiment of the present application provides a chip applied to a terminal, the chip comprising one or more processors configured to invoke computer instructions to cause the terminal to perform the method according to any one of the first aspect.

[0035] In a sixth aspect, an embodiment of the present application provides a computer program product comprising instructions, when the computer program product is executed on a terminal, causing the terminal to perform the method according to any one of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0036] Figure 1 A scene diagram for setting a target key operation in a key operation list in an embodiment of the present application;

[0037] Figure 2 A step flow diagram of a method for recovering a key operation in an embodiment of the present application;

[0038] Figure 3 A scene diagram for recording description information of a target key operation to a backup list in an embodiment of the present application;

[0039] Figure 4 A diagram of a backup list and a recovery list in an embodiment of the present application;

[0040] Figure 5A A scene diagram for displaying a recovery item in an embodiment of the present application;

[0041] Figure 5B Another scene diagram for displaying a recovery item in an embodiment of the present application;

[0042] Figure 6A Another scene diagram for displaying a recovery item by step-by-step setting operation in an embodiment of the present application;

[0043] Figure 6B A scene diagram for searching through a search box and quickly displaying a recovery item in an embodiment of the present application;

[0044] Figure 6C A scenario diagram for one of the embodiments of the present application, in which a search is performed through a voice assistant application, and a quick display of a recovery item;

[0045] Figure 7A A scenario diagram for another of the embodiments of the present application, in which a target key operation is a system setting operation, and a search is performed through a search box to quickly display a recovery item;

[0046] Figure 7B A scenario diagram for another of the embodiments of the present application, in which a target key operation is a picture deletion operation, and a search is performed through a search box to quickly display a recovery item;

[0047] Figure 8A A diagram for a backup process of a target key operation in an embodiment of the present application;

[0048] Figure 8B A diagram for a recovery process of a target key operation in an embodiment of the present application;

[0049] Figure 9 A structure diagram of one example of an apparatus for recovering a key operation in an embodiment of the present application;

[0050] Figure 10 A structure diagram of another example of an apparatus for recovering a key operation in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. The term "and / or" appearing in the present application can be a description of the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B can mean that there are three cases of A alone, A and B together, and B alone. In addition, the character " / " in the present application generally indicates that the front and rear associated objects are in an "or" relationship. The terms "first", "second", etc. in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or modules does not necessarily have to be limited to those steps or modules clearly listed, but can include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices.

[0052] The method and related device for recovering a key operation are provided in the embodiments of the present application. The terminal device is configured with a "recovery (or also referred to as cancellation)" function for a key operation. The target key operation is a key operation with the "recovery" function enabled. Further, when receiving a target key operation of the terminal device by a user, the terminal device records (or backs up) description information corresponding to the target key operation. The description information includes operation information of the target key operation, and the operation information is used to indicate changes before and after the target key operation. Further, the terminal device generates a target recovery item corresponding to the target key operation. The target recovery item includes recovery information and abnormality description information. The recovery information is reverse information of the operation information. Then, the terminal device can display the abnormality description information and / or the recovery information corresponding to the target key operation, that is, the terminal device visualizes the abnormality description information and / or the recovery information corresponding to the target key operation. Even if the user does not remember which operations have been performed on the terminal device, the user can determine whether the function abnormality of the terminal device is caused by the target key operation according to the abnormality description information and / or the recovery information. When the user selects the recovery item, the terminal device can recover the target key operation through the recovery information of the recovery item. The method provided in the present application does not need to recover all full backup operations at the same time point as in the traditional method, and the user needs to reset the full data after recovery. In the present application, the user can quickly and accurately recover the recovery item of the target key operation, and does not need to reset other operations, so as to improve the user experience.

[0053] In the present application, the terminal device can be a mobile phone, a tablet computer, a notebook computer, and the like. The terminal device can also be referred to as a terminal or a user equipment (UE). In the embodiments of the present application, the terminal device is taken as a mobile phone for example.

[0054] First, the words involved in the present application are described below.

[0055] User interface: refers to a medium interface for interaction and information exchange between an application program or an operating system and a user, which realizes conversion between an internal form of information and a form acceptable by the user. A commonly used form of the user interface is a graphic user interface (GUI), which refers to a user interface related to computer operation displayed in a graphic manner. It can be an icon, a window, a control, and the like interface elements displayed in the display screen of the terminal. The control can include an icon, a button, a menu, a tab, a text box, and the like visible interface elements. In the present application, the user interface is also referred to as an "interface". When the user interface is used to set the system, the user interface can also be referred to as a setting interface.

[0056] Key operation: refers to an operation that can affect user experience. For example, after the product is launched, the manufacturer can analyze the big data through the feedback of the user on the functions of the mobile phone, the feedback of the use experience, etc. The key operation can be: user high-frequency operation, operation prone to mis-setting, or operation that can cause user complaints through mis-setting. For example, the key operation can be some system setting operations, such as "blacklist" setting operation, "do not disturb" setting operation, "notification management" setting operation, etc. Or, the key operation can also be a picture deletion operation, etc. It can be understood that the "key operation" is only a word used in this embodiment, and according to the meaning represented by the "key operation", the "key operation" can also be called "high-frequency problem operation", "public opinion problem operation", "risk operation" or other names, etc.

[0057] The key operation list including multiple key operations and the target key operation in the present application are exemplarily described.

[0058] Please refer to Figure 1 As shown in the figure, the user interface of the mobile phone displays the system "setting" icon of the mobile phone. The user can click the "setting" icon to enter the "key operation list" setting interface step by step. For example, after the user clicks the "setting" icon, the "setting" interface is entered. Then, the user clicks the "key operation setting" again, and enters the "key operation list" user interface. In this example, the series of user operations such as clicking the "setting" icon, clicking the "key operation setting" button, etc. are called "third operation".

[0059] The mobile phone displays the interface of the "key operation list" in response to the third operation. The key operation list includes multiple key operations. The user can view which operations are key operations through the key operation list. Then, the key operation is selectively set to "restore".

[0060] Not all "operations" can be restored (or undone), but the "key operations" in the key operation list can start the recovery function. The key operation list is used to limit the scope of operations that can be undone (restored). The key operation list includes multiple key operations. In this application, the operation for starting the "recovery" function is referred to as a selection operation. For example, each "key operation" corresponds to an "enable" button, and the user clicks the "enable" button corresponding to at least one key operation to complete the operation of starting the "recovery" function. The phone responds to the user's input selection operation to determine which key operations are key operations that have started the "recovery" function according to the selection operation. In one application scenario, the key operations contained in the key operation list include: "blacklist" setting operation, "SMS center number" setting operation, "Do Not Disturb" setting operation, "notification management" setting operation, "application permission" setting operation, "eye protection mode" setting operation, "dark mode" setting operation, "healthy use of mobile phone" operation, "error obstacle mode" setting operation, "picture deletion" operation, and the like. It should be noted that this is only an exemplary description of the key operations contained in the key operation list, and does not limit the key operation list. With the evolution of mobile phone products, increasing functions, and continuous feedback of user usage data, the key operation list is constantly updated.

[0061] In this application, the target key operation refers to any one key operation that has started the "recovery" function. For example, when the user clicks the "enable" buttons of the "blacklist" setting operation, the "Do Not Disturb" setting operation, and the "picture deletion" operation, the phone responds to the selection operation of the key operation to start the "recovery" function of the "blacklist" setting operation, the "Do Not Disturb" setting operation, and the "picture deletion" operation. The "blacklist" setting operation and the "Do Not Disturb" setting operation, and the "picture deletion" operation are all target key operations.

[0062] Alternatively, the user may not need to select the target key operation in this example, and the system can default to some key operations in the key operation list as target key operations to save the user's operation steps.

[0063] In this application, the target key operation can be set through the key operation list, and the change data of the target key operation is recorded (or backed up), avoiding the redundancy of backup information, and achieving the accuracy, lightness, and timeliness of backup information.

[0064] When the terminal starts the "undo" function of a key operation, i.e., the key operation is the target key operation, please refer to Figure 2As shown in FIG. 1, one embodiment of a method for recovering a critical operation is shown. The subject of execution of the method can be a terminal device, or the subject of execution can be a processor or a chip in the terminal device. In the embodiments of the present application, the subject of execution of the method is taken as an example of a terminal device, which is taken as an example of a mobile phone.

[0065] In step 201, when a target critical operation is received, description information corresponding to the target critical operation is recorded. The description information includes operation information of the target critical operation.

[0066] For example, the target critical operation is a "blacklist" setting operation. When a user uses the "blacklist" function, for example, "9558" is added to the "blacklist", the mobile phone acquires description information of the setting operation of the "blacklist". The description information can include a timestamp, an operation item, and operation information. The timestamp is used to indicate the time of the occurrence of the target critical operation. The operation item is used to describe the operation object, for example, "blacklist". The operation information is used to indicate the change before the target critical operation is performed and the change after the target critical operation is performed. The operation information is: setting a first operation value to a second operation value. The first operation value can be understood as the original operation value before the target critical operation is performed, and the second operation value is the operation value after the target critical operation is performed (or after the change). For example, the first operation value is "123456" (i.e. the original phone number in the blacklist), the user adds "9558" to the blacklist, and the second operation value is "123456" and "9558". Alternatively, the operation information can also be directly a change value for the target critical operation. For example, the first operation value is "123456", the user adds "9558" to the blacklist, and the change value is: adding "9558". The change value can be one or more. For example, "9558" is added to the "blacklist", and the change value is "9558". If the user adds "234567" and "9558" to the "blacklist" together, the change value is: "9558" and "234567". The change value can also be understood as the difference value between the first operation value and the second operation value.

[0067] In the application scenario, please refer to Figure 3 As shown in FIG. 2, when the user uses the "blacklist" function on June 20, 2020 at 9:38 and adds "9558" to the blacklist, the mobile phone records the description information of the target critical operation at this time. The description information includes a timestamp, an operation item, and operation information corresponding to the operation item. For example, the timestamp indicates the time of "2020-06-20 9:38". The operation information is: setting a first operation value to a second operation value, i.e. adding "9558". Further, the mobile phone can store the description information as a backup item to the backup list.

[0068] For example, when a user uses the "Do Not Disturb" function at 10:08 on June 20, 2020, the phone records a description of the key operation. This description might include: the timestamp indicates the time as "2020-06-20 10:08," the operation is "Do Not Disturb," and the corresponding action is: setting "Off" to "Scheduled On." The phone stores this description as a backup entry in its backup list.

[0069] For example, when a user uses the "delete image" function at 8:48 AM on June 21, 2020, the phone records the description information of the target key operation. This description information might include: the timestamp indicates the time as "June 21, 2020, 8:48 AM," the operation item is "Gallery," and the corresponding operation information is: setting the first operation value to the second operation value, such as the first operation value being "Image 1 + Image 2," and the second operation value being "Image 2." Alternatively, the operation information could be a change value, such as "Delete Image 1." Here, "Image 1" is the image identifier. In this embodiment, the display format of the image identifier is not limited. The image identifier can be a serial number, or it can be in the form of "time information + string," or it can be the image name, etc. The phone stores this description information as a backup item in the backup list. Thus, the phone maintains a backup list that records the description information of each target key operation.

[0070] For example, the format of each backup item (or description) in the backup list is: timestamp|operation item|operation information.

[0071] Step 202: Generate target recovery items corresponding to the target key operations. The target recovery items include recovery information and a brief description of the anomaly; wherein, the recovery information is the reverse information of the operation information.

[0072] Please see Figure 4 As shown, the phone automatically parses the backup list and reverse-engineers it to generate a recovery list. The recovery list includes multiple recovery items, each corresponding to a backup item. That is, a recovery item is generated based on each backup item in the backup list. Each recovery item can include: a timestamp, an operation item, a brief description of the error, and recovery information. The timestamp in the recovery item is the same as the timestamp in the backup item; this timestamp indicates the operation time corresponding to the target critical operation. The operation items in the recovery item are also the same as those in the backup item.

[0073] The explanation regarding the anomaly description information is as follows: This anomaly description information is a brief description (or keyword description) of the abnormal situation caused by the target key operation. For example, "cannot receive calls," "missed calls," "no ringtone," etc. Here, the term "anomaly description information" is a description from the user's perspective. Because when using the phone, the user sets certain functions (for example, adding certain phone numbers to a blacklist), but the user does not remember, perhaps because they forgot, or perhaps due to accidental operation, causing the user to not remember what they performed. To solve the problem, the description that the user thinks of is "cannot receive calls" (an anomaly description for the target key operation of blacklisting). The recovery item includes the anomaly description information, which makes it easy for users to find the recovery item through keyword search and can intuitively visualize the anomaly description information.

[0074] Different summary error messages are generated for different key operations. For example, if the target key operation is setting a "blacklist," the summary error message in the recovery item could be "Cannot receive calls." If the target key operation is setting a "Do Not Disturb" option, the summary error message could be "Missed calls, no ringtone." If the target key operation is deleting images, the summary error message could be "Image lost," etc. This summary error message is used to describe the result caused by the target key operation using keywords.

[0075] Explanation of recovery information: Recovery information can be understood as the reverse (or inverse) information of the operation information in the backup item (the description information of the target critical operation).

[0076] For example, the operation information in the description of the target key operation is: set the first operation value to the second operation value. The recovery information in the recovery item is: set the second operation value to the first operation value. The first operation value is: "Image 1 + Image 2", and the second operation value is: "Image 2". Correspondingly, the recovery information is: set "Image 2" to "Image 1 + Image 2". If the operation information is a change value, then the operation information is: "Delete Image 1", and the change value in the recovery item is "Restore Image 1". For example, this recovery information is used for visualization, that is, displayed to the user. Regardless of the form of the recovery information (such as setting the second operation value to the first operation value, or a change value), it can be displayed in the form of a change value, for example, "Restore Image 1". In this example, the recovery information is displayed in the form of a change value to facilitate quick identification by the user.

[0077] For example, regarding the "Do Not Disturb" setting, the key operation information is: set "Off" to "Scheduled On". Correspondingly, the recovery information in the recovery item is: set "Scheduled On" to "Off".

[0078] For example, regarding the "blacklist" setting operation, the key operation information is: set "00" to "9558". This operation information indicates that "9558" has been added. Here, "00" indicates that there were no numbers in the original blacklist. Correspondingly, the recovery information in the recovery section is: set "9558" to "00". This recovery information indicates "remove 9558". If the operation information is a change value, the operation information is: add "9558", and the corresponding recovery information in the recovery section is: remove "9558". Similar to the previous example, in this example, the recovery information is displayed in the form of a changed value for easy user identification.

[0079] In this embodiment, the mobile phone maintains a recovery list corresponding to the backup list. The recovery list includes multiple recovery items, wherein the recovery items correspond to the backup items, that is, the recovery items correspond to the description information of the target key operation.

[0080] For example, the format of each recovery item in the recovery list is: timestamp|operation item|abnormality summary information|recovery information.

[0081] Step 203: In response to the first operation on the terminal device, display the exception summary information and / or recovery information corresponding to the target key operation.

[0082] Please see Figure 5A One implementation involves the phone displaying the target recovery items corresponding to the key operation, effectively visualizing these recovery items. For example, the phone directly displays the timestamp, operation item, a brief description of the error, and recovery information on the recovery function interface. Users can then directly select data to recover on the recovery function interface, such as removing "9558". For another implementation method, please refer to [link to implementation details]. Figure 5B For example, the phone directly displays a timestamp, operation item, and a brief description of the error on the "Recovery Function Home Page." The user identifies the phone's problem by viewing the error description and then clicks on the operation to access the corresponding "Recovery Function Confirmation Page." On the "Recovery Function Confirmation Page," the user selects the specific data to be recovered. In this application, the aforementioned operations for accessing the recovery function interface, or accessing the "Recovery Function Home Page" and "Recovery Function Confirmation Page," are collectively referred to as the "First Operation."

[0083] exist Figure 5AIn the corresponding example, the phone responds to the first operation and displays the recovery items. Recovery items may include: "2020-06-21 8:48 | Gallery | Lost Image | Recover Image 1", "2020-06-20 10:08 | Do Not Disturb | Missed Call, No Ringtone | Scheduled On → Off", "2020-06-20 9:38 | Blacklist | Unable to Receive Calls | Remove 9558", etc. Users can directly select the recovery item "2020-06-20 9:38 | Blacklist | Unable to Receive Calls | Remove 9558" on the recovery function interface. In this method, when there are few items to be recovered, or when a single operation contains a small amount of recovery information, users can accurately identify the data that needs to be recovered and save on operation steps.

[0084] exist Figure 5B In the corresponding example, the phone responds to the first operation and displays the timestamp, operation item, and a brief description of the error in the recovery item. It may not display the recovery information itself. For example, the phone might display "2020-06-21 8:48 | Gallery | Lost Images," "2020-06-20 10:08 | Do Not Disturb | Missed Calls, No Ringtone," and "2020-06-20 9:38 | Blacklist | Unable to Receive Calls" on the "2020-06-20 9:38 | Blacklist | Unable to Receive Calls" recovery item. When the user clicks on the "2020-06-20 9:38 | Blacklist | Unable to Receive Calls" recovery item, the phone displays the "Recovery Confirmation Page" corresponding to the "Blacklist" operation item. Then, on the "Recovery Confirmation Page," the user can select the specific data to be recovered. This method allows users to accurately select the data to be recovered, especially when there are many recovery items or multiple recovery information items under the same operation item, without affecting the settings of other data under the same operation item.

[0085] The first action is used to trigger the display of the recovery item. Triggering the display of the recovery item through the first action can include the following methods:

[0086] For the first implementation method, please refer to [link / reference]. Figure 6A As shown, the first operation is a settings operation for displaying the user interface of the target recovery item. The mobile phone displays a first user interface, which includes all settings interfaces for displaying the target recovery item. For example, a user can access this settings interface by clicking. For instance, the user clicks the "Settings" button on the user interface, enters the "Settings" interface, clicks the "Restore Data" button, and then enters the interface displaying the recovery item; for example, first entering the "Recovery Function Home Page," and then entering the "Recovery Function Confirmation Page." It can be understood that the user enters the recovery function interface through step-by-step clicking operations.

[0087] For the second implementation method, please refer to [link / reference]. Figure 6BAs shown, the first operation is an operation for searching for the target recovery item. For example, the first operation can be an operation of entering keywords in the search box (such as the search bar on the negative one screen, the search bar in the drop-down status bar, etc.) to perform a search.

[0088] For example, if a user enters "cannot receive calls" in the search box, the phone will match "cannot receive calls" or "calls" as keywords with local content. The search scope can be set by the user. For example, the search scope can be local, the entire network, or a combination of both. The phone will then match this keyword with the brief description of the error in the recovery options and find a match. This match serves as a shortcut; clicking it will directly redirect the user to the interface displaying the recovery options (such as the recovery function confirmation page). This method allows users to quickly and accurately find the cause of the phone's error without cumbersome procedures, providing rapid location and improving the user experience.

[0089] For the third implementation method, please refer to [link / reference]. Figure 6C As shown, the first operation is a search performed using artificial intelligence (AI). For example, a search can be performed through a voice assistant application. For instance, a user can voice-input "Can't answer the phone," and the voice assistant application will search for a match. If a match is found, it becomes a shortcut. Clicking this shortcut will directly redirect the user to an interface displaying the recovery options (such as a recovery function confirmation page). This method eliminates cumbersome procedures, quickly locates the recovery options, and improves the user experience.

[0090] Step 204: In response to the second operation on the terminal device, restore the target critical operation according to the recovery information.

[0091] In this application, the "restore target critical operation" refers to restoring the current second operation value corresponding to the target critical operation to the first operation value before the operation. The second operation is used to confirm the restoration of the target critical operation.

[0092] For example, the specific number of recovery items corresponding to each target key operation is not limited. For instance, for the "blacklist" setting operation, a user may add multiple numbers to the blacklist. Each number can correspond to one recovery item. Similarly, for the "image deletion" operation, a user may delete multiple images, and each image can correspond to one recovery item.

[0093] For example, a user can restore one item at a time without affecting other already set data. For instance, if a user adds two numbers to a blacklist at different times, the "blacklist" setting operation corresponds to two restore items. If the user only wants to remove one number from the blacklist while keeping the other, they only need to select one restore item. The user simply selects the number to be removed, while the other number remains on the blacklist. Optionally, if a user adds multiple numbers to the blacklist simultaneously, these multiple numbers correspond to one restore item, but one restore item includes multiple restore items, with each number corresponding to one restore item. The user can select any one or more restore items as needed. In this application, regardless of the situation, the user can accurately restore the data to be restored.

[0094] For example, see Figure 6B As shown, the user enters keywords into the search box. After the phone confirms that there are matching items, it displays a quick access point to "Recover Data" (i.e., the recovery item, or a matching item). The interface can directly jump to the "Recover Data" screen (such as the recovery function confirmation page). The user selects the data to be recovered, and the phone recovers the data for the target key operation based on the recovery information. For example, if the user clicks "Remove | 9558" and then clicks "OK," the phone will remove "9558" from the blacklist. In this application, the data to be recovered can be accurately recovered.

[0095] For example, see Figure 6C As shown, in the scenario where a user searches for keywords using a voice assistant application, the application can search for the user-input keywords locally and online. If a keyword is matched, the phone, once confirming a match, displays a quick entry to the "Recover Data" interface. This interface directly redirects to the "Recover Data" screen, where two recovery options are listed under each matching option, such as "Remove|123456" and "Remove|9558". The user selects the data to be recovered, such as "Remove 9558", and the phone recovers the data for the target critical operation based on the recovery information.

[0096] The "Restore Data" interface in this application can be an interface that displays the restored items. In a specific example, it can be the "Restore Function Homepage" or the "Restore Function Confirmation Page".

[0097] In this embodiment of the application, key operations may include system settings operations and image deletion operations. The following description uses system settings operations as an example.

[0098] In one application scenario, please refer to Figure 7AAs shown, User A accidentally added "9558" to their blacklist and also enabled Do Not Disturb mode. However, User A was unaware of this system setting change and suddenly found they could no longer receive calls from "9558". User A entered "cannot receive calls" into the search box on their phone's user interface. The phone then searches locally (or via a voice assistant app) based on the user's input. The phone searches for "cannot receive calls" and "calls" as keywords, finding matching recovery options. These matching options correspond to the "blacklist" setting and the "Do Not Disturb" setting. Once a match is found, the phone displays a shortcut (or matching option) to the "Recover Data" interface. For example, the first shortcut corresponds to the "blacklist" setting recovery option, which includes the recovery information "Remove 9558". The second shortcut corresponds to the "Do Not Disturb" setting recovery option, which includes the recovery information "Turn off Do Not Disturb". The user can then select the data corresponding to the target key operation to recover from the displayed recovery options. The solution in this example can help users or after-sales personnel quickly locate changes in system settings and perform precise system setting restoration, which can effectively improve the speed of problem resolution. Moreover, after data restoration, other already set data will not be affected, and users do not need to do a lot of reconfiguration work.

[0099] The following example illustrates the process of deleting an image.

[0100] In one application scenario, a user deletes images from their gallery or accidentally deletes them via a third-party software interface, resulting in image loss. In this case, the user can directly input a description of the malfunction into the phone, such as "image lost" or "image not found." The phone searches based on this description, and if a recovery option is found, it redirects the user to that option, allowing them to recover the deleted images.

[0101] Please see Figure 7B As shown, when a user enters "images lost" in the search box (or enters "images lost" via voice input through the voice assistant), the phone searches for "images lost" as a keyword. If "images lost" matches the "images lost" description in the recovery items, a shortcut (i.e., the recovery item) is displayed. When the user clicks the shortcut, the phone's user interface jumps directly to the "Recover Data" interface. The user can selectively recover deleted images based on the recovery information displayed on the "Recover Data" interface. The recovery information indicates the image identifiers (such as image 1, image 2, image 3, etc.). The user can selectively recover one or more images based on the displayed image identifiers.

[0102] Alternatively, users can enter the image name in the search box. For example, "swimming pool." The phone will search for "swimming pool" as a keyword, and if it matches the image identifier "swimming pool" in the recovery information, a shortcut (recovery item) will be displayed. Clicking this shortcut will take the user directly to the "Recover Data" interface. Users can then selectively recover deleted images based on the recovery information displayed on the "Recover Data" interface. The recovery information indicates the image name, and users can choose to recover one or more images based on the displayed image names. This solution helps users or after-sales personnel quickly locate changed data in the image library and perform accurate image recovery, improving the efficiency of deleted image recovery.

[0103] In one alternative implementation, the recovery list includes multiple recovery items, each of which includes a timestamp, and the backup list includes multiple backup items, each of which includes a timestamp.

[0104] The terminal can support retaining backup and recovery data for a preset duration. For example, this preset duration could be 7 days or 14 days. In this application, the specific preset duration is not limited and can be set based on experience. In this example, a preset duration of 7 days can be used as an example. Expired data older than 7 days will be overwritten by new records in a cyclical manner.

[0105] The terminal deletes the first backup item from the backup list. This first backup item is a restore item whose timestamp is longer than a preset duration compared to the current time. The first backup item corresponds to the first restore item, and their timestamps are the same. Correspondingly, the terminal deletes the first restore item from the restore list. This first restore item is a restore item whose timestamp is longer than a preset duration compared to the current time. In this example, the phone can delete backup and restore items that exceed the preset duration (e.g., 7 days), thereby reducing system storage overhead. Furthermore, when a user discovers abnormal phone functionality or lost images, it's highly likely that the problem is caused by recent settings changes; therefore, only recent backup and restore items need to be retained.

[0106] Please see Figure 8A As shown, for example, the backup process for a mobile phone targeting critical operations can be as follows:

[0107] S11. Enable the "Restore" function for critical operations.

[0108] S12. Determine whether a target key operation by the user on the phone has been received. This target key operation can be a system settings operation or a picture deletion operation. If a target key operation by the user on the phone has been received, then execute S13.

[0109] S13. Scan the backup list. Determine the timestamp of each backup item in the backup list.

[0110] S14. Determine if there are any backup items older than 7 days. If there are backup items older than 7 days, execute S14; otherwise, execute S15.

[0111] S15. Delete expired backup entries. Expired backup entries are those older than 7 days.

[0112] S16. Write the backup items for the target critical operation into the backup list.

[0113] S17. Generate recovery items based on backup items and write the recovery items to the recovery list.

[0114] Please see Figure 8B As shown, for example, the recovery process of a mobile phone for a target critical operation can be as follows:

[0115] S21. Enable the "Restore" function for the target critical operation.

[0116] S22. In response to the operation used to display the recovery interface, display the recovery data interface. The recovery data interface includes at least one recovery item.

[0117] S23, Respond to the user's click on the restore item.

[0118] S24. Display the recovery progress bar. Users can visualize the recovery progress to avoid performing other operations on the phone before the recovery is complete.

[0119] S25. Determine whether the recovery item has been fully recovered. If the recovery item has been fully recovered, proceed to step S26; otherwise, proceed to step S24.

[0120] S26. Once the recovery is complete, delete the corresponding entry from the recovery list.

[0121] The above describes a method for restoring critical operations. The following describes the apparatus used in applying this method. This apparatus can be a terminal device, or it can be a processor within the terminal device, or it can be a chip within the terminal device. This application provides an apparatus for restoring critical operations; please refer to [link to relevant documentation]. Figure 9 As shown, the device 900 includes a storage module 901, a processing module 902, and a display module 903.

[0122] Storage module 901, when receiving a target key operation, records the description information corresponding to the target key operation, including the operation information of the target key operation;

[0123] The processing module 902 generates target recovery items corresponding to the target key operations. The target recovery items include recovery information and a brief description of the anomalies. The recovery information is the reverse information of the operation information stored in the storage module 901.

[0124] Display module 903 is used to display a brief description of the abnormality and / or recovery information corresponding to the target key operation in response to the first operation on the terminal device;

[0125] The display module 903 is also used to respond to a second operation on the terminal device and restore the target critical operation based on the recovery information.

[0126] In an alternative implementation, the storage module 901 is further configured to record the description information of the target critical operation as a backup item to the backup list; and to record the target recovery item to the recovery list.

[0127] In one optional implementation, the description information of the target key operation includes a timestamp, an operation item, and operation information; wherein, the timestamp is used to indicate the operation time of the target key operation, the operation item is used to indicate the operation object of the target key operation, and the operation information is: set the first operation value to the second operation value.

[0128] In one alternative implementation, the recovery item includes a timestamp and an operation item; wherein the recovery information is: set the second operation value to the first operation value.

[0129] In one alternative implementation, the first operation is a settings operation for displaying the target recovery item;

[0130] The display module 903 is also used to display a first user interface, which includes all settings interfaces for displaying the target recovery item.

[0131] In one alternative implementation, the first operation is an operation for searching for the target recovery item; the first operation includes: entering keywords in a search box to perform a search, or performing a keyword search through a voice assistant application;

[0132] The processing module 902 is also used to match keywords with target recovery items. If the keywords match the target recovery items, the step of displaying the exception summary information and / or recovery information corresponding to the target key operation is executed.

[0133] In one alternative implementation, the display module 903 is further configured to display a list of key operations in response to a third operation on the terminal, the list of key operations including the target key operation.

[0134] The display module 903 is also used to enable the recovery function of the target key operation in response to the selection operation of the target key operation.

[0135] In one alternative implementation, the list of key operations includes multiple key operations, which include one or more of the following: blacklist operation, SMS center number operation, do not disturb operation, notification management operation, application permission setting operation, and image deletion operation.

[0136] In one alternative implementation, the recovery list includes multiple recovery items, each of which includes a timestamp; the backup list includes multiple backup items, each of which includes a timestamp.

[0137] The processing module 902 is further configured to delete a first backup item from the backup list and a first recovery item from the recovery list; wherein, the first backup item is a backup item whose interval between the timestamp and the current time is greater than a preset duration; and the first recovery item is a recovery item whose interval between the timestamp and the current time is greater than a preset duration.

[0138] In one alternative implementation, the target critical operation is a system settings operation.

[0139] In one implementation, the processing module 902 can be a processing device, the functions of which can be partially or entirely implemented through software.

[0140] Optionally, the functions of the processing device can be implemented partially or entirely through software. In this case, the processing device may include a memory and a processor, wherein the memory is used to store computer programs, and the processor reads and executes the computer programs stored in the memory to perform the corresponding processes and / or steps in any of the method embodiments.

[0141] Alternatively, the processing device may consist of only a processor. A memory for storing computer programs is located outside the processing device, and the processor is connected to the memory via circuitry / wires to read and execute the computer programs stored in the memory.

[0142] Optionally, the processing device may be one or more chips, or one or more integrated circuits.

[0143] This application also provides another apparatus for restoring critical operations, such as... Figure 10As shown, for ease of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to the method section of the embodiments of this application. The device can be a terminal, which can be any terminal device including mobile phones, tablets, laptops, etc. Taking a mobile phone as an example:

[0144] Figure 10 This is a block diagram illustrating a portion of the structure of a mobile phone related to the terminal provided in the embodiments of this application. (Reference) Figure 10 The mobile phone includes components such as a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, a processor 1080, and a power supply 1090. Those skilled in the art will understand that... Figure 10 The mobile phone structure shown does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0145] The following is combined Figure 10 A detailed introduction to each component of a mobile phone:

[0146] The RF circuit 1010 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with the processor 1080; additionally, it transmits uplink data to the base station. Typically, the RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc.

[0147] The memory 1020 can be used to store software programs and modules. The processor 1080 executes various mobile phone functions and data processing by running the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 1020 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0148] Figure 9The functions of the intermediate processing module 902 can be implemented by the processor 1080. For example, the processor 1020 is used to generate target recovery items corresponding to target critical operations, and the target recovery items include recovery information and a brief description of the anomaly.

[0149] The input unit 1030 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 1031), and drive the corresponding connection devices according to a pre-set program. Optionally, the touch panel 1031 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 1080, and can also receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, power buttons, etc.).

[0150] In this application, the input unit 1030 is used to receive various operations input by the user. For example, the input unit 1030 is used to receive a first operation, a second operation, and a third operation.

[0151] The display unit 1040 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. The display unit 1040 may include a display panel 1041, which may optionally be configured as a Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or similar display panel. Further, a touch panel 1031 may cover the display panel 1041. When the touch panel 1031 detects a touch operation on or near it, it transmits the information to the processor 1080 to determine the type of touch event. Subsequently, the processor 1080 provides corresponding visual output on the display panel 1041 based on the type of touch event. Although in Figure 10In this embodiment, the touch panel 1031 and the display panel 1041 are two separate components to realize the input and output functions of the mobile phone. However, in some embodiments, the touch panel 1031 and the display panel 1041 can be integrated to realize the input and output functions of the mobile phone.

[0152] In this application, the display unit 1040 is a display screen used to display various user interfaces in response to user input. Figure 9 The functions of the display module 903 can be performed by the display unit 1040.

[0153] The mobile phone may also include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1041 according to the ambient light level, and the proximity sensor can turn off the display panel 1041 and / or the backlight when the phone is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, taps), etc. Other sensors that may be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0154] The audio circuit 1060, speaker 1061, and microphone 1062 provide an audio interface between the user and the mobile phone. The audio circuit 1060 can convert the received audio data into an electrical signal and transmit it to the speaker 1061, where the speaker 1061 converts it into a sound signal for output. On the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is then received by the audio circuit 1060 and converted into audio data.

[0155] WiFi is a short-range wireless transmission technology. Through the WiFi module 1070, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 10 The WiFi module 1070 is shown, but it is understood that it is not an essential component of a mobile phone and can be omitted as needed without changing the essence of the invention.

[0156] The processor 1080 is the control center of the mobile phone, connecting various parts of the phone through various interfaces and lines. It executes software programs and / or modules stored in the memory 1020 and calls data stored in the memory 1020 to perform various functions and process data, thereby providing overall monitoring of the phone. Optionally, the processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 1080.

[0157] The mobile phone also includes a power supply 1090 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 1080 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0158] Although not shown, mobile phones may also include a camera, Bluetooth module, etc., which will not be described in detail here.

[0159] In this embodiment of the application, the processor 1080 is used to cause the terminal to execute the method executed by the terminal in the above method embodiment. For details, please refer to the description in the above method embodiment, which will not be repeated here.

[0160] This application also provides a computer-readable storage medium storing a program that, when run on a computer, causes the computer to perform the aforementioned actions. Figure 2 The steps performed by the terminal in the method described in the illustrated embodiment.

[0161] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned actions. Figure 2 The steps performed by the terminal in the method described in the illustrated embodiment.

[0162] This application embodiment also provides a circuit system, the circuit system including a processing circuit, the processing circuit being configured to perform the aforementioned... Figure 2 The steps performed by the terminal in the method described in the illustrated embodiment.

[0163] In another possible design, when the device is a chip within a terminal, the chip includes a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, pins, or circuitry. The processing unit can execute computer-executable instructions stored in a storage unit to cause the chip within the terminal to perform any of the wireless communication methods described in the first aspect above. Optionally, the storage unit may be a storage unit within the chip, such as a register or cache. Alternatively, the storage unit may be a storage unit located outside the chip within the terminal, such as read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, such as random access memory (RAM).

[0164] The processor mentioned above can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of a program for the wireless communication method described in the first aspect.

[0165] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0166] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0167] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0168] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for restoring critical operations, characterized in that, include: When a target key operation is received, the description information corresponding to the target key operation is recorded. The description information includes the operation information of the target key operation. The operation information is used to indicate changes before and after the target key operation is performed. Generate a target recovery item corresponding to the target key operation, wherein the target recovery item includes recovery information and a brief description of the anomaly; wherein the recovery information is the reverse information of the operation information; In response to a first operation on the terminal, the abnormal summary information and / or recovery information corresponding to the target key operation are displayed. The first operation is an operation for searching the target recovery item. The first operation includes: entering keywords in the search box to perform a search, or performing a keyword search through a voice assistant application. The keywords are abnormal descriptions, and the abnormal summary information is described from the user's perspective to describe the result brought about by the target key operation through keywords. In response to a second operation on the terminal, the target critical operation is restored based on the recovery information; The method further includes: The keyword is matched with the target recovery item. If the keyword matches the target recovery item, the step of displaying the abnormal summary information and / or recovery information corresponding to the target key operation is executed.

2. The method according to claim 1, characterized in that, The method further includes: The description information of the target critical operation is recorded as a backup item in the backup list; and the target recovery item is recorded in the recovery list.

3. The method according to claim 1 or 2, characterized in that, The description information of the target key operation includes a timestamp, an operation item, and operation information; wherein, the timestamp is used to indicate the operation time of the target key operation, the operation item is used to indicate the operation object of the target key operation, and the operation information is: set the first operation value to the second operation value.

4. The method according to claim 3, characterized in that, The recovery item includes the timestamp and the operation item; wherein, the recovery information is: setting the second operation value to the first operation value.

5. The method according to any one of claims 1-4, characterized in that, The first operation is a setting operation for displaying the target recovery item. Before displaying the target recovery item, the method further includes: Display a first user interface, which includes all settings interfaces for displaying the target recovery item.

6. The method according to any one of claims 1-4, characterized in that, Before recording the description information corresponding to the target key operation when it is received, the method further includes: In response to a third operation on the terminal, a list of key operations is displayed, the list of key operations including the target key operation; In response to the selection operation of the target critical operation, the recovery function of the target critical operation is enabled.

7. The method according to claim 6, characterized in that, The list of key operations includes multiple key operations, which include one or more of the following: blacklist operation, SMS center number operation, do not disturb operation, notification management operation, application permission setting operation, and image deletion operation.

8. The method according to claim 2, characterized in that, The recovery list includes multiple recovery items, each of which includes a timestamp; the backup list includes multiple backup items, each of which includes a timestamp; the method further includes: Delete the first backup item from the backup list and delete the first recovery item from the recovery list; wherein, the first backup item is a backup item whose interval between the timestamp and the current time is greater than a preset duration; the first recovery item is a recovery item whose interval between the timestamp and the current time is greater than a preset duration.

9. The method according to any one of claims 1-4, characterized in that, The key operation for the target is the system settings operation.

10. An apparatus for restoring critical operations, characterized in that, include: The storage module, when receiving a target key operation, records the description information corresponding to the target key operation. The description information includes the operation information of the target key operation, and the operation information is used to indicate changes before and after the target key operation is performed. The processing module generates a target recovery item corresponding to the target key operation. The target recovery item includes recovery information and a brief description of the anomaly. The recovery information is the reverse information of the operation information stored in the storage module. The display module is configured to respond to a first operation on the terminal by displaying a brief description of the anomaly and / or recovery information corresponding to the target key operation. The first operation is an operation for searching the target recovery item. The first operation includes: entering keywords in a search box to perform a search, or performing a keyword search through a voice assistant application. The keywords are an anomaly description, and the brief description of the anomaly is described from the user's perspective, used to describe the result brought about by the target key operation through keywords. The display module is further configured to, in response to a second operation on the terminal, restore the target key operation based on the recovery information; The processing module is further configured to match the keyword with the target recovery item. If the keyword matches the target recovery item, the module will execute the step of displaying the abnormal summary information and / or recovery information corresponding to the target key operation.

11. The apparatus according to claim 10, characterized in that, The storage module is also used to record the description information of the target critical operation as a backup item in the backup list; and to record the target recovery item in the recovery list.

12. The apparatus according to claim 10 or 11, characterized in that, The description information of the target key operation includes a timestamp, an operation item, and operation information; wherein, the timestamp is used to indicate the operation time of the target key operation, the operation item is used to indicate the operation object of the target key operation, and the operation information is: set the first operation value to the second operation value.

13. The apparatus according to claim 12, characterized in that, The recovery item includes the timestamp and the operation item; wherein, the recovery information is: setting the second operation value to the first operation value.

14. The apparatus according to any one of claims 10-13, characterized in that, The first operation is a setting operation for displaying the target recovery item; The display module is also used to display a first user interface, which includes all settings interfaces for displaying the target recovery item.

15. The apparatus according to any one of claims 10-13, characterized in that, The display module is further configured to display a list of key operations in response to a third operation on the terminal, the list of key operations including the target key operation; The display module is also configured to enable the recovery function of the target key operation in response to the selection operation of the target key operation.

16. The apparatus according to claim 15, characterized in that, The list of key operations includes multiple key operations, which include one or more of the following: blacklist operation, SMS center number operation, do not disturb operation, notification management operation, application permission setting operation, and image deletion operation.

17. The apparatus according to claim 11, characterized in that, The recovery list includes multiple recovery items, each of which includes a timestamp; the backup list includes multiple backup items, each of which includes a timestamp. The processing module is further configured to delete a first backup item from the backup list and a first recovery item from the recovery list; wherein the first backup item is a backup item whose interval between the timestamp and the current time is greater than a preset duration; and the first recovery item is a recovery item whose interval between the timestamp and the current time is greater than a preset duration.

18. The apparatus according to any one of claims 10-13, characterized in that, The key operation for the target is the system settings operation.

19. A terminal, characterized in that, include: Processor, memory, and display screen; the display screen is used to display the user interface; The memory is coupled to one or more of the processors, the memory being used to store computer program code, the computer program code including computer instructions, and the one or more of the processors invoking the computer instructions to cause the terminal to perform the method as described in any one of claims 1-9.

20. A computer-readable storage medium comprising instructions, characterized in that, When the instruction is executed on the terminal, the terminal causes the terminal to perform the method as described in any one of claims 1-9.

Citation Information

Patent Citations

  • State recovery method and device

    CN103617050A

  • Misoperation withdrawing method and system

    CN105550068A

  • Data recovery method and device

    CN106776120A

  • Information processing method and device

    CN108200263A