Summary of the invention
The embodiment of the invention provides the method and apparatus of display message transmit leg name in a kind of portable terminal, after being implemented in portable terminal and changing number, shows the signature contents of portable terminal on recipient's display interface of information.
The embodiment of the invention provides the method for display message transmit leg name in a kind of portable terminal, and described method comprises:
Reception comprises the information of signature field content;
Extract signature field content wherein;
The name of described signature field content as information sender shown.
The embodiment of the invention also provides the device of display message transmit leg name in a kind of portable terminal, and described device comprises:
Receiving element is used for reception information, comprises the signature field content in the described information;
The signature field extraction unit is used for extracting described signature field content from the information that described receiving element receives;
Display unit is used for signature field content that described signature field extraction unit is extracted and shows as the name of information sender.
Compared with prior art, the present invention has the following advantages:
In the embodiment of the invention, portable terminal is after receiving the information of strange telephone number, show by signature field content, make the receiving party can better know the name of information sender, make the use hommization and the personalization more of portable terminal information sender.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the 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 the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides the method for display message transmit leg name in a kind of portable terminal, as shown in Figure 1, may further comprise the steps:
Step 101 receives the information that comprises the signature field content.
Step 102 is extracted signature field content wherein.
Step 103 shows the name of described signature field content as information sender.
In the embodiment of the invention, portable terminal is after receiving the information of strange telephone number, show by signature field content, make the receiving party can better know the name of information sender, make the use hommization and the personalization more of portable terminal information sender.
The embodiment of the invention provides the method for display message transmit leg name in a kind of portable terminal, as shown in Figure 2, may further comprise the steps:
Step 201 receives the information that comprises the signature field content.
In the embodiment of the invention, when using the portable terminal edit file, the signing messages that adding information carries, simultaneously in the information process of transmitting, in the data of information burst data, increase two each and every one field signature field, i.e. signature length field msg_signature_number and signature contents field msg_signature_name newly.The realization of field is in the information protocol layer, wherein:
Msg_signature_number>0 comprises signature contents field msg_signature_name in the expression current information;
Msg_signature_number=0, the expression current information does not comprise signature contents field msg_signature_name.
After the recipient's of information portable terminal receives a new information, resolve the msg_signature_number among the data burst, if find msg_signature_number>0, show that then current information comprises the signature contents field.
Step 202 is extracted signature field content wherein.
Step 203 judges whether the priority of described signature field is higher than the priority of phone directory, if, then change step 204, otherwise, step 205 then changeed.
Step 204 shows described signature field content.The telephone number and the signature contents field of described information sender can be shown, also described signature contents field can be only shown.
Step 205, the telephone number of search information transmit leg in described phone directory if searched, then extracts the name of the information sender corresponding with the telephone number of described information sender from described phone directory, and shows the name of described information sender.
Further, if search less than, then show the signature field content of described information.
When the recipient of information will be saved in the phone directory of portable terminal to the telephone number of information sender, can directly will extract in the information in the signature field content of information, and the signature field content the extracted name as information sender stored in the phone directory of portable terminal, this extraction, the user who has saved portable terminal needs the situation of manual input name when the telephone number of stored information, make the use of portable terminal more humane and personalized.
In the embodiment of the invention, portable terminal is after receiving the information of strange telephone number, show by signature field content information sender, make the receiving party can better know the name of information sender, in the phone directory of portable terminal, do not preserve phone number even guarantee the active user, information sender user is as long as use the Information Signature function in information, after can accomplishing that the other side receives information, signing messages directly is presented at information addressee number display interface, also can guarantee when being saved in number in the phone directory, not need again manual input user's name.
The embodiment of the invention provides the device of display message transmit leg name in a kind of portable terminal, as shown in Figure 3, comprising:
Receiving element 31 is used for reception information, comprises the signature field content in the described information;
Signature field extraction unit 32 is used for extracting described signature field content from the information that described receiving element 31 receives;
Display unit 33 is used for signature field content that described signature field extraction unit 32 is extracted and shows as the name of information sender.
Wherein, also comprise:
Search unit 34 is used for the telephone number in the described information sender of described phone directory search, obtains the name of corresponding information sender;
Judging unit 35 is used to judge the signature field content of described signature field extraction unit 32 extractions and the priority of phone directory;
The priority that then is higher than described phone directory when the priority of described signature field content, described signature field extraction unit 32 are extracted the signature field content and are shown for described display unit 33 as the name of information sender; Otherwise the priority of working as described signature field content is lower than the priority of described phone directory, and described search unit 34 obtains the name of the information sender in the phone directory and shows for described display unit 33 as the name of information sender.
Wherein, also comprise:
Memory cell 36, be used for the signature field content of described signature field extraction unit 32 extractions and the telephone number of described information sender are saved in described phone directory, wherein, described signature field content is saved in the described phone directory as the name of described information sender.
In the embodiment of the invention, by the device of display message transmit leg name in a kind of portable terminal is provided, make portable terminal after receiving the information of strange telephone number, show by signature field content information sender, make the receiving party can better know the name of information sender, make the use hommization and the personalization more of portable terminal.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize based on such understanding by the mode that software adds necessary general hardware platform, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.