Transmission method and device, the vehicle of voice data
Technical field
Transmission method and device, vehicle the invention relates to technical field of vehicle more particularly to a kind of voice data
.
Background technology
When driving, driver is dialed or received calls often there are larger security risk, and vehicle-mounted indigo plant
The on-vehicle Bluetooth system of tooth chip and audio receipts broadcasting device composition, which is largely improved in driver and passenger's driving conditions, to be connect
The convenience and comfort answered a call reduce the security risk that driving receives calls, and substantially increase the security of driving.
During the embodiment of the present application is realized, inventor has found that at least there are the following problems in the prior art:Have now
There is the vehicle of built-in Vehicular bluetooth telephone, speech quality is relatively low, can not realize that audio receives the pluggable of broadcasting device, add equipment
Fixed cost, reduce the selectivity of user.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present application in order to provide a kind of voice data transmission method and device,
Vehicle.
The embodiment of the present application provides a kind of transmission method of voice data, including:
It receives audio collection device and gathers and pass through the first voice data that USB interface transmits;
The first transmission link is established, the first voice data is sent to Bluetooth chip, so that Bluetooth chip is led to by bluetooth
First voice data is transferred to mobile terminal by letter technology;
The second transmission link is established, the second audio data that Bluetooth chip is sent is received, wherein the second audio data
It is that the Bluetooth chip is transferred to by Bluetooth Communication Technology by mobile terminal;
The second audio data is sent to audio player by USB interface to play out.
According to the other side of the embodiment of the present application, a kind of transmitting device of voice data is provided, including:
Receiving module, for receiving the first voice data that audio collection device gathered and passed through USB interface and transmits;
First voice data for establishing the first transmission link, is sent to Bluetooth chip, for indigo plant by the first transport module
First voice data is transferred to mobile terminal by tooth chip by Bluetooth Communication Technology;
Second transport module for establishing the second transmission link, receives the second audio data that Bluetooth chip is sent, wherein
The second audio data is to be transferred to the Bluetooth chip by Bluetooth Communication Technology by mobile terminal;
The second audio data is transferred to audio player for passing through USB interface and played out by sending module.
The embodiment of the present application additionally provides a kind of vehicle, including:
Transmitting device, Bluetooth chip, audio collection device and the audio player of the voice data;Wherein, it is described
Audio collection device and the audio player are connected by USB interface with the transmitting device of the voice data.
Transmission method and device, the vehicle of voice data provided by the embodiments of the present application are adopted by receiving audio collection device
Collect and pass through the first voice data that USB interface transmits;And the first transmission link is established, the first voice data is sent to
Bluetooth chip, so that the first voice data is transferred to mobile terminal by Bluetooth chip by Bluetooth Communication Technology;By establishing
Two transmission links receive the second audio data that Bluetooth chip is sent, wherein the second audio data is led to by mobile terminal
It crosses Bluetooth Communication Technology and is transferred to the Bluetooth chip;The second audio data is sent to audio eventually by USB interface
Player plays out.Using this programme, it can realize pluggable Portable Bluetooth car kit phone, reduce traditional on-vehicle Bluetooth
The fixed cost of phone improves the selectivity of user, enhances the security of the driving of user.
Above description is only the general introduction of this embodiment of the present application technical solution, in order to better understand this application reality
Apply the technological means of example, and can be practiced according to the content of specification, and in order to allow the above-mentioned of this embodiment of the present application and
Other objects, features and advantages can be clearer and more comprehensible, below the special specific embodiment for lifting the application.
Description of the drawings
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not formed to embodiment, the element for having same reference numbers label in attached drawing are expressed as similar element, remove
Non- have a special statement, and composition does not limit the figure in attached drawing.
Fig. 1 is the flow chart of the transmission method for the voice data that the embodiment of the present application one provides;
Fig. 2 is the flow chart of the transmission method for the voice data that the embodiment of the present application two provides;
Fig. 3 is the illustrative view of functional configuration of the transmitting device for the voice data that the embodiment of the present application three provides;
Fig. 4 is the illustrative view of functional configuration of the transmitting device for the voice data that the embodiment of the present application four provides.
Fig. 5 is the illustrative view of functional configuration of the vehicle for the execution audio data transmission method that the embodiment of the present application five provides.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Embodiment one
Fig. 1 is the flow chart of the transmission method for the voice data that the embodiment of the present application one provides.As shown in Figure 1, this implementation
The transmission method for the voice data that example provides specifically comprises the following steps:
Step 101, receive audio collection device and gather and pass through the first voice data that USB interface transmits.
When mobile terminal enters call mode, audio collection device enters audio collection state, the first audio that will be collected
Data transmission makes the first voice data be transmitted by usb protocol to USB interface, and first will transmitted by USB interface
Voice data is transmitted to processor.Processor carries out noise reduction by the identifying processing to background sound and keynote to the first voice data
Processing.
Step 102, the first transmission link is established, the first voice data is sent to Bluetooth chip, so that Bluetooth chip leads to
It crosses Bluetooth Communication Technology and the first voice data is transferred to mobile terminal.
After the first voice data that step 101 is received carries out noise reduction process, dynamic first transmission link is established,
Making treated, the first voice data is transmitted to Bluetooth chip.First voice data is transmitted to by Bluetooth chip by Bluetooth protocol
Mobile terminal, and eventually by the communication protocol of mobile terminal, the first voice data is sent to call opposite end.
Step 103, the second transmission link is established, the second audio data that Bluetooth chip is sent is received, wherein the second audio
Data are to be transferred to Bluetooth chip by Bluetooth Communication Technology by mobile terminal.
The second audio data that mobile terminal is received is transmitted to Bluetooth chip by Bluetooth protocol, establishes the second transmission
Link, the second audio data that Bluetooth chip is received are transmitted to processor.
Step 104, second audio data is sent to audio player by USB interface to play out.
The second audio data received is transmitted to USB interface, is transmitted second audio data by USB transport protocol
To audio player, the voice data for opposite end transmission of conversing is passed through audio player plays by final realize.
Step 101, step 102 and step 103, step 104 are two relatively independent processes in the embodiment of the present application, this
Application embodiment does not limit the execution sequence of described two processes.
The transmission method of voice data provided by the embodiments of the present application is gathered by receiving audio collection device and passes through USB
The first voice data that interface transmits;And the first transmission link is established, the first voice data is sent to Bluetooth chip, with
The first voice data is transferred to by mobile terminal by Bluetooth Communication Technology for Bluetooth chip;By establishing the second transmission link,
The second audio data that Bluetooth chip is sent is received, wherein second audio data is to be passed by mobile terminal by Bluetooth Communication Technology
It is defeated by Bluetooth chip;The second audio data is sent to audio player eventually by USB interface to play out.Using this
Scheme adds the selectivity of user, is improving driving communication quality, it can be achieved that pluggable Portable Bluetooth car kit phone
The security of user's driving is enhanced simultaneously.
Embodiment two
Fig. 2 is the flow chart of the transmission method for the voice data that the embodiment of the present application two provides.As shown in Fig. 2, this implementation
The transmission method for the voice data that example provides specifically comprises the following steps:
Step 201, CPU sends preset instructions to Bluetooth chip, and Bluetooth chip is made to be in synchronous towards connection status.
When mobile terminal enters talking state, Bluetooth chip of the universal cpu processor into vehicle sends preset instructions,
It is so that Bluetooth chip sets corresponding state according to preset instructions, i.e., synchronous towards connection status.
Step 202, audio collection device gathers the first voice data.
When mobile terminal enters call mode, audio collection device (audio collection device is integrated equipment with audio player)
Into audio collection state.Audio collection device is connected with USB interface, and the first voice data that audio collection device collects can transmit
To USB interface.
Step 203, the first voice data is transmitted to CPU by USB interface.
First voice data is transmitted to universal cpu processor by USB transport protocol via USB interface.CPU is to transmission
The first voice data handled.
Step 204, echo cancellation is carried out to the first voice data.
Since the second audio is during audio player plays, interior different article reflections can be passed through, it is final again by sound
Frequency collector is gathered and is mixed into the first voice data, so that the effect of echo occurs in the audio for being sent to opposite end.
When the first voice data to collecting carries out echo cancellation, second audio data should be obtained simultaneously, with second
Voice data is used as with reference to signal, by estimating echo path parameter, reference signal is handled, finally draws simulation echo
Data are subtracted by the folded of the first voice data simulated echo data He collected, and obtain the first audio number after echo cancellation
According to.
Step 205, noise reduction process is carried out to the first voice data.
Comprising call keynote and background sound in by echo treated the first video data, since vehicle is being run over
Cheng Zhong, background sound are larger so that call keynote is easily disturbed by background noise, so further carrying out noise reduction to the first voice data
Processing.
Optionally, the method that two microphones noise reduction can be used carries out noise reduction process to the first voice data.By in audio
Collector sets two microphones, and passes through difference amplifier and fold the voice data collected in two microphones and subtract and put
Greatly, achieve the effect that reduce background noise.
Step 206, the first transmission link is established, the first voice data is sent to digital signal processing chip, via number
Word signal processing chip is sent to Bluetooth chip.
After step 205 carries out noise reduction process to voice data, between universal cpu processor and digital signal processing chip
The first transmission link is established, that is, establishes audio and plays link, the first voice data is transmitted in the form of playing at digital signal
Manage chip.
After digital signal processing chip handles the first voice data received, the first voice data is sent to
Bluetooth chip.
Step 207, the first voice data is transmitted to mobile terminal by Bluetooth chip by Bluetooth protocol.
The first voice data received is transmitted to mobile terminal by Bluetooth chip by Bluetooth protocol, eventually by movement
First voice data is transmitted to opposite end by the communication protocol of terminal.
Step 208, second audio data is transmitted to Bluetooth chip by mobile terminal by Bluetooth protocol.
When mobile terminal receives the second audio data of opposite end transmission, the second sound for will being received by Bluetooth protocol
Frequency evidence is transmitted to Bluetooth chip.
Step 209, the second transmission link is established, second audio data is sent to CPU via digital processing chip.
After Bluetooth chip receives the second audio data of mobile terminal transmission, second audio data is transmitted as it
Connected digital processing chip.
Digital processing chip establishes the second transmission link after handling second audio data, that is, establishes audio recording
Second audio data is transmitted to universal cpu processor by link.
Step 210, amplitude modulation processing is carried out to second audio data.
Since environment inside car is more noisy in driving conditions, amplitude modulation processing is carried out to the second audio data received, is made
Second audio data is played in playing process with being more than the volume of some threshold value.
Step 211, second audio data is sent to audio player by USB interface to play out
The second audio data received is transmitted to USB interface, is transmitted second audio data by USB transport protocol
To audio player, the voice data of opposite end transmission is passed through audio player plays by final realize.
The transmission method of voice data provided by the embodiments of the present application is gathered by receiving audio collection device and passes through USB
The first voice data that interface transmits;After echo cancellor and noise reduction process is carried out to the first voice data, audio is established
Link is played, the first voice data is sent to Bluetooth chip by digital processing chip, so that Bluetooth chip is led to by bluetooth
First voice data is transferred to mobile terminal by letter technology;By establishing audio recording transmission link, Bluetooth chip is sent
Second audio data is transmitted to CPU by digital processing chip, and sends the second audio data eventually by USB interface
It is played out to audio player.Using this programme, it can be achieved that pluggable Portable Bluetooth car kit phone, adds the choosing of user
Selecting property enhances the security of user's driving while driving communication quality is improved.
Embodiment three
Fig. 3 is the illustrative view of functional configuration of the transmitting device for the voice data that the embodiment of the present application three provides.Such as Fig. 3 institutes
Show, which mainly includes receiving module 31, the first transport module 32, the second transport module 33, sending module 34.
Receiving module 31, for receiving the first voice data that audio collection device gathered and passed through USB interface and transmits.
When mobile terminal enters call mode, audio collection device enters audio collection state, the first audio that will be collected
Data transmission makes the first voice data be transmitted by usb protocol to USB interface, and first will transmitted by USB interface
Voice data is transmitted to processor.Processor carries out noise reduction by the identifying processing to background sound and keynote to the first voice data
Processing.
First voice data for establishing the first transmission link, is sent to Bluetooth chip by the first transport module 32, for
First voice data is transferred to mobile terminal by Bluetooth chip by Bluetooth Communication Technology.
After the first voice data that receiving module 31 is received carries out noise reduction process, dynamic first chain is established
Road.By treated, the first voice data is transmitted to Bluetooth chip.Bluetooth chip passes the first voice data by Bluetooth protocol
It transports in mobile terminal, and eventually by the communication protocol of mobile terminal, the first voice data is transmitted to opposite end.
Second transport module 33 for establishing the second transmission link, receives the second audio data that Bluetooth chip is sent,
Middle second audio data is to be transferred to Bluetooth chip by Bluetooth Communication Technology by mobile terminal.
The second audio data that mobile terminal receives is transmitted to Bluetooth chip by Bluetooth protocol, establishes the second chain
Road, the second audio data that Bluetooth chip is received are transmitted to processor.
The second audio data is transferred to audio player for passing through USB interface and played out by sending module 34.
The second audio data received is transmitted to USB interface by processor, by USB transport protocol by the second audio number
According to audio player is transmitted to, the voice data of opposite end transmission is passed through audio player plays by final realize.
The transmitting device of voice data provided by the embodiments of the present application receives the acquisition of audio collection device simultaneously by receiving module
The first voice data transmitted by USB interface;And pass through the first transport module and establish the first transmission link, by the first sound
Frequency is according to Bluetooth chip is sent to, so that the first voice data is transferred to movement eventually by Bluetooth chip by Bluetooth Communication Technology
End;Second transmission link is established by the second transport module, the second audio data that Bluetooth chip is sent is received, wherein the second sound
Frequency evidence is to be transferred to Bluetooth chip by Bluetooth Communication Technology by mobile terminal;Pass through USB interface eventually by sending module
Second audio data is sent to audio player to play out.Using this programme, it can be achieved that pluggable Portable Bluetooth car kit
Phone adds the selectivity of user, and the security of user's driving is enhanced while driving communication quality is improved.
Example IV
Fig. 4 is the illustrative view of functional configuration of the transmitting device for the voice data that the embodiment of the present application four provides.
As shown in figure 4, on device basic shown in Fig. 3, the transmitting device of voice data provided in this embodiment also wraps
It includes:State setting module 41, echo cancellation module 42.
State setting module 41, for sending preset instructions to Bluetooth chip, so that Bluetooth chip is set according to preset instructions
Put corresponding state.
When mobile terminal enters talking state, Bluetooth chip of the universal cpu processor into vehicle sends preset instructions,
It is so that Bluetooth chip sets corresponding state according to preset instructions, i.e., synchronous towards connection status.
Echo cancellation module 42, for according to second audio data, handling the first voice data, to eliminate first
The echo data of second audio in voice data.
Since the second audio is during audio player plays, interior different article reflections can be passed through, it is final again by sound
Frequency collector is gathered and is mixed into the first voice data, so that the effect of echo occurs in the audio for being sent to opposite end.
When the first voice data to collecting carries out echo cancellation, second audio data should be obtained simultaneously, with second
Voice data is used as with reference to signal, by estimating echo path parameter, reference signal is handled, finally draws simulation echo
Data are subtracted by the folded of the first voice data simulated echo data He collected, and obtain the first audio number after echo cancellation
According to.
First transport module 32 plays link specifically for establishing audio.
After carrying out noise reduction process to voice data, first is established between universal cpu processor and digital signal processing chip
Transmission link establishes audio and plays link, the first voice data is transmitted to digital signal processing chip in the form of playing.
After digital signal processing chip handles the first voice data received, the first voice data is sent to
Bluetooth chip.
Second transport module 32, specifically for establishing audio recording link.
After Bluetooth chip receives the second audio data of mobile terminal transmission, second audio data is transmitted as it
Connected digital processing chip.
Digital processing chip establishes the second transmission link after handling second audio data, that is, establishes audio recording
Second audio data is transmitted to universal cpu processor by link.
The transmitting device of voice data provided by the embodiments of the present application is sent in advance by state setting module to Bluetooth chip
If instruction, so that Bluetooth chip sets corresponding state according to preset instructions;By echo cancellation module according to the second audio number
According to, the first voice data is handled, with eliminate the first voice data in the second audio echo data;And pass through and establish sound
Frequency plays link, the first voice data is sent to Bluetooth chip by digital processing chip, so that Bluetooth chip passes through bluetooth
First voice data is transferred to mobile terminal by the communication technology;And by establishing audio recording transmission link, by Bluetooth chip
The second audio data of transmission is transmitted to CPU by digital processing chip, and sends out second audio data eventually by USB interface
Audio player is given to play out.Using this programme, it can be achieved that pluggable Portable Bluetooth car kit phone, adds user's
Selectivity enhances the security of user's driving while driving communication quality is improved.
Embodiment five
Fig. 5 is the illustrative view of functional configuration of the vehicle for the execution audio data transmission method that the embodiment of the present application five provides.
As shown in figure 5, the vehicle includes:Transmitting device 51, Bluetooth chip 52, audio collection device 53, the audio player of voice data
54.Wherein, audio collection device 53 and audio player 54 are connected by the transmitting device 51 of USB interface and voice data.Audio
Collector 53 and audio player 54 become one equipment.
The vehicle for performing audio data transmission method further includes digital signal processing chip 55.The transmitting device of voice data
51 are connected by digital signal processing chip 55 with Bluetooth chip 52.
The vehicle provided by the embodiments of the present application for performing audio data transmission method, can perform the transmission of the voice data
Method.Pluggable Portable Bluetooth car kit phone can be achieved, add the selectivity of user, improving driving communication quality
The security of user's driving is enhanced simultaneously.
Several preferred embodiments of the application have shown and described in above description, but as previously described, it should be understood that the application
Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and available for various other combinations,
Modification and environment, and above-mentioned introduction or the technology or knowledge of association area can be passed through in the scope of the invention is set forth herein
It is modified.And changes and modifications made by those skilled in the art do not depart from spirit and scope, then it all should be in this Shen
It please be in the protection domain of appended claims.