Method for protecting application data and terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsChao Yu, Hao Chen, Bifeng Tong, Chengliang Zheng, Xiyu Zhou
Life of this patent
Estimating the term…
Abstract
A method for protecting application data includes detecting a deleting operation performed by a first application on first data. The method also includes determining, based on a preset condition, whether to delete the first data of the first application. The method further includes renaming the first data of the first application based on a determination that the first application meets the preset condition. The method additionally includes storing the renamed first data in a memory.
Claims17
A method for protecting application data, the method comprising:
- detecting, by a processor, a deleting operation performed by a first application on first data stored in a first memory location, the first application being a third-party application running in a background operating state when the deleting operation is performed, the third-party application being other than a system-level application recognized by the processor as being preset in a terminal comprising the processor;
- determining, based on a preset condition, whether to delete the first data of the first application;
- in response to a determination that the first application is third-party application running in the background operating state, determining the preset condition is met and renaming the first data of the first application;
- and
- storing the renamed first data in a second memory location different from the first memory location,
- wherein storing the renamed first data in the second memory location causes the first data to be in an invisible state to the first application.
A terminal, comprising:
- a processor, a memory, and a touchscreen, wherein the memory and the touchscreen are coupled to the processor, the memory is configured to store computer program code, the computer program code comprises a computer instruction, and when the computer program code is executed by the processor, the terminal is caused to:
- detect a deleting operation performed by a first application on first data stored in a first memory location, the first application being a third-party application running in a background operating state when the deleting operation is performed, the third-party application being other than a system-level application recognized by the processor as being preset in the terminal;
- determine, based on a preset condition, whether to delete the first data of the first application;
- in response to a determination that the first application is third-party application running in the background operating state, determine the preset condition is met and rename the first data of the first application;
- and
- store the renamed first data in a second memory location different from the first memory location,
- wherein storing the renamed first data in the second memory location causes the first data to be in an invisible state to the first application.
A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor, cause an apparatus to:
- detect a deleting operation performed by a first application on first data stored in a first memory location, the first application being a third-party application running in a background operating state when the deleting operation is performed, the third-party application being other than a system-level application recognized by the processor as being preset in a terminal;
- determine, based on a preset condition, whether to delete the first data of the first application;
- in response to a determination that the first application is third-party application running in the background operating state, determine the preset condition is met and rename the first data of the first application;
- and
- store the renamed first data in a second memory location different from the first memory location,
- wherein storing the renamed first data in the second memory location causes the first data to be in an invisible state to the first application.
Dependencies are inferred from the claim text.