WO2009121274A1 - A coding method, device and a switching system for media stream - Google Patents

A coding method, device and a switching system for media stream Download PDF

Info

Publication number
WO2009121274A1
WO2009121274A1 PCT/CN2009/070972 CN2009070972W WO2009121274A1 WO 2009121274 A1 WO2009121274 A1 WO 2009121274A1 CN 2009070972 W CN2009070972 W CN 2009070972W WO 2009121274 A1 WO2009121274 A1 WO 2009121274A1
Authority
WO
WIPO (PCT)
Prior art keywords
video stream
frame
channel
predetermined value
channels
Prior art date
Application number
PCT/CN2009/070972
Other languages
French (fr)
Chinese (zh)
Inventor
郑若滨
史永懋
张民
陈雪
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2009121274A1 publication Critical patent/WO2009121274A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a media stream encoding method, apparatus, and switching system. Background technique
  • Mobile video services are new mobiles that transmit video content to mobile users through mobile networks and mobile terminals.
  • this mobile video service can be implemented in three different ways: Based on satellite network implementation, using digital terrestrial broadcasting to implement and utilize mobile network.
  • the mobile network implementation method is mainly based on the Wideband Code Division Multiple Access (WCDMA) / Global System for Mobile Communications (GSM) Global Standards Organization, Third Generation Mobile Communication Partner Organization (3GPP) proposed multimedia broadcast multicast service (MBMS)'s streaming media technology mainly uses streaming media technology to promote mobile TV as a data service.
  • WCDMA Wideband Code Division Multiple Access
  • GSM Global System for Mobile Communications
  • 3GPP Third Generation Mobile Communication Partner Organization
  • MBMS multimedia broadcast multicast service
  • This method can provide users with more personalized services by using the interactive features of the communication network without changing the basic network structure. It is more convenient to implement.
  • the mobile TV service launched in China mainly relies on the existing mobile network.
  • the fixed network IPTV switching delay is 1.5 seconds to 5 seconds, and mobile video will generate more delay according to network conditions.
  • the switching time of traditional TV is only about 300ms.
  • mobile video has a long switching time, which will become a flaw in its application, which greatly limits business promotion and business innovation.
  • methods for reducing channel switching time mainly include multicast stream fast leaving, additional channel switching stream images, and adjacent channel preset Internet Group Management Protocol (IGMP) messages.
  • IGMP Internet Group Management Protocol
  • there are static channel join groups and channel push methods based on the audience rating model In the process of implementing the present invention, the inventors have found that the prior art has at least the following problems:
  • the above methods are mostly used for IPTV, and are not suitable for channel switching of mobile video.
  • the switching delay of mobile video mainly includes network delay, buffer time, reference image waiting time and decoding time.
  • the reference image waiting time occupies a large proportion in the total switching time. Therefore, in combination with the MBMS network architecture, there is an urgent need for techniques that reduce reference picture latency to reduce channel switching delays. Summary of the invention
  • Embodiments of the present invention provide a media stream encoding method, apparatus, and switching system to reduce reference picture latency and thereby reduce channel switching delay.
  • An embodiment of the present invention provides a media stream coding method, where the method includes: analyzing audience rating information of at least two channels, and generating an analysis result; and adjusting a frame interval value of a frame to be inserted in the video stream according to the analysis result; And encoding the video stream according to a frame interval value of the to-be-inserted frame, so as to perform decoding switching on the video stream.
  • An embodiment of the present invention provides a media stream encoding apparatus, where the apparatus includes: an analyzing unit, configured to analyze the received rating information of each channel, and generate an analysis result;
  • an adjusting unit configured to adjust, according to the analysis result, a frame interval value of a frame to be inserted in the video stream
  • An embodiment of the present invention provides a media stream switching system, including a video head end, a rating unit, and a user access end.
  • the audience rating unit is configured to analyze the audience rating information of two or more channels to generate an analysis result
  • the video head end is configured to adjust a frame interval value of a frame to be inserted in the video stream according to the analysis result obtained by the audience rating unit, and encode the video stream according to the frame interval value of the frame to be inserted; Line decoding switching.
  • the media stream encoding method, device, and switching system of the embodiment of the present invention send statistical rating information to a video head end, and the video head end analyzes the channel to perform frequent channel switching.
  • the reference image latency can be greatly reduced, thereby reducing the switching delay of the channel.
  • FIG. 1 is a flowchart of an embodiment of a media stream encoding method according to the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of a media stream encoding apparatus according to the present invention.
  • FIG. 3 is a schematic structural diagram of an embodiment of a media stream switching system according to the present invention. detailed description
  • FIG. 1 it is a flowchart of an embodiment of a media stream encoding method according to the present invention, where the method includes:
  • Step 101 The radio network controller collects the rating information of the at least two channels and sends the information to the video head end.
  • the paging channel or the broadcast channel requires the terminal that is using a certain MBMS service to send the reply information.
  • the radio network controller receives the reply message sent by the terminal, it calculates and updates the rating information of the channel in real time, and sends the information.
  • the concept of average ratings is used in the rating information here, that is, the ratio of viewers who watch a certain column (or a certain channel) in a certain period of time to the total number of TV viewers in the analysis area; 102.
  • the video head end analyzes the received rating information of each channel, and generates an analysis result.
  • the video head end further includes: obtaining the audience rating information of the channel, where the obtaining manner includes: collecting the rating status of the channel reported by the user terminal, obtaining the rating information of the channel, or obtaining the rating of the channel from another device. information.
  • the analyzing the received audience rating information and transmitting the analysis result specifically includes: dividing the channel whose audience rating is greater than the first threshold into a frequently switched channel; dividing the channel whose audience rating is less than the second threshold into infrequently switching channels; The channel whose rate is greater than or equal to the second threshold is less than or equal to the first threshold is divided into a stable switching channel, and the divided result is sent; wherein the first threshold or the second threshold may be set as needed; the first threshold is greater than the second threshold;
  • Step 103 Adjust, according to the foregoing analysis result, a frame interval value of a frame to be inserted in the video stream.
  • SP Switching Predictive
  • the first predetermined value SP frame is inserted; when the video stream is When the video stream of the channel is stably switched, a second predetermined value of SP frames is inserted; when the video stream is a video stream that infrequently switches channels, a third predetermined value of SP frames is inserted; the first predetermined value, the second predetermined value, and The third predetermined value may be set as needed, wherein the first predetermined value is greater than the second predetermined value, and the second predetermined value is greater than the third predetermined value;
  • Step 104 Compile the video stream according to the frame interval value of the frame to be inserted. a code, and sending the encoded video stream to the user terminal;
  • the SP frame is inserted into the above video stream; in addition, if the video stream is transmitted over a short distance, an I frame may be inserted in the video stream; if it is stored and retransmitted in the server first That is, when there is a large-capacity storage space, the SI frame can be multi-coded.
  • the specific coding method can be determined according to the actual situation, but the waiting reference frame time is irrelevant, and only relates to the frame insertion period.
  • the video head end will be encoded.
  • the subsequent video stream is sent to the user terminal by means of IP multicast;
  • the above SP frame can provide seamless switching points like I frames, thereby achieving seamless connection between code streams, but in the case of providing the same function, the encoding efficiency of the SP frame is higher than the encoding efficiency of the I frame, and Because of this feature, the SP frame can replace the I frame, which is widely used in inter-stream switching, and greatly reduces the code rate overhead. Meanwhile, when the switching between different code streams is to be realized, the use of the SI frame is also very effective;
  • Step 105 The user terminal performs decoding switching on the received encoded video stream. After the user terminal receives the video stream sent by the video head end, the video stream is decoded and switched; wherein the video stream is encoded by the video head end according to the rating information sent by the terminal side, and the foregoing encoding is performed after receiving
  • the decoding of the video stream includes: when the received encoded video stream is an I frame, the video stream is directly decoded; when the received encoded video stream is a Switch Intra-Frame (SI) frame At the same time, the above video stream is switched between streams; but in either case, the code stream of the new channel can be immediately decoded for viewing.
  • SI Switch Intra-Frame
  • the media stream coding method is configured to send the audience rating information of each channel in real time to the video head end, so that the video head end can analyze the channel, and according to the analysis result, insert more SPs into frequently switched channels.
  • the frame can greatly reduce the reference image waiting time, thereby reducing the switching delay of the channel.
  • the video head end can also directly obtain the rating information of each channel by using a paging channel or a broadcast channel.
  • FIG. 2 is a schematic structural diagram of an embodiment of a media stream encoding apparatus according to the present invention, where The device includes: an analyzing unit 21, configured to analyze the received rating information of each channel to generate an analysis result; and an adjusting unit 22, configured to adjust a frame interval value of the frame to be inserted in the video stream according to the analysis result;
  • the unit 23 is configured to encode the video stream according to a frame interval value of the to-be-inserted frame.
  • the media stream coding apparatus further includes: a statistics unit, configured to collect the audience rating information of the channel reported by the user terminal, obtain the audience rating information of the channel, or obtain the audience rating information of the channel from another device; wherein the information includes The service information and the command information, where the service information includes a geographical range, an IP multicast address, a service start time, and the like.
  • the foregoing analysis module includes: a dividing module, configured to divide a channel whose viewing rate is greater than the first threshold into a frequently switched channel, and divide the channel whose viewing rate is less than the second threshold into infrequently switching channels, and the viewing rate is greater than or equal to the second
  • the channel whose threshold is less than or equal to the first threshold is divided into stable switching channels; the first threshold is greater than the second threshold;
  • the adjusting unit includes an adjusting module, configured to insert the first when the video stream is a video stream that frequently switches channels a predetermined value of SP frames; when the video stream is a video stream of a stable switching channel, setting a second predetermined value of SP frames; when the video stream is a video stream of infrequently switching channels, setting a third predetermined value of SP frames
  • the processing unit includes: an encoding module, configured to insert a third predetermined value SP frame for infrequently switching channels, and encode the secondary frame in the video stream into an SI frame; wherein, the first predetermined value is greater than the second pre
  • the media stream encoding device divides the channel into frequent switching channels, infrequently switching channels, and stably switching channels through the analyzing unit, and simultaneously inserts more SP frames into the frequently switched channel by the adjusting unit, and the processing unit Different types of channels are inserted into different SP frames, and the secondary frames are encoded into SI frames, which greatly reduces the waiting time of the reference image, thereby reducing the switching delay of the channels, and better switching between different code streams.
  • FIG. 3 it is a schematic structural diagram of an embodiment of a media stream switching system according to the present invention.
  • the system includes: a rating statistics unit 1, a video head end 2, and a user access terminal 3, wherein the audience rating unit 1 is configured to analyze the audience rating information of two or more channels to generate an analysis result;
  • the frame interval value of the frame to be inserted in the video stream is adjusted according to the analysis result obtained by the rating unit, and the video stream is encoded according to the frame interval value of the frame to be inserted;
  • the terminal 3 is configured to perform decoding switching according to the video stream that is encoded by the video head end.
  • the foregoing system may further include a core network.
  • the analyzing unit may include: a dividing module, configured to divide a channel whose viewing rate is greater than the first threshold into a frequently switched channel, and divide the channel whose viewing rate is less than the second threshold into infrequent switching.
  • the channel whose audience rating is greater than or equal to the second threshold is less than or equal to the first threshold is divided into a stable switching channel;
  • the first sending module is configured to send the divided result;
  • the adjusting unit may include an adjusting module, where the video stream is When the video stream of the channel is frequently switched, the first predetermined value SP frame is inserted, and when the video stream is a video stream of the stable switching channel, the second predetermined value SP frame is inserted, and when the video stream is a video of the infrequent switching channel When the stream is set, the third predetermined value SP frame is inserted.
  • the encoding module may include: an encoding submodule, configured to insert a third predetermined value SP frame for the infrequent switching of the channel, and encode the auxiliary frame in the video stream as a second sending module, configured to send the encoded video stream to the IP multicast mode to Decode the switching unit.
  • the above SP frame can provide seamless switching points like I frames, thereby achieving seamless connection between code streams, but in the case of providing the same function, the encoding efficiency of the SP frame is higher than the encoding efficiency of the I frame, and Because of this feature, the SP frame can replace the I frame, which is widely used in inter-stream switching, and greatly reduces the bit rate overhead. Meanwhile, when the switching between different code streams is to be realized, the use of the SI frame is also very effective.
  • the reference image has a waiting time of 500 ms
  • the reference image waiting time taken by the media stream switching system of the present invention is 333 ms, which can save about 200 ms, and the MBMS architecture has unlimited network access and transmission.
  • the terminal's cache After a few hundred milliseconds, the terminal's cache is usually small, and its cache time It can be ignored, and the decoding time is also tens to hundreds of milliseconds. In the above part of the time, the total time of channel switching can be controlled within Is, which can effectively improve the user experience.
  • the above system can be used in both a wireless network environment and a wired network environment, except that the location of the rating unit is different.
  • the MBMS wireless network architecture is typical, and the unit is located at the radio network controller RNC.
  • ADSL wired access is typical, and the unit is set in the Internet Protocol (IP).
  • IP Internet Protocol
  • the GSM evolution technology (edge) node that increases the data rate, the statistical module in the wired network environment is the access node (Access Node, AN) using the digital subscriber line (DSL) access system in the layer 2 control (Layer The 2 control, L2C) protocol reports the multicast membership to the IP edge node, and then the IP edge node counts the ratings.
  • DSL digital subscriber line
  • the video headend and the rating unit may be integrated.
  • the rating information of each channel is sent to the video head end in real time through the statistical unit, and the analyzing unit of the video head end receives the above-mentioned rating information and analyzes it, and at the same time, frequently switches through the coding unit.
  • the channel inserts more SP frames, and encodes the secondary frames in the video stream into SI frames.
  • the decoding switching unit of the terminal After receiving the video stream sent by the video headend, decoding switching unit of the terminal decodes and switches the video stream to achieve normal switching of the video stream. , and the reference image waiting time is greatly reduced, thereby greatly reducing the switching delay of the channel.
  • the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention.
  • a non-volatile storage medium which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.
  • a computer device may It is a personal computer, a server, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A coding method, device and a switching system for media stream are provided, wherein, the coding method for media stream comprises analyzing the audience rating information for at least two channels and generating the analyzing result; adjusting the frame interval value of the frame to be inserted in the video stream according to the analyzing result; coding the said video stream according to the frame interval value of the frame to be inserted, in order to carry out the decoding switching for the said video stream. The above coding method, device and switching system for media stream can greatly reduce the waiting time of the reference image, so greatly reduce the time delay of channel switching.

Description

媒体流编码方法、 装置及切换系统 本申请要求于 2008 年 3 月 31 日提交中国专利局, 申请号为 200810103136.X, 发明名称为 "媒体流编码方法、 装置及切换系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Media stream coding method, device and switching system The application is filed on March 31, 2008, the Chinese Patent Office, the application number is 200810103136.X, the invention name is "media stream coding method, device and switching system" Chinese patent application Priority is hereby incorporated by reference in its entirety. Technical field
本发明实施例涉及通信技术领域, 尤其涉及一种媒体流编码方 法、 装置及切换系统。 背景技术  The embodiments of the present invention relate to the field of communications technologies, and in particular, to a media stream encoding method, apparatus, and switching system. Background technique
随着第三代移动通信技术(3G )的部署和固定移动网络的融合, 移动视频将获得更多的发展和应用,移动视频业务是通过移动网络和 移动终端为移动用户传送视频内容的新型移动业务,这种移动视频服 务可以通过三种不同方式实现: 基于卫星网络实现, 利用数字地面广 播实现和利用移动网络实现。  With the deployment of third-generation mobile communication technology (3G) and the convergence of fixed mobile networks, mobile video will be more developed and applied. Mobile video services are new mobiles that transmit video content to mobile users through mobile networks and mobile terminals. Business, this mobile video service can be implemented in three different ways: Based on satellite network implementation, using digital terrestrial broadcasting to implement and utilize mobile network.
其中,利用移动网络实现的方式, 主要是基于宽带码分多址 ( WCDMA ) /全球移动通讯系统(GSM )全球标准化组织第三代移 动通信合作伙伴组织(3GPP )提出的多媒体广播多播服务(MBMS ) 的流媒体技术, 主要是利用流媒体技术, 把手机电视作为一种数据业 务推广,该方式可以利用通信网络互动能力强的特点为用户提供更加 个性化的服务, 不用更改基础网络结构, 实施起来更为方便。  Among them, the mobile network implementation method is mainly based on the Wideband Code Division Multiple Access (WCDMA) / Global System for Mobile Communications (GSM) Global Standards Organization, Third Generation Mobile Communication Partner Organization (3GPP) proposed multimedia broadcast multicast service ( MBMS)'s streaming media technology mainly uses streaming media technology to promote mobile TV as a data service. This method can provide users with more personalized services by using the interactive features of the communication network without changing the basic network structure. It is more convenient to implement.
目前,我国推出的手机电视业务主要是依靠现有的移动网络实现 的, 固网的网络电视( IPTV )切换时延为 1.5秒到 5秒, 移动视频根 据网络状况会产生更大的时延, 而传统电视的切换时间仅为 300ms 左右。 移动视频相比于传统电视而言, 其切换时间过长将成为其应用 的硬伤, 极大地限制了业务推广和业务创新。 目前减少频道切换时间的方法主要有组播流快速离开、附加频道 切换流图像、 相邻频道预置互联网群组管理协议(IGMP ) 消息等几 种。 此外, 还有静态加入组播组和基于收视率模型的频道推送方法。 在实现本发明的过程中, 发明人发现现有技术至少存在以下问 题: At present, the mobile TV service launched in China mainly relies on the existing mobile network. The fixed network IPTV switching delay is 1.5 seconds to 5 seconds, and mobile video will generate more delay according to network conditions. The switching time of traditional TV is only about 300ms. Compared with traditional TV, mobile video has a long switching time, which will become a flaw in its application, which greatly limits business promotion and business innovation. At present, methods for reducing channel switching time mainly include multicast stream fast leaving, additional channel switching stream images, and adjacent channel preset Internet Group Management Protocol (IGMP) messages. In addition, there are static channel join groups and channel push methods based on the audience rating model. In the process of implementing the present invention, the inventors have found that the prior art has at least the following problems:
上述方法多用于 IPTV, 并不适合移动视频的频道切换。 移动视 频的切换时延主要包括网络时延、緩存时间、 参考图像等待时间和解 码时间几个部分, 在其总频道切换时间中, 参考图像等待时间在总切 换时间中占有较大比重。 因此, 结合 MBMS网络架构, 迫切需要减 少参考图像等待时间以减少频道切换时延的技术。 发明内容  The above methods are mostly used for IPTV, and are not suitable for channel switching of mobile video. The switching delay of mobile video mainly includes network delay, buffer time, reference image waiting time and decoding time. In its total channel switching time, the reference image waiting time occupies a large proportion in the total switching time. Therefore, in combination with the MBMS network architecture, there is an urgent need for techniques that reduce reference picture latency to reduce channel switching delays. Summary of the invention
本发明实施例提供一种媒体流编码方法、装置及切换系统, 以实 现减少参考图像等待时间, 进而减少频道切换时延。  Embodiments of the present invention provide a media stream encoding method, apparatus, and switching system to reduce reference picture latency and thereby reduce channel switching delay.
本发明实施例提供了一种媒体流编码方法, 该方法包括: 对至少两个频道的收视率信息进行分析, 生成分析结果; 根据所述分析结果调整视频流中待插入帧的帧间隔值; 根据所述待插入帧的帧间隔值对所述视频流进行编码,以便于对 所述视频流进行解码切换。  An embodiment of the present invention provides a media stream coding method, where the method includes: analyzing audience rating information of at least two channels, and generating an analysis result; and adjusting a frame interval value of a frame to be inserted in the video stream according to the analysis result; And encoding the video stream according to a frame interval value of the to-be-inserted frame, so as to perform decoding switching on the video stream.
本发明实施例提供了一种媒体流编码装置, 该装置包括: 分析单元, 用于对接收的每个频道的收视率信息进行分析, 生成 分析结果;  An embodiment of the present invention provides a media stream encoding apparatus, where the apparatus includes: an analyzing unit, configured to analyze the received rating information of each channel, and generate an analysis result;
调整单元,用于根据所述分析结果调整视频流中待插入帧的帧间 隔值;  And an adjusting unit, configured to adjust, according to the analysis result, a frame interval value of a frame to be inserted in the video stream;
处理单元,用于根据所述待插入帧的帧间隔值对所述视频流进行 编码。 本发明实施例提供了一种媒体流切换系统, 包括视频头端、 收视 率统计单元和用户接入端, And a processing unit, configured to encode the video stream according to a frame interval value of the to-be-inserted frame. An embodiment of the present invention provides a media stream switching system, including a video head end, a rating unit, and a user access end.
所述收视率统计单元用于对两个以上的频道的收视率信息进行 分析, 生成分析结果;  The audience rating unit is configured to analyze the audience rating information of two or more channels to generate an analysis result;
所述视频头端用于根据所述收视率统计单元得到的所述分析结 果调整视频流中待插入帧的帧间隔值,根据所述待插入帧的帧间隔值 对所述视频流进行编码; 行解码切换。  The video head end is configured to adjust a frame interval value of a frame to be inserted in the video stream according to the analysis result obtained by the audience rating unit, and encode the video stream according to the frame interval value of the frame to be inserted; Line decoding switching.
与现有技术相比, 本发明实施例媒体流编码方法、 装置及切换系 统, 将统计的收视率信息发送给视频头端, 视频头端通过对上述频道 进行分析, 对频繁切换的频道插入较多的 SP帧, 可以大大减少参考 图像等待时间, 从而减少频道的切换时延。  Compared with the prior art, the media stream encoding method, device, and switching system of the embodiment of the present invention send statistical rating information to a video head end, and the video head end analyzes the channel to perform frequent channel switching. With more SP frames, the reference image latency can be greatly reduced, thereby reducing the switching delay of the channel.
下面通过附图和实施例,对本发明实施例的技术方案做进一步的 详细描述。 附图说明  The technical solutions of the embodiments of the present invention are further described in detail below through the accompanying drawings and embodiments. DRAWINGS
图 1为本发明媒体流编码方法实施例的流程图;  1 is a flowchart of an embodiment of a media stream encoding method according to the present invention;
图 2为本发明媒体流编码装置实施例的结构示意图;  2 is a schematic structural diagram of an embodiment of a media stream encoding apparatus according to the present invention;
图 3为本发明媒体流切换系统实施例的结构示意图。 具体实施方式  FIG. 3 is a schematic structural diagram of an embodiment of a media stream switching system according to the present invention. detailed description
如图 1所示, 为本发明媒体流编码方法实施例的流程图,该方法 包括:  As shown in FIG. 1 , it is a flowchart of an embodiment of a media stream encoding method according to the present invention, where the method includes:
步骤 101、无线网络控制器统计至少两个频道的收视率信息并发 送至视频头端; 寻呼信道或广播信道要求正在使用某一 MBMS业务的终端发送 回复信息,当无线网络控制器(RNC )接收到终端发送的回复信息后, 计算并实时地更新上述频道的收视率信息, 并发送至视频头端; 此处 的收视率信息中采用的是平均收视率的概念,即在特定时间段内收看 某一栏目(或者某一频道)的观众占分析区域内电视观众总数的比率; 步骤 102、 视频头端对接收的每个频道的收视率信息进行分析, 生成分析结果; Step 101: The radio network controller collects the rating information of the at least two channels and sends the information to the video head end. The paging channel or the broadcast channel requires the terminal that is using a certain MBMS service to send the reply information. When the radio network controller (RNC) receives the reply message sent by the terminal, it calculates and updates the rating information of the channel in real time, and sends the information. To the video headend; the concept of average ratings is used in the rating information here, that is, the ratio of viewers who watch a certain column (or a certain channel) in a certain period of time to the total number of TV viewers in the analysis area; 102. The video head end analyzes the received rating information of each channel, and generates an analysis result.
视频头端在执行该步骤之前还包括: 获取上述频道的收视率信 息,上述获取方式包括统计用户终端上报的上述频道的收视状况得到 上述频道的收视率信息或从其他设备获取上述频道的收视率信息。  Before performing the step, the video head end further includes: obtaining the audience rating information of the channel, where the obtaining manner includes: collecting the rating status of the channel reported by the user terminal, obtaining the rating information of the channel, or obtaining the rating of the channel from another device. information.
上述对接收的收视率信息进行分析, 并发送分析结果具体包括: 将收视率大于第一阈值的频道划分为频繁切换频道;将收视率小于第 二阈值的频道划分为不频繁切换频道;将收视率大于等于第二阈值小 于等于第一阈值的频道划分为稳定切换频道, 并发送划分后的结果; 其中上述第一阈值或第二阈值可以根据需要进行设置;上述第一阈值 大于第二阈值;  The analyzing the received audience rating information and transmitting the analysis result specifically includes: dividing the channel whose audience rating is greater than the first threshold into a frequently switched channel; dividing the channel whose audience rating is less than the second threshold into infrequently switching channels; The channel whose rate is greater than or equal to the second threshold is less than or equal to the first threshold is divided into a stable switching channel, and the divided result is sent; wherein the first threshold or the second threshold may be set as needed; the first threshold is greater than the second threshold;
步骤 103、 根据上述分析结果调整视频流中待插入帧的帧间隔 值;  Step 103: Adjust, according to the foregoing analysis result, a frame interval value of a frame to be inserted in the video stream.
根据频道的切换程度,需要在视频流中插入不同数量的切换预测 ( Switching Predictive, SP ) 帧, 当视频流为频繁切换频道的视频流 时,插入第一预定值个 SP帧; 当视频流为稳定切换频道的视频流时, 插入第二预定值个 SP帧; 当视频流为不频繁切换频道的视频流时, 插入第三预定值个 SP帧; 上述第一预定值、 第二预定值和第三预定 值可根据需要进行设置, 其中第一预定值大于第二预定值, 第二预定 值大于第三预定值;  According to the degree of channel switching, a different number of Switching Predictive (SP) frames need to be inserted in the video stream. When the video stream is a video stream that frequently switches channels, the first predetermined value SP frame is inserted; when the video stream is When the video stream of the channel is stably switched, a second predetermined value of SP frames is inserted; when the video stream is a video stream that infrequently switches channels, a third predetermined value of SP frames is inserted; the first predetermined value, the second predetermined value, and The third predetermined value may be set as needed, wherein the first predetermined value is greater than the second predetermined value, and the second predetermined value is greater than the third predetermined value;
步骤 104、 根据上述待插入帧的帧间隔值对上述视频流进行编 码, 并将编码后的视频流发送至用户终端; Step 104: Compile the video stream according to the frame interval value of the frame to be inserted. a code, and sending the encoded video stream to the user terminal;
根据设置的要插入的 SP帧的数量, 将 SP帧插入上述视频流中; 另外, 如果是短距离传输视频流, 也可以在视频流中多插入 I帧; 如 果是先在服务器中存储再传输即有大容量的存储空间时, 可以多编 SI帧,具体采用哪种编码方式可以根据实际情况而定,但等待参考帧 时间与此无关, 只和帧插入周期有关; 最后视频头端将编码后的视频 流通过 IP组播的方式发送至用户终端;  According to the set number of SP frames to be inserted, the SP frame is inserted into the above video stream; in addition, if the video stream is transmitted over a short distance, an I frame may be inserted in the video stream; if it is stored and retransmitted in the server first That is, when there is a large-capacity storage space, the SI frame can be multi-coded. The specific coding method can be determined according to the actual situation, but the waiting reference frame time is irrelevant, and only relates to the frame insertion period. Finally, the video head end will be encoded. The subsequent video stream is sent to the user terminal by means of IP multicast;
另外, 上述 SP帧能够像 I帧一样提供无缝切换点,从而实现码流 间的无缝连接, 但在提供相同功能的情况下, SP帧的编码效率高于 I 帧的编码效率, 也正是由于这一特性,使 SP帧可以取代 I帧,广泛应 用于流间切换,同时大大降低了码率的开销; 同时, 当要实现不同码 流间的切换时,使用 SI帧也非常有效;  In addition, the above SP frame can provide seamless switching points like I frames, thereby achieving seamless connection between code streams, but in the case of providing the same function, the encoding efficiency of the SP frame is higher than the encoding efficiency of the I frame, and Because of this feature, the SP frame can replace the I frame, which is widely used in inter-stream switching, and greatly reduces the code rate overhead. Meanwhile, when the switching between different code streams is to be realized, the use of the SI frame is also very effective;
步骤 105、 用户终端对接收的编码后的视频流进行解码切换。 当用户终端接收到视频头端发送的视频流后,对上述视频流进行 解码切换; 其中, 上述视频流为视频头端根据终端侧发送的收视率信 息编码而成的, 上述对接收的编码后的视频流进行解码切换具体包 括: 当接收的编码后的视频流为 I帧时, 则对上述视频流直接解码; 当接收的编码后的视频流为切换帧 ( Switch Intra-Frame, SI ) 帧时, 则对上述视频流进行流间切换; 但无论哪种情况, 均可立即解码新频 道的码流进行观看。  Step 105: The user terminal performs decoding switching on the received encoded video stream. After the user terminal receives the video stream sent by the video head end, the video stream is decoded and switched; wherein the video stream is encoded by the video head end according to the rating information sent by the terminal side, and the foregoing encoding is performed after receiving The decoding of the video stream includes: when the received encoded video stream is an I frame, the video stream is directly decoded; when the received encoded video stream is a Switch Intra-Frame (SI) frame At the same time, the above video stream is switched between streams; but in either case, the code stream of the new channel can be immediately decoded for viewing.
上述媒体流编码方法,将实时统计的每个频道的收视率信息发送 给视频头端, 以使视频头端可以对上述频道进行分析, 同时根据分析 结果,对频繁切换的频道插入较多的 SP帧, 可以大大减少参考图像等 待时间, 从而减少频道的切换时延, 另外, 上述视频头端也可以采用 寻呼信道或广播信道等方式直接获取每个频道的收视率信息。  The media stream coding method is configured to send the audience rating information of each channel in real time to the video head end, so that the video head end can analyze the channel, and according to the analysis result, insert more SPs into frequently switched channels. The frame can greatly reduce the reference image waiting time, thereby reducing the switching delay of the channel. In addition, the video head end can also directly obtain the rating information of each channel by using a paging channel or a broadcast channel.
如图 2所示, 为本发明媒体流编码装置实施例的结构示意图, 该 装置包括: 分析单元 21 , 用于对接收的每个频道的收视率信息进行 分析, 生成分析结果; 调整单元 22, 用于根据所述分析结果调整视 频流中待插入帧的帧间隔值; 处理单元 23, 用于根据所述待插入帧 的帧间隔值对所述视频流进行编码。 FIG. 2 is a schematic structural diagram of an embodiment of a media stream encoding apparatus according to the present invention, where The device includes: an analyzing unit 21, configured to analyze the received rating information of each channel to generate an analysis result; and an adjusting unit 22, configured to adjust a frame interval value of the frame to be inserted in the video stream according to the analysis result; The unit 23 is configured to encode the video stream according to a frame interval value of the to-be-inserted frame.
其中, 上述媒体流编码装置还包括: 统计单元, 用于统计用户终 端上报的上述频道的收视状况得到上述频道的收视率信息或从其他 设备获取所述频道的收视率信息; 其中, 上述信息包括业务信息和指 令信息,上述业务信息包括地理范围、 IP组播地址、业务开始时间等。  The media stream coding apparatus further includes: a statistics unit, configured to collect the audience rating information of the channel reported by the user terminal, obtain the audience rating information of the channel, or obtain the audience rating information of the channel from another device; wherein the information includes The service information and the command information, where the service information includes a geographical range, an IP multicast address, a service start time, and the like.
另外, 上述分析模块包括: 划分模块, 用于将收视率大于第一阈 值的频道划分为频繁切换频道,将收视率小于第二阈值的频道划分为 不频繁切换频道,将收视率大于等于第二阈值小于等于第一阈值的频 道划分为稳定切换频道; 上述第一阈值大于所述第二阈值; 上述调整 单元包括调整模块, 用于当视频流为频繁切换频道的视频流时, 设置 插入第一预定值个 SP帧; 当视频流为稳定切换频道的视频流时, 设 置插入第二预定值个 SP帧;当视频流为不频繁切换频道的视频流时, 设置插入第三预定值个 SP帧; 上述处理单元包括: 编码模块, 用于 对于不频繁切换频道, 插入第三预定值个 SP帧, 并将视频流中的辅 帧编码为 SI帧; 其中, 第一预定值大于第二预定值, 第二预定值大 于第三预定值。  In addition, the foregoing analysis module includes: a dividing module, configured to divide a channel whose viewing rate is greater than the first threshold into a frequently switched channel, and divide the channel whose viewing rate is less than the second threshold into infrequently switching channels, and the viewing rate is greater than or equal to the second The channel whose threshold is less than or equal to the first threshold is divided into stable switching channels; the first threshold is greater than the second threshold; the adjusting unit includes an adjusting module, configured to insert the first when the video stream is a video stream that frequently switches channels a predetermined value of SP frames; when the video stream is a video stream of a stable switching channel, setting a second predetermined value of SP frames; when the video stream is a video stream of infrequently switching channels, setting a third predetermined value of SP frames The processing unit includes: an encoding module, configured to insert a third predetermined value SP frame for infrequently switching channels, and encode the secondary frame in the video stream into an SI frame; wherein, the first predetermined value is greater than the second predetermined value The second predetermined value is greater than the third predetermined value.
上述媒体流编码装置, 通过分析单元将频道划分为频繁切换频 道、 不频繁切换频道和稳定切换频道, 同时, 通过调整单元, 对频繁 切换的频道设置插入较多的 SP帧, 通过处理单元, 对不同类型的频 道插入不同数量的 SP帧, 并将辅帧编为 SI帧, 大大减少了参考图像 的等待时间, 从而减少频道的切换时延, 较好地实现了不同码流之间 的切换。  The media stream encoding device divides the channel into frequent switching channels, infrequently switching channels, and stably switching channels through the analyzing unit, and simultaneously inserts more SP frames into the frequently switched channel by the adjusting unit, and the processing unit Different types of channels are inserted into different SP frames, and the secondary frames are encoded into SI frames, which greatly reduces the waiting time of the reference image, thereby reducing the switching delay of the channels, and better switching between different code streams.
如图 3所示, 为本发明媒体流切换系统实施例的结构示意图, 该 系统包括: 收视率统计单元 1、 视频头端 2和用户接入端 3, 其中上 述收视率统计单元 1 ,用于对两个以上的频道的收视率信息进行分析, 生成分析结果; 视频头端 2, 用于根据所述收视率统计单元得到的所 述分析结果调整视频流中待插入帧的帧间隔值,根据所述待插入帧的 帧间隔值对所述视频流进行编码; 用户接入端 3, 用于根据所述视频 头端进行编码后的视频流进行解码切换。 As shown in FIG. 3, it is a schematic structural diagram of an embodiment of a media stream switching system according to the present invention. The system includes: a rating statistics unit 1, a video head end 2, and a user access terminal 3, wherein the audience rating unit 1 is configured to analyze the audience rating information of two or more channels to generate an analysis result; The frame interval value of the frame to be inserted in the video stream is adjusted according to the analysis result obtained by the rating unit, and the video stream is encoded according to the frame interval value of the frame to be inserted; The terminal 3 is configured to perform decoding switching according to the video stream that is encoded by the video head end.
其中, 上述系统还可以包括核心网; 上述分析单元可以包括: 划 分模块, 用于将收视率大于第一阈值的频道划分为频繁切换频道, 将 收视率小于第二阈值的频道划分为不频繁切换频道,将收视率大于等 于第二阈值小于等于第一阈值的频道划分为稳定切换频道;第一发送 模块, 用于发送划分后的结果; 上述调整单元可以包括调整模块, 用 于当视频流为频繁切换频道的视频流时, 设置插入第一预定值个 SP 帧, 当视频流为稳定切换频道的视频流时, 设置插入第二预定值个 SP 帧, 当视频流为不频繁切换频道的视频流时, 设置插入第三预定 值个 SP帧; 上述编码模块可以包括: 编码子模块, 用于对于不频繁 切换频道, 插入第三预定值个 SP帧, 并将视频流中的辅帧编码为 SI 帧; 第二发送模块, 用于通过 IP组播的方式将编码后的视频流发送 至解码切换单元。  The foregoing system may further include a core network. The analyzing unit may include: a dividing module, configured to divide a channel whose viewing rate is greater than the first threshold into a frequently switched channel, and divide the channel whose viewing rate is less than the second threshold into infrequent switching. a channel, the channel whose audience rating is greater than or equal to the second threshold is less than or equal to the first threshold is divided into a stable switching channel; the first sending module is configured to send the divided result; the adjusting unit may include an adjusting module, where the video stream is When the video stream of the channel is frequently switched, the first predetermined value SP frame is inserted, and when the video stream is a video stream of the stable switching channel, the second predetermined value SP frame is inserted, and when the video stream is a video of the infrequent switching channel When the stream is set, the third predetermined value SP frame is inserted. The encoding module may include: an encoding submodule, configured to insert a third predetermined value SP frame for the infrequent switching of the channel, and encode the auxiliary frame in the video stream as a second sending module, configured to send the encoded video stream to the IP multicast mode to Decode the switching unit.
另外, 上述 SP帧能够像 I帧一样提供无缝切换点,从而实现码流 间的无缝连接, 但在提供相同功能的情况下, SP帧的编码效率高于 I 帧的编码效率, 也正是由于这一特性,使 SP帧可以取代 I帧,广泛应 用于流间切换,同时大大降低了码率的开销; 同时, 当要实现不同码 流间的切换时,使用 SI帧也非常有效。 目前, 正常码流传输时, 参考 图像的等待时间为 500ms, 而采用本发明媒体流切换系统所花费的参 考图像等待时间为 333ms, 可节省约 200ms, 而 MBMS架构的无限 网络接入和传输时延在几百毫秒, 终端的緩存一般很小, 其緩存时间 可忽略不计, 解码时间也在几十到几百毫秒, 综合以上几部分时间, 频道切换的总时间可控制在 Is以内, 能有效提高用户的体验度。 In addition, the above SP frame can provide seamless switching points like I frames, thereby achieving seamless connection between code streams, but in the case of providing the same function, the encoding efficiency of the SP frame is higher than the encoding efficiency of the I frame, and Because of this feature, the SP frame can replace the I frame, which is widely used in inter-stream switching, and greatly reduces the bit rate overhead. Meanwhile, when the switching between different code streams is to be realized, the use of the SI frame is also very effective. At present, when the normal code stream is transmitted, the reference image has a waiting time of 500 ms, and the reference image waiting time taken by the media stream switching system of the present invention is 333 ms, which can save about 200 ms, and the MBMS architecture has unlimited network access and transmission. After a few hundred milliseconds, the terminal's cache is usually small, and its cache time It can be ignored, and the decoding time is also tens to hundreds of milliseconds. In the above part of the time, the total time of channel switching can be controlled within Is, which can effectively improve the user experience.
另外,上述系统既可以在无线网络环境又可以在有线网络环境下 使用, 只是收视率统计单元设置的位置不同。 在无线网络环境下, 典 型的是 MBMS无线网络架构, 该单元设在无线网络控制器 RNC处; 而在有线网络环境下,典型的是 ADSL有线接入, 该单元设置在网际 协议(IP ) 的提高数据速率的 GSM演进技术(edge )节点处, 在有 线网络环境下的该统计模块是由接入节点 (Access Node, AN)利用数 字用户线(DSL )接入系统中的二层控制(Layer 2 Control, L2C )协 议, 上报组播成员关系给 IP edge节点, 再由 IP edge节点统计出收视 率的情况来实现的。  In addition, the above system can be used in both a wireless network environment and a wired network environment, except that the location of the rating unit is different. In the wireless network environment, the MBMS wireless network architecture is typical, and the unit is located at the radio network controller RNC. In the wired network environment, ADSL wired access is typical, and the unit is set in the Internet Protocol (IP). The GSM evolution technology (edge) node that increases the data rate, the statistical module in the wired network environment is the access node (Access Node, AN) using the digital subscriber line (DSL) access system in the layer 2 control (Layer The 2 control, L2C) protocol reports the multicast membership to the IP edge node, and then the IP edge node counts the ratings.
进一步地, 上述视频头端和收视率统计单元可以集成在一起。 上述媒体流切换系统,通过统计单元将每个频道的收视率信息实 时地发送给视频头端,视频头端的分析单元接收上述收视率信息后对 其进行分析, 同时, 通过编码单元对频繁切换的频道插入较多的 SP 帧, 并将视频流中的辅帧编码为 SI帧, 终端的解码切换单元接收到 视频头端发送的视频流后, 对其进行解码切换, 实现了视频流地正常 切换, 且大大降低了参考图像等待时间, 从而大大减少了频道的切换 时延。  Further, the video headend and the rating unit may be integrated. In the media stream switching system, the rating information of each channel is sent to the video head end in real time through the statistical unit, and the analyzing unit of the video head end receives the above-mentioned rating information and analyzes it, and at the same time, frequently switches through the coding unit. The channel inserts more SP frames, and encodes the secondary frames in the video stream into SI frames. After receiving the video stream sent by the video headend, the decoding switching unit of the terminal decodes and switches the video stream to achieve normal switching of the video stream. , and the reference image waiting time is greatly reduced, thereby greatly reducing the switching delay of the channel.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可以通过硬件实现,也可以可借助软件加必要的通用硬件平 台的方式来实现基于这样的理解,本发明的技术方案可以以软件产品 的形式体现出来, 该软件产品可以存储在一个非易失性存储介质(可 以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得一 台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例所述的方法。 总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware, or can be implemented by means of software plus necessary general hardware platform, and the technical solution of the present invention. It can be embodied in the form of a software product that can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for making a computer device (may It is a personal computer, a server, or a network device, etc.) that performs the methods described in various embodiments of the present invention. In conclusion, the above description is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求 Rights request
1、 一种媒体流编码方法, 其特征在于, 包括: A media stream encoding method, comprising:
对至少两个频道的收视率信息进行分析, 生成分析结果; 根据所述分析结果调整视频流中待插入帧的帧间隔值; 根据所述待插入帧的帧间隔值对所述视频流进行编码,以便于对 所述视频流进行解码切换。  And analyzing the audience information of the at least two channels to generate an analysis result; adjusting a frame interval value of the frame to be inserted in the video stream according to the analysis result; and encoding the video stream according to the frame interval value of the to-be-inserted frame In order to perform decoding switching on the video stream.
2、 根据权利要求 1所述的媒体流编码方法, 其特征在于, 所述 对至少两个频道的收视率信息进行分析, 生成分析结果之前还包括: 获取所述频道的收视率信息,所述获取方式包括统计用户终端上 报的所述频道的收视状况得到所述频道的收视率信息或从其他设备 获取所述频道的收视率信息。  The media stream encoding method according to claim 1, wherein the analyzing the audience rating information of the at least two channels, before generating the analysis result, further comprising: acquiring the audience rating information of the channel, The obtaining manner includes collecting the rating information of the channel reported by the user terminal, obtaining the rating information of the channel, or acquiring the rating information of the channel from another device.
3、 根据权利要求 1或 2所述的媒体流编码方法, 其特征在于, 所述对至少两个频道的收视率信息进行分析, 生成分析结果包括: 将收视率大于第一阈值的频道划分为频繁切换频道;  The media stream encoding method according to claim 1 or 2, wherein the analyzing the audience rating information of the at least two channels, and generating the analysis result comprises: dividing the channel with the audience rating greater than the first threshold into Switch channels frequently;
将收视率小于第二阈值的频道划分为不频繁切换频道; 将收视率大于等于第二阈值小于等于第一阈值的频道划分为稳 定切换频道, 生成并发送划分后的结果;  Dividing a channel whose audience rating is less than the second threshold into infrequently switching channels; dividing a channel whose audience rating is greater than or equal to the second threshold and less than or equal to the first threshold into a stable switching channel, and generating and transmitting the divided result;
所述第一阈值大于所述第二阈值。  The first threshold is greater than the second threshold.
4、 根据权利要求 3所述的媒体流编码方法, 其特征在于, 所述 根据所述分析结果调整视频流中待插入帧的帧间隔值包括:  The media stream coding method according to claim 3, wherein the adjusting the frame interval value of the frame to be inserted in the video stream according to the analysis result includes:
当视频流为频繁切换频道的视频流时,插入第一预定值个切换预 测帧; 当视频流为稳定切换频道的视频流时,插入第二预定值个切换预 测帧; Inserting a first predetermined value of the handover prediction frame when the video stream is a video stream that frequently switches channels; Inserting a second predetermined value of the handover prediction frame when the video stream is a video stream of the stable switching channel;
当视频流为不频繁切换频道的视频流时,插入第三预定值个切换 预测帧;  Inserting a third predetermined value of the handover prediction frame when the video stream is a video stream that infrequently switches channels;
其中,第一预定值大于第二预定值,第二预定值大于第三预定值。 Wherein the first predetermined value is greater than the second predetermined value, and the second predetermined value is greater than the third predetermined value.
5、 根据权利要求 4所述的媒体流编码方法,其特征在于所述根 据所述待插入帧的帧间隔值对所述视频流进行编码包括: The media stream encoding method according to claim 4, wherein the encoding the video stream according to a frame interval value of the frame to be inserted comprises:
对于不频繁切换频道, 插入第三预定值个切换预测帧, 并将视频 流中的辅帧编码为切换帧。  For infrequently switching channels, a third predetermined value of handover prediction frames is inserted, and the secondary frames in the video stream are encoded as handover frames.
6、 一种媒体流编码装置, 其特征在于, 包括:  6. A media stream encoding apparatus, comprising:
分析单元, 用于对接收的每个频道的收视率信息进行分析, 生成 分析结果;  An analyzing unit, configured to analyze the rating information of each channel received, and generate an analysis result;
调整单元,用于根据所述分析结果调整视频流中待插入帧的帧间 隔值;  And an adjusting unit, configured to adjust, according to the analysis result, a frame interval value of a frame to be inserted in the video stream;
处理单元,用于根据所述待插入帧的帧间隔值对所述视频流进行 编码。  And a processing unit, configured to encode the video stream according to a frame interval value of the to-be-inserted frame.
7、 根据权利要求 6所述的媒体流编码装置,其特征在于还包括: 统计单元,用于统计用户终端上报的所述频道的收视状况得到所 述频道的收视率信息或从其他设备获取所述频道的收视率信息。  The media stream encoding apparatus according to claim 6, further comprising: a statistical unit, configured to collect the rating information of the channel reported by the user terminal, obtain the rating information of the channel, or obtain the information from another device. The rating information of the channel.
8、 根据权利要求 7所述的媒体流编码装置,其特征在于所述分 析单元包括:  8. The media stream encoding apparatus according to claim 7, wherein the analyzing unit comprises:
划分模块,用于将收视率大于第一阈值的频道划分为频繁切换频 道, 将收视率小于第二阈值的频道划分为不频繁切换频道, 将收视率 大于等于第二阈值小于等于第一阈值的频道划分为稳定切换频道;所 述第一阈值大于所述第二阈值; a dividing module, configured to divide a channel with a viewing rate greater than a first threshold into a frequent switching frequency Channels that are less than the second threshold are classified as infrequently switched channels, and channels whose audience ratings are greater than or equal to the second threshold and less than or equal to the first threshold are divided into stable switching channels; the first threshold is greater than the second threshold ;
所述调整单元包括调整模块,用于当视频流为频繁切换频道的视 频流时, 插入第一预定值个切换预测帧, 当视频流为稳定切换频道的 视频流时, 插入第二预定值个切换预测帧; 当视频流为不频繁切换频 道的视频流时, 插入第三预定值个切换预测帧;  The adjusting unit includes an adjusting module, configured to insert a first predetermined value of a handover prediction frame when the video stream is a video stream that frequently switches channels, and insert a second predetermined value when the video stream is a video stream of the stable switching channel Switching the prediction frame; inserting a third predetermined value of the handover prediction frame when the video stream is a video stream that infrequently switches channels;
其中,第一预定值大于第二预定值,第二预定值大于第三预定值。 Wherein the first predetermined value is greater than the second predetermined value, and the second predetermined value is greater than the third predetermined value.
9、 根据权利要求 8所述的媒体流编码装置,其特征在于所述处 理单元包括: 9. The media stream encoding apparatus according to claim 8, wherein the processing unit comprises:
编码模块, 用于对不频繁切换频道, 插入第三预定值个切换预测 帧, 并将视频流中的辅帧编码为切换帧。  And an encoding module, configured to insert a third predetermined value handover prediction frame for infrequently switching channels, and encode the secondary frame in the video stream as a handover frame.
10、 一种媒体流切换系统, 其特征在于, 包括视频头端、 收视率 统计单元和用户接入端,  A media stream switching system, comprising: a video head end, a rating statistics unit, and a user access end,
所述收视率统计单元,用于对两个以上的频道的收视率信息进行 分析, 生成分析结果;  The audience rating unit is configured to analyze the audience rating information of two or more channels to generate an analysis result;
所述视频头端,用于根据所述收视率统计单元得到的所述分析结 果调整视频流中待插入帧的帧间隔值,根据所述待插入帧的帧间隔值 对所述视频流进行编码;  The video head end is configured to adjust a frame interval value of a frame to be inserted in the video stream according to the analysis result obtained by the audience rating unit, and encode the video stream according to the frame interval value of the frame to be inserted. ;
所述用户接入端,用于根据所述视频头端进行编码后的视频流进 行解码切换。  The user access end is configured to perform decoding switching according to the video stream that is encoded by the video head end.
11、 根据权利要求 10所述的媒体流切换系统, 其特征在于, 所 述视频头端和收视率统计单元集成。 11. The media stream switching system according to claim 10, wherein The video headend and the rating statistics unit are integrated.
PCT/CN2009/070972 2008-03-31 2009-03-24 A coding method, device and a switching system for media stream WO2009121274A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810103136.XA CN101552920B (en) 2008-03-31 2008-03-31 Media stream encoding method, media stream encoding device and media stream encode switching system
CN200810103136.X 2008-03-31

Publications (1)

Publication Number Publication Date
WO2009121274A1 true WO2009121274A1 (en) 2009-10-08

Family

ID=41134834

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070972 WO2009121274A1 (en) 2008-03-31 2009-03-24 A coding method, device and a switching system for media stream

Country Status (2)

Country Link
CN (1) CN101552920B (en)
WO (1) WO2009121274A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469369A (en) * 2014-11-17 2015-03-25 何震宇 Method for improving scalable video coding (SVC) performance by using decoder side information (DSI)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104053058B (en) * 2013-03-12 2017-02-08 日电(中国)有限公司 Channel switching time-delay method and access control equipment
CN105578217B (en) * 2015-12-24 2019-04-26 深圳创维数字技术有限公司 A kind of electronic program guides method for building up and set-top box
CN106303682B (en) * 2016-08-09 2019-09-20 华为技术有限公司 Method, apparatus, terminal and the server of channel switching

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060097478A (en) * 2005-03-09 2006-09-14 엘지전자 주식회사 Apparatus and method for reducing an image display delay time in changing channels
WO2007024268A1 (en) * 2005-08-25 2007-03-01 Sony Ericsson Mobile Communications Ab Mobile television channel switching system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1638334B1 (en) * 2004-09-16 2010-08-11 Alcatel USA Sourcing, L.P. Zapping agent with improved latency
CN100499567C (en) * 2004-12-02 2009-06-10 华为技术有限公司 Method for realizing video multicast service medium frequency switch
US20070035644A1 (en) * 2005-07-19 2007-02-15 Chih-Hui Kuo Method of video sync protection and video sync protector thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060097478A (en) * 2005-03-09 2006-09-14 엘지전자 주식회사 Apparatus and method for reducing an image display delay time in changing channels
WO2007024268A1 (en) * 2005-08-25 2007-03-01 Sony Ericsson Mobile Communications Ab Mobile television channel switching system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SHI Y. ET AL.: "Study of Fast Channel Switching Scheme in Mobile Video Services", VIDEO ENGINEERING, vol. 32, no. 03, 17 March 2008 (2008-03-17), pages 32 - 33 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469369A (en) * 2014-11-17 2015-03-25 何震宇 Method for improving scalable video coding (SVC) performance by using decoder side information (DSI)
CN104469369B (en) * 2014-11-17 2017-10-31 何震宇 It is a kind of to utilize the method for decoding client information raising SVC performances

Also Published As

Publication number Publication date
CN101552920A (en) 2009-10-07
CN101552920B (en) 2011-08-10

Similar Documents

Publication Publication Date Title
US9106431B2 (en) Method and apparatus for improved multicast streaming in wireless networks
CN101316357B (en) Channel switching method and terminal
US8995463B2 (en) Method, apparatus and system for obtaining key information during fast channel switching
CN109618170B (en) D2D real-time video streaming transmission method based on network coding
CN102970585B (en) Method for quick channel switching of streaming media
WO2009121274A1 (en) A coding method, device and a switching system for media stream
CN1859525A (en) Method for realizing stream media switching and stream media server
EP2124386A1 (en) Apparatus and method for multicast and/or broadcast service
CN103685314B (en) Method for achieving seamless switching of unicast and multicast of stream media playing
CN113114687B (en) IPTV converging method and system
CN101771948B (en) Configuration method for header compression mode in MBMS service
KR101129192B1 (en) Apparatus and method for proving a mobile ip television service in a mobile communication system and a broadcasting system
JP2011530907A (en) Separation of media streams for channel switching
CN101567768A (en) Method and system for repairing MBMS mobile phone television in streaming way and mobile terminal device
Xie et al. Rate-distortion optimized dynamic bitstream switching for scalable video streaming
KR100848309B1 (en) Apparaus and method of providing internet TV brodacasting service using fast buffering switch
EP2047681B1 (en) Technique for media frame decoding
EP2654311B1 (en) Synchronization method and synchronization apparatus for multicast group quick access, and terminal
WO2009000208A1 (en) Multicast service information transmission method, multicast service implement method, base station, relay station, and terminal
Raj et al. Joint optimization for broadcast service rendering and call connectivity for dual stack mobile devices
Hellge et al. Graceful degradation in 3GPP MBMS mobile TV services using H. 264/AVC temporal scalability
Wang et al. Mobile video applications and standards
WO2015109527A1 (en) Header compression device and method
Stockhammer et al. On practical crosslayer aspects in 3GPP video services
Sanigepalli et al. A modified video codec for MBMS applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09729066

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09729066

Country of ref document: EP

Kind code of ref document: A1