摘要 |
Embodiments of the present invention provide a method and a device for processing mobile phone data. The method includes: traversing data to be processed and storing handle identifiers of the data to be processed; during a process of storing the handle identifiers of the data to be processed, determining whether an instruction of canceling processing from a user is received, if the instruction of canceling processing from the user is received, clearing the stored handle identifiers; and if no instruction of canceling processing from the user is received, performing, after the process of storing the handle identifiers of the data to be processed is completed, unified processing on the data to be processed. Compared with the solution in the prior art that the data to be processed is read one by one and processed one by one, the embodiments of the present invention adopt a staged and batch processing technology, which can improve the data processing speed, and meanwhile, no actual processing operation is performed on the data during the process of storing or clearing the handle identifiers, which can ensure that the mobile phone data after the processing is canceled are consistent with the mobile phone data before the processing. |