[go: up one dir, main page]

CN1976444A - Digital medium channel switching method and system - Google Patents

Digital medium channel switching method and system Download PDF

Info

Publication number
CN1976444A
CN1976444A CNA2006101707640A CN200610170764A CN1976444A CN 1976444 A CN1976444 A CN 1976444A CN A2006101707640 A CNA2006101707640 A CN A2006101707640A CN 200610170764 A CN200610170764 A CN 200610170764A CN 1976444 A CN1976444 A CN 1976444A
Authority
CN
China
Prior art keywords
multicast
access device
terminal
user
caching process
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.)
Granted
Application number
CNA2006101707640A
Other languages
Chinese (zh)
Other versions
CN100496120C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006101707640A priority Critical patent/CN100496120C/en
Publication of CN1976444A publication Critical patent/CN1976444A/en
Priority to PCT/CN2007/003415 priority patent/WO2008077302A1/en
Application granted granted Critical
Publication of CN100496120C publication Critical patent/CN100496120C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • H04N21/4384Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明提供一种数字媒体频道切换方法及一种数字媒体频道切换系统,用以解决现有技术中存在用户频道切换时间过长的问题。本发明方法包括:在用户端接入设备设置组播复制点,并对组播数据进行缓存处理,当频道切换时,将所述缓存处理的组播数据发送给终端。本发明将终端进行的抖动缓存处理转放于用户端接入设备完成,使得组播数据在用户端接入设备上即进行了去除抖动处理,由于用户端接入设备是最靠近终端的系统设备,所以可以在终端降低去除抖动处理的要求,终端缓存低水线可以设置较低,这样可以减少用户切换过程中T1的时长,从而减少频道切换时间。

Figure 200610170764

The invention provides a digital media channel switching method and a digital media channel switching system, which are used to solve the problem in the prior art that user channel switching time is too long. The method of the invention includes: setting a multicast replication point on the access device of the user end, and performing buffer processing on the multicast data, and sending the buffer processed multicast data to the terminal when the channel is switched. The present invention transfers the jitter buffer processing performed by the terminal to the user-side access device to complete, so that the multicast data is immediately de-jittered on the user-side access device, because the user-side access device is the system device closest to the terminal , so the requirements for jitter removal processing can be reduced at the terminal, and the low watermark of the terminal buffer can be set lower, which can reduce the duration of T1 during the user switching process, thereby reducing the channel switching time.

Figure 200610170764

Description

一种数字媒体频道切换方法及系统A digital media channel switching method and system

技术领域technical field

本发明涉及通信领域,尤其涉及一种数字媒体频道切换方法及一种数字媒体频道切换系统。The invention relates to the communication field, in particular to a digital media channel switching method and a digital media channel switching system.

背景技术Background technique

IPTV即交互式网络电视,是一种利用宽带网,集互联网、多媒体、通讯等技术于一体,向家庭用户提供包括清晰流畅的视频节目在内的多种交互式服务的技术。该技术由电信运营商为主体提供,视频业务可方便和电信运营商提供的语音、数据及移动游牧等多种业务进行业务捆绑和集成,形成以用户为中心的融合业务系统,显示出很大的市场潜力。IPTV技术系统架构分为头端业务系统、承载传送网络及终端等几部分,分别完成不同的功能。IPTV, or Interactive Network Television, is a technology that utilizes broadband networks and integrates technologies such as the Internet, multimedia, and communications to provide home users with a variety of interactive services including clear and smooth video programs. This technology is mainly provided by telecom operators. Video services can be easily bundled and integrated with voice, data and mobile nomadic services provided by telecom operators to form a user-centered integrated service system, which shows great potential. market potential. The IPTV technical system architecture is divided into several parts such as the head-end service system, the bearer transmission network, and the terminal, each of which performs different functions.

如图1所示,是常见的IPTV网络架构示意图,主要划分为头端业务系统、承载网络、用户端接入设备和终端。其中头端业务系统提供内容服务与管理,承载网络完成业务传送,用户端接入设备提供用户的接入并发送业务内容,终端提供业务内容的播放。其中终端部分包括电视、个人计算机(PC)和机顶盒(STB)等,目前采用STB+电视的终端应用较多。其中STB主要作为数字视频信号的接收和处理设备,与网络进行交互控制,实现IPTV业务功能,电视机完成数字视频的显示工作。As shown in Figure 1, it is a schematic diagram of a common IPTV network architecture, which is mainly divided into a head-end service system, a bearer network, user-side access devices, and terminals. The head-end service system provides content service and management, the bearer network completes service transmission, the user end access device provides user access and sends service content, and the terminal provides service content playback. Among them, the terminal part includes TV, personal computer (PC) and set-top box (STB), etc. Currently, there are many terminal applications using STB+TV. Among them, the STB is mainly used as a receiving and processing device for digital video signals, and interacts with the network to realize IPTV service functions, and the TV completes the display work of digital video.

IPTV业务主要有VOD/NVOD(视频点播/准视频点播)、BTV(直播电视)、Time-shift TV(时移电视)、PVR/nPVR(个人视频存储/个人网络视频存储等主要业务,其中BTV也俗称直播电视,是同一频道的节目发送给所有收看这一频道的用户,头端业务系统通过承载网采用组播技术向选择该频道的全部用户同时推送相同的频道节目(媒体流)。IPTV services mainly include VOD/NVOD (video on demand/quasi video on demand), BTV (live TV), Time-shift TV (time-shift TV), PVR/nPVR (personal video storage/personal network video storage and other main services, of which BTV Also commonly known as live TV, programs on the same channel are sent to all users who watch this channel. The head-end service system uses multicast technology to simultaneously push the same channel program (media stream) to all users who choose this channel through the bearer network.

在BTV业务采用组播技术进行频道节目推送中,需要解决两个关键问题:组播控制点选择和组播复制点选择。When the BTV service adopts the multicast technology to push channel programs, two key problems need to be solved: the selection of the multicast control point and the selection of the multicast replication point.

组播控制点完成用户频道权限的判断,通常在用户端接入设备上实现,当用户选择了某个频道后,终端设备(机顶盒设备等)通过发送互联网组管理协议(IGMP)请求加入频道对应的组播组,组播控制点接受请求后根据用户定购信息判断用户是否有权收看该频道节目。The multicast control point completes the judgment of the user's channel authority, which is usually implemented on the user's access device. When the user selects a channel, the terminal device (set-top box device, etc.) sends an Internet Group Management Protocol (IGMP) request to join the corresponding channel. After receiving the request, the multicast control point judges whether the user has the right to watch the program according to the user's order information.

组播复制点依据端口是否有组播接收请求和相应用户权利向端口复制组播数据流。组播复制点以下通过单播方式向用户传送直播节目,因此组播复制点越靠近用户设备则越节省网络带宽。通常组播复制点设置在用户端接入设备上(如数字用户线接入复用器(DSLAM)或宽带接入服务器(BRAS)等),组播复制点以上的设备支持组播,用户端接入设备需支持互联网组管理协议侦听(IGMP snooping)、互联网组管理协议代理(IGMP proxy)等协议实现组播数据的可控转发。The multicast replication point replicates the multicast data flow to the port according to whether the port has a multicast reception request and the corresponding user rights. Below the multicast replication point, live broadcast programs are transmitted to users through unicast, so the closer the multicast replication point is to the user equipment, the more network bandwidth can be saved. Usually, the multicast replication point is set on the user end access device (such as digital subscriber line access multiplexer (DSLAM) or broadband access server (BRAS), etc.), and the devices above the multicast replication point support multicast, and the user end The access device needs to support IGMP snooping, IGMP proxy and other protocols to realize the controllable forwarding of multicast data.

用户在接收BTV节目的过程中,存在改换频道的需求。而从一个频道改换到另一个频道的过程中,不可避免地存在着改换频道造成的时延问题。如图2所示,是用户改换频道的一个流程示意图,从图中可见,用户改换频道需要经过以下几个步骤:During the process of receiving BTV programs, the user needs to change the channel. In the process of changing from one channel to another, there is inevitably a time delay problem caused by changing channels. As shown in Figure 2, it is a schematic diagram of the process for the user to change the channel. It can be seen from the figure that the user needs to go through the following steps to change the channel:

步骤201、用户向DSLAM发送频道切换请求,请求离开当前频道;Step 201, the user sends a channel switching request to the DSLAM, requesting to leave the current channel;

步骤202、DSLAM停止正在播放的视频流的信令控制,离开组播组;Step 202, the DSLAM stops the signaling control of the video stream being played, and leaves the multicast group;

步骤203、用户向DSLAM发送加入新的频道请求;Step 203, the user sends a request to join a new channel to the DSLAM;

步骤204、DSLAM向终端发送新的频道内容,用户改换到该新的频道上接收组播数据流;Step 204, the DSLAM sends new channel content to the terminal, and the user switches to the new channel to receive the multicast data stream;

步骤205、终端缓存到达低水线后调度数据流到解码缓存,解码器等待第一个重要帧(I帧)后输出视频码流,完成频道改换,正常接收新的频道发送内容。Step 205: After the terminal buffer reaches the low water mark, the data stream is dispatched to the decoding buffer, and the decoder waits for the first important frame (I frame) to output the video code stream, complete the channel change, and normally receive the content sent by the new channel.

从上述流程中可知,造成频道切换过程中时延的主要因素有如下两点:It can be seen from the above process that the main factors causing the delay in the channel switching process are as follows:

1、终端抖动缓存到达低水线后调度数据流到解码缓存所用的时间T1;1. The time T1 for scheduling the data flow to the decoding buffer after the terminal jitter buffer reaches the low watermark;

2、终端解码器获得第一个I帧后解码输出视频码流所用的时间T2。2. The time T2 it takes for the terminal decoder to decode and output the video code stream after obtaining the first I frame.

上述时间T1和T2可以通过一些方案来控制。The above times T1 and T2 can be controlled by some schemes.

抖动缓存是为了补偿网络抖动造成的影响而设置在终端的缓冲区,用于在转发数据包之前先缓存一段时间的数据包以平滑数据包的传输,补偿包抖动、丢失、延时及其它情况造成的不利影响。可以通过调整终端上抖动缓存的设置来降低T1值,通过抖动缓存的高水线(high-watermark)和低水线(low-watermark)的设置,可以在一定程度上降低T1值。然而调整抖动缓存低水线和高水线带来不利的一面是会连代带来其他影响。由于抖动缓存的大小一般是预计数据包的到达时间的整数倍,缓存区设置的过小,不一定能够克服网络的丢包和抖动的影响,降低服务的质量;如果设置的过大就会产生过大的时延,同样会给用户造成不好的体验。The jitter buffer is a buffer set in the terminal to compensate for the impact caused by network jitter. It is used to cache data packets for a period of time before forwarding data packets to smooth the transmission of data packets, and compensate for packet jitter, loss, delay and other conditions. adverse effects caused. The T1 value can be reduced by adjusting the settings of the jitter buffer on the terminal, and the T1 value can be reduced to a certain extent by setting the high-watermark and low-watermark of the jitter buffer. However, the downside of adjusting the low watermark and high watermark of the jitter cache is that it will have other effects on successive generations. Since the size of the jitter buffer is generally an integer multiple of the estimated arrival time of the data packet, if the buffer is set too small, it may not be able to overcome the impact of network packet loss and jitter, and reduce the quality of service; if it is set too large, it will cause Excessive delay will also cause bad user experience.

现有技术中为减少用户改换频道时的延时,组播复制点可以选择静态加入组播组,即对于某一个频道,无论是否有终端加入组播组,组播复制点均事先加入组播组,如果有用户,直接将组播数据发送给用户,而如果没有用户,则丢弃该频道的组播数据。静态加入组播组主要是为了加快用户加入组播组的速度,不会因为请求频道切换的用户是该新切换到频道的第一个用户而等待较长时间,从而保证BTV业务流的延迟和切换时间问题,实际上是以带宽换时间,加快了频道切换速度,省去节目由直播源到组播复制点的传输时延。In the prior art, in order to reduce the delay when users change channels, the multicast replication point can choose to join the multicast group statically, that is, for a certain channel, no matter whether there is a terminal joining the multicast group, the multicast replication point will join the multicast group in advance If there are users in the group, the multicast data will be sent directly to the users, and if there are no users, the multicast data of the channel will be discarded. The main purpose of statically joining a multicast group is to speed up the speed of users joining the multicast group, and will not wait for a long time because the user requesting channel switching is the first user to switch to the channel, thereby ensuring the delay and delay of the BTV service flow. The problem of switching time is actually to exchange bandwidth for time, which speeds up the channel switching speed and saves the transmission delay of programs from the live broadcast source to the multicast replication point.

另外,频道切换时通过对IGMP协议的优化(即通过实现组播快速离开)进一步加速了频道切换过程。In addition, during channel switching, the channel switching process is further accelerated by optimizing the IGMP protocol (that is, by implementing multicast fast leave).

经过上述优化后的频道切换过程仍然有2~3s的切换传输时延,主要的瓶颈在于终端中应对网络抖动的缓存设置和终端中寻找I帧所用的时间过多,对BTV用户来讲,仍然是不可忍受的。The channel switching process after the above optimization still has a switching transmission delay of 2 to 3s. The main bottleneck lies in the buffer settings in the terminal to deal with network jitter and the time spent in searching for I frames in the terminal. For BTV users, it is still is unbearable.

发明内容Contents of the invention

本发明实施例提供一种数字媒体频道切换方法及一种数字媒体频道切换系统,用以解决现有技术中存在用户频道切换时间过长的问题。Embodiments of the present invention provide a digital media channel switching method and a digital media channel switching system, which are used to solve the problem in the prior art that user channel switching time is too long.

一种数字媒体频道切换方法,包括:A digital media channel switching method, comprising:

在用户端接入设备设置组播复制点;Set the multicast replication point on the client access device;

用户端接入设备经承载网络接收头端业务系统发送的组播数据后,对组播数据进行缓存处理;After the client access device receives the multicast data sent by the head-end service system through the bearer network, it caches the multicast data;

当频道切换时,将所述缓存处理的组播数据发送给终端。When the channel is switched, the buffered and processed multicast data is sent to the terminal.

一种数字媒体频道切换系统,包括提供业务源的头端业务系统,为终端提供接入的用户侧接入设备,所述用户端接入设备设置组播复制点,所述用户端接入设备还设置有:A digital media channel switching system, including a head-end service system that provides service sources, a user-side access device that provides access for terminals, the user-side access device sets a multicast replication point, and the user-side access device Also set with:

缓存单元,对组播数据进行缓存处理,去除网络抖动;A cache unit, which caches the multicast data and removes network jitter;

当终端发送频道切换请求时,所述用户端接入设备将所述缓存单元存储的组播数据发送给终端。When the terminal sends a channel switching request, the client access device sends the multicast data stored in the buffer unit to the terminal.

本发明实施例将终端进行的抖动缓存处理转放于用户端接入设备完成,使得组播数据在用户端接入设备上即进行了去除抖动处理,由于用户端接入设备是最靠近终端的系统设备,所以可以在终端降低去除抖动处理的要求,终端缓存低水线可以设置较低,这样可以减少用户切换过程中T1的时长,从而减少终端切换时间。In the embodiment of the present invention, the jitter buffer processing performed by the terminal is forwarded to the user-end access device to complete, so that the multicast data is immediately de-jittered on the user-side access device. Since the user-side access device is the closest to the terminal System equipment, so the requirements for dejittering processing can be reduced at the terminal, and the low watermark of the terminal buffer can be set lower, which can reduce the duration of T1 during the user switching process, thereby reducing the terminal switching time.

附图说明Description of drawings

图1为现有技术中IPTV网络架构示意图;FIG. 1 is a schematic diagram of an IPTV network architecture in the prior art;

图2为现有技术中用户改换频道的流程示意图;FIG. 2 is a schematic flow diagram of a user changing channels in the prior art;

图3为本发明实施例一数字媒体频道切换系统结构示意图;3 is a schematic structural diagram of a digital media channel switching system according to an embodiment of the present invention;

图4为本发明实施例二数字媒体频道切换系统结构示意图;4 is a schematic structural diagram of a digital media channel switching system according to Embodiment 2 of the present invention;

图5为本发明实施例一用户改换频道的流程示意图;5 is a schematic flow diagram of a user changing a channel according to Embodiment 1 of the present invention;

图6为本发明实施例二用户改换频道的流程示意图。FIG. 6 is a schematic flow diagram of a user changing a channel according to Embodiment 2 of the present invention.

具体实施方式Detailed ways

下面结合说明书附图来说明本发明具体实施方式。The specific implementation manner of the present invention will be described below in conjunction with the accompanying drawings.

本发明实施例将原位于终端的抖动缓存放置于用户端接入设备上,使得组播数据在用户端接入设备上即进行了去除抖动处理,由于用户端接入设备是最靠近终端的系统设备,所以可以在终端降低去除抖动处理的要求,终端缓存低水线可以设置较低,这样可以减少用户切换过程中T1值,从而减少终端切换时间。In the embodiment of the present invention, the jitter buffer originally located at the terminal is placed on the user-side access device, so that the multicast data is de-jittered on the user-side access device. Since the user-side access device is the system closest to the terminal equipment, so the requirements for dejittering processing can be reduced at the terminal, and the low watermark of the terminal buffer can be set lower, which can reduce the T1 value during the user switching process, thereby reducing the terminal switching time.

在此基础上,本发明实施例还在用户端接入设备上预先获取缓存的组播数据的I帧信息,从而减少用户切换过程中T2值。On this basis, the embodiment of the present invention also pre-obtains the I frame information of the cached multicast data on the user terminal access device, thereby reducing the T2 value during the user switching process.

实施例一:Embodiment one:

如图3所示,是本发明实施例一中数字媒体频道切换结构示意图,在该图中,DSLAM为用户端接入设备,为终端提供接入服务。在DSLAM上设置组播复制点,并将所述组播复制点采取静态加入方式加入组播组。该系统中从头端系统至DSLAM为组播传输,在DSLAM处进行组播数据的复制与分发,DSLAM至终端为单播传送,实施例一以STB为终端进行说明,对于PC等其他终端同样适用,实施例一以DSLAM作为用户端接入设备,对于其他的BRAS等用户端接入设备也同样适用。As shown in FIG. 3 , it is a schematic diagram of a digital media channel switching structure in Embodiment 1 of the present invention. In this figure, a DSLAM is an access device at a user end and provides access services for a terminal. A multicast replication point is set on the DSLAM, and the multicast replication point is added to the multicast group in a static joining manner. In this system, multicast transmission is carried out from the head-end system to the DSLAM, multicast data is copied and distributed at the DSLAM, and unicast transmission is performed from the DSLAM to the terminal. Embodiment 1 uses the STB as the terminal to illustrate, and it is also applicable to other terminals such as PCs. In the first embodiment, a DSLAM is used as the client access device, which is also applicable to other client access devices such as BRAS.

从图3中可见,实施例一在用户端接入设备DSLAM上,设置有第一缓存单元,通过第一缓存单元对组播数据进行缓存处理。It can be seen from FIG. 3 that in Embodiment 1, a first buffer unit is provided on the user end access device DSLAM, and the multicast data is buffered through the first buffer unit.

DSLAM设置的第一缓存单元对组播数据进行缓存以去除网络抖动,第一缓存单元可以存储1~2s的组播数据帧,以应对网络抖动对组播数据流的影响,由于DSLAM上的组播复制点已经静态加入组播组,第一缓存单元在用户申请组播服务时已经充满频道节目的组播数据,因为DSLAM中已经增加第一缓存单元以抗网络抖动,而DSLAM已经是最接近用户的运营商设备,所以相应的在STB中可以对去除网络抖动的要求降低,STB的缓存低水线可以设置的比较小,比如几帧即可,由此可以大大减少T1值。The first cache unit set by the DSLAM caches the multicast data to remove network jitter. The first cache unit can store 1-2s multicast data frames to cope with the impact of network jitter on the multicast data flow. Since the group on the DSLAM The broadcast replication point has statically joined the multicast group, and the first buffer unit has been filled with the multicast data of the channel program when the user applies for the multicast service, because the first buffer unit has been added to the DSLAM to resist network jitter, and the DSLAM is already the closest The user's operator's equipment, so the requirements for removing network jitter can be reduced in the STB accordingly, and the cache low watermark of the STB can be set relatively small, such as a few frames, which can greatly reduce the T1 value.

在上述方案基础上,可以进一步设置一个重要帧信息确定单元,用于确定I帧信息。在第一缓存单元缓存组播数据时,由该重要帧信息确定单元确定I帧信息,以便于在将第一缓存单元缓存的组播数据发送给终端时,可以快速寻找到I帧,具体方案可以在第一缓存单元的入端口进行I帧起始检测,并存储所述I帧地址指针,当有用户申请进行频道切换,DSLAM启动发送新频道数据流到终端时,第一缓存单元直接从该指针处开始读取缓存处理的组播数据并通过单播方式传送到终端,因为是从I帧起始传送的,终端接收传送来的数据时就可以确定I帧信息,所以节省了终端寻找I帧的时间,从而加快了频道切换,可以大大减少T2值。On the basis of the above solution, an important frame information determining unit may be further set up for determining I frame information. When the first buffer unit buffers the multicast data, the important frame information determination unit determines the I frame information, so that when the multicast data buffered by the first buffer unit is sent to the terminal, the I frame can be quickly found, the specific scheme I frame start detection can be carried out at the ingress port of the first buffer unit, and the address pointer of the I frame is stored. When a user applies for channel switching, and the DSLAM starts to send a new channel data stream to the terminal, the first buffer unit directly reads from the This pointer starts to read the cached multicast data and transmits it to the terminal through unicast, because it is transmitted from the I frame, and the terminal can determine the I frame information when receiving the transmitted data, so it saves the terminal to search I frame time, thus speeding up the channel switching, can greatly reduce the T2 value.

如图4所示,是实施例一方案对应的流程示意图,从图中可见,主要包括:As shown in Figure 4, it is a schematic flow diagram corresponding to the scheme of Embodiment 1. It can be seen from the figure that it mainly includes:

步骤401、组播复制点静态加入组播组,对组播数据进行缓存处理;Step 401, the multicast replication point statically joins the multicast group, and caches the multicast data;

位于用户端接入设备的组播复制点采取静态加入方式加入组播组,即时复制缓存网络发送的组播数据,如果有开通权限的用户请求该组播数据,则将缓存的组播数据发送给该用户,否则即时丢弃缓存的组播数据。The multicast replication point located on the access device at the user end joins the multicast group in a static way, and immediately copies and caches the multicast data sent by the network. If the user with the activation permission requests the multicast data, the cached multicast data is sent to the user, otherwise the cached multicast data will be discarded immediately.

步骤402、确定I帧信息;Step 402, determine I frame information;

DSLAM经承载网络接收头端业务系统发送的组播数据,在DSLAM设备缓存组播数据时,确定I帧信息,该步骤可以在缓存的组播数据进入第一缓存单元之前进行,在第一缓存单元入口处进行I帧信息检测,并根据检测结果,存储I帧地址指针。该方案便于在将第一缓存单元缓存的组播数据发送给终端时,可以快速寻找I帧。The DSLAM receives the multicast data sent by the head-end service system through the bearer network, and determines the I frame information when the DSLAM device buffers the multicast data. This step can be performed before the buffered multicast data enters the first buffer unit. The I frame information is detected at the entrance of the unit, and the I frame address pointer is stored according to the detection result. This solution is convenient for quickly searching for the I frame when the multicast data buffered by the first buffer unit is sent to the terminal.

403、用户发起频道切换请求;403. The user initiates a channel switching request;

当用户希望进行频道切换时,向DSLAM发送频道切换请求,激活相应的流程,由DSLAM停止发送向该用户正在播放的组播数据,控制用户组播组离开和重新加入过程。When the user wants to switch channels, he sends a channel switching request to the DSLAM, activates the corresponding process, and the DSLAM stops sending the multicast data being played to the user, and controls the process of leaving and rejoining the user multicast group.

404、用户发送新的频道请求;404. The user sends a new channel request;

所述用户向DSLAM发送新的频道请求,请求接收新的频道中发送的组播数据。The user sends a new channel request to the DSLAM, requesting to receive multicast data sent in the new channel.

405、根据所述I帧信息将缓存的组播数据发送给STB;405. Send the buffered multicast data to the STB according to the I frame information;

当用户申请新的频道内容,DSLAM启动发送新频道组播数据到终端时,根据第一缓存单元缓存的组播数据,可以直接从该缓存中I帧指针处开始读取缓存处理的组播数据并传送到终端,因为是从I帧起始传送的,终端接收到数据时,首帧即是I帧,因此可以节省终端寻找I帧的时间,从而加快了频道切换。When the user applies for new channel content and the DSLAM starts to send multicast data of the new channel to the terminal, according to the multicast data cached by the first buffer unit, the cached multicast data can be read directly from the I frame pointer in the cache And transmit to the terminal, because it is transmitted from the I frame, when the terminal receives the data, the first frame is the I frame, so it can save the time for the terminal to search for the I frame, thereby speeding up the channel switching.

406、调度数据流到解码缓存,解码缓存输出视频码流。406. Schedule the data stream to the decoding buffer, and the decoding buffer outputs the video code stream.

终端对根据接收到的首帧为I帧的新频道的数据流经很小的缓存后解码输出到电视进行节目播放。The terminal decodes and outputs the data stream of the new channel whose first frame is an I frame according to the received first frame through a small buffer, and then outputs it to the TV for program playing.

实施例一中,在用户端接入设备上进行第一缓存处理,进行组播数据的缓存去除抖动处理,使得组播数据在用户端接入设备上即进行了去除抖动处理,由于用户端接入设备是最靠近终端的系统设备,所以可以在终端降低去除抖动处理的要求,而终端缓存低水线可以设置较低,这样可以减少用户切换过程中T1值,从而减少终端切换时间。In Embodiment 1, the first buffering process is performed on the user terminal access device, and the buffering and dejittering processing of the multicast data is performed, so that the multicast data is immediately dejittered on the user terminal access device. The input device is the system device closest to the terminal, so the requirements for dejittering processing can be reduced at the terminal, and the terminal cache low watermark can be set lower, which can reduce the T1 value during the user switching process, thereby reducing the terminal switching time.

实施例二Embodiment two

如图5所示,是本发明实施例二中数字媒体频道切换系统结构示意图,在该图中,DSLAM为用户端接入设备,为终端提供接入服务。在DSLAM设置组播复制点,并静态加入组播组。该系统中从头端系统至DSLAM为组播传输,在DSLAM处进行组播数据的复制与分发,DSLAM至终端为单播传送,实施例二以STB为终端进行说明,对于PC等其他终端同样适用,实施例一以DSLAM作为用户端接入设备,对于其他的BRAS等用户端接入设备也同样适用。As shown in FIG. 5 , it is a schematic structural diagram of a digital media channel switching system in Embodiment 2 of the present invention. In this figure, a DSLAM is an access device for a user end and provides access services for a terminal. Set the multicast replication point on the DSLAM and join the multicast group statically. In this system, multicast transmission is performed from the head-end system to the DSLAM, multicast data is copied and distributed at the DSLAM, and unicast transmission is performed from the DSLAM to the terminal. Embodiment 2 uses the STB as the terminal to illustrate, and it is also applicable to other terminals such as PCs. In the first embodiment, a DSLAM is used as the client access device, which is also applicable to other client access devices such as BRAS.

从图5中可见,实施例二在用户端接入设备DSLAM上,设置有第一缓存单元和第二缓存单元,通过第一缓存单元对组播数据进行缓存,进行抖动去除处理,通过第二缓存单元对第一缓存单元缓存处理后的组播数据进行I帧信息处理。It can be seen from FIG. 5 that in the second embodiment, a first cache unit and a second cache unit are provided on the user end access device DSLAM, and the multicast data is cached through the first cache unit to perform jitter removal processing, and the second cache unit is used to The cache unit performs I frame information processing on the multicast data cached and processed by the first cache unit.

在实施例二的方案中,DSLAM设置的第一缓存单元对组播数据进行缓存处理,在第一缓存单元可以存储1~2s的组播数据帧,以应对网络抖动对组播数据流的影响,而且由于DSLAM已经静态加入组播组,第一缓存单元在用户申请组播服务时已经充满频道节目媒体流数据。因为DSLAM中已经增加第一缓存单元以抗网络抖动,而DSLAM已经是最接近用户的运营商设备,所以相应的在STB中抖动处理的要求可以相应降低,STB缓存低水线可以设置的比较小,比如几帧即可,由此可以大大减少T1值。In the solution of Embodiment 2, the first cache unit set by the DSLAM performs cache processing on the multicast data, and the multicast data frames of 1 to 2 s can be stored in the first cache unit to deal with the impact of network jitter on the multicast data stream , and because the DSLAM has statically joined the multicast group, the first buffer unit is already full of channel program media stream data when the user applies for the multicast service. Because the first cache unit has been added to the DSLAM to resist network jitter, and the DSLAM is already the operator's equipment closest to the user, so the corresponding requirements for jitter processing in the STB can be reduced accordingly, and the STB cache low watermark can be set relatively small , such as a few frames, which can greatly reduce the T1 value.

实施例二方案中,还设置了一个第二缓存单元,用于频道切换时快速寻找I帧,第二缓存单元缓存的组播数据可以是第一缓存单元缓存的组播数据的复制的拷贝。In the solution of the second embodiment, a second buffer unit is also provided for quickly searching for I frames when switching channels, and the multicast data buffered by the second buffer unit may be a duplicate copy of the multicast data buffered by the first buffer unit.

在第二缓存单元的入口端,设置一个重要帧起始检测单元,用于检测第二缓存单元缓存处理的组播数据I帧。通过该重要帧起始检测单元可以在第二缓存单元的入端口进行I帧起始检测,获取I帧信息,并存储I帧地址指针,当有用户申请进行频道切换,DSLAM启动发送新频道数据流到STB时,第二缓存单元直接从该指针处开始读取频道节目数据并传送到STB,因为是从I帧起始传送的,STB在接收到相关数据后,首帧即是I帧,所以节省了STB寻找I帧的时间,从而加快了频道切换。At the entry end of the second buffer unit, an important frame start detection unit is set to detect the multicast data I frame buffered and processed by the second buffer unit. Through this important frame start detection unit, the I frame start detection can be carried out at the ingress port of the second buffer unit, the I frame information is obtained, and the I frame address pointer is stored. When a user applies for channel switching, the DSLAM starts to send new channel data When streaming to the STB, the second buffer unit directly reads the channel program data from the pointer and transmits it to the STB, because it is transmitted from the I frame. After the STB receives the relevant data, the first frame is the I frame. So it saves the time of STB looking for I frame, thus speeding up the channel switching.

第二缓存单元还可以根据系统要求进行细化设置,可以设置成多个相互独立的存储单元来缓存处理数据,这样,当有多个用户同时发起频道切换请求时,每个存储单元可以针对不同发起切换请求的用户进行处理,这样可以避免多个用户同时发起切换请求时,系统资源不足所带来的问题。存储单元1~n是支持多个用户并发切换频道时快速寻找I帧的,可以是第一缓存单元缓存的组播数据复制多份得到,可选择几帧容量,以保证总有有效指针可用。存储单元的数量根据系统需求而定,如果设置得太多,会造成系统资源的浪费,而如果设置太少,又无法满足用户切换需求。The second cache unit can also be finely set according to system requirements, and can be set as multiple independent storage units to cache and process data. In this way, when multiple users initiate channel switching requests at the same time, each storage unit can be used for different The user who initiates the switching request handles it, which can avoid problems caused by insufficient system resources when multiple users initiate switching requests at the same time. The storage units 1-n support multiple users to quickly search for I frames when they switch channels concurrently. They can be obtained by duplicating multiple copies of the multicast data cached by the first buffer unit. Several frame capacities can be selected to ensure that there are always valid pointers available. The number of storage units depends on the system requirements. If it is set too many, it will cause waste of system resources, and if it is set too few, it will not be able to meet the switching needs of users.

如图6所示,是实施例二方案对应的流程示意图,从图中可见,主要包括:As shown in Figure 6, it is a schematic flow chart corresponding to the scheme of Embodiment 2. It can be seen from the figure that it mainly includes:

步骤601、组播复制点静态加入组播组,第一缓存单元对组播数据进行缓存处理;Step 601, the multicast replication point statically joins the multicast group, and the first cache unit caches the multicast data;

位于用户端接入设备的组播复制点采取静态加入组播组,DSLAM经承载网络接收头端业务系统发送的组播数据,第一缓存单元即时缓存网络发送的组播数据,如果有开通权限的用户请求该组播数据,则将其发送给该用户,否则即时丢弃缓存的组播数据。The multicast replication point located at the user’s access device joins the multicast group statically. The DSLAM receives the multicast data sent by the head-end service system through the bearer network, and the first buffer unit immediately caches the multicast data sent by the network. If the user requests the multicast data, it will be sent to the user, otherwise, the cached multicast data will be discarded immediately.

步骤602、第二缓存单元对第一缓存单元缓存的组播数据进行缓存处理,并确定I帧信息;Step 602, the second cache unit caches the multicast data cached by the first cache unit, and determines the I frame information;

第二缓存单元将第一缓存单元缓存的组播数据再次进行缓存处理,同时确定I帧信息,The second cache unit caches the multicast data cached by the first cache unit again, and simultaneously determines the I frame information,

该步骤可以在缓存的组播数据进入第二缓存单元的各个存储单元之前进行,在存储单元入口处进行I帧信息检测,以便于在将存储单元缓存的组播数据发送给终端时,可以快速寻找I帧。This step can be carried out before the buffered multicast data enters each storage unit of the second buffer unit, and I frame information detection is performed at the entrance of the storage unit, so that when the multicast data buffered by the storage unit is sent to the terminal, it can be quickly Look for I-frames.

该步骤中还要根据检测结果,存储I帧地址指针。In this step, the I-frame address pointer is also stored according to the detection result.

603、用户发起频道切换请求;603. The user initiates a channel switching request;

当用户希望进行频道切换时,向DSLAM发送频道切换请求,激活相应的流程,由DSLAM停止向该用户正在播放的组播数据,控制进行组播组离开和重新加入过程。When the user wants to switch channels, he sends a channel switching request to the DSLAM, activates the corresponding process, and the DSLAM stops the multicast data being played to the user, and controls the process of leaving and rejoining the multicast group.

604、用户发送新的频道请求;604. The user sends a new channel request;

所述用户向DSLAM发送新的频道请求,请求接收新的频道中发送的组播数据。The user sends a new channel request to the DSLAM, requesting to receive multicast data sent in the new channel.

605、第二缓存单元根据所述I帧信息将缓存的组播数据发送给STB;605. The second cache unit sends the cached multicast data to the STB according to the I frame information;

当用户申请新的频道内容,DSLAM启动发送新频道数据流到终端时,根据第二缓存单元中各存储单元缓存的组播数据,可以直接从该缓存I帧指针处开始读取缓存处理的组播数据并传送到终端,因为是从I帧起始传送的,在数据传送到STB时,STB已经知道了I帧信息,故节省了终端寻找I帧的时间,从而加快了频道切换。When the user applies for new channel content and the DSLAM starts to send the new channel data stream to the terminal, according to the multicast data cached by each storage unit in the second cache unit, the cached group can be read directly from the cached I frame pointer. Broadcast data and transmit it to the terminal, because it is transmitted from the I frame, when the data is transmitted to the STB, the STB already knows the I frame information, so it saves the time for the terminal to search for the I frame, thereby speeding up the channel switching.

该步骤中,如果有多个STB并行发送频道请求,则第二缓存单元中的存储单元1——存储单元n可以并行处理,分别将缓存的数据发送到对应的STB,每个存储单元可以对应一个用户,这样可以节省频道切换时间。In this step, if there are multiple STBs sending channel requests in parallel, storage unit 1 in the second cache unit—storage unit n can be processed in parallel, and the cached data are sent to the corresponding STBs respectively, and each storage unit can correspond to One user, which saves channel switching time.

606、调度数据流到解码缓存,解码缓存输出视频码流。606. Schedule the data stream to the decoding buffer, and the decoding buffer outputs the video code stream.

终端对根据接收到的首帧为I帧的新频道的数据流经很小的缓存后解码输出到电视进行节目播放。The terminal decodes and outputs the data stream of the new channel whose first frame is an I frame according to the received first frame through a small buffer, and then outputs it to the TV for program playing.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.

Claims (12)

1, a kind of digital medium channel switching method is characterized in that,
At the user side access device multicast replication point is set;
The user side access device carries out caching process to multicast packet after receiving the multicast packet of head end operation system transmission through bearer network;
When channel switches, the multicast packet of described caching process is sent to terminal.
2, the method for claim 1 is characterized in that, multicast packet is carried out the caching process step, also comprises determining important frame information step.
3, the method for claim 1 is characterized in that, described multicast packet is carried out the caching process step, further comprises:
At the user side access device multicast packet is carried out first caching process, remove network jitter;
At the user side access device multicast packet is carried out second caching process, obtain data cached important frame information.
4, method as claimed in claim 3 is characterized in that, described second caching process, a plurality of second caching process multicast packets of parallel generation.
5, as claim 2,3 or 4 described methods, it is characterized in that, also comprise the step of the initial detection of important frame.
As claim 2,3 or 4 described methods, it is characterized in that 6, described important frame information is important frame address pointer.
As claim 1,2,3 or 4 described methods, it is characterized in that 7, described multicast replication point takes static adding mode to add multicast group.
8, a kind of digital medium channel switched system, comprise the head end of service source operation system is provided that for terminal provides the user side access device of access, described user side access device is provided with the multicast replication point, it is characterized in that described user side access device also is provided with:
Buffer unit carries out caching process to multicast packet;
When terminal sent channel switch request, described user side access device sent to terminal with the multicast packet of described buffer unit storage.
9, system as claimed in claim 8 is characterized in that, described user side access device also comprises:
Important frame information determining unit is used for determining the multicast packet important frame information of buffer unit buffer memory.
10, system as claimed in claim 8 is characterized in that,
Described buffer unit further comprises:
First buffer unit is used for multicast packet is carried out first caching process, to remove network jitter;
Second buffer unit is used for the multicast packet of the first buffer unit caching process is carried out second caching process, and obtains data cached important frame information.
11, system as claimed in claim 10 is characterized in that, described second buffer unit comprises a plurality of memory cell, is used for parallel a plurality of caching process multicast packets that produce.
As claim 10 or 11 described systems, it is characterized in that 12, described second buffer unit also is provided with:
The initial detecting unit of important frame is used to detect the multicast packet important frame of the second buffer unit caching process.
CNB2006101707640A 2006-12-22 2006-12-22 Digital medium channel switching method and system Active CN100496120C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2006101707640A CN100496120C (en) 2006-12-22 2006-12-22 Digital medium channel switching method and system
PCT/CN2007/003415 WO2008077302A1 (en) 2006-12-22 2007-11-30 A digital media channels switching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101707640A CN100496120C (en) 2006-12-22 2006-12-22 Digital medium channel switching method and system

Publications (2)

Publication Number Publication Date
CN1976444A true CN1976444A (en) 2007-06-06
CN100496120C CN100496120C (en) 2009-06-03

Family

ID=38126191

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101707640A Active CN100496120C (en) 2006-12-22 2006-12-22 Digital medium channel switching method and system

Country Status (2)

Country Link
CN (1) CN100496120C (en)
WO (1) WO2008077302A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008037218A1 (en) * 2006-09-25 2008-04-03 Huawei Technologies Co., Ltd. Method, system and media server for iptv channel quickly switching
WO2008077302A1 (en) * 2006-12-22 2008-07-03 Huawei Technologies Co., Ltd. A digital media channels switching method and system
WO2009026838A1 (en) * 2007-08-24 2009-03-05 Huawei Technologies Co., Ltd. A multicast/unicast admission control method, device and system
CN101736426B (en) * 2008-11-07 2012-01-25 中国科学院化学研究所 Method for preparing regenerated cellulose fibers from plant fibrous pulp of reeds and stalks
US8266251B2 (en) 2007-07-30 2012-09-11 Nec Corporation Communication terminal, distribution system, method for conversion and program
CN102970599A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Channel switching method and device
CN103327267A (en) * 2013-06-26 2013-09-25 Tcl集团股份有限公司 Video playing method, device and television
CN104469541A (en) * 2013-09-18 2015-03-25 中兴通讯股份有限公司 IPTV channel switching method, IPTV channel switching device and terminal
CN106937155A (en) * 2015-12-29 2017-07-07 北京华为数字技术有限公司 Access device, internet protocol TV IPTV system and channel switching method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030048808A1 (en) * 2001-09-12 2003-03-13 Stahl Thomas Anthony Method and apparatus for changing received streaming content channels
US7804831B2 (en) * 2005-04-01 2010-09-28 Alcatel Lucent Rapid media channel changing mechanism and access network node comprising same
CN1881888A (en) * 2006-04-30 2006-12-20 国家数字交换系统工程技术研究中心 Multicast controlling method and system
CN100496120C (en) * 2006-12-22 2009-06-03 华为技术有限公司 Digital medium channel switching method and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008037218A1 (en) * 2006-09-25 2008-04-03 Huawei Technologies Co., Ltd. Method, system and media server for iptv channel quickly switching
WO2008077302A1 (en) * 2006-12-22 2008-07-03 Huawei Technologies Co., Ltd. A digital media channels switching method and system
US8266251B2 (en) 2007-07-30 2012-09-11 Nec Corporation Communication terminal, distribution system, method for conversion and program
WO2009026838A1 (en) * 2007-08-24 2009-03-05 Huawei Technologies Co., Ltd. A multicast/unicast admission control method, device and system
US8930451B2 (en) 2007-08-24 2015-01-06 Huawei Technology Co., Ltd. Multicast/unicast admission control method, device and system
CN101736426B (en) * 2008-11-07 2012-01-25 中国科学院化学研究所 Method for preparing regenerated cellulose fibers from plant fibrous pulp of reeds and stalks
CN102970599A (en) * 2012-10-31 2013-03-13 杭州华三通信技术有限公司 Channel switching method and device
CN102970599B (en) * 2012-10-31 2016-05-04 杭州华三通信技术有限公司 A kind of channel switching method and equipment
CN103327267A (en) * 2013-06-26 2013-09-25 Tcl集团股份有限公司 Video playing method, device and television
CN104469541A (en) * 2013-09-18 2015-03-25 中兴通讯股份有限公司 IPTV channel switching method, IPTV channel switching device and terminal
CN106937155A (en) * 2015-12-29 2017-07-07 北京华为数字技术有限公司 Access device, internet protocol TV IPTV system and channel switching method

Also Published As

Publication number Publication date
WO2008077302A1 (en) 2008-07-03
CN100496120C (en) 2009-06-03

Similar Documents

Publication Publication Date Title
CN1240223C (en) Method and system for delivering media over a network
CN101132521A (en) A method and device for realizing IPTV channel switching
CN1852421A (en) Method for realizing switch-over between living broadcasting and time-shifting broadcasting
CN1893364A (en) Milestone synchronization in broadcast multimedia streams
CN1703087A (en) Broadband telecommunications system and method used therein to reduce the latency of channel switching by a multimedia receiver
EP2494774B1 (en) Method of digital audio/video channel change and corresponding apparatus
CN1528088A (en) Method and system for delivering media selections over a network
CN1855909A (en) Multimedia content delivery system
WO2008077302A1 (en) A digital media channels switching method and system
WO2011000270A1 (en) Method, apparatus and system for reducing media delay
CN1750643A (en) Zapping agent with improved latency
CN104093088A (en) System and method for achieving self-adaptive stream media play control
CN101047838A (en) Method for reducing response time of direct broadcast band switchover
WO2008148333A1 (en) System and method for processing video stream
CN111866526B (en) A kind of live broadcast service processing method and device
CN1866831A (en) A broadband access device and its application
CN1960453A (en) Quick method and system for digital channel, and device for creating auxiliary channel
CN102231848A (en) IPTV channel switching method and apparatus thereof
CN1713720A (en) Network TV channel push method based on channel switching and ratings model
CN1783831A (en) Method for realizing video multicast service medium frequency switch
US11050805B2 (en) Method of controlling stream buffer in media playback device and related buffering device
CN101060616A (en) A method for providing the program information, program indexing equipment, video equipment and system
WO2020135562A1 (en) Multicast method, device, apparatus, and computer storage medium
CN1976439A (en) Method for realizing picture-in-picture playing function in IPIV
CN109756774A (en) A kind of method and device of OTT multicast channel switching

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