Summary of the invention
The invention mainly solves the technical problem of providing a kind of method of voice response and mobile device, do not need to pass through
Key triggering can start voice response function automatically, realize voice response.
The first aspect of the present invention is: providing a kind of method of voice response, which comprises detects from the external world
Call voice;When the call voice size in the external world is more than preset for starting the phonetic reference value of voice response function
When, search whether there are the call speech samples to match with the call voice;If it exists with the call speech samples phase
Matched call speech samples then execute response corresponding with the call speech samples operation prestored.
With reference to first aspect, in the first possible implementation of the first aspect: the detection is exhaled from extraneous
It is described when the size of the call voice in the external world is more than preset for starting voice response function after the step of calling out voice
Phonetic reference value when, search whether to exist with before the call speech samples that match of call voice, further includes: judgement
Whether the size for calling voice is more than preset for starting the phonetic reference value of voice response function.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In: the step of judging that the size of voice is called whether to be more than the preset phonetic reference value for being used to start voice response function packet
It includes: judging to call the corresponding measurement voltage of voice or measure whether electric current is more than preset for starting the electricity of voice response function
Pressure or electric current.
The possible implementation of second with reference to first aspect, in the third possible implementation of first aspect
In: it is described to judge to call the corresponding measurement voltage of voice or measure whether electric current is more than preset for starting voice response function
Voltage or electric current the step of include: by the call voice be converted to corresponding measurement voltage or measurement electric current;Judgement is called
The corresponding measurement voltage of voice measures whether electric current is more than preset for starting the voltage or electric current of voice response function.
With reference to first aspect and the first possible implementation of first aspect is to the third possible implementation
Any one of, in a fourth possible implementation of the first aspect: described to search whether exist and the call voice
Before the step of call speech samples to match, further includes: the call voice is converted to what mobile device can identify
Call voice signal;It is described to search whether there is the step of call speech samples to match with the call voice specifically:
Search whether there are the call speech samples to match with the call voice signal.
With reference to first aspect and the first possible implementation of first aspect is to the 4th kind of possible implementation
It is any, in the fifth possible implementation of the first aspect: described to have looked for whether and called in mobile device
The step of call speech samples that the phonetic feature of voice signal matches specifically: looked for whether in the mobile device
Reach the call speech samples of preset similarity with the phonetic feature similarity for calling voice signal.
The 4th kind of possible implementation or the 5th kind of possible implementation with reference to first aspect, in first aspect
In 6th kind of possible implementation: described to search whether there are the call speech samples to match with the call voice signal
The step of before, further includes: setting the calls speech samples and response operation corresponding with speech samples are called simultaneously save.
The 6th kind of possible implementation with reference to first aspect, in the 7th kind of possible implementation of first aspect
In: the step of setting calls speech samples and the corresponding response of speech samples is called to operate and save specifically: receive
Record the instruction for calling speech samples;After receiving the instruction for recording call speech samples, one section of external sound conduct is recorded
Call speech samples;After the completion of the call speech samples are recorded, output setting response corresponding with speech samples are called is grasped
The prompt of work;It receives according to the response operation setting corresponding with speech samples are called that the prompt is arranged and inputs;Save institute
It states and calls speech samples and the response operation setting corresponding with speech samples are called.
With reference to first aspect and the first possible implementation of first aspect is to the 7th kind of possible implementation
It is any, in the 8th kind of possible implementation of first aspect: the method also includes: setting for start voice ring
It answers the phonetic reference value of function and saves.
According to the second aspect of the invention, a kind of mobile device, including detection module, searching module and response mould are provided
Block, in which: the detection module is used to detect from extraneous call voice;The searching module is used to exhale when described extraneous
Call out voice size be more than it is preset for start voice response function phonetic reference value when, search whether exist and the call
The call speech samples that voice matches;The respond module is used to find and the call speech samples when the searching module
When the call speech samples to match, response corresponding with the call speech samples operation prestored is executed.
In conjunction with the second aspect of the present invention, in the first possible implementation of the second aspect: the equipment includes
Judgment module calls whether voice size is more than preset for starting the phonetic reference value of voice response function for judging,
And judging result is exported to the searching module.
In conjunction with the first possible implementation of the second aspect of the present invention, in second of possible reality of second aspect
In existing mode: the judgment module is specifically used for judging to call whether the corresponding measurement voltage of voice or measurement electric current are more than default
For starting the voltage or electric current of voice response function, and judging result is exported to the searching module.
In conjunction with second of possible implementation of the second aspect of the present invention, in the third possible reality of second aspect
In existing mode: the equipment includes the first conversion module, will for obtaining the call voice in the external world from the detection module
The call voice in the external world is converted to corresponding measurement voltage or measurement electric current, and the call voice is measured electricity accordingly
Pressure or measurement electric current are sent to the judgment module;The judgment module is specifically used for judging the corresponding measurement of the call voice
Whether voltage or measurement electric current are more than preset for starting the voltage or electric current of voice response function.
In conjunction with the of the possible implementation of the first of the second aspect of the present invention and second aspect to second aspect
Any one of three kinds of possible implementations, in the fourth possible implementation of the second aspect: the equipment includes
Second conversion module, for the call voice to be converted to the call voice signal that mobile device can identify;The lookup
Module is specifically used for searching whether to exist the call speech samples to match with the call voice signal.
In conjunction with the of the possible implementation of the first of the second aspect of the present invention and second aspect to second aspect
Any one of four kinds of possible implementations, in a fifth possible implementation of the second aspect: the searching module
Specifically for the vocative for searching whether to reach preset similarity with the phonetic feature similarity for calling voice signal
Sound sample, and lookup result is exported to the respond module.
In conjunction with the of the possible implementation of the first of the second aspect of the present invention and second aspect to second aspect
Any one of five kinds of possible implementations, in the sixth possible implementation of the second aspect: the equipment is also wrapped
It includes, setup module, for the call speech samples and response operation corresponding with call speech samples to be arranged and saves.
In conjunction with the 6th kind of possible implementation of the second aspect of the present invention, in the 7th kind of possible reality of second aspect
In existing mode: the setup module include instruction receiving unit, voice recording unit, prompt unit, response setting unit and
Storage unit, in which: described instruction receiving unit is used to receive the instruction recorded and call speech samples;The voice recording unit
The instruction that speech samples are called for the recording according to instruction receiving unit records one section of extraneous sound as call voice sample
This;The prompt unit is used for after the voice recording unit completes the call speech samples recording, and output is arranged and exhales
Call out the prompt of the corresponding response operation of speech samples;The response setting unit is received according to described in prompt unit output
The response operation setting corresponding with speech samples are called of prompt and input;The storage unit is for saving the voice recording
What unit was recorded calls speech samples and saves the response corresponding with speech samples are called of the response setting unit input
Operation setting.
In conjunction with the 6th kind of possible implementation or the 7th kind of possible implementation of the second aspect of the present invention,
In 8th kind of possible implementation of two aspects: the setup module is also used to be arranged a voltage threshold as described for opening
Move the voltage of voice response function and preservation.
The third aspect of the present invention provides a kind of mobile device, is connected including processor and with the processor
Memory, switching circuit and A/D conversion circuit further include voice pickup circuit, the voice pickup circuit respectively with it is described
Switching circuit and A/D conversion circuit electrical connection, in which: the voice pickup circuit is used to detect from extraneous call
Voice is converted into corresponding measurement voltage, and sends the measurement voltage to the switching circuit;The switching circuit is used
In receiving the measurement voltage, judge to measure whether voltage is more than voltage for starting voice corresponding function, when the measurement
When voltage is more than the voltage for being used to start voice response function, the finger of the processor starting voice response function is notified
It enables, and the measurement voltage is sent to the A/D conversion circuit;The A/D conversion circuit is used for when the measurement voltage is super
When crossing the voltage for being used to start voice response function, the measurement voltage is converted into the call that mobile device can identify
Voice signal, and the call voice signal is sent to the processor;The processor is used to start voice response function, and
It is obtained from the A/D conversion circuit and calls voice signal, look for whether in memory and call the voice of voice signal special
The call speech samples to match are levied, when there are the call speech samples to match with the call voice signal, control is carried out
The response corresponding with speech samples are called prestored operates.
In conjunction with the third aspect of the present invention, in the first possible implementation of the third aspect: the switching circuit
Including bleeder circuit and voltage comparator, in which: the bleeder circuit is electrically connected with the voltage comparator, for that will divide
The voltage output that circuit generates gives the voltage comparator;The bleeder circuit includes first resistor and second resistance, and described
One resistance is connected with the second resistance, wherein one end of the first resistor is electrically connected with voltage source, the other end and described the
One end of two resistance is electrically connected, the other end ground connection of the second resistance, for being allocated to the voltage from voltage source;The
Voltage comparator is connected between one resistance and second resistance, while being generated between first resistor and second resistance for starting language
The voltage of sound response function;
The voltage comparator includes:
First port is electrically connected with the bleeder circuit, for receiving from the bleeder circuit in first resistor and the
Generated between two resistance it is described for start voice corresponding function voltage and input the voltage comparator;Second port,
It is electrically connected with the voice pickup circuit, for receiving the measurement voltage being converted to by extraneous voice and inputting the voltage ratio
Compared with device;Third port is electrically connected with the processor, for being more than described for starting the corresponding function of voice when the measurement voltage
When the voltage of energy, Xiang Suoshu processor sends the instruction of starting voice response function;4th port, with the A/D conversion circuit
Electrical connection, for when measure voltage be more than it is described for starting the voltage of voice corresponding function when, by the measurement voltage output
To the A/D conversion circuit.
Be different from the prior art, the beneficial effect of embodiment of the present invention is: on the one hand by make mobile device detection come
Start subsequent phonetic feature matching process from extraneous call voice, so make that mobile device prestored and vocative
Sound sample responds operation accordingly, rather than in such a way that key in the prior art triggers, make the use more people of mobile device
Property, it is more convenient, is easier to use;On the other hand, by incuding extraneous voice power variation, only when extraneous voice size reaches pre-
If for start voice response function phonetic reference value when just control wake up voice response function, realization dynamic response, keep away
Exempt to open electric quantity loss caused by voice response function for a long time, keeps the power consumption of mobile device lower.Moreover, mobile device responds
The response mode diversification that user calls, gives user's more enriching experiences.
Specific embodiment
Refering to fig. 1, Fig. 1 is the flow chart of one embodiment of voice response method of the present invention, and method includes:
Step S101: it detects from extraneous call voice;
Mobile device passes through voice pick device, such as microphone, the call voice in the real-time detection external world.
Step S102: when the size of extraneous call voice is more than the preset voice ginseng for starting voice response function
When examining value, the call speech samples for existing with calling voice to match are searched whether;
Phonetic reference value can be indicated by the size of current or voltage, naturally it is also possible to be otherwise.Extraneous
Whether the size for calling voice is more than preset for starting the phonetic reference value of voice response function, can be by comparing extraneous
The corresponding measurement electric current that is converted to of call voice or measurement voltage, with preset for starting voice response function
Current or voltage carries out.Such as when the extraneous corresponding measurement voltage of call voice is more than preset for starting call voice function
When the voltage of energy, then start voice response function, searches whether the call speech samples for existing with calling voice to match;When outer
When the corresponding measurement electric current of the call voice on boundary is more than the preset electric current for being used to start call phonetic function, then starts voice and ring
Function is answered, searches whether the call speech samples for existing with calling voice to match.It is logical with phonetic reference value in following embodiments
For overvoltage expression.
After starting voice response function, it can continue by starting sound-recording function or otherwise to obtain extraneous call
Voice will call voice to be converted to the call voice signal that mobile device can identify;It can will specifically continue to obtain outer
The call voice on boundary is converted to measurement voltage, and then is converted to the vocative message that mobile device can identify for voltage is measured
Number.
It is usually the call voice for searching whether to exist with call the phonetic feature of voice signal to match when being matched
Sample.It is mentioned here match refer to call voice signal phonetic feature similarity reach preset similarity or with
On, preset similarity needs to be configured according to user, such as 85% or 75% etc., and the present invention is without limitation.When depositing
In the call speech samples to match with call voice, step S103 is carried out, otherwise, return step S101 continues to test the external world
Call voice.
In actual application, it is possible to voice response function could be started when appearance propagandaing directed to communicate to half, that is,
May can only get the other half remaining call voice after starting voice response function, at this moment then only obtain it is remaining this
A part calls voice and is converted, matched.Here conversion includes that the call voice that will acquire is converted to measurement voltage, into
And measurement voltage is converted into two steps of call voice signal that mobile device can identify.Extraneous call voice is corresponding
Measurement voltage be converted to the call voice signal that mobile device can identify after, looked for whether and exhaled in mobile device
Call out the call speech samples that the phonetic feature of voice signal matches.
On the other hand, it is also possible to the last the case where could starting voice response function for calling voice is appeared in, due to
The call voice of subsequent acquisition is possible to not matched very little, at this moment can also pass through other side without response
Formula, analogy setting starting alarm etc., prompts user to issue again and calls voice.
Step S103: it executes the response corresponding with speech samples are called prestored and operates;
When exist with call voice match call speech samples when, execute prestore with call speech samples it is corresponding
Response operation.The response operation done, which can be, to play the voice responsive corresponding with speech samples are called prestored or executes and exhale
Speech samples are called out to act accordingly.
For example the call speech samples prestored are " dear ", the response operation corresponding with speech samples are called prestored is
Play the voice of " I here ".Then when extraneous voice is " dear ", mobile device plays the voice of " I here ".It moves
The owner of dynamic equipment can find the mobile device of oneself quickly.The call speech samples for another example prestored are " to dial ×××
Phone ", corresponding response operation is the phone of automatic dialing ×××.When extraneous voice be " phone for dialing ××× ",
Then execute the movement for dialing the phone of ×××.
It is appreciated that embodiment of the present invention by making mobile device detection from extraneous call voice first is that started
Subsequent phonetic feature matches process, so make that mobile device prestored with call that speech samples are corresponding to respond operation,
Rather than in such a way that key in the prior art triggers, make mobile device using more humane, be more convenient, be easier to use;Two
It is by incuding extraneous voice power variation, only when extraneous voice size reaches preset for starting voice response function
Just control wakes up voice response function when phonetic reference value, realizes dynamic response, avoids long-time from opening voice response function and makes
At electric quantity loss, keep the power consumption of mobile device lower.
In addition, the response mode diversification that mobile device response user calls, brings more enjoyment to user's life.
Referring to Fig. 2, another embodiment of voice response method of the present invention includes:
Step S201: setting calls speech samples and response corresponding with speech samples are called to operate and save;
Call speech samples and response operation corresponding with speech samples are called are set in mobile device end and are stored in
In mobile device;
Step S202: it is arranged for starting the phonetic reference value of voice response function and saving;
One is preset for starting the phonetic reference value of voice response function, here using voltage as phonetic reference value
For.Assuming that voltage is 350mV when people propagandas directed to communicate, then the voltage for starting voice response function can be set being
350mV, it is of course also possible to according to the setting of the demand of user oneself for starting the voltage of voice response function, for example be arranged low
In the voltage that the voltage of 350mV or slightly above 350mV are for starting voice response function.In actual application, such as
When fruit mobile device system itself has existed the voltage for being used to start voice response function of default, then do not need to be used again
In the setting steps of the voltage of starting voice response function, directly with mobile device system default for starting voice response function
The voltage of energy is as the voltage for starting voice response function;
It is worth noting that the sequencing of above-mentioned steps S201 and step S202 can be exchanged, that is to say, that also
Can first be arranged the phonetic reference value for starting voice response function and save after, then be arranged call speech samples and with exhale
The corresponding response of speech samples is called out to operate and save;
Step S203: it detects from extraneous call voice;
Step S204: when extraneous call voice size is more than preset for starting the phonetic reference of voice response function
When value, the call speech samples for existing with calling voice to match are searched whether;
Step S205: it executes the response corresponding with speech samples are called prestored and operates;
Aforesaid way, by advance inside mobile device setting call speech samples and with call speech samples it is corresponding
Response operation, user can be configured these parameters according to personal preference, so that the realization of voice response more individual character
Change, while response mode also becomes more flexible changeable according to the personal settings of user, gives user richer experience.
Wherein, in another embodiment, setting calls speech samples and response corresponding with speech samples are called to grasp
Make and the specific steps that save be referring to Fig. 3, as shown, include following sub-step:
Sub-step S301: the instruction recorded and call speech samples is received;
Mobile device receives the instruction that speech samples are called in the recording generated from user's operation;
Sub-step S302: one section of external sound is recorded as call speech samples;
After mobile device receives the instruction that speech samples are called in recording, one section of external sound is recorded as call according to instruction
Speech samples.Calling speech samples to can be user is the address that oneself mobile device takes, and is also possible to other voice.Such as it is right
The microphone of mobile device give a call " dear " or " love machine " etc. as speech samples are called, be also possible to against movement
The microphone of equipment gives a call action command, such as " phone for dialing ××× " etc., and the present invention is not to calling voice herein
The concrete form and content of sample are limited;
Sub-step S303: the prompt of output setting response operation corresponding with speech samples are called;
After the completion of calling speech samples to record, mobile device output setting response corresponding with speech samples are called is operated
Prompt;
Sub-step S304: the response operation setting corresponding with speech samples are called inputted according to prompt is received;
It is inputted according to sub-step S303 output the prompt for responding operation corresponding with speech samples are called is arranged
Operation, mobile device receive the response operation setting corresponding with speech samples are called of input, and response operation is called with corresponding
Speech samples are corresponding, for example, call speech samples be " dear " perhaps " love machine " response operation can be set to " " or
The sound of the response of " I here ", it is of course also possible to which the sound of some flighty sound or one section of music as response is arranged
Sound;If calling speech samples is action command as " phone for dialing ××× ", response operation can be set to execute and dial
Make a call ××× etc. corresponding response action;
Sub-step S305: it saves and calls speech samples and response operation setting corresponding with speech samples are called;
The call speech samples recorded and response operation setting corresponding with speech samples are called are saved to movement
Equipment completes setting.
It is noted that above-mentioned setting up procedure is a kind of embodiment of setting up procedure of the invention, in practical application
In, recording call voice sample operations and progress response operation setting corresponding with speech samples are called, strictly differentiation is successive
Sequentially, that is to say, that after receiving the instruction (i.e. above-mentioned sub-step S301) for recording call speech samples, can also first carry out
Response operation setting carries out that speech samples is called to record again.Moreover, being also not necessarily intended to that speech samples is called to record completion and ring
It answers operation setting to be saved again after the completion, can be retained separately, i.e., call speech samples, which are recorded, completes and carry out again after saving
Response operation setting simultaneously saves, or first carries out the recording and the guarantor that carry out calling speech samples after response operation setting saves again
It deposits.
Referring to Fig. 4, being the concrete application flow chart of one embodiment of voice response method of the present invention, voice of the invention
Response method on mobile phone application include:
Step S401: extraneous sound is received;
Mobile phone constantly receives extraneous sound by microphone.
Certainly, before this, system setting first can be carried out to mobile phone.First in the setting menu of mobile phone, setting is opened
Speech samples and response operation setting corresponding with speech samples are called are called in the voltage of dynamic voice response function and setting
And it is stored on mobile phone, while the similarity of voice match can also be configured and be saved.Certainly, in actual application
In, if limited the voltage of starting voice response function inside cell phone system, do not need to reset voltage, directly
The voltage started using the voltage of system default as voice response function.
Step S402: sound is handled;
External sound can be converted to the corresponding measurement voltage of external sound or measurement electric current after mobile microphone.
The corresponding measurement voltage of external sound is sent to voltage comparator to be compared.
Step S403: voltage comparison is carried out;
Measurement voltage after mobile phone will be converted by internal voltage comparator by external sound is used for pre-set
The voltage for starting the voltage of voice response function or the starting voice response function of system default is compared.If measuring voltage
More than preset for starting the voltage of voice response function starting voice response function, S404 is thened follow the steps, if measurement
Voltage is not above the preset voltage for starting voice response function for starting voice response function, thens follow the steps S406;
Step S404: starting voice response function carries out voice match;
When measuring voltage more than the preset voltage for being used to start voice response function, start voice response function, after
Continued access receives external sound and is converted to the voice signal that mobile phone can identify, the language to match with voice signal is found in mobile phone
Sound sample.After starting voice response function, progress voltage can be stopped and compared to save electricity;
Step S405: if finding the speech samples that similarity reaches 85% or more, sound corresponding with speech samples is executed
It should operate, otherwise, not execute response operation;
Step S406: operation is not executed;
When measurement voltage is not above the preset voltage for being used to start voice response function, operation is not executed, such as
Mobile phone keeps standby mode if being in standby originally, and continues to external sound.
In the above manner, making mobile device not need key triggering realizes voice response, make the use of mobile device
It is more humane, be more convenient, be easier to use.For example, user, which can preset " dear " be used as, calls speech samples, corresponding sound
It should reply as " dear, I herein ".When someone calls out " dear ", mobile device will reply that " dear, I am at this
In ", it is very humanized;Especially in daily life, Home Alone, often forgets which the phone of oneself puts, and does not have
Other mobile phone can dial the phone of oneself, and at this moment, as long as barking out preset call voice, phone will start language automatically
Sound equipment is answered, and is done a corresponding response or is played one section of preset response music, user can be made to quickly find the phone of oneself;
In another example " phoning Zhang San " can be set as speech samples are called in mobile phone user, corresponding response is set as directly dialling
Zhang San is made a call, as long as user cries out " phoning Zhang San " against oneself mobile phone, the phone of mobile phone just automatic dialing Zhang San,
Very convenient, the user that does not especially see keyboard to those or will not be made a phone call with cell phone address book provides convenience.
Referring to Fig. 5, the functional block diagram of one embodiment of mobile device of the present invention, mobile device include detection module 51,
Searching module 52 and respond module 53, in which:
Detection module 51 is used to detect from extraneous call voice;
Extraneous call voice is constantly detected by detection module 51.
Searching module 52 is used to when extraneous call voice size be more than preset for starting the language of voice response function
When sound reference value, the call speech samples for existing with calling voice to match are searched whether;
When extraneous call voice size is more than the preset phonetic reference value for being used to start voice response function, pass through
Searching module 52 searches whether the call speech samples for existing with calling voice to match, and query result is exported and gives response mould
Block 53.
The phonetic reference value for starting voice response function here preset at is pre-set for starting voice sound
Answer the reference value of function, reference value can be with being that voltage or electric current indicate.When extraneous call voice size is more than preset use
When starting the phonetic reference value of voice response function, then starts voice response function, search whether to deposit by searching for module 52
In the call speech samples to match with call voice.
Respond module 53 is used to hold when searching module 52 finds the call speech samples to match with call speech samples
Response corresponding with the call speech samples operation that row prestores.
When exist with call voice match call speech samples when, respond module 53 execute prestore with call voice
The corresponding response operation of sample.The response operation done can be the voice responsive corresponding with speech samples are called for playing and prestoring
Or execute that speech samples are corresponding acts with call.
For example the call speech samples prestored are " dear ", the response operation corresponding with speech samples are called prestored is
Play the voice of " I here ".Then when extraneous voice is " dear ", mobile device plays the voice of " I here ".It moves
The owner of dynamic equipment can find the mobile device of oneself quickly.The call speech samples for another example prestored are " to dial ×××
Phone ", corresponding response operation is the phone of automatic dialing ×××.When extraneous voice be " phone for dialing ××× ",
Then execute the movement for dialing the phone of ×××.
Please continue to refer to Fig. 5, in another embodiment of mobile device of the present invention, further includes the first conversion module 54 and sentence
Disconnected module 55, in which:
Judgment module 55 is used to judge whether extraneous call voice size to be more than preset for starting voice response function
The phonetic reference value of energy;
Judgment module 55 be specifically used for judge the extraneous corresponding measurement voltage of call voice or measure electric current whether be more than
The preset voltage or electric current for being used to start voice response function.
First conversion module 54 is used to obtain extraneous call voice from detection module 51, and extraneous call voice is turned
It is changed to corresponding measurement voltage or measurement electric current, and voice will be called to measure voltage accordingly or measure electric current and be sent to judgement mould
Block 55;Illustrated for extraneous call voice to be converted to corresponding measurement voltage in the present embodiment.
First conversion module 54 obtains extraneous call voice, and voice will be called to be converted to corresponding measurement voltage, will be exhaled
It calls out voice and measures voltage accordingly and be sent to judgment module 55 and judged.
Judgment module 55 is specifically used for judging to call whether the corresponding measurement voltage of voice is more than preset for starting language
The voltage of sound response function, and judging result is exported to searching module 52;
Judgment module 55 receives the corresponding measurement voltage of call voice being converted to through the first conversion module 54, and judges
Call whether the corresponding measurement voltage of voice is more than preset for starting the electricity of voice response function starting voice response function
Pressure.It is more than preset for starting the electricity of voice response function starting voice response function when calling the corresponding voltage that measures of voice
When pressure, notice searching module 52 carries out the call speech samples searched with call voice to match.
Please continue to refer to Fig. 5, in another embodiment of mobile device of the present invention, further includes the second conversion module 56, be used for
Voice will be called to be converted to the call voice signal that mobile device can identify, specifically voice can will will be called to survey accordingly
Amount voltage is converted to the call voice signal that mobile device can identify.
When the judging result of judgment module 55 is to call the corresponding measurement voltage of voice more than preset for starting voice
When the voltage of response function, the corresponding measurement voltage of voice will be called to be sent to the second conversion module 56.Second conversion module 56
Voice will be called to measure voltage accordingly and be converted to the call voice signal that mobile device can identify, and exhaled what is be converted to
Voice signal is called out to export to searching module 52.
Searching module 52 is specifically used for the call speech samples for searching whether to exist with call voice signal to match.Look into
It looks for whether having and reaches the call speech samples of preset similarity with the phonetic feature similarity of voice signal is called, and will search
As a result it exports to the respond module 53.
It is mentioned here match refer to call voice signal phonetic feature similarity reach preset similarity or
More than, preset similarity needs to be configured according to user, such as 85% or 75% etc., and the present invention is without limitation.
It further include setup module 57, for being arranged in another embodiment of mobile device of the present invention please continue to refer to Fig. 5
Speech samples and response corresponding with speech samples are called are called to operate and save.
Setup module 57, which can be used for being arranged, calls speech samples and response operation corresponding with speech samples are called simultaneously
It saves.On the other hand, setup module 57 can be also used for the phonetic reference value being arranged for starting voice response function and save.
Carry out the related setting of voice response on the mobile apparatus in advance by setup module 57, including to call voice sample
Sheet and response operation setting corresponding with speech samples are called, and the phonetic reference for starting voice response function is set
Value.For example when mobile device system does not limit the voltage rating of starting voice response function, a voltage threshold conduct is set
Start the phonetic reference value of voice response function.In addition, setup module 57 can be also used for being set or adjusted in practical applications
Similarity etc. when extraneous voice is matched with default call speech samples.
Referring to Fig. 6, mould is arranged for the functional block diagram of setup module in another embodiment of voice response system of the present invention
Block 600 includes instruction receiving unit 61, voice recording unit 62, prompt unit 63, response setting unit 64 and storage unit
65, in which:
Instruction receiving unit 61 is used to receive the instruction recorded and call speech samples;
The instruction that speech samples are called in the recording generated from user's operation is received by instruction receiving unit 61.
Voice recording unit 62 is used to call the instruction of speech samples according to the recording of instruction receiving unit 61, records one section
Extraneous sound is as call speech samples;
Voice recording unit 62 calls the instruction of speech samples according to recording, and records one section of external sound as call voice
Sample.Calling speech samples to can be user is the address that oneself mobile device takes, and is also possible to other voice.Such as opposite shifting
The microphone of dynamic equipment gives a call " dear " or " love machine " etc. as speech samples are called, and is also possible to against mobile device
Microphone give a call action command, such as " phone for dialing ××× " etc., the present invention is not to calling speech samples herein
Concrete form and content be limited.
Prompt unit 63 is used for after voice recording unit 62 completes that speech samples is called to record, output setting and vocative
The prompt of the corresponding response operation of sound sample;
After the completion of calling speech samples to record, the output setting of prompt unit 63 response corresponding with speech samples are called is grasped
The prompt of work.
It receives in response to setting unit 64 according to the prompt that prompt unit 63 exports and inputs corresponding with speech samples are called
Response operation setting;
Response setting unit 64 is according to the setting response operation corresponding with speech samples are called that prompt unit 63 exports
Prompt, receives the response operation setting corresponding with speech samples are called of input, and response operates and corresponding call speech samples
It is corresponding, for example, call speech samples be " dear " perhaps " love machine " response operation can be set to " " or " I am at this
The sound of the response of youngster ", it is of course also possible to which the sound of some flighty sound or one section of music as response is arranged;If exhaling
Calling out speech samples is action command as " phone for dialing ××× ", and response operation, which can be set to execute, dials ×××
The corresponding response action such as phone.
Storage unit 65 is used to save the call speech samples that voice recording unit 62 is recorded and preservation response setting is single
The response operation setting corresponding with speech samples are called of 64 input of member.
Storage unit 65 by the call speech samples recorded and with call the corresponding response operation setting of speech samples
It saves, completes setting.
It is noted that above-mentioned setting up procedure is a kind of embodiment of setting up procedure of the invention, in practical application
In, recording call voice sample operations and progress response operation setting corresponding with speech samples are called, strictly differentiation is successive
Sequentially, that is to say, that after receiving the instruction for recording call speech samples, can also first carry out response operation setting and carry out again
Speech samples are called to record.Moreover, storage unit 65 is also not necessarily intended to that speech samples recording completion and response operation is called to set
It is saved, can be retained separately again after the completion of setting, i.e., call speech samples, which are recorded, completes and carry out response operation again after saving
It is arranged and saves, or first carries out the Record and Save for carrying out calling speech samples after response operation setting saves again.
Referring to Fig. 7, being the structural schematic diagram of one embodiment of mobile device of the present invention, mobile device 700 includes processing
Device 701 and the memory 702 being connected with processor 701, switching circuit 705 and A/D conversion circuit 704, further include sound
Sound pick-up circuit 703, voice pickup circuit 703 are electrically connected with switching circuit 705 respectively:
It is stored in memory 702 and calls speech samples response operation setting corresponding with speech samples are called.
Voice pickup circuit 703 is used to detect from extraneous call voice, is converted into corresponding measurement voltage, and
Measurement voltage is sent to switching circuit 705;
Switching circuit 705 is used to receive measurement voltage, judges to measure whether voltage is more than preset for starting voice sound
The voltage for answering function, when measuring voltage more than the preset voltage for being used to start voice response function, notifier processes device 701 is opened
Dynamic voice response function, and measurement voltage is sent to A/D conversion circuit 704;
A/D conversion circuit 704 is used for when measuring voltage more than the preset voltage for being used to start voice response function, will
Measurement voltage is converted to the call voice signal that mobile device can identify, and sends to processor 701 and call voice signal;
Processor 701 is used to receive the notice of switching circuit 705, starts voice response function, and from A/D conversion circuit
704 obtain call voice signal, look for whether to exhale with what the phonetic feature of call voice signal matched in memory 702
Call out speech samples, when have with call voice signal match call speech samples when, control prestored with call voice
The corresponding response operation of sample.
Please continue to refer to Fig. 7, the switching circuit 705 of mobile device embodiment of the invention include bleeder circuit 72 and
Voltage comparator 71, in which: bleeder circuit 72 is electrically connected with voltage comparator 71, will be used to start the voltage of voice response function
It exports to voltage comparator 71;Bleeder circuit 72 can further comprise first resistor and second resistance (the resistance R1 of such as Fig. 8 and
R2), first resistor is connected with second resistance, and wherein one end of first resistor is electrically connected with voltage source, the other end and second resistance
One end electrical connection, second resistance the other end ground connection, for being allocated to the voltage from voltage source.First resistor and the
Voltage comparator 71 is connected between two resistance, while being generated between first resistor and second resistance for starting voice response function
The voltage of energy.
The voltage comparator 71 includes:
First port is electrically connected with bleeder circuit 72, is exported at first port for receiving the bleeder circuit 72
For starting the voltage and input voltage comparator 71 of voice response function;
Second port is electrically connected with voice pickup circuit 703, for receiving the measurement voltage being converted to by extraneous voice
And input voltage comparator 71;
Third port is electrically connected with the processor 701, described for starting the voltage of voice response function for exporting
With comparing result of the measurement voltage after the comparison of voltage comparator 71.
Referring to Fig. 8, for a kind of circuit diagram of the concrete application of one embodiment of mobile device of the present invention, it is specific as follows:
Mobile device is mobile phone in present embodiment, and mobile phone includes that voice pickup circuit 83, bleeder circuit 80, voltage compare
Device 81, A/D conversion circuit 82 and master chip 84, memory 85:
Wherein, master chip 84 is the concrete application of the processor of above-mentioned mobile device embodiment, bleeder circuit 80 and electricity
Pressure comparator 81 collectively constitutes the concrete application of the switching circuit of above-mentioned mobile device embodiment.
Wherein, voice pickup circuit 83 includes microphone 801 and electrostatic equipment 802, and the detection of microphone 801 is from the external world
Extraneous sound is converted to measurement voltage by sound, electrostatic equipment 802.
Bleeder circuit 80 further comprises first resistor 807 and second resistance 808, first resistor 807 and second resistance 808
Series connection, wherein one end of first resistor 807 is electrically connected with voltage source, and the other end is electrically connected with one end of second resistance 808, and second
The other end of resistance 808 is grounded, for being allocated to the voltage from voltage source;First resistor 807 and second resistance 808 it
Between connect voltage comparator 81, while between first resistor 807 and second resistance 808 generate for starting voice response function
Voltage.
Voltage comparator 81 further comprises first port 804, with bleeder circuit 80 in first resistor 807 and second resistance
It is electrically connected between 808, is generated between first resistor 807 and second resistance 808 for starting language for receiving bleeder circuit 80
The voltage and input voltage comparator 81 of sound response function;Second port 803 is electrically connected with one end of electrostatic equipment 802, is used for
Receive the measurement voltage being converted to by extraneous voice and input voltage comparator 81;Third port 806 is electrically connected with master chip 84
It connects, for notifying master chip 84, specifically may be used when measuring voltage more than the preset voltage for being used to start voice response function
To notify master chip 84 by high level or low level;4th port 805 is electrically connected with A/D conversion circuit 82, for when survey
When amount voltage is more than the preset voltage for being used to start voice response function, voltage output will be measured to A/D conversion circuit 82;
Microphone 801 is electrically connected with one end of electrostatic equipment 802, and the extraneous voice transfer that will test is to electrostatic equipment
802;The other end of electrostatic equipment 802 and voltage comparator 81 are electrically connected by second port 803, will be converted by extraneous voice and
Obtained measurement voltage output is to voltage comparator 81.
82 one end of A/D conversion circuit is electrically connected with voltage comparator 81, and the other end is electrically connected with master chip 84, for when survey
When amount voltage is more than the preset voltage for being used to start voice response function, measurement voltage, which is converted to mobile device, to be identified
Call voice signal, and to master chip 84 send call voice signal.
It is stored in memory 85 and calls speech samples response operation setting corresponding with speech samples are called.
Each component part works in the following manner:
The microphone 801 of mobile phone receives extraneous sound, after electrostatic equipment 802 converts sound into measurement voltage, by outer
The voltage V1 that boundary's sound is converted to is by electrostatic equipment 802 via 803 input voltage comparator 81 of second port;Bleeder circuit
80 include 808 two resistance of first resistor 807 and second resistance, after two electric resistance partial pressures, generates electricity between the resistances
Press V2, voltage of the V2 as starting voice response function.V2 is via 804 input voltage comparator 81 of first port;Voltage compares
Device 81 compares voltage V1 and V2, when V1 is greater than V2, notifies that master chip 84 is handled by third port 806.
Master chip 84 is used to receive the notice of third port 806, starts voice response function, and from A/D conversion circuit 82
It obtains and calls voice signal, the vocative to match with the phonetic feature of call voice signal is looked for whether in memory 85
Sound sample, when have with call voice signal match call speech samples when, control prestored with call speech samples
Corresponding response operation.
In the above manner, adding a bleeder circuit in the original circuit design of mobile phone and connecting with bleeder circuit
The voltage comparator connect is able to achieve mobile phone dynamic voice response function.In general, the voltage V1 generated when people propagandas directed to communicate is about
350mV (being probably 200mV when people speaks), therefore, when designing circuit, can control the voltage V2 that bleeder circuit partial pressure generates is
Voltage of the 350mV as starting voice response function.Certainly, in practical application, to be carried out according to the actual parameter of microphone
It calculates, controls the voltage of voltage V2.When the voltage that extraneous voice generates is more than the voltage V2 that this partial pressure generates, just call out
The voice response function of awake interior of mobile phone.
On the other hand, when surrounding is without extraneous voice, the power consumption of bleeder circuit can almost be reduced by circuit design
To 0;When there is an extraneous voice, but when extraneous voice is not enough to wake up voice response function, bleeder circuit power consumption is only about
0.1-0.2mA, and can further be reduced by this power consumption of optimization circuits, to standby influence very little.It is logical
It crosses this mode and incudes extraneous voice power variation, only voltage after extraneous voice is converted reaches preset for starting language
Just notice master chip starts voice response function when the voltage of sound response function, avoids long-time from opening voice response function and causes
Electric quantity loss, keep mobile phone more humane, be more convenient, be easier to use.Meanwhile used by the bleeder circuit and divider added
It is all common components, manufacturing cost is low.
By the description of above embodiment, on the one hand the present invention compared with the existing technology, has the advantage that by making
Mobile device detection starts subsequent phonetic feature matching process from extraneous call voice, and then carries out mobile device
Prestore it is corresponding with speech samples are called respond operation, rather than by way of the triggering of key in the prior art, make to move
Equipment using more humane, be more convenient, be easier to use;On the other hand, by incuding extraneous voice power variation, only work as the external world
Just control wakes up voice response function when voltage after voice conversion reaches the preset voltage for being used to start voice response function,
It realizes dynamic response, avoids opening electric quantity loss caused by voice response function for a long time, keep the power consumption of mobile device lower.And
And the response mode diversification that mobile device response user calls, give user's more enriching experiences.
In addition, the embodiment of the method for voice response of the invention, it is only necessary to increase on the basis of original mobile device
If a bleeder circuit and voltage comparator can be achieved with, all it is used by the bleeder circuit and voltage comparator added
Common components, manufacturing cost is low, and possible implementation is simple.It, should when extraneous voice is not enough to wake up voice response function
Partial circuit hardly works, and consumption electricity is few, does not influence on the stand-by time of mobile device.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can
To realize by another way.For example, device embodiments described above are only schematical, for example, the mould
The division of block or unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple
Unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another
Point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device or
The indirect coupling or communication connection of unit can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of unit therein can be selected to realize present embodiment scheme according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can integrate in one processing unit, it can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk
Etc. the various media that can store program code.
The above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned embodiments
Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation
Technical solution documented by mode is modified or equivalent replacement of some of the technical features;And these modification or
Person's replacement, the spirit and scope for each embodiment technical solution of the present invention that it does not separate the essence of the corresponding technical solution.