US10705751B2ActiveUtilityA1

Method and device for processing data

Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO LTDPriority: Apr 25, 2017Filed: Apr 12, 2018Granted: Jul 7, 2020
Est. expiryApr 25, 2037(~10.8 yrs left)· nominal 20-yr term from priority
Inventors:Ke Wang
H04L 67/1097G06F 3/0608G06F 3/067G06F 3/0647G06F 3/0673G06F 3/0604G06F 3/0629G06F 12/023
48
PatentIndex Score
0
Cited by
14
References
12
Claims

Abstract

The disclosure relates to a method and device for processing data. The method includes determining a size of available storage space in a first storage area in a terminal equipment; comparing the size of the available storage space in the first storage area to a first threshold; determining that the size of the available storage space in the first storage area is less than the first threshold; in response to determining that the size of the available storage space in the first storage area is less than the first threshold, determining whether data stored in the first storage area meet a preset condition; determining that the data stored in the first storage area meet the preset condition; and transferring the data that meet the preset condition to a second storage area, wherein the second storage area is different from the first storage area.

Claims

exact text as granted — not AI-modified
The invention claimed is: 
     
       1. A method for processing data, comprising:
 determining a size of available storage space in a first storage area in a terminal equipment; 
 comparing the size of the available storage space in the first storage area to a first threshold; 
 determining that the size of the available storage space in the first storage area is less than the first threshold; 
 in response to determining that the size of the available storage space in the first storage area is less than the first threshold, determining data stored in the first storage area that meet a preset condition as data to be transferred to a second storage area; 
 displaying a name of the data to be transferred to the second storage area; 
 transferring the data stored in the first storage area that meet the preset condition to the second storage area, wherein the second storage area is different from the first storage area; and 
 displaying the name of the data having been transferred to the second storage area. 
 
     
     
       2. The method of  claim 1 , wherein determining the data stored in the first storage area that meet the preset condition comprises:
 determining a period of time during which data stored in the first storage area have not been used; 
 comparing the period of time to a second threshold; 
 determining that the period of time is greater than the second threshold; and 
 determining the data stored in the first storage area that meet the preset condition as data stored in the first storage area that have not been used for the period of time that is greater than the second threshold. 
 
     
     
       3. The method of  claim 2 , wherein determining the data stored in the first storage area that meet the preset condition as the data stored in the first storage area that have not been used for the period of time that is greater than the second threshold comprises:
 determining a size of the data stored in the first storage area; 
 comparing the size of the data to a third threshold; 
 determining that the size of the data is greater than the third threshold; and 
 determining the data stored in the first storage area that meet the preset condition as the data stored in the first storage area that have not been used for the period of time that is greater than the second threshold and have the size that is greater than the third threshold. 
 
     
     
       4. The method of  claim 1 , wherein determining the size of the available storage space in the first storage area comprises:
 determining whether data are to be stored in the first storage area; 
 in response to determining that the data are to be stored in the first storage area, determining the size of the available storage space in the first storage area; and 
 determining a size of the data that are to be stored in the first storage area, wherein the first threshold is the size of the data to be stored in the first storage area. 
 
     
     
       5. The method of  claim 1 , wherein transferring the data stored in the first storage area that meet the preset condition to the second storage area comprises:
 determining a data type of the data stored in the first storage area that meet the preset condition; and 
 sequentially transferring the data stored in the first storage area that meet the preset condition to the second storage area in order of descending priorities corresponding to data types until the size of the available storage space in the first storage area reaches the first threshold. 
 
     
     
       6. A device for processing data, comprising:
 circuitry configured to:
 determine a size of available storage space in a first storage area in a terminal equipment; 
 compare the size of the available storage space in the first storage area to a first threshold; 
 determine that the size of the available storage space in the first storage area is less than the first threshold; 
 in response to determining that the size of the available storage space in the first storage area is less than the first threshold, determine data stored in the first storage area that meet a preset condition as data to be transferred to a second storage area; 
 display a name of the data to be transferred to the second storage area; 
 transfer the data stored in the first storage area that meet the preset condition to the second storage area, wherein the second storage area is different from the first storage area; and 
 display the name of the data having been transferred to the second storage area. 
 
 
     
     
       7. The device of  claim 6 , wherein the circuitry is further configured to:
 determine a period of time during which data stored in the first storage area have not been used; 
 compare the period of time to a second threshold; 
 determine that the period of time is greater than the second threshold; and 
 determine the data stored in the first storage area that meet the preset condition as data stored in the first storage area that have not been used for the period of time that is greater than the second threshold. 
 
     
     
       8. The device of  claim 7 , wherein the circuitry is further configured to:
 determine a size of the data stored in the first storage area; 
 compare the size of the data to a third threshold; 
 determine that the size of the data is greater than the third threshold; and 
 determine the data stored in the first storage area that meet the preset condition as the data stored in the first storage area that have not been used for the period of time that is greater than the second threshold and have the size that is greater than the third threshold. 
 
     
     
       9. The device of  claim 6 , wherein the circuitry is configured to:
 determine whether data are to be stored in the first storage area; 
 in response to determining that the data are to be stored in the first storage area, determine the size of the available storage space in the first storage area; 
 determine a size of the data that are to be stored in the first storage area, wherein the first threshold is the size of the data to be stored in the first storage area. 
 
     
     
       10. The device of  claim 6 , wherein the circuitry is further configured to:
 determine a data type of the data stored in the first storage area that meet the preset condition; and 
 sequentially transfer the data stored in the first storage area that meet the preset condition to the second storage area in order of descending priorities corresponding to data types until the size of the available storage space in the first storage area reaches the first threshold. 
 
     
     
       11. A device for processing data, comprising:
 a processor; and 
 a memory for storing instructions executable by the processor, 
 wherein the processor is configured to:
 determine a size of available storage space in a first storage area in a terminal equipment; 
 compare the size of the available storage space in the first storage area to a first threshold; 
 determine that the size of the available storage space in the first storage area is less than the first threshold; 
 in response to determining that the size of the available storage space in the first storage area is less than the first threshold, determine data stored in the first storage area that meet a preset condition as data to be transferred to a second storage area; 
 display a name of the data to be transferred to the second storage area; 
 transfer the data stored in the first storage area that meet the preset condition to the second storage area, wherein the second storage area is different from the first storage area; and 
 display the name of the data having been transferred to the second storage area. 
 
 
     
     
       12. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor, cause the processor to:
 determine a size of available storage space in a first storage area in a terminal equipment; 
 compare the size of the available storage space in the first storage area to a first threshold; 
 determine that the size of the available storage space in the first storage area is less than the first threshold; 
 in response to determining that the size of the available storage space in the first storage area is less than the first threshold, determine data stored in the first storage area that meet a preset condition as data to be transferred to a second storage area; 
 display a name of the data to be transferred to the second storage area; 
 transfer the data stored in the first storage area that meet the preset condition to the second storage area, wherein the second storage area is different from the first storage area; and 
 display the name of the data having been transferred to the second storage area.

Join the waitlist — get patent alerts

Track US10705751B2 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.