Summary of the invention
The technical problem to be solved in the present invention provides a kind of method and system of realizing personal information management based on smart card, operations such as individual information backups such as phone directory, short message, reparation can be provided, not only fully satisfy the user to the input of phone directory, note and the demand of editor's convenience, the fail safe that has also improved user resources greatly simultaneously.
In order to address the above problem, the present invention proposes a kind of method based on smart card realization personal information management, may further comprise the steps: initiate register requirement by the end side smart card to network side server, in this request, comprise user profile; Create the respective stored space and store described user profile by described server; To comprise that by described smart card the information content of user profile is packaged into messaging format and sends to described server; By described server the described information content is stored into described user profile corresponding memory space and to back up.
In addition, the operation by the described user profile of described server stores can comprise: judge whether to preserve described user profile, if preserve then directly preservation; If it is identical with the card sequence number of having preserved to have preserved and sent the card sequence number of described user profile use, then described user profile is covered original user profile; If preserved but to send the card sequence number that uses in the described user profile and the card sequence number of having preserved inequality, then described user profile is replaced the information different with original user profile.
In addition, the operation that sends the information content and store the described information content can also comprise: by described smart card detection updated information content and corresponding sequence number, when arriving the transmission thresholding of setting, to send to described server after the updated information content packaging, described thresholding comprises the bar number of detection time and/or change record; Find the corresponding sequence number of described memory space by described server according to the sequence number of described information, and described information is replaced the backup content of original preservation.
In addition, described method can also comprise: when described server receives the over-network registration request that comprises cell-phone number, notify the end side smart card corresponding with described cell-phone number to register; Register by described smart card, and after succeeding in registration, receive WEB door network address and the login password that described server sends; When described server receives correct log-on message on WEB door network address, provide the information editing page; And back up by the information of described server after with described editor.
In addition, described method can also comprise: initiate recovery request by the end side smart card to network side server, comprise user profile in this request; Described network side server finds and preserves the backup content corresponding with described user profile according to the described user profile in the described recovery request, and described backup content is converted into messaging format is issued to the end side smart card.
A kind of system based on smart card realization individual information backup, wherein:
The end side smart card comprises: transmitting element, initiate register requirement to network side server, and in described request, comprise user profile; The information content of packaged unit packing is sent to described server; Packaged unit will comprise that the information content of user profile is packaged into messaging format;
Network side server comprises: receiving element receives the described register requirement that comprises user profile, and receives the described information content that comprises user profile; Memory cell is stored described user profile, and the described information content is stored into described user profile corresponding memory space back up.
In addition, network side server also comprises: judging unit judges whether to preserve described user profile, if preserve then directly preservation; If it is identical with the card sequence number of having preserved to have preserved and sent the card sequence number of described user profile use, then notify described memory cell that described user profile is covered original user profile; If preserved but to send the card sequence number that uses in the described user profile and the card sequence number of having preserved inequality, then notify described memory cell that described user profile is replaced the information different with original user profile.
In addition, the end side smart card also comprises: detecting unit, detect updated information content and corresponding sequence number, when arriving the transmission thresholding of setting, notify described packaged unit that the updated information content is packed, described thresholding comprises the bar number of detection time and/or change record.
In addition, network side server also comprises: issue the unit, when receiving the over-network registration request that comprises cell-phone number, notify the end side smart card corresponding with described cell-phone number to register; And to successful described smart card transmission WEB door network address and the login password of registering; Edit cell when after receiving correct log-on message on the described WEB door network address, provides the information editing page, and notifies the information after described memory cell will be edited to back up.
In addition, described receiving element also receives the request of the information content that recovery backed up, comprise user profile in the described request, according to the described user profile in the described recovery request, find described memory cell and preserved the backup content corresponding, and described backup content is converted into messaging format is issued to the end side smart card with described user profile.
A kind of end side smart card of realizing in the individual information backup system comprises: transmitting element, initiate register requirement to network side server, and in described request, comprise user profile; The information content of packaged unit packing is sent to described server; And packaged unit, will comprise that the information content of user profile is packaged into messaging format.
Network side server in a kind of system that realizes individual information backup comprises: receiving element, and the register requirement that comprises user profile that receiving terminal side smart card sends receives the described information content that comprises user profile that described end side smart card sends; And memory cell, store described user profile, and the described information content stored into described user profile corresponding memory space back up.
Compared with prior art, the cellphone subscriber uploads phone directory, short message in the SIM card by operation SIM card menu and stores in the server among the present invention, above download of information is applied in the SIM card when needed.In addition, the user also can directly consult, revise, add, delete the SIM card phone directory, the short message that are stored in the server by internet site, and with amended download of information in SIM card.The user can carry out above operation at any time on SIM card, not only fully satisfy the user to the input of phone directory, note, the demand of editor's convenience, the fail safe that has also improved user resources greatly simultaneously.
Embodiment
In the mobile communications network, the technology that connects between SIM card and server and carry out message transmission by the SMS mode is the most ripe, along with usim card and 3G mobile increased functionality, not only supports BIP, also can adopt HTTP future, and multiple bearing mode such as WAP improves efficiency of transmission.The present invention is based under the above-mentioned technical background, by short message channel with the phone directory on user's card and short message to network side upload backup and from network side to card on the download of information recover, further also can directly realize above-mentioned functions by internet site.
Fig. 1 illustrates among the present invention the backup method flow chart of realizing personal information based on smart card, be by user terminal smart card and server constitute jointly, collaborative work, so that the network side backup of smart card personal information to be provided.Described network comprises GSM, CDMA, PHS or 3G, and described smart card is applicable to SIM, UIM, PIM and usim card.This method comprises:
Instep 110, initiate register requirement by the end side smart card to network side server, in this request, comprise user profile.Described user profile can be this type of subscriber phone, card issuing batch, cell-phone number etc.
Instep 120, create the respective stored space and store described user profile by described server.Particularly, be that every sheet smart card has distributed a size and all identical with this card personal information storage space of storage mode by described server, be referred to as personal information mirrored storage space.Personal information record in record in this mirrored storage space and the smart card is corresponding one by one, is associated by identical recording indexes value.
Instep 130, will comprise that by described smart card the information content of user profile is packaged into messaging format and sends to described server.The described information content can comprise phone directory and/or note, and wherein, employed packing manner can comprise automated back-up, incremental backup and backup fully, will be elaborated in the following embodiments.
Instep 140, by described server the described information content is stored into described user profile corresponding memory space and to back up.
Fig. 2 illustrates the flow chart of another execution mode of the present invention, in the operation ofstep 120 described in this flow process by the described user profile of described server stores, can also comprise:
At step 120-1, judge whether to preserve described user profile, if preserve then directly preservation in step 120-4.
At step 120-2,, then described user profile is covered original user profile if it is identical with the card sequence number of having preserved to have preserved and sent the card sequence number of described user profile use.
At step 120-3,, then described user profile is replaced the information different with original user profile if preserved but to send the card sequence number that uses in the described user profile and the card sequence number of having preserved inequality.
Fig. 3 illustrates the flow chart of another execution mode of the present invention, has described the process that the updated information content is backed up in this flow process.
In step 130-1,, described server will be sent to after the updated information content packaging by described smart card detection updated information content and corresponding sequence number.Described updated information content can manually be searched by the user, also can detect automatically by smart card, in the time will sending described update content, can be by user's manual triggers, also can when arriving the transmission thresholding of setting, send automatically by smart card, the transmission thresholding of described setting can be the transmitting time threshold value of setting, and also can be the bar number of the more new record of setting, perhaps other thresholdings of according to circumstances setting.Certainly, described smart card also can send to described server after the full detail packing.
In step 140-1, find the corresponding sequence number of described memory space by described server according to the sequence number of described information, and described information is replaced original backup content that is kept in the described memory space.
In addition, the personal information confirmation of receipt also is set instep 140 replys mechanism, to reduce individual information backup information dropout probability.Be server when in the time of appointment, also not receiving whole information contents, the backup information index of having received can be packaged into messaging format, reply to smart card.Record through resolving and finding server not receive after smart card is received is packaged into the backup command note with these records then and resends server.
Fig. 4 illustrates the method flow diagram in another execution mode of the present invention, also by the online backup that realizes personal information in the smart card, may further comprise the steps in this flow process:
Step 410 when described server receives the over-network registration request that comprises cell-phone number, notifies the end side smart card corresponding with described cell-phone number to register.
Step 420 is registered by described smart card, and receives WEB door network address and login password that described server sends after succeeding in registration.
Step 430 when described server receives correct log-on message on WEB door network address, provides the information editing page.Described correct log-on message can be cell-phone number and password etc.Authenticate by the information of server, not by then pointing out login failed for user, can in the next page that enters, phone directory, note options be selected and edit by user then as authentication as authentication to input.
Step 440 is preserved backup by the information of described server after with described editor.From database, take out relevant content of user's options and demonstration by the WEB portal server.After the user added, deletes, revises content displayed and confirms to preserve, the information after the WEB portal server system will be changed deposited in the database, and the renewal of prompting database information is finished.Make mistakes as renewal, the prompting user upgrades failure cause.
Describe above-mentioned backup procedure in detail below in conjunction with specific embodiment; the transmission information ofstep 130~step 140 and several modes of stored information; described mode comprises automated back-up, incremental backup and the backup fully to phone directory; and the manual backup of note and backup fully; just be used for below backup mode described and be beneficial to understand; and those skilled in the art should be out of shape accordingly or revise according to described mode, but all should cover in the protection range of this claim.
Carrying out automated back-up phone directory content, when described smart card starts the change record detection of described backup content, judging whether the bar number of described detection time and/or change record arrives the transmission thresholding of setting.Described change can comprise interpolation, revise or the deletion telephone number; If the transmission thresholding that no show is set then continue to carry out described detection sends to described server if arrived the transmission thresholding of setting then described modification information is packaged into messaging format.By server the data of receiving are carried out integrality, legitimate verification, if abort process flow process is not then passed through in checking; If the verification passes, then change record is stored in the phone directory recording field of database by server.Among this embodiment, smart card can detect the more new situation of phone directory automatically, and can send to server automatically to carry out information updating, certainly, also can send prompting and manually send to server to the user when smart card detect renewal automatically.After the smart card announcement server had sent full backup information, server also returned confirmation, and at this moment, the user can back up content by online enquiries.
When carrying out incremental backup phone directory content, by SIM card lastest imformation is packaged into messaging format, use in the order of phone directory incremental backup and be dealt into server, in described lastest imformation, include the sequence number of lastest imformation.SIM card can be pointed out the user bar number of this backup phone directory.Server carries out integrality and legitimate verification to the data of receiving, do not pass through then abort process flow process as checking, otherwise, find the corresponding sequence number of described memory space by described server according to the sequence number of described lastest imformation, and described lastest imformation is replaced original backup content that is kept in the described memory space.
When executing full backup phone directory content, will block interior all effective phone directory recording data messages by SIM card and be packaged into messaging format, use the complete backup command of phone directory to upload onto the server.Server carries out integrality and legitimate verification to the data of receiving, does not pass through then abort process flow process as checking; As checking by the whole phone directory recordings in the phone directory mirrored storage space of server empty user then, according to agreement these notes are separated and to be bundled into phone directory recording, and according to the index of every phone directory recording, be the position of certain bar phone directory recording in total phone directory file of SIM card, store in the record in corresponding phone directory mirrored storage space.SIM card distributes the modified logo of the phone directory that clears all after the full backup information, receives the phonebook backup confirmation from network side, and the user can also be by the online enquiries backup result.
When carrying out the short message content backup, comprise manual backup and backup fully, to block interior all effective notes packing by SIM card uploads, perhaps provide existing message list to select (preceding 8 bytes of every short message content of message list demonstration for the user, i.e. 4 Chinese characters), and with the note packing that the user selects upload onto the server.After server is received note, judge whether this user is registered, as the unregistered flow process of then ending of this user.Registered as this user, then note is directly appended in the note record field of database.When the note record field record space of database has expired, should adopt the more mode of new message record (promptly delete original article one record earlier, again new message is deposited a last record) that circulates.In this embodiment, the prompting user ID is finished after the SIM card end distributes note, and receives note backup confirmation from network side, and the user also can be by the online enquiries backup result.
Fig. 5 illustrates the example of backup method of the present invention, may further comprise the steps:
Instep 511, initiate register requirement by SIM card to server, in this request, comprise user profile such as this this type of subscriber phone, card issuing batch, cell-phone number.
Instep 512, server receives register requirement and verified users legitimacy.
Instep 513, when verified users is legal, whether have this user's log-on message in the judgment data storehouse.
Instep 514, verification shows that the user is illegal, sends registration failure and replys message.The transmission of log-on message can not influence other normal runnings.
Instep 515, when having preserved this log-on message in the database, judge whether the card sequence number of this log-on message use is identical with the card sequence number of database preservation.
Instep 516, when not preserving this log-on message in the database, by server described user profile is stored in the database, for this user creates corresponding telephone basis and note memory space, send the answer message that succeeds in registration to SIM card, and send WEB door network address and user cipher.
Instep 517, when the card sequence number that uses is inequality, illustrate that the user has changed card, server is replaced original user's registration information with new user's registration information.This does not carry out the detection of coincidence counter A, covers the original counter A of server value with the counter A value in the log-on message of receiving, issues the answer message that succeeds in registration after counter B value adds 1 in the database.
Instep 518, when the card sequence number that uses is identical, detects coincidence counter and whether meet the requirements.
Instep 519, coincidence counter meets the requirements, and server covers original user's registration information with new user's registration information, and issues the answer message that succeeds in registration, and continuesstep 521.
Instep 520, coincidence counter is undesirable, and the coincidence counter according to the coincidence counter adjustment server side of uploading continuesstep 521.
Instep 521, judge by described smart card whether the bar number of change record arrives the transmission thresholding of setting, if the transmission thresholding that no show is set then continue to carry out described detection.
Instep 522, if arrived setting the transmission thresholding with described modification information with and sequence number be packaged into messaging format and send to described server.
Instep 523, find the corresponding sequence number of described memory space by described server according to the sequence number of described information, and described information is replaced the backup content of original preservation.
Fig. 6 illustrates the method flow diagram that recovers described backup content among the present invention, obtains the information content of backup in server by described recovery operation, and this method may further comprise the steps:
Instep 610, initiate recovery request by the end side smart card to network side server, in this request, comprise user profile;
Instep 620, described network side server finds and preserves the backup content corresponding with described user profile according to the described user profile in the described recovery request, and described backup content is converted into messaging format is issued to the end side smart card.
In addition, server can be waited for the affirmation note of receiving this group note that smart card is beamed back.If in the time of appointment, do not receive the affirmation note, server can resend this group note, and after receiving the affirmation note, server just can continue to send next group and recover note, till the full recovery note is all received by smart card, to reduce the losing probability of photos and sending messages down.
Wherein, the operation that recovers described backup content comprises the increment recovery phone directory, can carry out following operation: send the request of address list increment recovery by SIM card to server.Server carries out integrality, legitimate verification to the data of receiving.Do not pass through as checking, then the abort process flow process.Pass through as checking, server finds this user's corresponding modify or newly-increased address book data in the database, and the phone directory recording of preserving in the database is converted into messaging format, uses the order of phone directory increment recovery to issue.SIM card shows and recovers to finish information after executing the increment recovery operation, and is subjected to address list increment recovery confirmation to network side transmission card side joint.
Wherein, the operation that recovers described backup content comprises and recovers phone directory fully, can carry out following operation: send the complete recovery request of address list to server by SIM card, server carries out integrality and legitimate verification to the data of receiving, do not pass through then abort process flow process as checking, otherwise server finds the corresponding address book data of this user in the database, the phone directory recording of preserving in the database is converted into messaging format, uses phone directory to recover order fully and issue.SIM card should be removed in the card original address list information and preserve the information (one time recovery process is only removed once) that receives after receiving the complete recovering information of address list for the first time, sends the affirmation information of having accepted the address list increment recovery to network side simultaneously.
Wherein, the operation that recovers described backup content comprises and recovers note fully, can carry out following operation: send the complete recovery request of note to server by SIM card, server carries out integrality and legitimate verification to the data of receiving, do not pass through then abort process flow process as checking, otherwise network side is handed down to SIM card according to the short message capacity A in the user's registration information with nearest A bar short message packing.SIM card should be removed original short message in the card (a time recovery process is only removed once) after receiving the complete recovering information of note for the first time.SIM card receives that whenever a note promptly writes card and recover.SIM card shows and recovers to finish information after executing recovery operation, and confirmed by the note restore data to network side transmission card side joint.
Fig. 7 illustrates the method flow diagram of the described backup content of deletion among the present invention, can perhaps delete some backup informations under the situation of limited storage space when not needing to preserve described backup information, and this method may further comprise the steps:
Instep 710, initiate de-registration request by the end side smart card to network side server, in this request, comprise user profile;
Instep 720, arrive the memory space that mates with described user profile by described whois lookup, and delete the backup content of having stored.
Fig. 8 illustrates and the present invention is based on the system that smart card is realized individual information backup, comprising: end sidesmart card 1 andnetwork side server 2.
Fig. 9 illustrates the structure chart of end side smart card among the present invention, comprising: transmittingelement 11 and packagedunit 12.
Transmittingelement 11 is initiated register requirement to network side server, comprises user profile in this request.After succeeding in registration, packagedunit 12 will comprise that the information content of user profile is packaged into messaging format, and will be comprised that by transmittingelement 11 information content of user profile sends to described server by messaging format.
Figure 10 illustrates the structure chart of network side server among the present invention, comprising: receivingelement 21 andmemory cell 22.
Receivingelement 21 receives the described register requirement that comprises user profile, by the described user profile ofmemory cell 22 storages.When receivingelement 21 receives the described information content that comprises user profile, bymemory cell 22 the described information content is stored into described user profile corresponding memory space and to back up.
Figure 11 illustrates the structure chart of network side server described in another execution mode of the present invention, also comprises: judgingunit 23 judges whether to preserve described user profile, if preserve then directly preservation; If it is identical with the card sequence number of having preserved to have preserved and sent the card sequence number of described user profile use, then notify described memory cell that described user profile is covered original user profile; If preserved but to send the card sequence number that uses in the described user profile and the card sequence number of having preserved inequality, then notify described memory cell that described user profile is replaced the information different with original user profile.
Figure 12 illustrates the structure chart of end side smart card described in another execution mode of the present invention, also comprises: detectingunit 13, detect updated information content and corresponding sequence number, and notify the transmission of packing of described packagedunit 12.
Figure 13 illustrates the structure chart of network side server described in another execution mode of the present invention, also comprises: issue unit 24 and edit cell 25.
Issue unit 24 when receiving the over-network registration request that comprises cell-phone number, notify the end side smart card corresponding to register with described cell-phone number; And to successful described smart card transmission WEB door network address and the login password of registering.Edit cell 25 provides the information editing page after receiving correct log-on message, and notifies the information after describedmemory cell 22 will be edited to back up.
In addition, described transmittingelement 11 is also initiated recovery request to network side server, comprises user profile in this request.The request of the information content that described receivingelement 21 reception recoveries have been backed up, according to the described user profile in the described recovery request, find describedmemory cell 22 and preserved the backup content corresponding, and described backup content is converted into messaging format is issued to the end side smart card with described user profile.
In addition, described transmittingelement 11 is also initiated de-registration request to network side server, comprises user profile in this request.Described receivingelement 21 also receives described de-registration request, and notifies describedmemory cell 22 to find the memory space that mates with described user profile, the backup content that deletion has been stored.
The present invention can carry out the backup of various ways by SIM card to the userspersonal information, comprise automated back-up, incremental backup and manual backup etc., can also recover phone directory, short message to user's SIM card from network side, can also consult, revise, add or delete phone directory, the note that is stored in the server by the Internet portal website, and with amended download of information in SIM card.