Summary of the invention
Based on this, be necessary for the problems referred to above, the method and apparatus preserving number in a kind of communication process is provided, make user in communication process, number can be preserved easily.
Preserve a method for number in communication process, described method comprises:
Obtain in communication process and preserve triggering command;
According to described preservation triggering command display number inputting interface;
Obtain the number by described number inputting interface input;
Obtain holding instruction by described number inputting interface input, preserve described number according to described holding instruction.
Wherein in an embodiment, the described step of preserving triggering command that obtains in communication process is:
Obtain the described preservation triggering command of the preservation button generation that trigger call interface is preset.
Wherein in an embodiment, described acquisition by the step of the number that described number inputting interface inputs is:
Receive the voice of user's input, carry out described voice identifying the number generating input.
Wherein in an embodiment, described number inputting interface comprises and shows the input frame that Enters Number, also comprises after the step of the number inputted by described inputting interface described acquisition user:
The described number of the input frame display input on described number inputting interface.
Wherein in an embodiment, what inputted by described number inputting interface in described acquisition is held instruction, according to described hold instruction preserve described number step after also comprise:
After end of conversation, show the process interface corresponding with described number;
Obtain the instruction that user is inputted by described process interface;
Carry out corresponding response according to described instruction, described response comprise dial described number, at least one of deleting in described number and the completion associated person information corresponding with described number.
Preserve a device for number in communication process, described device comprises:
Acquisition module, preserves triggering command for obtaining in communication process;
Input module, for according to described preservation triggering command display number inputting interface, obtains the number by described number inputting interface input;
Preserving module, for obtaining holding instruction by described number inputting interface input, preserving described number according to described holding instruction.
Wherein in an embodiment, described acquisition module is also for obtaining the described preservation triggering command of the preservation button generation that trigger call interface is preset.
Wherein in an embodiment, described preservation module acquisition is held instruction specifically by described number inputting interface input:
Receive the voice of user's input, carry out described voice identifying the number generating input.
Wherein in an embodiment, described number inputting interface comprises the input frame showing and Enter Number, and described input module is also for the described number of the input frame display input on described number inputting interface.
Wherein in an embodiment, described device also comprises:
Processing module, for after end of conversation, show the process interface corresponding with described number, obtain the instruction that user is inputted by described process interface, carry out corresponding response according to described instruction, described response comprise dial described number, at least one of deleting in described number and the completion associated person information corresponding with described number.
The method and apparatus of number is preserved in above-mentioned communication process, obtain in communication process and preserve triggering command, according to preservation triggering command display number inputting interface, obtain the number inputted by number inputting interface, what acquisition was inputted by number inputting interface holds instruction, according to preservation number of holding instruction.In communication process, also want the number of the contact person preserved by the input of number inputting interface, make user in communication process, number can be preserved easily.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In one embodiment, as shown in Figure 1, provide a kind of method of preserving number in communication process, the method illustrates to be applied to have communication function and include in the mobile terminal of touch display screen.Comprise:
Step S110, obtains and preserves triggering command in communication process.
In the present embodiment, carry out in the process conversed at mobile terminal and the opposing party, by the shortcut key on mobile terminal body or the touch signal on call interface or preservation triggering command can be obtained by predefined voice messaging.As predefine sends the voice of content for " preserving number start " then for getting preservation triggering command when identifying user.Be understandable that, the touch signal on call interface can be the slip of click to touch-screen or predefine direction and amplitude.
In one embodiment, step S110 is: the preservation triggering command obtaining the preservation button generation that trigger call interface is preset.
Concrete, there is feature list in call interface, default preservation button is had in feature list, Enter Number to preserve for user for triggering inputting interface, whether talk application constantly detects this preservation button and is clicked by user, when the click of user being detected, then for getting preservation triggering command.As shown in Figure 2, in the process that user and little Bei converse, get the click of user to the preservation button 150 preset in call interface.
Step S120, according to preservation triggering command display number inputting interface.
In the present embodiment, just trigger display number inputting interface after getting the preservation triggering command of user's input, for for user input data, comprise numeral, English, Chinese, character etc.Be understandable that, described number inputting interface is defaulted as the inputting interface of display numeric type, there is the switching key preset, can switch between various input type.As shown in Figure 3, be a number inputting interface, for inputting the number of contact person.
Step S130, obtains the number by described number inputting interface input.
In the present embodiment, the jack per station of corresponding diverse location can be generated by receiving the mode of user to the click of the diverse location of touch-screen, also can generate in the mode receiving voice the number inputted through speech recognition.Be understandable that, by obtaining the switching command to the switching key preset, different inputting interfaces can be shown, obtaining Word message or the symbol of input.
In one embodiment, step S130 is: the voice receiving user's input, carries out identifying the number generating input to described voice.
Concrete, the automatically opening voice recognition function when inputting interface shows, identifies the voice of user's input, generates the number of input.Be understandable that, after obtaining the self-defining sign on that Enters Number identified, carry out the voice after sign on identifying the number generating input, after the self-defining input that acquisition identifies completes instruction, terminate generation and Enter Number.As by " I will Enter Number " as the self-defining sign on that Enters Number, " I oneself through input completes " is completed instruction as self-defining input, to increase the accuracy rate that speech recognition generates the number of input.
Step S140, obtains holding instruction of being inputted by number inputting interface, and preserves described number according to holding instruction.
In the present embodiment, number inputting interface receives touch signal or voice messaging, if what receive is touch signal, obtains hold instruction according to the position of touch signal, amplitude.If what receive is voice messaging, then whether inputting interface identification voice messaging is that predefined voice obtain and hold instruction.As obtained the click to the shortcut on interface, or identify voice content for " preserving the number start of input ".As shown in Figure 2, the instruction of user's input is obtained by " preservation " shortcut, preserve the number of user's input, number can be saved in special preservation in the tables of data of contact number, if there is Word message or symbol in the information of input, corresponding described number is preserved.Be understandable that, the cancellation instruction inputted by number inputting interface can also be obtained, corresponding interface is returned to based on current talking state according to cancellation instruction, if current talking state is conversing, return call interface, hang up if current talking state is for oneself, then return to the interface corresponding to the state before call.It should be noted that, after preserving number, also can return to corresponding interface according to current talking state.
In the present embodiment, obtain in communication process and preserve triggering command, according to preservation triggering command display number inputting interface, obtain the number inputted by number inputting interface, what acquisition was inputted by number inputting interface holds instruction, according to preservation number of holding instruction.In communication process, also want the number of the contact person preserved by the input of number inputting interface, make user in communication process, number can be preserved easily.
In one embodiment, number inputting interface comprises the input frame showing and Enter Number, and also comprises after step s 130: the number of the input frame display input on number inputting interface.
In the present embodiment, by the number of input frame display input, whether the number that user can be made to judge to input is correct, re-enters in incorrect situation.Preferably, identify whether caller ID is non-existent strangeness numbers in address list, if it is automatically input this number, and the input frame on number inputting interface shows described strangeness numbers, preserve strangeness numbers to facilitate user fast when need not manually input.
In another embodiment, as shown in Figure 4, provide a kind of method of preserving number in communication process, comprising:
Step S210, obtains and preserves triggering command in communication process.
Step S220, according to preservation triggering command display number inputting interface.
Step S230, obtains the number by described number inputting interface input.
Step S240, obtains holding instruction of being inputted by number inputting interface, and preserves described number according to holding instruction.
Step S250, after end of conversation, shows the process interface corresponding with described number.
In the present embodiment, after end of conversation, show the process interface corresponding with the number inputted in step S240, can operate accordingly described number.Process interface can show the number of just input, and comprise the corresponding button preset code number being carried out to different operating.
Step S260, obtains the instruction of user by the input of process interface.
In the present embodiment, the voice of the user of the touch signal received by touch-screen or the opening voice identification reception of process interface and identification, obtain the instruction corresponding with touch signal or voice, obtain different instructions as obtained to the click of the different button on process interface, different instructions is for triggering different operations.
Step S270, carries out corresponding response according to described instruction, described response comprise dial described number, at least one of deleting in described number and the completion associated person information corresponding with described number.
In the present embodiment, according to the instruction got, trigger the operation that and instruction is corresponding.If dial instruction, then carry out dialing described number, if the number just preserved then is deleted by delete instruction in tables of data, if completion instruction, then enter contact person's editing interface that described number is corresponding, obtain at least one be used in the completion associated person information corresponding with described number, as described in name of contact person, exabyte, address etc. belonging to number.Also can obtain cancellation instruction, not operate.
In one embodiment, as shown in Figure 5, provide the device preserving number in a kind of communication process, described device comprises:
Acquisition module 310, preserves triggering command for obtaining in communication process;
Input module 320, for according to described preservation triggering command display number inputting interface, obtains the number by described number inputting interface input;
Preserving module 330, for obtaining holding instruction by described number inputting interface input, preserving described number according to described holding instruction.
In one embodiment, acquisition module 310 is also for obtaining the described preservation triggering command of the preservation button generation that trigger call interface is preset.
In one embodiment, preserve module 330 and obtain and hold instruction specifically by the input of described number inputting interface: the voice receiving user's input, carry out described voice identifying the number generating input.
In one embodiment, described number inputting interface comprises the input frame showing and Enter Number, and preserves module 330 also for the described number of the input frame display input on described number inputting interface.
In one embodiment, as shown in Figure 6, device also comprises:
Processing module 340, for after end of conversation, show the process interface corresponding with described number, obtain the instruction of user by the input of process interface, carry out corresponding response according to instruction, response comprise dial described number, at least one of deleting in described number and the completion associated person information corresponding with number.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.