A kind of noise reduction data transmission method and equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of noise reduction data transmission method and equipment.
Background technology
Vehicle device is a kind of abbreviation of the on-vehicle information amusing products in vehicle centre console, has and calls, broadcasts
Put the functions such as multimedia file.For vehicle device play audio file implementation process for, the process as shown in Figure 1a, including:
Vehicle device reads the voice data in audio file from the memory space for preserving audio file;According to certain transmission rate,
The voice data read is transmitted to D/A converter;Voice data is converted into electric signal by D/A converter, the telecommunications
Number it can transmit to loudspeaker;Loudspeaker is according to the electric signal output sound wave received, so as to realize the broadcasting of audio file.Its
In, D/A converter refers to the device for converting digital signals into analog signal.
In actual scene, vehicle device may play audio file in more noisy environment, and this can cause loudspeaker
The sound wave of output is corresponded to by the interference of other sound waves (claiming noise afterwards) in environment so that user is difficult to clearly hear
The sound wave of audio file.More noisy environment mentioned here, for example can be the environment that people warmly talk in the car, or
Person is in the case where vehicle window is opened, the higher environment of noise decibel outside car, etc..
In order to solve the above problems, there is correlation technique proposition, vehicle device can generate de-noising signal according to noise, and utilize and be somebody's turn to do
De-noising signal reaches the interference for reducing noise to sound wave.Wherein, de-noising signal mentioned here, can also be changed by loudspeaker
For a kind of sound wave, the de-noising signal functionally, can reach:In the case of the noise being in the environment present, if the drop
Sound wave corresponding to noise cancellation signal exports together with sound wave corresponding to audio file from loudspeaker, can play and offset the noise to sound
The effect of the interference of sound wave corresponding to frequency file.
In correlation technique, generate de-noising signal and reduce the process of the interference as shown in Figure 1 b using de-noising signal.Figure
In 1b, on the one hand, for voice data, vehicle device can read the audio in audio file from audio files storage space
Data, and according to set default transport speed rates to D/A converter;On the other hand, vehicle device can utilize sound collecting
Device (such as microphone), is acquired to noise, and (converts analog signals into the device of data signal using A/D converter
Part), the noise collected is converted into corresponding data signal (claiming noise data afterwards);Then, vehicle device is given birth to according to noise reduction data
It (be may be provided at into algorithm in algoritic module), generate noise reduction data corresponding to de-noising signal and preserve empty to noise reduction data storage
Between;Vehicle device reads noise reduction data from noise reduction data space, and according to set default transport speed rates to D/A switch
Device.
On the one hand voice data is converted into electric signal (claiming the first electric signal), the first electric signal meeting by D/A converter
Transmit to loudspeaker;On the other hand, noise reduction data are converted into electric signal (claiming the second electric signal), second electric signal can transmit
To loudspeaker.Loudspeaker exports sound wave and de-noising signal pair corresponding to corresponding voice data according to the electric signal received
The sound wave answered.
Above-mentioned prior art, set default transport bandwidth is often set for noise reduction data in advance, and this allows for dropping
Used peak transfer rate is restricted when data transfer of making an uproar is to D/A converter, the drop that loudspeaker may be caused to export
Sound wave distortion corresponding to noise cancellation signal.Once sound wave distortion corresponding to de-noising signal, it is impossible to effectively offset ambient noise, user is by difficulty
Clearly to hear the sound wave corresponding to audio file.
In addition, other computing devices can also exist when being played out using above-mentioned similar fashion to audio file
Above mentioned problem.
The content of the invention
In view of this, it is existing for solving the embodiments of the invention provide a kind of noise reduction data transmission method and equipment
When according to set default transport bandwidth for transmission noise reduction data, the transmission rate of noise reduction data is limited computing device, may be led
The problem of causing de-noising signal distortion corresponding to noise reduction data.
The embodiments of the invention provide a kind of noise reduction data transmission method, including:
Determine the specified attribute value of de-noising signal;The specified attribute value of the de-noising signal, to be characterized under specified requirements
Transmit the property value of the transmission bandwidth needed for noise reduction data;The specified requirements includes:So that D/A converter according to noise
Sample rate corresponding to D/A switch speed, it is raw after being changed to the noise reduction data for being transferred to the D/A converter
Into de-noising signal it is undistorted;The noise reduction data, it is data corresponding to the de-noising signal;
According to the specified attribute value of the de-noising signal, it is determined that transmitting the transmission bandwidth of the noise reduction data;
According to the transmission bandwidth determined, the noise reduction data are transmitted.
The embodiments of the invention provide a kind of noise reduction data transmission set, including:
Computing unit, for determining the specified attribute value of de-noising signal;The specified attribute value of the de-noising signal, to characterize
The property value of the transmission bandwidth needed for noise reduction data is transmitted under specified requirements;The specified requirements includes:So that D/A switch
Device is according to D/A switch speed corresponding with the sample rate of noise, the noise reduction data to being transferred to the D/A converter
The de-noising signal generated after being changed is undistorted;The noise reduction data, it is data corresponding to the de-noising signal;
Determining unit, according to the specified attribute value of the de-noising signal, it is determined that transmitting the transmission bandwidth of the noise reduction data;
Transmission unit, for the transmission bandwidth determined according to the determining unit, the noise reduction data are carried out
Transmission.
The embodiment of the present invention additionally provides a kind of noise reduction data transmission method, including:
It is determined that the first transmission bandwidth of transmission noise reduction data, first transmission bandwidth is according to the noise reduction data of above-mentioned record
Transmission method determine to obtain;
The voice data is transmitted according to the second transmission bandwidth needed for transmission voice data, and according to described the
One transmission bandwidth is transmitted to the noise reduction data;The voice data, for the data in the audio file of broadcasting.
The embodiment of the present invention additionally provides a kind of noise reduction data transmission set, including:
Determining unit, for determining the first transmission bandwidth of transmission noise reduction data, first transmission bandwidth is according to above-mentioned
The transmission method of the noise reduction data of record determines to obtain;
Transmission unit, for being passed according to the second transmission bandwidth needed for transmission voice data to the voice data
It is defeated, and the noise reduction data are transmitted according to first transmission bandwidth;The voice data, for the audio file of broadcasting
In data.
The present invention has the beneficial effect that:
Technical scheme provided in an embodiment of the present invention, according to the specified attribute value of de-noising signal, it is determined that transmission de-noising signal
Transmission bandwidth needed for corresponding noise reduction data, and the noise reduction data are transmitted according to the transmission bandwidth of determination, compared to existing
In technology the specified attribute value according to de-noising signal is used using the transmission bandwidth transmission noise reduction data of setting, the embodiment of the present invention
The transmission bandwidth transmission noise reduction data of determination, can cause the transmission rate of noise reduction data with ensureing the distortionless feelings of de-noising signal
Required transmission rate matches under condition, so as to meet the needs of noise reduction data mutual transmission defeated bandwidth so that according to
D/A switch speed corresponding to the sample rate of noise, the de-noising signal generated after being changed to the noise reduction data are undistorted.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings
His accompanying drawing.
Fig. 1 a are the schematic diagram that vehicle device plays audio file in the prior art;
Fig. 1 b are the schematic diagram that vehicle device reduces noise jamming using de-noising signal in the prior art;
Fig. 2 is a kind of schematic flow sheet of noise reduction data transmission method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of noise reduction data transmission method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of noise reduction data transmission method provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram that vehicle device provided in an embodiment of the present invention plays audio file;
Fig. 6 is a kind of structural representation of noise reduction data transmission set provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of noise reduction data transmission set provided in an embodiment of the present invention.
Embodiment
In the prior art, when transmitting noise reduction data, it is transmitted usually using set default transport bandwidth so that drop
Used peak transfer rate is restricted when data transfer of making an uproar is to D/A converter.Such as the transmission bandwidth of set acquiescence
For A kbps, and current noise is larger, causes the amount of the corresponding noise reduction data of generation in the unit interval larger, and then cause drop
The actually required transmission bandwidth of data of making an uproar is that B kbps, B are more than A, then, noise reduction data are transmitted according to A kbps, list will be caused
The noise reduction data of transmission are less than the noise reduction data of generation in the unit interval (equivalent to the data occurred in the unit interval in the time of position
Loss of data is generated in transmission) so that by the de-noising signal distortion after noise reduction data conversion.Also, in practical application
In scene, noise reduction data can change with the change of ambient noise, and the transmission bandwidth transmitted needed for noise reduction data also can be corresponding
Change, so, transmit noise reduction data using the transmission bandwidth of setting, it is also possible to when the transmission bandwidth for occurring setting is much larger than unit
The amount of the noise reduction data of interior generation, so as to cause unnecessary transmission resource waste.
Technical scheme provided in an embodiment of the present invention, according to the specified attribute value of de-noising signal, it is determined that transmission de-noising signal
Transmission bandwidth needed for corresponding noise reduction data, and the noise reduction data are transmitted according to the transmission bandwidth of determination, compared to existing
In technology the specified attribute value according to de-noising signal is used using the transmission bandwidth transmission noise reduction data of setting, the embodiment of the present invention
The transmission bandwidth transmission noise reduction data of determination, can cause the transmission rate of noise reduction data with ensureing the distortionless feelings of de-noising signal
Required transmission rate matches under condition, so as to meet the needs of noise reduction data mutual transmission defeated bandwidth so that according to
D/A switch speed corresponding to the sample rate of noise, the de-noising signal generated after being changed to the noise reduction data are undistorted.
The embodiment of the present invention, the noise reduction data can be converted to after computing device transmits noise reduction data
De-noising signal it is undistorted, and then allow de-noising signal effectively to offset the interference of ambient noise, the computing device can be with
The vehicle device being mounted in vehicle centre console or other there is the equipment of audio playing function, such as, mobile phone, notes
This computer, etc..
Below in conjunction with accompanying drawing, the present invention is described in further detail, it is clear that described embodiment is only this
Invention part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art exist
The all other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment 1
Fig. 2 is a kind of schematic flow sheet of noise reduction data transmission method provided in an embodiment of the present invention, and methods described is as follows
It is described.
Step 201:Determine the specified attribute value of de-noising signal.
In step 201, in it the environment of ambient noise be present, Noise Acquisition equipment can be used to gather the environment and made an uproar
Sound, and ambient noise is sampled according to the sample rate needed for ambient noise, the noise data after being digitized, now,
Noise reduction data can be generated according to the noise data after digitlization, the noise reduction data are data corresponding to de-noising signal.
It should be noted that when being sampled to the noise, the sample rate needed for noise can be the noise
At least 2 times of peak frequency so that the data signal that the noise obtains according to the sample rate can be included intactly
Information in the noise.
So, after noise reduction data are obtained according to ambient noise, it may be determined that obtain the specified attribute of the de-noising signal
Value, the specified attribute value of de-noising signal here, noise reduction data institute corresponding to de-noising signal is transmitted to be characterized under specified requirements
The property value of the transmission bandwidth needed.
In embodiments of the present invention, the specified attribute value of the de-noising signal can be noise corresponding to the de-noising signal
The quantity and/or noise type of type, the noise type, the type of the noise as caused by different reasons is referred to, such as, car
Noise caused by tire can be a type of noise in the process of moving, noise caused by vehicle motor operation
Can be a type of noise, further, since the fast running of vehicle and cause sound of the wind caused by air rapid flow to be also
A type of noise (wind is made an uproar), etc..
In practical application scene, the quantity of noise type corresponding to the de-noising signal and/or noise type are determined
Method, including:Spectrum analysis can be carried out to the noise collected, it is true according to the analysis result after analysis result is obtained
The quantity and/or noise type of the fixed noise type.
Specifically, the frequency spectrum of the obtained noise can will be analyzed, is entered with the frequency spectrum of default different types of noise
Row contrast, according to comparing result, the type for the noise that the noise includes is determined, and then determines the quantity of the noise type,
Wherein, the frequency spectrum of the default different types of noise can be obtained by carrying out spectrum analysis to different types of noise in advance
Arrive.
For example for noise (hereinafter referred to as tyre noise) caused by vehicle in the process of moving tire, it will can preset
The frequency spectrum of the noise of the frequency spectrum with collecting of tyre noise contrasted, it is determined that whether being wrapped in the noise collected
Containing tyre noise, if comprising, then, the quantity of the noise type can be added one.If according to similar approach, also determine
Go out and other kinds of noise is included in the noise collected, then the quantity can be increased again.
In embodiments of the present invention, the specified attribute value of the de-noising signal can also be that basis is adopted according to the sample rate
The ambient noise that sample obtains, the data volume of the noise reduction data generated within the unit interval, wherein, the data volume can be with table
Levying the power of noise corresponding to the de-noising signal, (data volume is bigger, and the intensity of noise is stronger.)
The specified requirements can include:So that D/A converter is according to D/A switch corresponding with the sample rate of noise
Speed, the de-noising signal generated after being changed to the noise reduction data for being transferred to the D/A converter are undistorted.Also
It is to say, according to D/A switch speed corresponding with the sample rate of noise, after noise reduction data are converted into de-noising signal, conversion
De-noising signal afterwards can include the full detail in noise reduction data, i.e., sound wave corresponding to described de-noising signal can offset described
The interference of ambient noise.
Step 202:According to the specified attribute value of the de-noising signal, it is determined that transmitting the transmission bandwidth of the noise reduction data.
In step 202, it is known that the specified attribute value of the noise reduction data, can be according to the de-noising signal of determination
Specified attribute value, it is determined that transmitting the transmission bandwidth of the noise reduction data.
In embodiments of the present invention, it is determined that transmitting the transmission bandwidth needed for de-noising signal, determination transmission institute can be equal to
State the message transmission rate of noise reduction data.That is, according to the specified attribute value of the de-noising signal, it is determined that being counted with what kind of
The noise reduction data are transmitted according to transmission rate so that according to D/A switch speed corresponding with the sample rate, to the drop
The de-noising signal generated after data are changed of making an uproar is undistorted.
Based on the content described in above-mentioned steps 101, the specified attribute value can be made an uproar corresponding to the de-noising signal
The quantity and/or noise type of sound type or according to the noise obtained according to the sample rate, in the unit interval
The data volume of the noise reduction data inside actually generated, then, in embodiments of the present invention, it can be determined in terms of above-mentioned two
Transmit the transmission bandwidth of the noise reduction data.
Specifically, when the specified attribute value is " quantity of noise type corresponding to the de-noising signal and/or noise class
During type ", it is determined that the transmission bandwidth of the noise reduction data is transmitted, including:
According to the quantity and/or noise type of the noise type, prediction basis obtains according to the sample rate
Noise, the data volume of the noise reduction data generated within the unit interval;
According to the data volume predicted, it is determined that transmitting the transmission bandwidth of the noise reduction data.
In practical application scene, if the noise type is relatively more, it may be said that bright, the noise in environment is miscellaneous
Disorderly, interference is stronger, then, it can predict that the data volume of the noise reduction data of generation in the unit interval is relatively more, at this point it is possible to
It is determined that the transmission bandwidth for transmitting the noise reduction data is bigger;If the noise type is fewer, it may be said that it is bright, in environment
The type of the noise is relatively simple, then, it can predict that the data volume of the noise reduction data of generation in the unit interval compares
It is few, at this point it is possible to determine that the transmission bandwidth for transmitting the noise reduction data is smaller.
In the embodiment of the present invention, it can be estimated beforehand through the mode of experiment before ensureing that de-noising signal is distortionless
Put, corresponding to various noise types that may be present, unit interval domestic demand transmit to D/A converter noise reduction data most
Big data quantity, and every kind of noise type is directed to, preserve the maximum data value estimated.Subsequently, based on described in preservation most
Big data value, can be after noise type be determined, the maximum amount of data according to corresponding to different noise types, estimates respectively
Count the data volume of the noise reduction data generated within the unit interval.Specifically, the noise type determined can be corresponded to respectively
The maximum amount of data summation, the data volume as the noise reduction data generated in the unit interval predicted.
In the embodiment of the present invention, if assuming the method by testing, estimate and ensureing the distortionless premise of de-noising signal
Under, various noise types that may be present are corresponding, unit interval domestic demand is transmitted to the maximum of the noise reduction data of D/A converter
Data volume difference is smaller, then, the maximum in the maximum amount of data is preserved.Subsequently, based on described in preservation most
Big value, after noise type is determined, can count the quantity for the noise type determined, then, preservation is multiplied by with the quantity
The product value that is worth to of the maximum, the data volume as the noise reduction data generated in the unit interval predicted.
When the specified attribute value is " actual within the unit interval according to the noise obtained according to the sample rate
, can be according to the number of the noise reduction data actually generated within the unit interval during the data volume of the noise reduction data of generation "
The transmission bandwidth is determined according to amount, such as, when the data volume of the noise reduction data actually generated within the unit interval is more,
It can determine that the transmission bandwidth is bigger, the data volume of the noise reduction data actually generated within the unit interval is fewer
When, it may be determined that the transmission bandwidth is smaller., can be by exporting to noise reduction data generating algorithm in the embodiment of the present invention
Noise reduction data carry out traffic monitoring, it is determined that " according to the noise obtained according to the sample rate, actually being given birth within the unit interval
Into the noise reduction data data volume ".
Step 203:According to the transmission bandwidth determined, the noise reduction data are transmitted.
In step 203, can be according to the transmission bandwidth of determination, to the drop when transmitting the noise reduction data
Data of making an uproar are transmitted so that so that D/A converter is according to D/A switch speed corresponding with the sample rate of noise, to institute
It is undistorted to state the de-noising signal generated after noise reduction data are changed.
In another embodiment of the invention, according to the transmission bandwidth determined, the noise reduction data are passed
After defeated, methods described also includes:
After the specified attribute value of the de-noising signal changes, according to the specified attribute value after change, it is determined that
Transmit the transmission bandwidth of corresponding noise reduction data;
According to the transmission bandwidth determined according to the specified attribute value after change, corresponding noise reduction data are entered
Row transmission.
In actual applications, ambient noise is not changeless, then, the environment that can monitor transmission environment in real time is made an uproar
Sound, when it is determined that ambient noise changes, new de-noising signal, now, institute can be generated according to the ambient noise after change
Stating the specified attribute value of new de-noising signal can also change.
When the specified attribute value changes, in order that noise reduction data corresponding to the new de-noising signal can be with
Transmit, can determine to pass according to the method for above-mentioned record according to the specified attribute value after change under the specified requirements
The transmission bandwidth of noise reduction data corresponding to the defeated new de-noising signal, and the new transmission bandwidth determined is used, described in transmission
New noise reduction data.Wherein, corresponding noise reduction data are noise reduction data corresponding to the new de-noising signal.
For example when it is determined that ambient noise becomes strong, the new noise reduction data can be transmitted with higher transmission bandwidth,
, can be with than the relatively low transmission bandwidth transmission new data that will make an uproar when determining that the ambient noise dies down.
Technical scheme provided in an embodiment of the present invention, according to the specified attribute value of de-noising signal, it is determined that transmission de-noising signal
Transmission bandwidth needed for corresponding noise reduction data, and the noise reduction data are transmitted according to the transmission bandwidth of determination, compared to existing
In technology the specified attribute value according to de-noising signal is used using the transmission bandwidth transmission noise reduction data of setting, the embodiment of the present invention
The transmission bandwidth transmission noise reduction data of determination, can cause the transmission rate of noise reduction data with ensureing the distortionless feelings of de-noising signal
Required transmission rate matches under condition, so as to meet the needs of noise reduction data mutual transmission defeated bandwidth so that according to
D/A switch speed corresponding to the sample rate of noise, the de-noising signal generated after being changed to the noise reduction data are undistorted.
Embodiment 2
Fig. 3 is a kind of schematic flow sheet of noise reduction data transmission method provided in an embodiment of the present invention, and methods described is as follows
It is described.
Step 301:It is determined that the first transmission bandwidth of transmission noise reduction data.
In step 301, computing device, if there is ambient noise, is made an uproar when playing audio file in order to offset environment
The interference of sound, de-noising signal can be generated according to the ambient noise, and determine to transmit noise reduction number corresponding to the de-noising signal
According to the first transmission bandwidth so that after transmitting the noise reduction data according to first transmission bandwidth, the noise reduction data conversion
The de-noising signal afterwards can offset the interference of the ambient noise.
Specifically, it can determine that transmit the noise reduction data first transmits according to the method described in above-described embodiment 1
Bandwidth, description is not repeated herein.
Step 302:The voice data is transmitted according to the second transmission bandwidth needed for transmission voice data, and pressed
The noise reduction data are transmitted according to first transmission bandwidth.
Wherein, the voice data, for the data in the audio file of broadcasting.
In step 302, computing device is when playing audio file, can be with order to offset the interference of the ambient noise
The voice data is transmitted according to the second transmission bandwidth needed for voice data corresponding to the audio file, and simultaneously according to institute
State the first transmission bandwidth and transmit the noise reduction data.
In practical application scene, can by the voice data and the noise reduction data transfer to D/A converter,
So, the voice data can be converted into corresponding first by the D/A converter according to the D/A switch speed of setting
Electric signal, and according to D/A switch speed corresponding with the sample rate of noise, the noise reduction data are converted into corresponding
Two electric signals.
The D/A converter can be by first electric signal and second electric signal output to loudspeaker, institute
Loudspeaker is stated when receiving first electric signal and second electric signal, first electric signal is converted into audio
Sound wave corresponding to data exports, and second electric signal is converted into sound wave corresponding to noise reduction data exports.
So, it is therefore, described due to being transmitted according to first transmission bandwidth of determination to the noise reduction data
The de-noising signal that D/A converter generates after the noise reduction data are converted does not have distortion, and then causes the de-noising signal pair
The sound wave answered can offset the noise in environment.
In another embodiment of the invention, according to the second transmission bandwidth needed for transmission voice data to the audio number
According to being transmitted, and after being transmitted according to first transmission bandwidth to the noise reduction data, methods described also includes:
When the noise of the transmission environment changes, according to the noise after change, it is determined that transmitting corresponding noise reduction number
According to the 3rd transmission bandwidth;
The voice data is transmitted according to first transmission bandwidth, and according to the 3rd transmission bandwidth to phase
The noise reduction data answered are transmitted.
In actual applications, the ambient noise of transmission environment can be monitored in real time, when it is determined that ambient noise changes,
New de-noising signal can be generated according to the noise after change, in order to which sound wave corresponding to the new de-noising signal can support
Disappear ambient noise.
After the new de-noising signal is generated, the specified attribute value of the new de-noising signal is specified relative to original
Property value can also change, at this point it is possible to according to the specified attribute value after change, according to the side described in above-described embodiment 1
Method determines to obtain transmit noise reduction data corresponding to the new de-noising signal (the corresponding noise reduction data of i.e. above-mentioned record)
Three transmission bandwidths, after transmitting corresponding noise reduction data according to the 3rd transmission bandwidth, corresponding noise reduction
De-noising signal after data conversion is undistorted.
In embodiments of the present invention, " first " in first transmission bandwidth, " in second transmission bandwidth
Two " and the 3rd transmission bandwidth in " the 3rd ", it is special without other only to facilitate distinguish different transmission bandwidth
Implication.
It is determined that after the 3rd transmission bandwidth, the voice data can be passed according to first transmission bandwidth
It is defeated, and corresponding noise reduction data are transmitted according to the 3rd transmission bandwidth simultaneously.
So, it is described if by the voice data and corresponding noise reduction data transfer to D/A converter
D/A converter by electric signal output corresponding to electric signal corresponding to the voice data and corresponding noise reduction data extremely
Loudspeaker, loudspeaker exports sound wave corresponding to sound wave corresponding to the voice data and the new de-noising signal, and then supports
Ambient noise after the change to disappear in environment.
In practical application scene, computing device, can be in real time in monitoring of environmental during audio file is played
Ambient noise, and de-noising signal is determined according to the ambient noise real-time monitored, according to the specified attribute value of the de-noising signal,
The transmission bandwidth of the transmission noise reduction data is determined in real time so that described after the noise reduction data are converted into de-noising signal
De-noising signal is undistorted, and sound wave can offset the ambient noise changed in environment corresponding to the de-noising signal.
In the embodiment of the present invention, computing device is when playing audio file, according to audio number corresponding to the audio file
The voice data is transmitted according to required transmission bandwidth, and the noise reduction number is transmitted according to the transmission bandwidth determined for noise reduction data
According to so that after sound wave corresponding to the de-noising signal after the conversion of noise reduction data can offset ambient noise to voice data conversion
Sound wave interference, and when ambient noise changes, change the corresponding drop of transmission in real time according to the ambient noise after change
The transmission bandwidth made an uproar needed for data so that the de-noising signal after the conversion of noise reduction data can be with undistorted, and then de-noising signal is corresponding
Sound wave can offset interference of the ambient noise to sound wave corresponding to voice data.
Embodiment 3
Fig. 4 is a kind of schematic flow sheet of noise reduction data transmission method provided in an embodiment of the present invention.Methods described is as follows
It is described.
Step 401:Determine the specified attribute value of de-noising signal.
In step 401, de-noising signal can be generated according to ambient noise, and then determines specifying for the de-noising signal
Property value.
The specified attribute value of the de-noising signal is identical with the implication of the specified attribute value described in above-described embodiment 1.
Step 402:According to the specified attribute value of the de-noising signal, it is determined that transmitting noise reduction number corresponding to the de-noising signal
According to the first transmission bandwidth.
In step 402, can be according to the method described in above-described embodiment 1, it is determined that it is corresponding to transmit the de-noising signal
Noise reduction data the first transmission bandwidth.
Step 403:The voice data is transmitted according to the second transmission bandwidth needed for transmission voice data, and pressed
The noise reduction data are transmitted according to first transmission bandwidth.
Wherein, the voice data, for the data in the audio file of broadcasting.
In step 403, computing device is when playing audio file, in order to avoid ambient noise is to corresponding to audio file
The interference of sound wave, can be with when being transmitted according to the second transmission bandwidth needed for the voice data to the voice data
The noise reduction data are transmitted according to first transmission bandwidth simultaneously so that the noise reduction letter after the noise reduction data conversion
Sound wave corresponding to number can offset the interference of ambient noise.
Step 404:Judge whether the ambient noise changes.
In actual applications, computing device is during audio file is played, if the ambient noise does not occur
Change, then continue executing with above-mentioned steps 403;If the ambient noise changes, step 405 is performed.
Step 405:According to the ambient noise after change, new de-noising signal is generated.
In step 405, when the ambient noise changes, in order to avoid the ambient noise after change is to sound wave
Interference, can generate new de-noising signal according to the ambient noise after change.
Step 406:It is determined that the 3rd transmission bandwidth of noise reduction data corresponding to the transmission new de-noising signal.
In a step 406, de-noising signal changes as new de-noising signal, if according to first transmission bandwidth
Noise reduction data corresponding to transmitting the new de-noising signal, the new de-noising signal distortion may be caused, therefore, can basis
Method described in above-described embodiment 1, it is determined that the 3rd transmission bandwidth of noise reduction data corresponding to the transmission new de-noising signal.
Step 407:The voice data is transmitted according to first transmission bandwidth, and according to the described 3rd transmission
Bandwidth is transmitted to the new noise reduction data.
In step 407, computing device according to first transmission bandwidth to the voice data when being transmitted, together
When the new noise reduction data are transmitted according to the 3rd transmission bandwidth, so, new noise reduction data conversion after it is new
De-noising signal it is undistorted, sound wave corresponding to the new de-noising signal can offset change after ambient noise to audio file
The interference of corresponding sound wave.
Embodiment 4
Fig. 5 is the schematic diagram that vehicle device provided in an embodiment of the present invention plays audio file.
From figure 5 it can be seen that collector is collecting ambient noise, given birth to by A/D converter and algoritic module
Into de-noising signal, the transmission bandwidth computing module in Fig. 5, transmission institute is determined for the method described according to embodiments of the present invention
State the transmission bandwidth of noise reduction data corresponding to de-noising signal.So, by noise reduction data transfer corresponding to the de-noising signal extremely
During D/A converter, the transmission bandwidth determined using transmission bandwidth computing module is transmitted so that D/A converter will
De-noising signal after the noise reduction data conversion received is undistorted, and sound wave corresponding to the de-noising signal of loudspeaker output can be with
Offset the interference of ambient noise.
Embodiment 5
Fig. 6 is a kind of structural representation of noise reduction data transmission set provided in an embodiment of the present invention.The noise reduction data
Transmission equipment includes:Computing unit 61, determining unit 62 and transmission unit 63, wherein:
Computing unit 61, for determining the specified attribute value of de-noising signal;The specified attribute value of the de-noising signal, it is table
Levy the property value that the transmission bandwidth needed for noise reduction data is transmitted under specified requirements;The specified requirements includes:So that D/A turns
Parallel operation is according to D/A switch speed corresponding with the sample rate of noise, the noise reduction number to being transferred to the D/A converter
It is undistorted according to the de-noising signal generated after being changed;The noise reduction data, it is data corresponding to the de-noising signal;
Determining unit 62, according to the specified attribute value of the de-noising signal, it is determined that transmitting the transmission belt of the noise reduction data
It is wide;
Transmission unit 63, for the transmission bandwidth determined according to the determining unit 62, to the noise reduction data
It is transmitted.
In embodiments of the present invention, the specified attribute value for the de-noising signal that the computing unit 61 determines, including:
The quantity and/or noise type of noise type corresponding to the de-noising signal.
The determining unit 62, is specifically used for:
According to the quantity and/or noise type of the noise type, prediction basis obtains according to the sample rate
Noise, the data volume of the noise reduction data generated within the unit interval;
According to the data volume predicted, it is determined that transmitting the transmission bandwidth of the noise reduction data.
The computing unit 61, is specifically used for:
To the carry out spectrum analysis of the noise collected;
According to analysis result, the quantity and/or noise type of the noise type are determined.
In embodiments of the present invention, the specified attribute value for the de-noising signal that the computing unit 61 determines, including:
According to the noise obtained according to the sample rate, the noise reduction data actually generated within the unit interval
Data volume.
The determining unit 62, it is additionally operable in the transmission unit 63 according to the transmission bandwidth determined, to described
After noise reduction data are transmitted, after the specified attribute value of the de-noising signal changes, according to described specified after change
Property value, it is determined that transmitting the transmission bandwidth of the noise reduction data;
The transmission unit 63, it is additionally operable to according to the transmission belt determined according to the specified attribute value after change
Width, corresponding noise reduction data are transmitted.
It should be noted that Noise reducing of data transmission equipment provided in an embodiment of the present invention can be realized by hardware mode,
It can also be realized by software mode, do not limited here.
Embodiment 6
Fig. 7 is a kind of structural representation of noise reduction data transmission set provided in an embodiment of the present invention.The noise reduction data
Transmission equipment includes:Generation unit 71, determining unit 72 and transmission unit 73, wherein:
Determining unit 71, for determining the first transmission bandwidth of transmission noise reduction data, first transmission bandwidth is according to reality
The method described in example 1 is applied to determine to obtain;
Transmission unit 72, for being passed according to the second transmission bandwidth needed for transmission voice data to the voice data
It is defeated, and the noise reduction data are transmitted according to first transmission bandwidth;The voice data, for the audio file of broadcasting
In data.
The determining unit 71, it is additionally operable in the transmission unit 72 according to the second transmission belt transmitted needed for voice data
Width is transmitted to the voice data, and after being transmitted according to first transmission bandwidth to the noise reduction data, in institute
When stating the noise of transmission environment and changing, according to the noise after change, it is determined that transmitting the 3rd transmission of corresponding noise reduction data
Bandwidth;
The transmission unit 72, it is additionally operable to be transmitted the voice data according to first transmission bandwidth, and presses
The new noise reduction data are transmitted according to the 3rd transmission bandwidth.
It should be noted that Noise reducing of data transmission equipment provided in an embodiment of the present invention can be realized by hardware mode,
It can also be realized by software mode, do not limited here.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, apparatus (equipment) or computer
Program product.Therefore, in terms of the present invention can use complete hardware embodiment, complete software embodiment or combine software and hardware
Embodiment form.Moreover, the present invention can use the meter for wherein including computer usable program code in one or more
The computer journey that calculation machine usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of sequence product.
The present invention is the flow chart with reference to method, apparatus (equipment) and computer program product according to embodiments of the present invention
And/or block diagram describes.It should be understood that can be by each flow in computer program instructions implementation process figure and/or block diagram
And/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided to refer to
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is made to produce
One machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing
The device for the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the model of various changes and modification without departing from the present invention to the present invention
Enclose.So, if these modifications and variations of the present invention belong within the scope of the claims in the present invention and its equivalent technologies, then
The present invention is also intended to comprising including these changes and modification.