CN101631204B - A follow-up method and device in a broadcast control system - Google Patents
A follow-up method and device in a broadcast control system Download PDFInfo
- Publication number
- CN101631204B CN101631204B CN2008101166780A CN200810116678A CN101631204B CN 101631204 B CN101631204 B CN 101631204B CN 2008101166780 A CN2008101166780 A CN 2008101166780A CN 200810116678 A CN200810116678 A CN 200810116678A CN 101631204 B CN101631204 B CN 101631204B
- Authority
- CN
- China
- Prior art keywords
- video data
- broadcast
- control unit
- standby
- playing
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000003780 insertion Methods 0.000 claims description 46
- 230000037431 insertion Effects 0.000 claims description 46
- 238000011084 recovery Methods 0.000 claims description 10
- 230000001960 triggered effect Effects 0.000 claims 1
- 230000008439 repair process Effects 0.000 abstract 1
- 238000013024 troubleshooting Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000003672 processing method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域 technical field
本发明涉及广播控制系统中的播出技术,尤其涉及一种广播控制系统的视频服务器播出中的跟播方法及装置。The invention relates to a broadcasting technology in a broadcasting control system, in particular to a method and device for following broadcasting in broadcasting by a video server of the broadcasting control system.
背景技术 Background technique
目前,电视台在播出视频数据时采用的广播控制系统通常包括:视频服务器和播出控制单元。其中,视频服务器通常为电视台的视频服务器,其存储的信息包括:多个待播出的视频数据,也可以称为多个待播出素材,视频服务器用于在播出控制单元的控制下将待播出的视频数据播出。播出控制单元中存储的信息包括:待播出视频数据的开播时间、待播出视频数据的目录表。这里,该待播出视频数据的目录表中存储有待播出视频数据的标识,该待播出视频数据的标识与视频服务器中待播出的视频数据相对应。并且,待播出视频数据的目录表中待播出视频数据的标识是按照预先设置的播出顺序排列的,可见该待播出视频数据的目录表也可称为待播出视频数据的播出任务表。那么,基于播出控制单元中存储的上述信息,播出控制单元能控制视频服务器的解码通道,播出视频服务器中的视频数据。并且能相对应于开播时间,控制视频服务器中视频数据的播出。At present, the broadcast control system used by TV stations when broadcasting video data generally includes: a video server and a broadcast control unit. Wherein, the video server is usually a video server of a TV station, and the information stored in it includes: a plurality of video data to be broadcast, which can also be referred to as a plurality of materials to be broadcast, and the video server is used to transfer The video data to be broadcasted is broadcasted. The information stored in the broadcast control unit includes: the start time of the video data to be broadcast, and the table of contents of the video data to be broadcast. Here, the identifier of the video data to be broadcast is stored in the table of contents of the video data to be broadcast, and the identifier of the video data to be broadcast corresponds to the video data to be broadcast in the video server. Moreover, the identifiers of the video data to be broadcast in the table of contents of the video data to be broadcast are arranged according to the preset play order, so it can be seen that the table of contents of the video data to be broadcast can also be called the broadcasting table of the video data to be broadcast. out task list. Then, based on the above information stored in the playout control unit, the playout control unit can control the decoding channel of the video server to play out the video data in the video server. And it can control the broadcasting of the video data in the video server corresponding to the broadcasting time.
通常为了确保播出安全,电视台一般在广播控制系统中采用保障安全的备份机制。如图1所示为现有具备安全备份措施的广播控制系统,图1中,该系统包括主、备两套控制和播出体系。其中,主控制和播出体系包括主播出控制单元11和主视频服务器12;备控制和播出体系包括备播出控制单元21和备视频服务器22。并且,通过主控制和播出体系输出的主视频信号,和通过备控制和播出体系输出的备视频信号经由信号切换设备31进行切换和解码后输出。具体来说,该系统用两个播出控制单元,分别控制两个视频服务器的解码通道播出视频数据。即用主播出控制单元11控制主视频服务器12;用备播出控制单元21控制备视频服务器22。两个播出控制单元互为主备关系,主播出控制单元11和备播出控制单元21之间通过网络交换数据,且二者所存储的信息保持一致,比如二者存储的待播出视频数据的目录表一致。两个视频服务器也互为主备关系,且主视频服务器12和备视频服务器22中一般存储有同样的视频数据。通常,通过信号切换设备31最终将从主视频服务器12接收的主视频信号解码后向外输出。当信号切换设备31在接收主视频信号出故障的情况下,切换成接收备视频信号,将接收的备视频信号解码后向外输出。这里,需要指出的是播出控制单元一般也支持切换,比如在主播出控制单元11出故障的情况下,备播出控制单元21可以获得控制权,作为主播出控制单元控制视频数据的播出。主/备视频信号的切换与主/备播出控制单元的切换一般是同步的。Usually, in order to ensure the safety of broadcasting, TV stations generally adopt a backup mechanism to ensure safety in the broadcasting control system. Figure 1 shows the existing broadcast control system with safety backup measures. In Figure 1, the system includes two sets of control and broadcast systems, the master and the backup. Wherein, the main control and playout system includes the main playout control unit 11 and the main video server 12 ; the standby control and playout system includes the standby playout control unit 21 and the standby video server 22 . Moreover, the main video signal output through the main control and playout system, and the backup video signal output through the backup control and playout system are switched and decoded by the signal switching device 31 and then output. Specifically, the system uses two broadcast control units to respectively control the decoding channels of two video servers to broadcast video data. That is, the main video server 12 is controlled by the main broadcast control unit 11 ; the standby video server 22 is controlled by the standby broadcast control unit 21 . The two playout control units have a master-backup relationship with each other. The main playout control unit 11 and the backup playout control unit 21 exchange data through the network, and the information stored by the two remains consistent, such as the stored information to be played out. The table of contents of the video data agrees. The two video servers also have a master/backup relationship with each other, and the master video server 12 and the backup video server 22 generally store the same video data. Usually, the main video signal received from the main video server 12 is finally decoded by the signal switching device 31 and then output to the outside. When the signal switching device 31 fails to receive the main video signal, it switches to receive the backup video signal, and outputs the received backup video signal after decoding. Here, it should be pointed out that the broadcast control unit generally also supports switching. For example, in the case of a failure of the main broadcast control unit 11, the standby broadcast control unit 21 can obtain the control right as the main broadcast control unit to control the video data. broadcast. The switching of the master/standby video signal and the switch of the master/standby broadcast control unit are generally synchronous.
在系统中主、备两套控制和播出体系正常工作状态下,由于是两个完全一致的播出同步进行,有效地保障了安全性。但在一个播出控制单元出现故障的情况下,就会是由另外一个播出控制单元独立承担起控制视频数据播出的任务,也就是说此时的播出失去了备份机制,那么,失去备份机制的时间越长,播出的风险也就越大。In the normal working state of the main and backup control and broadcasting systems in the system, the safety is effectively guaranteed because the two identical broadcasting systems are carried out synchronously. However, when a broadcast control unit breaks down, another broadcast control unit will independently undertake the task of controlling the broadcast of video data, that is to say, the broadcast at this time has lost the backup mechanism. The longer the backup mechanism, the greater the risk of broadcasting.
具体来说,由于待播出视频数据目录表中待播出视频数据的标识是按照预先设置的播出顺序排列的,因此播出控制单元是按照该待播出视频数据目录表的安排,控制视频服务器的解码通道进行视频数据播出的。如图3所示为一个待播出视频数据目录表,相应于预先设置的播出顺序,该待播出视频数据目录表存储有第一视频数据的标识、第二视频数据的标识、......,以及第N视频数据的标识。且主播出控制单元和备播出控制单元中有完全相同的待播出视频数据目录表。那么,针对一个播出控制单元出现故障的情况下的播出而言,举例来说,当前电视台欲播出第一视频数据,备播出控制单元根据待播出视频数据目录表中的第一视频数据的标识,以及第一视频数据的开播时间,控制视频服务器中相对应的第一视频数据的播出。如果备播出控制单元或者备解码通道发生故障,必然导致第一视频数据未能播出,则此时只有主播出控制单元控制主解码通道完成第一视频数据的播出。也就是说,当前只有一个主视频信号播出,不存在安全备份机制。如果在第一视频数据播出一段时间后,发生故障的备播出控制单元或备解码通道故障修复,并恢复至正常工作状态,需要等到播出下一条第二视频数据时备视频信号才能恢复播出。这是因为,采用现有技术,播出控制单元只能实现在待播出视频数据的开播时间对解码通道发送播出命令。由此可知,在第一视频数据的开播时间,播出控制单元会根据待播出视频数据目录表中的第一视频数据的标识,发送对第一视频数据的播出命令,从而控制视频服务器中相对应的第一视频数据的播出。而一旦过了第一视频数据的开播时间,播出控制单元就不会再次发送对第一视频数据的播出命令,从而无法控制针对第一视频数据的中断备份部分视频信号的播出。如果第一视频数据的播出时间比较长,则在第一视频数据持续播出的时间段内所播出的视频信号都没有备份机制,是存在风险的。Specifically, since the identifiers of the video data to be broadcast in the video data table of contents to be broadcast are arranged according to the preset broadcast order, the play control unit controls the The decoding channel of the video server is used for broadcasting video data. As shown in Figure 3, it is a table of video data to be broadcast, corresponding to the preset play order, the table of video data to be broadcast stores the identification of the first video data, the identification of the second video data, .. ..., and the identification of the Nth video data. And the main broadcast control unit and the standby broadcast control unit have exactly the same directory table of video data to be broadcast. Then, for the broadcasting under the condition that a broadcasting control unit breaks down, for example, if the current TV station wants to broadcast the first video data, the standby broadcasting control unit will use the first video data in the video data directory table to be broadcasted. The identifier of the video data and the broadcasting time of the first video data control the broadcasting of the corresponding first video data in the video server. If the standby playout control unit or the standby decoding channel breaks down, the first video data cannot be played out, and only the main playout control unit controls the main decoding channel to complete the broadcasting of the first video data. That is to say, currently only one main video signal is broadcast, and there is no safety backup mechanism. If after the first video data is broadcast for a period of time, the faulty standby broadcast control unit or standby decoding channel is repaired and restored to normal working state, the standby video signal cannot be restored until the next piece of second video data is broadcast broadcast. This is because, using the prior art, the playout control unit can only send a playout command to the decoding channel at the start time of the video data to be played out. It can be seen that, at the broadcasting time of the first video data, the broadcast control unit will send a broadcast command to the first video data according to the identifier of the first video data in the video data table of contents to be broadcast, thereby controlling the video server broadcasting of the corresponding first video data. And once the broadcasting time of the first video data has passed, the broadcast control unit will not send the broadcast command to the first video data again, so that the broadcasting of the interrupt backup part video signal for the first video data cannot be controlled. If the broadcasting time of the first video data is relatively long, there is no backup mechanism for the video signals played during the continuous broadcasting period of the first video data, which is risky.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种广播控制系统中的跟播方法,在系统中发生故障的单个控制和播出体系故障修复,并恢复至正常工作状态时,能及时将中断的视频信号播出。In view of this, the main purpose of the present invention is to provide a follow-up method in the broadcast control system. When a fault occurs in the system and a single control and broadcast system is repaired and restored to a normal working state, the interrupted broadcast can be promptly restored. The video signal is broadcast.
本发明的另一目的在于提供一种广播控制系统中的跟播装置,在系统中发生故障的单个控制和播出体系故障修复,并恢复至正常工作状态时,能及时将中断的视频信号播出。Another object of the present invention is to provide a follow-up device in the broadcast control system, which can broadcast the interrupted video signal in time when the failure of the single control and broadcast system in the system is repaired and restored to the normal working state. out.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
一种广播控制系统中的跟播方法,该方法包括以下步骤:A follow-up method in a broadcast control system, the method comprising the following steps:
A、获取故障排除恢复后当前播放的视频数据在播放过程中所对应的当前时间,以及所述当前播放的视频数据的开播时间;A. Obtain the current time corresponding to the currently played video data during the playback process after troubleshooting and recovery, and the start time of the currently played video data;
B、将获取的所述当前时间减去获取的所述开播时间,计算得到所述当前播放的视频数据当前应该播出的插入点;在得到的所述插入点发送跟播命令,实现针对所述当前播放的视频数据的中断部分视频信号的播出。B. The obtained current time is subtracted from the acquired start time to calculate the insertion point that the currently played video data should be broadcast at present; send a follow-up command at the obtained insertion point to realize the broadcasting for all Describes the broadcasting of the video signal of the interrupted part of the currently playing video data.
其中,步骤B中,所述计算得到当前播放的视频数据当前应该播出的插入点进一步为:将获取的所述当前时间减去获取的所述开播时间后,再累加上系统的延迟时间,得到所述当前播放的视频数据当前应该播出的插入点。Wherein, in step B, the calculation of the insertion point where the currently played video data should be played is further as follows: after subtracting the acquired start time from the acquired current time, add the delay time of the system, The insertion point at which the currently played video data should be played is obtained.
其中,在所述系统中的主播出控制单元存在故障的情况下,步骤A之前还包括:备播出控制单元检测到所述主播出控制单元存在故障,基于系统中所述主播出控制单元和备播出控制单元之间的切换机制进行切换,由切换得到的当前主播出控制单元完成所述当前播放的视频数据的播出;所述当前播放的视频数据的播放过程中,由切换得到的当前备播出控制单元故障排除恢复后,进入并执行所述步骤A。Wherein, in the case that the main broadcast control unit in the system is faulty, before step A, it also includes: the standby broadcast control unit detects that the main broadcast control unit has a fault, and based on the main broadcast control unit in the system, The switching mechanism between the control unit and the standby broadcast control unit is switched, and the current main broadcast control unit obtained by switching completes the broadcast of the currently played video data; during the playback of the currently played video data, Enter and execute the step A after the fault of the currently standby broadcast control unit obtained by switching is recovered after troubleshooting.
其中,在所述系统中的备播出控制单元存在故障的情况下,所述当前播放的视频数据的播放过程中,所述备播出控制单元故障排除恢复后,进入并执行所述步骤A。Wherein, in the case that there is a failure in the standby playout control unit in the system, during the playing process of the currently played video data, the standby playout control unit enters and executes the step A after troubleshooting and recovery. .
其中,在所述系统中的主播出控制单元和备播出控制单元皆存在故障的情况下,所述当前播放的视频数据的播放过程中,所述主播出控制单元和备播出控制单元故障排除恢复后,进入并执行所述步骤A。Wherein, in the case where both the main playout control unit and the standby playout control unit in the system fail, during the playing process of the currently played video data, the main playout control unit and the standby playout control unit After the unit has been restored after troubleshooting, go to and perform step A as described.
其中,在系统硬件故障的情况下,选择触发跟播操作,进入并执行所述步骤A。Wherein, in the case of a system hardware failure, select to trigger the follow-up operation, enter and execute the step A.
一种广播控制系统中的跟播装置,该装置包括:获取单元、计算单元和跟播实现单元;其中,A follow-up device in a broadcast control system, the device includes: an acquisition unit, a calculation unit and a follow-up realization unit; wherein,
获取单元,用于获取当前播放的视频数据在播放过程中所对应的当前时间,以及所述当前播放的视频数据的开播时间,并将获取的所述当前时间以及所述开播时间发送给所述计算单元;The obtaining unit is used to obtain the current time corresponding to the currently played video data during the playing process, and the broadcast start time of the currently played video data, and send the acquired current time and the broadcast start time to the computing unit;
计算单元,用于将所述当前时间减去获取的所述开播时间,计算得到所述当前播放的视频数据当前应该播出的插入点,并将所述插入点的信息发送给所述跟播实现单元;A calculation unit, configured to subtract the obtained start time from the current time to calculate the insertion point that should be broadcasted currently for the currently played video data, and send the information of the insertion point to the follow-up broadcast implementation unit;
跟播实现单元,用于接收到所述插入点的信息后,在得到的所述插入点发送跟播命令,实现针对所述当前播放的视频数据的中断部分视频信号的播出。The follow-up implementation unit is configured to send a follow-up command at the obtained insertion point after receiving the information of the insertion point, so as to realize the playback of the video signal of the interrupted part of the currently played video data.
其中,所述计算单元,进一步用于将所述当前时间减去获取的所述开播时间后,再累加上系统的延迟时间,计算得到所述当前播放的视频数据当前应该播出的插入点。Wherein, the calculation unit is further configured to subtract the acquired starting time from the current time, and add the delay time of the system to calculate the insertion point where the currently played video data should be played.
本发明在当前播放的视频数据的播放过程中,当系统的故障恢复后,获取故障排除恢复后当前播放的视频数据在播放过程中所对应的当前时间,以及当前播放的视频数据的开播时间;将获取的所述当前时间减去获取的所述开播时间,计算得到当前播放的视频数据当前应该播出的插入点;在该插入点发送跟播命令,实现针对当前播放的视频数据的中断部分视频信号的播出。The present invention obtains the current time corresponding to the currently played video data in the playback process after troubleshooting and recovery after the system failure is recovered during the playback process of the currently played video data, and the start time of the currently played video data; The obtained current time is subtracted from the obtained start time to calculate the insertion point that the currently played video data should be broadcast at present; send a follow-up command at the insertion point to realize the interruption part for the currently played video data Broadcasting of video signals.
采用本发明,在系统中发生故障的单个控制和播出体系故障修复,并恢复至正常工作状态时,能及时恢复备份机制,并很快地将中断的视频信号播出。By adopting the invention, when the failure of a single control and broadcast system in the system is repaired and restored to the normal working state, the backup mechanism can be restored in time, and the interrupted video signal can be broadcast quickly.
附图说明 Description of drawings
图1为现有广播控制系统的组成结构示意图;FIG. 1 is a schematic diagram of the composition and structure of an existing broadcast control system;
图2为本发明方法原理的实现流程示意图;Fig. 2 is the realization flow diagram of principle of the method of the present invention;
图3为待播出视频数据目录表一实例的组成示意图;Fig. 3 is the composition schematic diagram of an example of the video data directory table to be played;
图4为第一视频数据对应的播出时间段示意图。FIG. 4 is a schematic diagram of a broadcast time period corresponding to the first video data.
具体实施方式 Detailed ways
本发明的核心思想是:在当前播放的视频数据的播放过程中,当系统的故障恢复后,计算得到当前播放的视频数据当前应该播出的插入点,并发送跟播命令,实现针对当前播放的视频数据的中断部分视频信号的播出。The core idea of the present invention is: in the playback process of the currently played video data, when the system failure is restored, calculate the insertion point that the currently played video data should be played at present, and send a follow-up command to realize the current playback The video data interrupts the broadcast of the partial video signal.
为使本发明的目的、技术方案和优点更加清楚明白,以下举实施例并参照附图,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail by citing the following embodiments and referring to the accompanying drawings.
如图2所示,一种广播控制系统中的跟播方法,该方法包括以下步骤:As shown in Figure 2, a method for following broadcast in a broadcast control system, the method comprises the following steps:
步骤101、获取故障排除恢复后当前播放的视频数据在播放过程中所对应的当前时间,以及当前播放的视频数据的开播时间。Step 101. Obtain the current time corresponding to the currently played video data during the playing process after troubleshooting and recovery, and the start time of the currently played video data.
步骤102、将获取的所述当前时间减去获取的所述开播时间,计算得到当前播放的视频数据当前应该播出的插入点。Step 102: Subtract the acquired start time from the acquired current time to calculate the insertion point where the currently played video data should be played.
这里,针对插入点而言,也就是说,让当前视频数据从所述当前时间对应当前视频数据应该播出的点即故障排除恢复后的点开始播出。举例来说,所述当前时间为8点10分,所述开播时间为8点,二者相减计算得到10分钟,那么,以当前视频数据的第10分钟为当前播放的视频数据当前应该播出的插入点,并从当前视频数据的第10分钟开始播出,直至当前视频数据播放完毕。Here, for the insertion point, that is to say, let the current video data start playing from the point where the current time corresponds to the point where the current video data should be played, that is, the point after troubleshooting and recovery. For example, the current time is 8:10, and the start time is 8:00, and the subtraction of the two results in 10 minutes. Then, the 10th minute of the current video data is the currently played video data. The insertion point of the current video data will be played from the 10th minute of the current video data until the current video data is played.
步骤103、在得到的所述插入时间点发送跟播命令,实现针对当前播放的视频数据的中断部分视频信号的播出。Step 103: Send a follow-up command at the obtained insertion time point to realize the playback of the interrupted part of the video signal for the currently played video data.
这里需要指出的是,本发明采用步骤101~步骤103实现系统中当前播放的视频数据的中断部分视频信号的播出存在两种应用范围。第一种应用范围是系统为采取备份机制的系统,也就是说针对包括主、备两套控制和播出体系的系统而言,有主、备两路视频信号同步播出的情况,那么当系统故障,导致其中一路视频信号不能同步播出时,采用本发明,能在系统中发生故障的单个控制和播出体系故障修复,并恢复至正常工作状态时,及时恢复备份机制,并很快地将中断备份的视频信号播出。而且,由于系统中的主播出控制单元和备播出控制单元是可以切换的,因此并不存在完全意义上的主播出控制单元或者备播出控制单元。只是参照系统当前的状态来明确主播出控制单元或者备播出控制单元。也就是说,主、备两路视频信号实际上都是同步播出,当由于故障影响比如软件故障或硬件故障,导致其中一路视频信号比如主视频信号或者备视频信号没有同步播出,那么故障恢复后,采用本发明能使中断同步播出的信号快速的恢复播出。It should be pointed out here that there are two application scopes for the present invention to implement steps 101 to 103 to play the video signal of the interrupted part of the currently played video data in the system. The first type of application scope is that the system adopts a backup mechanism, that is to say, for a system that includes two sets of control and broadcasting systems, the main and the backup, and there is a situation where the main and backup video signals are broadcast synchronously, then when When a system fault causes one of the video signals to be unable to be broadcast synchronously, the present invention can restore the backup mechanism in time when a single fault occurs in the system and the broadcast system fault is restored to the normal working state, and quickly ground will interrupt the playback of the backup video signal. Moreover, since the main playout control unit and the standby playout control unit in the system can be switched, there is no main playout control unit or standby playout control unit in a complete sense. Just refer to the current state of the system to determine the main broadcast control unit or the standby broadcast control unit. That is to say, the main and backup video signals are actually broadcast simultaneously. When one of the video signals, such as the main video signal or the backup video signal, is not broadcast synchronously due to a fault such as a software failure or hardware failure, the failure After recovery, the signal that interrupts synchronous broadcasting can be quickly resumed broadcasting by adopting the present invention.
第二种应用范围是系统为未采取备份机制的系统,也就是说针对仅有一套控制和播出体系的系统而言,那么当系统故障,导致视频信号不能播出时,采用本发明,能在系统中发生故障的该控制和播出体系故障修复,并恢复至正常工作状态时,很快地将中断播出的视频信号播出。The second application range is that the system is a system without a backup mechanism, that is to say, for a system with only one set of control and broadcasting system, when the system fails and the video signal cannot be broadcasted, the present invention can When the failure of the control and broadcasting system in the system is repaired and restored to the normal working state, the interrupted broadcasting video signal will be broadcasted quickly.
方法实施例一为:结合图3所示的待播出视频数据目录表,当播出第一视频数据时,由于视频数据的调度问题,备解码通道所在备视频服务器中并没有存储有第一视频数据,而在开播前没有人发现这个问题或者没有做相应处理。那么,在第一视频数据开播时,备解码通道所在的备视频服务器将无法播出第一视频数据。此时系统操作人员发现这个问题,并迅速将第一视频数据迁移到对应的备视频服务器。如果采用现有技术,则由于备播出控制单元针对第一视频数据的播出命令已经发送过了,将不会再次发送播出命令,备解码通道将要等到下一条第二视频数据开播时才会恢复播出信号,导致在第一视频数据持续播出的时间段内,都是采用单个控制和播出体系实现播出,没有备份机制,存在风险。在这种视频数据的调度存在问题的情况下,本实施例中,结合图4所示的第一视频数据对应的播出时间段示意图和图1,广播控制系统中的跟播方法包括以下步骤:Method Embodiment 1 is: in combination with the video data directory table to be played shown in FIG. 3 , when the first video data is played, due to the video data scheduling problem, the standby video server where the decoding channel is located does not store the first video data. Video data, but no one discovered this problem or did not deal with it before the broadcast. Then, when the first video data is broadcast, the standby video server where the standby decoding channel is located will not be able to broadcast the first video data. At this time, the system operator discovers this problem, and quickly migrates the first video data to the corresponding standby video server. If the existing technology is adopted, then because the playout command for the first video data has been sent by the equipment playout control unit, the playout order will not be sent again, and the equipment decoding channel will wait until the next second video data is broadcasted. The broadcast signal will be restored, resulting in the use of a single control and broadcast system to achieve broadcast during the continuous broadcast period of the first video data. There is no backup mechanism, and there are risks. In the case that there is a problem in the scheduling of such video data, in this embodiment, in combination with the schematic diagram of the broadcast time period corresponding to the first video data shown in Figure 4 and Figure 1, the follow-up method in the broadcast control system includes the following steps :
步骤201、备播出控制单元查询自身存储的信息,获取第一视频数据的开播时间,以及视频数据的调度存在的问题排除后第一视频数据在播放过程中所对应的当前时间。Step 201: The standby playout control unit inquires the information stored by itself to obtain the start time of the first video data and the current time corresponding to the first video data during the play process after the problems existing in the scheduling of the video data are eliminated.
步骤202、备播出控制单元运行自身的运算器(图1未显示),将获取的所述当前时间减去获取的所述开播时间,计算得到第一视频数据当前应该播出的插入点;在得到的所述插入点,向备解码通道所在的备视频服务器发送跟播命令,即同步播出命令,实现针对第一视频数据的中断备份部分视频信号的播出。Step 202, the standby broadcast control unit operates its own arithmetic unit (not shown in Figure 1), subtracts the acquired start time from the acquired current time, and calculates the insertion point that the first video data should currently broadcast; At the obtained insertion point, send a follow-up command, that is, a synchronous play command, to the standby video server where the standby decoding channel is located, so as to realize the playback of the interrupted backup part of the video signal for the first video data.
这里,步骤202中,得到第一视频数据当前应该播出的插入点进一步为:备播出控制单元运行自身的运算器(图1未显示),将获取的所述当前时间减去获取的所述开播时间后,再累加上该系统的延迟时间,得到第一视频数据当前应该播出的插入点。其中,该系统的延迟时间包括:备播出控制单元自身运算器的运算时间、和跟播命令发送的延迟时间。并且,图4中的A用于标识开播时间所对应第一视频数据的播出点,B用于标识播放结束时间所对应第一视频数据的播出点;A1用于标识第一视频数据当前应该播出的插入点;A1’用于标识考虑到系统延迟时间的延迟影响后,第一视频数据当前应该播出的插入点。Here, in step 202, obtaining the insertion point at which the first video data should be broadcasted is further: the standby broadcasting control unit runs its own arithmetic unit (not shown in FIG. 1 ), and subtracts the obtained current time from the acquired After the broadcast start time, add up the delay time of the system to obtain the insertion point where the first video data should be broadcast at present. Wherein, the delay time of the system includes: the operation time of the computing unit of the backup play control unit itself, and the delay time of sending the follow-up play command. And, A in Fig. 4 is used for identifying the playout point of the first video data corresponding to the broadcast start time, and B is used for identifying the broadcast point of the first video data corresponding to the play end time; A1 is used for identifying the first video data current The insertion point that should be played; A1' is used to identify the insertion point that the first video data should currently play after considering the delay effect of the system delay time.
也就是说,在从插入点A1,对从插入点A1到播放结束时间所对应第一视频数据的播出点B所对应的这段时间、针对第一视频数据的中断备份部分视频信号发送播出命令时,还需要进一步考虑到该系统的延迟时间。针对系统的延迟时间而言,举例来说,备播出控制单元自身运算器开始运算到备播出控制单元发送跟播命令,需要40毫秒的运算时间;而备视频服务器接收到跟播命令到针对第一视频数据的中断备份部分视频信号播出,需要400毫秒的延迟时间,那么系统的延迟时间为440毫秒,即考虑到系统的延迟时间的插入点A1’在原插入点A1后440毫秒。这样,在系统中发生故障的单个控制和播出体系故障修复,并恢复至正常工作状态时,就可以通过寻找当前播放的视频数据播放过程中的插入点,并发送跟播命令,短时间内恢复当前中断备份的视频数据并播出,从而保证视频数据的播出具有备份机制,使主、备控制和播出体系的播出同步进行,从而降低未能及时备份的播出风险。That is to say, from the insertion point A1, for the period corresponding to the broadcast point B of the first video data corresponding to the playback end time from the insertion point A1, the video signal for the interrupted backup part of the first video data is transmitted and broadcasted. When issuing commands, the delay time of the system needs to be further considered. For the delay time of the system, for example, it takes 40 milliseconds for the calculation time from the computer of the standby broadcast control unit to start the operation until the standby broadcast control unit sends the follow-up command; and the standby video server receives the follow-up command to For the video signal broadcasting of the interrupt backup part of the first video data, a delay time of 400 milliseconds is required, so the delay time of the system is 440 milliseconds, that is, considering the delay time of the system, the insertion point A1' is 440 milliseconds after the original insertion point A1. In this way, when the failure of a single control and broadcast system in the system is repaired and restored to normal working status, it is possible to search for the insertion point in the playback process of the currently playing video data and send a follow-up command to achieve a short-term Restore and broadcast the currently interrupted video data, so as to ensure that the broadcast of video data has a backup mechanism, so that the broadcast of the main and backup control and broadcast systems can be synchronized, thereby reducing the risk of broadcasting that cannot be backed up in time.
这里需要指出的是,根据对系统故障的处理方式不同,我们把系统故障分为两类。第一类情况是系统播出软件故障,包括由于播出软件所在计算机故障造成的软件无法使用情况,比如主播出控制单元故障;第二类情况是系统非播出软件故障即系统硬件故障,包括视频服务器故障、控制线路故障,电源故障等任何软件以外的硬件设备故障。以下我们分别按照这两类情况,针对系统故障恢复后的处理方式进行举例阐述。What needs to be pointed out here is that we divide system failures into two categories according to the different ways of handling system failures. The first type of situation is system broadcast software failure, including the unusable software caused by the failure of the computer where the broadcast software is located, such as the main broadcast control unit failure; the second type of system non-broadcast software failure is the system hardware failure, Including video server failure, control line failure, power failure and any hardware equipment failure other than software. In the following, according to these two types of situations, we will give examples to explain the processing methods after the system failure is restored.
针对第一类情况而言,包括三种处理方式。第一种处理方式,在系统中的主播出控制单元存在故障的情况下,故障排除恢复后的处理流程与方法实施例一的步骤201~步骤202相同,包括步骤301~步骤302。区别仅在于步骤301之前还包括:备播出控制单元检测到主播出控制单元存在故障,基于系统中主播出控制单元和备播出控制单元之间的切换机制,进行主播出控制单元和备播出控制单元的切换,并将备播出控制单元切换为当前的主播出控制单元;将主播出控制单元切换为当前的备播出控制单元。也就是说,此时,当前的主播出控制单元完成当前播放的视频数据的播出,即之前的备播出控制单元经切换后接过控制权切换为主播出控制单元,并将由该之前的备播出控制单元控制的备视频信号切换为最终的输出。这里,当前播放的视频数据为第一视频数据,那么在第一视频数据的播放过程中,当前的备播出控制单元故障排除恢复后,执行步骤301~步骤302,即在当前的备播出控制单元的控制下,寻找第一视频数据当前应该播出的插入点并发送跟播命令,以实现针对第一视频数据的中断备份部分视频信号的播出。For the first type of situation, there are three ways to deal with it. In the first processing mode, in the case that the main broadcast control unit in the system is faulty, the processing flow after troubleshooting is the same as Step 201-Step 202 in Method Embodiment 1, including Step 301-Step 302. The only difference is that before step 301, it also includes: the standby playout control unit detects that the main playout control unit has a fault, and based on the switching mechanism between the main playout control unit and the standby playout control unit in the system, the main playout control unit and standby playout control unit, and switch the standby playout control unit to the current main playout control unit; switch the main playout control unit to the current standby playout control unit. That is to say, at this moment, the current main playout control unit completes the playout of the currently played video data, that is, the previous standby playout control unit takes over the control right after being switched and switches to the main playout control unit, and the The standby video signal controlled by the previous standby broadcast control unit is switched to the final output. Here, the currently playing video data is the first video data, then during the playing process of the first video data, after the fault of the current backup play control unit is recovered, execute steps 301 to 302, that is, in the current backup play control unit Under the control of the control unit, search for the insertion point where the first video data should be broadcasted and send a follow-up command, so as to realize the broadcasting of the interrupted backup part of the video signal for the first video data.
第二种处理方式,在系统中的备播出控制单元存在故障的情况下,备播出控制单元故障排除恢复后的处理流程与方法实施例一的步骤201~步骤202相同,包括步骤401~步骤402。举例来说,当前播放的视频数据为第一视频数据,备播出控制单元发生故障。如果在第一视频数据的播放过程中,备播出控制单元故障排除恢复后,执行步骤401~步骤402,即在备播出控制单元的控制下,寻找第一视频数据当前应该播出的插入点并发送跟播命令,以实现针对第一视频数据的中断备份部分视频信号的播出。In the second processing mode, in the case that there is a fault in the standby playout control unit in the system, the processing flow of the standby playout control unit after troubleshooting and recovery is the same as that of steps 201 to 202 in the first method embodiment, including steps 401 to 202. Step 402. For example, the currently played video data is the first video data, and the standby play control unit fails. If during the playing process of the first video data, after the standby playout control unit troubleshoots and recovers, execute steps 401 to 402, that is, under the control of the standby playout control unit, search for the insertion point where the first video data should be played out at present. Click and send a follow-up command to realize the playback of the video signal for the interruption backup part of the first video data.
第三种处理方式,在系统中的主播出控制单元和备播出控制单元皆存在故障的情况下,主播出控制单元或备播出控制单元故障排除恢复后的处理流程与方法实施例一的步骤201~步骤202类似,包括步骤501~步骤502。区别仅在于是在主播出控制单元,还是备播出控制单元控制下执行步骤501~步骤502。举例来说,当前播放的视频数据为第一视频数据,主播出控制单元和备播出控制单元发生故障。如果在第一视频数据的播放过程中,备播出控制单元故障排除恢复后,执行步骤501~步骤502,即在备播出控制单元的控制下,寻找第一视频数据当前应该播出的插入点并发送跟播命令,以实现针对第一视频数据的中断备份部分视频信号的播出。并且,如果第一视频数据的播放过程中,主播出控制单元故障排除恢复后,同样执行步骤501~步骤502,即在主播出控制单元的控制下,寻找第一视频数据当前应该播出的插入点并发送跟播命令,以实现针对第一视频数据的中断备份部分视频信号的播出。The third processing method, in the case that both the main broadcast control unit and the standby broadcast control unit in the system are faulty, the processing flow and method embodiment of the main broadcast control unit or the standby broadcast control unit after troubleshooting and recovery Steps 201 to 202 of Step 1 are similar, including Steps 501 to 502. The only difference lies in whether steps 501 to 502 are executed under the control of the master broadcast control unit or the backup broadcast control unit. For example, the currently played video data is the first video data, and the main broadcast control unit and the standby broadcast control unit fail. If during the playing process of the first video data, after the standby playout control unit troubleshoots and recovers, perform steps 501 to 502, that is, under the control of the standby playout control unit, search for the insertion point where the first video data should be played out at present. Click and send a follow-up command to realize the playback of the video signal for the interruption backup part of the first video data. And, if during the playing process of the first video data, after the main broadcast control unit recovers after troubleshooting, the steps 501 to 502 are also performed, that is, under the control of the main broadcast control unit, it is to find the first video data that should be played at present. The insertion point and send a follow-up command, so as to realize the playback of the video signal for the interruption backup part of the first video data.
针对第二类情况而言,举例来说,当系统硬件故障是备视频服务器解码通道故障的情况,那么备视频信号的播出会立刻中断。举例来说,当前播放的视频数据为第一视频数据,如果在第一视频数据的播放过程中,备视频服务器解码通道的故障排除恢复后,可以手动选择并触发跟播操作,跟播操作的具体流程过程与第一类情况的第一种处理方式类似,也是在当前的备播出控制单元的控制下,寻找第一视频数据当前应该播出的插入点并发送跟播命令,以实现针对第一视频数据的中断备份部分视频信号的播出。For the second type of situation, for example, when the hardware failure of the system is the failure of the decoding channel of the standby video server, the broadcasting of the standby video signal will be interrupted immediately. For example, the currently played video data is the first video data. If during the playback of the first video data, after troubleshooting on the decoding channel of the standby video server, you can manually select and trigger the follow-up operation. The specific flow process is similar to the first processing method of the first type of situation. It is also under the control of the current standby play control unit to find the insertion point where the first video data should be played at present and send a follow-up command to achieve the target The interruption of the first video data backs up the playout of the partial video signal.
一种广播控制系统中的跟播装置,该装置包括:获取单元、计算单元和跟播实现单元。其中,获取单元,用于获取故障排除恢复后当前播放的视频数据在播放过程中所对应的当前时间,以及当前播放的视频数据的开播时间,并将获取的所述当前时间以及所述开播时间发送给计算单元。计算单元,用于将所述当前时间减去获取的所述开播时间,计算得到当前播放的视频数据当前应该播出的插入点,并将所述插入点的信息发送给跟播实现单元。跟播实现单元,用于接收到所述插入点的信息后,在得到的所述插入点发送跟播命令,实现针对当前播放的视频数据的中断部分视频信号的播出。A follow-up device in a broadcast control system, the device includes: an acquisition unit, a calculation unit and a follow-up realization unit. Wherein, the obtaining unit is used to obtain the current time corresponding to the currently played video data in the playing process after troubleshooting and recovery, and the start time of the currently played video data, and the obtained current time and the start time sent to the computing unit. The calculation unit is used to subtract the obtained start time from the current time to calculate the insertion point of the currently played video data that should be played at present, and send the information of the insertion point to the follow-up implementation unit. The follow-up realization unit is configured to send a follow-up command at the obtained insertion point after receiving the information of the insertion point, so as to realize the playout of the interrupted part of the video signal for the currently played video data.
这里,计算单元,进一步用于将所述当前时间减去获取的所述开播时间后,再累加上系统的延迟时间,计算得到当前播放的视频数据当前应该播出的插入点。Here, the calculation unit is further configured to subtract the acquired starting time from the current time, and add the delay time of the system to calculate the insertion point where the currently played video data should be played.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101166780A CN101631204B (en) | 2008-07-15 | 2008-07-15 | A follow-up method and device in a broadcast control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101166780A CN101631204B (en) | 2008-07-15 | 2008-07-15 | A follow-up method and device in a broadcast control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101631204A CN101631204A (en) | 2010-01-20 |
CN101631204B true CN101631204B (en) | 2012-10-31 |
Family
ID=41576121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101166780A Expired - Fee Related CN101631204B (en) | 2008-07-15 | 2008-07-15 | A follow-up method and device in a broadcast control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101631204B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102510488B (en) * | 2011-11-04 | 2015-11-11 | 播思通讯技术(北京)有限公司 | A kind of utilize broadcast characteristic to carry out audio-visual synchronization method and device |
CN103873881B (en) * | 2012-12-13 | 2017-08-22 | 上海文广科技(集团)有限公司 | A kind of radio and television broadcast standby system |
CN105007505A (en) * | 2015-07-29 | 2015-10-28 | 无锡天脉聚源传媒科技有限公司 | Video broadcasting method and device |
CN107734390B (en) * | 2017-10-27 | 2020-12-11 | 广州酷狗计算机科技有限公司 | Live broadcast method, device and storage medium |
CN108900877B (en) * | 2018-07-16 | 2021-05-25 | 广州辉群智能科技有限公司 | Method for controlling audio and video playing equipment to play audio and video files and service equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6378129B1 (en) * | 1998-03-30 | 2002-04-23 | International Business Machines Corporation | Video server content synchronization |
CN1464396A (en) * | 2002-06-27 | 2003-12-31 | 深圳市中兴通讯股份有限公司 | Method for realizing backup between servers |
CN1882077A (en) * | 2005-06-14 | 2006-12-20 | 英保达股份有限公司 | System and method for monitoring broadcast program channels |
CN101127894A (en) * | 2007-09-24 | 2008-02-20 | 中兴通讯股份有限公司 | A method for ensuring the continuity of video surveillance recording |
CN101146215A (en) * | 2007-10-09 | 2008-03-19 | 华为技术有限公司 | Multicast-based video service redundancy backup method, device and system |
-
2008
- 2008-07-15 CN CN2008101166780A patent/CN101631204B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6378129B1 (en) * | 1998-03-30 | 2002-04-23 | International Business Machines Corporation | Video server content synchronization |
CN1464396A (en) * | 2002-06-27 | 2003-12-31 | 深圳市中兴通讯股份有限公司 | Method for realizing backup between servers |
CN1882077A (en) * | 2005-06-14 | 2006-12-20 | 英保达股份有限公司 | System and method for monitoring broadcast program channels |
CN101127894A (en) * | 2007-09-24 | 2008-02-20 | 中兴通讯股份有限公司 | A method for ensuring the continuity of video surveillance recording |
CN101146215A (en) * | 2007-10-09 | 2008-03-19 | 华为技术有限公司 | Multicast-based video service redundancy backup method, device and system |
Non-Patent Citations (1)
Title |
---|
JP特开2003-304418A 2003.10.24 |
Also Published As
Publication number | Publication date |
---|---|
CN101631204A (en) | 2010-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101742095B (en) | Automatic broadcast four-stage automatic switching device and method | |
CN101631204B (en) | A follow-up method and device in a broadcast control system | |
CN101820503B (en) | Dynamic following broadcast device and method | |
CN102006188B (en) | Path back switching method and device in transport network | |
CN103095480B (en) | Method, Network Management Equipment and the head-end system of head-end system active-standby switch | |
CN105652851B (en) | Redundant automation system and operation method | |
WO2021057438A1 (en) | Main/standby switching method and apparatus, bras device, and storage medium | |
US9013977B2 (en) | Method and system for reducing traffic disturbance in a communication network caused by intermittent failure | |
CN101626519B (en) | Method for detecting error in broadcasting control system | |
CN111083521B (en) | RTMP release main/standby fast switching method | |
CN103119893A (en) | A kind of APS service channel switching method, system and automatic protection switching equipment | |
CN115065589A (en) | Data traffic acquisition disaster recovery backup processing method, device, equipment, system and medium | |
CN111935490B (en) | Live broadcast recording and streaming disaster recovery processing method and system | |
CN203289551U (en) | A teleconference TV emergency processing device | |
CN102231730B (en) | Audio/video continuous play seamless switching system and method | |
CN107257298A (en) | A kind of fault handling method and device | |
CN101472089B (en) | Method for building hard disk playing system based on Grid | |
CN105068892B (en) | A kind of data cloning method and system | |
JP2009246475A (en) | Communication system with redundancy composition, and system switching method of the system | |
CN105306256A (en) | Hot-standby implementation method based on VxWorks equipment | |
EP3089459A1 (en) | Apparatus and method for implementing video-on-demand quick switching among multiple screens | |
CN100525488C (en) | Method and system for recovering network connection quickly after cluster server switching | |
CN113746664B (en) | Redundant architecture equipment resource management method based on state machine | |
KR102041793B1 (en) | Push to talk service management system and method for handling faults using duplexing | |
CN117519007B (en) | Three-level intelligent shift system, method, equipment management software and product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121031 Termination date: 20190715 |