CN103108070A - Telephone book backup system and method thereof - Google Patents
Telephone book backup system and method thereof Download PDFInfo
- Publication number
- CN103108070A CN103108070A CN201110354141XA CN201110354141A CN103108070A CN 103108070 A CN103108070 A CN 103108070A CN 201110354141X A CN201110354141X A CN 201110354141XA CN 201110354141 A CN201110354141 A CN 201110354141A CN 103108070 A CN103108070 A CN 103108070A
- Authority
- CN
- China
- Prior art keywords
- telephone directory
- backup
- array
- phone book
- 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.)
- Granted
Links
Landscapes
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
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
Technical field
The present invention relates to area information storage, relate in particular to a kind of standby system and method thereof that 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, and mobile phone is had by increasing user as portable mobile communication facility.Along with popularizing of mobile phone, cell-phone telephone book has become everyone and the extraneous important tie that contacts.Therefore, the backup of cell-phone telephone book also has great importance.In real life, the user often need to back up to cell-phone telephone book a new SIM card, perhaps backups on old SIM card.
At present commercially available mobile phone all has the function of number batch duplicating, but all can only all numbers of copy-once on SIM card or to mobile phone, have very large limitation.For example (1): when failing once all to have copied, can't learn which number is to copy, which number is not copy, and is difficult to continue batch backup this moment; (2) easily cause the telephone directory of SIM card and the telephone directory of handset to mix in backup procedure.therefore, in real life, when the data volume of cell-phone telephone book during greater than the capacity of a SIM card, be difficult to utilize blank SIM card to back up or shift telephone directory, only have the high-end mobile phone of part can come by the synchronization means that manufacturer provides synchronizing telephone directory information, but this is concerning common cellphone user, not only there is very high knowledge threshold, and must (provide the telephone directory synchronous applications on part carrier customization machine by PC and corresponding synchronization means, though need not be by PC, but collect certain expense) could realize, there is larger limitation.Therefore, need to provide a kind of not only convenient simple and direct but also safe and reliable phone book backup system and method.
Summary of the invention
The technical problem to be solved in the present invention is in order 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 that will keep telephone directory in the time of can't satisfying high capacity telephone directory (as more than 200) backup, therefore need provide a kind of phone book backup system and method, make the user more convenient, safely telephone directory is carried out backup management.
For realizing above-mentioned purpose, the technical solution used in the present invention:
A kind of phone book backup system is characterized in that, 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 file system module with the telephone directory module for reading and writing respectively, described phone book backup administration module is used for generating interim telephone directory array and sequence table according to telephone directory to be backed up, and described interim telephone directory array is backed up to the backup target telephone directory, described telephone directory module for reading and writing is used for reading telephone directory to be backed up, and backs up to the backup target telephone directory; Described file system module is used for storing interim telephone directory array and sequence table.
Further, described telephone directory to be backed up and backup target telephone directory are selected from a kind of in SIM card telephone directory and cell-phone telephone book independently of one another.
A kind of phone book backup method adopts phone book backup claimed in claim 1 system, it is characterized in that, comprises the steps:
Step 1 generates an interim telephone directory array in described file system module according to the contact person's sum on telephone directory to be backed up;
Step 2 to this telephone directory array sort, and obtains sequence table, and whether each contact person of the interim telephone directory of described sequence table record backs up, and whether the new contact person who inserts interim telephone directory is arranged;
Step 3, with the contact person on telephone directory to be backed up in order successively unloading to described interim telephone directory array, and upgrade described sequence table after finishing copying;
Step 4, the Status of Backups that identifies according to described sequence table backs up to the backup target telephone directory with the contact person who not yet backs up in described interim telephone directory array, and synchronously upgrades described sequence table.
Further, described sequence table comprises a bitmap, and described bitmap comprises an array, and each element of described array is comprised of 2 positions, described array is that an element number equals described interim telephone directory array in array, and this array and described interim telephone directory array are mapping relations each other.
Further, described backup target telephone directory is the SIM card telephone directory, in described step 3, further comprises step 31, and the prompting user shuts down and inserts SIM on the user interface of mobile phone.
Further, described phone book backup method further comprises step 5, by the flag bit of checking sequence table, verifies whether telephone directory to be backed up backs up complete, if described flag bit represents to back up, phone book backup to be backed up is complete; If described flag bit represents not back up, repeating step 4.
Further, described backup target telephone directory is the SIM card telephone directory, and described phone book backup method further comprises step 6, judges whether described backup target telephone directory is full, if the backup target telephone directory is full, changes another SIM card and backs up; If the backup target telephone directory less than, and the All Contacts all backs up, Backup end.
Further, described phone book backup method further comprises step 7, backs up the interim telephone directory array of complete rear deletion and sequence table.
The advantage of phone book backup system and method for the present invention is:
(1) by calling described phone book backup administration module, telephone directory module for reading and writing and file system management module, can make the user back up more easily telephone directory, and telephone directory is managed effectively;
(2) by step 3 and step 4 in described phone book backup method, can be used for guaranteeing integrality and the uniqueness of telephone directory, make whole backup procedure more safe and reliable.
Description of drawings
Fig. 1 is the structural representation of phone book backup of the present invention system;
Fig. 2 is the logical flow chart of the described phone book backup method of preferred embodiment of the present invention;
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 phone book backup system of the present invention and method thereof.
Referring to Fig. 1, the structural representation of phone book backup of the present invention system.
A kind of phone 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 file system module with telephone directory module for reading and writing 30 respectively and is connected, described phone book backup administration module 10 is used for generating interim telephone directory array and sequence table according to telephone directory to be backed up, and described interim telephone directory array is backed up to the backup target telephone directory; Described telephone directory module for reading and writing 30 is used for reading telephone directory to be backed up, and backs up to the backup target telephone directory; Described file system module 20 is used for storing interim telephone directory array and sequence table.
Further, described telephone directory to be backed up and backup target telephone directory are selected from a kind of in SIM card telephone directory and cell-phone telephone book independently of one another.
therefore, at first phone book backup of the present invention system calls described telephone directory module for reading and writing, read phone book information to be backed up, then generate interim telephone directory array and sequence table according to the contact person in described phone book information to be backed up, then, the extremely interim telephone directory array of information back-up that described phone book backup administration module obtains according to the telephone directory module for reading and writing, call again the file system module that is connected with described phone book backup administration module, interim telephone directory array and sequence table are stored in described file system module, at last by the phone book backup administration module with the information back-up of described interim telephone directory array to the backup target telephone directory, utilize described telephone directory module for reading and writing, backup information is write the backup target telephone directory, thereby complete phone book backup.
Referring to Fig. 2, it is the logical flow chart of the described phone book backup method of preferred embodiment of the present invention.
In the present embodiment, described telephone directory to be backed up and backup target telephone directory are the SIM card telephone directory, and in other execution mode, any one or two in above-mentioned two telephone directories can be the SIM card telephone directories, can be also cell-phone telephone books.
In order to be illustrated more clearly in the backup procedure to the SIM card telephone directory, suppose that telephone directory to be backed up exists in the first SIM card, the backup target telephone directory exists in the second SIM card, and namely user's telephone directory backs up to the second SIM card from the first SIM card.The term " first " that uses, " second " and " the 3rd " they are in order to distinguishing assembly and other assemblies, but not in order to limit protection scope of the present invention.
A kind of phone book backup method adopts described phone book backup system, comprises the steps:
Step 1: call telephone directory module for reading and writing 40, obtain the content information of the first SIM card telephone directory.Generate an interim telephone directory array according to the contact person's sum on the first SIM card, the corresponding contact person record of each element in described interim telephone directory array in file system module 30.
Step 2: to interim telephone directory array sort, obtain sequence table.Obtain this sequence table with a bitmap (bitmap) mode, be that described bitmap is called array, each element of described array is comprised of 2 bit, described array is in fact that an element number equals interim telephone directory array in array, and this array and described interim telephone directory array are mapping relations each other.The high-order bit of described array is used for representing whether this position has the new contact person who inserts interim telephone directory, and low level bit is used for representing whether each contact person of interim telephone directory backs up.The content of each element of described interim telephone directory array comprises: a contact person information (meets standard whole world subscriber identification card (Universal Subscriber Identity Module, contact person's standard), and the original storage position of this associated person information USIM).Can obtain described associated person information by this stored position information and exist on mobile phone or on SIM card, and concrete access path.
Step S3: with the contact person on the first SIM card in order successively unloading to described interim telephone directory array.When copying end, according to the update status of described interim telephone directory array, upgrade flag bit (being high-order bit) corresponding in described sequence table (being described array) at every turn.Because in fact described interim telephone directory array can be stored in the form of temporary file in the memory of mobile phone, therefore, the supported contact person's number of mobile phone is far longer than the capacity of SIM card, does not therefore consider in the text the situation of described interim telephone directory array insufficient space.
Step S4: in described file system module 30, and prompting on the user interface of mobile phone " please be shut down, insert start again after the second SIM card " with described sequence table and interim telephone directory storage of array.Shutdown in this step action is optional step, and can be also the user be informed in and should shuts down by reading the channels such as specification this moment, and initiatively card is changed in shutdown.
Step S5: user's shutdown, and insert the second SIM card.After start, read described sequence table by calling described file system module 30.The card step of changing in this step is only to be directed to the backup target telephone directory to be stored in execution mode in SIM card, if be stored in mobile phone, does not need to insert the step of SIM card.
Step S6: the Status of Backups according to described sequence table identifies will be kept at according to order the contact person who not yet backs up in described interim telephone directory array temporarily back up to the second SIM card, and synchronously upgrade the flag bit (being low level bit) of described sequence table.
Step S7: check the flag bit of described sequence table, if described flag bit represents to back up, the first SIM card phone book backup is complete; If described flag bit represents not back up, repeating step S6, backed up in the backup target telephone directory with the associated person information that guarantees the first SIM card telephone directory.This step is optional step, can select in the situations such as the unexpected termination of stand-by program, improves the reliability of backup.
Step S8: if fail full backup because of the insufficient space of the second SIM card, prompting on the user interface of mobile phone " please shut down, insert Three S's IM card, then start ", repeating step S5 is until contact person's full backup of described the first SIM card is complete.If the space of the second SIM card is enough, and the All Contacts all backs up, and the telephone directory that represents the first SIM card is full backup.This step is aimed at the SIM card insufficient space and the optional step implemented.
Step S9: complete when the first SIM card telephone directory full backup, then delete described interim telephone directory array and sequence table.This step is optional step, can discharge the memory space of mobile phone.
If need cell-phone telephone book is backed up to the second SIM card (backup target telephone directory), operating procedure is same as above, only needs the first SIM card telephone directory is changed to make cell-phone telephone book, no longer is repeated in this description herein.
The above is only the preferred embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle 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 (8)
1. a phone book backup system, is characterized in that, 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 file system module with the telephone directory module for reading and writing respectively, described phone book backup administration module is used for generating interim telephone directory array and sequence table according to telephone directory to be backed up, and described interim telephone directory array is backed up to the backup target telephone directory, described telephone directory module for reading and writing is used for reading telephone directory to be backed up, and backs up to the backup target telephone directory; Described file system module is used for storing interim telephone directory array and sequence table.
2. phone book backup as claimed in claim 1 system, is characterized in that, described telephone directory to be backed up and backup target telephone directory are selected from a kind of in SIM card telephone directory and cell-phone telephone book independently of one another.
3. phone book backup method adopts phone book backup claimed in claim 1 system, it is characterized in that, comprises the steps:
Step 1 generates an interim telephone directory array in described file system module according to the contact person's sum on telephone directory to be backed up;
Step 2 to this telephone directory array sort, and obtains sequence table, and whether each contact person of the interim telephone directory of described sequence table record backs up, and whether the new contact person who inserts interim telephone directory is arranged;
Step 3, with the contact person on telephone directory to be backed up in order successively unloading to described interim telephone directory array, and upgrade described sequence table after finishing copying;
Step 4, the Status of Backups according to described sequence table identifies backs up to the backup target telephone directory with the contact person who not yet backs up in described interim telephone directory array, and synchronously upgrades described sequence table.
4. phone book backup method as claimed in claim 3, it is characterized in that, described sequence table comprises a bitmap, described bitmap comprises an array, each element of described array is comprised of 2 positions, described array is that an element number equals described interim telephone directory array in array, and this array and described interim telephone directory array are mapping relations each other.
5. phone book backup method as claimed in claim 3, is characterized in that, described backup target telephone directory is the SIM card telephone directory, in described step 3, further comprises step 31, and the prompting user shuts down and inserts SIM card on the user interface of mobile phone.
6. phone book backup method as claimed in claim 3, is characterized in that, further comprises step 5, flag bit by the checking sequence table, verify whether telephone directory to be backed up backs up complete, if described flag bit represents to back up, phone book backup to be backed up is complete; If described flag bit represents not back up, repeating step 4.
7. phone book backup method as claimed in claim 3, is characterized in that, described backup target telephone directory is the SIM card telephone directory, further comprise step 6, judge whether described backup target telephone directory is full, if the backup target telephone directory is full, changes another SIM card and back up; If the backup target telephone directory less than, and the All Contacts all backs up, Backup end.
8. phone book backup method as claimed in claim 3, is characterized in that, further comprises step 7, backs up the interim telephone directory array of complete rear deletion and sequence table.
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 true CN103108070A (en) | 2013-05-15 |
CN103108070B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827740A (en) * | 2016-05-30 | 2016-08-03 | 广东欧珀移动通信有限公司 | Method, equipment and system for contact person information backup |
WO2017036181A1 (en) * | 2015-09-01 | 2017-03-09 | 中兴通讯股份有限公司 | Information processing method and device |
CN106550102A (en) * | 2015-09-21 | 2017-03-29 | 中国移动通信集团公司 | A kind of data processing method, device and SIM |
Citations (5)
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 |
-
2011
- 2011-11-10 CN CN201110354141.XA patent/CN103108070B/en active Active
Patent Citations (5)
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 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017036181A1 (en) * | 2015-09-01 | 2017-03-09 | 中兴通讯股份有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN103108070B (en) | 2014-12-17 |
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 | |
CN102945192A (en) | Data backup and recovery method and intelligent mobile terminal | |
CN103079203B (en) | A kind of terminal authentication method and smart card | |
CN101854426A (en) | Method and system for starting mobile terminal and mobile terminal | |
CN102065161B (en) | System and method for realizing multi-card multi-standby mobile phone function by virtual method | |
CN102984357B (en) | Contact person information managing method and managing device | |
CN106155596A (en) | Method for writing data and device | |
CN105376728A (en) | Boot method and communication terminal | |
CN104834749A (en) | File synchronization method and synchronization system for mobile terminal and PC terminal | |
CN103108070B (en) | Telephone book backup system and method thereof | |
CN101754138A (en) | Method and system for automatically deleting message and mobile terminal | |
CN103037076A (en) | State backup reduction method and device of mobile terminal | |
CN104268097A (en) | Metadata processing method and system | |
CN101997977B (en) | Method and device for enabling mobile terminal and smart card to be compatible with different network systems | |
CN102984330A (en) | Contact person data management method of communication device | |
CN102970401A (en) | Method and device for recoding contact information | |
CN104765631A (en) | Restoration method and device for application program of mobile terminal | |
CN102272743A (en) | Management method for information of universal integrated circuit card and device thereof | |
CN102184375A (en) | Management method and terminal of data in subscriber identity module (SIM) card | |
US20090093271A1 (en) | Access To Contact Connectors Of A Mobile Terminal From Another Mobile Terminal | |
CN102685304A (en) | Address book synchronizing method and device | |
CN101039482B (en) | Method and system for identifying inter-card data sharing for dual-mode dual-card terminal user | |
CN101534336A (en) | Mobile phone card for supporting quick read | |
CN106599699B (en) | Method and system for realizing safe deletion of data in 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 | ||
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. |
|
TR01 | Transfer of patent right |