WO2014078980A1 - Voice response method and mobile device - Google Patents
Voice response method and mobile device Download PDFInfo
- Publication number
- WO2014078980A1 WO2014078980A1 PCT/CN2012/084863 CN2012084863W WO2014078980A1 WO 2014078980 A1 WO2014078980 A1 WO 2014078980A1 CN 2012084863 W CN2012084863 W CN 2012084863W WO 2014078980 A1 WO2014078980 A1 WO 2014078980A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- voice
- calling
- voltage
- sample
- response
- Prior art date
Links
- 230000004044 response Effects 0.000 title claims abstract description 159
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000005316 response function Methods 0.000 claims abstract description 125
- 238000006243 chemical reaction Methods 0.000 claims description 39
- 238000005259 measurement Methods 0.000 claims description 24
- 230000006870 function Effects 0.000 claims description 18
- 230000000977 initiatory effect Effects 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 4
- 230000001960 triggered effect Effects 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 11
- 230000009471 action Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/64—Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0264—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2242/00—Special services or facilities
- H04M2242/12—Language recognition, selection or translation arrangements
Definitions
- the present invention relates to the field of electronic technologies, and in particular, to a voice response method and a mobile device.
- voice response systems have applications on some mobile devices.
- the technical idea of a general voice response system is to set a microphone for picking up a human voice on the mobile device to respond to the user's voice input, and a function key for initiating a voice response.
- the mobile device When working, first press the "Speech Response Function Key" to wake up the mobile terminal and inform the mobile device to activate the voice response function.
- the mobile device When the user speaks a word to the mobile device's microphone, the mobile device records the spoken words and then compares them with the pre-stored voice data. If the same or similarity is above the required level, a voice response is triggered.
- the inventor of the present invention found in the long-term research and development that the above-mentioned voice response system is very mechanical and not humanized when used. Even if the voice recognition function is provided, the user needs to press a start button to trigger voice recognition.
- the technical problem to be solved by the present invention is to provide a voice response method and a mobile device, which can automatically initiate a voice response function without triggering a button to implement a voice response.
- a first aspect of the present invention is to provide a method for voice response, the method comprising: detecting a call voice from the outside world; and when the size of the call voice of the outside world exceeds a preset voice reference value for initiating a voice response function And searching for whether there is a calling voice sample matching the calling voice; if there is a calling voice sample matching the calling voice sample, performing a pre-stored response operation corresponding to the calling voice sample.
- a first possible implementation manner of the aspect after the step of detecting a call voice from the outside world, when the size of the call voice of the outside world exceeds a preset voice reference value for starting a voice response function, before finding whether there is a call voice sample matching the call voice, the method further includes: determining whether the size of the call voice exceeds a preset voice reference value for starting the voice response function.
- the step of determining whether the size of the calling voice exceeds a preset voice reference value for starting the voice response function includes: determining the calling voice Whether the corresponding measured voltage or measured current exceeds a preset voltage or current for starting the voice response function.
- the determining whether the measured voltage or the measured current corresponding to the voice exceeds a preset voltage or current for starting the voice response function The step of: converting the calling voice into a corresponding measured voltage or measuring current; determining whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset voltage or current for starting the voice response function.
- the method further includes: converting the calling voice into a calling voice signal recognizable by the mobile device; and the step of searching whether there is a calling voice sample matching the calling voice is specifically: Find if there is a call voice sample that matches the calling voice signal.
- the searching for the presence and the call in the mobile device is specifically: searching, in the mobile device, whether there is a call voice sample having a similarity with the voice feature of the call voice signal reaching a preset similarity.
- the step of searching whether there is a calling voice sample matching the calling voice signal Previously the method further includes: setting the calling voice sample and the response operation corresponding to the calling voice sample and saving.
- the step of setting the calling voice sample and the response operation corresponding to the calling voice sample and saving is specifically: receiving the recording call sample of the voice After receiving the instruction to record the calling voice sample, recording an external sound as a calling voice sample; after the calling voice sample is recorded, outputting a prompt for setting a response operation corresponding to the calling voice sample; receiving the setting according to the setting And responding to the response operation setting corresponding to the calling voice sample; saving the calling voice sample and the response operation setting corresponding to the calling voice sample.
- the method further includes: setting to start voice Respond to the voice reference value of the function and save it.
- a mobile device includes a detecting module, a searching module, and a response module, wherein: the detecting module is configured to detect a calling voice from the outside; and the searching module is configured to call the outside world When the voice size exceeds a preset voice reference value for starting the voice response function, searching for whether there is a call voice sample matching the call voice; the response module is configured to: when the search module finds the call voice When the sample matches the calling voice sample, a pre-stored response operation corresponding to the calling voice sample is performed.
- the device includes a determining module, configured to determine whether a calling voice size exceeds a preset voice reference value for starting a voice response function, and determining The result is output to the lookup module.
- the determining module is specifically configured to determine whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset The voltage or current of the voice response function is activated, and the judgment result is output to the lookup module.
- the device includes a first conversion module, configured to acquire, from the detection module, the external calling voice, Transmitting the call voice of the outside world to a corresponding measurement voltage or measurement current, and transmitting a corresponding measurement voltage or measurement current of the call voice to the determination module; the determining module is specifically configured to determine that the call voice corresponds to Whether the measured voltage or measured current exceeds a preset voltage or current used to initiate the voice response function.
- the device The second conversion module is configured to convert the calling voice into a calling voice signal that can be recognized by the mobile device; the searching module is specifically configured to find whether there is a calling voice sample that matches the calling voice signal.
- the The module is specifically configured to find whether there is a calling voice sample whose similarity with the voice feature of the calling voice signal reaches a preset similarity, and output the search result to the response module.
- the device further includes a setting module, configured to set the call voice sample and the response operation corresponding to the call voice sample and save.
- the setting module includes an instruction receiving unit, a voice recording unit, a prompting unit, a response setting unit, and a saving unit, where
- the instruction receiving unit is configured to receive an instruction to record a calling voice sample;
- the voice recording unit is configured to record an external voice as a call voice sample according to an instruction of the instruction receiving unit to call the voice sample;
- the prompting unit is configured to: after the voice recording unit completes the recording of the call voice sample, Outputting a prompt for a response operation corresponding to the calling voice sample;
- the response setting unit receives a response operation setting corresponding to the calling voice sample input according to the prompt output by the prompting unit;
- the saving unit is configured to save the location The call voice sample recorded by the voice recording unit and the response operation setting corresponding to the call voice sample input by the response setting unit are saved.
- the setting module is further configured to set a voltage threshold as the Start the voltage of the voice response function and save it.
- a mobile device includes a processor and a memory, a switch circuit, and an A/D conversion circuit connected to the processor, further comprising a sound pickup circuit, the sound pickup circuit respectively
- the switching circuit and the A/D conversion circuit are electrically connected, wherein: the sound pickup circuit is configured to detect a calling voice from the outside, convert it into a corresponding measured voltage, and send the measured voltage to the switching circuit
- the switching circuit is configured to receive the measured voltage, determine whether the measured voltage exceeds a voltage for starting a corresponding function of the voice, and notify the processor when the measured voltage exceeds a voltage for starting a voice response function Initiating an instruction of a voice response function, and transmitting the measured voltage to the A/D conversion circuit
- the A/D conversion circuit is configured to: when the measured voltage exceeds a voltage for initiating a voice response function, Converting the measured voltage to a calling voice signal recognizable by the mobile device and transmitting the calling voice signal to the processor
- the device is configured to activate a voice response function
- the switching circuit includes a voltage dividing circuit and a voltage comparator, wherein: the voltage dividing circuit is electrically connected to the voltage comparator for a voltage generated by the voltage dividing circuit is output to the voltage comparator; the voltage dividing circuit includes a first resistor and a second resistor, wherein the first resistor is connected in series with the second resistor, wherein one end of the first resistor is The voltage source is electrically connected, the other end is electrically connected to one end of the second resistor, and the other end of the second resistor is grounded for distributing a voltage from a voltage source; a voltage is connected between the first resistor and the second resistor a comparator that simultaneously generates a voltage for initiating a voice response function between the first resistor and the second resistor;
- the voltage comparator includes:
- a first port electrically connected to the voltage dividing circuit configured to receive the voltage generated by the voltage dividing circuit between the first resistor and the second resistor for initiating a corresponding function of the voice and input the voltage comparison
- a second port electrically connected to the sound pickup circuit for receiving a measurement voltage obtained by external voice conversion and inputting the voltage comparator; and a third port electrically connected to the processor for And when the measured voltage exceeds the voltage for starting the corresponding function of the voice, sending an instruction to start the voice response function to the processor; and the fourth port is electrically connected to the A/D conversion circuit, when the measured voltage exceeds The measuring voltage is output to the A/D conversion circuit when the voltage for starting the corresponding function of the voice is activated.
- the mobile device detects the calling voice from the outside world to start the following voice feature matching process, and then causes the mobile device to perform the pre-stored response corresponding to the calling voice sample.
- the operation rather than the triggering method in the prior art, makes the use of the mobile device more user-friendly, more convenient, and easier to use; on the other hand, by sensing the change of the external voice strength, only when the external voice size reaches a preset
- the voice reference value used to activate the voice response function controls the wake-up voice response function to achieve dynamic response, avoiding power loss caused by long-time voice response function, and lowering the power consumption of the mobile device.
- the response mode of the mobile device in response to the user's call is diversified, giving the user a richer experience.
- FIG. 1 is a flow chart of an embodiment of a voice response method of the present invention
- FIG. 2 is a flow chart of another embodiment of a voice response method of the present invention.
- FIG. 3 is a flow chart of setting a response operation of a call voice sample and a call voice sample in another embodiment of the voice response method of the present invention
- FIG. 4 is a flowchart showing a specific application of an embodiment of the sound response method of the present invention.
- FIG. 5 is a schematic block diagram of an embodiment of a mobile device of the present invention.
- FIG. 6 is a schematic block diagram of a setting module in an embodiment of a mobile device according to the present invention.
- FIG. 7 is a schematic structural diagram of another embodiment of a mobile device according to the present invention.
- FIG. 8 is a circuit diagram of a particular application of an embodiment of a mobile device.
- FIG. 1 is a flowchart of an embodiment of a voice response method according to the present invention. The method includes:
- Step S101 detecting a calling voice from the outside world
- the mobile device detects the external calling voice in real time through a voice pickup device such as a microphone.
- Step S102 When the size of the calling voice of the outside exceeds the preset voice reference value for starting the voice response function, it is searched whether there is a calling voice sample that matches the calling voice;
- the voice reference value can be expressed by the magnitude of the current or voltage, and of course other ways. Whether the size of the external call voice exceeds the preset voice reference value for starting the voice response function, and the corresponding measurement current or measurement voltage obtained by comparing the external call voice conversion can be compared with the preset function for starting the voice response.
- the current or voltage is carried out. For example, when the measured voltage corresponding to the external calling voice exceeds the preset voltage for starting the calling voice function, the voice response function is activated to find whether there is a calling voice sample matching the calling voice; when the external calling voice corresponds to When the measured current exceeds the preset current for initiating the calling voice function, the voice response function is activated to find whether there is a calling voice sample that matches the calling voice.
- the voice reference value is represented by a voltage as an example.
- the calling voice function or other means can be used to continue to obtain the calling voice of the outside world, and the calling voice is converted into a calling voice signal that the mobile device can recognize; specifically, the external calling voice that continues to be acquired can be converted into a measurement.
- the voltage converts the measured voltage into a calling voice signal that the mobile device can recognize.
- step S103 is performed; otherwise, returning to step S101 to continue detecting the calling voice of the outside world.
- the call voice of the other half may be acquired, and only the remaining part is obtained.
- the conversion here includes two steps of converting the acquired call voice into a measurement voltage, and then converting the measurement voltage into a call voice signal that the mobile device can recognize. After converting the measurement voltage corresponding to the external calling voice into the calling voice signal recognizable by the mobile device, the mobile device searches for a calling voice sample that matches the voice feature of the calling voice signal.
- the voice response function is activated at the end of the call voice. Since there are too few call voices that are subsequently acquired, there may be no matching. In this case, the response may not be performed, or may be performed by other means, for example. Set the start alarm sound, etc., prompting the user to make a call voice again.
- Step S103 Perform a pre-stored response operation corresponding to the calling voice sample
- a pre-stored response operation corresponding to the calling speech sample is performed.
- the response operation may be to play a pre-stored response voice corresponding to the call voice sample or perform an action corresponding to the call voice sample.
- the pre-stored call voice sample is "Dear"
- the pre-stored response operation corresponding to the call voice sample is the voice playing "I am here.”
- the external voice is "Dear”
- the mobile device plays the voice "I am here.”
- the owner of the mobile device can quickly find his mobile device.
- the pre-stored call voice sample is “calling XXX call”, and the corresponding response operation is to automatically dial XXX.
- the action of dialing the XXX call is performed.
- the first embodiment of the present invention activates the following voice feature matching process by causing the mobile device to detect the calling voice from the outside world, so that the mobile device performs the pre-stored response operation corresponding to the calling voice sample, instead of using the prior art.
- the way the button is triggered makes the use of the mobile device more user-friendly, more convenient, and easier to use; the second is to sense the change of the external voice strength, only when the external voice size reaches the preset voice reference value for starting the voice response function. Only when the wake-up voice response function is controlled, the dynamic response is realized, and the power loss caused by the voice response function is turned on for a long time, so that the power consumption of the mobile device is lower.
- the mobile device responds to the user's call to respond to a variety of ways, bringing more fun to the user's life.
- another embodiment of the voice response method of the present invention includes:
- Step S201 setting a call voice sample and a response operation corresponding to the call voice sample and saving;
- Step S202 setting a voice reference value for starting the voice response function and saving
- a voice reference value for starting the voice response function is set in advance, and the voltage is used as a voice reference value. Assuming that the voltage is 350mV when the person utters a call, the voltage for starting the voice response function can be set to 350mV. Of course, the voltage for starting the voice response function can also be set according to the user's own requirements, for example, the setting is lower than 350mV or slightly higher. The voltage at 350 mV is the voltage used to activate the voice response function. In the actual application process, if the mobile device system itself already has a default voltage for starting the voice response function, the setting procedure of the voltage for starting the voice response function is not required, and the mobile device system is directly used by default. The voltage at which the voice response function is activated is used as a voltage for starting the voice response function;
- Step S203 detecting a calling voice from the outside world
- Step S204 When the size of the calling voice of the outside exceeds the preset voice reference value for starting the voice response function, it is searched whether there is a calling voice sample that matches the calling voice;
- Step S205 Perform a pre-stored response operation corresponding to the calling voice sample
- the user can set these parameters according to personal preference, so that the voice response is more personalized, and the response manner is also based on the user.
- the personal settings have become more flexible and give users a richer experience.
- Sub-step S301 receiving an instruction to record a call voice sample
- the mobile device receives an instruction to record a call voice sample generated from a user operation
- Sub-step S302 recording an external sound as a call voice sample
- the mobile device After receiving the instruction to record the calling voice sample, the mobile device records an external sound as a call voice sample according to the instruction.
- the calling voice sample may be a name that the user takes for his mobile device, or may be another voice. For example, shouting "Dear” or "Love Machine” to the microphone of the mobile device as a call sample, or calling a mobile action command to the microphone of the mobile device, such as "calling a XXX call", etc.
- the present invention does not limit the specific form and content of the calling voice sample;
- Sub-step S303 outputting a prompt to set a response operation corresponding to the calling voice sample
- the mobile device After the call voice sample is recorded, the mobile device outputs a prompt for setting a response operation corresponding to the call voice sample;
- Sub-step S304 receiving a response operation setting corresponding to the calling voice sample input according to the prompt;
- the input operation is performed according to the prompt of the response operation corresponding to the call voice sample corresponding to the output of the sub-step S303, and the mobile device receives the input response operation setting corresponding to the call voice sample, and the response operation corresponds to the corresponding call voice sample, such as calling the voice.
- the sample is "Dear” or "Love Machine”, and the response operation can be set to " ⁇ ” or "I am here” in response to the sound. Of course, you can also set some spoiled sounds or a piece of music as the answering sound;
- the voice sample is an action instruction such as “calling a XXX call”, and the response operation may be set to perform a corresponding response action such as dialing a XXX call;
- Sub-step S305 saving the calling voice sample and the response operation setting corresponding to the calling voice sample
- the recorded call voice sample and the response operation settings corresponding to the call voice sample are saved to the mobile device to complete the setting.
- the above setting process is only an implementation manner of the setting process of the present invention.
- the recording of the calling voice sample operation and the response operation setting corresponding to the calling voice sample are not strictly distinguished, that is, It is said that after receiving the instruction to record the calling voice sample (ie, the above sub-step S301), the response operation setting may also be performed first to perform the calling voice sample recording.
- the voice sample recording completion and the response operation setting is completed and then saved, and can be separately saved, that is, the voice sample recording is completed and saved, and then the response operation setting and saving, or the response operation setting is saved first. Then call the recording of the voice sample and save it.
- FIG. 4 is a specific application flowchart of a voice response method according to an embodiment of the present invention.
- the voice response method of the present invention is applied to a mobile phone, including:
- Step S401 receiving an external sound
- the mobile phone continuously receives the sound of the outside world through the microphone.
- the voltage for starting the voice response function is set, and the calling voice sample and the response operation setting corresponding to the calling voice sample are set and saved on the mobile phone, and the similarity of the voice matching can also be set and saved.
- the voltage of the voice response function is limited within the mobile phone system, the voltage does not need to be reset, and the default voltage of the system is directly used as the voltage activated by the voice response function.
- Step S402 processing the sound
- the mobile phone microphone After the external sound passes through the mobile phone microphone, it can be converted into the measured voltage or measured current corresponding to the external sound.
- the measured voltage corresponding to the external sound is sent to the voltage comparator for comparison.
- Step S403 performing voltage comparison
- the mobile phone compares the measured voltage converted by the external sound with a preset voltage for starting the voice response function or the system's default starting voice response function through an internal voltage comparator. If the measured voltage exceeds a preset voltage for starting the voice response function to start the voice response function, step S404 is performed, and if the measured voltage does not exceed the preset voltage for starting the voice response function to start the voice response function, step S406 is performed. ;
- Step S404 Start a voice response function, and perform voice matching
- the voice response function When the measured voltage exceeds the preset voltage for starting the voice response function, the voice response function is activated, and the external sound is continuously received and converted into a sound signal recognizable by the mobile phone, and the voice sample matching the sound signal is searched in the mobile phone. After the voice response function is activated, the voltage comparison can be stopped to save power;
- Step S405 If a speech sample whose similarity reaches 85% or more is found, a response operation corresponding to the speech sample is performed, otherwise, the response operation is not performed;
- Step S406 No operation is performed
- the mobile phone When the measured voltage does not exceed the preset voltage for starting the voice response function, no operation is performed. For example, if the mobile phone is in the standby state, it continues to be in the standby state and continues to receive the external sound.
- the mobile device does not require a button to trigger a voice response, making the use of the mobile device more user-friendly, more convenient, and easier to use.
- the user can pre-set “Dear” as a call voice sample, and the corresponding response response is "Dear, I am here.”
- the mobile device will answer "Dear, I am here", very human; especially in daily life, when a person is at home, he often forgets where his phone is placed, and nothing else.
- the mobile phone can make a call to its own phone.
- the phone will automatically initiate a voice response, make a corresponding response or play a preset response music, enabling the user to quickly find their own voice.
- Telephone for example, the mobile phone user can set "call Zhang San” as the call voice sample, and the corresponding response is set to directly call Zhang San's phone, as long as the user shouts "call Zhang San” to his mobile phone, the mobile phone It is very convenient to automatically dial the phone number of Zhang San, especially for those who can't see the keyboard or call the phone address book.
- a schematic block diagram of an embodiment of a mobile device according to the present invention includes a detection module 51, a lookup module 52, and a response module 53, wherein:
- the detecting module 51 is configured to detect a calling voice from the outside;
- the calling voice of the outside world is continuously detected by the detecting module 51.
- the searching module 52 is configured to: when the calling voice size of the outside world exceeds a preset voice reference value for starting the voice response function, whether there is a calling voice sample that matches the calling voice;
- the search module 52 searches for whether there is a call voice sample matching the call voice, and outputs the query result to the response module 53.
- the voice reference value preset here for starting the voice response function is a preset reference value for starting the voice response function, and the reference value can be expressed by voltage or current.
- the voice response function is activated, and the search module 52 searches for whether there is a call voice sample matching the call voice.
- the response module 53 is configured to perform a pre-stored response operation corresponding to the call voice sample when the lookup module 52 finds a call voice sample that matches the call voice sample.
- the response module 53 When there is a call voice sample that matches the call voice, the response module 53 performs a pre-stored response operation corresponding to the call voice sample.
- the response operation may be to play a pre-stored response voice corresponding to the call voice sample or perform an action corresponding to the call voice sample.
- the pre-stored call voice sample is "Dear"
- the pre-stored response operation corresponding to the call voice sample is the voice playing "I am here.”
- the external voice is "Dear”
- the mobile device plays the voice "I am here.”
- the owner of the mobile device can quickly find his mobile device.
- the pre-stored call voice sample is “calling XXX call”, and the corresponding response operation is to automatically dial XXX.
- the action of dialing the XXX call is performed.
- another embodiment of the mobile device of the present invention further includes a first conversion module 54 and a determination module 55, wherein:
- the determining module 55 is configured to determine whether the size of the calling voice of the outside world exceeds a preset voice reference value for starting the voice response function;
- the determining module 55 is specifically configured to determine whether the measured voltage or the measured current corresponding to the external calling voice exceeds a preset voltage or current for starting the voice response function.
- the first conversion module 54 is configured to acquire the external call voice from the detection module 51, and convert the external call voice into a corresponding measurement voltage or measurement current, and send the corresponding measurement voltage or measurement current of the call voice to the determination module 55; In this embodiment, an example is described in which the external calling voice is converted into a corresponding measured voltage.
- the first conversion module 54 acquires the calling voice of the outside world, converts the calling voice into a corresponding measurement voltage, and sends the corresponding measurement voltage of the calling voice to the determining module 55 for determination.
- the determining module 55 is specifically configured to determine whether the measured voltage corresponding to the calling voice exceeds a preset voltage for starting the voice response function, and outputs the determination result to the searching module 52;
- the determining module 55 receives the measured voltage corresponding to the calling voice converted by the first converting module 54 and determines whether the measured voltage corresponding to the calling voice exceeds a preset voltage for starting the voice response function to activate the voice response function.
- the notification finding module 52 searches for a calling voice sample that matches the calling voice.
- a second conversion module 56 is further configured to convert the calling voice into a calling voice signal that can be recognized by the mobile device, and specifically, the corresponding voice of the calling voice can be measured. The voltage is converted to a calling voice signal that the mobile device can recognize.
- the determination result of the judgment module 55 is that the measured voltage corresponding to the calling voice exceeds the preset voltage for starting the voice response function
- the measurement voltage corresponding to the calling voice is sent to the second conversion module 56.
- the second conversion module 56 converts the measured voltage corresponding to the calling voice into a calling voice signal recognizable by the mobile device, and outputs the converted calling voice signal to the searching module 52.
- the searching module 52 is specifically configured to find whether there is a calling voice sample that matches the calling voice signal. That is, it is found whether there is a call voice sample whose similarity with the voice feature of the calling voice signal reaches a preset similarity, and outputs the search result to the response module 53.
- the matching here refers to that the similarity of the speech features of the calling voice signal reaches a preset similarity or above, and the preset similarity is set according to the user's needs, such as 85% or 75%, etc., Make restrictions.
- another embodiment of the mobile device of the present invention further includes a setting module 57, configured to set a call voice sample and a response operation corresponding to the call voice sample and save.
- the setting module 57 can be configured to set a call voice sample and a response operation corresponding to the call voice sample and save. On the other hand, the setting module 57 can also be used to set and save the voice reference value for starting the voice response function.
- the related settings of the voice response are previously performed on the mobile device by the setting module 57, including the response voice setting corresponding to the calling voice sample and the calling voice sample, and the voice reference value for starting the voice response function.
- the voice reference value for starting the voice response function For example, when the mobile device system does not limit the rated voltage for starting the voice response function, a voltage threshold is set as the voice reference value for starting the voice response function.
- the setting module 57 can also be used to set or adjust the similarity between the external voice and the preset calling voice sample, and the like.
- the setting module 600 includes an instruction receiving unit 61, a voice recording unit 62, a prompting unit 63, a response setting unit 64, and a saving unit 65, wherein :
- the instruction receiving unit 61 is configured to receive an instruction to record a call voice sample
- An instruction to record a call voice sample generated from a user operation is received by the command receiving unit 61.
- the voice recording unit 62 is configured to record an external voice as a call voice sample according to an instruction of the instruction receiving unit 61 to record a voice sample;
- the voice recording unit 62 records an external sound as a call voice sample according to an instruction to record a call voice sample.
- the calling voice sample may be a name that the user takes for his mobile device, or may be another voice. For example, shouting "Dear” or "Love Machine” to the microphone of the mobile device as a call sample, or calling a mobile action command to the microphone of the mobile device, such as "calling a XXX call", etc.
- the present invention does not limit the specific form and content of the calling speech sample.
- the prompting unit 63 is configured to output a prompt for setting a response operation corresponding to the calling voice sample after the voice recording unit 62 completes the calling voice sample recording;
- the prompting unit 63 After the call voice sample recording is completed, the prompting unit 63 outputs a prompt to set a response operation corresponding to the call voice sample.
- the response setting unit 64 receives the response operation setting corresponding to the calling voice sample input according to the prompt output by the prompting unit 63;
- the response setting unit 64 receives the input response operation setting corresponding to the calling voice sample according to the prompt of the response operation corresponding to the calling voice sample, and the response operation corresponds to the corresponding calling voice sample, for example, calling the voice sample is "Dear” or "Love Machine", the response operation can be set to " ⁇ " or "I am here" in response to the sound, of course, you can also set some spoiled sounds or a piece of music as a response sound; if you call a voice sample In response to an action command such as "calling a call of XXX", the response operation can be set to perform a corresponding response action such as a call to dial XXX.
- the saving unit 65 is configured to save the call voice sample recorded by the voice recording unit 62 and the response operation setting corresponding to the call voice sample input by the save response setting unit 64.
- the saving unit 65 saves the recorded call voice sample and the response operation setting corresponding to the call voice sample to complete the setting.
- the above setting process is only an implementation manner of the setting process of the present invention.
- the recording of the calling voice sample operation and the response operation setting corresponding to the calling voice sample are not strictly distinguished, that is, It is said that after receiving the instruction to record the calling voice sample, the response operation setting may also be performed first to perform the calling voice sample recording.
- the saving unit 65 does not have to call the voice sample to complete the recording and save the response operation after the setting is completed, and can be saved separately, that is, the voice sample is recorded and saved, and then the response operation is set and saved, or the response operation is performed first. After the setting is saved, the recording of the calling voice sample is performed and saved.
- FIG. 7 is a schematic structural diagram of an embodiment of a mobile device according to the present invention.
- the mobile device 700 includes a processor 701, a memory 702 connected to the processor 701, a switch circuit 705, and an A/D conversion circuit 704, and further includes sound pickup.
- the circuit 703, the sound pickup circuit 703 is electrically connected to the switch circuit 705:
- a response operation setting corresponding to the calling voice sample and the calling voice sample is stored in the memory 702.
- the sound pickup circuit 703 is configured to detect a call voice from the outside, convert it into a corresponding measurement voltage, and send the measurement voltage to the switch circuit 705;
- the switch circuit 705 is configured to receive the measured voltage, determine whether the measured voltage exceeds a preset voltage for starting the voice response function, and notify the processor 701 to initiate a voice response when the measured voltage exceeds a preset voltage for starting the voice response function. Function, and send the measured voltage to the A/D conversion circuit 704;
- the A/D conversion circuit 704 is configured to convert the measurement voltage into a call voice signal recognizable by the mobile device when the measured voltage exceeds a preset voltage for starting the voice response function, and send the call voice signal to the processor 701;
- the processor 701 is configured to receive the notification of the switch circuit 705, activate a voice response function, and acquire a call voice signal from the A/D conversion circuit 704, and search the memory 702 for a call voice sample that matches the voice feature of the call voice signal. When there is a call voice sample matching the calling voice signal, the pre-stored response operation corresponding to the calling voice sample is controlled.
- the switching circuit 705 of the mobile device embodiment of the present invention includes a voltage dividing circuit 72 and a voltage comparator 71, wherein the voltage dividing circuit 72 is electrically connected to the voltage comparator 71 and will be used to activate the voice response function.
- the voltage is output to the voltage comparator 71;
- the voltage dividing circuit 72 may further include a first resistor and a second resistor (such as the resistors R1 and R2 of FIG. 8), the first resistor and the second resistor being connected in series, wherein one end of the first resistor and the voltage The source is electrically connected, the other end is electrically connected to one end of the second resistor, and the other end of the second resistor is grounded for distributing the voltage from the voltage source.
- a voltage comparator 71 is connected between the first resistor and the second resistor, and a voltage for initiating a voice response function is generated between the first resistor and the second resistor.
- the voltage comparator 71 includes:
- the first port is electrically connected to the voltage dividing circuit 72 for receiving a voltage output by the voltage dividing circuit 72 at the first port for starting the voice response function and inputting the voltage comparator 71;
- the second port is electrically connected to the sound pickup circuit 703 for receiving the measured voltage obtained by the external voice conversion and input to the voltage comparator 71;
- the third port is electrically connected to the processor 701 for outputting a comparison result between the voltage for starting the voice response function and the measured voltage being compared by the voltage comparator 71.
- FIG. 8 is a circuit diagram of a specific application of an embodiment of a mobile device according to the present invention, which is specifically as follows:
- the mobile device is a mobile phone, and the mobile phone includes a sound pickup circuit 83, a voltage dividing circuit 80, a voltage comparator 81, an A/D conversion circuit 82, and a main chip 84.
- the memory 85 :
- the main chip 84 is a specific application of the processor of the mobile device embodiment, and the voltage dividing circuit 80 and the voltage comparator 81 together constitute a specific application of the switching circuit of the mobile device embodiment.
- the sound pickup circuit 83 includes a microphone 801 that detects sound from the outside, and an electrostatic device 802 that converts the external sound into a measured voltage.
- the voltage dividing circuit 80 further includes a first resistor 807 and a second resistor 808.
- the first resistor 807 is connected in series with the second resistor 808.
- One end of the first resistor 807 is electrically connected to the voltage source, and the other end is electrically connected to one end of the second resistor 808.
- Connected, the other end of the second resistor 808 is grounded for distributing the voltage from the voltage source; the voltage resistor 81 is connected between the first resistor 807 and the second resistor 808, and the first resistor 807 and the second resistor 808 are simultaneously connected.
- a voltage is generated between the functions for initiating the voice response function.
- the voltage comparator 81 further includes a first port 804 electrically coupled to the voltage dividing circuit 80 between the first resistor 807 and the second resistor 808 for receiving the voltage dividing circuit 80 between the first resistor 807 and the second resistor 808. Generating a voltage for initiating the voice response function and inputting the voltage comparator 81; the second port 803 is electrically connected to one end of the electrostatic device 802 for receiving the measured voltage converted by the external voice and inputting the voltage comparator 81;
- the port 806 is electrically connected to the main chip 84, and is configured to notify the main chip 84 when the measured voltage exceeds a preset voltage for starting the voice response function, and specifically can notify the main chip 84 by a high level or a low level;
- the fourth port 805 is electrically connected to the A/D conversion circuit 82 for outputting the measured voltage to the A/D conversion circuit 82 when the measured voltage exceeds a preset voltage for activating the voice response function;
- the microphone 801 is electrically connected to one end of the electrostatic device 802, and transmits the detected external voice to the electrostatic device 802.
- the other end of the electrostatic device 802 is electrically connected to the voltage comparator 81 through the second port 803 to measure the external voice.
- the voltage is output to the voltage comparator 81.
- One end of the A/D conversion circuit 82 is electrically connected to the voltage comparator 81, and the other end is electrically connected to the main chip 84 for converting the measurement voltage into a mobile device when the measured voltage exceeds a preset voltage for starting the voice response function.
- the identifiable call voice signal is sent to the master chip 84.
- a response operation setting corresponding to the calling voice sample and the calling voice sample is stored in the memory 85.
- the microphone 801 of the mobile phone receives the external sound, and after the electrostatic device 802 converts the sound into the measured voltage, the voltage V1 converted by the external sound is input to the voltage comparator 81 via the second port 803 through the electrostatic device 802; the voltage dividing circuit 80 includes the first The two resistors, the resistor 807 and the second resistor 808, are divided by two resistors to generate a voltage V2 between the two resistors, and V2 is used as a voltage for starting the voice response function. V2 is input to the voltage comparator 81 via the first port 804; the voltage comparator 81 compares the voltages V1 and V2, and when V1 is greater than V2, the third port 806 notifies the main chip 84 to perform processing.
- the main chip 84 is configured to receive the notification of the third port 806, activate the voice response function, and acquire the calling voice signal from the A/D conversion circuit 82, and look in the memory 85 for whether there is a calling voice that matches the voice feature of the calling voice signal.
- the sample when there is a call voice sample matching the calling voice signal, controls the pre-stored response operation corresponding to the calling voice sample.
- the dynamic voice response function of the mobile phone can be realized.
- the voltage V1 generated when a person utters a call is about 350 mV (about 200 mV when a person speaks). Therefore, when designing a circuit, the voltage V2 generated by the voltage division of the voltage dividing circuit can be controlled to be 350 mV as a voltage for starting the voice response function.
- the voltage of the voltage V2 is controlled according to the actual parameters of the microphone.
- the power consumption of the voltage divider circuit can be reduced to 0 by the circuit design; when there is external voice, but the external voice is not enough to wake up the voice response function, the voltage divider circuit consumes only about 0.1. -0.2mA, and this power consumption can be further reduced by circuit optimization design, with little impact on standby. In this way, the external voice strength and weakness are sensed. Only when the voltage after the external voice conversion reaches the preset voltage for starting the voice response function, the main chip is notified to start the voice response function, thereby avoiding the long-time activation of the voice response function. The loss of power makes the phone more user-friendly, more convenient and easier to use. At the same time, the added voltage dividing circuit and the voltage divider are all commonly used components, and the manufacturing cost is low.
- the present invention has the following advantages over the prior art: on the one hand, the mobile device detects the calling voice from the outside to initiate the following voice feature matching process, thereby enabling the mobile device to perform pre-stored and called voices.
- the corresponding response operation of the sample instead of the triggering method in the prior art, makes the use of the mobile device more humanized, more convenient, and easier to use; on the other hand, by sensing the change of external voice strength, only when the external voice is converted When the voltage reaches the preset voltage for starting the voice response function, the wake-up voice response function is controlled to achieve dynamic response, and the power loss caused by the long-time voice response function is avoided, so that the power consumption of the mobile device is lower.
- the response mode of the mobile device in response to the user's call is diversified, giving the user a richer experience.
- the implementation method of the voice response method of the present invention only needs to add a voltage dividing circuit and a voltage comparator on the basis of the original mobile device, and the added voltage dividing circuit and the voltage comparator are commonly used. Parts, low manufacturing costs, and possible implementation are simple. When the external voice is not enough to wake up the voice response function, the part of the circuit hardly works. The power consumption is small, and has no effect on the standby time of the mobile device.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device implementations described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed are a voice response method, a system, and a mobile device. The method comprises: detecting a calling voice from an external environment; when a volume of the calling voice from the external environment exceeds a preset voice reference value for starting a voice response function, querying whether a calling voice sample matching the calling voice exists; and if the calling voice sample matching the calling voice exists, executing a pre-stored response operation matching the calling voice sample. The present invention implements voice response without being triggered by a pressed key, makes use of the mobile device in a more humanized, more convenient and much easier way, and requires a low cost.
Description
【技术领域】[Technical Field]
本发明涉及电子技术领域,特别是涉及一种语音响应的方法及移动设备。 The present invention relates to the field of electronic technologies, and in particular, to a voice response method and a mobile device.
【背景技术】 【Background technique】
目前,语音应答系统已在一些移动设备上有应用。一般的语音应答系统的技术思路是:在移动设备上设拾取人声的麦克风,使其响应用户语音输入;另外设一个启动语音响应的功能键。Currently, voice response systems have applications on some mobile devices. The technical idea of a general voice response system is to set a microphone for picking up a human voice on the mobile device to respond to the user's voice input, and a function key for initiating a voice response.
工作时先按下“语音响应的功能键”以唤醒移动终端,并告知移动设备启动语音响应功能。当用户对着移动设备的麦克风说一段话时,移动设备会对说的话录音,然后与预存的语音数据比较。若相同或相似度达到要求以上,则触发语音响应。When working, first press the "Speech Response Function Key" to wake up the mobile terminal and inform the mobile device to activate the voice response function. When the user speaks a word to the mobile device's microphone, the mobile device records the spoken words and then compares them with the pre-stored voice data. If the same or similarity is above the required level, a voice response is triggered.
如前所述,一般的语音应答系统应用场景大都是需要按一个键以启动语音响应功能,对用户的从麦克风端输入的语音数据进行处理或比较,若有相同或相似度达到要求以上的语音数据,则触发语音识别。As mentioned above, most of the general voice response system application scenarios need to press a button to activate the voice response function, and process or compare the voice data input by the user from the microphone end, if there are voices with the same or similarity requirements. Data, which triggers speech recognition.
本发明发明人在长期研发中发现,上述的语音应答系统在使用时非常机械,不够人性化,即使拥有语音识别功能,也需要用户先按个启动键,才能触发语音识别。The inventor of the present invention found in the long-term research and development that the above-mentioned voice response system is very mechanical and not humanized when used. Even if the voice recognition function is provided, the user needs to press a start button to trigger voice recognition.
【发明内容】 [Summary of the Invention]
本发明主要解决的技术问题是提供一种语音响应的方法及移动设备,不需要通过按键触发就能够自动启动语音响应功能,实现语音响应。The technical problem to be solved by the present invention is to provide a voice response method and a mobile device, which can automatically initiate a voice response function without triggering a button to implement a voice response.
本发明的第一方面是:提供一种语音响应的方法,所述方法包括:检测来自外界的呼唤语音;当所述外界的呼唤语音大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与所述呼唤语音相匹配的呼唤语音样本;若存在与所述呼唤语音样本相匹配的呼唤语音样本,则执行预存的与所述呼唤语音样本对应的响应操作。A first aspect of the present invention is to provide a method for voice response, the method comprising: detecting a call voice from the outside world; and when the size of the call voice of the outside world exceeds a preset voice reference value for initiating a voice response function And searching for whether there is a calling voice sample matching the calling voice; if there is a calling voice sample matching the calling voice sample, performing a pre-stored response operation corresponding to the calling voice sample.
本方面的第一种可能的实现方式:所述检测来自外界的呼唤语音的步骤之后,所述当所述外界的呼唤语音的大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与所述呼唤语音相匹配的呼唤语音样本之前,还包括:判断所述呼唤语音的大小是否超过预设的用于启动语音响应功能的语音参考值。A first possible implementation manner of the aspect, after the step of detecting a call voice from the outside world, when the size of the call voice of the outside world exceeds a preset voice reference value for starting a voice response function, Before finding whether there is a call voice sample matching the call voice, the method further includes: determining whether the size of the call voice exceeds a preset voice reference value for starting the voice response function.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中:判断呼唤语音的大小是否超过预设的用于启动语音响应功能的语音参考值的步骤包括:判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流。With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the step of determining whether the size of the calling voice exceeds a preset voice reference value for starting the voice response function includes: determining the calling voice Whether the corresponding measured voltage or measured current exceeds a preset voltage or current for starting the voice response function.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中:所述判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流的步骤包括:将所述呼唤语音转换为对应的测量电压或测量电流;判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流。With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the determining whether the measured voltage or the measured current corresponding to the voice exceeds a preset voltage or current for starting the voice response function The step of: converting the calling voice into a corresponding measured voltage or measuring current; determining whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset voltage or current for starting the voice response function.
结合第一方面以及第一方面的第一种可能的实现方式至第三种可能的实现方式中的任一种,在第四种可能的实现方式中:所述查找是否存在与所述呼唤语音相匹配的呼唤语音样本的步骤之前,还包括:将所述呼唤语音转换为移动设备能够识别的呼唤语音信号;所述查找是否存在与所述呼唤语音相匹配的呼唤语音样本的步骤具体为:查找是否存在与所述呼唤语音信号相匹配的呼唤语音样本。With reference to the first aspect, and any one of the first possible implementation to the third possible implementation of the first aspect, in a fourth possible implementation, the determining whether the presence and the calling voice are present Before the step of calling the voice sample, the method further includes: converting the calling voice into a calling voice signal recognizable by the mobile device; and the step of searching whether there is a calling voice sample matching the calling voice is specifically: Find if there is a call voice sample that matches the calling voice signal.
结合第一方面以及第一方面的第一种可能的实现方式至第四种可能的实现方式的任一种,在第五种可能的实现方式中:所述在移动设备内寻找是否有与呼唤语音信号的语音特征相匹配的呼唤语音样本的步骤具体为:在所述移动设备内寻找是否有与所述呼唤语音信号的语音特征相似度达到预设的相似度的呼唤语音样本。With reference to the first aspect, and any one of the first possible implementation to the fourth possible implementation of the first aspect, in a fifth possible implementation, the searching for the presence and the call in the mobile device The step of calling the voice sample matched by the voice feature of the voice signal is specifically: searching, in the mobile device, whether there is a call voice sample having a similarity with the voice feature of the call voice signal reaching a preset similarity.
结合第一方面的第四种可能的实现方式或第五种可能的实现方式,在第六种可能的实现方式中:所述查找是否存在与所述呼唤语音信号相匹配的呼唤语音样本的步骤之前,还包括:设置所述呼唤语音样本以及与呼唤语音样本对应的响应操作并保存。With reference to the fourth possible implementation manner of the first aspect, or the fifth possible implementation manner, in a sixth possible implementation manner, the step of searching whether there is a calling voice sample matching the calling voice signal Previously, the method further includes: setting the calling voice sample and the response operation corresponding to the calling voice sample and saving.
结合第一方面的第六种可能的实现方式,在第七种可能的实现方式中:所述设置呼唤语音样本以及呼唤语音样本对应的响应操作并保存的步骤具体为:接收录制呼唤语音样本的指令;在接收到录制呼唤语音样本的指令后,录制一段外界声音作为呼唤语音样本;在所述呼唤语音样本录制完成后,输出设置与呼唤语音样本对应的响应操作的提示;接收依据设置所述提示而输入的与呼唤语音样本对应的响应操作设置;保存所述呼唤语音样本以及与呼唤语音样本对应的所述响应操作设置。With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner, the step of setting the calling voice sample and the response operation corresponding to the calling voice sample and saving is specifically: receiving the recording call sample of the voice After receiving the instruction to record the calling voice sample, recording an external sound as a calling voice sample; after the calling voice sample is recorded, outputting a prompt for setting a response operation corresponding to the calling voice sample; receiving the setting according to the setting And responding to the response operation setting corresponding to the calling voice sample; saving the calling voice sample and the response operation setting corresponding to the calling voice sample.
结合第一方面以及第一方面的第一种可能的实现方式至第七种可能的实现方式的任一种,在第八种可能的实现方式中:所述方法还包括:设置用于启动语音响应功能的语音参考值并保存。With reference to the first aspect, and any one of the first possible implementation to the seventh possible implementation of the first aspect, in an eighth possible implementation, the method further includes: setting to start voice Respond to the voice reference value of the function and save it.
根据本发明的第二方面,一种移动设备,包括检测模块、查找模块以及响应模块,其中:所述检测模块用于检测来自外界的呼唤语音;所述查找模块用于当所述外界的呼唤语音大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与所述呼唤语音相匹配的呼唤语音样本;所述响应模块用于当所述查找模块找到与所述呼唤语音样本相匹配的呼唤语音样本时,执行预存的与所述呼唤语音样本对应的响应操作。According to a second aspect of the present invention, a mobile device includes a detecting module, a searching module, and a response module, wherein: the detecting module is configured to detect a calling voice from the outside; and the searching module is configured to call the outside world When the voice size exceeds a preset voice reference value for starting the voice response function, searching for whether there is a call voice sample matching the call voice; the response module is configured to: when the search module finds the call voice When the sample matches the calling voice sample, a pre-stored response operation corresponding to the calling voice sample is performed.
结合本发明的第二方面,在第一种可能的实现方式中:所述设备包括判断模块,用于判断呼唤语音大小是否超过预设的用于启动语音响应功能的语音参考值,并将判断结果输出给所述查找模块。With reference to the second aspect of the present invention, in a first possible implementation, the device includes a determining module, configured to determine whether a calling voice size exceeds a preset voice reference value for starting a voice response function, and determining The result is output to the lookup module.
结合本发明的第二方面的第一种可能的实现方式,在第二种可能的实现方式中:所述判断模块具体用于判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流,并将判断结果输出给所述查找模块。With reference to the first possible implementation manner of the second aspect of the present invention, in a second possible implementation manner, the determining module is specifically configured to determine whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset The voltage or current of the voice response function is activated, and the judgment result is output to the lookup module.
结合本发明的第二方面的第二种可能的实现方式,在第三种可能的实现方式中:所述设备包括第一转换模块,用于从所述检测模块获取所述外界的呼唤语音,将所述外界的呼唤语音转换为相应的测量电压或测量电流,并将所述呼唤语音相应的测量电压或测量电流发送给所述判断模块;所述判断模块具体用于判断所述呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流。In conjunction with the second possible implementation of the second aspect of the present invention, in a third possible implementation, the device includes a first conversion module, configured to acquire, from the detection module, the external calling voice, Transmitting the call voice of the outside world to a corresponding measurement voltage or measurement current, and transmitting a corresponding measurement voltage or measurement current of the call voice to the determination module; the determining module is specifically configured to determine that the call voice corresponds to Whether the measured voltage or measured current exceeds a preset voltage or current used to initiate the voice response function.
结合本发明的第二方面以及第二方面的第一种可能的实现方式至第二方面的第三种可能的实现方式中的任一种,在第四种可能的实现方式中:所述设备包括第二转换模块,用于将所述呼唤语音转换为移动设备能够识别的呼唤语音信号;所述查找模块具体用于查找是否存在与所述呼唤语音信号相匹配的呼唤语音样本。With reference to the second aspect of the invention and the first possible implementation of the second aspect to any one of the third possible implementations of the second aspect, in a fourth possible implementation: the device The second conversion module is configured to convert the calling voice into a calling voice signal that can be recognized by the mobile device; the searching module is specifically configured to find whether there is a calling voice sample that matches the calling voice signal.
结合本发明的第二方面以及第二方面的第一种可能的实现方式至第二方面的第四种可能的实现方式中的任一种,在第五种可能的实现方式中:所述查找模块具体用于查找是否有与所述呼唤语音信号的语音特征相似度达到预设的相似度的呼唤语音样本,并将查找结果输出给所述响应模块。With reference to the second aspect of the invention and the first possible implementation of the second aspect to any one of the fourth possible implementations of the second aspect, in a fifth possible implementation: the The module is specifically configured to find whether there is a calling voice sample whose similarity with the voice feature of the calling voice signal reaches a preset similarity, and output the search result to the response module.
结合本发明的第二方面以及第二方面的第一种可能的实现方式至第二方面的第五种可能的实现方式中的任一种,在第六种可能的实现方式中:所述设备还包括,设置模块,用于设置所述呼唤语音样本以及与呼唤语音样本对应的响应操作并保存。With reference to the second aspect of the invention and the first possible implementation of the second aspect to any one of the fifth possible implementations of the second aspect, in a sixth possible implementation: the device The method further includes a setting module, configured to set the call voice sample and the response operation corresponding to the call voice sample and save.
结合本发明的第二方面的第六种可能的实现方式,在第七种可能的实现方式中:所述设置模块包括指令接收单元、语音录制单元、提示单元、响应设置单元以及保存单元,其中:所述指令接收单元用于接收录制呼唤语音样本的指令;
所述语音录制单元用于根据指令接收单元的录制呼唤语音样本的指令,录制一段外界的声音作为呼唤语音样本;所述提示单元用于在所述语音录制单元完成所述呼唤语音样本录制后,输出设置与呼唤语音样本对应的响应操作的提示;所述响应设置单元接收依据所述提示单元输出的所述提示而输入的与呼唤语音样本对应的响应操作设置;所述保存单元用于保存所述语音录制单元录制的呼唤语音样本以及保存所述响应设置单元输入的与呼唤语音样本对应的响应操作设置。With reference to the sixth possible implementation manner of the second aspect of the present invention, in a seventh possible implementation, the setting module includes an instruction receiving unit, a voice recording unit, a prompting unit, a response setting unit, and a saving unit, where The instruction receiving unit is configured to receive an instruction to record a calling voice sample;
The voice recording unit is configured to record an external voice as a call voice sample according to an instruction of the instruction receiving unit to call the voice sample; and the prompting unit is configured to: after the voice recording unit completes the recording of the call voice sample, Outputting a prompt for a response operation corresponding to the calling voice sample; the response setting unit receives a response operation setting corresponding to the calling voice sample input according to the prompt output by the prompting unit; the saving unit is configured to save the location The call voice sample recorded by the voice recording unit and the response operation setting corresponding to the call voice sample input by the response setting unit are saved.
结合本发明的第二方面的第六种可能的实现方式或第七种可能的实现方式,在第八种可能的实现方式中:所述设置模块还用于设置一电压阈值作为所述用于启动语音响应功能的电压并保存。In conjunction with the sixth possible implementation or the seventh possible implementation of the second aspect of the present invention, in an eighth possible implementation, the setting module is further configured to set a voltage threshold as the Start the voltage of the voice response function and save it.
根据本发明的第三方面,一种移动设备,包括处理器以及与所述处理器相连接的存储器、开关电路以及A/D转换电路,还包括声音拾取电路,所述声音拾取电路分别与所述开关电路以及所述A/D转换电路电连接,其中:所述声音拾取电路用于检测来自外界的呼唤语音,将其转换为相应的测量电压,并向所述开关电路发送所述测量电压;所述开关电路用于接收所述测量电压,判断测量电压是否超过用于启动语音相应功能的电压,当所述测量电压超过所述用于启动语音响应功能的电压时,通知所述处理器启动语音响应功能的指令,并将所述测量电压发送给所述A/D转换电路;所述A/D转换电路用于当所述测量电压超过所述用于启动语音响应功能的电压时,将所述测量电压转换为移动设备能够识别的呼唤语音信号,并向所述处理器发送所述呼唤语音信号;所述处理器用于启动语音响应功能,并从所述A/D转换电路获取呼唤语音信号,在存储器中寻找是否有与呼唤语音信号的语音特征相匹配的呼唤语音样本,在有与所述呼唤语音信号相匹配的呼唤语音样本时,控制进行预存的与呼唤语音样本对应的响应操作。According to a third aspect of the present invention, a mobile device includes a processor and a memory, a switch circuit, and an A/D conversion circuit connected to the processor, further comprising a sound pickup circuit, the sound pickup circuit respectively The switching circuit and the A/D conversion circuit are electrically connected, wherein: the sound pickup circuit is configured to detect a calling voice from the outside, convert it into a corresponding measured voltage, and send the measured voltage to the switching circuit The switching circuit is configured to receive the measured voltage, determine whether the measured voltage exceeds a voltage for starting a corresponding function of the voice, and notify the processor when the measured voltage exceeds a voltage for starting a voice response function Initiating an instruction of a voice response function, and transmitting the measured voltage to the A/D conversion circuit; the A/D conversion circuit is configured to: when the measured voltage exceeds a voltage for initiating a voice response function, Converting the measured voltage to a calling voice signal recognizable by the mobile device and transmitting the calling voice signal to the processor; The device is configured to activate a voice response function, and obtain a calling voice signal from the A/D conversion circuit, and search in the memory for a call voice sample matching the voice feature of the calling voice signal, where there is a voice signal associated with the calling voice signal When the matched calling voice sample is matched, the pre-stored response operation corresponding to the calling voice sample is controlled.
结合本发明的第三方面,在第一种可能的实现方式中:所述开关电路包括分压电路以及电压比较器,其中:所述分压电路与所述电压比较器电连接,用于将分压电路产生的电压输出给所述电压比较器;所述分压电路包括第一电阻和第二电阻,所述第一电阻与所述第二电阻串联,其中所述第一电阻的一端与电压源电连接,另一端与所述第二电阻的一端电连接,所述第二电阻的另一端接地,用于对来自电压源的电压进行分配;第一电阻与第二电阻之间连接电压比较器,同时在第一电阻与第二电阻之间产生用于启动语音响应功能的电压;In conjunction with the third aspect of the present invention, in a first possible implementation, the switching circuit includes a voltage dividing circuit and a voltage comparator, wherein: the voltage dividing circuit is electrically connected to the voltage comparator for a voltage generated by the voltage dividing circuit is output to the voltage comparator; the voltage dividing circuit includes a first resistor and a second resistor, wherein the first resistor is connected in series with the second resistor, wherein one end of the first resistor is The voltage source is electrically connected, the other end is electrically connected to one end of the second resistor, and the other end of the second resistor is grounded for distributing a voltage from a voltage source; a voltage is connected between the first resistor and the second resistor a comparator that simultaneously generates a voltage for initiating a voice response function between the first resistor and the second resistor;
所述电压比较器包括:The voltage comparator includes:
第一端口,与所述分压电路电连接,用于接收来自所述分压电路在第一电阻与第二电阻之间产生的所述用于启动语音相应功能的电压并输入所述电压比较器;第二端口,与所述声音拾取电路电连接,用于接收由外界语音转换得到的测量电压并输入所述电压比较器;第三端口,与所述处理器电连接,用于当所述测量电压超过所述用于启动语音相应功能的电压时,向所述处理器发送启动语音响应功能的指令;第四端口,与所述A/D转换电路电连接,用于当测量电压超过所述用于启动语音相应功能的电压时,将所述测量电压输出给所述A/D转换电路。a first port electrically connected to the voltage dividing circuit, configured to receive the voltage generated by the voltage dividing circuit between the first resistor and the second resistor for initiating a corresponding function of the voice and input the voltage comparison a second port electrically connected to the sound pickup circuit for receiving a measurement voltage obtained by external voice conversion and inputting the voltage comparator; and a third port electrically connected to the processor for And when the measured voltage exceeds the voltage for starting the corresponding function of the voice, sending an instruction to start the voice response function to the processor; and the fourth port is electrically connected to the A/D conversion circuit, when the measured voltage exceeds The measuring voltage is output to the A/D conversion circuit when the voltage for starting the corresponding function of the voice is activated.
区别于现有技术,本发明实施方式的有益效果是:一方面通过使移动设备检测来自外界的呼唤语音来启动后面的语音特征匹配流程,进而使移动设备进行预存的与呼唤语音样本相应的响应操作,而不是通过现有技术中按键触发的方式,使移动设备的使用更人性化,更方便,更易用;另一方面,通过感应外界语音强弱变化,只有当外界语音大小达到预设的用于启动语音响应功能的语音参考值时才控制唤醒语音响应功能,实现动态响应,避免长时间开启语音响应功能造成的电量损失,使移动设备的功耗更低。而且,移动设备响应用户呼唤的响应方式多样化,给用户更加丰富的体验。Different from the prior art, the beneficial effects of the embodiments of the present invention are: on the one hand, the mobile device detects the calling voice from the outside world to start the following voice feature matching process, and then causes the mobile device to perform the pre-stored response corresponding to the calling voice sample. The operation, rather than the triggering method in the prior art, makes the use of the mobile device more user-friendly, more convenient, and easier to use; on the other hand, by sensing the change of the external voice strength, only when the external voice size reaches a preset The voice reference value used to activate the voice response function controls the wake-up voice response function to achieve dynamic response, avoiding power loss caused by long-time voice response function, and lowering the power consumption of the mobile device. Moreover, the response mode of the mobile device in response to the user's call is diversified, giving the user a richer experience.
【附图说明】 [Description of the Drawings]
图1是本发明语音响应方法一实施方式的流程图;1 is a flow chart of an embodiment of a voice response method of the present invention;
图2是本发明语音响应方法另一实施方式的流程图;2 is a flow chart of another embodiment of a voice response method of the present invention;
图3是本发明语音响应方法另一实施方式中设置呼唤语音样本以及呼唤语音样本对应的响应操作并保存的流程图;3 is a flow chart of setting a response operation of a call voice sample and a call voice sample in another embodiment of the voice response method of the present invention;
图4是本发明音响应方法一实施方式的具体应用流程图;4 is a flowchart showing a specific application of an embodiment of the sound response method of the present invention;
图5是本发明移动设备一实施方式的原理框图;5 is a schematic block diagram of an embodiment of a mobile device of the present invention;
图6是本发明移动设备一实施方式中设置模块的原理框图;6 is a schematic block diagram of a setting module in an embodiment of a mobile device according to the present invention;
图7是本发明移动设备另一实施方式的结构示意图;7 is a schematic structural diagram of another embodiment of a mobile device according to the present invention;
图8是移动设备一实施方式的具体应用的电路图。8 is a circuit diagram of a particular application of an embodiment of a mobile device.
【具体实施方式】 【detailed description】
参阅图1,图1是本发明语音响应方法一实施方式的流程图,方法包括:Referring to FIG. 1, FIG. 1 is a flowchart of an embodiment of a voice response method according to the present invention. The method includes:
步骤S101:检测来自外界的呼唤语音;Step S101: detecting a calling voice from the outside world;
移动设备通过语音拾取装置,比如麦克风,实时检测外界的呼唤语音。The mobile device detects the external calling voice in real time through a voice pickup device such as a microphone.
步骤S102:当外界的呼唤语音的大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与呼唤语音相匹配的呼唤语音样本;Step S102: When the size of the calling voice of the outside exceeds the preset voice reference value for starting the voice response function, it is searched whether there is a calling voice sample that matches the calling voice;
语音参考值可以通过电流或电压的大小来表示,当然也可以是别的方式。外界的呼唤语音的大小是否超过预设的用于启动语音响应功能的语音参考值,可以通过比较外界的呼唤语音转换得到的对应的测量电流或者测量电压,与预设的用于启动语音响应功能的电流或电压进行。例如当外界的呼唤语音对应的测量电压超过预设的用于启动呼唤语音功能的电压时,则启动语音响应功能,查找是否存在与呼唤语音相匹配的呼唤语音样本;当外界的呼唤语音对应的测量电流超过预设的用于启动呼唤语音功能的电流时,则启动语音响应功能,查找是否存在与呼唤语音相匹配的呼唤语音样本。下述实施例中以语音参考值通过电压表示为例。The voice reference value can be expressed by the magnitude of the current or voltage, and of course other ways. Whether the size of the external call voice exceeds the preset voice reference value for starting the voice response function, and the corresponding measurement current or measurement voltage obtained by comparing the external call voice conversion can be compared with the preset function for starting the voice response. The current or voltage is carried out. For example, when the measured voltage corresponding to the external calling voice exceeds the preset voltage for starting the calling voice function, the voice response function is activated to find whether there is a calling voice sample matching the calling voice; when the external calling voice corresponds to When the measured current exceeds the preset current for initiating the calling voice function, the voice response function is activated to find whether there is a calling voice sample that matches the calling voice. In the following embodiments, the voice reference value is represented by a voltage as an example.
启动语音响应功能之后,可以通过启动录音功能或别的方式继续获取外界的呼唤语音,将呼唤语音转换为移动设备能够识别的呼唤语音信号;具体地可以将继续获取的外界的呼唤语音转换为测量电压,进而将测量电压转换为移动设备能够识别的呼唤语音信号。After the voice response function is activated, the calling voice function or other means can be used to continue to obtain the calling voice of the outside world, and the calling voice is converted into a calling voice signal that the mobile device can recognize; specifically, the external calling voice that continues to be acquired can be converted into a measurement. The voltage, in turn, converts the measured voltage into a calling voice signal that the mobile device can recognize.
进行匹配时,通常是查找是否存在与呼唤语音信号的语音特征相匹配的呼唤语音样本。这里所说的相匹配是指与呼唤语音信号的语音特征相似度达到预设的相似度或以上,预设的相似度根据用户需要进行设置,比如85%或75%等,本发明对此不做限制。当存在与呼唤语音相匹配的呼唤语音样本时,进行步骤S103,否则,返回步骤S101继续检测外界的呼唤语音。When matching is performed, it is usually to find whether there is a calling speech sample that matches the speech feature of the calling speech signal. The matching here refers to that the similarity of the speech features of the calling voice signal reaches a preset similarity or above, and the preset similarity is set according to the user's needs, such as 85% or 75%, etc., Make restrictions. When there is a calling voice sample matching the calling voice, step S103 is performed; otherwise, returning to step S101 to continue detecting the calling voice of the outside world.
实际应用过程中,有可能出现喊话到一半的时候才能启动语音响应功能,也就是启动语音响应功能之后可能只能获取到剩下的另一半的呼唤语音,这时则只获取剩下的这一部分呼唤语音并进行转换、匹配。这里的转换包括将获取的呼唤语音转换为测量电压,进而将测量电压转换为移动设备能够识别的呼唤语音信号两个步骤。将外界的呼唤语音对应的测量电压转换为移动设备能够识别的呼唤语音信号以后,在移动设备内寻找是否有与呼唤语音信号的语音特征相匹配的呼唤语音样本。In the actual application process, it is possible to start the voice response function when the call is halfway, that is, after starting the voice response function, the call voice of the other half may be acquired, and only the remaining part is obtained. Calls voice and converts and matches. The conversion here includes two steps of converting the acquired call voice into a measurement voltage, and then converting the measurement voltage into a call voice signal that the mobile device can recognize. After converting the measurement voltage corresponding to the external calling voice into the calling voice signal recognizable by the mobile device, the mobile device searches for a calling voice sample that matches the voice feature of the calling voice signal.
另一方面,还有可能出现在呼唤语音的最后才能启动语音响应功能的情况,由于后续获取的呼唤语音太少有可能无法进行匹配,这时可以不进行响应,也可以通过别的方式,比方设置启动报警声等,提示用户再次发出呼唤语音。On the other hand, there may be cases where the voice response function is activated at the end of the call voice. Since there are too few call voices that are subsequently acquired, there may be no matching. In this case, the response may not be performed, or may be performed by other means, for example. Set the start alarm sound, etc., prompting the user to make a call voice again.
步骤S103:执行预存的与呼唤语音样本对应的响应操作;Step S103: Perform a pre-stored response operation corresponding to the calling voice sample;
当存在与呼唤语音相匹配的呼唤语音样本时,执行预存的与呼唤语音样本对应的响应操作。所做的响应操作可以是播放预存的与呼唤语音样本对应的响应语音或执行与呼唤语音样本相应的动作。When there is a calling speech sample that matches the calling speech, a pre-stored response operation corresponding to the calling speech sample is performed. The response operation may be to play a pre-stored response voice corresponding to the call voice sample or perform an action corresponding to the call voice sample.
比如预存的呼唤语音样本是“亲爱的”,预存的与呼唤语音样本对应的响应操作为播放“我在这儿”的语音。则当外界语音为“亲爱的”时,移动设备播放“我在这儿”的语音。移动设备的主人可以很快找到自己的移动设备。又比如预存的呼唤语音样本为“拨打×××的电话”,相应的响应操作为自动拨打×××的电话。当外界语音为“拨打×××的电话”,则执行拨打×××的电话的动作。For example, the pre-stored call voice sample is "Dear", and the pre-stored response operation corresponding to the call voice sample is the voice playing "I am here." Then when the external voice is "Dear," the mobile device plays the voice "I am here." The owner of the mobile device can quickly find his mobile device. For example, the pre-stored call voice sample is “calling XXX call”, and the corresponding response operation is to automatically dial XXX. When the external voice is "calling a XXX call", the action of dialing the XXX call is performed.
可以理解,本发明实施方式一是通过使移动设备检测来自外界的呼唤语音来启动后面的语音特征匹配流程,进而使移动设备进行预存的与呼唤语音样本相应的响应操作,而不是通过现有技术中按键触发的方式,使移动设备的使用更人性化,更方便,更易用;二是通过感应外界语音强弱变化,只有当外界语音大小达到预设的用于启动语音响应功能的语音参考值时才控制唤醒语音响应功能,实现动态响应,避免长时间开启语音响应功能造成的电量损失,使移动设备的功耗更低。It can be understood that the first embodiment of the present invention activates the following voice feature matching process by causing the mobile device to detect the calling voice from the outside world, so that the mobile device performs the pre-stored response operation corresponding to the calling voice sample, instead of using the prior art. The way the button is triggered makes the use of the mobile device more user-friendly, more convenient, and easier to use; the second is to sense the change of the external voice strength, only when the external voice size reaches the preset voice reference value for starting the voice response function. Only when the wake-up voice response function is controlled, the dynamic response is realized, and the power loss caused by the voice response function is turned on for a long time, so that the power consumption of the mobile device is lower.
此外,移动设备响应用户呼唤的响应方式多样化,给用户生活带来更多的乐趣。In addition, the mobile device responds to the user's call to respond to a variety of ways, bringing more fun to the user's life.
请参阅图2,本发明语音响应方法另一实施方式包括:Referring to FIG. 2, another embodiment of the voice response method of the present invention includes:
步骤S201:设置呼唤语音样本以及与呼唤语音样本对应的响应操作并保存;Step S201: setting a call voice sample and a response operation corresponding to the call voice sample and saving;
在移动设备端设置呼唤语音样本以及与呼唤语音样本对应的响应操作并保存于移动设备内;Setting a calling voice sample and a response operation corresponding to the calling voice sample on the mobile device side and saving the same in the mobile device;
步骤S202:设置用于启动语音响应功能的语音参考值并保存;Step S202: setting a voice reference value for starting the voice response function and saving;
预先设置一个用于启动语音响应功能的语音参考值,这里以电压作为语音参考值为例。假设人喊话的时候电压为350mV,那么可以设置用于启动语音响应功能的电压为350mV,当然,也可以根据用户自己的需求设置用于启动语音响应功能的电压,比如设置低于350mV或者略高于350mV的电压为用于启动语音响应功能的电压。在实际应用过程中,如果移动设备系统本身已经存在默认的用于启动语音响应功能的电压时,则不需要再进行用于启动语音响应功能的电压的设置步骤,直接以移动设备系统默认的用于启动语音响应功能的电压作为用于启动语音响应功能的电压;A voice reference value for starting the voice response function is set in advance, and the voltage is used as a voice reference value. Assuming that the voltage is 350mV when the person utters a call, the voltage for starting the voice response function can be set to 350mV. Of course, the voltage for starting the voice response function can also be set according to the user's own requirements, for example, the setting is lower than 350mV or slightly higher. The voltage at 350 mV is the voltage used to activate the voice response function. In the actual application process, if the mobile device system itself already has a default voltage for starting the voice response function, the setting procedure of the voltage for starting the voice response function is not required, and the mobile device system is directly used by default. The voltage at which the voice response function is activated is used as a voltage for starting the voice response function;
值得说明的是,上述步骤S201和步骤S202的先后顺序可以进行调换,也就是说还可以先设置用于启动语音响应功能的语音参考值并保存后,再设置呼唤语音样本以及与呼唤语音样本对应的响应操作并保存;It should be noted that the sequence of the above steps S201 and S202 can be reversed, that is, the voice reference value for starting the voice response function can be set and saved, and then the calling voice sample is set and corresponding to the calling voice sample. Respond to the operation and save;
步骤S203:检测来自外界的呼唤语音;Step S203: detecting a calling voice from the outside world;
步骤S204:当外界的呼唤语音大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与呼唤语音相匹配的呼唤语音样本;Step S204: When the size of the calling voice of the outside exceeds the preset voice reference value for starting the voice response function, it is searched whether there is a calling voice sample that matches the calling voice;
步骤S205:执行预存的与呼唤语音样本对应的响应操作;Step S205: Perform a pre-stored response operation corresponding to the calling voice sample;
上述方式,通过预先在移动设备内部设置呼唤语音样本以及与呼唤语音样本对应的响应操作,用户可以根据个人喜好对这些参数进行设置,以使语音响应的实现更加个性化,同时响应方式也根据用户的个人设置变得更加灵活多变,给用户更丰富的体验。In the above manner, by setting a call voice sample and a response operation corresponding to the call voice sample in the mobile device in advance, the user can set these parameters according to personal preference, so that the voice response is more personalized, and the response manner is also based on the user. The personal settings have become more flexible and give users a richer experience.
其中,在另一实施方式中,设置呼唤语音样本以及与呼唤语音样本对应的响应操作并保存的具体步骤请参阅图3,如图所示,包括以下子步骤:In another embodiment, the specific steps of setting the calling voice sample and the response operation corresponding to the calling voice sample and saving are as shown in FIG. 3, as shown in the figure, including the following sub-steps:
子步骤S301:接收录制呼唤语音样本的指令;Sub-step S301: receiving an instruction to record a call voice sample;
移动设备接收来自用户操作而产生的录制呼唤语音样本的指令;The mobile device receives an instruction to record a call voice sample generated from a user operation;
子步骤S302:录制一段外界声音作为呼唤语音样本;Sub-step S302: recording an external sound as a call voice sample;
移动设备接收录制呼唤语音样本的指令后,根据指令录制一段外界声音作为呼唤语音样本。呼唤语音样本可以是用户为自己移动设备取的称呼,也可以是别的语音。比如对着移动设备的麦克风喊一声“亲爱的”或者“爱机”等作为呼唤语音样本,也可以是对着移动设备的麦克风喊一声动作指令,比如“拨打×××的电话”等等,在此本发明不对呼唤语音样本的具体形式和内容做限制;After receiving the instruction to record the calling voice sample, the mobile device records an external sound as a call voice sample according to the instruction. The calling voice sample may be a name that the user takes for his mobile device, or may be another voice. For example, shouting "Dear" or "Love Machine" to the microphone of the mobile device as a call sample, or calling a mobile action command to the microphone of the mobile device, such as "calling a XXX call", etc. The present invention does not limit the specific form and content of the calling voice sample;
子步骤S303:输出设置与呼唤语音样本对应的响应操作的提示;Sub-step S303: outputting a prompt to set a response operation corresponding to the calling voice sample;
在呼唤语音样本录制完成后,移动设备输出设置与呼唤语音样本对应的响应操作的提示;After the call voice sample is recorded, the mobile device outputs a prompt for setting a response operation corresponding to the call voice sample;
子步骤S304:接收依据提示而输入的与呼唤语音样本对应的响应操作设置;Sub-step S304: receiving a response operation setting corresponding to the calling voice sample input according to the prompt;
依据子步骤S303输出的设置与呼唤语音样本对应的响应操作的提示而进行输入操作,移动设备接收输入的与呼唤语音样本对应的响应操作设置,响应操作与相应的呼唤语音样本对应,比如呼唤语音样本为“亲爱的”或者“爱机”,响应操作可以设置为“哎”或者“我在这儿”的应答的声音,当然,也可以设置一些撒娇的声音或者一段音乐作为应答的声音;若呼唤语音样本为“拨打×××的电话”这样的动作指令,响应操作可以设置为执行拨打×××的电话等相应的响应动作;The input operation is performed according to the prompt of the response operation corresponding to the call voice sample corresponding to the output of the sub-step S303, and the mobile device receives the input response operation setting corresponding to the call voice sample, and the response operation corresponds to the corresponding call voice sample, such as calling the voice. The sample is "Dear" or "Love Machine", and the response operation can be set to "哎" or "I am here" in response to the sound. Of course, you can also set some spoiled sounds or a piece of music as the answering sound; The voice sample is an action instruction such as “calling a XXX call”, and the response operation may be set to perform a corresponding response action such as dialing a XXX call;
子步骤S305:保存呼唤语音样本以及与呼唤语音样本对应的响应操作设置;Sub-step S305: saving the calling voice sample and the response operation setting corresponding to the calling voice sample;
将录制好的呼唤语音样本以及与呼唤语音样本对应的响应操作设置保存至移动设备,完成设置。The recorded call voice sample and the response operation settings corresponding to the call voice sample are saved to the mobile device to complete the setting.
值得一提的是,上述设置过程只是本发明的设置过程一种实施方式,在实际应用中,录制呼唤语音样本操作与进行与呼唤语音样本对应的响应操作设置并不严格区分先后顺序,也就是说,在接收到录制呼唤语音样本的指令(即上述子步骤S301)后,也可以先进行响应操作设置再进行呼唤语音样本录制。而且,也不一定要呼唤语音样本录制完成以及响应操作设置完成后再进行保存,可以分开保存,即呼唤语音样本录制完成并保存后再进行响应操作设置并保存,或者先进行响应操作设置保存后再进行呼唤语音样本的录制并保存。It is worth mentioning that the above setting process is only an implementation manner of the setting process of the present invention. In practical applications, the recording of the calling voice sample operation and the response operation setting corresponding to the calling voice sample are not strictly distinguished, that is, It is said that after receiving the instruction to record the calling voice sample (ie, the above sub-step S301), the response operation setting may also be performed first to perform the calling voice sample recording. Moreover, it is not necessary to call the voice sample recording completion and the response operation setting is completed and then saved, and can be separately saved, that is, the voice sample recording is completed and saved, and then the response operation setting and saving, or the response operation setting is saved first. Then call the recording of the voice sample and save it.
请参阅图4,为本发明语音响应方法一实施方式的具体应用流程图,本发明的语音响应方法在手机上的应用包括:Please refer to FIG. 4 , which is a specific application flowchart of a voice response method according to an embodiment of the present invention. The voice response method of the present invention is applied to a mobile phone, including:
步骤S401:接收外界的声音;Step S401: receiving an external sound;
手机通过麦克风不断接收外界的声音。The mobile phone continuously receives the sound of the outside world through the microphone.
当然,在此之前,可以先对手机进行系统设置。首先在手机的设置菜单中,设置启动语音响应功能的电压以及设置呼唤语音样本以及与呼唤语音样本对应的响应操作设置并保存在手机上,同时还可以对语音匹配的相似度进行设置并保存。当然,在实际应用过程中,如果手机系统内部已经限定启动语音响应功能的电压时,则不需要重新设置电压,直接以系统默认的电压作为语音响应功能启动的电压。Of course, before this, you can first set up the phone system. First, in the setting menu of the mobile phone, the voltage for starting the voice response function is set, and the calling voice sample and the response operation setting corresponding to the calling voice sample are set and saved on the mobile phone, and the similarity of the voice matching can also be set and saved. Of course, in the actual application process, if the voltage of the voice response function is limited within the mobile phone system, the voltage does not need to be reset, and the default voltage of the system is directly used as the voltage activated by the voice response function.
步骤S402:对声音进行处理;Step S402: processing the sound;
外界声音经手机麦克风之后,可以转换为外界声音对应的测量电压或测量电流。After the external sound passes through the mobile phone microphone, it can be converted into the measured voltage or measured current corresponding to the external sound.
将外界声音对应的测量电压发送给电压比较器进行比较。The measured voltage corresponding to the external sound is sent to the voltage comparator for comparison.
步骤S403:进行电压比较;Step S403: performing voltage comparison;
手机通过内部的电压比较器将由外界声音转换后的测量电压与预先设置的用于启动语音响应功能的电压或系统默认的启动语音响应功能的电压进行比较。如果测量电压超过预设的用于启动语音响应功能启动语音响应功能的电压,则执行步骤S404,如果测量电压没有超过预设的用于启动语音响应功能启动语音响应功能的电压,则执行步骤S406;The mobile phone compares the measured voltage converted by the external sound with a preset voltage for starting the voice response function or the system's default starting voice response function through an internal voltage comparator. If the measured voltage exceeds a preset voltage for starting the voice response function to start the voice response function, step S404 is performed, and if the measured voltage does not exceed the preset voltage for starting the voice response function to start the voice response function, step S406 is performed. ;
步骤S404:启动语音响应功能,进行语音匹配;Step S404: Start a voice response function, and perform voice matching;
当测量电压超过预设的用于启动语音响应功能的电压时,启动语音响应功能,继续接收外界声音并转换为手机能够识别的声音信号,在手机内寻找与声音信号相匹配的语音样本。在启动语音响应功能之后,可以停止进行电压比较以节省电量;When the measured voltage exceeds the preset voltage for starting the voice response function, the voice response function is activated, and the external sound is continuously received and converted into a sound signal recognizable by the mobile phone, and the voice sample matching the sound signal is searched in the mobile phone. After the voice response function is activated, the voltage comparison can be stopped to save power;
步骤S405:若找到相似度达到85%以上的语音样本,则执行与语音样本对应的响应操作,否则,不执行响应操作;Step S405: If a speech sample whose similarity reaches 85% or more is found, a response operation corresponding to the speech sample is performed, otherwise, the response operation is not performed;
步骤S406:不执行操作;Step S406: No operation is performed;
当测量电压没有超过预设的用于启动语音响应功能的电压时,不执行操作,比如手机如果原来处于待机状态则继续处于待机状态,并继续接收外界声音。When the measured voltage does not exceed the preset voltage for starting the voice response function, no operation is performed. For example, if the mobile phone is in the standby state, it continues to be in the standby state and continues to receive the external sound.
通过以上方式,使得移动设备不需要按键触发实现语音响应,使移动设备的使用更人性化、更方便、更易用。例如,用户可以预先设置“亲爱的”作为呼唤语音样本,对应的响应应答为“亲爱的,我在这里”。当有人呼喊“亲爱的”,移动设备便会应答“亲爱的,我在这里”,非常人性化;尤其是在日常生活中,一个人在家,经常会忘记自己的电话放哪,又没有别的手机可以拨打自己的电话,这时,只要大声喊出预设的呼唤语音,电话便会自动启动语音响应,做一个相应的应答或播放一段预设的响应音乐,能使用户快速的找到自己的电话;又例如,手机用户可以设置“打电话给张三”作为呼唤语音样本,对应的响应设置为直接拨打张三的电话,只要用户对着自己的手机喊“打电话给张三”,手机便自动拨打张三的电话,非常方便,尤其是给那些看不清键盘或不会用手机通讯录拨打电话的用户提供了便利。In the above manner, the mobile device does not require a button to trigger a voice response, making the use of the mobile device more user-friendly, more convenient, and easier to use. For example, the user can pre-set "Dear" as a call voice sample, and the corresponding response response is "Dear, I am here." When someone shouts "Dear," the mobile device will answer "Dear, I am here", very human; especially in daily life, when a person is at home, he often forgets where his phone is placed, and nothing else. The mobile phone can make a call to its own phone. At this time, as long as the default call voice is shouted out loudly, the phone will automatically initiate a voice response, make a corresponding response or play a preset response music, enabling the user to quickly find their own voice. Telephone; for example, the mobile phone user can set "call Zhang San" as the call voice sample, and the corresponding response is set to directly call Zhang San's phone, as long as the user shouts "call Zhang San" to his mobile phone, the mobile phone It is very convenient to automatically dial the phone number of Zhang San, especially for those who can't see the keyboard or call the phone address book.
请参阅图5,本发明移动设备一实施方式的原理框图,移动设备包括检测模块51、查找模块52以及响应模块53,其中:Referring to FIG. 5, a schematic block diagram of an embodiment of a mobile device according to the present invention includes a detection module 51, a lookup module 52, and a response module 53, wherein:
检测模块51用于检测来自外界的呼唤语音;The detecting module 51 is configured to detect a calling voice from the outside;
通过检测模块51不断的检测外界的呼唤语音。The calling voice of the outside world is continuously detected by the detecting module 51.
查找模块52用于当外界的呼唤语音大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与呼唤语音相匹配的呼唤语音样本;The searching module 52 is configured to: when the calling voice size of the outside world exceeds a preset voice reference value for starting the voice response function, whether there is a calling voice sample that matches the calling voice;
当外界的呼唤语音大小超过预设的用于启动语音响应功能的语音参考值时,通过查找模块52查找是否存在与呼唤语音相匹配的呼唤语音样本,并将查询结果输出给响应模块53。When the external call voice size exceeds the preset voice reference value for starting the voice response function, the search module 52 searches for whether there is a call voice sample matching the call voice, and outputs the query result to the response module 53.
这里预设的用于启动语音响应功能的语音参考值是预先设置的用于启动语音响应功能的参考值,参考值可以用是电压或电流表示。当外界的呼唤语音大小超过预设的用于启动语音响应功能的语音参考值时,则启动语音响应功能,通过查找模块52查找是否存在与呼唤语音相匹配的呼唤语音样本。The voice reference value preset here for starting the voice response function is a preset reference value for starting the voice response function, and the reference value can be expressed by voltage or current. When the external call voice size exceeds the preset voice reference value for starting the voice response function, the voice response function is activated, and the search module 52 searches for whether there is a call voice sample matching the call voice.
响应模块53用于当查找模块52找到与呼唤语音样本相匹配的呼唤语音样本时,执行预存的与所述呼唤语音样本对应的响应操作。The response module 53 is configured to perform a pre-stored response operation corresponding to the call voice sample when the lookup module 52 finds a call voice sample that matches the call voice sample.
当存在与呼唤语音相匹配的呼唤语音样本时,响应模块53执行预存的与呼唤语音样本对应的响应操作。所做的响应操作可以是播放预存的与呼唤语音样本对应的响应语音或执行与呼唤语音样本相应的动作。When there is a call voice sample that matches the call voice, the response module 53 performs a pre-stored response operation corresponding to the call voice sample. The response operation may be to play a pre-stored response voice corresponding to the call voice sample or perform an action corresponding to the call voice sample.
比如预存的呼唤语音样本是“亲爱的”,预存的与呼唤语音样本对应的响应操作为播放“我在这儿”的语音。则当外界语音为“亲爱的”时,移动设备播放“我在这儿”的语音。移动设备的主人可以很快找到自己的移动设备。又比如预存的呼唤语音样本为“拨打×××的电话”,相应的响应操作为自动拨打×××的电话。当外界语音为“拨打×××的电话”,则执行拨打×××的电话的动作。For example, the pre-stored call voice sample is "Dear", and the pre-stored response operation corresponding to the call voice sample is the voice playing "I am here." Then when the external voice is "Dear," the mobile device plays the voice "I am here." The owner of the mobile device can quickly find his mobile device. For example, the pre-stored call voice sample is “calling XXX call”, and the corresponding response operation is to automatically dial XXX. When the external voice is "calling a XXX call", the action of dialing the XXX call is performed.
请继续参阅图5,本发明移动设备另一实施方式中,还包括第一转换模块54以及判断模块55,其中:Referring to FIG. 5, another embodiment of the mobile device of the present invention further includes a first conversion module 54 and a determination module 55, wherein:
判断模块55用于判断外界的呼唤语音大小是否超过预设的用于启动语音响应功能的语音参考值;The determining module 55 is configured to determine whether the size of the calling voice of the outside world exceeds a preset voice reference value for starting the voice response function;
判断模块55具体用于判断外界的呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流。The determining module 55 is specifically configured to determine whether the measured voltage or the measured current corresponding to the external calling voice exceeds a preset voltage or current for starting the voice response function.
第一转换模块54用于从检测模块51获取外界的呼唤语音,并将外界的呼唤语音转换为相应的测量电压或测量电流,并将呼唤语音相应的测量电压或测量电流发送给判断模块55;本实施例中以将外界的呼唤语音转换为相应的测量电压为例说明。The first conversion module 54 is configured to acquire the external call voice from the detection module 51, and convert the external call voice into a corresponding measurement voltage or measurement current, and send the corresponding measurement voltage or measurement current of the call voice to the determination module 55; In this embodiment, an example is described in which the external calling voice is converted into a corresponding measured voltage.
第一转换模块54获取外界的呼唤语音,将呼唤语音转换为相应的测量电压,将呼唤语音相应的测量电压发送给判断模块55进行判断。The first conversion module 54 acquires the calling voice of the outside world, converts the calling voice into a corresponding measurement voltage, and sends the corresponding measurement voltage of the calling voice to the determining module 55 for determination.
判断模块55具体用于判断呼唤语音对应的测量电压是否超过预设的用于启动语音响应功能的电压,并将判断结果输出给查找模块52;The determining module 55 is specifically configured to determine whether the measured voltage corresponding to the calling voice exceeds a preset voltage for starting the voice response function, and outputs the determination result to the searching module 52;
判断模块55接收经第一转换模块54转换得到的呼唤语音对应的测量电压,并判断呼唤语音对应的测量电压是否超过预设的用于启动语音响应功能启动语音响应功能的电压。当呼唤语音对应的测量电压超过预设的用于启动语音响应功能启动语音响应功能的电压时,通知查找模块52进行查找与呼唤语音相匹配的呼唤语音样本。The determining module 55 receives the measured voltage corresponding to the calling voice converted by the first converting module 54 and determines whether the measured voltage corresponding to the calling voice exceeds a preset voltage for starting the voice response function to activate the voice response function. When the measured voltage corresponding to the calling voice exceeds a preset voltage for starting the voice response function to initiate the voice response function, the notification finding module 52 searches for a calling voice sample that matches the calling voice.
请继续参阅图5,本发明移动设备另一实施方式中,还包括第二转化模块56,用于将呼唤语音转换为移动设备能够识别的呼唤语音信号,具体地可以将将呼唤语音相应的测量电压转换为移动设备能够识别的呼唤语音信号。Referring to FIG. 5, in another embodiment of the mobile device of the present invention, a second conversion module 56 is further configured to convert the calling voice into a calling voice signal that can be recognized by the mobile device, and specifically, the corresponding voice of the calling voice can be measured. The voltage is converted to a calling voice signal that the mobile device can recognize.
当判断模块55的判断结果为呼唤语音对应的测量电压超过预设的用于启动语音响应功能的电压时,将呼唤语音对应的测量电压发送给第二转换模块56。第二转换模块56将呼唤语音相应的测量电压转换为移动设备能够识别的呼唤语音信号,并将转换得到的呼唤语音信号输出给查找模块52。When the determination result of the judgment module 55 is that the measured voltage corresponding to the calling voice exceeds the preset voltage for starting the voice response function, the measurement voltage corresponding to the calling voice is sent to the second conversion module 56. The second conversion module 56 converts the measured voltage corresponding to the calling voice into a calling voice signal recognizable by the mobile device, and outputs the converted calling voice signal to the searching module 52.
查找模块52具体用于查找是否存在与呼唤语音信号相匹配的呼唤语音样本。即查找是否有与呼唤语音信号的语音特征相似度达到预设的相似度的呼唤语音样本,并将查找结果输出给所述响应模块53。The searching module 52 is specifically configured to find whether there is a calling voice sample that matches the calling voice signal. That is, it is found whether there is a call voice sample whose similarity with the voice feature of the calling voice signal reaches a preset similarity, and outputs the search result to the response module 53.
这里所说的相匹配是指与呼唤语音信号的语音特征相似度达到预设的相似度或以上,预设的相似度根据用户需要进行设置,比如85%或75%等,本发明对此不做限制。The matching here refers to that the similarity of the speech features of the calling voice signal reaches a preset similarity or above, and the preset similarity is set according to the user's needs, such as 85% or 75%, etc., Make restrictions.
请继续参阅图5,本发明移动设备另一实施方式中,还包括设置模块57,用于设置呼唤语音样本以及与呼唤语音样本对应的响应操作并保存。Referring to FIG. 5, another embodiment of the mobile device of the present invention further includes a setting module 57, configured to set a call voice sample and a response operation corresponding to the call voice sample and save.
设置模块57可以用于设置呼唤语音样本以及与呼唤语音样本对应的响应操作并保存。另一方面,设置模块57还可以用于设置用于启动语音响应功能的语音参考值并保存。The setting module 57 can be configured to set a call voice sample and a response operation corresponding to the call voice sample and save. On the other hand, the setting module 57 can also be used to set and save the voice reference value for starting the voice response function.
通过设置模块57预先在移动设备上进行语音响应的相关设置,包括对呼唤语音样本以及与呼唤语音样本对应的响应操作设置,以及设置用于启动语音响应功能的语音参考值。比如在移动设备系统没有限定启动语音响应功能的额定电压时,设置一电压阈值作为启动语音响应功能的语音参考值。另外,在实际应用中设置模块57还可以用于设置或调整外界语音与预设呼唤语音样本进行匹配时的相似度等。The related settings of the voice response are previously performed on the mobile device by the setting module 57, including the response voice setting corresponding to the calling voice sample and the calling voice sample, and the voice reference value for starting the voice response function. For example, when the mobile device system does not limit the rated voltage for starting the voice response function, a voltage threshold is set as the voice reference value for starting the voice response function. In addition, in the actual application, the setting module 57 can also be used to set or adjust the similarity between the external voice and the preset calling voice sample, and the like.
请参阅图6,为本发明语音响应系统另一实施方式中设置模块的原理框图,设置模块600包括指令接收单元61、语音录制单元62、提示单元63、响应设置单元64以及保存单元65,其中:6 is a schematic block diagram of a setting module in another embodiment of a voice response system according to the present invention. The setting module 600 includes an instruction receiving unit 61, a voice recording unit 62, a prompting unit 63, a response setting unit 64, and a saving unit 65, wherein :
指令接收单元61用于接收录制呼唤语音样本的指令;The instruction receiving unit 61 is configured to receive an instruction to record a call voice sample;
通过指令接收单元61接收来自用户操作而产生的录制呼唤语音样本的指令。An instruction to record a call voice sample generated from a user operation is received by the command receiving unit 61.
语音录制单元62用于根据指令接收单元61的录制呼唤语音样本的指令,录制一段外界的声音作为呼唤语音样本;
The voice recording unit 62 is configured to record an external voice as a call voice sample according to an instruction of the instruction receiving unit 61 to record a voice sample;
语音录制单元62根据录制呼唤语音样本的指令,录制一段外界声音作为呼唤语音样本。呼唤语音样本可以是用户为自己移动设备取的称呼,也可以是别的语音。比如对着移动设备的麦克风喊一声“亲爱的”或者“爱机”等作为呼唤语音样本,也可以是对着移动设备的麦克风喊一声动作指令,比如“拨打×××的电话”等等,在此本发明不对呼唤语音样本的具体形式和内容做限制。The voice recording unit 62 records an external sound as a call voice sample according to an instruction to record a call voice sample. The calling voice sample may be a name that the user takes for his mobile device, or may be another voice. For example, shouting "Dear" or "Love Machine" to the microphone of the mobile device as a call sample, or calling a mobile action command to the microphone of the mobile device, such as "calling a XXX call", etc. The present invention does not limit the specific form and content of the calling speech sample.
提示单元63用于在语音录制单元62完成呼唤语音样本录制后,输出设置与呼唤语音样本对应的响应操作的提示;The prompting unit 63 is configured to output a prompt for setting a response operation corresponding to the calling voice sample after the voice recording unit 62 completes the calling voice sample recording;
在呼唤语音样本录制完成后,提示单元63输出设置与呼唤语音样本对应的响应操作的提示。After the call voice sample recording is completed, the prompting unit 63 outputs a prompt to set a response operation corresponding to the call voice sample.
响应设置单元64接收依据提示单元63输出的提示而输入的与呼唤语音样本对应的响应操作设置;The response setting unit 64 receives the response operation setting corresponding to the calling voice sample input according to the prompt output by the prompting unit 63;
响应设置单元64依据提示单元63输出的设置与呼唤语音样本对应的响应操作的提示,接收输入的与呼唤语音样本对应的响应操作设置,响应操作与相应的呼唤语音样本对应,比如呼唤语音样本为“亲爱的”或者“爱机”,响应操作可以设置为“哎”或者“我在这儿”的应答的声音,当然,也可以设置一些撒娇的声音或者一段音乐作为应答的声音;若呼唤语音样本为“拨打×××的电话”这样的动作指令,响应操作可以设置为执行拨打×××的电话等相应的响应动作。The response setting unit 64 receives the input response operation setting corresponding to the calling voice sample according to the prompt of the response operation corresponding to the calling voice sample, and the response operation corresponds to the corresponding calling voice sample, for example, calling the voice sample is "Dear" or "Love Machine", the response operation can be set to "哎" or "I am here" in response to the sound, of course, you can also set some spoiled sounds or a piece of music as a response sound; if you call a voice sample In response to an action command such as "calling a call of XXX", the response operation can be set to perform a corresponding response action such as a call to dial XXX.
保存单元65用于保存语音录制单元62录制的呼唤语音样本以及保存响应设置单元64输入的与呼唤语音样本对应的响应操作设置。The saving unit 65 is configured to save the call voice sample recorded by the voice recording unit 62 and the response operation setting corresponding to the call voice sample input by the save response setting unit 64.
保存单元65将录制好的呼唤语音样本以及与呼唤语音样本对应的响应操作设置保存,完成设置。The saving unit 65 saves the recorded call voice sample and the response operation setting corresponding to the call voice sample to complete the setting.
值得一提的是,上述设置过程只是本发明的设置过程一种实施方式,在实际应用中,录制呼唤语音样本操作与进行与呼唤语音样本对应的响应操作设置并不严格区分先后顺序,也就是说,在接收到录制呼唤语音样本的指令后,也可以先进行响应操作设置再进行呼唤语音样本录制。而且,保存单元65也不一定要呼唤语音样本录制完成以及响应操作设置完成后再进行保存,可以分开保存,即呼唤语音样本录制完成并保存后再进行响应操作设置并保存,或者先进行响应操作设置保存后再进行呼唤语音样本的录制并保存。It is worth mentioning that the above setting process is only an implementation manner of the setting process of the present invention. In practical applications, the recording of the calling voice sample operation and the response operation setting corresponding to the calling voice sample are not strictly distinguished, that is, It is said that after receiving the instruction to record the calling voice sample, the response operation setting may also be performed first to perform the calling voice sample recording. Moreover, the saving unit 65 does not have to call the voice sample to complete the recording and save the response operation after the setting is completed, and can be saved separately, that is, the voice sample is recorded and saved, and then the response operation is set and saved, or the response operation is performed first. After the setting is saved, the recording of the calling voice sample is performed and saved.
请参阅图7,为本发明移动设备一实施方式的结构示意图,移动设备700包括处理器701以及与处理器701相连接的存储器702、开关电路705以及A/D转换电路704,还包括声音拾取电路703,声音拾取电路703分别与开关电路705电连接:FIG. 7 is a schematic structural diagram of an embodiment of a mobile device according to the present invention. The mobile device 700 includes a processor 701, a memory 702 connected to the processor 701, a switch circuit 705, and an A/D conversion circuit 704, and further includes sound pickup. The circuit 703, the sound pickup circuit 703 is electrically connected to the switch circuit 705:
存储器702中存储有呼唤语音样本和呼唤语音样本对应的响应操作设置。A response operation setting corresponding to the calling voice sample and the calling voice sample is stored in the memory 702.
声音拾取电路703用于检测来自外界的呼唤语音,将其转换为相应的测量电压,并向开关电路705发送测量电压;The sound pickup circuit 703 is configured to detect a call voice from the outside, convert it into a corresponding measurement voltage, and send the measurement voltage to the switch circuit 705;
开关电路705用于接收测量电压,判断测量电压是否超过预设的用于启动语音响应功能的电压,当测量电压超过预设的用于启动语音响应功能的电压时,通知处理器701启动语音响应功能,并将测量电压发送给A/D转换电路704;The switch circuit 705 is configured to receive the measured voltage, determine whether the measured voltage exceeds a preset voltage for starting the voice response function, and notify the processor 701 to initiate a voice response when the measured voltage exceeds a preset voltage for starting the voice response function. Function, and send the measured voltage to the A/D conversion circuit 704;
A/D转换电路704用于当测量电压超过预设的用于启动语音响应功能的电压时,将测量电压转换为移动设备能够识别的呼唤语音信号,并向处理器701发送呼唤语音信号;The A/D conversion circuit 704 is configured to convert the measurement voltage into a call voice signal recognizable by the mobile device when the measured voltage exceeds a preset voltage for starting the voice response function, and send the call voice signal to the processor 701;
处理器701用于接收开关电路705的通知,启动语音响应功能,并从A/D转换电路704获取呼唤语音信号,在存储器702中寻找是否有与呼唤语音信号的语音特征相匹配的呼唤语音样本,当有与呼唤语音信号相匹配的呼唤语音样本时,控制进行预存的与呼唤语音样本对应的响应操作。The processor 701 is configured to receive the notification of the switch circuit 705, activate a voice response function, and acquire a call voice signal from the A/D conversion circuit 704, and search the memory 702 for a call voice sample that matches the voice feature of the call voice signal. When there is a call voice sample matching the calling voice signal, the pre-stored response operation corresponding to the calling voice sample is controlled.
请继续参阅图7,本发明的移动设备实施方式的开关电路705包括分压电路72以及电压比较器71,其中:分压电路72与电压比较器71电连接,将用于启动语音响应功能的电压输出给电压比较器71;分压电路72可进一步包括第一电阻和第二电阻(如图8的电阻R1和R2),第一电阻与第二电阻串联,其中第一电阻的一端与电压源电连接,另一端与第二电阻的一端电连接,第二电阻的另一端接地,用于对来自电压源的电压进行分配。第一电阻与第二电阻之间连接电压比较器71,同时在第一电阻与第二电阻之间产生用于启动语音响应功能的电压。Referring to FIG. 7, the switching circuit 705 of the mobile device embodiment of the present invention includes a voltage dividing circuit 72 and a voltage comparator 71, wherein the voltage dividing circuit 72 is electrically connected to the voltage comparator 71 and will be used to activate the voice response function. The voltage is output to the voltage comparator 71; the voltage dividing circuit 72 may further include a first resistor and a second resistor (such as the resistors R1 and R2 of FIG. 8), the first resistor and the second resistor being connected in series, wherein one end of the first resistor and the voltage The source is electrically connected, the other end is electrically connected to one end of the second resistor, and the other end of the second resistor is grounded for distributing the voltage from the voltage source. A voltage comparator 71 is connected between the first resistor and the second resistor, and a voltage for initiating a voice response function is generated between the first resistor and the second resistor.
所述电压比较器71包括:The voltage comparator 71 includes:
第一端口,与分压电路72电连接,用于接收所述分压电路72在第一端口处输出的用于启动语音响应功能的电压并输入电压比较器71;The first port is electrically connected to the voltage dividing circuit 72 for receiving a voltage output by the voltage dividing circuit 72 at the first port for starting the voice response function and inputting the voltage comparator 71;
第二端口,与声音拾取电路703电连接,用于接收由外界语音转换得到的测量电压并输入电压比较器71;The second port is electrically connected to the sound pickup circuit 703 for receiving the measured voltage obtained by the external voice conversion and input to the voltage comparator 71;
第三端口,与所述处理器701电连接,用于输出所述用于启动语音响应功能的电压与所述测量电压经电压比较器71对比后的对比结果。The third port is electrically connected to the processor 701 for outputting a comparison result between the voltage for starting the voice response function and the measured voltage being compared by the voltage comparator 71.
请参阅图8,为本发明一种移动设备一实施方式的具体应用的电路图,具体如下:Please refer to FIG. 8 , which is a circuit diagram of a specific application of an embodiment of a mobile device according to the present invention, which is specifically as follows:
本实施方式中移动设备为手机,手机包括声音拾取电路83、分压电路80、电压比较器81、A/D转换电路82以及主芯片84,存储器85:In this embodiment, the mobile device is a mobile phone, and the mobile phone includes a sound pickup circuit 83, a voltage dividing circuit 80, a voltage comparator 81, an A/D conversion circuit 82, and a main chip 84. The memory 85:
其中,主芯片84是上述移动设备实施方式的处理器的具体应用,分压电路80和电压比较器81共同组成上述移动设备实施方式的开关电路的具体应用。The main chip 84 is a specific application of the processor of the mobile device embodiment, and the voltage dividing circuit 80 and the voltage comparator 81 together constitute a specific application of the switching circuit of the mobile device embodiment.
其中,声音拾取电路83包括麦克风801和静电装置802,麦克风801检测来自外界的声音,静电装置802将外界的声音转换为测量电压。Among them, the sound pickup circuit 83 includes a microphone 801 that detects sound from the outside, and an electrostatic device 802 that converts the external sound into a measured voltage.
分压电路80进一步包括第一电阻807和第二电阻808,第一电阻807与第二电阻808串联,其中第一电阻807的一端与电压源电连接,另一端与第二电阻808的一端电连接,第二电阻808的另一端接地,用于对来自电压源的电压进行分配;第一电阻807与第二电阻808之间连接电压比较器81,同时在第一电阻807与第二电阻808之间产生用于启动语音响应功能的电压。The voltage dividing circuit 80 further includes a first resistor 807 and a second resistor 808. The first resistor 807 is connected in series with the second resistor 808. One end of the first resistor 807 is electrically connected to the voltage source, and the other end is electrically connected to one end of the second resistor 808. Connected, the other end of the second resistor 808 is grounded for distributing the voltage from the voltage source; the voltage resistor 81 is connected between the first resistor 807 and the second resistor 808, and the first resistor 807 and the second resistor 808 are simultaneously connected. A voltage is generated between the functions for initiating the voice response function.
电压比较器81进一步包括第一端口804,与分压电路80在第一电阻807和第二电阻808之间电连接,用于接收分压电路80在第一电阻807与第二电阻808之间产生用于启动语音响应功能的电压并输入电压比较器81;第二端口803,与静电装置802的一端电连接,用于接收由外界语音转换得到的测量电压并输入电压比较器81;第三端口806,与主芯片84电连接,用于当测量电压超过预设的用于启动语音响应功能的电压时,通知主芯片84,具体地可以通过高电平或者低电平通知主芯片84;第四端口805,与A/D转换电路82电连接,用于当测量电压超过预设的用于启动语音响应功能的电压时,将测量电压输出给A/D转换电路82;The voltage comparator 81 further includes a first port 804 electrically coupled to the voltage dividing circuit 80 between the first resistor 807 and the second resistor 808 for receiving the voltage dividing circuit 80 between the first resistor 807 and the second resistor 808. Generating a voltage for initiating the voice response function and inputting the voltage comparator 81; the second port 803 is electrically connected to one end of the electrostatic device 802 for receiving the measured voltage converted by the external voice and inputting the voltage comparator 81; The port 806 is electrically connected to the main chip 84, and is configured to notify the main chip 84 when the measured voltage exceeds a preset voltage for starting the voice response function, and specifically can notify the main chip 84 by a high level or a low level; The fourth port 805 is electrically connected to the A/D conversion circuit 82 for outputting the measured voltage to the A/D conversion circuit 82 when the measured voltage exceeds a preset voltage for activating the voice response function;
麦克风801与静电装置802的一端电连接,将检测到的外界语音传输给静电装置802;静电装置802的另一端与电压比较器81通过第二端口803电连接,将由外界语音转换而得到的测量电压输出给电压比较器81。The microphone 801 is electrically connected to one end of the electrostatic device 802, and transmits the detected external voice to the electrostatic device 802. The other end of the electrostatic device 802 is electrically connected to the voltage comparator 81 through the second port 803 to measure the external voice. The voltage is output to the voltage comparator 81.
A/D转换电路82一端与电压比较器81电连接,另一端与主芯片84电连接,用于当测量电压超过预设的用于启动语音响应功能的电压时,将测量电压转换为移动设备能够识别的呼唤语音信号,并向主芯片84发送呼唤语音信号。One end of the A/D conversion circuit 82 is electrically connected to the voltage comparator 81, and the other end is electrically connected to the main chip 84 for converting the measurement voltage into a mobile device when the measured voltage exceeds a preset voltage for starting the voice response function. The identifiable call voice signal is sent to the master chip 84.
存储器85中存储有呼唤语音样本和呼唤语音样本对应的响应操作设置。A response operation setting corresponding to the calling voice sample and the calling voice sample is stored in the memory 85.
各组成部分通过以下方式工作:The components work in the following ways:
手机的麦克风801接收外界的声音,静电装置802将声音转换为测量电压后,由外界声音转换得到的电压V1通过静电装置802经由第二端口803输入电压比较器81;分压电路80包括第一电阻807和第二电阻808两个电阻,由两个电阻分压后,在两个电阻之间产生电压V2,V2作为启动语音响应功能的电压。V2经由第一端口804输入电压比较器81;电压比较器81将电压V1和V2进行对比,当V1大于V2时,由第三端口806通知主芯片84进行处理。The microphone 801 of the mobile phone receives the external sound, and after the electrostatic device 802 converts the sound into the measured voltage, the voltage V1 converted by the external sound is input to the voltage comparator 81 via the second port 803 through the electrostatic device 802; the voltage dividing circuit 80 includes the first The two resistors, the resistor 807 and the second resistor 808, are divided by two resistors to generate a voltage V2 between the two resistors, and V2 is used as a voltage for starting the voice response function. V2 is input to the voltage comparator 81 via the first port 804; the voltage comparator 81 compares the voltages V1 and V2, and when V1 is greater than V2, the third port 806 notifies the main chip 84 to perform processing.
主芯片84用于接收第三端口806的通知,启动语音响应功能,并从A/D转换电路82获取呼唤语音信号,在存储器85中寻找是否有与呼唤语音信号的语音特征相匹配的呼唤语音样本,当有与呼唤语音信号相匹配的呼唤语音样本时,控制进行预存的与呼唤语音样本对应的响应操作。The main chip 84 is configured to receive the notification of the third port 806, activate the voice response function, and acquire the calling voice signal from the A/D conversion circuit 82, and look in the memory 85 for whether there is a calling voice that matches the voice feature of the calling voice signal. The sample, when there is a call voice sample matching the calling voice signal, controls the pre-stored response operation corresponding to the calling voice sample.
通过以上方式,在手机原有的电路设计上,增设一个分压电路以及与分压电路连接的电压比较器,即能实现手机动态语音响应功能。一般而言,人喊话时产生的电压V1约为350mV(人说话时大概是200mV),因此,设计电路时,可以控制分压电路分压产生的电压V2为350mV作为启动语音响应功能的电压。当然,在实际应用时,要根据麦克风的实际参数进行计算,控制电压V2的电压。一旦外界的语音产生的电压超过这个分压产生的电压V2时,便唤醒手机内部的语音响应功能。Through the above method, in the original circuit design of the mobile phone, a voltage dividing circuit and a voltage comparator connected to the voltage dividing circuit are added, that is, the dynamic voice response function of the mobile phone can be realized. In general, the voltage V1 generated when a person utters a call is about 350 mV (about 200 mV when a person speaks). Therefore, when designing a circuit, the voltage V2 generated by the voltage division of the voltage dividing circuit can be controlled to be 350 mV as a voltage for starting the voice response function. Of course, in practical applications, the voltage of the voltage V2 is controlled according to the actual parameters of the microphone. Once the voltage generated by the external voice exceeds the voltage V2 generated by this voltage division, the internal voice response function of the mobile phone is awakened.
另一方面,当周围没有外界语音时,分压电路的耗电通过电路设计几乎可以降低到0;当有外界语音,但是外界语音不足以唤醒语音响应功能时,分压电路耗电大约只有0.1-0.2mA,并且通过电路优化设计这个耗电量可以进一步的降低,对待机的影响很小。通过这种方式感应外界语音强弱变化,只有当外界语音转换后的电压达到预设的用于启动语音响应功能的电压时才通知主芯片启动语音响应功能,避免长时间开启语音响应功能造成的电量损失,使手机更人性化,更方便,更易用。同时,增设的分压电路以及分压器所采用的都是常用部件,制造成本低。On the other hand, when there is no external voice around, the power consumption of the voltage divider circuit can be reduced to 0 by the circuit design; when there is external voice, but the external voice is not enough to wake up the voice response function, the voltage divider circuit consumes only about 0.1. -0.2mA, and this power consumption can be further reduced by circuit optimization design, with little impact on standby. In this way, the external voice strength and weakness are sensed. Only when the voltage after the external voice conversion reaches the preset voltage for starting the voice response function, the main chip is notified to start the voice response function, thereby avoiding the long-time activation of the voice response function. The loss of power makes the phone more user-friendly, more convenient and easier to use. At the same time, the added voltage dividing circuit and the voltage divider are all commonly used components, and the manufacturing cost is low.
通过上述实施方式的描述,本发明相对于现有技术,具有以下优点:一方面通过使移动设备检测来自外界的呼唤语音来启动后面的语音特征匹配流程,进而使移动设备进行预存的与呼唤语音样本相应的响应操作,而不是通过现有技术中按键触发的方式,使移动设备的使用更人性化,更方便,更易用;另一方面,通过感应外界语音强弱变化,只有当外界语音转换后的电压达到预设的用于启动语音响应功能的电压时才控制唤醒语音响应功能,实现动态响应,避免长时间开启语音响应功能造成的电量损失,使移动设备的功耗更低。而且,移动设备响应用户呼唤的响应方式多样化,给用户更加丰富的体验。With the description of the foregoing embodiments, the present invention has the following advantages over the prior art: on the one hand, the mobile device detects the calling voice from the outside to initiate the following voice feature matching process, thereby enabling the mobile device to perform pre-stored and called voices. The corresponding response operation of the sample, instead of the triggering method in the prior art, makes the use of the mobile device more humanized, more convenient, and easier to use; on the other hand, by sensing the change of external voice strength, only when the external voice is converted When the voltage reaches the preset voltage for starting the voice response function, the wake-up voice response function is controlled to achieve dynamic response, and the power loss caused by the long-time voice response function is avoided, so that the power consumption of the mobile device is lower. Moreover, the response mode of the mobile device in response to the user's call is diversified, giving the user a richer experience.
另外,本发明的语音响应的方法的实施方式,只需要在原有移动设备的基础上增设一个分压电路以及电压比较器就能实现,增设的分压电路以及电压比较器所采用的都是常用部件,制造成本低,可能的实现方式简单。当外界语音不足以唤醒语音响应功能时,该部分电路几乎不工作
,消耗电量少,对移动设备的待机时间没有影响。In addition, the implementation method of the voice response method of the present invention only needs to add a voltage dividing circuit and a voltage comparator on the basis of the original mobile device, and the added voltage dividing circuit and the voltage comparator are commonly used. Parts, low manufacturing costs, and possible implementation are simple. When the external voice is not enough to wake up the voice response function, the part of the circuit hardly works.
The power consumption is small, and has no effect on the standby time of the mobile device.
在本发明所提供的几个实施方式中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device implementations described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
另外,在本发明各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only
Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only)
Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.
以上所述仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施方式对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施方式技术方案的精神和范围。The above description is only for explaining the technical solutions of the present invention, and is not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that The technical solutions are described as being modified, or equivalents are replaced by some of the technical features; and the modifications or alternatives do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (20)
- 一种语音响应的方法,其特征在于,包括:A method for voice response, comprising:检测来自外界的呼唤语音;Detecting the calling voice from the outside world;当所述外界的呼唤语音的大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与所述呼唤语音相匹配的呼唤语音样本;When the size of the external calling voice exceeds a preset voice reference value for starting the voice response function, searching for whether there is a calling voice sample matching the calling voice;若存在与所述呼唤语音样本相匹配的呼唤语音样本,则执行预存的与所述呼唤语音样本对应的响应操作。If there is a call voice sample that matches the call voice sample, a pre-stored response operation corresponding to the call voice sample is performed.
- 根据权利要求1所述的方法,其特征在于,所述检测来自外界的呼唤语音的步骤之后,所述当所述外界的呼唤语音的大小超过预设的用于启动语音响应功能的语音参考值时,查找是否存在与所述呼唤语音相匹配的呼唤语音样本之前,还包括:判断所述呼唤语音的大小是否超过预设的用于启动语音响应功能的语音参考值。The method according to claim 1, wherein after the step of detecting a call voice from the outside, the size of the call voice of the outside world exceeds a preset voice reference value for starting a voice response function Before finding whether there is a calling voice sample matching the calling voice, the method further includes: determining whether the size of the calling voice exceeds a preset voice reference value for starting the voice response function.
- 根据权利要求2所述的方法,其特征在于,所述判断呼唤语音的大小是否超过预设的用于启动语音响应功能的语音参考值的步骤包括:判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流。The method according to claim 2, wherein the step of determining whether the size of the calling voice exceeds a preset voice reference value for starting the voice response function comprises: determining whether the measured voltage or the measured current corresponding to the calling voice is Exceeds the preset voltage or current used to activate the voice response function.
- 根据权利要求3所述的方法,其特征在于,所述判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流的步骤包括:The method according to claim 3, wherein the step of determining whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset voltage or current for starting the voice response function comprises:将所述呼唤语音转换为对应的测量电压或测量电流;Converting the calling voice into a corresponding measured voltage or measured current;判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流。It is determined whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset voltage or current for starting the voice response function.
- 根据权利要求1-4任一项所述的方法,其特征在于,所述查找是否存在与所述呼唤语音相匹配的呼唤语音样本的步骤之前,还包括:The method according to any one of claims 1 to 4, wherein the step of searching for whether there is a call voice sample matching the calling voice further comprises:将所述呼唤语音转换为移动设备能够识别的呼唤语音信号;Converting the calling voice into a calling voice signal recognizable by the mobile device;所述查找是否存在与所述呼唤语音相匹配的呼唤语音样本的步骤具体为:查找是否存在与所述呼唤语音信号相匹配的呼唤语音样本。The step of searching for whether there is a calling voice sample matching the calling voice is specifically: searching for whether there is a calling voice sample that matches the calling voice signal.
- 根据权利要求1-5所述的方法,其特征在于,所述在移动设备内寻找是否有与呼唤语音信号的语音特征相匹配的呼唤语音样本的步骤具体为:在所述移动设备内寻找是否有与所述呼唤语音信号的语音特征相似度达到预设的相似度的呼唤语音样本。 The method according to any one of claims 1-5, wherein the step of searching for a calling voice sample matching the voice feature of the calling voice signal in the mobile device is specifically: searching for whether in the mobile device There is a call voice sample having a similarity to the voice feature of the calling voice signal reaching a preset similarity.
- 根据权利要求5-6任一项所述的方法,其特征在于,所述查找是否存在与所述呼唤语音信号相匹配的呼唤语音样本的步骤之前,还包括:The method according to any one of claims 5-6, wherein the step of searching for whether there is a call voice sample matching the call voice signal further comprises:设置所述呼唤语音样本以及与呼唤语音样本对应的响应操作并保存。The calling voice sample and the response operation corresponding to the calling voice sample are set and saved.
- 根据权利要求7所述的方法,其特征在于,所述设置呼唤语音样本以及呼唤语音样本对应的响应操作并保存的步骤具体为:The method according to claim 7, wherein the step of setting the calling voice sample and calling the response operation corresponding to the voice sample and saving is specifically:接收录制呼唤语音样本的指令;Receiving an instruction to record a call voice sample;在接收到录制呼唤语音样本的指令后,录制一段外界声音作为呼唤语音样本;After receiving an instruction to record a call voice sample, recording an external sound as a call voice sample;在所述呼唤语音样本录制完成后,输出设置与呼唤语音样本对应的响应操作的提示;After the recording of the calling voice sample is completed, outputting a prompt for setting a response operation corresponding to the calling voice sample;接收依据设置所述提示而输入的与呼唤语音样本对应的响应操作设置;Receiving a response operation setting corresponding to the calling voice sample input according to setting the prompt;保存所述呼唤语音样本以及与呼唤语音样本对应的所述响应操作设置。The call voice sample and the response operation settings corresponding to the call voice sample are saved.
- 根据权利要求1-8任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-8, wherein the method further comprises:设置用于启动语音响应功能的语音参考值并保存。Set the voice reference value used to activate the voice response function and save it.
- 一种移动设备,其特征在于,包括检测模块、查找模块以及响应模块,其中:A mobile device, comprising: a detection module, a lookup module, and a response module, wherein:所述检测模块用于检测来自外界的呼唤语音;The detecting module is configured to detect a calling voice from the outside world;所述查找模块用于当所述外界的呼唤语音的大小超过预设的用于启动语音响应功能的语音大小时,查找是否存在与所述呼唤语音相匹配的呼唤语音样本;The searching module is configured to: when the size of the calling voice of the outside world exceeds a preset voice size for starting the voice response function, whether there is a calling voice sample that matches the calling voice;所述响应模块用于当所述查找模块找到与所述呼唤语音样本相匹配的呼唤语音样本时,执行预存的与所述呼唤语音样本对应的响应操作。The response module is configured to perform a pre-stored response operation corresponding to the calling voice sample when the lookup module finds a calling voice sample that matches the calling voice sample.
- 根据权利要求10所述的设备,其特征在于,所述设备包括判断模块,用于判断所述呼唤语音的大小是否超过预设的用于启动语音响应功能的语音参考值,并将判断结果输出给所述查找模块。The device according to claim 10, wherein the device comprises a determining module, configured to determine whether the size of the calling voice exceeds a preset voice reference value for starting a voice response function, and outputting the judgment result Give the lookup module.
- 根据权利要求11所述的设备,其特征在于,所述判断模块具体用于判断呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流,并将判断结果输出给所述查找模块。The device according to claim 11, wherein the determining module is specifically configured to determine whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset voltage or current for starting the voice response function, and the determination result is Output to the lookup module.
- 根据权利要求12所述的设备,其特征在于,所述设备包括第一转换模块,用于从所述检测模块获取所述外界的呼唤语音,并将所述外界的呼唤语音转换为相应的测量电压或测量电流,并将所述呼唤语音相应的测量电压或测量电流发送给所述判断模块;The device according to claim 12, wherein the device comprises a first conversion module, configured to acquire the external calling voice from the detecting module, and convert the external calling voice into a corresponding measurement Voltage or measuring current, and transmitting the corresponding measured voltage or measuring current of the calling voice to the determining module;所述判断模块具体用于判断所述呼唤语音对应的测量电压或测量电流是否超过预设的用于启动语音响应功能的电压或电流。The determining module is specifically configured to determine whether the measured voltage or the measured current corresponding to the calling voice exceeds a preset voltage or current for starting the voice response function.
- 根据权利要求10-13任一项所述的设备,其特征在于,所述设备还包括第二转换模块,用于将所述呼唤语音转换为移动设备能够识别的呼唤语音信号;The device according to any one of claims 10 to 13, wherein the device further comprises a second conversion module, configured to convert the calling voice into a calling voice signal recognizable by the mobile device;所述查找模块具体用于查找是否存在与所述呼唤语音信号相匹配的呼唤语音样本。The searching module is specifically configured to find whether there is a calling voice sample that matches the calling voice signal.
- 根据权利要求10-14任一项所述的设备,其特征在于,所述查找模块具体用于查找是否有与所述呼唤语音信号的语音特征相似度达到预设的相似度的呼唤语音样本,并将查找结果输出给所述响应模块。The device according to any one of claims 10 to 14, wherein the searching module is specifically configured to search whether there is a calling voice sample having a similarity with a voice feature of the calling voice signal to a preset similarity. The search result is output to the response module.
- 根据权利要求10-15任一项所述的设备,其特征在于,所述设备还包括:The device according to any one of claims 10-15, wherein the device further comprises:设置模块,用于设置所述呼唤语音样本以及与呼唤语音样本对应的响应操作并保存。And a setting module, configured to set the call voice sample and the response operation corresponding to the call voice sample and save.
- 根据权利要求16所述的语音响应系统,其特征在于,所述设置模块包括指令接收单元、语音录制单元、提示单元、响应设置单元以及保存单元,其中:The voice response system according to claim 16, wherein the setting module comprises an instruction receiving unit, a voice recording unit, a prompting unit, a response setting unit, and a saving unit, wherein:所述指令接收单元用于接收录制呼唤语音样本的指令;The instruction receiving unit is configured to receive an instruction to record a calling voice sample;所述语音录制单元用于根据指令接收单元的录制呼唤语音样本的指令,录制一段外界的声音作为呼唤语音样本; The voice recording unit is configured to record an external voice as a call voice sample according to an instruction of the instruction receiving unit to record a voice sample;所述提示单元用于在所述语音录制单元完成所述呼唤语音样本录制后,输出设置与呼唤语音样本对应的响应操作的提示;The prompting unit is configured to output, after the voice recording unit completes the recording of the calling voice sample, a prompt for setting a response operation corresponding to the calling voice sample;所述响应设置单元接收依据所述提示单元输出的所述提示而输入的与呼唤语音样本对应的响应操作设置;The response setting unit receives a response operation setting corresponding to the calling voice sample input according to the prompt output by the prompting unit;所述保存单元用于保存所述语音录制单元录制的呼唤语音样本以及保存所述响应设置单元输入的与呼唤语音样本对应的响应操作设置。The saving unit is configured to save a call voice sample recorded by the voice recording unit and save a response operation setting corresponding to the call voice sample input by the response setting unit.
- 根据权利要求16或17所述的语音响应系统,其特征在于,所述设置模块还用于设置所述用于启动语音响应功能的语音参考值并保存。The voice response system according to claim 16 or 17, wherein the setting module is further configured to set the voice reference value for starting the voice response function and save.
- 一种移动设备,其特征在于,包括处理器以及与所述处理器相连接的存储器、开关电路以及A/D转换电路,还包括声音拾取电路,所述声音拾取电路分别与所述开关电路以及所述A/D转换电路电连接:A mobile device, comprising: a processor and a memory connected to the processor, a switch circuit, and an A/D conversion circuit, further comprising a sound pickup circuit, the sound pickup circuit and the switch circuit respectively The A/D conversion circuit is electrically connected:所述声音拾取电路用于检测来自外界的呼唤语音,将其转换为相应的测量电压,并向所述开关电路发送所述测量电压;The sound pickup circuit is configured to detect a call voice from the outside, convert it into a corresponding measured voltage, and send the measured voltage to the switch circuit;所述开关电路用于接收所述测量电压,判断测量电压是否超过用于启动语音相应功能的电压,当所述测量电压超过所述用于启动语音响应功能的电压时,通知所述处理器启动语音响应功能,并将所述测量电压发送给所述A/D转换电路;The switching circuit is configured to receive the measured voltage, determine whether the measured voltage exceeds a voltage for starting a corresponding function of the voice, and notify the processor to start when the measured voltage exceeds a voltage for starting a voice response function a voice response function, and transmitting the measured voltage to the A/D conversion circuit;所述A/D转换电路用于当所述测量电压超过所述用于启动语音响应功能的电压时,将所述测量电压转换为移动设备能够识别的呼唤语音信号,并向所述处理器发送所述呼唤语音信号;The A/D conversion circuit is configured to convert the measured voltage into a calling voice signal recognizable by the mobile device when the measured voltage exceeds the voltage for starting the voice response function, and send the call signal to the processor The calling voice signal;所述处理器用于启动所述语音响应功能,并从所述A/D转换电路获取呼唤语音信号,在存储器中寻找是否有与呼唤语音信号的语音特征相匹配的呼唤语音样本,在有与所述呼唤语音信号相匹配的呼唤语音样本时,控制进行预存的与呼唤语音样本对应的响应操作。The processor is configured to activate the voice response function, and obtain a call voice signal from the A/D conversion circuit, and search for a call voice sample in the memory that matches a voice feature of the call voice signal. When the calling voice sample matching the voice signal is called, the pre-stored response operation corresponding to the calling voice sample is controlled.
- 根据权利要求19所述的移动设备,其特征在于,所述开关电路包括分压电路以及电压比较器,其中:The mobile device of claim 19, wherein said switching circuit comprises a voltage dividing circuit and a voltage comparator, wherein:所述分压电路与所述电压比较器电连接,用于将分压电路产生的电压输出给所述电压比较器;The voltage dividing circuit is electrically connected to the voltage comparator for outputting a voltage generated by the voltage dividing circuit to the voltage comparator;所述分压电路包括第一电阻和第二电阻,所述第一电阻与所述第二电阻串联,其中所述第一电阻的一端与电压源电连接,另一端与所述第二电阻的一端电连接,所述第二电阻的另一端接地,用于对来自电压源的电压进行分配;第一电阻与第二电阻之间连接电压比较器,同时在第一电阻与第二电阻之间产生用于启动语音响应功能的电压;The voltage dividing circuit includes a first resistor and a second resistor, wherein the first resistor is connected in series with the second resistor, wherein one end of the first resistor is electrically connected to a voltage source, and the other end is opposite to the second resistor One end is electrically connected, and the other end of the second resistor is grounded for distributing a voltage from a voltage source; a voltage comparator is connected between the first resistor and the second resistor, and between the first resistor and the second resistor Generating a voltage for initiating a voice response function;所述电压比较器包括:The voltage comparator includes:第一端口,与所述分压电路电连接,用于接收来自所述分压电路在第一电阻与第二电阻之间产生的所述用于启动语音相应功能的电压并输入所述电压比较器;a first port electrically connected to the voltage dividing circuit, configured to receive the voltage generated by the voltage dividing circuit between the first resistor and the second resistor for initiating a corresponding function of the voice and input the voltage comparison Device第二端口,与所述声音拾取电路电连接,用于接收由外界语音转换得到的测量电压并输入所述电压比较器;a second port electrically connected to the sound pickup circuit for receiving a measurement voltage obtained by external voice conversion and inputting the voltage comparator;第三端口,与所述处理器电连接,用于当所述测量电压超过所述用于启动语音相应功能的电压时,向所述处理器发送启动语音响应功能的指令;a third port electrically connected to the processor, configured to send an instruction to start a voice response function to the processor when the measured voltage exceeds a voltage for starting a corresponding function of the voice;第四端口,与所述A/D转换电路电连接,用于当测量电压超过所述用于启动语音相应功能的电压时,将所述测量电压输出给所述A/D转换电路。And a fourth port electrically connected to the A/D conversion circuit for outputting the measured voltage to the A/D conversion circuit when the measured voltage exceeds a voltage for starting a corresponding function of the voice.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/084863 WO2014078980A1 (en) | 2012-11-20 | 2012-11-20 | Voice response method and mobile device |
CN201280006192.6A CN103636183B (en) | 2012-11-20 | 2012-11-20 | A kind of method of voice response and mobile device |
CN201611042260.0A CN107249068B (en) | 2012-11-20 | 2012-11-20 | A kind of method and mobile device of voice response |
CN201910605171.XA CN110636163A (en) | 2012-11-20 | 2012-11-20 | Voice response method and mobile device |
CN201611043429.4A CN106453793B (en) | 2012-11-20 | 2012-11-20 | A kind of method of voice response, electronic equipment and computer readable storage medium |
CN201610828101.7A CN106302931B (en) | 2012-11-20 | 2012-11-20 | A kind of method of voice response, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/084863 WO2014078980A1 (en) | 2012-11-20 | 2012-11-20 | Voice response method and mobile device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014078980A1 true WO2014078980A1 (en) | 2014-05-30 |
Family
ID=50215555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/084863 WO2014078980A1 (en) | 2012-11-20 | 2012-11-20 | Voice response method and mobile device |
Country Status (2)
Country | Link |
---|---|
CN (5) | CN106302931B (en) |
WO (1) | WO2014078980A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105472549A (en) * | 2014-08-15 | 2016-04-06 | 中兴通讯股份有限公司 | Mobile terminal positioning method and mobile terminal positioning device |
CN104869505B (en) * | 2015-03-23 | 2018-05-29 | 广东欧珀移动通信有限公司 | A kind of method for controlling volume, playback equipment, mobile terminal and system |
CN105141758A (en) * | 2015-07-31 | 2015-12-09 | 小米科技有限责任公司 | Terminal control method and device |
CN105072269B (en) * | 2015-08-03 | 2018-04-10 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal operation processing method and system based on speech recognition |
CN105451137A (en) * | 2015-12-25 | 2016-03-30 | 广东欧珀移动通信有限公司 | User equipment wake-up method and device |
CN109597657B (en) * | 2017-09-29 | 2022-04-29 | 阿里巴巴(中国)有限公司 | Operation method and device for target application and computing equipment |
CN107962917A (en) * | 2017-11-23 | 2018-04-27 | 广东菲柯特电子科技有限公司 | Interactive voice DVD tire pressure instrument |
CN108093350B (en) * | 2017-12-21 | 2020-12-15 | 广东小天才科技有限公司 | Microphone control method and microphone |
CN108076414A (en) * | 2018-01-26 | 2018-05-25 | 浙江圣火智远文化发展有限公司 | It is a kind of can voice control speaker play system |
CN110473542B (en) * | 2019-09-06 | 2022-04-15 | 北京安云世纪科技有限公司 | Awakening method and device for voice instruction execution function and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557651A (en) * | 2008-04-08 | 2009-10-14 | Lg电子株式会社 | Mobile terminal and menu control method thereof |
CN102075829A (en) * | 2009-11-24 | 2011-05-25 | 鸿富锦精密工业(深圳)有限公司 | Volume adjusting system |
CN102739863A (en) * | 2012-06-14 | 2012-10-17 | 中兴通讯股份有限公司 | Emergency call method and device |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030010652A (en) * | 2000-06-10 | 2003-02-05 | 김순자 | Voice communication system having function of preventing speaker's voice waves from being spreaded out around him |
TWI235358B (en) * | 2003-11-21 | 2005-07-01 | Acer Inc | Interactive speech method and system thereof |
CN101290767A (en) * | 2007-04-20 | 2008-10-22 | 华硕电脑股份有限公司 | Portable computer with speech recognition function and processing method therefor |
CN101236744B (en) * | 2008-02-29 | 2011-09-14 | 北京联合大学 | Speech recognition object response system and method |
CN101282376A (en) * | 2008-06-02 | 2008-10-08 | 深圳华为通信技术有限公司 | Mobile terminal and method for automatically storing digital number of the same |
CN101742110A (en) * | 2008-11-10 | 2010-06-16 | 天津三星电子有限公司 | Video camera set by speech recognition system |
CN101739197A (en) * | 2008-11-24 | 2010-06-16 | 宏达国际电子股份有限公司 | Function starting system and method |
CN101815121A (en) * | 2009-02-23 | 2010-08-25 | 深圳富泰宏精密工业有限公司 | Mobile phone and mobile phone searching method |
CN102118886A (en) * | 2010-01-04 | 2011-07-06 | 中国移动通信集团公司 | Recognition method of voice information and equipment |
CN202068466U (en) * | 2011-03-31 | 2011-12-07 | 吴瑞宗 | Voice response mobile phone |
-
2012
- 2012-11-20 CN CN201610828101.7A patent/CN106302931B/en active Active
- 2012-11-20 CN CN201611042260.0A patent/CN107249068B/en active Active
- 2012-11-20 CN CN201280006192.6A patent/CN103636183B/en active Active
- 2012-11-20 CN CN201910605171.XA patent/CN110636163A/en active Pending
- 2012-11-20 WO PCT/CN2012/084863 patent/WO2014078980A1/en active Application Filing
- 2012-11-20 CN CN201611043429.4A patent/CN106453793B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101557651A (en) * | 2008-04-08 | 2009-10-14 | Lg电子株式会社 | Mobile terminal and menu control method thereof |
CN102075829A (en) * | 2009-11-24 | 2011-05-25 | 鸿富锦精密工业(深圳)有限公司 | Volume adjusting system |
CN102739863A (en) * | 2012-06-14 | 2012-10-17 | 中兴通讯股份有限公司 | Emergency call method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107249068A (en) | 2017-10-13 |
CN107249068B (en) | 2019-07-12 |
CN103636183B (en) | 2016-12-21 |
CN106453793B (en) | 2018-11-06 |
CN106302931B (en) | 2018-11-06 |
CN110636163A (en) | 2019-12-31 |
CN106453793A (en) | 2017-02-22 |
CN106302931A (en) | 2017-01-04 |
CN103636183A (en) | 2014-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014078980A1 (en) | Voice response method and mobile device | |
WO2019088802A1 (en) | Electronic device and method of performing functions of electronic devices by voice therebetween | |
WO2010027190A2 (en) | Mobile communication terminal that delivers vibration information, and method thereof | |
WO2014180023A1 (en) | Method and device for supplying power for anc earphone using power supply of electronic device | |
WO2018129977A1 (en) | Charging control method and apparatus, storage medium, and computer device | |
WO2017039142A1 (en) | User terminal apparatus, system, and method for controlling the same | |
WO2019078588A1 (en) | Electronic device and operation method therefor | |
WO2014021681A1 (en) | Method and apparatus for alarm service using context awareness in portable terminal | |
WO2019041856A1 (en) | Home appliance control method, system and terminal, and storage medium | |
WO2012016476A1 (en) | Hand-held mobile terminal standby method, micro processor and cellular phone thereof | |
WO2017005022A1 (en) | Mobile terminal, and method therefor for realizing microphone switching during call | |
WO2019112181A1 (en) | Electronic device for executing application by using phoneme information included in audio data and operation method therefor | |
WO2018192164A1 (en) | Method, device and system for reducing power consumption at type-c interface | |
WO2018076888A1 (en) | Method, device and system for synchronizing data of mobile terminal, storage medium and mobile terminal | |
WO2017206870A1 (en) | Sensor shutdown method and apparatus, storage medium, and electronic device | |
WO2017206865A1 (en) | Application program shutdown method and apparatus, storage medium, and electronic device | |
WO2019223600A1 (en) | Bluetooth audio transmission method, device, and computer readable storage medium | |
WO2018076830A1 (en) | Method and device for adjusting data synchronization cycle, electronic device, storage medium, and system | |
WO2017206886A1 (en) | Wakeup lock releasing method and apparatus, storage medium, and electronic device | |
WO2021162286A1 (en) | Electronic device and method for recognizing audio output device connected to usb type-c connector | |
WO2018124355A1 (en) | Audio device and control method therefor | |
WO2017067232A1 (en) | Automatic call transfer method and system based on mobile terminal, and mobile terminal | |
WO2017206874A1 (en) | Application program shutdown method and apparatus, storage medium, and electronic device | |
WO2017206873A1 (en) | Application program shutdown method and apparatus, storage medium, and electronic device | |
WO2022169039A1 (en) | Electronic apparatus and controlling method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12888659 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12888659 Country of ref document: EP Kind code of ref document: A1 |