Summary of the invention
The objective of the invention is, solve the emergent shortcoming of switching mainly for Hei Chang and quiet frame of current broadcast system, according to the characteristics of digital television transfer, video quality is deteriorated to be judged equally and processes to broadcasting, guarantee to broadcast emergent switch accurate of video, and the quality of broadcasting video.
For achieving the above object, one of technical scheme that the present invention takes is: a kind ofly compare to guarantee to broadcast safe changing method by quality monitoring, to looking audio frequency primary input signal in broadcast system, looking the standby input signal of audio frequency and look audio quality supervision comparison, switch according to comparison result, thereby guarantee to broadcast safety, it comprises the following steps:
Step a, judgement looks audio frequency primary input signal place path, look the step whether standby input signal of audio frequency place path exists black or quiet frame to report to the police;
Step b, judgement looks audio frequency primary input signal, look whether consistent step of the standby input signal of audio frequency;
Step c1, inconsistent depending on the standby input signal of audio frequency depending on audio frequency primary input signal, wherein an input has Hei Chang, quiet frame to report to the police simultaneously, and send prompting this moment, and switch to the step of alarm-free passage;
Or step c2, inconsistent depending on the standby input signal of audio frequency depending on audio frequency primary input signal, and Hei Chang, quiet frame report to the police, and sends prompting, two inconsistent steps of video/audio signal input source this moment;
Or step c3, consistent depending on the standby input signal of audio frequency depending on audio frequency primary input signal, but two passages have Hei Chang, quiet frame to report to the police, and send prompting this moment, two steps that input source Hei Chang, quiet frame are reported to the police;
Steps d, depending on audio frequency primary input signal, consistent depending on the standby input signal of audio frequency, and two passages all do not have Hei Chang, quiet frame to report to the police, this moment to be looking audio frequency primary input signal as the reference source, and all audio node and reference sources looked on two passages are carried out quality monitoring and compare; If depending on audio frequency primary input signalling channel, each looks audio node after quality monitoring comparison, find to have the too low point of mass value, and looking on the standby input signal channel of audio frequency each, to look audio node normal, carries out the active and standby switching of broadcast system; If depending on audio frequency primary input signalling channel each to look audio node all normal, broadcast system does not switch; If depending on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, and do not do the step that broadcast system switches.
For achieving the above object, two of the technical scheme that the present invention takes is: a kind ofly compare to guarantee to broadcast safe changing method by quality monitoring, to looking audio frequency primary input signal in broadcast system, looking the standby input signal of audio frequency and look the standby input signal of audio frequency and look audio quality supervision comparison, switch according to comparison result, thereby guarantee to broadcast safety, it comprises the following steps:
Step a, judgement looks audio frequency primary input signal place path, look the standby input signal place path of audio frequency and look the step whether standby input signal of audio frequency place path exists black or quiet frame to report to the police;
Step b, judgement looks audio frequency primary input signal, look the standby input signal of audio frequency and look whether consistent step of the standby input signal of audio frequency;
Step c if having the video/audio signal input source of Hei Chang, the warning of quiet frame, sends prompting, and broadcast system is not done the step of switching;
Steps d 1 depending on audio frequency primary input signal, look the standby input signal of audio frequency and look the standby input signal of audio frequency consistent, is got and is looked audio frequency primary input signal as the reference source, and on three passages, all audio node and reference sources looked carry out quality monitoring and compare; If depending on audio frequency primary input signalling channel, each looks audio node after the quality monitoring comparison, there is the too low point of mass value in discovery, and depending on the standby input signal of audio frequency or look on the standby input signal channel of audio frequency each to look audio node normal, carry out the active and standby switching of broadcast system; If depending on audio frequency primary input signalling channel each to look audio node all normal, broadcast system does not switch; If depending on the standby input signal of audio frequency or look on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, and do not do the step that broadcast system switches;
Or steps d 2, depending on audio frequency primary input signal, with look the standby input signal of audio frequency or look the standby input signal of audio frequency consistent, this moment to be looking audio frequency primary input signal as the reference source, on two passages that signal is consistent, all audio node and reference sources looked carry out quality monitoring and compare; If depending on audio frequency primary input signalling channel, each looks audio node after the quality monitoring comparison, there is the too low point of mass value in discovery, and depending on the standby input signal of audio frequency or look on the standby input signal channel of audio frequency each to look audio node normal, carry out the active and standby switching of broadcast system; If depending on audio frequency primary input signalling channel each to look audio node all normal, broadcast system does not switch; If depending on audio frequency primary input signal or look on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, switch and do not do broadcast system;
Or steps d 3, depending on the standby input signal of audio frequency, the standby input signal of audio frequency is consistent with looking, inconsistent depending on audio frequency primary input signal and the standby input signal of two-way, audio frequency primary input signal is looked in first prompting and the standby input signal of two-way is inconsistent, then broadcast system switches on the passage of looking the standby input signal of audio frequency place, and this moment to be looking the standby input signal of audio frequency as the reference source, and on two standby input signal channels that signal is consistent, all audio node and reference sources looked carry out quality monitoring and compare; If depending on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, there is the too low point of mass value in discovery, and depending on the standby standby input signal channel of audio frequency each to look audio node normal, broadcast system switches on the passage of looking the standby input signal of audio frequency place; If depending on the standby input signal channel of audio frequency each to look audio node all normal, broadcast system does not switch; If depending on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, and do not do the step that broadcast system switches.
The present invention has following beneficial effect: the present invention is a kind of to be compared to guarantee to broadcast safe changing method for one main one standby broadcast system relatively more commonly used by quality monitoring, with one main two standby broadcast system, considering video Hei Chang and quiet frame reports to the police, and video quality degradation phenomena, guarantee that the emergent switching of broadcast system is accurate, it is high that video broadcasts effective quality.
Embodiment
The invention will be further described below in conjunction with embodiment and with reference to accompanying drawing.
The present embodiment is a kind of compares to guarantee to broadcast safe changing method by quality monitoring, the method of video quality supervision comparison has a variety of, below introduce wherein a kind of and carry out the bad method of broadcasting detection of video based on the image objective quality assessment, its in broadcast system from the identical video-audio program in different sources, carry out the image objective quality assessment, to determine the broadcast system quality deterioration, comprise the following steps:
Step 1, the step of two paths of signals source audio video synchronization;
Step 2 is extracted the step of key frame corresponding to two paths of signals source video;
Step 3 is to the comparison of the objective quality between key frame images marking, the step of computed image similarity;
Step 4, image similarity acutely descends less than synchronization threshold explanation video quality, judges the step that loses audio video synchronization;
Or step 5, image similarity is judged the bad step of broadcasting occurs less than the bad threshold value explanation video quality degradation of broadcasting.
This appraisal procedure can compare current video and reference video, and gives a mark with regard to the video degradation situation, can judge whether current program exists extremely by score value like this.
Referring to Fig. 1, a kind ofly compare to guarantee to broadcast safe changing method by quality monitoring and be applied to one main one standby broadcast system schematic diagram, lead for one a kind of video synchronization method based on the comparison of image multi-dimensional characteristic value that a standby broadcast system adopts, to looking audio frequency primary input signal in broadcast system, looking the standby input signal of audio frequency and look audio quality supervision comparison, switch according to comparison result, thereby guarantee to broadcast safety, it comprises the following steps:
Step a, judgement looks audio frequency primary input signal place path, look the step whether standby input signal of audio frequency place path exists black or quiet frame to report to the police;
Step b, judgement looks audio frequency primary input signal, look whether consistent step of the standby input signal of audio frequency;
Step c1, inconsistent depending on the standby input signal of audio frequency depending on audio frequency primary input signal, wherein an input has Hei Chang, quiet frame to report to the police simultaneously, and send prompting this moment, and switch to the step of alarm-free passage;
Or step c2, inconsistent depending on the standby input signal of audio frequency depending on audio frequency primary input signal, and Hei Chang, quiet frame report to the police, and sends prompting, two inconsistent steps of video/audio signal input source this moment;
Or step c3, consistent depending on the standby input signal of audio frequency depending on audio frequency primary input signal, but two passages have Hei Chang, quiet frame to report to the police, and send prompting this moment, two steps that input source Hei Chang, quiet frame are reported to the police;
Steps d, depending on audio frequency primary input signal, consistent depending on the standby input signal of audio frequency, and two passages all do not have Hei Chang, quiet frame to report to the police, this moment to be looking audio frequency primary input signal as the reference source, and all audio node and reference sources looked on two passages are carried out quality monitoring and compare; If depending on audio frequency primary input signalling channel, each looks audio node after quality monitoring comparison, find to have the too low point of mass value, and looking on the standby input signal channel of audio frequency each, to look audio node normal, carries out the active and standby switching of broadcast system; If depending on audio frequency primary input signalling channel each to look audio node all normal, broadcast system does not switch; If depending on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, and do not do the step that broadcast system switches.
Compare to guarantee to broadcast safe changing method by quality monitoring and be applied to one main two standby broadcast system schematic diagrames referring to Fig. 2 is a kind of, lead for one a kind of video synchronization method based on the comparison of image multi-dimensional characteristic value that two standby broadcast systems adopt, to looking audio frequency primary input signal in broadcast system, looking the standby input signal of audio frequency and look the standby input signal of audio frequency and look audio quality supervision comparison, switch according to comparison result, thereby guarantee to broadcast safety, it is characterized in that comprising the following steps:
Step a, judgement looks audio frequency primary input signal place path, look the standby input signal place path of audio frequency and look the step whether standby input signal of audio frequency place path exists black or quiet frame to report to the police;
Step b, judgement looks audio frequency primary input signal, look the standby input signal of audio frequency and look whether consistent step of the standby input signal of audio frequency;
Step c if having the video/audio signal input source of Hei Chang, the warning of quiet frame, sends prompting, and broadcast system is not done the step of switching;
Steps d 1 depending on audio frequency primary input signal, look the standby input signal of audio frequency and look the standby input signal of audio frequency consistent, is got and is looked audio frequency primary input signal as the reference source, and on three passages, all audio node and reference sources looked carry out quality monitoring and compare; If depending on audio frequency primary input signalling channel, each looks audio node after the quality monitoring comparison, there is the too low point of mass value in discovery, and depending on the standby input signal of audio frequency or look on the standby input signal channel of audio frequency each to look audio node normal, carry out the active and standby switching of broadcast system; If depending on audio frequency primary input signalling channel each to look audio node all normal, broadcast system does not switch; If depending on the standby input signal of audio frequency or look on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, and do not do the step that broadcast system switches;
Or steps d 2, depending on audio frequency primary input signal, with look the standby input signal of audio frequency or look the standby input signal of audio frequency consistent, this moment to be looking audio frequency primary input signal as the reference source, on two passages that signal is consistent, all audio node and reference sources looked carry out quality monitoring and compare; If depending on audio frequency primary input signalling channel, each looks audio node after the quality monitoring comparison, there is the too low point of mass value in discovery, and depending on the standby input signal of audio frequency or look on the standby input signal channel of audio frequency each to look audio node normal, carry out the active and standby switching of broadcast system; If depending on audio frequency primary input signalling channel each to look audio node all normal, broadcast system does not switch; If depending on audio frequency primary input signal or look on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, switch and do not do broadcast system;
Or steps d 3, depending on the standby input signal of audio frequency, the standby input signal of audio frequency is consistent with looking, inconsistent depending on audio frequency primary input signal and the standby input signal of two-way, audio frequency primary input signal is looked in first prompting and the standby input signal of two-way is inconsistent, then broadcast system switches on the passage of looking the standby input signal of audio frequency place, and this moment to be looking the standby input signal of audio frequency as the reference source, and on two standby input signal channels that signal is consistent, all audio node and reference sources looked carry out quality monitoring and compare; If depending on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, there is the too low point of mass value in discovery, and depending on the standby standby input signal channel of audio frequency each to look audio node normal, broadcast system switches on the passage of looking the standby input signal of audio frequency place; If depending on the standby input signal channel of audio frequency each to look audio node all normal, broadcast system does not switch; If depending on the standby input signal channel of audio frequency, each looks audio node after the quality monitoring comparison, find to have the too low point of mass value, send prompting, and do not do the step that broadcast system switches.
Adopt the broadcast system of above-mentioned changing method to have simultaneously following function:
1. the quality monitoring comparison result is aggregated on a station server by network, shows time difference that this looks audio node and reference source and of poor quality on server.
2. be two complete equipments due to primary input and standby input, may nonsynchronous situation be arranged in a few frames, a time threshold is set, the time in thresholding is not even asynchronously report to the police yet and switch.
3. the switch that can manually control in broadcast system of user switches.
4. when switching, the short time is set to 0 with voice data, realizes quietly, avoids occurring causing because two-way audio is free poor the situation of distorsion.
5. can configure one road pad and broadcast the source, manually pad is broadcast where necessary the switch in source input broadcast system, and the switch of controlling in broadcast system switch to the source of broadcasting of padding.
Compare to guarantee to broadcast safe changing method video quality supervision hardware implementations figure referring to Fig. 3 is a kind of by quality monitoring.This hardware plan is realized single look audio input signal or the single quality monitoring comparison of looking audio node, and with network interface, all hardware plan modules are networked.The ASI interface is Asynchronous Serial Interface by name entirely, follows the EN50083-9 standard.The full name of SDI Serial Digital Interface, be divided into SD-SDI(and follow standard SMPTE 259M), HD-SDI(follows standard SMPTE 292M), 3G-SDI(follows standard SMPTE 424M), these standards adopt identical physics and electric interfaces standard, so can adopt same hardware circuit to receive.
The SDI/ASI signal is by 75 ohm coaxial cable transmission, first carry out equilibrium by balanced (Equalizer) chip (the Gennum GS2984 of company) after reception, then by going here and there and change (Deserializer) chip (the Gennum GS2970A of company) deserializer, serial signal is converted to parallel 10bit(ASI or SD-SDI) or 20bit(HD-SDI or 3G-SDI) signal and send into processor.The processor chips inside of adopting is with the ARM(microprocessor) and the DSP(digital signal processor), and support 10bit and 20bit signal to input.
When ASI inputs, if from as reference source, because ASI is the data after coding, can be by the ARM(microprocessor) directly forward the data on network.If not reference source, first data are sent into DSP and decode, and then with network on the reference source data (these data are decoded by DSP equally) that receive carry out the quality monitoring comparison.
When SDI inputs, if from as reference source, need data are sent into the DSP(digital signal processor) encode, then forward the data on network.If not reference source, directly the reference data (these data are decoded by DSP equally) that receives on data and network is carried out the quality monitoring comparison.
The above is only the preferred embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvement and replenish, these improvement and replenish and also should be considered as protection scope of the present invention.