Data backup method and device for mobile terminal
First Claim
Patent Images
1. A data backup method for a mobile terminal, comprising steps of:
- A. checking whether an xml file name and its file path used to store a backup data are validated or not, going to Step F if not validated, or else, creating an xml file and going to Step B, the xml file being used to store the backup data for the mobile terminal, the backup data being classified into a plurality of classifications including a phone book data, a short message data, and a multimedia message data;
B. determining whether to export the phone book data from the mobile terminal to the xml file or not,if yes, go to a phone book data backup process to read a phone book entry from the mobile terminal and write it to the created xml file as the phone book data, andif not, turn to Step C for entering a short message export determination;
C. determining whether to export the short message data from the mobile terminal to the xml file or not,if yes, go to a short message data backup process to read a short message entry from the mobile terminal and write it to the created xml file as the short message data, andif not, turn to Step D for entering a multimedia message export determination;
D. determining whether to export the multimedia message data from the mobile terminal to the xml file or not,if not, go to Step F, andif yes, go to a multimedia message data backup process to read a multimedia message entry from the mobile terminal and write it to the created xml file as the multimedia message data;
E. determining whether all the data backup processes are accomplished or not,if not, go back to Step B for proceeding next determination, andif yes, go to Step F; and
F. terminating the whole process.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to a mobile terminal technology. The present invention discloses a data back method and device for a mobile terminal. Since the data backup method and device of the mobile terminal provided in the present invention encodes a data in the mobile terminal into UTF-8 and stores it in the xml file, it is quite convenient to back up the data in the mobile terminal to the xml file. It is also beneficial for a user to manage the data in the mobile terminal. The present invention provides convenience for the user, the operation is simple, and the backup is easy to be done.
11 Citations
16 Claims
-
1. A data backup method for a mobile terminal, comprising steps of:
-
A. checking whether an xml file name and its file path used to store a backup data are validated or not, going to Step F if not validated, or else, creating an xml file and going to Step B, the xml file being used to store the backup data for the mobile terminal, the backup data being classified into a plurality of classifications including a phone book data, a short message data, and a multimedia message data; B. determining whether to export the phone book data from the mobile terminal to the xml file or not, if yes, go to a phone book data backup process to read a phone book entry from the mobile terminal and write it to the created xml file as the phone book data, and if not, turn to Step C for entering a short message export determination; C. determining whether to export the short message data from the mobile terminal to the xml file or not, if yes, go to a short message data backup process to read a short message entry from the mobile terminal and write it to the created xml file as the short message data, and if not, turn to Step D for entering a multimedia message export determination; D. determining whether to export the multimedia message data from the mobile terminal to the xml file or not, if not, go to Step F, and if yes, go to a multimedia message data backup process to read a multimedia message entry from the mobile terminal and write it to the created xml file as the multimedia message data; E. determining whether all the data backup processes are accomplished or not, if not, go back to Step B for proceeding next determination, and if yes, go to Step F; and F. terminating the whole process. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data backup device for a mobile terminal, comprising:
-
an xml file checking module, for checking whether an xml file name and its file path used to store a backup data are validated or not; an xml file creating module, for creating an xml file when the xml file name and its file path used to store the backup data are validated, the xml file being used to store the backup data for the mobile terminal, the backup data being classified into a plurality of classifications including a phone book data, a short message data, and a multimedia message data; a phone book data backup module, for determining whether to export the phone book data from the mobile terminal to the xml file or not, if yes, go to a phone book data backup process to read a phone book entry from the mobile terminal and write it to the created xml file as the phone book data; a short message backup module, for determining whether to export the short message data from the mobile terminal to the xml file or not, if yes, go to a short message data backup process to read a short message entry from the mobile terminal and write it to the created xml file as the short message data; a multimedia message backup module, for determining whether to export the multimedia message data from the mobile terminal to the xml file or not, if yes, go to a multimedia message data backup process to read a multimedia message entry from the mobile terminal and write it to the created xml file as the multimedia message data; and a backup checking module, for determining whether all the data backup processes are accomplished or not, if yes, terminate the whole process. - View Dependent Claims (9, 10)
-
-
11. A data backup method for a mobile terminal, comprising steps of:
-
creating an xml file, which is used to store backup data for the mobile terminal, the backup data being classified into a plurality of classifications including a phone book data, a short message data, and a multimedia message data; encoding the xml file into a code suitable for the mobile terminal to store; and reading one of a phone book entry, a short message entry, and a multimedia message entry from the mobile terminal and write it to the created xml file as the phone book data, the short message data, or the multimedia message data. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification