CN103108070B - Telephone book backup system and method thereof - Google Patents

Telephone book backup system and method thereof Download PDF

Info

Publication number
CN103108070B
CN103108070B CN201110354141.XA CN201110354141A CN103108070B CN 103108070 B CN103108070 B CN 103108070B CN 201110354141 A CN201110354141 A CN 201110354141A CN 103108070 B CN103108070 B CN 103108070B
Authority
CN
China
Prior art keywords
phone book
backup
telephone directory
array
sequence table
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
CN201110354141.XA
Other languages
Chinese (zh)
Other versions
CN103108070A (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.)
SHANGHAI MOBILETEK TELECOMMUNICATION Ltd.
Original Assignee
Shanghai Simcom 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 Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CN201110354141.XA priority Critical patent/CN103108070B/en
Publication of CN103108070A publication Critical patent/CN103108070A/en
Application granted granted Critical
Publication of CN103108070B publication Critical patent/CN103108070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the field of information storage, in particular to a telephone book backup system and a method of the telephone book backup system applied to a phone system or a subscriber identity module (SIM) card. The telephone book backup system comprises a telephone book backup management module, a telephone book reading and writing module and a file system module. The method comprises that a temporary telephone book number group is generated according to contact person amount of a to-be-backuped telephone book; the telephone book number group is sequenced so as to obtain a sequence table; the contact persons are transferred to the temporary number group, and the sequence table is updated after copying; and the contact persons that are not backuped are backuped to a backup target telephone book according to backup states, and the sequence table is updated simultaneously. The telephone book backup system and the method of the telephone book backup system have the advantages of ensuring integrality and uniqueness of backup of the telephone book and enabling a user to manage the telephone book conveniently and safely.

Description

Telephone book backup system and method thereof
Technical field
The present invention relates to area information storage, particularly relate to standby system and method thereof that one is applied to cell phone system or subscriber identification card (Subscriber Identity Module, SIM) telephone directory.
Background technology
Along with the raising of expanding economy and people's living standard, mobile communication technology is widely applied, mobile phone as portable mobile communication facility, have by increasing user.Along with popularizing of mobile phone, cell-phone telephone book has become everyone and the extraneous important tie contacted.Therefore, the backup of cell-phone telephone book also has great importance.In real life, user often needs cell-phone telephone book to back up to a new SIM card, or backups in old SIM card.
Mobile phone commercially available at present all has the function of number batch duplicating, but all on copy-once all numbers to SIM card or on mobile phone, can only there is very large limitation.Such as (1): when failing once all to have copied, cannot learn which number has copied, which number does not copy, and is now difficult to continue batch backup; (2) telephone directory of SIM card and the telephone directory of handset is easily caused to mix in backup procedure.Therefore, in real life, when the data volume of cell-phone telephone book is greater than the capacity of a SIM card, be difficult to utilize blank SIM card back up or shift telephone directory, part high-end handsets is only had to carry out synchronizing telephone directory information by the synchronization means that manufacturer provides, but this is concerning common cellphone user, not only there is very high knowledge threshold, and (part carrier customization machine must provide telephone directory synchronous applications by PC and corresponding synchronization means, though need not by PC, but collect certain expense) could realize, there is larger limitation.Therefore, need to provide a kind of and not only facilitated simple and direct but also safe and reliable telephone book backup system and method.
Summary of the invention
The technical problem to be solved in the present invention is to overcome in prior art, the operation of cellphone subscriber's backup of mobile telephone book is too loaded down with trivial details, integrality and the uniqueness of telephone directory will be kept when cannot meet high capacity telephone directory (as more than 200) backup, therefore need to provide a kind of telephone book backup system and method, make user more convenient, safely backup management is carried out to telephone directory.
For realizing above-mentioned object, the technical solution used in the present invention:
A kind of telephone book backup system, is characterized in that, comprise phone book backup administration module, telephone directory module for reading and writing and file system module; Described phone book backup administration module is connected with telephone directory module for reading and writing and file system module respectively, described phone book backup administration module is used for generating temporary phone book array and sequence table according to telephone directory to be backed up, and described temporary phone book array is backed up to backup target telephone directory, described telephone directory module for reading and writing for reading telephone directory to be backed up, and backs up to backup target telephone directory; Described file system module is for storing temporary phone book array and sequence table.
Further, described telephone directory to be backed up and backup target telephone directory are selected from the one in SIM card telephone directory and cell-phone telephone book independently of one another.
A kind of phone book backup method, adopts telephone book backup system according to claim 1, it is characterized in that, comprise the steps:
Step 1, generates a temporary phone book array according to the contact person's sum on telephone directory to be backed up in described file system module;
Step 2, to this telephone directory array sort, and obtains sequence table, and whether each contact person that temporary phone book is recorded in described sequence table backs up, and whether has the new contact person inserting temporary phone book;
Step 3, by the contact person on telephone directory to be backed up in order successively unloading to described temporary phone book array, and copying terminate after upgrade described sequence table;
Step 4, backs up to backup target telephone directory according to the Status of Backups that described sequence table identifies by the contact person not yet backed up in described temporary phone book array, and sequence table described in synchronized update.
Further, described sequence table comprises a bitmap, and described bitmap comprises an array, and each element of described array is made up of 2 positions, described array is the array that an element number equals described temporary phone book array, and this array and described temporary phone book array are mapping relations each other.
Further, described backup target telephone directory is SIM card telephone directory, in described step 3, comprises step 31 further, the user interface of mobile phone points out user to shut down and inserts SIM.
Further, described phone book backup method comprises step 5 further, and by the flag bit of checking sequence table, verify whether telephone directory to be backed up backs up complete, backed up if described flag bit represents, then phone book backup to be backed up is complete; If described flag bit represents do not back up, then repeated step 4.
Further, described backup target telephone directory is SIM card telephone directory, and described phone book backup method comprises step 6 further, judges that whether described backup target telephone directory is full, if backup target telephone directory is full, then changes another SIM card and backs up; If backup target telephone directory less than, and All Contacts backs up all, then Backup end.
Further, described phone book backup method comprises step 7 further, deletes temporary phone book array and sequence table after backup.
The advantage of telephone book backup system of the present invention and method is:
(1) by calling described phone book backup administration module, telephone directory module for reading and writing and file system management module, user can be made to back up telephone directory more easily, and telephone directory is managed effectively;
(2) by step 3 and step 4 in described phone book backup method, may be used for the integrality and the uniqueness that ensure telephone directory, make whole backup procedure more safe and reliable.
Accompanying drawing explanation
Fig. 1 is the structural representation of telephone book backup system of the present invention;
Fig. 2 is the logical flow chart of the phone book backup method described in present pre-ferred embodiments;
Label in figure is respectively:
10, phone book backup administration module; 20, file system module; 30, telephone directory module for reading and writing.
Embodiment
Be described in further detail below in conjunction with the embodiment of accompanying drawing to telephone book backup system of the present invention and method thereof.
See Fig. 1, the structural representation of telephone book backup system of the present invention.
A kind of telephone book backup system, comprises phone book backup administration module 10, telephone directory module for reading and writing 30 and file system module 20; Described phone book backup administration module 10 is connected with telephone directory module for reading and writing 30 and file system module 20 respectively, described temporary phone book array for generating temporary phone book array and sequence table according to telephone directory to be backed up, and is backed up to backup target telephone directory by described phone book backup administration module 10; Described telephone directory module for reading and writing 30 for reading telephone directory to be backed up, and backs up to backup target telephone directory; Described file system module 20 is for storing temporary phone book array and sequence table.
Further, described telephone directory to be backed up and backup target telephone directory are selected from the one in SIM card telephone directory and cell-phone telephone book independently of one another.
Therefore, first telephone book backup system of the present invention calls described telephone directory module for reading and writing, read phone book information to be backed up, then temporary phone book array and sequence table is generated according to the contact person in described phone book information to be backed up, then, the information back-up that described phone book backup administration module obtains according to telephone directory module for reading and writing is to temporary phone book array, call the file system module be connected with described phone book backup administration module again, temporary phone book array and sequence table are stored in described file system module, finally by phone book backup administration module by the information back-up of described temporary phone book array in backup target telephone directory, telephone directory module for reading and writing described in utilization, backup information is write backup target telephone directory, thus complete phone book backup.
See Fig. 2, it is the logical flow chart of the phone book backup method described in present pre-ferred embodiments.
In the present embodiment, described telephone directory to be backed up and backup target telephone directory are SIM card telephone directory, and in other implementations, any one or two in above-mentioned two telephone directories, can be SIM card telephone directory, also can be cell-phone telephone book.
In order to be illustrated more clearly in the backup procedure to SIM card telephone directory, suppose that telephone directory to be backed up exists in the first SIM card, backup target telephone directory exists in the second SIM card, and namely the telephone directory of user backs up to the second SIM card from the first SIM card.The term " first " used, " second " and " the 3rd " just in order to distinguish assembly and other assemblies, and are not used to limit the scope of the invention.
A kind of phone book backup method, adopts described telephone book backup system, comprises the steps:
Step 1: call telephone directory module for reading and writing 40, obtains the content information of the first SIM card telephone directory.In file system module 30, a temporary phone book array is generated, the corresponding contact person record of each element in described temporary phone book array according to the contact person's sum in the first SIM card.
Step 2: to temporary phone book array sort, obtain sequence table.This sequence table is obtained by bitmap (bitmap) mode, namely described bitmap is called array, each element of described array is made up of 2 bit, described array is in fact the array that an element number equals temporary phone book array, and this array and described temporary phone book array are mapping relations each other.The high-order bit of described array is for representing whether this position has the new contact person inserting temporary phone book, and low level bit is for representing whether each contact person of temporary phone book backs up.The content of each element of described temporary phone book array comprises: the information of a contact person (meets standard universal subscriber identity identification card (Universal Subscriber Identity Module, USIM) contact person's specification), and the original storage position of this associated person information.Described associated person information can be obtained by this stored position information to exist on mobile phone or in SIM card, and concrete access path.
Step S3: by the contact person in the first SIM card in order successively unloading to described temporary phone book array.At the end of copying, according to the update status of described temporary phone book array at every turn, upgrade flag bit (i.e. high-order bit) corresponding in described sequence table (i.e. described array).Because in fact described temporary phone book array can be stored in the memory of mobile phone with the form of temporary file, therefore, the supported contact person's number of mobile phone is far longer than the capacity of SIM card, does not therefore consider the situation of described temporary phone book array insufficient space in the text.
Step S4: by described sequence table and temporary phone book storage of array in described file system module 30, and " please shut down, start shooting after inserting the second SIM card again " is pointed out in the user interface of mobile phone.Shutdown action in this step is optional step, and also can be user be informed in now should shuts down by reading the channels such as specification, and initiatively shuts down and change card.
Step S5: user shuts down, and inserts the second SIM card.After start, read described sequence table by calling described file system module 30.Card step of changing in this step is only directed to backup target telephone directory to be stored in execution mode in SIM card, if be stored in mobile phone, then do not need the step inserting SIM card.
Step S6: the Status of Backups identified according to described sequence table, backs up to the second SIM card according to order by being kept at the contact person not yet backed up in described temporary phone book array temporarily, and the flag bit of sequence table described in synchronized update (i.e. low level bit).
Step S7: the flag bit checking described sequence table, backed up if described flag bit represents, then the first SIM card phone book backup is complete; If described flag bit represents do not back up, then repeated step S6, to ensure that the associated person information of the first SIM card telephone directory has backed up all in backup target telephone directory.This step is optional step, can select in the situations such as stand-by program surprisingly stops, and improves the reliability of backup.
Step S8: if fail full backup because of the insufficient space of the second SIM card, then point out " please shut down, insert Three S's IM card, then start shooting " in the user interface of mobile phone, repeats step S5, until contact person's full backup of described first SIM card is complete.If the space of the second SIM card is enough, and All Contacts backs up all, then represent the telephone directory full backup of the first SIM card.The optional step that this step is aimed at SIM card insufficient space and implements.
Step S9: when the first SIM card telephone directory full backup is complete, then delete described temporary phone book array and sequence table.This step is optional step, can discharge the memory space of mobile phone.
If cell-phone telephone book need be backed up to the second SIM card (backup target telephone directory), operating procedure is same as above, only the first SIM card telephone directory need be changed and make cell-phone telephone book, no longer repeated description herein.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (5)

1. a phone book backup method, is applicable to a telephone book backup system, it is characterized in that, described telephone book backup system comprises phone book backup administration module, telephone directory module for reading and writing and file system module; Described phone book backup administration module is connected with telephone directory module for reading and writing and file system module respectively, described phone book backup administration module is used for generating temporary phone book array and sequence table according to telephone directory to be backed up, and described temporary phone book array is backed up to backup target telephone directory, described telephone directory module for reading and writing for reading telephone directory to be backed up, and backs up to backup target telephone directory; Described file system module is for storing temporary phone book array and sequence table; Described phone book backup method comprises the steps:
Step 1, generates a temporary phone book array according to the contact person's sum on telephone directory to be backed up in described file system module;
Step 2, to this telephone directory array sort, and obtain sequence table, whether each contact person that temporary phone book is recorded in described sequence table backs up, and whether have the new contact person inserting temporary phone book, wherein said sequence table comprises a bitmap, described bitmap comprises an array, each element of described array is made up of 2 bit, described array is the array that an element number equals described temporary phone book array, this array and described temporary phone book array are mapping relations each other, the high-order bit of described array inserts new contact person for representing whether temporary phone book position has, low level bit is for representing whether each contact person of temporary phone book backs up, each element content of described temporary phone book array comprises: the original storage position of associated person information and this associated person information,
Step 3, by the contact person on telephone directory to be backed up in order successively unloading to described temporary phone book array, and copying terminate after upgrade described sequence table;
Step 4, according to the Status of Backups that described sequence table identifies, backs up to backup target telephone directory by the contact person not yet backed up in described temporary phone book array, and sequence table described in synchronized update.
2. phone book backup method as claimed in claim 1, it is characterized in that, described backup target telephone directory is SIM card telephone directory, in described step 3, comprises step 31 further, the user interface of mobile phone points out user to shut down and inserts SIM card.
3. phone book backup method as claimed in claim 1, is characterized in that, comprise step 5 further, by the flag bit of checking sequence table, verify whether telephone directory to be backed up backs up complete, backed up if described flag bit represents, then phone book backup to be backed up is complete; If described flag bit represents do not back up, then repeated step 4.
4. phone book backup method as claimed in claim 1, it is characterized in that, described backup target telephone directory is SIM card telephone directory, comprise step 6 further, judge that whether described backup target telephone directory is full, if backup target telephone directory is full, then changes another SIM card and back up; If backup target telephone directory less than, and All Contacts backs up all, then Backup end.
5. phone book backup method as claimed in claim 1, is characterized in that, comprise step 7 further, delete temporary phone book array and sequence table after backup.
CN201110354141.XA 2011-11-10 2011-11-10 Telephone book backup system and method thereof Active CN103108070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110354141.XA CN103108070B (en) 2011-11-10 2011-11-10 Telephone book backup system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110354141.XA CN103108070B (en) 2011-11-10 2011-11-10 Telephone book backup system and method thereof

Publications (2)

Publication Number Publication Date
CN103108070A CN103108070A (en) 2013-05-15
CN103108070B true CN103108070B (en) 2014-12-17

Family

ID=48315633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110354141.XA Active CN103108070B (en) 2011-11-10 2011-11-10 Telephone book backup system and method thereof

Country Status (1)

Country Link
CN (1) CN103108070B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488431A (en) * 2015-09-01 2017-03-08 中兴通讯股份有限公司 Information processing method and device
CN106550102A (en) * 2015-09-21 2017-03-29 中国移动通信集团公司 A kind of data processing method, device and SIM
CN105827740A (en) * 2016-05-30 2016-08-03 广东欧珀移动通信有限公司 Method, equipment and system for contact person information backup

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004025933A1 (en) * 2002-09-16 2004-03-25 Kemal Bayram Universal stand-alone mobile phone backup device
CN1774008A (en) * 2005-08-25 2006-05-17 上海晨兴电子科技有限公司 Telephone directory back-up method and leading-in method for mobile telephone
CN1889726A (en) * 2005-06-29 2007-01-03 英华达(上海)电子有限公司 Multi-point backup method for realizing cell phone communication directory utilizing MMS
CN101252756A (en) * 2008-03-12 2008-08-27 深圳凯虹移动通信有限公司 Method for leading in and out address book information of mobile terminal
CN101867915A (en) * 2010-06-13 2010-10-20 优视科技有限公司 Address book data backup and recovery method based on mobile terminal and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004025933A1 (en) * 2002-09-16 2004-03-25 Kemal Bayram Universal stand-alone mobile phone backup device
CN1889726A (en) * 2005-06-29 2007-01-03 英华达(上海)电子有限公司 Multi-point backup method for realizing cell phone communication directory utilizing MMS
CN1774008A (en) * 2005-08-25 2006-05-17 上海晨兴电子科技有限公司 Telephone directory back-up method and leading-in method for mobile telephone
CN101252756A (en) * 2008-03-12 2008-08-27 深圳凯虹移动通信有限公司 Method for leading in and out address book information of mobile terminal
CN101867915A (en) * 2010-06-13 2010-10-20 优视科技有限公司 Address book data backup and recovery method based on mobile terminal and system

Also Published As

Publication number Publication date
CN103108070A (en) 2013-05-15

Similar Documents

Publication Publication Date Title
CN105893084B (en) Version upgrading method and terminal device
CN105824572B (en) A kind of disk storage space management method, device and storage equipment
CN101146285B (en) A data backup method for mobile terminal
CN102945192A (en) Data backup and recovery method and intelligent mobile terminal
CN102065161B (en) System and method for realizing multi-card multi-standby mobile phone function by virtual method
CN102223361A (en) Communication systems and data synchronization methods
CN101854426A (en) Method and system for starting mobile terminal and mobile terminal
CN102984357B (en) Contact person information managing method and managing device
CN106155915A (en) The processing method and processing device of data storage
CN104615691A (en) Mobile terminal and data storage method
CN103108070B (en) Telephone book backup system and method thereof
CN101754138A (en) Method and system for automatically deleting message and mobile terminal
CN104834749A (en) File synchronization method and synchronization system for mobile terminal and PC terminal
CN105376728A (en) Boot method and communication terminal
CN102821181B (en) A kind of two-dimension code information storage method and mobile terminal
CN103237118A (en) Mobile terminal startup method and system, and mobile terminal
CN105812526B (en) A kind of peripheral hardware management and control detection method and device of intelligent terminal
CN103037076A (en) State backup reduction method and device of mobile terminal
CN101997977B (en) Method and device for enabling mobile terminal and smart card to be compatible with different network systems
CN104268097A (en) Metadata processing method and system
CN102272743A (en) Management method for information of universal integrated circuit card and device thereof
CN104765631A (en) Restoration method and device for application program of mobile terminal
CN105472599A (en) Method for accessing SIM cards and double-card mobile terminal
CN102184375A (en) Management method and terminal of data in subscriber identity module (SIM) card
CN105786650A (en) Data management method and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200714

Address after: Location 6h3, No.17 plant, No.33 Xiya Road, Shanghai Pudong New Area Free Trade Zone, 200120

Patentee after: SHANGHAI MOBILETEK TELECOMMUNICATION Ltd.

Address before: 200335 Shanghai city Changning District Admiralty Road No. 633 building A

Patentee before: SIMCOM INFORMATION TECHNOLOGY (SHANGHAI) Co.,Ltd.