WO2008148333A1 - System and method for processing video stream - Google Patents

System and method for processing video stream Download PDF

Info

Publication number
WO2008148333A1
WO2008148333A1 PCT/CN2008/071065 CN2008071065W WO2008148333A1 WO 2008148333 A1 WO2008148333 A1 WO 2008148333A1 CN 2008071065 W CN2008071065 W CN 2008071065W WO 2008148333 A1 WO2008148333 A1 WO 2008148333A1
Authority
WO
WIPO (PCT)
Prior art keywords
substream
user
channel
program
video stream
Prior art date
Application number
PCT/CN2008/071065
Other languages
French (fr)
Chinese (zh)
Inventor
Xianfeng Dai
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.
Publication of WO2008148333A1 publication Critical patent/WO2008148333A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols
    • 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 MPEG 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Definitions

  • the present invention relates to the field of video processing, and in particular, to a video stream processing system and processing method. Background technique
  • FIG. 1 is a schematic structural diagram of a video stream processing system of an abstract IPTV webcast service in the prior art, including a program source 91, a multicast copy point 92, and a terminal device 93 (eg, a set top box + a television set, or Personal computers, etc., including legitimate users and illegal users).
  • a program source 91 e.g., a program source 91
  • a multicast copy point 92 e.g, a set top box + a television set, or Personal computers, etc., including legitimate users and illegal users.
  • the program source 91 is responsible for the storage of the television program and the encoding and transmission of the video stream; the multicast replication point 92 copies the corresponding television video stream from the uplink to different terminal devices 93 according to different multicast groups and their members; Apply for authorization to the externally designated device. After the identity authentication is passed, the device becomes a legitimate user. You can apply to join a multicast group (a TV channel program is usually a multicast group), and then receive the video stream of a TV channel. The device 93 decodes the received video stream and plays the same. When the channel is switched, the terminal device 93 sends an application to the external designated device to leave the original multicast group and apply to join the new multicast group. After the application is approved, the multicast replication point stops. The terminal device 93 sends the video stream of the original channel, and instead sends the video stream of the new channel program, and the terminal device 93 can receive the image of the new channel program after receiving the new channel video stream.
  • a multicast group a TV channel program is usually a multi
  • Sca labl e Coding is one of the modern video coding technologies, which makes the video coding process more flexible and allows multimedia information to be transmitted adaptively between networks.
  • the problem of limited transmission bandwidth in the path of the network transmission video stream is mainly solved.
  • the video information stream is decomposed into a plurality of substreams, including a basic layer substream and an enhancement layer substream, wherein the basic layer
  • the stream contains the most important basic information of the video stream. It can be decoded separately at the receiving end, and a most basic image can be obtained after decoding.
  • the enhancement layer substream cannot be decoded separately, and must be separated from the base layer. Decode together to get a higher quality image.
  • video coding standards that support hierarchical coding techniques are available.
  • the method makes the video stream scalable, and when the network bandwidth is small, transmits the basic layer substream, and determines whether to transmit the enhancement layer substream according to the actual network environment, so that the image quality is enhanced, thereby achieving adaptation. .
  • FGS fine granularity scalability
  • Time domain can be Temporal Scalability, Spatial Scalability, SNR Scalability
  • the rate of their enhancement layer is one or several fixed rates, and in FGS coding, the rate of the enhancement layer It can be finely adjusted according to the actual situation of the bandwidth.
  • the channel switching time is the time from when the remote control button is pressed to when the first frame of the video image of the next channel is displayed.
  • the video stream transmission speed is 25 frames per second
  • each group of pictures (GOP) is 15 frames.
  • the GOP consists of I frame, B frame and P frame, of which only One I frame and multiple B frames and P frames. Since only I frames can be decoded separately to display an image, and B frames and P frames cannot be decoded separately, it is necessary to rely on I frames in the same G0P to obtain an image after decoding. Therefore, the terminal device can only start displaying the video image of the channel after receiving the first I frame of the channel. If the channel switching time happens to occur after an I frame, it is necessary to wait for the entire GP transmission time to receive the next I frame, that is, the transmission time of 15 frames, and the video image of the channel can be displayed after about 600 ms.
  • FIG. 2 it is a schematic diagram of the composition of the channel switching time in the prior art, and the various stages in the entire channel switching process and the time they occupy are described.
  • IGMP Internet Group Management Protocol
  • DSL Digital Subscriber Line
  • the entire time is about 700ms, and most of the time is about 600ms waiting for receiving the first I frame.
  • the existing processing system is to reduce the time interval of two adjacent I frames, that is, to reduce the size of the GOP, and increase the number of I frames, for example, reduce the GOP.
  • the spacing of adjacent I frames can be reduced from 600 ms to about 360 ms.
  • the prior art reduces the channel switching time to some extent, it is realized by increasing the number of I frames by reducing the size of the GOP, thereby sacrificing the efficiency of image coding, thereby making the image compression ratio Decrease, increasing the bandwidth occupied by the transmitted video signal.
  • the channel switching time calculated by the prior art does not include the time for buffering after receiving the new channel video signal, so the time is at least greater than one G0P time, that is, about 600 ms, so the prior art cannot fundamentally solve the channel. The problem of switching time is too long. Summary of the invention
  • Embodiments of the present invention provide a video stream processing method and processing system to implement zero-delay switching channels.
  • An embodiment of the present invention provides a video stream processing system, including:
  • a program source server configured to decompose the video stream of the channel program into the first substream and the second substream, and send the first substream to the terminal device of the legitimate user, and when the channel program is clicked, the user of the channel program is clicked
  • the terminal device sends the second substream
  • the terminal device is configured to receive a first substream sent by the program source server, apply for receiving a second substream of the user on demand channel program, and receive the first substream and the second substream of the user on demand channel program. Decode playback.
  • Another aspect of the present invention provides a method for processing a video stream, including the following steps: receiving a first substream of each channel program sent by a program source server;
  • the processing system and processing method of the video stream of the present invention decomposes the video stream into the first substream and the second substream, and the legitimate terminal device always receives the first substream of each television channel program, so it can be in any
  • Obtaining a complete image of the new channel enables immediate switching between live programs, ie zero-delay channel switching time.
  • FIG. 1 is a schematic structural diagram of a video stream processing system of an abstract IPTV webcast service in the prior art
  • FIG. 2 is a schematic diagram showing the composition of a channel switching time in the prior art
  • FIG. 3 is a schematic structural diagram of a video stream processing system according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a program source server according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an internal implementation of a terminal device in a video stream processing system according to an embodiment of the present invention
  • FIG. 6 is a second internal implementation of a terminal device in a video stream processing system according to an embodiment of the present invention
  • FIG. Example working principle diagram of the preprocessing module
  • FIG. 8 is a flowchart of a method for processing a video stream according to an embodiment of the present invention. detailed description
  • the technical solution of the present invention is to realize zero-delay channel switching and multi-screen display function by using image hierarchical coding technology.
  • FIG. 3 it is a schematic structural diagram of a video stream processing system according to an embodiment of the present invention, including a section
  • the source server 1 is configured to decompose the video stream of the channel program into the first substream and the second substream, and send the first substream to the legal user, and send the second substream when the channel program is clicked;
  • the device 3 is connected to the program source server 1 through a network, and is configured to apply for receiving a second substream of the user's on-demand channel, and receive a second substream of the first substream and the user's on-demand channel for decoding and playing.
  • the first substream and the second substream are sent out, and the second substream may be one or more substreams.
  • the first substream occupies as small a bandwidth as possible, such as 32 kbps, which requires the terminal device to separately receive the basic image quality that the output user can accept.
  • the terminal device applies for authorization to become a legitimate user
  • the first substream of n television channels can be received, and n can be all or part of the number of TV channel programs.
  • n can be all or part of the number of TV channel programs.
  • the program source server also sends the first substream of the n TV channels to the multicast copy point.
  • the terminal device When the user orders a television program of a certain channel, the terminal device applies for receiving the second substream of the channel program, that is, applying to join a multicast group related to the second substream. After receiving the second substream of the channel program, the terminal device combines the first substream and the second substream of the channel program, and decodes and displays the complete image of the channel.
  • the terminal device When the terminal device switches channels, it only needs to leave the multicast group of the original second substream and join the second substream multicast group of the new channel program. After receiving the second substream of the new channel program, the terminal device merges with the first substream of the corresponding channel program, and obtains a complete channel complete image after decoding. The terminal device needs to switch from the second sub-stream multicast group of the original channel program to the second sub-stream of the new channel program to display the image at the terminal. However, in this handover process, the terminal device is always receiving the first substream of each TV channel program, so the terminal device can separately decode the first substream of the new channel program from the channel switching, and immediately display the new channel. The basic image of the program, thus achieving zero-delay fast channel switching.
  • the first substream can be the base layer substream of the IPTV video stream and the second substream can be the enhancement layer substream.
  • the terminal device is always receiving the first substream of each television channel program, the basic image of each television channel program can be simultaneously displayed at any time, and the multi-screen display function is implemented on the television terminal, for example, at the computer terminal.
  • the multi-screen display of the window can also implement functions such as picture-in-picture and nine-picture on the display terminal.
  • the total first sub-stream When the total number of TV channel programs is relatively large, such as 100, if each first sub-flow rate is 32 kbps, the total first sub-stream will occupy a larger bandwidth of about 3.2 Mbps.
  • the value of n can be appropriately adjusted according to the total downlink bandwidth of different end users, for example, the value range is reduced to 20-30, or the user can accept image quality.
  • the rate of the first substream of each channel program is reduced, such as from 32 kbps to 16 kbps.
  • the n channels of the program include favorite channels and popular channels in the user's favorites, so that fast switching and browsing between these channels can be guaranteed.
  • the total downlink bandwidth of end users will continue to increase. For example, when ADSL2+ reaches 4 ⁇ bps or more, the value of n can be further expanded to ensure fast switching between more channels. And browsing.
  • FIG. 4 it is a schematic structural diagram of a program source server of a video stream processing system according to an embodiment of the present invention, which includes a first substream generator 1 1 for generating a first independent decoding of each channel program according to a hierarchical coding manner.
  • the substream signal 12 is configured to generate, according to the hierarchical coding manner, a second substream signal of each channel program that needs to be decoded on the basis of the first substream to obtain a complete quality image.
  • the second substream can be one or more substreams.
  • the first sub-stream signal and the second sub-stream signal may be generated in a real-time encoding manner, or may be pre-encoded, that is, stored in the local after pre-encoding, and directly read the encoded data when being clicked to reduce the program.
  • the burden of source server processing In general, a channel program corresponds to a multicast group.
  • the second substream of each channel program corresponds to a different one. Multicast group.
  • the first substreams (CH 1, CH 2 CH n ) of the n channels may correspond to the same multicast group, or may be respectively for n different multicast groups.
  • the terminal device can be implemented in two ways.
  • FIG. 5 it is an internal implementation of a terminal device in a video stream processing system according to an embodiment of the present invention, which includes a plurality of first hierarchical decoders 30 for respectively decoding a first substream of each received channel.
  • a first switch (S1) 31, configured to input a second substream of the user's on-demand channel into the first hierarchical decoder of the corresponding channel, to be combined with the first substream of the user's on-demand channel to decode and play;
  • each of the first hierarchical decoders 30 is configured to switch to output a decoded signal of the user-on-demand channel obtained by decoding by the first hierarchical decoder.
  • a first picture-in-picture function module 34 may be further included, and each of the first level decoders 30 is connected to the picture-in-picture picture generated according to the decoded signals of the channels output by the hierarchical decoders.
  • the image signal; the third switch (S3) 33 is connected to the second switch 32 and the first picture-in-picture function module 34 for outputting an image signal or a picture-in-picture signal of the user's on-demand channel.
  • the n first hierarchical decoders 30 of the terminal device work simultaneously, and perform real-time decoding of n channel programs.
  • the terminal device will simultaneously receive its first sub-stream CH X and the second sub-stream CH x ⁇
  • the first switch (S1 ) 31 will switch CH X to X according to the selected channel number.
  • the first hierarchical decoder -X, the first hierarchical decoder -X decodes CH X and CH X, and obtains a complete image program, which is sent to the second switch (S2) 32.
  • S2 switches the switch to the Xth terminal according to the selected channel number, and continues to send the video signal to the third switch (S3) 33.
  • S 3 is a play mode switch that switches between the single channel playback mode and the picture in picture playback mode.
  • S3 When the single channel play mode is selected, S3 will send the channel signal sent by S2 to the display to display the image program of the on-demand channel X; when the picture-in-picture playback mode is selected, S3 will send the video of the picture-in-picture function module. The signal is sent to the display to display the multi-channel picture image.
  • the corresponding first hierarchical decoder 30 can only separately decode the first substream signal and output a basic image quality signal. When these channels are not selected, these signals will not be output. but If the user requests to switch to one of the channels y, S2 will immediately switch to the yth terminal, select the output of the first grading decoder -y, send it to S3, and finally send it to the display.
  • the S1 input waits to receive the CH y and the second sub-stream signal, and immediately receives the signal, immediately switches to the y-th terminal, and sends the CH y statement to the first hierarchical decoder -y, so that the first The hierarchical decoder -y outputs an enhanced image quality signal to display a full quality image program on the final display.
  • the first picture-in-picture function module 34 always receives the video signals of n channels, and can select the corresponding channel video signal according to the user's request, perform multi-picture video fusion, and then output to the display through S3 to realize picture-in-picture and Multi-screen display function.
  • the internal implementation of the terminal device in the video stream processing system of the embodiment of the present invention includes a pre-processing module 41, configured to select a user-on-demand channel from the first substream of the channel program. a sub-stream is sent and sent; a delay processing module 42 is configured to delay and transmit the second sub-stream of the received user-on-demand channel; and the second hierarchical decoder 43 is associated with the pre-processing module 41 and the delay processing module 42.
  • the connection, the first substream for the user-on-demand channel transmitted from the pre-processing module 41, and the second sub-stream of the user-on-demand channel transmitted from the delay processing module 42 are combined and decoded.
  • a second picture-in-picture function module 44 may be further included, which is connected to the pre-processing module 41 and the second level decoder 43 for decoding the first sub-stream signal and the user-on-demand channel according to each channel.
  • the signal generates a picture-in-picture signal;
  • the fourth switch (S4) 45 is connected to the second hierarchical decoder 43 and the second picture-in-picture function module 44 for switching the image signal or the picture-in-picture image of the output user-on-demand channel. signal.
  • the terminal device here shares a second hierarchical decoder 43 to implement video decoding of each channel.
  • the pre-processing module 41 selects the CH X signal of the on-demand channel X from the n first sub-stream signals, and sends it to the second hierarchical decoder 43.
  • the second signal CH x of the channel X is delayed and processed.
  • the second hierarchical encoder 43 and the second hierarchical encoder 43 decode the two video signals to obtain a full quality image signal, which is sent to the fourth switch (S4) 45 of the switch.
  • S4 is a play mode switch that switches between single channel playback mode and picture in picture playback mode. In the single channel play mode, S4 sends the video output of the second hierarchical decoder to the external display.
  • the second picture-in-picture function module is connected to the point The video signal of the channel X is broadcasted, and the first sub-stream signal of the other channel is connected, and the multi-channel video fusion is completed after being processed, and output to the external terminal device through the S4 to realize the picture-in-picture and multi-picture display functions.
  • the pre-processing module 41 needs to perform certain processing on the first sub-stream signal.
  • the working principle is shown in FIG. 7. It is a working principle diagram of a preprocessing module according to an embodiment of the present invention.
  • the GP of the first substream is composed of one I frame and several P frames.
  • the first substream is input to the preprocessing module from left to right.
  • the preprocessing module can be abstracted into a FIFO (Fir s t in Fi rs t Out, FIFO).
  • the length of the FIFO ensures that at least one I frame is stored in the FIFO queue.
  • the preprocessing module When the channel switching occurs and the first substream is used, if the preprocessing module directly sends the substream after the channel switching time to the subsequent second hierarchical decoder, it needs to transmit several P frames to obtain the first I. frame.
  • the first I frame is received after waiting for the P4 frame and the P5 frame. That is to say, a certain delay is required from the time of channel switching to display the image of the new channel on the display.
  • the pre-processing module needs to find the first I frame forwarded by the channel switching time, that is, 10 frames in FIG. 7, and transmit the subsequent substreams from the 10 frames, in order of 10 , Pl, P2, P3, P4, P5, I.
  • the delay processing module in FIG. 6 needs to delay the time t of the second substream of the new channel program accordingly, and the time t between the delay module and the preprocessing module is consistent.
  • Step 1 The program source server decomposes the video stream of the channel program into the first substream and the second substream, and sends the first substream to the legal user.
  • Step 2 When the user orders a TV program of one channel, the terminal device applies to receive the second substream of the user's on-demand channel; meanwhile, decodes and plays the first substream of the user's on-demand channel;
  • Step 3 The program source sends a second substream of the user's on-demand channel;
  • Step 4 The terminal device decodes and plays the received first sub-stream and the second sub-stream of the user-on-demand channel, as shown in FIG. 8 , which is a flowchart of a method for processing a video stream according to an embodiment of the present invention, and the specific steps are as follows:
  • Step 1 01 the program source server decomposes the video stream of the channel program into the first substream and the second substream, and sends the first substream to the legal user; decomposes the video stream of the channel program into the first substream and the first The second substream, the second substream may be one or more substreams;
  • the first substream contains the most important basic information of the video stream, and can be decoded separately at the receiving end, and a most basic image can be obtained after decoding; the second substream cannot be decoded separately, and must be decoded together with the first substream to obtain a higher quality image;
  • Step 1 02 When the user clicks on the TV program of one channel, the terminal device applies to receive the second substream of the user's on-demand channel; meanwhile, the first substream of the user's on-demand channel is decoded and played;
  • Step 103 The program source server sends a second substream of the user's on-demand channel.
  • Step 1 04 The terminal device decodes the received first substream and the second substream of the user on demand channel.
  • Step 1 04 is implemented in a plurality of manners, for example, the terminal device decodes and plays the received first substream and the second substream of the user's on-demand channel, and specifically: the second substream of the user-on-demand channel that the terminal device will receive. And the first substream of the user-on-demand channel is combined to decode and play; or the terminal device combines the second substream of the received user-on-demand channel and the first substream of the user-on-demand channel to decode and play, and the first sub-channel of the other channel Stream decoding playback.
  • the terminal device selects the first substream of the user's on-demand channel from the first substream of the channel program, and combines and decodes the second substream of the user-on-demand channel after the delay processing; or the terminal device From the first substream of the channel program, the first substream of the user's on-demand channel is selected, Simultaneously decoding and playing the second substream of the user-on-demand channel after the delay processing, decoding the first substream of the other channels; in this case, selecting the first substream of the user's on-demand channel
  • the pre-processing of the first sub-stream of the user-on-demand channel is performed, and the pre-processing may be specifically for the terminal device to find the first I-frame of the first sub-stream of the user-on-demand channel before the channel switching time, starting from the I frame.
  • the first substream of the user's on-demand channel is transmitted. Therefore, the first substream may be a base layer substream of the IPTV video stream, and the second substream may be an enhancement layer substream, and the enhancement layer substream may be one or more substreams.
  • the above method is also applicable in the presence of a program source and a terminal device. Therefore, the processing system of the video stream and the processing method of the video stream of the present invention have the following beneficial effects:
  • the program source adopts hierarchical video coding technology to decompose the TV video stream into the first substream and the second substream, which is beneficial to adopt different quality of service for the two different substreams (Qua l i ty of
  • QoS policy such as setting the QoS priority level of the first sub-flow higher than the QoS priority level of the second sub-flow.

Abstract

A system for processing video stream, includes: a program source server for decomposing the video stream of channel program into a first sub-stream and a second sub-stream, transmitting the first sub-stream to legal users, and transmitting the second sub-stream to the terminal device of the user which orders the channel program when the channel program is ordered; a terminal device for receiving the first sub-stream, applying to receiving the second sub-stream, and decoding and playing the received first sub-stream and second sub-stream. The embodiment of present invention also provides a method for processing video stream. The method includes: receiving the first sub-stream of each channel program transmitted by the program source server; requesting the program source server to transmit the second sub-stream of the channel program ordered by the user, while the first sub-stream of the channel program ordered by the user is decoded and played; decoding and playing the received the first sub-stream and the second sub-stream of the channel program ordered by the user. Thus the embodiment of present invention can realize immediate switch between direct broadcast programs, namely channel switch time of zero-delay.

Description

视频流的处理系统和处理方法  Video stream processing system and processing method
技术领域 Technical field
本发明涉及视频处理领域,尤其涉及一种视频流的处理系统和处理方法。 背景技术  The present invention relates to the field of video processing, and in particular, to a video stream processing system and processing method. Background technique
在网给电视( Internet Protocol Telev i s ion, IPTV ) 网给中, 频道切 换时间是一个十分重要的指标, 直接影响到用户满意度。 但是现有技术的频 道切换时间在秒级。 如图 1所示, 为现有技术中一个抽象的 IPTV网络直播业 务的视频流处理系统的结构示意图, 其中包括节目源 91、 组播复制点 92、 终 端设备 93 (例如机顶盒 +电视机、 或个人计算机等, 包括合法的用户和非法 的用户)。 节目源 91负责电视节目的存储和视频流的编码与发送; 组播复制 点 92根据不同的组播组及其成员,复制上行来的相应的电视视频流到不同的 终端设备 93; 终端设备 93向外部指定的设备申请授权, 身份认证通过后成 为合法用户, 即可申请加入某个组播组(一个电视频道节目通常为一个组播 组), 从而接收到某个电视频道的视频流, 终端设备 93对接收到的视频流解 码后播放; 切换频道时终端设备 93向外部指定设备发出申请, 离开原来的组 播组, 申请加入新的组播组, 申请通过后, 组播复制点停止对该终端设备 93 发送原频道的视频流, 改为发送新频道节目的视频流, 终端设备 93接收到新 频道视频流后即可收看到新频道节目的图像。  In the network to Internet Protocol (IPTV) network, channel switching time is a very important indicator, which directly affects user satisfaction. However, the prior art channel switching time is in the order of seconds. FIG. 1 is a schematic structural diagram of a video stream processing system of an abstract IPTV webcast service in the prior art, including a program source 91, a multicast copy point 92, and a terminal device 93 (eg, a set top box + a television set, or Personal computers, etc., including legitimate users and illegal users). The program source 91 is responsible for the storage of the television program and the encoding and transmission of the video stream; the multicast replication point 92 copies the corresponding television video stream from the uplink to different terminal devices 93 according to different multicast groups and their members; Apply for authorization to the externally designated device. After the identity authentication is passed, the device becomes a legitimate user. You can apply to join a multicast group (a TV channel program is usually a multicast group), and then receive the video stream of a TV channel. The device 93 decodes the received video stream and plays the same. When the channel is switched, the terminal device 93 sends an application to the external designated device to leave the original multicast group and apply to join the new multicast group. After the application is approved, the multicast replication point stops. The terminal device 93 sends the video stream of the original channel, and instead sends the video stream of the new channel program, and the terminal device 93 can receive the image of the new channel program after receiving the new channel video stream.
分级编码(Sca labl e Coding )是现代视频编码技术之一,它使得视频编 码过程的灵活性更好,让多媒体信息自适应地在网络间进行传输。主要解决网 络传输视频流的路径中传输带宽有限的问题, 在视频的分级编码技术中, 视 频信息流被分解成多个子流, 包括一个基本层子流和一个增强层子流, 其中 基本层子流包含了视频流最重要的基本信息, 在接收端可以单独解码, 解码 后可得到一个最基本的图象; 增强层子流不能单独解码, 必须与基本层子流 一起解码, 得到更高质量的图象。 目前支持分级编码技术的视频编码标准有Sca labl e Coding is one of the modern video coding technologies, which makes the video coding process more flexible and allows multimedia information to be transmitted adaptively between networks. The problem of limited transmission bandwidth in the path of the network transmission video stream is mainly solved. In the video coding scheme, the video information stream is decomposed into a plurality of substreams, including a basic layer substream and an enhancement layer substream, wherein the basic layer The stream contains the most important basic information of the video stream. It can be decoded separately at the receiving end, and a most basic image can be obtained after decoding. The enhancement layer substream cannot be decoded separately, and must be separated from the base layer. Decode together to get a higher quality image. Currently, video coding standards that support hierarchical coding techniques are available.
MPEG-2、 MPEG-4、 H.263+等。 该方法使得视频流具有可分级性, 在网络带宽 较小的时候, 传输基本层子流, 并根据实际的网络环境决定是否传输增强层 子流, 以使得图像质量得到加强, 由此实现自适应。 MPEG-2, MPEG-4, H.263+, etc. The method makes the video stream scalable, and when the network bandwidth is small, transmits the basic layer substream, and determines whether to transmit the enhancement layer substream according to the actual network environment, so that the image quality is enhanced, thereby achieving adaptation. .
^"细可分级视频编码 (fine granularity scalability, FGS)是 MPEG- 4 编码标准的一部分, 它比普通的分级编码技术具有更好的灵活性。 普通的可 分级编码分为三种: 时域可分级性( Temporal Scalability) , 空域可分级 性 ( Spatial Scalability) , 质量可分级性( SNR Scalability) 。 它们的 增强层的速率是一个或几个固定的速率, 而在 FGS编码中, 增强层的速率可 以根据带宽的实际情况精细调节。  ^ "fine granularity scalability (FGS) is part of the MPEG-4 coding standard, which has better flexibility than ordinary hierarchical coding techniques. There are three types of general scalable coding: Time domain can be Temporal Scalability, Spatial Scalability, SNR Scalability The rate of their enhancement layer is one or several fixed rates, and in FGS coding, the rate of the enhancement layer It can be finely adjusted according to the actual situation of the bandwidth.
频道切换的时间是指从按下遥控器控制按钮到屏幕显示下一个频道的第 一帧视频图像的时间。假如在 MPEG-2图像编码方式下, 视频流的传输速度是 每秒 25帧, 每一个图像组(Group Of Pictures, GOP ) 为 15帧, GOP由 I 帧、 B帧和 P帧组成, 其中只有一个 I帧和多个 B帧和 P帧。 因为只有 I帧 可以单独进行解码后显示图像, 而 B帧和 P帧则不能单独进行解码, 因此必 须依赖于同一个 G0P中的 I帧才能解码后得到一帧图像。 所以终端设备只有 接收到频道的第一个 I帧后才能开始显示该频道的视频图像。 如果频道切换 时刻正好发生在某个 I帧之后, 则需要等待整个 G0P的传输时间才能接收到 下一个 I帧, 即 15帧的传输时间, 大约 600ms之后才能显示出该频道的视频 图像。  The channel switching time is the time from when the remote control button is pressed to when the first frame of the video image of the next channel is displayed. In the MPEG-2 image coding mode, the video stream transmission speed is 25 frames per second, and each group of pictures (GOP) is 15 frames. The GOP consists of I frame, B frame and P frame, of which only One I frame and multiple B frames and P frames. Since only I frames can be decoded separately to display an image, and B frames and P frames cannot be decoded separately, it is necessary to rely on I frames in the same G0P to obtain an image after decoding. Therefore, the terminal device can only start displaying the video image of the channel after receiving the first I frame of the channel. If the channel switching time happens to occur after an I frame, it is necessary to wait for the entire GP transmission time to receive the next I frame, that is, the transmission time of 15 frames, and the video image of the channel can be displayed after about 600 ms.
如图 2所示,为现有技术的频道切换时间的组成示意图,图中描述了整个 频道切换过程中的各个阶段, 以及它们占用的时间。 从按下遥控器控制按钮 开始, 分别经历了机顶盒处理, 发送互联网组管理协议 ( Internet Group Management Protocol, IGMP ) 离开和 IGMP成员报告消息, 接入节点 IGMP消 息处理, 汇聚节点 IGMP消息处理, 视频数据包进入队列, 调制到数字用户线 路 ( Digital Subscriber Line, DSL) , 接收到新频道的第一个 I帧, 解码 并显示图像等环节。 从图中可以看到, 整个时间大约 700ms , 而其中大部分 时间是等待接收第一个 I帧所花的时间约 600ms。 As shown in FIG. 2, it is a schematic diagram of the composition of the channel switching time in the prior art, and the various stages in the entire channel switching process and the time they occupy are described. Starting from pressing the remote control button, they have experienced set-top box processing, sending Internet Group Management Protocol (IGMP) leaving and IGMP member reporting messages, access node IGMP message processing, aggregation node IGMP message processing, video data. The packet enters the queue, is modulated to the Digital Subscriber Line (DSL), receives the first I frame of the new channel, and decodes And display images and other links. As can be seen from the figure, the entire time is about 700ms, and most of the time is about 600ms waiting for receiving the first I frame.
为了减小整个频道切换时间, 现有的处理系统的处理方法是减小两个 相邻 I帧的时间间距, 也就是说减小 G0P的大小, 增加 I帧出现的数量, 例 如将 G0P减小到 9帧的情况下, 则相邻 I帧的间距就可以从 600ms减小到约 360ms。  In order to reduce the entire channel switching time, the existing processing system is to reduce the time interval of two adjacent I frames, that is, to reduce the size of the GOP, and increase the number of I frames, for example, reduce the GOP. In the case of 9 frames, the spacing of adjacent I frames can be reduced from 600 ms to about 360 ms.
但是, 现有技术虽然从一定程度上减小了频道切换时间, 但因为是通过 减小 G0P的大小来增加了 I帧的数量来实现的, 因此牺牲了图像编码的效率, 从而使得图像压缩比下降, 增加了传输视频信号占用的带宽。 并且, 现有技 术计算得到的频道切换时间还不包括接收到新频道视频信号后进行緩存的时 间, 因此这个时间至少要大于一个 G0P的时间即约 600ms , 因此现有技术不 能从根本上解决频道切换时间过长的问题。 发明内容  However, although the prior art reduces the channel switching time to some extent, it is realized by increasing the number of I frames by reducing the size of the GOP, thereby sacrificing the efficiency of image coding, thereby making the image compression ratio Decrease, increasing the bandwidth occupied by the transmitted video signal. Moreover, the channel switching time calculated by the prior art does not include the time for buffering after receiving the new channel video signal, so the time is at least greater than one G0P time, that is, about 600 ms, so the prior art cannot fundamentally solve the channel. The problem of switching time is too long. Summary of the invention
本发明实施例提供一种视频流的处理方法和处理系统, 以实现零延时切 换频道。  Embodiments of the present invention provide a video stream processing method and processing system to implement zero-delay switching channels.
本发明实施例一方面提供了一种视频流的处理系统, 包括:  An embodiment of the present invention provides a video stream processing system, including:
节目源服务器, 用于将频道节目的视频流分解为第一子流和第二子流, 将第一子流发送给合法用户的终端设备, 当频道节目被点播时, 向点播频道 节目的用户的终端设备发送第二子流;  a program source server, configured to decompose the video stream of the channel program into the first substream and the second substream, and send the first substream to the terminal device of the legitimate user, and when the channel program is clicked, the user of the channel program is clicked The terminal device sends the second substream;
所述终端设备, 用于接收节目源服务器发送的第一子流, 申请接收该用 户点播频道节目的第二子流, 和将接收到的用户点播频道节目的第一子流和 第二子流解码播放。  The terminal device is configured to receive a first substream sent by the program source server, apply for receiving a second substream of the user on demand channel program, and receive the first substream and the second substream of the user on demand channel program. Decode playback.
本发明实施例另一方面提供了一种视频流的处理方法, 包括以下步骤: 接收节目源服务器发送的各频道节目的第一子流;  Another aspect of the present invention provides a method for processing a video stream, including the following steps: receiving a first substream of each channel program sent by a program source server;
当收到用户点播频道节目的请求时, 请求节目源服务器发送该用户点播 频道节目的第二子流, 同时, 解码播放用户点播频道节目的第一子流; 当接收到节目源服务器发送的该用户点播频道节目的第二子流时, 将接 收到的用户点播频道节目的第一子流和第二子流解码播放。 When receiving a request for a user to order a channel program, requesting the program source server to send the user on demand a second substream of the channel program, at the same time, decoding the first substream of the user's on-demand channel program; when receiving the second substream of the user-on-demand channel program sent by the program source server, the received user-on-demand channel program The first substream and the second substream are decoded and played.
因此, 本发明视频流的处理系统和处理方法, 将视频流分解为第一子流 和第二子流, 而合法的终端设备始终在接收各个电视频道节目的第一子流, 所以可以在任何时间同时显示各个电视频道节目的基本图像, 实现多画面显 示功能和画中画, 并且当终端设备接收到新频道节目的第二子流后, 与对应 频道节目的第一子流合并, 解码后得到新频道完整的图像, 能实现直播节目 间的立即切换, 即零延时频道切换时间。 附图说明  Therefore, the processing system and processing method of the video stream of the present invention decomposes the video stream into the first substream and the second substream, and the legitimate terminal device always receives the first substream of each television channel program, so it can be in any The time simultaneously displays the basic image of each TV channel program, realizes the multi-picture display function and the picture-in-picture, and after the terminal device receives the second sub-stream of the new channel program, merges with the first sub-stream of the corresponding channel program, after decoding Obtaining a complete image of the new channel enables immediate switching between live programs, ie zero-delay channel switching time. DRAWINGS
图 1为现有技术中一个抽象的 IPTV网络直播业务的视频流处理系统的结 构示意图;  1 is a schematic structural diagram of a video stream processing system of an abstract IPTV webcast service in the prior art;
图 2为现有技术的频道切换时间的组成示意图;  2 is a schematic diagram showing the composition of a channel switching time in the prior art;
图 3为本发明实施例视频流的处理系统的结构示意图;  3 is a schematic structural diagram of a video stream processing system according to an embodiment of the present invention;
图 4为本发明实施例节目源服务器的结构示意图;  4 is a schematic structural diagram of a program source server according to an embodiment of the present invention;
图 5为本发明实施例视频流的处理系统中的终端设备内部实现之一; 图 6为本发明实施例视频流的处理系统中的终端设备内部实现之二; 图 7所示为本发明实施例预处理模块的工作原理图;  FIG. 5 is a schematic diagram of an internal implementation of a terminal device in a video stream processing system according to an embodiment of the present invention; FIG. 6 is a second internal implementation of a terminal device in a video stream processing system according to an embodiment of the present invention; FIG. Example working principle diagram of the preprocessing module;
图 8所示为本发明实施例视频流的处理方法的流程图。 具体实施方式  FIG. 8 is a flowchart of a method for processing a video stream according to an embodiment of the present invention. detailed description
下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 本发明实施例方案是在利用图像分级编码技术, 实现零延时的频道切换 和多画面的显示功能。  The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments. The solution of the embodiment of the present invention is to realize zero-delay channel switching and multi-screen display function by using image hierarchical coding technology.
如图 3所示, 为本发明实施例视频流的处理系统的结构示意图, 包括节 目源服务器 1 , 用于将频道节目的视频流分解为第一子流和第二子流, 并将 第一子流发送给合法用户, 当频道节目被点播时, 发送第二子流; 终端设备 3 , 通过网络与节目源服务器 1相连接, 用于申请接收该用户点播频道的第二 子流, 和接收第一子流和用户点播频道的第二子流解码播放。 成第一子流和第二子流, 向外发送, 第二子流可以为一条或多条子流。 第一 子流占用尽量小的带宽, 如 32kbps , 即需要终端设备单独接收到后可以解码 输出用户能接受的基本图像质量。在终端设备向外申请授权成为合法用户后, 即可接收到 n个电视频道的第一子流, n可以是全部的也可以是部分的电视 频道节目数量。 对于组播复制点, 如果下挂有合法注册用户, 并申请了直播 电视节目, 就可以将 n个电视频道的第一子流进行复制, 送给下挂的各个合 法的终端设备。 节目源服务器也会同时将 n个电视频道的第一子流发送给组 播复制点。 As shown in FIG. 3, it is a schematic structural diagram of a video stream processing system according to an embodiment of the present invention, including a section The source server 1 is configured to decompose the video stream of the channel program into the first substream and the second substream, and send the first substream to the legal user, and send the second substream when the channel program is clicked; The device 3 is connected to the program source server 1 through a network, and is configured to apply for receiving a second substream of the user's on-demand channel, and receive a second substream of the first substream and the user's on-demand channel for decoding and playing. The first substream and the second substream are sent out, and the second substream may be one or more substreams. The first substream occupies as small a bandwidth as possible, such as 32 kbps, which requires the terminal device to separately receive the basic image quality that the output user can accept. After the terminal device applies for authorization to become a legitimate user, the first substream of n television channels can be received, and n can be all or part of the number of TV channel programs. For multicast replication points, if a legitimate registered user is attached and a live TV program is applied, the first substream of the n TV channels can be copied and sent to each legal terminal device. The program source server also sends the first substream of the n TV channels to the multicast copy point.
当用户点播某个频道的电视节目时, 终端设备申请接收该频道节目的第 二子流, 即申请加入与该第二子流相关的一个组播组。 终端设备接收到该频 道节目的第二子流后, 将该频道节目的第一子流和第二子流合并, 解码后显 示该频道完整的图像。  When the user orders a television program of a certain channel, the terminal device applies for receiving the second substream of the channel program, that is, applying to join a multicast group related to the second substream. After receiving the second substream of the channel program, the terminal device combines the first substream and the second substream of the channel program, and decodes and displays the complete image of the channel.
当终端设备切换频道时, 只需离开原第二子流的组播组, 加入新频道节 目的第二子流组播组即可。 当终端设备接收到新频道节目的第二子流后, 与 对应频道节目的第一子流合并, 解码后得到新频道完整的图像。 终端设备从 离开原频道节目第二子流组播组开始, 到接收到新频道节目第二子流, 到在 终端显示图像, 仍需要秒级以上的切换时间。 但是, 在这个切换过程中, 终 端设备始终在接收各个电视频道节目的第一子流, 因此终端设备从频道切换 开始就可以将新频道节目的第一子流进行单独解码, 立即显示出新频道节目 的基本图像, 从而实现了零延时的快速频道切换。 因此第一子流可以是 IPTV 视频流的基本层子流, 而第二子流可以为增强层子流。 并且, 因为终端设备始终在接收各个电视频道节目的第一子流, 所以可 以在任何时间同时显示各个电视频道节目的基本图像, 在电视机终端上实现 多画面显示功能, 例如在电脑终端实现多窗口多画面显示, 在显示终端还可 以实现画中画和九画面等功能。 用户选择节目时也可以在多个画面中滚动浏 览, 选择自己喜爱的节目。 When the terminal device switches channels, it only needs to leave the multicast group of the original second substream and join the second substream multicast group of the new channel program. After receiving the second substream of the new channel program, the terminal device merges with the first substream of the corresponding channel program, and obtains a complete channel complete image after decoding. The terminal device needs to switch from the second sub-stream multicast group of the original channel program to the second sub-stream of the new channel program to display the image at the terminal. However, in this handover process, the terminal device is always receiving the first substream of each TV channel program, so the terminal device can separately decode the first substream of the new channel program from the channel switching, and immediately display the new channel. The basic image of the program, thus achieving zero-delay fast channel switching. Thus the first substream can be the base layer substream of the IPTV video stream and the second substream can be the enhancement layer substream. Moreover, since the terminal device is always receiving the first substream of each television channel program, the basic image of each television channel program can be simultaneously displayed at any time, and the multi-screen display function is implemented on the television terminal, for example, at the computer terminal. The multi-screen display of the window can also implement functions such as picture-in-picture and nine-picture on the display terminal. When the user selects a program, he can also scroll through multiple screens to select his favorite program.
当电视频道节目总数比较大时, 如 1 00 个, 如果每个第一子流速率为 32kbps , 则总的第一子流将占用约 3. 2Mbp s的较大带宽。 为了保证总的第一 子流占用更小的带宽, n的取值可根据不同终端用户总的下行带宽适当调整, 如取值范围缩小为 20 ~ 30个, 或者在用户能接受图像质量的情况下, 减小每 个频道节目的第一子流的速率, 如从 32kbps减小到 16kbps。 在这 n套频道 节目中包括用户收藏夹中喜爱的频道和热门频道, 从而可以保证在这些频道 之间的快速切换和浏览。 随着今后技术的发展, 终端用户总的下行带宽随着 不断增加,如 ADSL2+达到 4幌 bps甚至更多时, n的取值将可适当进一步扩大, 保证在更多的频道节目间实现快速切换和浏览。  When the total number of TV channel programs is relatively large, such as 100, if each first sub-flow rate is 32 kbps, the total first sub-stream will occupy a larger bandwidth of about 3.2 Mbps. In order to ensure that the total first substream occupies a smaller bandwidth, the value of n can be appropriately adjusted according to the total downlink bandwidth of different end users, for example, the value range is reduced to 20-30, or the user can accept image quality. Next, the rate of the first substream of each channel program is reduced, such as from 32 kbps to 16 kbps. The n channels of the program include favorite channels and popular channels in the user's favorites, so that fast switching and browsing between these channels can be guaranteed. With the development of technology in the future, the total downlink bandwidth of end users will continue to increase. For example, when ADSL2+ reaches 4幌bps or more, the value of n can be further expanded to ensure fast switching between more channels. And browsing.
如图 4所示, 为本发明实施例视频流的处理系统的节目源服务器的结构 示意图, 包括第一子流发生器 1 1 , 用于根据分级编码方式产生各个频道节目 的独立解码的第一子流信号; 第二子流发生器 12 , 用于根据分级编码方式产 生各个频道节目的需在第一个子流的基础上解码得到完整质量图像的第二子 流信号。  As shown in FIG. 4, it is a schematic structural diagram of a program source server of a video stream processing system according to an embodiment of the present invention, which includes a first substream generator 1 1 for generating a first independent decoding of each channel program according to a hierarchical coding manner. The substream signal 12 is configured to generate, according to the hierarchical coding manner, a second substream signal of each channel program that needs to be decoded on the basis of the first substream to obtain a complete quality image.
它们采用分级编码方式, 产生各个频道节目的第一子流信号 (CH 1、 CH They use hierarchical coding to generate the first substream signal for each channel program (CH 1, CH
2 CH n )和第二子流信号 (CH 1 \ CH 2、 CH n、) 。 第二子流可 以为一条或多条子流。 为了使子流所占的带宽更为灵活地调整, 可采用精细 可分级视频编码方式。 第一子流信号和第二子流信号的产生可采用实时编码 方式, 也可采用预先编码方式, 即预先编码之后存放在本地, 当被点播时直 接读取已编码好的数据, 以减轻节目源服务器处理的负担。 在一般情况下, 一个频道节目对应一个组播组。 在这里, 每个频道节目的第二子流对应不同 的组播组。 对于第一子流来说, n个频道的第一子流(CH 1、 CH 2 CH n ) 可以对应同一个组播组, 也可以分别对于 n个不同的组播组。 2 CH n ) and the second substream signal (CH 1 \ CH 2, CH n,). The second substream can be one or more substreams. In order to make the bandwidth occupied by the substream more flexible, a fine scalable video coding method can be adopted. The first sub-stream signal and the second sub-stream signal may be generated in a real-time encoding manner, or may be pre-encoded, that is, stored in the local after pre-encoding, and directly read the encoded data when being clicked to reduce the program. The burden of source server processing. In general, a channel program corresponds to a multicast group. Here, the second substream of each channel program corresponds to a different one. Multicast group. For the first substream, the first substreams (CH 1, CH 2 CH n ) of the n channels may correspond to the same multicast group, or may be respectively for n different multicast groups.
终端设备可采用两种方式来实现。  The terminal device can be implemented in two ways.
如图 5所示, 为本发明实施例视频流的处理系统中的终端设备内部实现 之一, 包括数个第一分级解码器 30 , 用于分别解码接收到的每一个频道的第 一子流; 第一开关 (S1 ) 31 , 用于将用户点播频道的第二子流输入对应频道 的第一分级解码器, 以便与该用户点播频道的第一子流合并解码播放; 第二 开关(S2 ) 32 , 与每一个第一分级解码器 30均连接, 用于切换输出由所述第 一分级解码器解码后得到的用户点播频道的解码信号。  As shown in FIG. 5, it is an internal implementation of a terminal device in a video stream processing system according to an embodiment of the present invention, which includes a plurality of first hierarchical decoders 30 for respectively decoding a first substream of each received channel. a first switch (S1) 31, configured to input a second substream of the user's on-demand channel into the first hierarchical decoder of the corresponding channel, to be combined with the first substream of the user's on-demand channel to decode and play; the second switch (S2) And each of the first hierarchical decoders 30 is configured to switch to output a decoded signal of the user-on-demand channel obtained by decoding by the first hierarchical decoder.
再如图 5所示, 还可以包括第一画中画功能模块 34 , 与每一个第一分级 解码器 30均连接,用于根据各分级解码器输出的各频道的解码信号生成的画 中画图像信号; 第三开关 (S3 ) 33 , 与第二开关 32 和第一画中画功能模块 34相连接, 用于输出用户点播频道的图像信号或画中画图像信号。  As shown in FIG. 5, a first picture-in-picture function module 34 may be further included, and each of the first level decoders 30 is connected to the picture-in-picture picture generated according to the decoded signals of the channels output by the hierarchical decoders. The image signal; the third switch (S3) 33 is connected to the second switch 32 and the first picture-in-picture function module 34 for outputting an image signal or a picture-in-picture signal of the user's on-demand channel.
本终端设备 n个第一分级解码器 30同时工作,对 n个频道节目进行实时 解码。 对于被点播的频道 X , 终端设备会同时接收到其第一子流 CH X和第二 子流 CH x \ 第一开关(S1 ) 31会根据被选的频道编号将 CH X、切换到第 X 个第一分级解码器 -X , 第一分级解码器 -X将 CH X和 CH X、解码得到完整的图 像节目, 送到第二开关(S2 ) 32。 S2根据被选的频道编号将开关切换到第 X 路端子, 将视频信号继续送往第三开关(S3 ) 33。 S 3是播放模式开关, 在单 一频道播放模式和画中画播放模式之间切换。 当选择单一频道播放模式时, S3会将 S2送来的频道信号送往显示器显示被点播频道 X的图像节目; 当选 择画中画播放模式时, S3会将画中画功能模块送来的视频信号送往显示器显 示多频道画面图像。  The n first hierarchical decoders 30 of the terminal device work simultaneously, and perform real-time decoding of n channel programs. For the channel X to be on-demand, the terminal device will simultaneously receive its first sub-stream CH X and the second sub-stream CH x \ The first switch (S1 ) 31 will switch CH X to X according to the selected channel number. The first hierarchical decoder -X, the first hierarchical decoder -X decodes CH X and CH X, and obtains a complete image program, which is sent to the second switch (S2) 32. S2 switches the switch to the Xth terminal according to the selected channel number, and continues to send the video signal to the third switch (S3) 33. S 3 is a play mode switch that switches between the single channel playback mode and the picture in picture playback mode. When the single channel play mode is selected, S3 will send the channel signal sent by S2 to the display to display the image program of the on-demand channel X; when the picture-in-picture playback mode is selected, S3 will send the video of the picture-in-picture function module. The signal is sent to the display to display the multi-channel picture image.
对于没有被点播的频道, 因为没有相应的第二子流信号送给终端设备, 相应的第一分级解码器 30只能对第一子流信号进行单独解码,输出一个基本 的图像质量信号。 当这些频道没有被选中时, 这些信号不会被最终输出。 但 如果被用户要求切换到其中的一个频道 y, S2会立即切换到第 y路端子, 选 中第一分级解码器 -y的输出, 将它送给 S3 , 从而最终送到显示器上。 与此同 时, S1输入端等待接收 CH y、第二子流信号, 当收到信号后, 立即切换到第 y路端子, 将 CH y 言号送给第一分级解码器 -y, 使得第一分级解码器 -y输 出增强的图像质量信号, 从而在最终的显示器上显示完整质量的图像节目。 For a channel that is not on-demand, since there is no corresponding second substream signal sent to the terminal device, the corresponding first hierarchical decoder 30 can only separately decode the first substream signal and output a basic image quality signal. When these channels are not selected, these signals will not be output. but If the user requests to switch to one of the channels y, S2 will immediately switch to the yth terminal, select the output of the first grading decoder -y, send it to S3, and finally send it to the display. At the same time, the S1 input waits to receive the CH y and the second sub-stream signal, and immediately receives the signal, immediately switches to the y-th terminal, and sends the CH y statement to the first hierarchical decoder -y, so that the first The hierarchical decoder -y outputs an enhanced image quality signal to display a full quality image program on the final display.
第一画中画功能模块 34始终接收 n个频道的视频信号,可根据用户的要 求选择出相应的频道视频信号, 进行多画面的视频融合, 然后通过 S3输出到 显示器上, 实现画中画和多画面显示功能。  The first picture-in-picture function module 34 always receives the video signals of n channels, and can select the corresponding channel video signal according to the user's request, perform multi-picture video fusion, and then output to the display through S3 to realize picture-in-picture and Multi-screen display function.
如图 6所示, 为本发明实施例视频流的处理系统中的终端设备内部实现 之二, 包括预处理模块 41 , 用于从频道节目的第一子流中, 选择出用户点播 频道的第一子流并发送; 延时处理模块 42 , 用于将接收到的用户点播频道的 第二子流延时并发送; 第二分级解码器 43 , 与预处理模块 41和延时处理模 块 42相连接, 用于将从预处理模块 41发送的用户点播频道的第一子流, 和 从延时处理模块 42发送的用户点播频道的第二子流合并解码输出。  As shown in FIG. 6, the internal implementation of the terminal device in the video stream processing system of the embodiment of the present invention includes a pre-processing module 41, configured to select a user-on-demand channel from the first substream of the channel program. a sub-stream is sent and sent; a delay processing module 42 is configured to delay and transmit the second sub-stream of the received user-on-demand channel; and the second hierarchical decoder 43 is associated with the pre-processing module 41 and the delay processing module 42. The connection, the first substream for the user-on-demand channel transmitted from the pre-processing module 41, and the second sub-stream of the user-on-demand channel transmitted from the delay processing module 42 are combined and decoded.
再如图 6所示, 还可以包括第二画中画功能模块 44 , 与预处理模块 41 和第二分级解码器 43相连接,用于根据各频道的第一子流信号和用户点播频 道解码信号生成画中画图像信号; 第四开关(S4 ) 45 , 与第二分级解码器 43 和第二画中画功能模块 44相连接,用于切换输出用户点播频道的图像信号或 画中画图像信号。  As shown in FIG. 6, a second picture-in-picture function module 44 may be further included, which is connected to the pre-processing module 41 and the second level decoder 43 for decoding the first sub-stream signal and the user-on-demand channel according to each channel. The signal generates a picture-in-picture signal; the fourth switch (S4) 45 is connected to the second hierarchical decoder 43 and the second picture-in-picture function module 44 for switching the image signal or the picture-in-picture image of the output user-on-demand channel. signal.
本终端设备这里共用一个第二分级解码器 43 来实现各个频道的视频解 码。 预处理模块 41从 n个第一子流信号中选择出被点播频道 X的 CH X信号, 送给第二分级解码器 43 , 同时频道 X的第二信号 CH x、经延迟处理后送给第 二分级编码器 43 , 第二分级编码器 43将两路视频信号进行解码, 得到完整 质量的图像信号, 送给开关第四开关(S4 ) 45。 S4为播放模式开关, 在单一 频道播放模式和画中画播放模式之间切换。 在单一频道播放模式下, S4将第 二分级解码器的视频输出送给外部显示器。 第二画中画功能模块一路接被点 播频道 X的视频信号, 另外一路接其他频道的第一子流信号, 进行处理后完 成多频道的视频融合, 经 S4输出给外部终端设备, 实现画中画和多画面显示 功能。 The terminal device here shares a second hierarchical decoder 43 to implement video decoding of each channel. The pre-processing module 41 selects the CH X signal of the on-demand channel X from the n first sub-stream signals, and sends it to the second hierarchical decoder 43. The second signal CH x of the channel X is delayed and processed. The second hierarchical encoder 43 and the second hierarchical encoder 43 decode the two video signals to obtain a full quality image signal, which is sent to the fourth switch (S4) 45 of the switch. S4 is a play mode switch that switches between single channel playback mode and picture in picture playback mode. In the single channel play mode, S4 sends the video output of the second hierarchical decoder to the external display. The second picture-in-picture function module is connected to the point The video signal of the channel X is broadcasted, and the first sub-stream signal of the other channel is connected, and the multi-channel video fusion is completed after being processed, and output to the external terminal device through the S4 to realize the picture-in-picture and multi-picture display functions.
为了保证频道的零延迟切换,预处理模块 41需要对第一子流信号做一定 的处理。 工作原理如图 7所示, 为本发明实施例预处理模块的工作原理图, 第一子流的 G0P由一个 I帧和若干个 P帧组成。 在该图中, 第一子流从左向 右输入预处理模块。 预处理模块可抽象为一个先入先出緩存器 (Fi r s t in Fi rs t Out, FIFO ) , FIFO的长度可以保证至少有一个 I帧保存在 FIFO队列 中。 当发生频道切换并使用该第一子流时, 预处理模块如果将频道切换时刻 后的子流直接送给后面的第二分级解码器, 则需要传输若干个 P帧后才能获 得第一个 I帧。 在图 7中, 要等待 P4帧和 P5帧过后, 才能接收到第一个 I 帧。 也就是说, 从频道切换时刻开始要经过一定的延时才能在显示器上显示 新频道的图像。 为了保证切换后立即显示新频道图像, 预处理模块需要寻找 频道切换时刻往前的第一个 I帧, 即图 7中的 10帧, 并从 10帧开始传输后 面的子流, 顺序依次是 10、 Pl、 P2、 P3、 P4、 P5、 I ……。 这样做的结果会 导致节目图像的显示整体上有一个较小的延时 t , 但由于时间 t非常短, 并 不影响节目观看。 同时, 图 6 中的延时处理模块需要相应地对新频道节目的 第二子流进行时间 t的延时,延时模块与预处理模块之间的时间 t是一致的, 具体可采用上面预处理模块 FIFO队列的方法,以保证第一子流和第二子流在 时间上的同步。  In order to ensure zero delay switching of the channel, the pre-processing module 41 needs to perform certain processing on the first sub-stream signal. The working principle is shown in FIG. 7. It is a working principle diagram of a preprocessing module according to an embodiment of the present invention. The GP of the first substream is composed of one I frame and several P frames. In this figure, the first substream is input to the preprocessing module from left to right. The preprocessing module can be abstracted into a FIFO (Fir s t in Fi rs t Out, FIFO). The length of the FIFO ensures that at least one I frame is stored in the FIFO queue. When the channel switching occurs and the first substream is used, if the preprocessing module directly sends the substream after the channel switching time to the subsequent second hierarchical decoder, it needs to transmit several P frames to obtain the first I. frame. In Figure 7, the first I frame is received after waiting for the P4 frame and the P5 frame. That is to say, a certain delay is required from the time of channel switching to display the image of the new channel on the display. In order to ensure that the new channel image is displayed immediately after the handover, the pre-processing module needs to find the first I frame forwarded by the channel switching time, that is, 10 frames in FIG. 7, and transmit the subsequent substreams from the 10 frames, in order of 10 , Pl, P2, P3, P4, P5, I. The result of this will result in a small delay t in the overall display of the program image, but since the time t is very short, it does not affect the viewing of the program. At the same time, the delay processing module in FIG. 6 needs to delay the time t of the second substream of the new channel program accordingly, and the time t between the delay module and the preprocessing module is consistent. A method of processing a module FIFO queue to ensure synchronization of the first substream and the second substream in time.
本发明实施例的视频流的处理方法, 包括:  A method for processing a video stream according to an embodiment of the present invention includes:
步骤 1 , 节目源服务器将频道节目的视频流分解为第一子流和第二子流, 并将第一子流发送给合法用户;  Step 1: The program source server decomposes the video stream of the channel program into the first substream and the second substream, and sends the first substream to the legal user.
步骤 2 , 当用户点播一个频道的电视节目时, 终端设备申请接收该用户 点播频道的第二子流; 同时, 将用户点播频道的第一子流解码播放;  Step 2: When the user orders a TV program of one channel, the terminal device applies to receive the second substream of the user's on-demand channel; meanwhile, decodes and plays the first substream of the user's on-demand channel;
步骤 3 , 节目源发送用户点播频道的第二子流; 步骤 4 , 终端设备将接收到的第一子流和用户点播频道的第二子流解码 播放 如图 8所示, 为本发明实施例视频流的处理方法的流程图, 具体步骤如 下: Step 3: The program source sends a second substream of the user's on-demand channel; Step 4: The terminal device decodes and plays the received first sub-stream and the second sub-stream of the user-on-demand channel, as shown in FIG. 8 , which is a flowchart of a method for processing a video stream according to an embodiment of the present invention, and the specific steps are as follows:
步骤 1 01 , 节目源服务器将频道节目的视频流分解为第一子流和第二子 流, 并将第一子流发送给合法用户; 将频道节目的视频流分解为第一子流和第二子流, 第二子流可以为一条或多 条子流;  Step 1 01, the program source server decomposes the video stream of the channel program into the first substream and the second substream, and sends the first substream to the legal user; decomposes the video stream of the channel program into the first substream and the first The second substream, the second substream may be one or more substreams;
第一子流包含了视频流最重要的基本信息, 在接收端可以单独解码, 解 码后可得到一个最基本的图象; 第二子流不能单独解码, 必须与第一子流一 起解码, 得到更高质量的图象;  The first substream contains the most important basic information of the video stream, and can be decoded separately at the receiving end, and a most basic image can be obtained after decoding; the second substream cannot be decoded separately, and must be decoded together with the first substream to obtain a higher quality image;
步骤 1 02 , 当用户点播一个频道的电视节目时, 终端设备申请接收该用 户点播频道的第二子流; 同时, 将用户点播频道的第一子流解码播放;  Step 1 02: When the user clicks on the TV program of one channel, the terminal device applies to receive the second substream of the user's on-demand channel; meanwhile, the first substream of the user's on-demand channel is decoded and played;
步骤 103 , 节目源服务器发送用户点播频道的第二子流;  Step 103: The program source server sends a second substream of the user's on-demand channel.
步骤 1 04 , 终端设备将接收到的第一子流和用户点播频道的第二子流解 码播放。  Step 1 04: The terminal device decodes the received first substream and the second substream of the user on demand channel.
步骤 1 04的实现方式有很多, 例如终端设备将接收到的第一子流和用户 点播频道的第二子流解码播放具体为: 所述终端设备将接收到的用户点播频 道的第二子流和用户点播频道的第一子流合并解码播放; 或者终端设备将接 收到的用户点播频道的第二子流和用户点播频道的第一子流合并解码播放的 同时, 将其他频道的第一子流解码播放。  Step 1 04 is implemented in a plurality of manners, for example, the terminal device decodes and plays the received first substream and the second substream of the user's on-demand channel, and specifically: the second substream of the user-on-demand channel that the terminal device will receive. And the first substream of the user-on-demand channel is combined to decode and play; or the terminal device combines the second substream of the received user-on-demand channel and the first substream of the user-on-demand channel to decode and play, and the first sub-channel of the other channel Stream decoding playback.
再有的方法就是终端设备从频道节目的第一子流中, 选择出用户点播频 道的第一子流, 与经延迟处理后的该户点播频道的第二子流合并解码播放; 或者终端设备从频道节目的第一子流中, 选择出用户点播频道的第一子流, 与经延迟处理后的该户点播频道的第二子流合并解码播放的同时, 将其他频 道的第一子流解码播放; 在这种条件下, 需要选择出该用户点播频道的第一 子流后对该用户点播频道的第一子流进行预处理, 而预处理可以具体为终端 设备找到频道切换时刻前的该用户点播频道的第一子流第一个 I 帧, 从该 I 帧后开始传输后面的该用户点播频道的第一子流。 因此第一子流可以是 IPTV 视频流的基本层子流, 而第二子流可以为增强层子流, 增强层子流可以为一 条或多条子流。 In another method, the terminal device selects the first substream of the user's on-demand channel from the first substream of the channel program, and combines and decodes the second substream of the user-on-demand channel after the delay processing; or the terminal device From the first substream of the channel program, the first substream of the user's on-demand channel is selected, Simultaneously decoding and playing the second substream of the user-on-demand channel after the delay processing, decoding the first substream of the other channels; in this case, selecting the first substream of the user's on-demand channel The pre-processing of the first sub-stream of the user-on-demand channel is performed, and the pre-processing may be specifically for the terminal device to find the first I-frame of the first sub-stream of the user-on-demand channel before the channel switching time, starting from the I frame. The first substream of the user's on-demand channel is transmitted. Therefore, the first substream may be a base layer substream of the IPTV video stream, and the second substream may be an enhancement layer substream, and the enhancement layer substream may be one or more substreams.
在点对点 (peer to peer , P2P ) 网络中, 在存在节目源和终端设备的情 况下, 以上方法也同样适用。 因此本发明视频流的处理系统和视频流的处理 方法具有以下有益效果:  In a peer-to-peer (P2P) network, the above method is also applicable in the presence of a program source and a terminal device. Therefore, the processing system of the video stream and the processing method of the video stream of the present invention have the following beneficial effects:
1、 能实现 IPTV直播节目间的立即切换, 实现零延时频道切换时间; 1. It can realize immediate switching between IPTV live programs and realize zero delay channel switching time;
2、在终端实现多画面显示功能和画中画功能,用户可以在同一时刻浏览 多套电视直播节目; 2. In the terminal to realize multi-screen display function and picture-in-picture function, users can browse multiple sets of live TV programs at the same time;
3、节目源采用分级视频编码技术,将电视视频流分解为第一子流和第二 子流, 这有利于针对这两种不同的子流采用不同的服务质量 (Qua l i ty of 3. The program source adopts hierarchical video coding technology to decompose the TV video stream into the first substream and the second substream, which is beneficial to adopt different quality of service for the two different substreams (Qua l i ty of
Service, QoS )策略, 如将第一子流的 QoS优先等级设置比第二子流的 QoS 优先等级高, 当 IPTV网络发生拥塞时, 仍可保证第一子流优先通过, 终端用 户仍可接收到一定质量的图像信号, 减小节目被中断的几率, 从而提高了整 个系统的抗干扰能力。 Service, QoS policy, such as setting the QoS priority level of the first sub-flow higher than the QoS priority level of the second sub-flow. When the IPTV network is congested, the first sub-flow can still be preferentially passed, and the terminal user can still receive A certain quality image signal reduces the probability of the program being interrupted, thereby improving the anti-interference ability of the entire system.
可以理解的是, 在实现本发明实施例的全部或部分步骤是可以通过程序 来指令相关的硬件来完成的, 所述的程序可以存储于一计算机可读取存储介 质中, 所述的存储介质, 如: R0M/RAM、 磁盘、 光盘等。 最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制, 尽管参照较佳实施例对本发明进行了详细说明, 本领域的普通技术人员应当 理解, 可以对本发明的技术方案进行修改或者等同替换, 而不脱离本发明技 术方案的精神和范围。  It can be understood that all or part of the steps of implementing the embodiments of the present invention may be completed by a program instructing related hardware, and the program may be stored in a computer readable storage medium, the storage medium. Such as: R0M / RAM, disk, CD, etc. It should be noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments. Modifications or equivalents are made without departing from the spirit and scope of the invention.

Claims

权 利 要 求 Rights request
1、 一种视频流的处理系统, 其特征在于包括:  A processing system for a video stream, comprising:
节目源服务器, 用于将频道节目的视频流分解为第一子流和第二子流, 将第一子流发送给合法用户的终端设备, 当频道节目被点播时, 向点播频道 节目的用户的终端设备发送第二子流;  a program source server, configured to decompose the video stream of the channel program into the first substream and the second substream, and send the first substream to the terminal device of the legitimate user, and when the channel program is clicked, the user of the channel program is clicked The terminal device sends the second substream;
所述终端设备, 用于接收节目源服务器发送的第一子流, 申请接收用户 点播频道节目的第二子流, 和, 将接收到的用户点播频道节目的第一子流和 第二子流解码播放。  The terminal device is configured to receive a first substream sent by the program source server, apply for receiving a second substream of the user's on-demand channel program, and receive the first substream and the second substream of the user-on-demand channel program. Decode playback.
2、 根据权利要求 1 所述的视频流的处理系统, 其特征在于所述节目源 服务器包括:  2. The video stream processing system according to claim 1, wherein said program source server comprises:
第一子流发生器, 用于根据分级编码方式产生各个频道节目的独立解码 的第一子流;  a first substream generator, configured to generate an independently decoded first substream of each channel program according to a hierarchical coding manner;
第二子流发生器, 用于根据分级编码方式, 产生各个频道节目的需在第 一个子流的基础上解码得到完整质量图像的第二子流。  And a second substream generator, configured to generate, according to the hierarchical coding mode, a second substream of each channel program that needs to be decoded on the basis of the first substream to obtain a complete quality image.
3、 根据权利要求 1 所述的视频流的处理系统, 其特征在于所述终端设 备包括:  3. The video stream processing system according to claim 1, wherein the terminal device comprises:
多个第一分级解码器, 用于分别解码接收到的每一个频道的第一子流; 第一开关, 用于将用户点播频道的第二子流输入对应频道的第一分级解 码器;  a plurality of first hierarchical decoders for respectively decoding the first substream of each channel received; a first switch, configured to input a second substream of the user's on-demand channel into the first hierarchical decoder of the corresponding channel;
第二开关, 用于切换输出由所述第一分级解码器解码后得到的用户点播 频道的解码信号。  And a second switch, configured to switch to output a decoded signal of the user-on-demand channel obtained by decoding by the first hierarchical decoder.
4、 根据权利要求 3所述的视频流的处理系统, 其特征在于所述终端设 备还包括:  The processing system of the video stream according to claim 3, wherein the terminal device further comprises:
第一画中画功能模块, 用于根据各分级解码器输出的各频道的解码信号 生成的画中画图像信号;  a first picture-in-picture function module, configured for a picture-in-picture image signal generated according to a decoded signal of each channel output by each hierarchical decoder;
第三开关, 用于输出用户点播频道的图像信号或画中画图像信号。 The third switch is configured to output an image signal or a picture-in-picture image signal of the user's on-demand channel.
5、 根据权利要求 1 所述的视频流的处理系统, 其特征在于所述终端设 备包括: 5. The video stream processing system according to claim 1, wherein the terminal device comprises:
预处理模块, 用于从频道节目的第一子流中, 选择出用户点播频道的第 一子流并发送;  a pre-processing module, configured to select a first sub-stream of the user-on-demand channel from the first substream of the channel program and send the same;
延时处理模块, 用于将接收到的用户点播频道的第二子流延时并发送; 第二分级解码器,用于将从预处理模块发送的用户点播频道的第一子流, 和从延时处理模块发送的用户点播频道的第二子流合并解码输出。  a delay processing module, configured to delay and send the second substream of the received user-on-demand channel; the second hierarchical decoder is configured to use the first substream of the user-on-demand channel sent from the pre-processing module, and the slave The second substream of the user-on-demand channel sent by the delay processing module combines the decoded output.
6、 根据权利要求 5所述的视频流的处理系统, 其特征在于所述终端设 备还包括:  The processing system of the video stream according to claim 5, wherein the terminal device further comprises:
第二画中画功能模块, 用于根据各频道的第一子流信号和用户点播频道 解码信号生成画中画图像信号;  a second picture-in-picture function module, configured to generate a picture-in-picture image signal according to the first sub-stream signal of each channel and the user-on-demand channel decoding signal;
第四开关, 用于切换输出用户点播频道的图像信号或画中画图像信号。 The fourth switch is configured to switch an image signal or a picture-in-picture image signal outputting the user's on-demand channel.
7、 根据权利要求 1 所述的视频流的处理系统, 其特征在于所述视频流 为网络电视视频流。 7. The video stream processing system of claim 1, wherein the video stream is a network television video stream.
8、 一种视频流的处理方法, 其特征在于包括以下步骤:  8. A method of processing a video stream, comprising the steps of:
接收节目源服务器发送的各频道节目的第一子流;  Receiving a first substream of each channel program sent by the program source server;
当收到用户点播频道节目的请求时, 请求节目源服务器发送该用户点播 频道节目的第二子流, 同时, 解码播放用户点播频道节目的第一子流;  When receiving the request of the user to order the channel program, requesting the program source server to send the second substream of the user's on-demand channel program, and simultaneously decoding the first substream of the user-on-demand channel program;
当接收到节目源服务器发送的该用户点播频道节目的第二子流时, 将接 收到的用户点播频道节目的第一子流和第二子流解码播放。  When receiving the second substream of the user-on-demand channel program sent by the program source server, the first sub-stream and the second sub-stream of the received user-on-demand channel program are decoded and played.
9、 根据权利要求 8所述的视频流的处理方法, 其特征在于还包括: 所 和第二子流。  9. The method of processing a video stream according to claim 8, further comprising: and a second substream.
1 0、 根据权利要求 8所述的视频流的处理方法,其特征在于所述将接收 到的用户点播频道节目的第一子流和第二子流解码播放具体为: 将接收到的 用户点播频道节目的第二子流和用户点播频道节目的第一子流合并解码播 放。 The processing method of the video stream according to claim 8, wherein the decoding and playing the first sub-stream and the second sub-stream of the received user-on-demand channel program are as follows: The second substream of the channel program and the first substream of the user's on-demand channel program are combined and decoded. Put it.
11、 根据权利要求 8所述的视频流的处理方法, 其特征在于: 所述将接 收到的用户点播频道节目的第二子流和用户点播频道节目的第一子流合并解 码播放的同时, 将其他频道节目的第一子流解码播放。  The method for processing a video stream according to claim 8, wherein: the second substream of the received user-on-demand channel program and the first substream of the user-on-demand channel program are combined and decoded, The first substream of the other channel program is decoded and played.
12、 根据权利要求 8所述的视频流的处理方法,其特征在于所述将接收 到的用户点播频道节目的第一子流和第二子流解码播放具体为: 从频道节目 的第一子流中, 选择出用户点播频道节目的第一子流, 与经延迟处理后的所 述用户点播频道节目的第二子流合并解码播放。  The method for processing a video stream according to claim 8, wherein the decoding and playing the first sub-stream and the second sub-stream of the received user-on-demand channel program are: In the stream, the first substream of the user-on-demand channel program is selected, and the second substream of the user-on-demand channel program after the delay processing is combined and decoded.
13、 根据权利要求 12所述的视频流的处理方法, 其特征在于从频道节 目的第一子流中, 选择出用户点播频道节目的第一子流, 与经延迟处理后的 所述用户点播频道节目的第二子流合并解码播放的同时, 将其他频道节目的 第一子流解码播放。  The method for processing a video stream according to claim 12, wherein the first substream of the user-on-demand channel program is selected from the first substream of the channel program, and the user-on-demand after the delay processing The second substream of the channel program is combined with the decoding and played, and the first substream of the other channel program is decoded and played.
14、 根据权利要求 12所述的视频流的处理方法, 其特征在于所述从频 道节目的第一子流中, 选择出所述用户点播频道节目的第一子流后对所述用 户点播频道节目的第一子流进行预处理。  The method for processing a video stream according to claim 12, wherein in the first substream of the channel program, the first substream of the user on demand channel program is selected, and the user is requested to order the channel. The first substream of the program is preprocessed.
15、 根据权利要求 14所述的视频流的处理方法, 其特征在于所述进行 预处理具体为: 找到频道切换时刻前的所述用户点播频道节目的第一子流第 一个 I帧,从所述 I帧后开始传输后面的所述用户点播频道节目的第一子流。  The processing method of the video stream according to claim 14, wherein the performing the pre-processing is specifically: finding the first I-frame of the first sub-stream of the user-on-demand channel program before the channel switching time, After the I frame, the first substream of the subsequent user-on-demand channel program is transmitted.
16、 根据权利要求 8所述的视频流的处理方法,其特征在于所述视频流 为网给电视视频流。  16. The method of processing a video stream according to claim 8, wherein the video stream is a network to a television video stream.
PCT/CN2008/071065 2007-06-06 2008-05-23 System and method for processing video stream WO2008148333A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2007101107398A CN101321275B (en) 2007-06-06 2007-06-06 System and method for processing video stream
CN200710110739.8 2007-06-06

Publications (1)

Publication Number Publication Date
WO2008148333A1 true WO2008148333A1 (en) 2008-12-11

Family

ID=40093184

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071065 WO2008148333A1 (en) 2007-06-06 2008-05-23 System and method for processing video stream

Country Status (2)

Country Link
CN (1) CN101321275B (en)
WO (1) WO2008148333A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881935A (en) * 2018-07-16 2018-11-23 安徽国通亿创科技股份有限公司 A kind of online interaction live streaming low delay optimization method
CN112188222A (en) * 2020-09-25 2021-01-05 吕庆新 Information acquisition processing device and application thereof, information transfer method, computer readable medium, and information acquisition processing method

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710966B (en) * 2009-11-05 2011-09-07 华数数字电视传媒集团有限公司 Multipicture comprehensive video navigation system
CN103308330B (en) * 2012-03-14 2017-08-01 富泰华工业(深圳)有限公司 The test device and method of testing of electronic product performance
US8752112B2 (en) * 2012-04-12 2014-06-10 Google Inc. Live streaming video processing
CN102780916B (en) * 2012-04-12 2015-03-18 天脉聚源(北京)传媒科技有限公司 Method for aggregating and distributing live video streams
US20150089073A1 (en) 2013-09-25 2015-03-26 Ericsson Television Inc System and method for effectuating fast channel change in an adpative streaming environment
US9537779B2 (en) 2013-10-11 2017-01-03 Huawei Technologies Co., Ltd. System and method for real-time traffic delivery
CN104202676A (en) * 2014-09-12 2014-12-10 北京赛科世纪数码科技有限公司 Channel switching method and system
CN104301714A (en) * 2014-10-09 2015-01-21 青岛海信电器股份有限公司 Method and device for detecting channel switching response time of television equipment
CN106303682B (en) 2016-08-09 2019-09-20 华为技术有限公司 Method, apparatus, terminal and the server of channel switching
CN112995649B (en) * 2019-12-13 2024-04-16 青岛海信宽带多媒体技术有限公司 Network terminal and network terminal evaluating method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015634A1 (en) * 2001-02-16 2006-01-19 Microsoft Corporation Progressive streaming media rendering
WO2006017099A1 (en) * 2004-07-09 2006-02-16 Qualcomm Incorporated System for layering content for scheduled delivery in a data network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015634A1 (en) * 2001-02-16 2006-01-19 Microsoft Corporation Progressive streaming media rendering
WO2006017099A1 (en) * 2004-07-09 2006-02-16 Qualcomm Incorporated System for layering content for scheduled delivery in a data network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881935A (en) * 2018-07-16 2018-11-23 安徽国通亿创科技股份有限公司 A kind of online interaction live streaming low delay optimization method
CN112188222A (en) * 2020-09-25 2021-01-05 吕庆新 Information acquisition processing device and application thereof, information transfer method, computer readable medium, and information acquisition processing method

Also Published As

Publication number Publication date
CN101321275A (en) 2008-12-10
CN101321275B (en) 2012-08-08

Similar Documents

Publication Publication Date Title
WO2008148333A1 (en) System and method for processing video stream
JP5363473B2 (en) Method and apparatus for improved media session management
US7430222B2 (en) Media stream splicer
JP5366107B2 (en) Method, apparatus and system for reducing media delay
US20100275229A1 (en) Systems, methods and computer readable media for instant multi-channel video content browsing in digital video distribution systems
US20070130601A1 (en) Internet protocol (IP) television
CN1893364A (en) Milestone synchronization in broadcast multimedia streams
WO2009039741A1 (en) A method and device for realizing the switching of iptv channels
WO2007128194A1 (en) Method, apparatus and system for playing audio/video data
US20120284421A1 (en) Picture in picture for mobile tv
WO2009143743A1 (en) A method, system for playing media and a play proxy device
US20110088069A1 (en) Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system
WO2008000114A1 (en) Method for interfusing conference television system with iptv system and apparatus thereof
WO2009026799A1 (en) A digital television time-shifting method, system and set-top box
JP4735666B2 (en) Content server, information processing apparatus, network device, content distribution method, information processing method, and content distribution system
WO2010115376A1 (en) Media stream switching method, apparatus and system
WO2009080114A1 (en) Method and apparatus for distributing media over a communications network
KR20190032671A (en) Channel switching system in real-time IPTV broadcasting
WO2009043271A1 (en) Method, device and system for processing service information
KR100994053B1 (en) System and Tuning Method for Internet Protocol TV Broadcasting Service, IPTV Set-Top Box
KR20130017404A (en) Apparatus and method for reducing zapping delay using hybrid multimedia service
Diepolder et al. Improved Channel Switching for Hybrid Unicast/Broadcast Mobile Television.

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

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

Country of ref document: EP

Kind code of ref document: A1