CN102685549B - A method and device for switching real-time and non-real-time program content of train sound broadcasting - Google Patents

A method and device for switching real-time and non-real-time program content of train sound broadcasting Download PDF

Info

Publication number
CN102685549B
CN102685549B CN201110058301.6A CN201110058301A CN102685549B CN 102685549 B CN102685549 B CN 102685549B CN 201110058301 A CN201110058301 A CN 201110058301A CN 102685549 B CN102685549 B CN 102685549B
Authority
CN
China
Prior art keywords
time
real
train
broadcast
state
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
Application number
CN201110058301.6A
Other languages
Chinese (zh)
Other versions
CN102685549A (en
Inventor
解伟
陈德林
胡军
夏治平
陈鹏
孟祥昆
丁宝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Academy of Broadcasting Science Research Institute
Original Assignee
Academy of Broadcasting Science Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Academy of Broadcasting Science Research Institute filed Critical Academy of Broadcasting Science Research Institute
Priority to CN201110058301.6A priority Critical patent/CN102685549B/en
Publication of CN102685549A publication Critical patent/CN102685549A/en
Application granted granted Critical
Publication of CN102685549B publication Critical patent/CN102685549B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

本发明公开了一种列车声音广播实时和非实时节目内容切换方法和装置,该方法包括下列处理:在列车实时广播状态下,对列车实时广播的缓存数据状态进行判断,当确定缓存数据状态为缓存清空状态的持续时间达到第一预定时间时,将列车广播由列车实时广播状态切换到缓存播放状态,启动预先存储在缓存中的垫场素材,并播放垫场素材;在缓存播放状态下,对列车实时广播的可用缓存状态进行判断,当确定可用缓存的持续时间达到第二预定时间时,将列车广播由缓存播放状态切换到列车实时广播状态,并播放列车实时广播。通过上述处理,真正实现了列车声音广播的无缝播出。

The invention discloses a method and device for switching between real-time and non-real-time program content of train sound broadcasting. The method includes the following processing: in the state of train real-time broadcasting, judging the buffer data status of train real-time broadcasting, when the buffer data status is determined to be When the duration of the cache clearing state reaches the first predetermined time, the train broadcast is switched from the train real-time broadcast state to the cache play state, and the pad material stored in the cache is started in advance, and the pad material is played; in the cache play state, Judging the available buffer state of the train real-time broadcast, when it is determined that the duration of the available buffer reaches the second predetermined time, the train broadcast is switched from the buffer play state to the train real-time broadcast state, and the train real-time broadcast is played. Through the above processing, the seamless broadcasting of train sound broadcasting is truly realized.

Description

一种列车声音广播实时和非实时节目内容切换方法和装置A method and device for switching real-time and non-real-time program content of train sound broadcasting

技术领域 technical field

本发明涉及多媒体广播领域,特别是涉及一种列车声音广播实时和非实时节目内容切换方法和装置。The invention relates to the field of multimedia broadcasting, in particular to a method and device for switching real-time and non-real-time program content of train sound broadcasting.

背景技术 Background technique

目前,通过多路延时时间分集机制,能够实现列车在绝大多数隧道遮挡情况下的无中断实时广播。多路延时时间分集机制以实时节目被延时为代价,解决了绝大部分实际环境下的隧道遮挡问题。At present, through the multi-channel delay time diversity mechanism, it is possible to realize uninterrupted real-time broadcasting of trains under most tunnel blocking conditions. The multi-channel delay time diversity mechanism solves the tunnel occlusion problem in most practical environments at the cost of real-time program delay.

多路延时时间分集机制将实时音频信号进行N路等间隔延时,系统播出延迟最大的一路信号,而将实时及延迟较小的其它N路信号存储在缓存中,作为延迟最大信号的备份。当该路信号发生中断时,接收机从N路备份信号中提取有效数据,通过码流拼接,解决较短时间信号遮挡造成的接收中断问题。The multi-channel delay time diversity mechanism delays the real-time audio signal by N channels at equal intervals. The system broadcasts the signal with the largest delay, and stores the other N channels of signals with real-time and smaller delays in the cache as the signal with the largest delay. backup. When the signal of this channel is interrupted, the receiver extracts valid data from the backup signals of N channels, and through code stream splicing, it solves the problem of receiving interruption caused by signal occlusion in a short period of time.

多路延时时间分集机制的性能主要受两个参数的影响:一个参数是延迟时间,延迟时间是指第一路分集信号到最后一路分集信号的间隔,较大的延迟时间可以对抗较长的隧道,但如果延迟时间过大,会降低广播新闻的时效性。另一个参数是多路分集信号中相邻两路的间隔,即,时间窗门限。时间窗门限越小,意味着接收机拼接完整码流充满缓存所需要的时间越短。其中,N是延迟路数,较大的延迟路数越多意味着较多的数据备份,但是数据传输量也随之增大。The performance of the multi-channel delay time diversity mechanism is mainly affected by two parameters: one parameter is the delay time, and the delay time refers to the interval from the first channel diversity signal to the last channel diversity signal. A larger delay time can resist a longer Tunnel, but if the delay time is too large, it will reduce the timeliness of broadcasting news. Another parameter is the interval between two adjacent channels in the multi-channel diversity signal, that is, the time window threshold. The smaller the time window threshold, the shorter the time it takes for the receiver to splice the complete code stream to fill the buffer. Among them, N is the number of delay paths, and the larger the number of delay paths means more data backup, but the amount of data transmission also increases accordingly.

但是,在实际应用中,在超长隧道、超密集隧道群等少见的情况下,多路延时时间分集机制仍然不可能完全避免列车卫星实时广播的中断现象。下面以延迟时间Tdelay=10min的10路延时时间分集机制为例对现有技术中存在的技术问题进行说明。However, in practical applications, in rare cases such as ultra-long tunnels and ultra-dense tunnel groups, it is still impossible for the multi-channel delay time diversity mechanism to completely avoid the interruption of train satellite real-time broadcasting. The technical problems existing in the prior art are described below by taking the 10-way delay time diversity mechanism with a delay time T delay =10 min as an example.

如果隧道长度ttunnel超过多路延时时间分集机制给定的延迟时间Tdelay,即ttunnel>Tdelay,那么列车实时广播系统就会发生信号中断,中断时间tmute=ttunnel-Tdelay。图1是现有技术中超长隧道造成列车实时广播信号中断的示意图,如图1所示,列车途经一座20分钟长的隧道,且进隧道前一直正常接收。那么隧道的前10分钟列车实时广播正常播放,后10分钟信号就会中断。直到出了隧道,中断现象才会恢复。If the tunnel length t tunnel exceeds the delay time T delay given by the multi-channel delay time diversity mechanism, that is, t tunnel > T delay , then the train real-time broadcasting system will experience signal interruption, and the interruption time t mute = t tunnel - T delay . Fig. 1 is a schematic diagram of the interruption of the real-time broadcast signal of the train caused by the ultra-long tunnel in the prior art. As shown in Fig. 1, the train passes through a 20-minute long tunnel, and it has been receiving normally before entering the tunnel. Then the real-time broadcast of the train in the first 10 minutes of the tunnel will be played normally, and the signal will be interrupted in the next 10 minutes. The interruption doesn't resume until after exiting the tunnel.

如果隧道间的间隔topen过于紧凑密集,比时间窗门限Tdelay/N还要小,即topen<Tdelay/N,那么列车实时广播信号就会出现毛刺现象,每个信号毛刺持续时间为Tdelay/N-topen,所有毛刺的持续时间总和为tmute=Tdelay-N·topen。图2是现有技术中超密隧道群造成列车实时广播信号中断的示意图,如图2所示,列车连续经过10分钟长的隧道1和2,两座隧道之前分别有1分钟、40秒的正常接收时间,而时间窗门限为1分钟。列车实时广播信号在隧道1中不会中断,但在隧道2中,随着接收机缓存被清空,而出隧道1进入隧道2之前的40秒小于时间窗门限,导致列车实时广播信号将会出现毛刺现象。信号总共中断了10次,每次持续20秒,直到出了隧道,毛刺现象才会结束。If the interval t open between the tunnels is too compact and dense, which is smaller than the time window threshold T delay /N, that is, t open <T delay /N, then there will be glitches in the real-time broadcast signal of the train, and the duration of each signal glitch is T delay /Nt open , the sum of durations of all glitches is t mute =T delay -N·t open . Fig. 2 is a schematic diagram of the interruption of the real-time broadcast signal of the train caused by ultra-dense tunnel groups in the prior art. Receive time, and the time window threshold is 1 minute. The train's real-time broadcast signal will not be interrupted in tunnel 1, but in tunnel 2, as the receiver buffer is cleared, and the 40 seconds before exiting tunnel 1 and entering tunnel 2 is less than the time window threshold, the train's real-time broadcast signal will appear Glitch phenomenon. The signal was interrupted a total of 10 times, each lasting 20 seconds, and the glitch would not end until it exited the tunnel.

发明内容 Contents of the invention

本发明提供一种列车声音广播实时和非实时节目内容切换方法和装置,用以解决现有技术中在列车穿过超长隧道或超密集隧道群等情况下,多路延时时间分集机制不能完全避免列车卫星实时广播中断的问题。The present invention provides a method and device for switching between real-time and non-real-time program content of train sound broadcasting, which is used to solve the problem that the multi-channel delay time diversity mechanism cannot Completely avoid the problem of train satellite real-time broadcast interruption.

本发明提供一种列车声音广播实时和非实时节目内容切换方法,该方法包括下列处理:The invention provides a method for switching between real-time and non-real-time program content of train sound broadcasting, the method includes the following processing:

在列车实时广播状态下,对列车实时广播的缓存数据状态进行判断,当确定缓存数据状态为缓存清空状态的持续时间达到第一预定时间时,将列车广播由列车实时广播状态切换到缓存播放状态,启动预先存储在缓存中的垫场素材,并播放垫场素材;Under the train real-time broadcast state, the cache data state of the train real-time broadcast is judged, and when it is determined that the cache data state is that the duration of the cache empty state reaches the first predetermined time, the train broadcast is switched from the train real-time broadcast state to the buffer play state , start the matting material pre-stored in the cache, and play the matting material;

在缓存播放状态下,对列车实时广播的可用缓存状态进行判断,当确定可用缓存的持续时间达到第二预定时间时,将列车广播由缓存播放状态切换到列车实时广播状态,并播放列车实时广播。In the cache play state, the available cache state of the train real-time broadcast is judged, and when it is determined that the duration of the available cache reaches the second predetermined time, the train broadcast is switched from the cache play state to the train real-time broadcast state, and the train real-time broadcast is played .

本发明还提供列车声音广播实时和非实时节目内容切换装置,该装置包括:The present invention also provides a real-time and non-real-time program content switching device for train sound broadcasting, the device comprising:

第一切换模块,用于在列车实时广播状态下,对列车实时广播的缓存数据状态进行判断,当确定缓存数据状态为缓存清空状态的持续时间达到第一预定时间时,将列车广播由列车实时广播状态切换到缓存播放状态,启动预先存储在缓存中的垫场素材,并调用第一播放模块;The first switching module is used for judging the cached data state of the train’s real-time broadcast in the train’s real-time broadcast state, and when the duration of the cached data state is determined to be the cache empty state reaches the first predetermined time, the train broadcast is broadcasted by the train in real time The broadcast state is switched to the cache play state, the padding material pre-stored in the cache is started, and the first play module is called;

第一播放模块,用于播放垫场素材;The first playback module is used to play pad material;

第二切换模块,用于在缓存播放状态下,对列车实时广播的可用缓存状态进行判断,当确定可用缓存的持续时间达到第二预定时间时,将列车广播由缓存播放状态切换到列车实时广播状态,并调用第二播放模块;The second switching module is used to judge the available buffer state of the train real-time broadcast in the buffer play state, and switch the train broadcast from the buffer play state to the train real-time broadcast when it is determined that the duration of the available buffer reaches the second predetermined time state, and call the second playback module;

第二播放模块,用于播放列车实时广播。The second playing module is used for playing train real-time broadcasting.

本发明有益效果如下:The beneficial effects of the present invention are as follows:

本发明实施例在多路延时时间分集机制的基础上,编排出一种新颖的、适合列车广播实际应用环境的垫场节目素材,并设计引入垫场素材与实时广播信号相互间的切换机制,解决了现有技术中在列车穿过超长隧道或超密集隧道群等情况下,多路延时时间分集机制不能完全避免列车卫星实时广播中断的问题,真正实现了列车广播的无缝播出。On the basis of the multi-channel delay time diversity mechanism, the embodiment of the present invention compiles a novel pad program material suitable for the actual application environment of train broadcasting, and designs a switching mechanism between the pad material and the real-time broadcast signal , which solves the problem in the prior art that the multi-channel delay time diversity mechanism cannot completely avoid the interruption of train satellite real-time broadcast when the train passes through an ultra-long tunnel or ultra-dense tunnel group, etc., and truly realizes the seamless broadcast of train broadcast out.

附图说明 Description of drawings

图1是现有技术中超长隧道造成列车实时广播信号中断的示意图;Fig. 1 is the schematic diagram that the ultra-long tunnel in the prior art causes the train real-time broadcast signal to be interrupted;

图2是现有技术中超密隧道群造成列车实时广播信号中断的示意图;Fig. 2 is a schematic diagram of interruption of train real-time broadcast signal caused by ultra-dense tunnel group in the prior art;

图3是根据本发明实施例的列车声音广播实时和非实时节目内容切换方法的流程图;Fig. 3 is the flow chart of the real-time and non-real-time program content switching method of train sound broadcasting according to an embodiment of the present invention;

图4是本发明实施例的超长隧道切换机制的示意图;4 is a schematic diagram of an ultra-long tunnel switching mechanism according to an embodiment of the present invention;

图5是本发明实施例的超密集隧道群切换实例1的示意图;5 is a schematic diagram of an ultra-dense tunnel group switching instance 1 according to an embodiment of the present invention;

图6是本发明实施例的超密集隧道群切换实例2的示意图;6 is a schematic diagram of an ultra-dense tunnel group switching instance 2 according to an embodiment of the present invention;

图7是本发明实施例的超密集隧道群切换实例3的示意图;7 is a schematic diagram of an ultra-dense tunnel group switching instance 3 according to an embodiment of the present invention;

图8是根据本发明实施例的列车声音广播实时和非实时节目内容切换装置的结构示意图。Fig. 8 is a schematic structural diagram of a real-time and non-real-time program content switching device for train sound broadcasting according to an embodiment of the present invention.

具体实施方式 Detailed ways

为了解决现有技术中在列车穿过超长隧道或超密集隧道群等情况下,多路延时时间分集机制不能完全避免列车卫星实时广播中断的问题,本发明提供了一种列车声音广播实时和非实时节目内容切换方法及装置,以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。In order to solve the problem in the prior art that the multi-channel delay time diversity mechanism cannot completely avoid the interruption of the train satellite real-time broadcast when the train passes through an ultra-long tunnel or an ultra-dense tunnel group, etc., the present invention provides a train sound broadcast real-time With reference to the method and device for switching non-real-time program content, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

方法实施例method embodiment

根据本发明的实施例,提供了一种列车声音广播实时和非实时节目内容切换方法,该方法可以用于多路延时时间分集机制的列车广播,也适用于不采用多路延时机制的列车广播。图3是根据本发明实施例的列车声音广播实时和非实时节目内容切换方法的流程图,如图3所示,根据本发明实施例的列车声音广播实时和非实时节目内容切换方法包括:According to an embodiment of the present invention, a method for switching between real-time and non-real-time program content of train sound broadcasting is provided. train broadcast. Fig. 3 is the flow chart of the real-time and non-real-time program content switching method of train sound broadcasting according to the embodiment of the present invention, as shown in Figure 3, according to the train sound broadcasting real-time and non-real-time program content switching method of the embodiment of the present invention comprises:

步骤301,在列车实时广播状态下,对列车实时广播的缓存数据状态进行判断,当确定缓存数据状态为缓存清空状态的持续时间达到第一预定时间时,将列车广播由列车实时广播状态切换到缓存播放状态,启动预先存储在缓存中的垫场素材,并播放垫场素材;上述垫场素材可以包括片花和音乐。Step 301, in the real-time train broadcasting state, judge the cached data state of the train’s real-time broadcasting, and switch the train broadcasting from the train’s real-time broadcasting state to Cache the playing state, start the pad material pre-stored in the cache, and play the pad material; the pad material may include clips and music.

从另一方面说,从列车实时广播切换到垫场素材的启动依据可以是判断拼接无数据时间(即,缓存数据状态为缓存清空状态的持续时间),该时间可以人为设置,在本发明实施例中,该时间为5秒钟。On the other hand, the starting basis for switching from train real-time broadcasting to pad material can be judging the splicing data-free time (that is, the duration of the cache data state as the cache empty state), this time can be artificially set, and in the implementation of the present invention In the example, this time is 5 seconds.

需要说明的是,考虑到FLASH存储空间的限制,不可能存储长时间的垫场音乐素材。因此,在本发明实施例中,针对不同时长的中断,可以选择一段60秒的舒缓音乐,可以循环播放无明显中断感觉。此外,为了体现列车广播的特色,60秒的舒缓音乐之前还可以添加一段20秒的片花。片花每次只播一次,之后音乐可循环播放。这样,垫场素材的时间长度为80秒,由20秒片花和60秒音乐两部分组成,垫场素材的开头和结束5秒制作为淡入淡出。It should be noted that, considering the limitation of FLASH storage space, it is impossible to store long-term pad music materials. Therefore, in the embodiment of the present invention, for interruptions of different durations, a piece of soothing music of 60 seconds can be selected, which can be played in a loop without obvious interruption feeling. In addition, in order to reflect the characteristics of the train broadcast, a 20-second clip can be added before the 60-second soothing music. The clips are only played once each time, after which the music can be played in a loop. In this way, the duration of the padding material is 80 seconds, consisting of 20 seconds of footage and 60 seconds of music, and the beginning and ending 5 seconds of the padding material are made to fade in and fade out.

在步骤301中,在播放垫场素材时,可以播放一次20秒的片花,并循环播放60秒的音乐。In step 301, when playing the pad material, a 20-second clip can be played once, and 60-second music can be played in a loop.

步骤302,在缓存播放状态下,对列车实时广播的可用缓存状态进行判断,当确定可用缓存的持续时间达到第二预定时间时,将列车广播由缓存播放状态切换到列车实时广播状态,并播放列车实时广播。Step 302, in the cache play state, judge the available cache state of the train real-time broadcast, when it is determined that the duration of the available cache reaches the second predetermined time, switch the train broadcast from the cache play state to the train real-time broadcast state, and play The train broadcasts in real time.

优选地,在本发明实施例中,可以在播放完当前垫场素材后,再播放列车实时广播。Preferably, in the embodiment of the present invention, the real-time broadcast of the train can be played after the current background material is played.

需要说明的是,上述第二预定时间为时间窗门限,其中,时间窗门限为多路延时时间分集机制的多路分集信号中相邻两路的延时时间间隔。It should be noted that the above-mentioned second predetermined time is a time window threshold, wherein the time window threshold is the delay time interval between two adjacent channels in the multi-channel diversity signal of the multi-channel delay time diversity mechanism.

从另一方面说,从垫场素材切换到列车实时广播的启动依据可以是判断持续锁定时间(即,可用缓存的持续时间)是否达到时间窗门限Tdelay/N,在本发明实施例中,时间窗门限可以为1分钟。On the other hand, the starting basis for switching from pad material to train real-time broadcasting can be to judge whether the continuous locking time (that is, the duration of the available cache) reaches the time window threshold T delay /N. In the embodiment of the present invention, The time window threshold may be 1 minute.

综上所述,在实际应用中,可以由实时接收机对缓存数据的状态作出判断,当存在5秒的持续缓存空状态,由列车实时广播切换到缓存播放状态,启动垫场素材的播放,片花播放一次,音乐可循环播放,在播放的过程中监测可用缓存的状态,可以通过锁定状态计时,如果锁定状态持续时间达到时间窗口门限1分钟完整播放的要求,则在垫场素材播放完毕后切换到列车实时广播,否则仍然继续垫场素材音乐的下一周期播出。To sum up, in practical applications, the real-time receiver can make a judgment on the state of the buffered data. When there is a continuous buffer empty state for 5 seconds, the real-time broadcast of the train is switched to the buffered playback state, and the playback of the matting material is started. The clip is played once, and the music can be played in a loop. During the playback, the status of the available cache can be monitored, and the time can be counted through the lock state. If the duration of the lock state reaches the time window threshold of 1 minute for complete playback, the padding material will be played after the end of the play. Switch to train real-time broadcasting, otherwise continue to broadcast the next period of pad material music.

通过上述处理可以看出,由于垫场机制的引入,使得列车实时广播在受到遮挡中断时能够自动切换到垫场素材,当不受遮挡之后又自动切回到实时广播。一下结合附图和实例,对本发明上述技术方案进行举例说明。It can be seen from the above processing that due to the introduction of the padding mechanism, the real-time broadcast of the train can automatically switch to the padding material when it is interrupted by occlusion, and automatically switch back to the real-time broadcast when it is not blocked. The above-mentioned technical solutions of the present invention will be described by way of example in conjunction with the accompanying drawings and examples.

图4是本发明实施例的超长隧道切换机制的示意图,如图4所示,列车进入一座20分钟的隧道前一直正常接收,列车员也没有人工操作。则隧道中的前10分钟为实时节目正常播放,静音5秒后过渡为20秒片花,列车在隧道中的后575秒及驶出隧道后25秒播放10遍音乐,由于列车在驶出隧道后25秒时仍不足以判断出时间窗是否能达到1分钟,因此需要继续播放1遍音乐。列车在驶出隧道后60秒时发现时间窗达到60秒,因此等此遍音乐播完,即驶出隧道后85秒时切换到实时播出。Fig. 4 is a schematic diagram of an ultra-long tunnel switching mechanism according to an embodiment of the present invention. As shown in Fig. 4, the train has been receiving normally before entering a 20-minute tunnel, and the conductor has not manually operated it. Then the first 10 minutes in the tunnel is the real-time program playing normally, and after 5 seconds of silence, it transitions to a 20-second clip, and the music is played 10 times during the last 575 seconds of the train in the tunnel and 25 seconds after leaving the tunnel. 25 seconds is still not enough to judge whether the time window can reach 1 minute, so it is necessary to continue playing the music once. The train finds that the time window reaches 60 seconds 60 seconds after it leaves the tunnel, so it will switch to real-time broadcasting after 85 seconds after it leaves the tunnel.

图5是本发明实施例的超密集隧道群切换实例1的示意图,如图5所示,路段1全程正常接收,路段2播放20秒实时,然后静音5秒后过渡为20秒片花,后575秒循环播放10遍音乐并占用路段325秒时间,路段3在播放音乐后25秒时仍然不能判断出时间窗够用,因此继续播放60s音乐,直到发现时间窗超过60秒,后续575秒的时间一直正常播放实时节目。Fig. 5 is a schematic diagram of an ultra-dense tunnel group switching example 1 according to an embodiment of the present invention. As shown in Fig. 5, section 1 is received normally throughout the whole process, section 2 is played in real time for 20 seconds, and after 5 seconds of silence, it transitions to a 20-second clip, and then 575 Play music 10 times in a second loop and take up 325 seconds of the section. Section 3 still cannot judge that the time window is sufficient 25 seconds after playing the music, so continue to play music for 60 seconds until the time window exceeds 60 seconds, and the subsequent time is 575 seconds. The live program has been playing normally.

图6是本发明实施例的超密集隧道群切换实例2的示意图,如图6所示,路段1在隧道内正常播放600s,中断3秒,不到启动垫场素材的门限,因此路段2继续正常播放20秒实时,然后静音5秒后过渡为片花,后575秒循环播放10遍音乐并占用路段325秒时间,路段3在播放音乐后25秒时仍然不能判断出时间窗够用,因此继续播放60s音乐,直到发现时间窗超过60秒,后续575秒的时间一直正常播放实时节目。Fig. 6 is a schematic diagram of an example 2 of ultra-dense tunnel group switching according to the embodiment of the present invention. As shown in Fig. 6, section 1 is normally played in the tunnel for 600 seconds, interrupted for 3 seconds, and is less than the threshold for starting pad materials, so section 2 continues Play normally for 20 seconds in real time, then mute for 5 seconds and then transition to a clip, then play the music 10 times in a loop for the last 575 seconds and take up 325 seconds of the section. Section 3 still cannot judge that the time window is sufficient 25 seconds after playing the music, so continue Play music for 60s until the time window exceeds 60 seconds, and the real-time program will be played normally for the next 575 seconds.

图7是本发明实施例的超密集隧道群切换实例3的示意图,如图7所示,路段1在隧道内正常播放600s,中断5秒,启动片花;路段2继续播放片花的后15秒,并开始播放音乐,由于路段2的时间窗不足60秒,因此音乐一直循环播放下去,路段2的后625秒以及路段3的前35秒一共播放11遍音乐;路段3在播放音乐后35秒时仍然不能判断出时间窗够用,因此继续播放60s音乐,直到发现时间窗超过60秒,因此路段3后续565秒的时间切换到播放实时节目。Fig. 7 is a schematic diagram of an example 3 of ultra-dense tunnel group switching according to the embodiment of the present invention. As shown in Fig. 7, road section 1 is normally played in the tunnel for 600 seconds, interrupted for 5 seconds, and then the clip is started; road section 2 continues to play the clip after 15 seconds, And start playing music, because the time window of section 2 is less than 60 seconds, so the music has been played in a loop, the last 625 seconds of section 2 and the first 35 seconds of section 3 play music 11 times in total; section 3 is 35 seconds after playing music It still cannot be judged that the time window is enough, so continue to play 60s of music until it is found that the time window exceeds 60 seconds, so the subsequent 565 seconds of section 3 is switched to playing real-time programs.

从图5、图6、图7可以看出,隧道1长度的差别导致了列车实时广播和垫场素材的切换时的不同,印证了本发明实施例的机制在面对复杂多变的隧道环境时,其自身所具有的灵活处理能力。It can be seen from Fig. 5, Fig. 6, and Fig. 7 that the difference in the length of the tunnel 1 leads to the difference in the switching of real-time train broadcasting and matting materials, which proves that the mechanism of the embodiment of the present invention is effective in the face of complex and changeable tunnel environments. , its own flexible processing capabilities.

本发明实施例在多路延时时间分集机制的基础上,解决了多路延时时间分集机制自身所不能完全解决的停播问题,是对多路延时时间分集机制的一个有效补充。片花加可循环播放音乐的垫场素材设计方式既给提升列车广播的品牌和文化内涵留出了空间,也体现了垫场广播的灵活性,在整体和细节上有效地满足了列车广播无缝播出的需要。基于对缓存状态进行判断的综合切换机制在最大程度上保证了列车声音广播的连贯性、切换过渡的即时性和自然性以及实时广播的优先性。随着本垫场素材及其切换机制的引入,列车广播将摆脱长时间停播的尴尬,以及声音毛刺带来的烦躁感,广大听众将会在旅途中获得更轻松的听觉享受。On the basis of the multi-channel delay time diversity mechanism, the embodiment of the present invention solves the off-air problem that the multi-channel delay time diversity mechanism itself cannot completely solve, and is an effective supplement to the multi-channel delay time diversity mechanism. The background material design method of clips and music that can be played in a loop not only leaves room for enhancing the brand and cultural connotation of train broadcasting, but also reflects the flexibility of pad broadcasting, effectively meeting the seamlessness of train broadcasting in terms of overall and details. broadcast needs. The comprehensive switching mechanism based on the judgment of the buffer state ensures the continuity of the train sound broadcasting, the immediacy and naturalness of the switching transition, and the priority of real-time broadcasting. With the introduction of this background material and its switching mechanism, the train radio will get rid of the embarrassment of long-term suspension and the irritability caused by sound glitches, and the audience will enjoy a more relaxed listening experience during the journey.

装置实施例Device embodiment

根据本发明的实施例,提供了一种列车声音广播实时和非实时节目内容切换装置,该装置可以用于多路延时时间分集机制的列车广播,也适用于不采用多路延时机制的列车广播。图8是根据本发明实施例的列车声音广播实时和非实时节目内容切换装置的结构示意图,如图8所示,根据本发明实施例的列车声音广播实时和非实时节目内容切换装置包括:第一切换模块80、第一播放模块82、第二切换模块84、第二播放模块86。下面,对本发明实施例的列车声音广播实时和非实时节目内容切换装置进行详细的说明。According to an embodiment of the present invention, a real-time and non-real-time program content switching device for train sound broadcasting is provided. train broadcast. Fig. 8 is a schematic structural diagram of a real-time and non-real-time program content switching device for train sound broadcasting according to an embodiment of the present invention. As shown in Fig. 8 , the real-time and non-real-time program content switching device for train sound broadcasting according to an embodiment of the present invention includes: the first A switching module 80 , a first playing module 82 , a second switching module 84 , and a second playing module 86 . Next, the device for switching real-time and non-real-time program content of train sound broadcasting according to the embodiment of the present invention will be described in detail.

第一切换模块80,用于在列车实时广播状态下,对列车实时广播的缓存数据状态进行判断,当确定缓存数据状态为缓存清空状态的持续时间达到第一预定时间时,将列车广播由列车实时广播状态切换到缓存播放状态,启动预先存储在缓存中的垫场素材,并调用第一播放模块82;上述垫场素材包括片花和音乐。The first switching module 80 is used for judging the cached data state of the real-time train broadcast under the train real-time broadcast state, and when it is determined that the cached data state is that the duration of the cache empty state reaches the first predetermined time, the train broadcast is sent by the train The real-time broadcasting state is switched to the cache playing state, the padding material stored in the cache is started, and the first playback module 82 is called; the padding material includes clips and music.

从另一方面说,第一切换模块80将列车广播由列车实时广播状态切换到缓存播放状态的启动依据可以是判断拼接无数据时间(即,缓存数据状态为缓存清空状态的持续时间),该时间可以人为设置,在本发明实施例中,该时间为5秒钟。On the other hand, the first switching module 80 switches the train broadcast from the train real-time broadcast state to the cache play state based on the judgment of the splicing data-free time (that is, the cache data state is the duration of the cache empty state), which The time can be set artificially, and in the embodiment of the present invention, the time is 5 seconds.

需要说明的是,考虑到FLASH存储空间的限制,不可能存储长时间的垫场音乐素材。因此,在本发明实施例中,针对不同时长的中断,可以选择一段60秒的舒缓音乐,可以循环播放无明显中断感觉。此外,为了体现列车广播的特色,60秒的舒缓音乐之前还可以添加一段20秒的片花。片花每次只播一次,之后音乐可循环播放。这样,垫场素材的时间长度为80秒,由20秒片花和60秒音乐两部分组成,垫场素材的开头和结束5秒制作为淡入淡出。It should be noted that, considering the limitation of FLASH storage space, it is impossible to store long-term pad music materials. Therefore, in the embodiment of the present invention, for interruptions of different durations, a piece of soothing music of 60 seconds can be selected, which can be played in a loop without obvious interruption feeling. In addition, in order to reflect the characteristics of the train broadcast, a 20-second clip can be added before the 60-second soothing music. The clips are only played once each time, after which the music can be played in a loop. In this way, the duration of the padding material is 80 seconds, consisting of 20 seconds of footage and 60 seconds of music, and the beginning and ending 5 seconds of the padding material are made to fade in and fade out.

第一播放模块82,用于播放垫场素材;优选地,第一播放模块82在播放垫场素材时,可以播放一次20秒的片花,并循环播放60秒的音乐。The first playing module 82 is used to play back-up material; preferably, when playing back-up material, the first playback module 82 can play a 20-second clip once and play 60-second music in a loop.

第二切换模块84,用于在缓存播放状态下,对列车实时广播的可用缓存状态进行判断,当确定可用缓存的持续时间达到第二预定时间时,将列车广播由缓存播放状态切换到列车实时广播状态,并调用第二播放模块86;The second switching module 84 is used to judge the available buffer state of the train real-time broadcast in the buffer play state, and when it is determined that the duration of the available buffer reaches the second predetermined time, the train broadcast is switched from the buffer play state to the train real-time broadcast status, and call the second playback module 86;

需要说明的是,上述第二预定时间为时间窗门限,其中,时间窗门限为多路延时时间分集机制的多路分集信号中相邻两路的延时时间间隔。It should be noted that the above-mentioned second predetermined time is a time window threshold, wherein the time window threshold is the delay time interval between two adjacent channels in the multi-channel diversity signal of the multi-channel delay time diversity mechanism.

从另一方面说,第二切换模块84将列车广播由缓存播放状态切换到列车实时广播状态的启动依据可以是判断持续锁定时间(即,可用缓存的持续时间)是否达到时间窗门限Tdelay/N,在本发明实施例中,时间窗门限可以为1分钟。On the other hand, the second switching module 84 switches the train broadcast from the buffer play state to the train real-time broadcast state based on whether the continuous locking time (that is, the duration of the available cache) reaches the time window threshold T delay / N. In the embodiment of the present invention, the time window threshold may be 1 minute.

第二播放模块86,用于播放列车实时广播。优选地,在本发明实施例中,第二播放模块86可以在播放完当前垫场素材后,再播放列车实时广播。The second playing module 86 is used for playing the train real-time broadcast. Preferably, in the embodiment of the present invention, the second playing module 86 can play the real-time broadcast of the train after playing the current pad material.

在实际应用中,可以由实时接收机对缓存数据的状态作出判断,当存在5秒的持续缓存空状态,由列车实时广播切换到缓存播放状态,启动垫场素材的播放,片花播放一次,音乐可循环播放,在播放的过程中监测可用缓存的状态,可以通过锁定状态计时,如果锁定状态持续时间达到时间窗口门限1分钟完整播放的要求,则在垫场素材播放完毕后切换到列车实时广播,否则仍然继续垫场素材音乐的下一周期播出。In practical applications, the real-time receiver can make a judgment on the status of the buffered data. When there is a continuous buffer empty state for 5 seconds, the real-time broadcast of the train will switch to the buffered playback state, start the playback of the background material, play the movie once, and the music It can be played in a loop, and the status of the available cache can be monitored during the playback process. It can be timed through the lock state. If the duration of the lock state reaches the time window threshold of 1 minute for complete playback, it will switch to the real-time broadcast of the train after the padding material is played. , otherwise continue to play the next period of pad material music.

通过对垫场素材及其切换机制在超长隧道和超密集隧道场景下的应用分析,能够在实时节目和垫场节目间实现了有效地过渡。Through the application analysis of the pad material and its switching mechanism in the super-long tunnel and ultra-dense tunnel scenarios, an effective transition between real-time programs and pad programs can be achieved.

片花加可循环播放音乐的垫场素材设计方式在整体和细节上有效地满足了列车广播无缝播出的需要。80秒的素材不会占用FLASH太多的空间;片花设计给提升列车广播的品牌和文化内涵留出了空间;1分钟周期音乐体现了垫场广播的灵活性,可以满足不同时长的垫场需求;音乐完整播完才能切回到实时,避免让听众感觉到有内容的中断;淡入淡出设计避免了切换可能带来的生硬感觉。The design method of clips plus padding materials that can play music in a loop effectively meets the needs of seamless broadcasting of train broadcasting in terms of overall and details. The 80-second material will not take up too much space in FLASH; the clip design leaves room for enhancing the brand and cultural connotation of the train broadcast; the 1-minute period music reflects the flexibility of the pad broadcast, which can meet the needs of different durations ;The music can only be switched back to real time after the music is completely played, so as to avoid the audience feeling the interruption of the content; the fade-in and fade-out design avoids the blunt feeling that may be caused by switching.

而基于对缓存状态进行判断的综合切换机制包括:缓存清空后并持续5秒由实时切换到垫场;持续锁定时间达到时间窗门限1分钟由垫场切换到实时。这套机制在最大程度上保证了列车声音广播的连贯性、切换过渡的即时性和自然性以及实时广播的优先性。The comprehensive switching mechanism based on the judgment of the cache status includes: after the cache is cleared and lasts for 5 seconds, it will switch from real-time to pad; if the continuous locking time reaches the time window threshold, it will switch from pad to real-time for 1 minute. This set of mechanisms guarantees the continuity of train sound broadcasting, the immediacy and naturalness of switching transitions, and the priority of real-time broadcasting to the greatest extent.

尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。Although preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and therefore, the scope of the present invention should not be limited to the above-described embodiments.

Claims (8)

1.一种列车声音广播实时和非实时节目内容切换方法,其特征在于,所述方法包括下列处理:1. a kind of real-time and non-real-time program content switching method of train sound broadcasting, it is characterized in that, described method comprises following processing: 在列车实时广播状态下,对列车实时广播的缓存数据状态进行判断,当确定所述缓存数据状态为缓存清空状态的持续时间达到第一预定时间时,将列车广播由列车实时广播状态切换到缓存播放状态,启动预先存储在缓存中的垫场素材,并播放所述垫场素材;Under the train real-time broadcast state, the cache data state of the train real-time broadcast is judged, and when it is determined that the cache data state is that the duration of the cache empty state reaches the first predetermined time, the train broadcast is switched from the train real-time broadcast state to the cache In the playing state, start the padding material pre-stored in the cache, and play the padding material; 在所述缓存播放状态下,对所述列车实时广播的可用缓存状态进行判断,当确定可用缓存的持续时间达到第二预定时间时,将所述列车广播由所述缓存播放状态切换到所述列车实时广播状态,并播放列车实时广播,其中,所述第二预定时间为时间窗门限,其中,所述时间窗门限为多路延时时间分集机制的多路分集信号中相邻两路的延时时间间隔。In the cache play state, judge the available cache state of the real-time train broadcast, and switch the train broadcast from the cache play state to the Train real-time broadcast status, and play train real-time broadcast, wherein, the second predetermined time is the time window threshold, wherein, the time window threshold is the two adjacent channels in the multi-channel diversity signal of the multi-channel delay time diversity mechanism Delay time interval. 2.如权利要求1所述的方法,其特征在于,所述垫场素材包括:片花、以及音乐,并对所述垫场素材的开头和结尾进行淡入淡出处理。2 . The method according to claim 1 , wherein the padding material includes: clips and music, and the beginning and end of the padding material are faded in and faded out. 3 . 3.如权利要求2所述的方法,其特征在于,播放所述垫场素材包括:3. The method according to claim 2, wherein playing the matting material comprises: 播放一次所述片花;Play the clip once; 循环播放所述音乐。Play said music on a loop. 4.如权利要求1所述的方法,其特征在于,所述播放列车实时广播包括:4. The method according to claim 1, wherein said playing train real-time broadcast comprises: 在播放完当前垫场素材后,播放所述列车实时广播。After playing the current padding material, the real-time broadcast of the train is played. 5.一种列车声音广播实时和非实时节目内容切换装置,其特征在于,所述装置包括:5. A real-time and non-real-time program content switching device for train sound broadcasting, characterized in that the device comprises: 第一切换模块,用于在列车实时广播状态下,对列车实时广播的缓存数据状态进行判断,当确定所述缓存数据状态为缓存清空状态的持续时间达到第一预定时间时,将列车广播由列车实时广播状态切换到缓存播放状态,启动预先存储在缓存中的垫场素材,并调用第一播放模块;The first switching module is used for judging the cached data state of the train's real-time broadcast under the state of the train's real-time broadcast. The train real-time broadcast state is switched to the cache play state, the padding material pre-stored in the cache is started, and the first play module is called; 所述第一播放模块,用于播放所述垫场素材;The first playing module is used to play the padding material; 第二切换模块,用于在所述缓存播放状态下,对所述列车实时广播的可用缓存状态进行判断,当确定可用缓存的持续时间达到第二预定时间时,将所述列车广播由所述缓存播放状态切换到所述列车实时广播状态,并调用第二播放模块,其中,所述第二预定时间为时间窗门限,其中,所述时间窗门限为多路延时时间分集机制的多路分集信号中相邻两路的延时时间间隔;The second switching module is used to judge the available buffer status of the real-time broadcast of the train in the buffer playing state, and when it is determined that the duration of the available buffer reaches a second predetermined time, the train broadcast is broadcast by the The buffered playback state is switched to the real-time broadcast state of the train, and the second playback module is called, wherein the second predetermined time is a time window threshold, wherein the time window threshold is a multi-channel delay time diversity mechanism. The delay time interval between two adjacent channels in the diversity signal; 所述第二播放模块,用于播放列车实时广播。The second playing module is used to play the train real-time broadcast. 6.如权利要求5所述的装置,其特征在于,所述垫场素材包括:片花、以及音乐,所述垫场素材的开头和结尾为淡入淡出。6 . The device according to claim 5 , wherein the padding material includes: clips and music, and the beginning and end of the padding material are faded in and faded out. 7.如权利要求6所述的装置,其特征在于,所述第一播放模块具体用于:7. The device according to claim 6, wherein the first playback module is specifically used for: 播放一次所述片花;循环播放所述音乐。Play the trailer once; play the music in a loop. 8.如权利要求5所述的装置,其特征在于,所述第二播放模块具体用于:8. The device according to claim 5, wherein the second playing module is specifically used for: 在所述第一播放模块播放完当前垫场素材后,播放所述列车实时广播。After the first play module plays the current pad material, play the train real-time broadcast.
CN201110058301.6A 2011-03-11 2011-03-11 A method and device for switching real-time and non-real-time program content of train sound broadcasting Expired - Fee Related CN102685549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110058301.6A CN102685549B (en) 2011-03-11 2011-03-11 A method and device for switching real-time and non-real-time program content of train sound broadcasting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110058301.6A CN102685549B (en) 2011-03-11 2011-03-11 A method and device for switching real-time and non-real-time program content of train sound broadcasting

Publications (2)

Publication Number Publication Date
CN102685549A CN102685549A (en) 2012-09-19
CN102685549B true CN102685549B (en) 2015-05-27

Family

ID=46816819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110058301.6A Expired - Fee Related CN102685549B (en) 2011-03-11 2011-03-11 A method and device for switching real-time and non-real-time program content of train sound broadcasting

Country Status (1)

Country Link
CN (1) CN102685549B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634400B (en) * 2013-11-29 2017-10-31 深圳市航盛电子股份有限公司 A kind of data receiver caching method
CN108377409A (en) * 2018-03-05 2018-08-07 广东欧珀移动通信有限公司 Seamless playing method of multimedia file, terminal equipment and storage medium
CN114697882B (en) * 2022-04-27 2024-06-25 上海寰创通信科技股份有限公司 Train real-time broadcasting system and method in unmanned scene

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622616A (en) * 2003-11-28 2005-06-01 皇家飞利浦电子股份有限公司 A broadcast method and system for digital program
CN101282470A (en) * 2008-05-09 2008-10-08 中兴通讯股份有限公司 Medium play method and apparatus
CN101330340A (en) * 2008-07-31 2008-12-24 中兴通讯股份有限公司 Method for buffering and playing mobile multimedia broadcasting terminal adaptively adjusting receiving rate
WO2010122739A1 (en) * 2009-04-20 2010-10-28 三菱電機株式会社 Navigation device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622616A (en) * 2003-11-28 2005-06-01 皇家飞利浦电子股份有限公司 A broadcast method and system for digital program
CN101282470A (en) * 2008-05-09 2008-10-08 中兴通讯股份有限公司 Medium play method and apparatus
CN101330340A (en) * 2008-07-31 2008-12-24 中兴通讯股份有限公司 Method for buffering and playing mobile multimedia broadcasting terminal adaptively adjusting receiving rate
WO2010122739A1 (en) * 2009-04-20 2010-10-28 三菱電機株式会社 Navigation device

Also Published As

Publication number Publication date
CN102685549A (en) 2012-09-19

Similar Documents

Publication Publication Date Title
CA2828945C (en) Transmitting device, transmitting method, receiving device, receiving method, program, and broadcasting system
JP2004088507A5 (en)
RU2357360C2 (en) System and method of digital broadcasting for mobile terminal
CN104202684A (en) Segmental network video seamless playing method and device
JP2004088507A (en) Broadcast system having transmitter and receiver, receiver and program
CN102685549B (en) A method and device for switching real-time and non-real-time program content of train sound broadcasting
CN105635811A (en) Advertisement playing method and device based on broadcast and TV wireless live broadcast signal
EP1187377A2 (en) Method and apparatus for broadcasting programmes, comprising a means for scheduling the transmission of these programmes, recording medium for recording the broadcast programmes, and program carried out by a computer in order to carry out the method
CA2792106A1 (en) Method and system for inhibiting audio-video synchronization delay
CN101282467B (en) Method and apparatus for caching data when playing medium with low speed
US20050034157A1 (en) Apparatus and method for encoding/decoding broadcast/spare contents
CN103685314B (en) Method for achieving seamless switching of unicast and multicast of stream media playing
CN114401193B (en) HLS slicing method and device supporting MPTS
US9287997B2 (en) Removing network delay in a live broadcast
JP2004513579A (en) Method and apparatus for transmitting and reproducing audio and / or video information having main program and commercial
AU776739B2 (en) Process and system for displaying video programs on demand
JP4477056B2 (en) Receiving apparatus and receiving method
KR101488729B1 (en) Digital broadcast transmitting apparatus and receiving apparatus and methods thereof
CN109327724B (en) Audio and video synchronous playing method and device
CN105392040B (en) Control method and control system for synchronous pause and play of multiple devices
JP4570483B2 (en) Digital broadcast receiver
CN105976825A (en) Music sharing device and music sharing method
CN100421373C (en) A method and system for implementing audio file insertion in Internet radio stations
KR100782830B1 (en) Broadcast receiving device and method for storing digital multimedia broadcasting audio data
JP2010268340A (en) Recording device and dubbing device

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: 20150527