Disclosure of Invention
Therefore, it is desirable to provide a human voice recognition and prompt device for an automobile, which is used for solving the problem that the prior art cannot give consideration to both automobile sound insulation and obtaining prompt sound outside the automobile.
In order to achieve the above object, the present invention provides a voice recognition prompting device for an automobile, comprising:
a storage unit for storing a prompt information base;
the playing unit is used for playing prompt voice;
the microphone is arranged outside the carriage and used for acquiring sound data outside the carriage; and
and the processing unit is connected with the microphone, the playing unit and the storage unit and used for extracting the voice data from the voice data, comparing the voice data with a prompt information base in the storage unit and judging whether the content corresponding to the voice data is prestored in the storage unit, if so, sending the voice data or the corresponding prompt information to the playing unit for playing, and if not, playing.
Furthermore, the microphone is a digital microphone, a filter is arranged in the digital microphone, and the band-pass frequency of the filter is 280 Hz-3500 Hz.
Further, the system also comprises a sound sensor, which is used for collecting the frequency spectrum characteristics of the sound data;
the storage unit also stores the frequency spectrum characteristics of the sound;
the processing unit is further used for comparing the frequency spectrum characteristics of the collected sound data with the frequency spectrum characteristics in the storage unit, judging whether the frequency spectrum characteristics of the sound data are prestored in the storage unit, if so, prompting that the sound data are the sound of a familiar person, and if not, prompting that the sound data are the sound of a stranger.
Further, the playing unit is a vehicle-mounted multimedia system, and the processing unit is a vehicle controller of the vehicle.
Further, the automobile loudspeaker also comprises an automobile loudspeaker;
the vehicle-mounted multimedia system is also used for collecting sound data in the vehicle and playing the sound data through a loudspeaker outside the vehicle.
In order to solve the problems, the invention also provides a method for identifying and prompting the automobile voice, which comprises the following steps:
establishing a prompt information base in a storage unit in advance;
collecting sound data outside a carriage;
extracting human voice data from the voice data;
and comparing the voice data with a prompt information base in a storage unit, judging whether the content corresponding to the voice data is prestored in the storage unit, if so, sending the voice data or the corresponding prompt information to the playing unit for playing, and if not, playing.
Further, in the step of extracting the human voice data from the voice data, filtering the voice data, wherein the band-pass frequency of the filtering is 280 Hz-3500 Hz.
Further, the method also comprises the following steps:
storing the frequency spectrum characteristics of sound in a storage unit in advance;
collecting spectral characteristics of the sound data through a sound sensor;
comparing the frequency spectrum characteristics of the collected sound data with the frequency spectrum characteristics in the storage unit, judging whether the frequency spectrum characteristics of the sound data are prestored in the storage unit, if so, prompting that the sound data are the sound of a familiar person, and if not, prompting that the sound data are the sound of a stranger.
Further, the method also comprises the following steps:
and collecting sound data in the vehicle, and playing the sound data through a loudspeaker outside the vehicle.
Different from the prior art, according to the technical scheme, the sound data outside the carriage is collected through the microphone arranged outside the carriage, the voice data is extracted from the sound data, and the prompting sound prestored in the prompting information base is only played in the carriage, so that noise can be effectively filtered, and the valuable prompting sound can be obtained by people in the vehicle under the condition that the vehicle is not windowed.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1 to 2, the present embodiment provides a device and a method for recognizing and prompting a human voice of an automobile.
As shown in fig. 1, the car voice recognition prompting device includes:
the storage unit 40 stores a prompt information base, in which prompt information having a certain value to the owner or the driving process, such as "zhang san" (name of the owner), "stop", "wait", "danger", etc., is stored.
A playing unit 20 for playing the prompt voice; the playing unit may be a vehicle-mounted multimedia system, and specifically may be played through a speaker of the vehicle-mounted multimedia system, or played through a bluetooth headset of the vehicle-mounted multimedia system.
The microphone 30 is arranged outside the carriage and used for acquiring sound data outside the carriage; the microphone can be arranged on the roof of the automobile, can also be arranged at the front part or the tail part of the automobile, and can be used for collecting the sound outside the automobile. Preferably, the microphone is a digital microphone with a filtering function, a filter is arranged in the digital microphone, and the band-pass frequency of the filter is 280 Hz-3500 Hz. Because the frequency of the human voice is 300 Hz-3400 Hz, the band-pass filter with the passband of 280 Hz-3500 Hz can effectively filter other sounds except the human voice frequency band.
And the processing unit 10 is connected with the microphone, the playing unit and the storage unit, and is used for extracting voice data from the voice data, comparing the voice data with a prompt information base in the storage unit, judging whether the content corresponding to the voice data is prestored in the storage unit, if so, sending the voice data or the corresponding prompt information to the playing unit for playing, and if not, playing.
The functions of the processing unit 10 may be implemented by an existing processing circuit with information processing capability in the vehicle, for example, by a control unit in a vehicle control unit, or by a control unit of an in-vehicle multimedia system. The processing unit can extract voice data from the voice data through the existing voice recognition technology and convert the voice data into corresponding text information, and the processor compares the text information with a prompt information base in the storage unit to judge whether the content corresponding to the voice data is prestored in the storage unit.
In the embodiment, the voice data outside the carriage is collected through the microphone arranged outside the carriage, the voice data is extracted from the voice data, and the prompt voice stored in the prompt information base is only pre-stored in the voice data played in the carriage, so that the noise can be effectively filtered, and the valuable prompt voice can be obtained by the personnel in the vehicle under the condition that the vehicle is not opened. The automobile voice recognition prompting device can be applied to a parking state and a driving state, so that the problem that a driver and a passenger in a vehicle cannot acquire voice information nearby outside the vehicle during driving is effectively solved, the driver and the passenger in the vehicle can timely know greetings, call or early warning that a stranger possibly has danger to the surrounding and the like of the person nearby outside the vehicle is guaranteed, meanwhile, other noises can be prevented from being transmitted into the vehicle, and the riding quality of the vehicle is guaranteed.
Preferably, the automobile voice recognition prompting device further comprises a sound sensor, and a capacitor electret microphone sensitive to sound is arranged in the sound sensor. The sound waves vibrate the electret film in the microphone, resulting in a change in capacitance, which generates a minute voltage that changes in response thereto. Preferably, the sound sensor and the microphone may be integrally provided and fixed to the roof of the vehicle.
The sound sensor is used for collecting the spectral characteristics of the sound data, and the voiceprints of each person are different, namely the spectral characteristics of each person are different, so that the identities of different persons can be distinguished according to the spectral characteristics of the collected sound data.
The storage unit also stores the frequency spectrum characteristics of the sound, namely the frequency spectrum characteristics of the sound data of different people; the processing unit is further used for comparing the frequency spectrum characteristics of the collected sound data with the frequency spectrum characteristics in the storage unit, judging whether the frequency spectrum characteristics of the sound data are prestored in the storage unit, if so, prompting that the sound data are the sound of a familiar person, and if not, prompting that the sound data are the sound of a stranger.
As shown in fig. 3, a specific processing flow chart of the car voice recognition and prompting device is shown.
The digital microphone and the sound sensor transmit collected sound data to a processing unit in the vehicle for comparison, the processing unit judges whether the spectral characteristics of the sound data are prestored in the storage unit, if so, an instruction is sent to the vehicle-mounted voice entertainment module to send out a content (for example, "owner!has your friends calling you in the left rear side and" owner! ") for prompting the speaker and the sound through a horn or a Bluetooth headset in the vehicle, and if the spectral characteristics of the sound data are not prestored in the storage unit, the voice is prompted to be stranger and the content of the sound is played (for example," owner!has strangers sending danger early warning information "). If the collected sound data is not personnel or prompt information prestored in the storage unit, the sound data is not played and the next cycle is carried out.
As shown in fig. 2, preferably, the car voice recognition and prompting device can also be used for speaking to a person outside the car, and the car voice recognition and prompting device further comprises a loudspeaker 50 outside the car; the voice input device (in-vehicle microphone) in the vehicle multimedia system is also used to collect the voice data in the vehicle and play the voice data through the speaker 50 outside the vehicle. Therefore, the vehicle-mounted multimedia system and the loudspeaker can be used for calling people outside the vehicle under the condition that the vehicle window is not opened, the vehicle-mounted multimedia system and the loudspeaker are particularly suitable for calling strangers outside the vehicle, communication can be effectively carried out, and meanwhile personal safety of the people inside the vehicle can be guaranteed.
Fig. 4 is a flowchart of a method for recognizing and prompting a human voice of an automobile according to an embodiment. The automobile voice recognition prompting method comprises the following steps:
s41, establishing a prompt information base in the storage unit in advance;
s42, collecting sound data outside the carriage;
s43, extracting human voice data from the voice data;
s44, comparing the voice data with a prompt information base in a storage unit, judging whether the content corresponding to the voice data is prestored in the storage unit, if so, sending the voice data or the corresponding prompt information to the playing unit for playing, and if not, not playing.
The prompt information base stores prompt information with certain value to the owner or the driving process, such as "zhang san" (name of owner), "stop", "wait", "danger", and the like.
The sound data outside the carriage is collected through a microphone arranged outside the carriage, preferably, the microphone is a digital microphone with a filtering function, a filter is arranged in the digital microphone, and the band-pass frequency of the filter is 280 Hz-3500 Hz. Because the frequency of the human voice is 300 Hz-3400 Hz, the band-pass filter with the passband of 280 Hz-3500 Hz can effectively filter other sounds except the human voice frequency band.
In step S44, the process of "comparing the voice data with the prompt information base in the storage unit, and determining whether the content corresponding to the voice data is pre-stored in the storage unit, if so, sending the voice data or the corresponding prompt information to the playing unit for playing, and if not, not playing" may be completed by a processing circuit having information processing capability existing in the vehicle, for example, by a control unit in the vehicle controller, or by a control unit of the multimedia system in the vehicle. The processing unit can extract voice data from the voice data through the existing voice recognition technology and convert the voice data into corresponding text information, and the processor compares the text information with a prompt information base in the storage unit to judge whether the content corresponding to the voice data is prestored in the storage unit.
The automobile voice recognition prompting method extracts voice data from the voice data, and only plays the prompting voice prestored in the voice data in the carriage in the prompting information base, so that noise can be effectively filtered, and valuable prompting voice can be obtained by personnel in an automobile under the condition that the automobile is not windowed. The automobile safety protection device has the advantages that drivers and passengers in the automobile can timely know greetings, call calls or early warning of possible danger around by strangers and the like of people nearby the outside of the automobile, meanwhile, other noises can be prevented from being transmitted into the automobile, and the riding quality of the automobile is guaranteed.
Preferably, the step of extracting the human voice data from the voice data includes filtering the voice data, and a band pass frequency of the filtering is 280Hz to 3500 Hz. Because the frequency of the human voice is 300 Hz-3400 Hz, the band-pass filter with the passband of 280 Hz-3500 Hz can effectively filter other sounds except the human voice frequency band.
In one embodiment, the method for recognizing and prompting the automobile voice further includes the following steps:
storing the frequency spectrum characteristics of sound in a storage unit in advance;
collecting spectral characteristics of the sound data through a sound sensor;
comparing the frequency spectrum characteristics of the collected sound data with the frequency spectrum characteristics in the storage unit, judging whether the frequency spectrum characteristics of the sound data are prestored in the storage unit, if so, prompting that the sound data are the sound of a familiar person, and if not, prompting that the sound data are the sound of a stranger.
In this embodiment, the extracted voice data can be determined whether the voice data is the voice of a familiar person pre-stored in the storage unit by the spectral feature comparison, so that the user can be prompted about the voice while the prompting information is played.
In one embodiment, the method for recognizing and prompting the automobile voice further comprises the following steps:
and collecting sound data in the vehicle, and playing the sound data through a loudspeaker outside the vehicle. The sound data in the vehicle can be collected through a voice input device (a microphone in the vehicle) in the vehicle-mounted multimedia system, and the sound data is played through a loudspeaker outside the vehicle. Therefore, the vehicle-mounted multimedia system and the loudspeaker can be used for calling people outside the vehicle under the condition that the vehicle window is not opened, the vehicle-mounted multimedia system and the loudspeaker are particularly suitable for calling strangers outside the vehicle, communication can be effectively carried out, and meanwhile personal safety of the people inside the vehicle can be guaranteed.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.