Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The flow chart of the method for executing user command that Fig. 1 provides for the embodiment of the present invention one.As shown in Figure 1, the present embodiment comprises:
Special text in the short message that step 101, identification receive, this special text comprises telephone number and/or name.
After user receives short message, the special text in this short message of terminal recognition, this special text comprises telephone number, and/or the name of the contact person recorded in the address list of terminal.
The control that step 102, display associate with special text.
In the interface of display short message, show the control associated with special text, this control can in the optional position at interface.Preferably, can using the position at special text place in interface as control, such as: by special text in some way (as modes such as highlighted, overstrikings) highlight, as control.
The function triggering signal that step 103, reception user input according to control, Presentation Function operation interface.
User clicks control, and terminal can receive the function triggering signal produced because user clicks control, then Presentation Function operation interface in the interface of display short message.Such as, after special text highlights in highlighted mode, user clicks this highlighted position, at position display one drop-down menu that user clicks, this drop-down menu is feature operation interface, wherein can comprise at least one in following operation: calling, newly-built contact person, be saved in existing contact person, send short message, send multimedia message, send mail, transmission business card, edit contact and check the operation that contact person etc. is relevant with contact person.
The function command that step 104, reception user input according to feature operation interface, performs the operation that this function command is corresponding.
In user's click function operation interface any one, terminal can receive the function command that produces because user clicks, and terminal performs operation corresponding to this function command.Such as, user clicks " calling ", and terminal then calls out this name or contact person corresponding to telephone number.
The present embodiment, after identifying the special text in short message, shows the control associated with special text; After user clicks control, Presentation Function operation interface; In user's click function operation interface after any one, perform corresponding operating.This embodiment simplifies the operating procedure of user, improve the convenience of contact person's operation, optimize Consumer's Experience.
The flow chart of the method for executing user command that Fig. 2 provides for the embodiment of the present invention two.As shown in Figure 2, the present embodiment comprises:
Step 201, reception short message.
Step 202, all words in short message to be scanned.
After scanned, if find, short message comprises telephone number, using this telephone number as special text.
Step 203, all words and the name of contact person in address list carried out circulation and mate and inspect, if obtain the word mated with the name of contact person in address list, it can be used as special text.
Wherein circulation coupling inspection method can specifically comprise: by information content Chinese version extracting section out, and being circulated respectively by character wherein contrasts with the initial character of contact person in address list; If find the character mated with the initial character of name of contact person, then continue the character late of second of name of contact person character and information text to contrast; If second of name of contact person character does not mate with the character late of information text, then initial characters all in this character and contacts list are carried out new round contrast; If second of name of contact person character mates with the character late of information text, then continue contrast the 3rd character, the like; Finally, if find the character mated completely with name of contact person, then using this character as special text; If do not find the character mated with name of contact person, then think that special text does not comprise name.
Step 204, display short message, show the control associated with special text in this short message display interface.
While display short message, show the control associated with special text.Fig. 3 is the schematic diagram of the short-and-medium information display interface of the embodiment of the present invention two step 204.As shown in Figure 3, in interface, the position at " name 2 " place highlights with highlighted, and " name 2 " that highlight is as control.
Step 205, receive the function triggering signal produced because user clicks control, Presentation Function operation interface.
User clicks control, and terminal can receive the function triggering signal produced because user clicks control, then Presentation Function operation interface in the interface of display short message.Fig. 4 is the schematic diagram of the short-and-medium information display interface of the embodiment of the present invention two step 205.As shown in Figure 4, user clicks " name 2 ", demonstrates the drop-down menu as feature operation interface in this interface, and Fig. 4 shows calling, sends short message, sends the operations such as mail.The present embodiment is not limited only to this, and feature operation interface can also comprise other operations relevant with name 2, as newly-built contact person, is saved in existing contact person, sends multimedia message, sends business card, edit contact and checks the operation that contact person etc. is relevant to contact person.
Step 206, receive user because of any one and the function command that produces in click function operation interface, perform the operation that this function command is corresponding.
In user's click function operation interface any one, terminal can receive the function command that produces because user clicks, and terminal performs operation corresponding to this function command.Such as, user clicks " calling ", and terminal then calls out the contact person of this name 2 correspondence.
The present embodiment is by identifying telephone number in short message or name of contact person, the operation relevant with this telephone number or name of contact person and application is provided to user in short message display interface, simplify the operating procedure of user, improve the convenience of contact person's operation, optimize Consumer's Experience.
The embodiment of the present invention also has a special application scenarios, in this scenario, the short message that user receives is that certain friend wishes that user upgrades the note of his telephone number, such as: user receives note: " hello; I is Zhang San; my telephone number is replaced by 139********, please upgrade in time ", wherein special text comprises name " Zhang San " and telephone number " 139******** ".Under this scene, the embodiment of the present invention three provides corresponding method for executing user command.
The flow chart of the method for executing user command that Fig. 5 provides for the embodiment of the present invention three.As shown in Figure 5, the present embodiment comprises:
Step 301, reception short message.
Step 302, all words in short message to be scanned.
After scanned, find that short message comprises telephone number, using this telephone number as special text.
Step 303, all words and the name of contact person in address list carried out circulation and mate and inspect, obtain the word mated with the name of contact person in address list, it can be used as special text.
Wherein circulation coupling inspection method can see the associated description of embodiment two.
Step 304, display short message, show the control associated with special text in this short message display interface.
While display short message, show the control associated with special text.Fig. 6 is the schematic diagram of the short-and-medium information display interface of the embodiment of the present invention three step 304.As shown in Figure 6, in interface, the position at " name 1 " and " number 2 " place highlights with highlighted, and " name 1 " and " number 2 " that highlight is as control.
The function triggering signal that step 305, reception user input according to control, Presentation Function operation interface.
User clicks control " number 2 ", and terminal can receive the function triggering signal produced because user clicks control, then Presentation Function operation interface in the interface of display short message.Fig. 7 is the schematic diagram of the short-and-medium information display interface of the embodiment of the present invention three step 305.As shown in Figure 7, user clicks " number 2 ", demonstrates the drop-down menu as feature operation interface, calling has been shown in Fig. 7, sends short message, send mail and be saved in the operations such as existing contact person in this interface.The present embodiment is not limited only to this, and feature operation interface can also comprise other operations relevant with number 2, as newly-built contact person, sends multimedia message, sends business card, edit contact and checks the operation that contact person etc. is relevant to contact person.
The function command being saved in existing contact person that step 306, reception user input according to feature operation interface, is saved in telephone number in address list corresponding to name.
User clicks " being saved in existing contact person ", terminal can receive the function command produced because user clicks, now the display interface of terminal can jump to address list interface, user needs to select this number 2 to be saved in address list in which contact person, and then number 2 is saved in address list by terminal.
Further, when the display interface of terminal jumps to address list interface, in this address list, name 1 is presented at the front end of address list, user can select to be saved in by number 2 in the contact person of name 1 correspondence in address list.Name 1 is presented at the front end of address list, makes user can see name 1 at a glance, without the need to searching in address list, improve the convenience of operation.
The present embodiment is by identifying telephone number in short message and name of contact person, the operation relevant with this telephone number or name of contact person and application is provided to user in short message display interface, user is made to upgrade the contact method of address list easily, simplify the operating procedure of user, improve the convenience of contact person's operation, optimize Consumer's Experience.
The structural representation of the terminal equipment that Fig. 8 provides for the embodiment of the present invention four.As shown in Figure 8, the present embodiment comprises: identification module 11, first display module 12, second display module 13 and Executive Module 14, wherein:
Identification module 11 is for identifying the special text in the short message that receives, and this special text comprises telephone number and/or name;
First display module 12 is for showing the control associated with special text;
The function triggering signal that second display module 13 inputs according to control for receiving user, Presentation Function operation interface;
The function command that Executive Module 14 inputs according to feature operation interface for receiving user, performs the operation that this function command is corresponding.
In the present embodiment, identification module 11 identifies the special text in the short message that user receives, and this special text comprises telephone number, and/or the name of the contact person recorded in the address list of terminal.First display module 12 shows the control associated with special text in the interface of display short message, and this control can in the optional position at interface.Preferably, can using the position at special text place in interface as control; Second display module 13 receives the function triggering signal produced because user clicks control, then Presentation Function operation interface in the interface of display short message.Such as, after special text highlights in highlighted mode, user clicks this highlighted position, at position display one drop-down menu that user clicks, this drop-down menu is feature operation interface, wherein can comprise at least one in following operation: calling, newly-built contact person, be saved in existing contact person, send short message, send multimedia message, send mail, transmission business card, edit contact and check the operation that contact person etc. is relevant to contact person; Executive Module 14 receives the function command produced because user clicks, and performs the operation that this function command is corresponding.
Further, identification module 11 can comprise: scanning element 15 and inspect unit 16, wherein:
Scanning element 15 is for scanning all words in short message; Inspect unit 16 to mate inspect for all words and the name of contact person in address list being carried out circulation, obtain the word that mates with the name of contact person in address list as special text.Inspecting the circulation coupling inspection method that unit 16 adopts can see the associated description of above-described embodiment two.
The implementation procedure of each functional module concrete function of the present embodiment can see the associated description of embodiment of the method one or two.
The present embodiment is by identifying telephone number in short message or name of contact person, the operation relevant with this telephone number or name of contact person and application is provided to user in short message display interface, simplify the operating procedure of user, improve the convenience of contact person's operation, optimize Consumer's Experience.
The structural representation of the terminal equipment that Fig. 9 provides for the embodiment of the present invention five.As shown in Figure 9, the present embodiment is on the basis of above-described embodiment four, Executive Module comprises further: the first performance element 21, for receiving the function command being saved in existing contact person that user inputs according to feature operation interface, is saved in by telephone number in address list corresponding to name.
The present embodiment is applicable to a special screne---and the short message that user receives is that certain friend wishes that user upgrades the note of his telephone number, and under this scene, special text comprises name and telephone number.First performance element 21 receives the function command being saved in existing contact person produced because user clicks, and is saved in by telephone number in address list corresponding to name.
Further, the present embodiment can also comprise: the 3rd display module 22, for the front end using being presented at address list as the name of special text.
The present embodiment is by identifying telephone number in short message and name of contact person, the operation relevant with this telephone number or name of contact person and application is provided to user in short message display interface, user is made to upgrade the contact method of address list easily, simplify the operating procedure of user, improve the convenience of contact person's operation, optimize Consumer's Experience.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a computer read/write memory medium, this program is when performing, performs and comprise the step of said method embodiment, and aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate the technical scheme of the embodiment of the present invention, be not intended to limit; Although be described in detail the embodiment of the present invention with reference to previous embodiment, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of each embodiment technical scheme of the embodiment of the present invention.