The present disclosure generally relates to a method and device for voice recognition.
Nowadays, voice control are applied in more and more fields, for example, in vehicle field. A voice recognition logic is a typical element to achieve voice control. A typical vehicle have one microphone. When there are two or more speakers speaking at the same time or there is a noise in the vehicle, the typical voice recognition logic cannot separate the mixed voice effectively, which affects a voice recognition rate. Currently, one method to achieve accurately voice separation is to create a microphone array, another method is to separate mixed voice by Independent Component Analysis (ICA), Frequency Domain Independent Component Analysis (FDICA) or other extended algorithm. However, all these methods mentioned above require that the number of microphones to be at least equal to the number of voice sources, which means current vehicles should add more microphones to achieve voice separation, which however, will lead to cost increase.
In an embodiment, a method for voice recognition is provided, including: receiving a voice information collected by a plurality of voice collection devices configured on a plurality of devices connected together, wherein the plurality of devices comprises at least one mobile device; and conducting a voice separation and recognition process on the voice information collected by the plurality of voice collection devices.
In some embodiments, the method further including: determining a clock difference between one of the plurality of devices and one of the remaining of the plurality of devices.
In some embodiments, determining the clock difference between one of the plurality of devices and the remaining of the plurality of devices includes: obtaining a clock of each of the plurality of devices; and obtaining a clock difference between one of the plurality of devices and one of the remaining of the plurality of devices.
In some embodiments, determining the clock difference between one of the plurality of devices and one of the remaining of the plurality of devices includes: a first device sending a test message at a first time point to a second device; the first device receiving a feedback message at a third time point from the second device, wherein the feedback message at least comprises a second time point of receiving the test message and a fourth time point of sending the feedback message of the second device; and determining the clock difference between the clock of the first device and the clock of the second device based on the first time point, the second time point, the third time point and the fourth time point; wherein the first device is one of the plurality of devices, and the second device is one of the remaining of the plurality of devices.
In some embodiments, conducting the voice separation and recognition process on the voice information collected by the plurality of voice collection devices includes: synchronizing the voice information collected by the plurality of voice collection devices based on the clock difference among the plurality of devices; separating the synchronized voice information; and recognizing the separated voice information.
In some embodiments, synchronizing the voice information collected by the plurality of voice collection devices includes: synchronizing a first voice information based on a clock difference between a first device and a reference device; wherein the first voice information is collected by a first voice collection device configured on the first device; the reference device is one of the plurality of devices, and the first device is one of the remaining of the plurality of devices.
In some embodiments, the method further including: transmitting a collection information to start a collection of voice information by the plurality of voice collection devices.
In an embodiment, a method for voice recognition is provided, including: obtaining a clock difference among a plurality of devices connected together, where each of the plurality of devices is configured with a voice collection device; obtaining a voice information collected by the voice collection devices configured on the each of the plurality of devices; and conducting a voice separation and recognition process on the voice information collected by the plurality of voice collection devices based on the clock difference.
In some embodiments, obtaining the clock difference includes: obtaining a first time point for sending a test message by a first device; obtaining a second time point for receiving the test message by a second device; obtaining a third time point for receiving a feedback message by the first device; obtaining a fourth time point for sending the feedback message by the second device; and determining the clock difference between a clock of the first device and a clock of the second device based on the first time point, the second time point, the third time point and the fourth time point; wherein the first device is one of the plurality of devices, and the second device is one of the remaining of the plurality of devices.
In some embodiments, conducting the voice separation and recognition process on the voice information collected by the plurality of voice collection devices includes: synchronizing the voice information collected by the voice collection devices configured on each of the plurality of devices based on the clock difference among the plurality of devices; separating the synchronized voice information; and recognizing the separated voice information.
In an embodiment, a voice recognizing device is provided, including: a processor, configured to: obtain a clock difference among a plurality of devices connected together, where each of the plurality of devices is configured with a voice collection device; obtain a voice information collected by the voice collection device configured on the each of the plurality of voice collection devices; and conduct a voice separation and recognition process on voice information collected by the voice collection device based on the clock difference among the among a plurality of devices.
In some embodiments, the processor determines the clock difference includes: obtaining a first time point at which a first device sends a test message to a second device; obtaining a second time point at which the second device receives the test message; obtaining a third time point at which the first voice collecting device receives a feedback message from the second device; obtaining a fourth time point at which the second device sends the feedback message; and determining the clock difference between a clock of the first device and a clock of the second device based on the first time point, the second time point, the third time point and the fourth time point; wherein the first device is one of the plurality of devices, and the second device is one of the remaining of the plurality of devices.
In some embodiments, the processor conducts a voice separation and recognition process includes: synchronizing the voice information collected by the voice collection device configured on each of the plurality of devices based on the clock difference among the plurality of devices; separating the synchronized voice information; and recognizing the separated voice information.
In some embodiments, the device further includes a voice collection circuitry configured to collect the voice information.
In some embodiments, the device further includes a connection circuitry configured to connect with a device through WIFI, Bluetooth or Infrared light.
In an embodiment, a storage medium which has computer instructions stored therein is provided, wherein once the computer instructions are executed, the above method is performed.
By applying at least one voice collection device configured on at least one mobile device for collecting voice, voice recognition rate in an application environment may be improved without adding any more fixed microphones in the application environment.
The foregoing and other features of the present disclosure will become more fully apparent from the following description and appended claims, taken in conjunction with the accompanying drawings. Understanding that these drawings depict only several embodiments in accordance with the disclosure and are, therefore, not to be considered limiting of its scope, the disclosure will be described with additional specificity and detail through use of the accompanying drawings.
In the following detailed description, reference is made to the accompanying drawings, which form a part hereof. In the drawings, similar symbols typically identify similar components, unless context dictates otherwise. The illustrative embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be utilized, and other changes may be made, without departing from the spirit or scope of the subject matter presented here. It will be readily understood that the aspects of the present disclosure, as generally described herein, and illustrated in the Figures, may be arranged, substituted, combined, and designed in a wide variety of different configurations, all of which are explicitly contemplated and make part of this disclosure.
Referring to
For an exemplary purpose,
Referring to
In some embodiments, the smart phone 3 is taken as an example. In some embodiments, any other mobile device equipped with a voice collection device or any other sensor that may collect surrounding sound and noise, and that may be connected to the vehicle to process data transmission may be utilized for such purpose, for example, flat computer, laptop and so on. In some embodiments, the car host 5 and the smart phone 3 may be connected at least through WIFI, BLUETOOTH, or INFARED LIGHT.
In some embodiments, the car host 5 and the smart phone 3 may be connected automatically or manually. In some embodiments, the connection process may be started in response to the driver's or passenger's instruction. The driver's or passenger's instruction may be received through keyboard input, speech input, gesture input, and the like.
In some embodiments, the connection process may be started automatically as soon as the driver or passenger goes into the vehicle.
In some embodiments, the connection establishment process may be initiated by the vehicle. For example, referring to
Referring to
Referring to
In some embodiments, the voice information collected includes but not limit to the voice made by the driver or the two passengers. Noise within and out of the vehicle may also be mixed in the voice information. As a result, the voice information collected may be a mixed voice information.
In some embodiments, the voice collection process may be initiated by a collection information. The collection information may be initiated manually or automatically after the connection is established so that each of the plurality of the voice collection devices starts to collect voices. In some embodiments, the collection information may also be initiated under a condition, such as detecting a voice by the car host 5, and the like.
In some embodiments, a recorder (which is not shown in
In some embodiments, the voice information may include moment information, which may be useful in voice separation and recognition process. For example, the moment information may include starting moment and stopping moment, which is necessary to match two or more voice information recorded by different voice collection devices. The moment of voice information may be recorded according to a clock of the voice collection device.
In some embodiments, the clock of the voice collection device may be based on the clock of the mobile device or the vehicle on which it configured. For example, as to a voice information collected by the smart phone 3, the clock of the smart phone 3 is the clock of the voice information. Or, as to a voice information collected by the car microphone 4, the clock of the vehicle is the clock of the voice information, wherein the clock of the vehicle may be the clock of the car host 5.
In practice, clocks of different devices are quite different, which will decrease the accurate of voice recognition. Therefore, a synchronization process should be performed on the voice information collected to improve the accuracy of voice recognition rate. For example, by performing the synchronization process, the starting moment or the stopping moment should be synchronized. However, for conducting the synchronization process, a clock difference between the voice information collected by different devices should be determined.
Referring to
In S301, obtaining a clock of each of the plurality of devices.
Referring to
In some embodiments, the acquisition process may be executed automatically, or it may be executed in response to a request of the car host 5.
Referring to
Referring to
X=T
a
−T
b (1)
wherein X represents the clock difference between the smart phone 3 and the car host 5, Ta represents the clock of the smart phone 3, Tb represents the clock of the car host 5.
In some embodiments, the clock difference determination process may be executed as soon as the connection process is executed.
In some embodiments, the clock difference determination process may be executed after the collection information is received.
In some embodiments, referring to
In S401, a first device sending a test message at a first time point to a second device.
Referring to
Referring to
Referring to
In some embodiments, a third time point of receiving the feedback message may be recorded by the car host 5.
Referring to
In some embodiments, assuming that the clock of the smart phone 3 is X earlier than the clock of the car host 5 in minutes. As shown in
wherein T refers to data transmission time between the smart phone 3 and the car host 5.
As a result, the clock difference may be determined according to equation (3):
X=[(t4−t3)−(t1−t2)]/2 (3)
wherein X represents the clock difference between the clock of the smart phone 3 and the clock of the car host 5, t1 represents the first time point of sending the test message by the car host 5, t2 represents the second time point of receiving the test message by the smart phone 3, t3 represents the third time point of receiving the feedback message by the car host 5, and t4 represents the fourth time point of sending the feedback message by the smart phone 3.
In some embodiments, if the value of the X calculated from the equation (3) is positive, it may be determined that the clock of the smart phone 3 is X minutes earlier than the clock of the car host 5. In this situation, the starting moment and the stopping moment of the voice information collected by the upper smart phone microphone 31 and the lower smart phone microphone 32 of the smart phone 3 is X minutes earlier than that collected by the car microphone 4 of the vehicle, even though the upper smart phone microphone 31, the lower smart phone microphone 32 and the car microphone 4 response to a voice collection information at the same time.
Otherwise, if the value of the X calculated from the equation (3) is negative, it may be determined that the clock of the smart phone 3 is X minutes later than the clock of the car host 5. In this situation, the starting moment and the stopping moment of the voice information collected by the upper smart phone microphone 31 and the lower smart phone microphone 32 of the smart phone 3 is X minutes later than that collected by the car microphone 4 of the vehicle, even though the upper smart phone microphone 31, the lower smart phone microphone 32 and the car microphone 4 response to a voice collection information at the same time.
In above embodiment, the clock difference is determined by the car host 5 when the clock of the car host 5 is regarded as a reference clock, wherein the car host 5 may be regarded as a reference device. In some embodiments, the clock difference may also be determined by the smart phone 3 when the clock of the smart phone 3 is regarded as a reference clock, wherein the smart phone 3 may be regarded as a reference device. In some embodiments, the clock difference determination process may even be conducted on a third platform when the clock of the third platform is regarded as a reference clock.
Referring to
The synchronization process may be conducted on a reference clock, which is different from clocks of all of the plurality of devices in the vehicle. For example, the reference clock may be a standard time of a time zone where the vehicle is located in. The location of the vehicle may be determined by a locating device fixed on the vehicle, or may be determined by the locating device configured on a mobile device in the vehicle. The locating device may include GPS or other devices with locating function. In some embodiments, one clock of the plurality of devices may act as the reference clock. For example, referring to
Referring to
T1′=T1+X (3)
wherein T1′ represents the synchronized voice information, T1 represents the voice information collected by the smart phone 3, X represents the clock difference between the clock of the smart phone 3 and the clock of the car host 5.
Referring to
Those skilled in the art may understand that, during the voice separation process, the number of voice collection devices is required to be no less than the number of voice sources. By applying at least one voice collection device configured on at least one mobile device for collecting voice, the requirement of the number of voice collection devices is met without adding any more fixed microphones in the vehicle and the voice recognition rate is improved.
Referring to
After the synchronization process is performed, the car host 5 may further conduct separation process on the synchronized first voice information and the synchronized second voice information to separate a voice from the mixed voice. Since the number of voice collection devices is no less than the number of the passengers in the vehicle, the car host 5 may separate each passenger's voice accurately. The separated voice information is one-to-one correspond to the passenger in the vehicle. For example, the separated first voice information may be mainly correspond to the passenger 1's voice, while the separated second voice information may be mainly correspond to the passenger 2's voice.
In some embodiments, the separation process may be performed via clustering and/or statistical treatment.
In some embodiments, by using the upper smart phone microphone 31 and the lower smart phone microphone 32, a better noise reduction first voice information is obtained.
In some embodiments, the collection period may be default. In some embodiments, the collection period may be included in the collection information.
Referring to
In some embodiments, the voice separation and recognition process may be performed via Degenerate Unmixing Estimation Technique (DUET), ICA (Independent Component Analysis) method and their extended algorithm.
In some embodiments, the voice recognition process may be performed via FDICA (Frequency Domain Independent Component Analysis) method.
Referring to
In some embodiments, the separation and recognition process may even be conducted on a third platform. The synchronized voice information may be transmitted to the third platform which conduct the separation and recognition process via wired and/or wireless method. In some embodiments, the wireless transmission method may be realized by Bluetooth connection, Wi-Fi connection and the like.
Please be noted that once the plurality of devices are connected together, the voice collection and recognition process may be conducted for multiples times, and there is no need to connect the plurality of devices between the multiple times. However, in the multiple times of the voice collection and recognition process, the plurality of devices are in a connection state.
A voice recognizing device is also provided according to the present disclosure, includes a processor. The processor is configured to obtain a clock difference among a plurality of devices connected together, where a plurality of voice collection devices is configured on the plurality of devices; to obtain a voice information collected by the plurality of voice collection devices; and to conduct a voice separation and recognition process on voice information collected by the plurality of voice collection devices based on the clock difference.
In some embodiments, the processor determines the clock difference includes: obtaining a clock of each of the plurality of devices; obtaining a clock difference between one of the plurality of devices and any one of the remaining of the plurality of devices based on the clock of each of the plurality of devices.
In some embodiments, the processor determines the clock difference includes: obtaining a first time point at which a first device sends a test message to a second device; obtaining a second time point at which the second device receives the test message; obtaining a third time point at which the first voice collecting device receives a feedback message from the second device; obtaining a fourth time point at which the second device sends the feedback message; and determining the clock difference between a clock of the first device and a clock of the second device based on the first time point, the second time point, the third time point and the fourth time point; wherein the first device is one of the plurality of devices, and the second device is one of the remaining of the plurality of devices. Detailed information on obtaining clock difference of the plurality of device may be referred to above description on
In some embodiments, the processor conducts a voice separation and recognition process includes: synchronizing the voice information collected by the plurality of voice collection devices based on the clock difference among the plurality of devices; separating the synchronized voice information; and recognizing the separated voice information. Detailed information on conducting a voice separation and recognition process may be referred to above description on
In some embodiments, the device for voice recognition further includes a voice collection circuitry configured to collect the voice information.
In some embodiments, the device for voice recognition further includes a connection circuitry configured to connect with a device through WIFI, Bluetooth or Infrared light.
For an exemplary purpose,
In some embodiments, the processor 91 is configured to obtain a clock difference between a car host 9 and a smart phone 8.
In some embodiments, the processor 91 is configured to synchronize the voice information collected by the smart phone 8 and the car microphone 93 based on the clock difference between the clock of the smart phone 8 and the clock of the car host 9; and to separate and recognize voices made by different passengers in the vehicle. As a result, the car host 9 may respond to different orders made by different passengers through voice accurately and rapidly.
While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2017/103846 | 9/28/2017 | WO | 00 |