CN100407835C - Method for backing up and recovering data in mobile terminal - Google Patents

Method for backing up and recovering data in mobile terminal Download PDF

Info

Publication number
CN100407835C
CN100407835C CN2006100614808A CN200610061480A CN100407835C CN 100407835 C CN100407835 C CN 100407835C CN 2006100614808 A CN2006100614808 A CN 2006100614808A CN 200610061480 A CN200610061480 A CN 200610061480A CN 100407835 C CN100407835 C CN 100407835C
Authority
CN
China
Prior art keywords
data
backup
file
portable terminal
steps
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2006100614808A
Other languages
Chinese (zh)
Other versions
CN1874565A (en
Inventor
方元
徐进涛
卓必波
魏任彬
吴超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2006100614808A priority Critical patent/CN100407835C/en
Publication of CN1874565A publication Critical patent/CN1874565A/en
Application granted granted Critical
Publication of CN100407835C publication Critical patent/CN100407835C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses a method for backing up and recovering data in a mobile terminal, wherein the backup method comprises the steps that a data entry which needs to be backed up is selected; data files of the data entry which needs to be backed up is read and selected; a secondary compression packing mode is adopted for performing compression; the data files of the selected data entry which needs to be backed up are compressed one by one at the first time so as to generate backup files of the data entry, and then, the backup files of the data entry generated by the compression at the first time are compressed at the second time so as to generated data backup files; the data backup files generated by the compression at the second time are stored in a storage device, and thus, the processing is accomplished. The method of the present invention can realize selective backup and recovery.

Description

The backup of data and restoration methods in the portable terminal
Technical field
The present invention relates to a kind of backup and restoration methods of data, relate in particular to the backup and the restoration methods of data in a kind of portable terminal.
Background technology
At present, there is part portable terminal (as mobile phone) that the backup and the recovery of user data can be provided, for example the day for announcing is on April 14th, 2004, notification number is the backup method that the Chinese patent literature of CN1146275C discloses user data in a kind of portable terminal, and it may further comprise the steps: (a) user data transmission in first portable terminal is stored to the base station; (b) user data that is stored in the base station is downloaded to second portable terminal.
Continuous development along with portable terminal, gradually becoming strong of mobile terminal function, the user profile that the user preserves on portable terminal is also more and more, comprise important and unessential information, because amount of user data is very big, if the expensive time is wanted in whole backup and recovery, therefore the user wishes that purpose is arranged usually, back up selectively and recover, yet, user data can only be whole backup and recover and can not realize purpose in existing portable terminal, back up selectively and recover, it is convenient inadequately therefore to use, perfect inadequately, can not satisfy comprehensive demand of client.
Summary of the invention
Technical problem to be solved by this invention is to provide the backup and the restoration methods of data in a kind of portable terminal of realizing backing up selectively and recovering.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: the backup method of data in a kind of portable terminal is provided, and it may further comprise the steps:
A1, selection need the backed up data project;
A3, read the selected data file that needs the backed up data project;
A4, employing second-compressed packing manner are compressed, earlier the selected data file of backed up data project that needs is carried out compression generation first time data items backup file item by item, and then all data items backup files that generate through compression are for the first time carried out compression generation second time backup data file again;
A5, will deposit in the storage device process ends in through the backup data file that compression for the second time generates.
Also comprise steps A 2 between described steps A 1 and the steps A 3: whether the memory space of judging storage device satisfies and uses, if satisfy, and execution in step A3 then.
In described steps A 2, as if not satisfying, then reselect and whether back up, if select backup, then return steps A 1, do not back up as if selecting, then process ends.
For solving above-mentioned another technical problem, the technical solution adopted in the present invention is: method of data recovery in a kind of portable terminal is provided, and it may further comprise the steps:
B1, select the available backup data file that is stored in the storage device;
B2, need in available backup data file, to select data recovered project backup file;
B3, the selected data recovered project backup file that needs is decompressed;
The data that B4, the back of will decompressing generate return in the portable terminal.
Further improvement in the technical proposal is: described storage device is the hard disk of flash card or portable terminal.Described data items comprises user setup data.
The invention has the beneficial effects as follows: because the present invention carries out compression generation first time data items backup file with the selected data file of backed up data project that needs earlier item by item when backup, and then all are compressed the data items backup files that generate through the first time carry out compression generation second time backup data file again, when recovering, in available backup data file, need to select data recovered project backup file earlier, and then the selected data recovered project backup file that needs decompressed, therefore guaranteed the independence of each data items, guaranteed the convenience of backup data store again, and can realize backing up selectively and recovering; In addition because institute of the present invention backed up data project comprises user setup data, therefore when original portable terminal is lost, when having the storage device of partial data to insert a new portable terminal with former mobile terminal data compatibility backup, new portable terminal can form the user identical with former portable terminal and be provided with and subscriber data, promptly has " clone's card " function.
Description of drawings
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further detail.
Fig. 1 is the backup method flow chart of data in the portable terminal of the present invention.
Fig. 2 is a method of data recovery flow chart in the portable terminal of the present invention.
Embodiment
See also Fig. 1, the backup method of data may further comprise the steps in the portable terminal of the present invention:
A1, selection need the backed up data project;
Whether A2, the memory space of judging storage device satisfy and use, if satisfy, and execution in step A3 then; As if not satisfying, then reselect and whether back up, if select backup, then return steps A 1, do not back up as if selecting, then process ends;
A3, read the selected data file that needs the backed up data project;
A4, employing second-compressed packing manner are compressed, promptly earlier the selected data file of backed up data project that needs is carried out compression generation first time data items backup file item by item, and then all data items backup files that generate through compression are for the first time carried out compression generation second time backup data file again;
A5, will deposit in the storage device process ends in through the backup data file that compression for the second time generates.
Described storage device is the hard disk of flash card or portable terminal.
See also Fig. 2, method of data recovery may further comprise the steps in the portable terminal of the present invention:
B1, select the available backup data file that is stored in the storage device;
B2, need in available backup data file, to select data recovered project backup file (this step is an optional step, realizes selecting to recover by this step, skips this step and then realizes recovering fully);
B3, the selected data recovered project backup file that needs is decompressed;
The data that B4, the back of will decompressing generate return in the portable terminal.
Data items of the present invention comprises: user setup data (is the change that the user has done Default Value, operation style with the change mobile phone), contact person, schedule, mail, note, picture, the tinkle of bells etc., and generally do not possess the user setup data backup functionality in the existing portable terminal, thereby just can't realize " clone's card " function.
When portable terminal during,, be compressed into a bag as " contact data " earlier with each different item destination data at Backup Data, the data of each project are separately independently like this, on this basis, more all packets are compressed into a bag, make things convenient for the management and the preservation of backup file like this.Twice compression is to have become a file for the file with backup; When portable terminal during, can select want to recover at each data items in restore data.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the backup method of data in the portable terminal is characterized in that may further comprise the steps:
A1, selection need the backed up data project;
A3, read the selected data file that needs the backed up data project;
A4, employing second-compressed packing manner are compressed, earlier the selected data file of backed up data project that needs is carried out compression generation first time data items backup file item by item, and then all data items backup files that generate through compression are for the first time carried out compression generation second time backup data file again;
A5, will deposit in the storage device process ends in through the backup data file that compression for the second time generates.
2. backup method as claimed in claim 1 is characterized in that: also comprise steps A 2 between described steps A 1 and the steps A 3: whether the memory space of judging storage device satisfies and uses, if satisfy, and execution in step A3 then.
3. whether backup method as claimed in claim 2 is characterized in that: in described steps A 2, as if not satisfying, then reselect and back up, if select backup, then return steps A 1, do not back up as if selecting, then process ends.
4. backup method as claimed in claim 1 is characterized in that: described storage device is the hard disk of flash card or portable terminal.
5. backup method as claimed in claim 1 is characterized in that: described data items comprises contact person, schedule, mail, note, picture and the tinkle of bells.
6. backup method as claimed in claim 1 is characterized in that: described data items comprises user setup data.
7. method of data recovery in the portable terminal is characterized in that may further comprise the steps:
B1, select the available backup data file that is stored in the storage device;
B2, need in available backup data file, to select data recovered project backup file;
B3, the selected data recovered project backup file that needs is decompressed;
The data that B4, the back of will decompressing generate return in the portable terminal.
8. restoration methods as claimed in claim 7 is characterized in that: described storage device is the hard disk of flash card or portable terminal.
9. restoration methods as claimed in claim 7 is characterized in that: described data items comprises contact person, schedule, mail, note, picture and the tinkle of bells.
10. restoration methods as claimed in claim 7 is characterized in that: described data items comprises user setup data.
CN2006100614808A 2006-06-29 2006-06-29 Method for backing up and recovering data in mobile terminal Active CN100407835C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100614808A CN100407835C (en) 2006-06-29 2006-06-29 Method for backing up and recovering data in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100614808A CN100407835C (en) 2006-06-29 2006-06-29 Method for backing up and recovering data in mobile terminal

Publications (2)

Publication Number Publication Date
CN1874565A CN1874565A (en) 2006-12-06
CN100407835C true CN100407835C (en) 2008-07-30

Family

ID=37484776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100614808A Active CN100407835C (en) 2006-06-29 2006-06-29 Method for backing up and recovering data in mobile terminal

Country Status (1)

Country Link
CN (1) CN100407835C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146285B (en) * 2007-08-30 2011-03-30 Tcl天一移动通信(深圳)有限公司 A data backup method for mobile terminal
JP5316205B2 (en) * 2009-04-27 2013-10-16 ソニー株式会社 Electronic device, content reproduction method and program
CN101582044B (en) * 2009-06-15 2012-07-04 中兴通讯股份有限公司 Key information area maintenance method of file system and device
CN101661416B (en) * 2009-09-17 2012-10-10 宇龙计算机通信科技(深圳)有限公司 A data copying method and system of mobile terminal
CN102662798A (en) * 2012-04-12 2012-09-12 青岛海信移动通信技术股份有限公司 Data recovery method and terminal for Android system
CN102722428A (en) * 2012-06-29 2012-10-10 北京小米科技有限责任公司 Address book backup and recovery method and address book backup and recovery device
CN103577280A (en) * 2012-07-30 2014-02-12 北京网秦天下科技有限公司 Method and system for duplicating data
CN103685406B (en) * 2012-09-19 2018-09-25 腾讯科技(深圳)有限公司 The method and device of mobile terminal contact person backup
CN105930711A (en) * 2016-03-31 2016-09-07 北京华智盾信息科技股份有限公司 Real-person electronic information processing method and system
CN106569910B (en) * 2016-09-29 2020-04-21 Oppo广东移动通信有限公司 Data backup and transmission method and mobile terminal
CN108063720A (en) * 2017-08-23 2018-05-22 广州市知君信息科技有限公司 Compressed package files are assigned and Mission Monitor method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1287459A (en) * 1999-09-08 2001-03-14 Lg情报通信株式会社 Duplicating method of subscriber's data in mobile terminal
CN1445677A (en) * 2002-03-19 2003-10-01 三星电子株式会社 Device and method for controlling information processing system of mobile terminal device using flash memory
US20050131939A1 (en) * 2003-12-16 2005-06-16 International Business Machines Corporation Method and apparatus for data redundancy elimination at the block level
CN1728855A (en) * 2005-07-22 2006-02-01 上海贝豪通讯电子有限公司 Mobile terminal devices and method capable of recovering user's data automatically
CN1746857A (en) * 2004-09-08 2006-03-15 华为技术有限公司 Method for restoring mobile terminal key parameter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1287459A (en) * 1999-09-08 2001-03-14 Lg情报通信株式会社 Duplicating method of subscriber's data in mobile terminal
CN1445677A (en) * 2002-03-19 2003-10-01 三星电子株式会社 Device and method for controlling information processing system of mobile terminal device using flash memory
US20050131939A1 (en) * 2003-12-16 2005-06-16 International Business Machines Corporation Method and apparatus for data redundancy elimination at the block level
CN1746857A (en) * 2004-09-08 2006-03-15 华为技术有限公司 Method for restoring mobile terminal key parameter
CN1728855A (en) * 2005-07-22 2006-02-01 上海贝豪通讯电子有限公司 Mobile terminal devices and method capable of recovering user's data automatically

Also Published As

Publication number Publication date
CN1874565A (en) 2006-12-06

Similar Documents

Publication Publication Date Title
CN100407835C (en) Method for backing up and recovering data in mobile terminal
CN101911740B (en) Method and apparatus for synchronizing contacts stored on smart card with contacts stored in an internal memory
CN101098343B (en) Information interchange method for handset and network server
CN103235685A (en) Method and device for setting desktop content of terminal operating system
CN101370212A (en) Data processing method and apparatus
JP5688061B2 (en) Apparatus and method for managing messages in a portable terminal, and electronic apparatus
CN101958958A (en) Method for replying message and terminals
CN102638565A (en) Mobile phone cloud encryption backup and recovery method based on cloud architecture
CN102591747A (en) Data backup method and device
CN101237605A (en) Personalized SMS group sending method
CN101867915A (en) Address book data backup and recovery method based on mobile terminal and system
CN103942126B (en) Electronic equipment and its data back up method
CN101640717A (en) Short message management system and method
CN101137140B (en) Terminal NV parameter backup recovering method
CN103179153B (en) Mobile terminal and mobile terminal data backup method based on cloud server
CN104219356A (en) Method and device for displaying and searching contact man information and mobile terminal
CN105447024A (en) Information display method and system
CN202444513U (en) Information backup system for mobile terminal
CN102821181A (en) Two-dimension code information storage method and mobile terminal
CN104104781A (en) Method and device for displaying handset SIM card contact people
CN108009053A (en) The management of smart mobile phone core data and cloning process
CN103092768A (en) Method and device of data processing in application system
CN103309906A (en) Address book backup and recovery method and device
CN103929480A (en) Data backup method and device based on tasks
CN101969496B (en) Data interaction method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant