CN115695930A - Program signal processing method, device, equipment and storage medium - Google Patents
Program signal processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115695930A CN115695930A CN202211300170.2A CN202211300170A CN115695930A CN 115695930 A CN115695930 A CN 115695930A CN 202211300170 A CN202211300170 A CN 202211300170A CN 115695930 A CN115695930 A CN 115695930A
- Authority
- CN
- China
- Prior art keywords
- program
- signal
- monitoring
- target
- broadcast program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The embodiment of the invention provides a program signal processing method, a device, equipment and a storage medium, wherein a monitoring configuration file corresponding to a target signal type is loaded from a preset monitoring configuration file at the moment of playing a next broadcast program of a current broadcast program to serve as a target configuration file; under the condition that the next broadcast program is played, monitoring a program signal of the next broadcast program according to a target monitoring strategy represented by a target configuration file; if the abnormal state of the program signal is monitored, the program signal of the next broadcast program is switched according to a signal switching mode defined in the target monitoring strategy. Therefore, the monitoring configuration file corresponding to the next broadcast program is loaded in advance, so that the monitoring time blind spot caused by manual adjustment of the monitoring strategy is avoided, the real-time and continuous monitoring of the program signal is realized, the switching monitoring strategy corresponding to the next broadcast program is automatically and intelligently adjusted, and the actual monitoring requirement of the program broadcasting is met.
Description
Technical Field
The present invention relates to the field of broadcast media technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a program signal.
Background
"safe broadcast" is a primary objective principle of conventional broadcast television system planning and design. In order to ensure the normal broadcasting of television programs, a broadcasting mechanism generally monitors a video playing picture in the video playing process so as to find problems in the broadcasting and perform real-time regulation and control.
In the prior art, when a signal monitoring strategy is adjusted, a worker often manually adjusts a code for realizing monitoring, and after the adjustment, software needs to be restarted to run the adjusted monitoring strategy. However, in the process of adjusting the configuration file and restarting the software, the monitoring function of the signal is suspended, a monitoring time blind spot is generated, the monitoring time blind spot may cause that the comparison system cannot monitor the state of the signal in real time, a broadcasting safety hazard exists, and the broadcasting effect of the program is influenced.
Disclosure of Invention
The invention provides a program signal processing method, a program signal processing device, program signal processing equipment and a program signal processing storage medium, which are used for solving the problem of potential safety hazard caused by manually adjusting a signal monitoring configuration file.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, the present invention provides a method for processing a program signal, where the method includes:
at the present of playing the next playing program of the current playing program, loading a monitoring configuration file corresponding to the type of the target signal from a preset monitoring configuration file as a target configuration file; the target signal type is a program signal type of the next broadcast program, the preset monitoring configuration file comprises monitoring configuration files corresponding to different program signal types, and different monitoring configuration files represent different monitoring strategies;
under the condition that the next broadcast program is played, monitoring a program signal of the next broadcast program according to a target monitoring strategy represented by the target configuration file;
if the program signal is monitored to be abnormal, the program signal of the next broadcast program is switched according to a signal switching mode defined in the target monitoring strategy.
Optionally, before the monitoring configuration file corresponding to the target signal type is loaded from a preset monitoring configuration file at the present time of playing the next broadcast program of the current broadcast program, and the method further includes:
acquiring a program list of a current channel;
determining the current broadcast program of the current channel according to the program list and the current time;
and determining the next broadcast program from the program list according to the current broadcast program, and acquiring the program signal type of the next broadcast program to obtain the target signal type.
Optionally, the obtaining of the program list corresponding to the current channel includes:
periodically acquiring a program list of the current channel through a target interface according to a preset time interval;
the determining the current broadcast program of the current channel according to the program list and the current time comprises:
and determining the current broadcast program of the current channel according to the latest acquired program list and the current time.
Optionally, the next broadcast program corresponds to multiple program signals;
the monitoring the program signal of the next broadcast program according to the target monitoring strategy represented by the target configuration file comprises:
carrying out consistency comparison on the multi-channel program signals, and determining a parameter threshold value for defining a signal parameter to be detected in the target monitoring strategy;
acquiring a signal parameter to be detected of each program signal corresponding to the next broadcast program in real time;
and according to the parameter threshold and the acquired parameters of the signals to be detected, performing real-time abnormal monitoring on each path of program signals.
Optionally, when the type of the target signal is a broadcast signal, if it is monitored that the program signal is in a different state, switching the program signal of the next broadcast program according to a signal switching manner defined in the target monitoring policy, including:
if only the abnormal state of the main path program signal of the next broadcast program is monitored, the main path program signal is converted into a first standby path program signal;
if the main path program signal of the next broadcast program and the first standby path program signal are monitored to be abnormal, the main path program signal is converted into a program signal of a specified program.
Optionally, when the type of the target signal is a hard disk signal or a VTR signal, if it is monitored that the program signal is in an abnormal state, switching the program signal of the next broadcast program according to a signal switching manner defined in the target monitoring policy, including: :
if only the abnormal state of the main path program signal of the next broadcast program is monitored, the main path program signal is converted into a first standby path program signal;
if the main path program signal of the next broadcast program and the first standby path program signal are monitored to be abnormal, the main path program signal is converted into a second standby path program signal;
if the main path program signal, the first standby path program signal and the second standby path program signal of the next broadcast program are monitored to be abnormal, the main path program signal is converted into the program signal of the appointed program.
In a second aspect, the present invention provides an apparatus for processing a program signal, the apparatus comprising:
the first loading module is used for loading a monitoring configuration file corresponding to the type of a target signal from a preset monitoring configuration file at the moment of playing the next broadcast program of the current broadcast program as the target configuration file; the target signal type is a program signal type of the next broadcast program, the preset monitoring configuration file comprises monitoring configuration files corresponding to different program signal types, and different monitoring configuration files represent different monitoring strategies;
the first monitoring module is used for monitoring the program signal of the next broadcast program according to the target monitoring strategy represented by the target configuration file under the condition that the next broadcast program is started to be broadcast;
and the first switching module is used for switching the program signal of the next broadcast program according to a signal switching mode defined in the target monitoring strategy if the program signal is monitored to be abnormal.
Optionally, the apparatus further comprises:
the first acquisition module is used for acquiring a program list of a current channel;
the first determining module is used for determining the current broadcast program of the current channel according to the program list and the current time;
and the second determining module is used for determining the next broadcast program from the program list according to the current broadcast program and acquiring the program signal type of the next broadcast program to obtain the target signal type.
In a third aspect, the present invention provides an electronic device comprising: processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements the processing method of the program signal when executing the program.
In a fourth aspect, the present invention provides a readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the above-mentioned program signal processing method.
In the embodiment of the invention, the monitoring configuration file corresponding to the target signal type is loaded from the preset monitoring configuration file at the time of playing the next playing program of the current playing program to be used as the target configuration file; the preset monitoring configuration files comprise monitoring configuration files corresponding to different program signal types, and different monitoring configuration files represent different monitoring strategies. Under the condition that the next broadcast program is played, monitoring a program signal of the next broadcast program according to a target monitoring strategy represented by a target configuration file; if the abnormal state of the program signal is monitored, the program signal of the next broadcast program is switched according to a signal switching mode defined in the target monitoring strategy. Therefore, the corresponding monitoring configuration file can be automatically loaded in advance according to different program signal types, and when the next broadcast program is played, the program signal of the next broadcast program is monitored according to the target monitoring strategy represented by the target configuration file, so that the program signal is switched under the condition that the program signal is abnormal. Due to the dynamic adjustment of the program signal monitoring strategy, the monitoring configuration file corresponding to the next broadcast program is loaded in advance, and the monitoring time blind spot and the broadcasting potential safety hazard caused by manual adjustment of the monitoring strategy are avoided.
Meanwhile, real-time and continuous monitoring of program signals is achieved, intelligent adjustment is automatically carried out on the switching monitoring strategy corresponding to the next broadcast program, actual monitoring requirements during program broadcasting are met, the program broadcasting effect is guaranteed, and the working efficiency of monitoring strategy adjustment is improved to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating steps of a method for processing a program signal according to an embodiment of the present invention;
fig. 2 is a block diagram of a program signal processing apparatus according to an embodiment of the present invention;
fig. 3 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Fig. 1 is a processing method of a program signal according to an embodiment of the present invention, applied to a signal comparison system. As shown in fig. 1, the method may include:
In the embodiment of the present invention, corresponding monitoring configuration files may be configured in advance for different signal types in a signal comparison system, where the signal types may include a hard disk signal, a rebroadcast signal, and a Video Tape Recorder (VTR) signal, the hard disk signal, the rebroadcast signal, and the VTR signal respectively correspond to different monitoring configuration files, the different monitoring configuration files represent different monitoring strategies, the monitoring strategies include a monitoring mode of a signal anomaly and a signal switching mode under the condition of monitoring the anomaly, and the monitoring mode of the signal anomaly includes alarm parameter thresholds corresponding to different anomaly conditions. The signal switching mode is used for switching the line signal according to the signal switching mode when the current broadcast program signal is abnormal.
The hard disk signal refers to the audio and video signal collected into the hard disk of the computer, or the content in the optical disk is directly copied into the hard disk, then the program broadcasting table is arranged by the automatic broadcasting software, and finally the audio and video signal is output by the professional broadcasting card. VTR signals refer to signals output from playing a video tape through a video recorder. The relay broadcast signal refers to an external signal broadcast by the broadcast system of the station, where the external signal may be a signal of an upper-level television station such as a head office station, a province station, and the like, and the embodiment of the present invention is not limited thereto.
Optionally, to ensure the quality of the line signal, a monitoring configuration file corresponding to the type of the target signal may be loaded before the signal enters the broadcast channel, so as to monitor the signal. And at the preset time before the playing of the next played program is started, namely at the preset time before the end of the current played program, loading a monitoring configuration file corresponding to the target signal type from the preset monitoring configuration file in advance as a target configuration file for monitoring the next played program. The preset time can be set according to needs, and exemplarily, the preset time can be 3s.
And 102, under the condition that the next broadcast program is started to be played, monitoring a program signal of the next broadcast program according to a target monitoring strategy represented by the target configuration file.
In the embodiment of the invention, when the broadcast content of the current channel is switched from the current broadcast program to the next broadcast program, the program signal of the next broadcast program is monitored according to the target monitoring strategy represented in the target configuration file corresponding to the signal type of the next broadcast program. That is to say, in the process from the beginning to the end of the broadcast of a program, a monitoring configuration file corresponding to the signal type of the program is executed, and the program signal is monitored by the monitoring strategy represented by the configuration file. In the existing manual adjustment mode, a worker needs to acquire change information recorded in a form provided by a relevant department, such as a change action and a change template, and then perform manual adjustment operation according to the change action and the change template, so that the whole adjustment operation is complicated, the adjustment difficulty is high, and the labor cost is high. In the embodiment of the invention, the monitoring configuration file corresponding to the target signal type is automatically loaded from the monitoring configuration files corresponding to various program signal types, and the program signal of the next broadcast program is monitored based on the monitoring configuration file, so that the monitoring strategy used can be adjusted without manual adjustment of a user, and the labor cost can be greatly saved.
The abnormal state includes a video abnormal state phenomenon and an audio abnormal state phenomenon, the video abnormal state phenomenon includes a static frame phenomenon, a black field phenomenon, a color stripe phenomenon and the like, and the audio abnormal state phenomenon includes a mute phenomenon of audio, a too high (low) volume phenomenon of a left (right) sound channel and the like. It is understood that the program signal anomaly may also include the case where the video anomaly phenomenon and the audio anomaly phenomenon exist simultaneously, for example: the mute phenomenon and the mute phenomenon exist at the same time, the black field phenomenon and the phenomenon of overhigh volume of the left sound channel exist at the same time, and the embodiment of the invention does not limit the phenomenon.
In the embodiment of the invention, when the program signal is broadcasted, the abnormal state monitoring can be carried out on the currently broadcasted program signal in real time, and when the abnormal state of the program signal is monitored, the program signal which is currently broadcasted is switched according to the signal switching mode defined in the monitoring strategy corresponding to the type of the program signal.
In summary, in the embodiment of the present invention, at the time of playing the next broadcast program of the current broadcast program, the monitoring configuration file corresponding to the target signal type is loaded from the preset monitoring configuration file as the target configuration file; under the condition that the next broadcast program is played, monitoring a program signal of the next broadcast program according to a target monitoring strategy represented by a target configuration file; if the abnormal state of the program signal is monitored, the program signal of the next broadcast program is switched according to a signal switching mode defined in the target monitoring strategy. Therefore, the corresponding monitoring configuration file can be automatically loaded in advance according to different program signal types, and when the next broadcast program is played, the program signal of the next broadcast program is monitored according to the target monitoring strategy represented by the target configuration file, so that the program signal is switched under the condition that the program signal is abnormal. Due to the dynamic adjustment of the program signal monitoring strategy, the monitoring configuration file corresponding to the next broadcast program is loaded in advance, and the monitoring time blind spot and the broadcasting potential safety hazard caused by manual adjustment of the monitoring strategy are avoided. Meanwhile, the real-time and continuous monitoring of the program signals is realized, the switching monitoring strategy corresponding to the next broadcast program is automatically and intelligently adjusted, the actual monitoring requirement during the program broadcasting is met, the program broadcasting effect is ensured, and the working efficiency of the monitoring strategy adjustment is improved to a certain extent.
In this embodiment of the present invention, the signal comparison system may include a plurality of components, and exemplarily, the signal comparison system may include: the system comprises a fault detection module, a signal comparison module, a signal automatic switching logic strategy configuration module, a switching panel module, a signal real-time abnormal state alarm module and the like. The system comprises a fault detection module, a signal comparison module, a signal automatic switching logic strategy configuration module, a switching panel module and a signal real-time abnormal state alarm module, wherein the fault detection module can be used for monitoring the abnormal state of a line signal, the signal comparison module is used for comparing whether the main line signal and the standby line signal are consistent, the signal automatic switching logic strategy configuration module is used for configuring an automatic switching logic strategy according to which switching is carried out when the current line signal is abnormal, the switching panel module is used for executing line switching operation when the current line signal is abnormal, and the signal real-time abnormal state alarm module is used for outputting abnormal state alarm information when the current line signal is abnormal.
Optionally, before step 101, the embodiment of the present invention further includes the following steps:
step 201, acquiring a program list of a current channel.
In the embodiment of the invention, the program list of the current channel is acquired by sending the acquisition request of the program list of the current channel to the upstream software and receiving the program list returned by the upstream software. The upstream software may be automatic broadcasting software, and the upstream software may program broadcasting contents to generate a program list corresponding to a channel. The content of the program list may include program name, program broadcasting time length, program signal type, program broadcasting equipment, and the like.
Step 202, determining the current broadcast program of the current channel according to the program list and the current time.
In the embodiment of the invention, the current broadcast program is the broadcast content corresponding to the current time channel, and the next broadcast program is the broadcast content to be played by the current channel after the current broadcast program is played. Therefore, the current broadcast program of the channel can be judged based on the program list according to the current time.
The specific determination step includes that under the condition that the current time is after the first program playing time and before the second program playing time in the program list, the program corresponding to the first program playing time is determined to be the current broadcast program, and the program corresponding to the second program playing time is determined to be the next broadcast program, wherein the second program playing time is after the first program playing time, and the time difference between the second program playing time and the first program playing time in the program list is the minimum. For example, in the program list of channel X, the broadcast time of program a is 7. And if the current time is 7.
Step 203, determining the next broadcast program from the program list according to the current broadcast program, and obtaining the program signal type of the next broadcast program to obtain the target signal type.
In the embodiment of the present invention, the next broadcast program corresponding to the current broadcast program in the program list may be determined as the next broadcast program, and according to the program name of the next broadcast program, the program signal type corresponding to the program name is obtained from the program list, where the signal type is the target signal type of the next broadcast program.
In the embodiment of the invention, by acquiring the program list of the current channel and associating the program list with the content of the program list, the types of the program signals of the current broadcast program, the next broadcast program and the next broadcast program can be automatically judged according to the content contained in the program list, so that the monitoring configuration file can be conveniently determined according to the types of the program signals, and the process of determining the monitoring configuration file is simplified to a certain extent.
Optionally, step 201 may include the following steps:
and 2011, periodically acquiring the program list of the current channel through the target interface according to a preset time interval.
In the embodiment of the invention, in order to make the data of the program list more accurate, the local program list can be refreshed at regular time. Specifically, a program acquisition request may be sent to the upstream software at a preset time interval through an interface with the upstream software, and after receiving a program returned by the upstream software, the program is cached in a server memory of the signal comparison system. The preset time interval may be set according to needs, for example, the preset time interval may be 1min, and this is not limited in the embodiment of the present invention.
Accordingly, step 202 may include:
step 2012, determining the current broadcast program of the current channel according to the latest acquired program list and the current time.
The program list acquired last time may be a program list stored in the memory of the server at the current time.
In the embodiment of the invention, the current latest program list can be automatically and accurately obtained according to the latest obtained program list by periodically obtaining the program list when the program list is changed, so that the current broadcast program can be more accurately identified, the program signal type of the next broadcast program can be determined based on the current broadcast program, and the accuracy of judging the program signal type of the next broadcast program according to the program list is ensured.
Optionally, the next broadcast program corresponds to multiple program signals.
For example, when the signal type is a hard disk signal, the broadcast line correspondingly accessed by the broadcast switcher includes a main path signal, a standby path signal and a third standby path signal. When the signal type is a rebroadcast signal, the broadcasting lines correspondingly accessed by the broadcasting switcher comprise main path signals and standby path signals.
Step 102 may include the steps of:
step 1021, comparing the consistency of the multi-channel program signals, and determining a parameter threshold of a to-be-detected signal parameter defined in the target monitoring strategy.
In the embodiment of the invention, the signal parameter extraction can be carried out on each channel of program signals by obtaining the multiple channels of program signals, the signal parameter of each frame of each channel of program signals is sequentially obtained, and the consistency comparison is carried out on each channel of program signals based on the signal parameter. When the broadcasting line comprises two paths of signals, the consistency comparison is the comparison of the main signals and the standby signals, and when the broadcasting line comprises more than two paths of signals, the consistency comparison is the comparison of pairwise circulation. The signal parameters may include image feature data and sound feature data, the image feature data may specifically include one or more of a brightness feature parameter, a color feature parameter, a texture feature parameter, a shape feature parameter, and a spatial relationship feature parameter, and the types of the signal parameters extracted from the program signals of the respective channels are the same. After extracting the characteristic parameters of each path of program signal, determining the parameter threshold values corresponding to different signals based on the target monitoring strategy corresponding to the next broadcast program. The parameter threshold may be set according to needs, and the embodiment of the present invention is not limited to this.
And 1022, acquiring a signal parameter to be detected of each path of program signal corresponding to the next broadcast program in real time.
In the embodiment of the present invention, each path of program signal corresponding to the next broadcast program is a broadcast line to which the broadcast switcher corresponding to the program signal type of the next broadcast program is connected, for example, if the program signal type of the next broadcast program is a hard disk signal, the signal parameters to be detected of the main path signal, the standby path signal, and the third standby path signal are obtained; and if the program signal type of the next broadcast program is a rebroadcast signal, acquiring the signal parameters to be detected of the main path signal and the standby path signal. The signal parameter to be detected may include image feature data, and specifically may include one or more of a luminance feature parameter, a color feature parameter, a texture feature parameter, a shape feature parameter, and a spatial relationship feature parameter.
And 1023, performing real-time abnormal state monitoring on each path of program signals according to the parameter threshold and the acquired parameters of the signals to be detected.
In the embodiment of the invention, in the process of monitoring the abnormal state of each path of signal in real time, under the condition that any signal parameter to be detected of one path of signal is greater than or equal to the parameter threshold value corresponding to the signal parameter to be detected, the abnormal state of the path of signal is confirmed. For example, when it is monitored that the brightness characteristic parameter in the main path signal is greater than the parameter threshold corresponding to the brightness characteristic parameter, it is indicated that the main path signal is in an abnormal state.
In the embodiment of the invention, the abnormal condition of each program signal can be effectively captured by simultaneously monitoring the multiple program signals in real time, so that the line switching can be conveniently carried out according to the condition of each signal, and the abnormal condition of each program signal can be timely monitored by acquiring the signal parameters of the multiple program signals and combining the parameter threshold value for real-time abnormal monitoring, so that the abnormal condition of each program signal can be timely monitored, the processing can be timely carried out, the normal broadcasting of the program can be ensured, and the occurrence of broadcasting accidents can be avoided.
Optionally, in a case that the target signal type is a rebroadcast signal, the step 103 includes the following steps:
step 301, if it is only monitored that the main path program signal of the next broadcast program is abnormal, the main path program signal is converted into a first standby path program signal.
In the embodiment of the present invention, when the type of the target signal is a rebroadcast signal, the corresponding broadcast line of the broadcast switcher is two paths of signals, that is, a main path signal and a standby path signal, so the switching strategy represented by the corresponding monitoring configuration file may be: when only the main program signal is monitored to be abnormal, the main program signal is indicated to be no longer suitable for being used as an output signal to play the program, and the first standby program signal can be switched. The first standby channel program signal may be a standby channel signal in a broadcasting channel correspondingly accessed by the broadcasting switcher.
Under the condition that the abnormal state of the program signal of the next broadcast program is monitored, the line signal is switched according to the switching strategy corresponding to the target signal type of the next broadcast program so as to ensure the normal broadcast of the program.
Step 302, if it is monitored that the main path program signal and the first standby path program signal of the next broadcast program are in different states, the main path program signal is converted into a program signal of a specified program.
In the embodiment of the invention, because the rebroadcast signal is an accessed external signal, the corresponding accessed broadcast line of the broadcast switcher only has a main path signal and a standby path signal, and when the main path signal and the standby path signal are in different states, the main path program signal and the standby path signal are indicated to be not suitable for being used as output signals to broadcast programs, and in order to ensure that the broadcasting is not interrupted, the main path program signal is switched into a program signal of a specified program, wherein the program signal of the specified program can be a spacer signal, or a preset advertisement which can be inserted at any time or other small-segment video which can be inserted into any program at any time. The shim signal is an output signal corresponding to a shim program which is played by emergency default, and is generally used for line signals which are output by emergency in order to ensure uninterrupted playing under the condition that the main and standby lines simultaneously fail.
Optionally, after the main path program signal of the next broadcast program is monitored to be in an abnormal state, the main path program signal is switched to the first standby path program signal, and then the abnormal state monitoring is continuously performed on the main path signal and the first standby path program signal; if the main program signal is abnormal, the main program signal is switched to the program signal of the designated program.
In the embodiment of the invention, under the condition that the type of the target signal is the rebroadcast signal, the line is switched in time according to the monitoring strategy under the condition that the line is abnormal according to the monitoring strategy corresponding to the rebroadcast signal, so that the normal broadcasting of the program is ensured. Meanwhile, under the condition that the main and standby program signals are all abnormal, the signals are switched into the program signals of the designated program, so that the broadcasting accidents caused by the interruption of program broadcasting can be avoided.
Optionally, in the case that the target signal type is a hard disk signal or a VTR signal, the step 103 may further include the following steps:
step 401, if it is only monitored that the main path program signal of the next broadcast program is abnormal, the main path program signal is converted into a first standby path program signal.
In the embodiment of the present invention, when the type of the target signal is a hard disk signal or a VTR signal, the broadcasting line to which the broadcasting switcher is correspondingly connected is three signals, that is, a main signal, a standby signal, and a third standby signal, so that the switching policy characterized by the corresponding monitoring configuration file may be: when the main path program signal is abnormal, the main path program signal is no longer suitable for playing programs as an output signal, and the first standby path program signal can be switched.
Under the condition that the program signal of the next broadcast program is detected to be abnormal, the line signal is switched according to the switching strategy corresponding to the target signal type of the next broadcast program so as to ensure the normal broadcast of the program.
Step 402, if it is monitored that the main path program signal and the first standby path program signal of the next broadcast program are abnormal, the main path program signal is converted into a second standby path program signal.
In the embodiment of the present invention, when the main path program signal and the first standby path program signal are in an abnormal state, it indicates that both the main path program signal and the first standby path program signal are no longer suitable for playing a program as output signals, and the main path program signal is converted into the second standby path program signal. The second standby channel program signal may be a third standby channel signal in a broadcasting channel correspondingly accessed by the broadcasting switcher.
Step 403, if it is monitored that the main path program signal, the first standby path program signal and the second standby path program signal of the next broadcast program are all abnormal, the main path program signal is converted into the program signal of the specified program.
In the embodiment of the invention, under the condition that the three paths of signals have different states, namely the main path program signal, the first standby path program signal and the second standby path program signal have different states, in order to ensure that the playing is not interrupted, the main path program signal is switched to the program signal of the specified program.
Optionally, after the main path program signal of the next broadcast program is monitored to be in an abnormal state, the main path program signal is switched to the first standby path program signal, and then the abnormal state monitoring is continuously performed on the main path signal and the first standby path program signal; if the main path program signal is abnormal and the second standby path program signal is normal, the main path program signal is converted into the second standby path program signal; if the main path program signal, the first standby path program signal and the second standby path program signal are all abnormal, the main path program signal is switched to the program signal of the designated program.
In the embodiment of the invention, under the condition that the target signal type is a hard disk signal or a VTR signal, the broadcasting line correspondingly accessed by the broadcasting switcher is a three-way signal, and aiming at a monitoring strategy corresponding to the condition of the three-way signal, under the condition that the line is abnormal, the broadcasting switcher can be switched to a first standby program signal or a second standby program signal to serve as an output signal to continue to broadcast programs, so that the effect of timely switching the line according to the monitoring strategy and ensuring the normal broadcasting of the programs is achieved. Meanwhile, under the condition that the main and standby program signals are all abnormal, broadcasting accidents caused by program broadcasting interruption can be avoided by switching the signals into the program signals of the specified program.
Fig. 2 is a block diagram of an apparatus for processing a program signal according to an embodiment of the present invention, where the apparatus 50 may include:
a first loading module 501, configured to load a monitoring configuration file corresponding to a target signal type from a preset monitoring configuration file at the time of playing a next broadcast program of a current broadcast program, as a target configuration file; the target signal type is a program signal type of the next broadcast program, the preset monitoring configuration file comprises monitoring configuration files corresponding to different program signal types, and different monitoring configuration files represent different monitoring strategies;
a first monitoring module 502, configured to monitor a program signal of the next broadcast program according to the target monitoring policy represented by the target configuration file when the next broadcast program starts to be broadcast.
A first switching module 503, configured to switch the program signal of the next broadcast program according to a signal switching manner defined in the target monitoring policy if it is monitored that the program signal is in a different state.
Optionally, the apparatus 50 may further include:
the first obtaining module is used for obtaining the program list of the current channel.
And the first determining module is used for determining the current broadcast program of the current channel according to the program list and the current time.
And the second determining module is used for determining the next broadcast program from the program list according to the current broadcast program and acquiring the program signal type of the next broadcast program to obtain the target signal type.
Optionally, the first obtaining module may include:
and the first obtaining submodule is used for periodically obtaining the program list of the current channel through the target interface according to a preset time interval.
A first determining sub-module, configured to determine, according to the program list and the current time, a current broadcast program of the current channel, where the determining sub-module includes:
and the second determining submodule is used for determining the current broadcast program of the current channel according to the latest acquired program list and the current time.
Optionally, the first monitoring module 502 may include:
and the third determining submodule is used for carrying out consistency comparison on the multi-channel program signals and determining a parameter threshold value of a signal parameter to be detected, which is defined in the target monitoring strategy.
And the second acquisition submodule is used for acquiring the signal parameter to be detected of each path of program signal corresponding to the next broadcast program in real time.
And the first monitoring submodule is used for carrying out real-time abnormal monitoring on each channel of program signals according to the parameter threshold and the acquired parameters of the signals to be detected.
Optionally, the first switching module 503 may include:
and the first switching sub-module is used for switching the main path program signal into a first standby path program signal if only the abnormal state of the main path program signal of the next broadcast program is monitored.
And the second switching sub-module is used for switching the main path program signal into the program signal of the specified program if the main path program signal and the first standby path program signal of the next broadcast program are monitored to be abnormal.
Optionally, the first switching module 503 may further include:
and the third switching sub-module is used for switching the main path program signal into the first standby path program signal if only the abnormal state of the main path program signal of the next broadcast program is monitored.
And the fourth switching sub-module is used for switching the main path program signal into a second standby path program signal if the main path program signal and the first standby path program signal of the next broadcast program are monitored to be abnormal.
And the fifth switching sub-module is configured to switch the main path program signal to the program signal of the specified program if it is monitored that the main path program signal, the first standby path program signal, and the second standby path program signal of the next broadcast program are all in a different state.
The present invention also provides an electronic device, see fig. 3, comprising: a processor 601, a memory 602, and a computer program 6021 stored on the memory and executable on the processor, which when executed implements the processing method of the program signal of the foregoing embodiment.
The present invention also provides a readable storage medium, wherein when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the processing method of the program signal of the foregoing embodiment.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system is apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a sequencing device according to the present invention. The present invention may also be embodied as an apparatus or device program for carrying out a portion or all of the methods described herein. Such programs implementing the present invention may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is intended to be illustrative of the preferred embodiment of the present invention and should not be taken as limiting the invention, but rather, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A processing method of a program signal is applied to a signal comparison system, and the method comprises the following steps:
at present, loading a monitoring configuration file corresponding to the type of a target signal from a preset monitoring configuration file as a target configuration file at the time of playing a next broadcast program of a current broadcast program; the target signal type is a program signal type of the next broadcast program, the preset monitoring configuration file comprises monitoring configuration files corresponding to different program signal types, and different monitoring configuration files represent different monitoring strategies;
under the condition that the next broadcast program is played, monitoring a program signal of the next broadcast program according to a target monitoring strategy represented by the target configuration file;
if the program signal is monitored to be abnormal, the program signal of the next broadcast program is switched according to a signal switching mode defined in the target monitoring strategy.
2. The method according to claim 1, wherein before the monitoring profile corresponding to the target signal type is loaded from a preset monitoring profile as the target profile at the present time of playing the next playing section of the currently played program, the method further comprises:
acquiring a program list of a current channel;
determining the current broadcast program of the current channel according to the program list and the current time;
and determining the next broadcast program from the program list according to the current broadcast program, and acquiring the program signal type of the next broadcast program to obtain the target signal type.
3. The method of claim 2, wherein the obtaining the program list corresponding to the current channel comprises:
periodically acquiring a program list of the current channel through a target interface according to a preset time interval;
the determining the current broadcast program of the current channel according to the program list and the current time comprises:
and determining the current broadcast program of the current channel according to the latest acquired program list and the current time.
4. The method of claim 1, wherein the next broadcast program corresponds to multiple program signals;
the monitoring the program signal of the next broadcast program according to the target monitoring strategy represented by the target configuration file comprises:
comparing the consistency of the multi-channel program signals, and determining a parameter threshold value of a to-be-detected signal parameter defined in the target monitoring strategy;
acquiring a signal parameter to be detected of each path of program signal corresponding to the next broadcast program in real time;
and according to the parameter threshold and the acquired parameters of the signal to be detected, performing real-time abnormal monitoring on each program signal.
5. The method of claim 1, wherein when the type of the target signal is a broadcast signal, if it is monitored that the program signal is in an abnormal state, switching the program signal of the next broadcast program according to a signal switching manner defined in the target monitoring policy, includes:
if only the abnormal state of the main path program signal of the next broadcast program is monitored, the main path program signal is converted into a first standby path program signal;
if the main path program signal of the next broadcast program and the first standby path program signal are monitored to be abnormal, the main path program signal is converted into a program signal of a specified program.
6. The method of claim 1, wherein when the target signal type is a hard disk signal or a VTR signal, if it is monitored that the program signal is abnormal, switching the program signal of the next broadcast program according to a signal switching manner defined in the target monitoring policy includes:
if only the abnormal state of the main path program signal of the next broadcast program is monitored, the main path program signal is converted into a first standby path program signal;
if the main path program signal and the first standby path program signal of the next broadcast program are monitored to be abnormal, the main path program signal is converted into a second standby path program signal;
if the main path program signal, the first standby path program signal and the second standby path program signal of the next broadcast program are monitored to be abnormal, the main path program signal is converted into the program signal of the specified program.
7. A processing device for program signals is applied to a signal comparison system, and the device comprises:
the first loading module is used for loading a monitoring configuration file corresponding to the type of a target signal from a preset monitoring configuration file at the moment of playing a next broadcast program of a current broadcast program as a target configuration file; the target signal type is a program signal type of the next broadcast program, the preset monitoring configuration file comprises monitoring configuration files corresponding to different program signal types, and different monitoring configuration files represent different monitoring strategies;
the first monitoring module is used for monitoring the program signal of the next broadcast program according to the target monitoring strategy represented by the target configuration file under the condition that the next broadcast program is started to be broadcast;
and the first switching module is used for switching the program signal of the next broadcast program according to a signal switching mode defined in the target monitoring strategy if the abnormal state of the program signal is monitored.
8. The apparatus of claim 7, further comprising:
the first acquisition module is used for acquiring a program list of a current channel;
the first determining module is used for determining the current broadcast program of the current channel according to the program list and the current time;
and the second determining module is used for determining the next broadcast program from the program list according to the current broadcast program and acquiring the program signal type of the next broadcast program to obtain the target signal type.
9. An electronic device, comprising:
processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements a method of processing a program signal as claimed in one or more of claims 1-6.
10. A readable storage medium, characterized in that instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of processing a program signal as claimed in one or more of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211300170.2A CN115695930A (en) | 2022-10-21 | 2022-10-21 | Program signal processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211300170.2A CN115695930A (en) | 2022-10-21 | 2022-10-21 | Program signal processing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115695930A true CN115695930A (en) | 2023-02-03 |
Family
ID=85067343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211300170.2A Pending CN115695930A (en) | 2022-10-21 | 2022-10-21 | Program signal processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115695930A (en) |
-
2022
- 2022-10-21 CN CN202211300170.2A patent/CN115695930A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180014088A1 (en) | Method and Apparatus For Selection of Content From A Stream of Data | |
US7849406B2 (en) | Apparatus and method for authoring | |
CN112217999B (en) | Wide dynamic mode adjusting method and device, electronic equipment and storage medium | |
US20170279868A1 (en) | Upstream Fault Detection | |
CN109729287B (en) | Method and device for monitoring perimeter area, computing equipment and storage medium | |
RU2646532C2 (en) | Method for presentation of digital multimedia content and device | |
CN110536174B (en) | Method and system for intelligently monitoring cinema playing content | |
US7046909B2 (en) | System and method for identifying inconsistencies in duplicate digital videos | |
CN115695930A (en) | Program signal processing method, device, equipment and storage medium | |
US20120308194A1 (en) | Display control apparatus, recording/reproduction system, and recording medium | |
CN112423124B (en) | Dynamic playing method, device and system based on large-screen video player | |
CN115878379A (en) | Data backup method, main server, backup server and storage medium | |
US20210194610A1 (en) | Monitoring video broadcasts | |
CN113408440A (en) | Video data jam detection method, device, equipment and storage medium | |
TWI564822B (en) | Preselectable Video File Playback System, Method Using The Same, and Computer Program Product Using The Same | |
GB2507729B (en) | Method and apparatus for quality checking | |
CN114745537A (en) | Sound and picture delay testing method and device, electronic equipment and storage medium | |
CN1486092A (en) | Automatic measurement for video parameters | |
JP2022526992A (en) | Real-time video dynamic range analysis | |
CN115457747B (en) | Signal anomaly alarm method, device, equipment and storage medium | |
CN108667683B (en) | Method and apparatus for monitoring data related to broadcasting and/or streaming | |
JP3624677B2 (en) | Special effect detection device for moving image and recording medium recording program | |
JPH0537853A (en) | Cut automatic division method for moving picture | |
CN111510666A (en) | Distributed equipment intelligent monitoring system and method convenient to view | |
CN112929693B (en) | Video display method, device and equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |