Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
Preserve contact person's method flow diagram referring to Fig. 1 for a kind of warning terminal user that first embodiment of the invention provides, the executive agent of method can be user terminal such as mobile phone etc.When variation has taken place for user's contact person's information, in when, as certain contact person's phone number, Email or MSN number variation having taken place, this contact person sends the information of notifying messages to notify the user to upgrade this contact person to the user, carries out the information of following steps with automatic preservation contact person.
Step 11, reception note, this note comprises sender information, short message content, receiver's information, transmitting time.
After receiving short breath, need to judge that this note is notifying messages or normal short message, notifying messages is upgraded the note of sender information for the note addresser notifies the receiver.
In the present embodiment, can be by user oneself identification notifying messages and normal short message, for notifying messages, the user can carry out content recognition by triggering the operational order that upgrades the contact person, so that further preserve associated person information; And, then do not carry out content recognition for normal short message, only reading gets final product.The operational order that upgrades the contact person can be integrated in user terminal in the mode of software, as in menu bar, adding the instruction option that upgrades the contact person, after the user sees that note is the notifying messages of update notifications associated person information, can trigger this instruction option, thus short message content is discerned, and further preserve associated person information, process is as follows:
Perhaps, also can judge whether note is notifying messages,, comprise that in short message content as keywords such as " being replaced by ", " new digits " be to judge that this note is a notifying messages as adopting the mode of the keyword that extracts short message content by user terminal.
Step 12, when this note is notifying messages, whether warning terminal user updating contact information, this notifying messages is upgraded the note of sender information for the note addresser notifies the receiver.
Wherein, this notifying messages can be the notifying messages in the mode one, be first notifying messages that the contact person uses original number to send, comprise this contact person's lastest imformation in the short message content of this first notifying messages, as the lastest imformations such as phone number, Email or MSN of this contact person's replacing.Perhaps this notifying messages also can be the notifying messages in the mode two, promptly uses second notifying messages of new digit transmission, comprises this contact person's name in the short message content of this second notifying messages.
When judging note is notifying messages, after the user has also triggered and has upgraded contact person's operational order, user terminal can obtain the operational order that upgrades the contact person, judge again whether the sender information that sends this notifying messages is the associated person information of having preserved, determination methods can adopt the mode of traversal associated person information, also can adopt other modes, the method and the prior art of judgement are similar, repeat no more.
When user terminal was judged the sender information that sends this notifying messages for the associated person information preserved, what illustrate then that this contact person uses was that original number is notified the user, comprises this contact person's lastest imformation in the short message content of this notifying messages.At this moment, need to carry out following steps and preserve lastest imformation in the short message content of notifying messages automatically.
Obtain the lastest imformation in the short message content of this notifying messages, this lastest imformation is being carried out related with this contact person and preserved.
Used original number 131X to send notifying messages as a certain contact person Zhang San to the user, in the short message content of this notifying messages, illustrated that Zhang San will use new number 189X, after then the user has triggered and has upgraded contact person's operational order, user terminal is judged the contact number of addresser's number for having preserved that sends this notifying messages, then user terminal can obtain the number information 189X in the short message content of notifying messages, and with contact person Zhang San and number 189X carry out related after, be stored in the user terminal, just realized contact person's automatic preservation thus.
Perhaps, also can adopt another kind of mode to preserve, triggered guarantor's renewal contact person's operational order the user after, user terminal obtains the number information 189X in the notifying messages, and demonstrate the tabulation of candidate contact, name with Zhang San in this tabulation is presented at the top, and promptly recommending the contact people of preservation 189X to user priority is Zhang San, and the contact people who whether is preserved 189X by the own decision of user is Zhang San.The characteristics of this kind mode are to have adopted preferential recommendation contact person, allow the user independently select the contact person who preserves.
When user terminal was judged the sender information that sends this notifying messages for the associated person information do not preserved, what illustrate then that this contact person uses was that new digit is notified the user, and the short message content in this notifying messages comprises contact person's information.At this moment, need to carry out following steps and carry out the automatic preservation of information.
Obtain the sender information of this notifying messages, and the All Contacts's information that will preserve and the short message content in the notifying messages mate; Obtain the associated person information that the match is successful, carry out the contact person and the sender information of this notifying messages of this coupling related and preservation.
Used new digit 133Y to send notifying messages as a certain contact person Li Si to the user, the explanation contact person is Li Si in the short message content of this notifying messages, after then the user has triggered hold function, terminal can be mated All Contacts's name of preservation and the content in the note, obtain the name of contact person Li Si of coupling, and with new digit 133Y and Li Si carry out related after, be stored in the user terminal, just realized the automatic preservation of associated person information thus.
Perhaps, also can adopt another kind of mode to preserve, after the user has triggered hold function, terminal is mated All Contacts's name of preservation and the content in the note, obtain the name of contact person Li Si of coupling, and demonstrate the tabulation of candidate contact, above in this tabulation, Li Si's name being presented at, promptly recommending the contact people of preservation 133Y to user priority is Li Si, and the contact people who whether is preserved 133Y by user's decision is Li Si.The characteristics of this kind mode are to have adopted preferential recommendation contact person, allow the user independently select the contact person who preserves.
In addition, when the sender of this notifying messages is the contact person who does not preserve, the mode that also can adopt the prompting user to preserve is carried out association and storage, behind the name of contact person that promptly obtains mating, this name of contact person is shown, and whether display reminding information query user carry out the sender information of this name of contact person and this notifying messages related and storage, makes the mode hommization more that the contact person preserves thus.
Present embodiment is by the information in the notifying messages of extracting contact person's transmission automatically, the contact person is carried out related and storage with associated person information, make when variation has taken place customer contact people's information thus, the user can preserve contact person's information after changing easily according to notifying messages, for the user provides convenience, has very high practicality.
The warning terminal user that Fig. 2 provides for second embodiment of the invention is preserved the structural representation of contact person's user terminal, and as shown in Figure 2, the user terminal of present embodiment can comprise: receiver module 21 and reminding module 22.
Receiver module 21 is used to receive note, and this note comprises sender information, short message content, receiver's information, transmitting time.
Reminding module 22 is used for when this note is notifying messages, and whether warning terminal user updating contact information, and this notifying messages is upgraded the note of sender information for the note addresser notifies the receiver.
In the present embodiment, can be by user oneself identification notifying messages and normal short message, for notifying messages, the user can carry out content recognition by triggering the operational order that upgrades the contact person, so that further preserve associated person information; And, then do not carry out content recognition for normal short message, only reading gets final product.
Perhaps, also can judge whether note is notifying messages,, comprise that in short message content as keywords such as " being replaced by ", " new digits " be to judge that this note is a notifying messages as adopting the mode of the keyword that extracts short message content by user terminal.This user terminal also comprises: first judge module 23 is used to judge whether this note is notifying messages.
After whether user terminal prompting user preserves the contact person, can also be further whether be that the associated person information of having preserved is handled accordingly according to the sender information of this transmission notifying messages.When user terminal was judged the sender information that sends this notifying messages for the associated person information preserved, what illustrate then that this contact person uses was that original number is notified the user, comprises this contact person's lastest imformation in the short message content of this notifying messages.When user terminal was judged the sender information that sends this notifying messages for the associated person information do not preserved, what illustrate then that this contact person uses was that new digit is notified the user, and the short message content in this notifying messages comprises contact person's information.
This user terminal also comprises: acquisition module 24, be used for when this note is notifying messages, and obtain the operational order that upgrades the contact person.
Second judge module 25 is used to judge whether the sender information of this notifying messages is the associated person information of having preserved.
First preserves module 26, is used in the sender information of this notifying messages during for the associated person information preserved, obtains the lastest imformation in the short message content of this notifying messages; Carry out related with this contact person this lastest imformation and preservation;
Second preserves module 27, be used for obtaining the sender information of this notifying messages when the sender information of this notifying messages is not the associated person information of having preserved, and the All Contacts's information that will preserve and the short message content in the notifying messages mates; Obtain the associated person information that the match is successful, carry out the contact person and the sender information of this notifying messages of this coupling related and preservation.
In the present embodiment, the prompting user when whether upgrading the contact person, the contact person's of association information priority can be presented at the foremost, whether preserve contact person and the number that demonstrates by user's decision, promptly adopt the preferential contact person's of recommendation mode, allow the user independently select the contact person who preserves.
This user terminal also comprises: display module 28 is used to show the tabulation of associated person information, and the associated person information of described association is presented at the foremost of tabulation.
The function of the user terminal in the present embodiment, and the mutual mechanism between each module and effect can not repeat them here referring to the record of the corresponding embodiment of Fig. 1.
Present embodiment is by the information in the notifying messages of extracting contact person's transmission automatically, the contact person is carried out related and storage with associated person information, make when variation has taken place customer contact people's information thus, the user can preserve contact person's information after changing easily according to notifying messages, for the user provides convenience, has very high practicality.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, and module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the device among the embodiment can be described according to embodiment and be distributed in the device of embodiment, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of embodiment of the invention technical scheme.