A kind of audio signal method and system that intelligently switching exports
Technical field
The present invention relates to signal transmission technology fields, and in particular to a kind of audio signal is intelligent to be switched the method exported and be
System.
Background technique
MW Transmitting Station mainly undertakes the relay task in center and provincial radio programmes, and signal source is mainly satellite
Signal, fiber-optic signal and microwave signal etc. guarantee that the uninterrupted output of program is particularly important for broadcasting station.
When the signal broadcasted breaks down, needs manually to switch it into the other signals of output, not can guarantee
Switching in time, or the signal of switching also break down, it will broadcasting accident occurs, if whole signals all break down, or
Person's manual switching troubleshooting is not in time, it will occurs breaking accident, causes broadcasting to be forced to interrupt, not can guarantee safe broadcast.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of audio signal method and system that intelligently switching exports, and lead to
The audio amplitude for crossing monitoring multipath audio signal intelligently switches when the audio signal broadcasted breaks down according to permission
Output audio signal.
The technical scheme to solve the above technical problems is that
According to one aspect of the present invention, a kind of audio signal method that intelligently switching exports, the method packet are provided
It includes:
S101, the received multipath audio signal of MW Transmitting Station is weighed according to signal quality and reliability setting audio signal
Limit sequence;
S102, the in real time audio signal described in multichannel carry out full frequency band acquisition, when obtaining lasting per audio signal all the way
Between and per audio signal all the way in voice signal the dwell interval time, and then the sound per audio signal all the way is calculated
Frequency amplitude;
Whether S103, judgement reach effective audio amplitude standard of setting per the audio amplitude of audio signal all the way, according to
Judging result is determined per the corresponding level state of audio signal all the way;
The every corresponding level state of audio signal and the audio signal permission of setting all the way that S104, basis obtain
Sequence intelligence switching output audio signal.
According to another aspect of the invention, a kind of audio signal system that intelligently switching exports, the system are provided
Include:
Authority setting unit, for setting the received multipath audio signal of MW Transmitting Station according to signal quality and reliability
Audio signal permission sequence;
Audio amplitude computing unit carries out full frequency band acquisition for the audio signal described in multichannel in real time, obtains per all the way
The duration of audio signal and the dwell interval time of the voice signal in every audio signal all the way, and then be calculated every
The audio amplitude of audio signal all the way;
State acquiring unit, for judging whether the audio amplitude per audio signal all the way reaches effective sound of setting
Frequency amplitude criteria is determined according to judging result per the corresponding level state of audio signal all the way;
Switch output unit, for according to obtained every corresponding level state of audio signal all the way and setting
Audio signal permission sequence intelligence switching output audio signal.
Beneficial effects of the present invention: can be to the received multipath audio signal of MW Transmitting Station according to signal quality and reliable
Property setting audio signal permission sequence, be divided into the maximum audio signal of main road all the way of permission and same more with permission sequence
Road carries out real-time monitoring to main road audio signal all the way and multichannel for road audio signal for road audio signal, judges each
Whether the audio amplitude of road audio signal reaches effective audio amplitude standard of setting, the automatic root when audio signal breaks down
According to the audio signal permission sequence intelligence switching output state signal set as the audio signal of effective status, guarantee program
The uninterrupted quality broadcasted and guarantee the audio signal broadcasted, and lead directly to output main road audio signal when power is off, and
When audio signal breaks down, alarms to carry out reason inspection in time, take emergency measures, avoid the occurrence of and break thing
Therefore.
Detailed description of the invention
Fig. 1 is that a kind of audio signal of the embodiment of the present invention one intelligently switches the method flow diagram of output;
Fig. 2 is that a kind of audio signal of the embodiment of the present invention two intelligently switches the system schematic of output.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the invention.
Embodiment one, a kind of audio signal method that intelligently switching exports.Below with reference to Fig. 1 to side provided in this embodiment
Method is described in detail.
Referring to Fig. 1, the received multipath audio signal of MW Transmitting Station S101, is set into sound according to signal quality and reliability
Frequency signal permission sequence.
Specifically, MW Transmitting Station mainly undertakes the relay task of radio programmes, signal source is mainly satellite letter
Number, fiber-optic signal and microwave signal etc., the received multipath audio signal of MW Transmitting Station is set according to signal quality and reliability
Audio signal permission sequence, using the maximum audio signal all the way of permission as main road audio signal, other audio signals are made
For standby road audio signal, the permission of the main road audio signal is greater than multichannel for the permission of road audio signal, and multichannel is for road audio
Signal equally has different permissions, specifically multichannel can be divided into first for road audio signal for road audio signal, second for road
Audio signal, third are for road audio signal etc., and so on.
S102, the in real time audio signal described in multichannel carry out full frequency band acquisition, when obtaining lasting per audio signal all the way
Between and per audio signal all the way in voice signal the dwell interval time, and then the sound per audio signal all the way is calculated
Frequency amplitude.
Specifically, the audio signal described in MW Transmitting Station received multichannel carries out full frequency band acquisition in real time, and obtain institute
Main road audio signal and multichannel is stated to believe for per the duration of audio signal all the way in the audio signal of road and per audio all the way
The dwell interval time of voice signal in number, and according to the pause per the duration of audio signal and voice signal all the way
Interval time obtains the audio amplitude per audio signal all the way.
Whether S103, judgement reach effective audio amplitude standard of setting per the audio amplitude of audio signal all the way, according to
Judging result is determined per the corresponding level state of audio signal all the way.
Specifically, whether judgement reaches effective audio amplitude mark of setting per the audio amplitude of audio signal all the way
Standard, if the audio amplitude reaches effective audio amplitude standard, which is effective status, and the audio signal
Corresponding level state is high level state, specifically, the audio amplitude in audio signal reaches effective audio amplitude mark
In a flash, which is judged as effective status to standard;If the audio amplitude does not all have within the period of setting
Reach effective audio amplitude standard, then the audio signal is invalid state, and the corresponding level state of the audio signal is
Low level state, specifically, the audio amplitude in audio signal does not reach effective audio amplitude, and in the time of setting
All do not reach in section, which is judged as invalid state;Therefore it can be obtained according to Audio Meter state
Know that audio signal is to facilitate observation to switch in effective status or invalid state.
The every corresponding level state of audio signal and the audio signal permission of setting all the way that S104, basis obtain
Sequence intelligence switching output audio signal.
Specifically, judging whether the main road Audio Meter state is high level state, if so, intelligence switching
The main road audio signal is exported, and lights the corresponding signal lamp of the main road audio signal;If it is not, then according to standby road audio signal
Permission sequence intelligence switching output permission it is maximum and level state is high level state all the way for road audio signal, and light
The corresponding signal lamp of the standby road audio signal.If the main road audio signal is effective status, unconditional switching output institute
Main road audio signal is stated, only when the main road audio signal is invalid state, can just switch the standby road audio signal of output, and
And be multichannel for select in the audio signal of road audio signal for effective status and permission it is highest all the way for road audio signal
It is exported.Specifically, second at this time for road audio if main road audio signal and first for road audio signal is invalid state
Signal is effective status, then switches output second for road audio signal;When main road audio signal reverts to effective status, no item
Part switching exports the main road audio signal;When main road audio signal remains as invalid state, and first is extensive for road audio signal
When being again effective status, then switch output described first for road audio signal, and so on, unconditionally switch output level status
For effective status and the high audio signal of permission.
In addition, equally wanting real-time perfoming full frequency band to acquire the audio signal of MW Transmitting Station output, the output is obtained
The duration of audio signal and the voice signal in the audio signal of the output the dwell interval time, and then calculate
The audio amplitude of the audio signal of the output is obtained, and judges whether the audio amplitude of the audio signal of the output reaches institute
Effective audio amplitude standard is stated, if reaching, the corresponding level state of the audio signal of the output is high level state, if not having
Have and reach, then the corresponding level state of the audio signal of the output is low level state, and carries out sound-light alarm, to work
Personnel check reason in time, avoid the occurrence of broadcasting accident.
It is not all if having in audio signal described in received multichannel all the way or multipath audio signal being invalid state
Invalid state then carries out audible alarm, and records audio signal and become the time of invalid state, reminds person on duty to take in time and answers
Anxious measure prevents to break accident;If all invalid states of audio signal described in received multichannel, carry out acousto-optic report
It is alert, and main road audio signal output state is switched to, wait audio signal to restore, once audio signal reverts to effectively all the way for certain
State, then switching exports the road audio signal immediately, restores the output of audio signal, and record audio signal and revert to effective shape
The time of state.
In addition, when power is off, by using relay logic combination technique, the unconditional straight-through output main road audio letter
Number.
Embodiment two, a kind of audio signal system that intelligently switching exports.Below with reference to Fig. 2 to system provided in this embodiment
System is described in detail.
In Fig. 2, system provided in this embodiment includes authority setting unit 201, audio amplitude computing unit 202, state
Acquiring unit 203, switching output unit 204, alarm unit 205 and straight-through output unit 206.
Authority setting unit 201, for by the received multipath audio signal of MW Transmitting Station according to signal quality and reliable
Property setting audio signal permission sequence.
Specifically, MW Transmitting Station mainly undertakes the relay task of radio programmes, signal source is mainly satellite letter
Number, fiber-optic signal and microwave signal etc., authority setting unit 201 is by the received multipath audio signal of MW Transmitting Station according to signal
Quality and reliability setting audio signal permission sequence, using the maximum audio signal all the way of permission as main road audio signal,
His audio signal is used as standby road audio signal, and the permission of the main road audio signal is greater than multichannel for the power of road audio signal
Limit, and multichannel equally has different permissions for road audio signal, and it is standby specifically multichannel can be divided into first for road audio signal
Road audio signal, second are for road audio signal, third for road audio signal etc., and so on.
Audio amplitude computing unit 202 carries out full frequency band acquisition for the audio signal described in multichannel in real time, obtains each
The duration of road audio signal and the dwell interval time of the voice signal in every audio signal all the way, and then be calculated
Per the audio amplitude of audio signal all the way.
Specifically, the audio signal described in MW Transmitting Station received multichannel carries out audio amplitude computing unit 202 in real time
Full frequency band acquisition, and the main road audio signal and multichannel are obtained in the audio signal of road when lasting per audio signal all the way
Between and per audio signal all the way in voice signal the dwell interval time, and according to the duration per audio signal all the way
And the dwell interval time of voice signal, obtain the audio amplitude per audio signal all the way.
State acquiring unit 203, for judging whether reach having for setting per the audio amplitude of audio signal all the way
Audio amplitude standard is imitated, is determined according to judging result per the corresponding level state of audio signal all the way.
Specifically, the audio amplitude that the state acquiring unit 203 is specifically used for the every audio signal all the way of judgement is
The no effective audio amplitude standard for reaching setting, if the audio amplitude reaches effective audio amplitude standard, the audio
Signal is effective status, and the corresponding level state of the audio signal is high level state, specifically, in the audio of audio signal
Amplitude reaches effective audio amplitude standard in a flash, and the state acquiring unit 203 determines that the audio signal is to have
Effect state;If the audio amplitude does not all reach effective audio amplitude standard, then the audio within the period of setting
Signal is invalid state, and the corresponding level state of the audio signal is low level state, specifically, in the audio of audio signal
Amplitude does not reach effective audio amplitude, and does not all reach within the period of setting, the state acquiring unit 203
Determine the audio signal for invalid state.
In addition, the state acquiring unit 203 also records the time for becoming invalid state per audio signal all the way, and every
Audio signal reverts to the time of effective status all the way.
Switch output unit 204, for according to obtained every corresponding level state of audio signal all the way and setting
The audio signal permission sequence intelligence switching output audio signal.
Specifically, the switching output unit 204 is specifically used for judging the corresponding level state of the main road audio signal
It whether is high level state, if so, intelligence switching exports the main road audio signal, and it is corresponding to light the main road audio signal
Signal lamp;If it is not, then exporting according to the permission sequence intelligence switching of standby road audio signal, permission is maximum and level state is height
Level state all the way for road audio signal, and light the corresponding signal lamp of the standby road audio signal.Specifically, if the master
Road audio signal is effective status, then unconditionally switching exports the main road audio signal to the switching output unit 204, only
When the main road audio signal is invalid state, the switching output unit 204 can just switch the standby road audio signal of output, and
Multichannel for select in the audio signal of road audio signal for effective status and permission it is highest all the way for the progress of road audio signal
Output.
Specifically, the authority setting unit 201 is by the received multipath audio signal of MW Transmitting Station according to signal quality
And reliability setting audio signal permission sequence;The audio signal described in multichannel of audio amplitude computing unit 202 carries out complete
Frequency range acquisition, and obtain between every duration of audio signal all the way and the pause per the voice signal in audio signal all the way
Every the time, and then the audio amplitude per audio signal all the way is calculated;The state acquiring unit 203 is according to the effective of setting
Whether the disconnected audio amplitude per audio signal all the way of audio amplitude standard reaches effective audio amplitude standard of setting, and then obtains
Per the corresponding level state of audio signal all the way;The switching output unit 204 is corresponding per audio signal all the way according to what is obtained
Level state and setting the audio signal permission sequence intelligence switching output audio signal.Specifically, if main road sound
Frequency signal and first for road audio signal is invalid state, and second is effective status for road audio signal at this time, then described to cut
The switching output of output unit 204 is changed second for road audio signal, it is when main road audio signal reverts to effective status, then described to cut
Changing output unit 204, unconditionally switching exports the main road audio signal;When main road audio signal remains as invalid state, and
One when reverting to effective status for road audio signal, then the switching of switching output unit 204 output described first is for road audio
Signal, and so on, unconditionally switching output is effective status and the high audio signal of permission to the switching output unit 204.
In addition, the audio amplitude computing unit 202 is also used to carry out full range to the audio signal that MW Transmitting Station exports
Section acquisition, and calculate the audio amplitude of the audio signal of the output.The state acquiring unit 203 is also used to judge described defeated
Whether the audio amplitude of audio signal out reaches effective audio amplitude standard, if reaching, the audio of the output is believed
Number corresponding level state is high level state, if not reaching, the corresponding level state of the audio signal of the output is
Low level state.
Specifically, the system not only carries out real-time monitoring to received multipath audio signal, also the audio of output is believed
Number carry out real-time monitoring, avoid breaking accident.
The alarm unit 205, if for have in audio signal described in received multichannel all the way audio signal be invalid shape
State then carries out audible alarm without all invalid states, reminds person on duty to take emergency measures in time, prevents to break
Accident;And if for all invalid states of audio signal described in received multichannel, carrying out sound-light alarm;If being also used to institute
When the corresponding level state of audio signal for stating output is low level state, sound-light alarm is carried out.
If all invalid states of audio signal described in received multichannel, the switching output unit 204 switches to main road
Audio signal output state waits audio signal to restore, once audio signal reverts to effective status all the way for certain, then switches immediately
The road audio signal is exported, the output of audio signal is restored.
The straight-through output unit 206, for when power is off, leading directly to the output main road audio signal.Specifically, described
Straight-through output unit 206 leads directly to output main road audio signal using relay logical control when power is off.
A kind of audio signal method and system that intelligently switching exports provided by the invention, can receive MW Transmitting Station
Multipath audio signal according to signal quality and reliability setting audio signal permission sequence, be divided into the maximum main road all the way of permission
Audio signal and the same multichannel with permission sequence are and standby to main road audio signal and multichannel all the way for road audio signal
Road audio signal carries out real-time monitoring, and whether judgement reaches effective audio amplitude of setting per the audio amplitude of audio signal all the way
Standard, when audio signal breaks down automatically according to the audio signal permission sequence intelligence switching output audio letter of setting
Number, guarantee the uninterrupted quality broadcasted and guarantee the audio signal broadcasted of program, and lead directly to output main road sound when power is off
Frequency signal, and when audio signal breaks down, it alarms to carry out reason inspection in time, takes emergency measures, avoid
Accident is broken in appearance.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.