CN102149021A - Method, device and system for processing network time shift - Google Patents

Method, device and system for processing network time shift Download PDF

Info

Publication number
CN102149021A
CN102149021A CN2010101065999A CN201010106599A CN102149021A CN 102149021 A CN102149021 A CN 102149021A CN 2010101065999 A CN2010101065999 A CN 2010101065999A CN 201010106599 A CN201010106599 A CN 201010106599A CN 102149021 A CN102149021 A CN 102149021A
Authority
CN
China
Prior art keywords
user terminal
media stream
time
time shift
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010101065999A
Other languages
Chinese (zh)
Other versions
CN102149021B (en
Inventor
杨佩林
孙兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 201010106599 priority Critical patent/CN102149021B/en
Priority to PCT/CN2011/070771 priority patent/WO2011095118A1/en
Publication of CN102149021A publication Critical patent/CN102149021A/en
Application granted granted Critical
Publication of CN102149021B publication Critical patent/CN102149021B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26616Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for merging a unicast channel into a multicast channel, e.g. in a VOD application, when a client served by unicast channel catches up a multicast channel to save bandwidth
    • 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/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • 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/64Addressing
    • H04N21/6405Multicasting
    • 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/64Addressing
    • H04N21/6408Unicasting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a method, a device and a system for processing network time shift, which relate to the field of communication. By the method, the device and the system, a unicast transmission mode can be switched to a multicast transmission mode after the time shift is generated, so that the consumption of system bandwidth can be reduced and the system performance is improved. The method comprises the following steps that: a time shift server judges whether to switch media flow corresponding to a time shift playing request message from unicast transmission to multicast transmission or not according to the time and/or position information of the media flow which is required to be played when the time shift is generated at a user terminal, if the time shift server determines to switch the media flow corresponding to the time shift playing request message from the unicast transmission to the multicast transmission, a unicast transmission speed of transmitting the media flow to the user terminal is increased, and a time shift request response message is transmitted to the user terminal; the user terminal acquires the speed of playing the media flow according to the response message and plays the media flow at the speed; and when the unicast transmission process is consistent with the multicast transmission process of the media flow, the media flow is switched to the multicast transmission to be transmitted to the user terminal.

Description

Network time-shifted processing method, Apparatus and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of network time-shifted processing method, Apparatus and system.
Background technology
IPTV video traffics such as (Web TVs) is more and more universal, the benefit that these video traffics bring is exactly, allow functions such as the user can suspend, F.F., rewind down when receiving video service, provide interactive sensation, brought brand-new video tastes to the user to the user.These functions usually are called the time-shifting function (Time-Shifted) of video traffic.
The realization of time-shifting function at present has two kinds of methods basically, and a kind of terminal equipment that is based on is realized network time-shifted processing, and another is based on the network equipment and realizes network time-shifted processing.Wherein, realize network time-shifted processing based on terminal equipment, usually need video frequency terminal apparatus that jumbo memory space is arranged, this video terminal stores the video traffic that receives in its jumbo memory space into, the user is by obtaining video code flow, the broadcast of the normal video business behind the time-shifting functions such as realization time-out, F.F. or rewind down from this memory space.Equipment Network Based is realized network time-shifted processing, be based on that clean culture realizes, enter time shifts such as time-out, F.F. or rewind down as the user after, server need all be set up a unicast transmission channel to each time shift user terminal, utilize the unicast transmission mode that corresponding video code flow is transferred to corresponding user terminal, thereby realize the broadcast of the normal video business behind the time-shifting functions such as time-out, F.F. or rewind down.
State in realization in the network time-shifted processing procedure, the inventor finds that there are the following problems at least in the prior art: when employing realizes the processing of time shift based on terminal equipment, at first require terminal must support jumbo memory space, increased the cost of terminal; Secondly terminal can only its video that has received of time shift, that is to say, if terminal does not have store video content, just cannot realize time shift; When adopting equipment Network Based to realize the processing of time shift, based on the characteristic of unicast transmission, along with the increase of time shift number of users, the consumption of system bandwidth also increases thereupon gradually, and systematic function will reduce greatly.
Summary of the invention
Embodiments of the invention provide a kind of network time-shifted processing method, Apparatus and system, solved the defective of terminal time shift and unicast networks time shift, realized to switch to the multicast transmission mode from the unicast transmission mode after multicast service (as the BTV business) time shift, thereby reduce the consumption of system bandwidth, improve systematic function.Can also realize the time shift process of the Media Stream seamless switching of time-shift service (comprising clean culture time-shift service and multicast time-shift service).
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of network time-shifted processing method comprises:
Receive the time shifting broadcasting request message that user terminal sends, comprise the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
The time and/or the positional information of needs media stream when taking place according to described user terminal time shift determine whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission;
If determine described Media Stream is switched to multicast transmission from unicast transmission, then improve the unicast transmission speed that sends Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message;
Give described user terminal with described Media Stream by unicast transmission;
When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal by multicast transmission with described Media Stream.
A kind of method of network time-shifted processing comprises:
Receive the time shifting broadcasting response message that the time shift server sends, comprise the operation indication information in the described response message;
Obtain the playback rate of media stream according to described operation indication information;
Play described Media Stream according to described playback rate.
A kind of network time-shifted processing method comprises:
Receive the time shifting broadcasting request message that user terminal sends, comprise the sequence number of asking receiving media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
Determine the starting position of the Media Stream of described time shifting broadcasting request message correspondence according to described sequence number;
Described Media Stream is begun to give described user terminal by unicast transmission from described sequence number.
A kind of method of network time-shifted processing comprises:
Whether the time shift time of described user terminal was moving in the scope in short-term when user terminal was determined the time shift generation;
If shift time moves in the scope in short-term described when described, then send the time shifting broadcasting request message to moving server in short-term, realize network time-shifted processing by the described server that moves in short-term;
If shift time surpasses described moving in short-term in the scope when described, then send the time shifting broadcasting request to long time shift server, realize network time-shifted processing by described long time shift server.
A kind of time shift server comprises:
Receiving element is used to receive the time shifting broadcasting request message that user terminal sends, and comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
Determining unit is used for the time and/or the positional information of needs media stream when taking place according to described user terminal time shift, determines whether the Media Stream of described time shifting broadcasting request message correspondence is switched to multicast transmission from unicast transmission;
First adjustment unit is used for determining described Media Stream to improve the unicast transmission speed that sends Media Stream to described user terminal when unicast transmission switches to multicast transmission in described determining unit;
Transmitting element is used for the time shifting broadcasting request message according to described user terminal transmission, sends the time shifting request response message to described user terminal, comprises the operation indication information in the described response message;
Transmission unit is used for giving described user terminal with described Media Stream by unicast transmission;
Switch unit is used for multicast transmission process when described unicast transmission process and described Media Stream when consistent, gives described user terminal with described Media Stream by multicast transmission.
A kind of system of network time-shifted processing comprises:
User terminal is used for sending the time shifting broadcasting request message to the time shift server, comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
The time shift server is used to receive the time shifting broadcasting request message that user terminal sends, and comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message; The time and/or the positional information of needs media stream when taking place according to described user terminal time shift determine whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission; If determine described Media Stream is switched to multicast transmission from unicast transmission, then improve the unicast transmission speed that sends Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message; Give described user terminal with described Media Stream by unicast transmission; When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal by multicast transmission with described Media Stream;
Described user terminal also is used for, and receives the time shifting broadcasting response message that described time shift server sends, and comprises the operation indication information in the described response message; Obtain the playback rate of described user terminal media stream according to described operation indication information; Play described Media Stream according to described playback rate.
After adopting technical solution of the present invention, after user terminal is being watched video traffic generation time shift, described user terminal sends the time shifting broadcasting request to the time shift server, described time shift server determines whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission, if, then improve the unicast transmission speed that sends Media Stream to described user terminal, when the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal with described Media Stream by multicast transmission, realized that the transmission means of Media Stream can switch to the multicast transmission formula from unicast transmission after the multicast service time shift, thereby reduce the consumption of system bandwidth, improve systematic function; And described time shift server is also to described user terminal transmit operation indication information, so that described user terminal obtains the playback rate of playing described Media Stream according to described operation indication information, and play described Media Stream, thereby realized that the normal play of back Media Stream takes place in the user terminal time shift according to described playback rate.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of the network time-shifted processing of server side in the embodiment of the invention 1;
Fig. 2 is the method flow diagram of the network time-shifted processing of subscriber terminal side in the embodiment of the invention 1;
Fig. 3 is the operational flowchart that suspends the network time-shifted processing of time shift in the embodiment of the invention 2;
Fig. 4 is the operational flowchart of the network time-shifted processing of F.F. or rewind down time shift in the embodiment of the invention 3;
Fig. 5 is the operational flowchart that suspends the network time-shifted processing of time shift in the embodiment of the invention 4;
Fig. 6 is the operational flowchart of the network time-shifted processing of F.F. or rewind down time shift in the embodiment of the invention 4;
Fig. 7 is the composition frame chart of a kind of server in the embodiment of the invention 5;
Fig. 8 is the composition frame chart of another kind of server in the embodiment of the invention 5;
Fig. 9 is the composition frame chart of a kind of user terminal in the embodiment of the invention 5;
Figure 10 is the composition frame chart of another kind of user terminal in the embodiment of the invention 5;
Figure 11 is the block diagram of system of network time-shifted processing in the embodiment of the invention 5.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment 1
The embodiment of the invention provides a kind of network time-shifted processing method, and as shown in Figure 1, this method comprises:
101, receive the time shifting broadcasting request message that user terminal sends, comprise the time and/or the positional information that require media stream when the user terminal time shift takes place in the described time shifting broadcasting request message.
When taking place, described time shift requires the time and/or the positional information of media stream, being the time and/or the position of the Media Stream of request broadcast after the EOT end of timeout under pause conditions, is time and/or the position that F.F. or rewind down finish the Media Stream of back request broadcast under the skip forward/back situation; Require when described time shift takes place time of media stream and/or positional information can for but media time of the desired Media Stream normal play of described user terminal when being not limited to time shift and taking place (media time comprises relative time that Media Stream is play or absolute time etc.) and/or medium position, perhaps media frame positional information, the perhaps time of the Media Stream that receives of request or the position of the Media Stream that request receives, perhaps ask the sequence number of the Media Stream of reception, this sequence number can be RTP (Real-time Transport Protocol, real time transport protocol) sequence number, TCP (Transmission Control Protocol, transmission control protocol) sequence number, MPEG2-TS (MPEG2Transport Stream, the MPEG2 transport stream protocol) sequence number, HTTP (HyperText TransferProtocol, HTML (Hypertext Markup Language)) sequence number, perhaps other can determine information of Media Stream position or the like.
Further, when the positional information of described normal play is sequence number, then require to decode with independent by independent demultiplexing from the Media Stream that this sequence number begins, if can not decode with independent by independent demultiplexing from the Media Stream that this sequence number begins, also should satisfy when with described user terminal memory space in before after the Media Stream that receives combines, can demultiplexing and decoding.For example, for a video media stream (I1B2B3P4B5B6P7B8B9P10B11B12P13B12B15), if video terminal does not receive from the start of heading of the head of I1 frame, then from certain position start of heading of I1 frame until B15 frame message, video terminal then can not normal decoder.That is to say, if described user terminal is a media sequence information to the positional information of the normal play that described server reports, and be from certain position start of heading of I1 frame until any one sequence of message in the middle of the B15 frame message number, then video terminal must guarantee from the message of the head of I1 frame, the reference frame of having decoded is perhaps arranged in the screen buffer, thereby can decode smoothly.
Require the time and/or the positional information of media stream when 102, taking place, determine whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission according to described user terminal time shift; If determine described Media Stream is switched to multicast transmission from unicast transmission, then execution in step 103, otherwise send the Media Stream that it is asked by clean culture to user terminal.
Wherein, when server receives that described time shift needs time of media stream and/or positional information when taking place, determine according to this information whether needs switch back multicast transmission with Media Stream from unicast transmission after time shift, that is to say if the time shift scope of user terminal requests in the time shift scope of switching back multicast from clean culture of server configuration, then notify the user to switch back multicast, otherwise all use the mode of unicast media stream after the time shift from clean culture.Generally,, need switch back multicast, can save bandwidth like this from clean culture if the time shift of user terminal requests is shorter; If the time shift of user terminal requests is very long, in this case, pulling up to the multicast mode by mode of unicast just needs for a long time, then need not to switch back multicast from mode of unicast.
103, improve the unicast transmission speed that sends Media Stream to described user terminal, make the unicast transmission speed that sends Media Stream greater than the multicast transmission speed before time shift not taking place, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message.
If satisfying, the time shift scope of user terminal requests switches to multicast from clean culture, described operation indication information comprises the broadcast information of described user terminal media stream and/or the transmission information that server passes through the described Media Stream of unicast transmission, the playback rate that comprises the terminal plays Media Stream in the wherein said broadcast information comprises the transmission rate of the described Media Stream of unicast transmission in the described transmission information.The transmission rate of the described Media Stream of unicast transmission depends on the performance of time shift server, the time shift buffer size of network state and user terminal, residual buffer district size, and the information that needs to quicken broadcast.For example the residual buffer district is bigger, then can adopt at once and quicken to send Media Stream, and transmission speed can be bigger; If the residual buffer district is smaller, then earlier less raising sends the speed of Media Stream, in order to avoid the Media Stream that receives is lost because of exceeding the time shift buffering area; By the time after described user terminal quickens to play and consumes certain Media Stream, make described user terminal time shift buffering area bigger after, bigger again raising sends the speed of described Media Stream.
104, give described user terminal with described Media Stream by unicast transmission.
105, when the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal by multicast transmission with described Media Stream.
The embodiment of the invention also provides a kind of network time-shifted processing method, and as shown in Figure 2, this method comprises:
201, user terminal receives the time shifting broadcasting response message that the time shift server sends, and comprises the operation indication information in the described response message.
Wherein, described operation indication information comprises: the broadcast information of described terminal plays Media Stream and/or server are by the transmission information of the described Media Stream of unicast transmission, the playback rate that comprises the terminal plays Media Stream in the wherein said broadcast information comprises the transmission rate of the described Media Stream of unicast transmission in the described transmission information.
202, described user terminal obtains the playback rate of playing described Media Stream according to described operation indication information.
203, play described Media Stream according to described playback rate.
In the embodiment of the invention, after user terminal is being watched video traffic generation time shift, described user terminal sends time shifting broadcasting to the time shift server and moves request, described signal server determines whether that described time shifting request is play the right Media Stream of answering of message switches to multicast transmission from unicast transmission, if, then improve the unicast transmission speed that sends Media Stream to described user terminal, when the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal with described Media Stream by multicast transmission, realized to switch to the multicast transmission mode from the unicast transmission mode after the multicast service time shift, thereby reduce the consumption of system bandwidth, improve systematic function; And described time shift server is also to described user terminal transmit operation indication information, described user terminal obtains the playback rate of playing described Media Stream according to described operation indication information, and play described Media Stream, thereby realized that the normal play of back Media Stream takes place in the user terminal time shift according to described playback rate.
Embodiment 2
The embodiment of the invention provides a kind of network time-shifted processing method, and the embodiment of the invention when watching group broadcasting video frequency professional, is an example owing to suspending the time shift that causes with the user, specifically sets forth network time-shifted processing method, and as shown in Figure 3, this method comprises:
301, user terminal sends to server and suspends request message, comprises time and/or positional information when suspending in the described time-out request message.Described time-out request message can for but be not limited to PATS-R (PauseTime Shifted Request, time shift suspend request).
Wherein, if the user terminal time out is shorter, that is to say time-out just request broadcast at once soon, user terminal can select not send the time-out request message, direct skips steps 301 and step 302, enter step 303 and send time-out back time shifting broadcasting request message, the embodiment of the invention does not limit this.
Wherein, time during described suspend or positional information can for but media play time or media play position when described user terminal suspends when being not limited to time shift and taking place, the position of the time of perhaps described user terminal receiving media stream or receiving media stream, the sequence number of perhaps described user terminal receiving media stream.
302, whether successful described time shift server responds the time-out request message that described user terminal sends, and sends to described user terminal and suspends response message, comprise time shift response indication information in the described response message.Wherein, the reason of time shift response failure has usually: the time shift server is busy, can't respond described time-out request, does not have time shifting medium stream or the like in the perhaps described time shift server.
When 303, the described response message meta time shift that receives when described user terminal responds successfully, described user terminal sends the time shifting broadcasting request message to described time shift server, comprises user terminal suspends needs media stream when time shift takes place time and/or positional information and time shift buffer size and/or residual buffer district size in the described time shifting broadcasting request message; Wherein, described time shift buffer size can be expressed as the size of described user terminal memory space of temporary Media Stream in this time shift process, and the big I in described residual buffer district is expressed as described user terminal can also be kept in the memory space of described Media Stream in this time shift process size.Described time shifting broadcasting request message can for but be not limited to PLMS-R (Play Time ShiftedRequest, time shifting broadcasting request).
Wherein, described time shift needs the time and/or the positional information of normal play medium when taking place, can be time among the embodiment 1 and/or positional information.When described time shift takes place, needing the sequence number of the time of normal play medium and/or the Media Stream that positional information is the request reception; this sequence number is the sequence number of last Media Stream in the buffering area; because the cause of signaling delay; no matter be that clean culture suspends or leaves multicast group, buffering area all can continue to receive some media messages.
Similar to Example 1, when the positional information of described normal play is sequence number, then require to decode with independent by independent demultiplexing from the Media Stream that this sequence number begins, if can not decode with independent by independent demultiplexing from the Media Stream that this sequence number begins, also should satisfy when with described user terminal memory space in before after the Media Stream that receives combines, can demultiplexing and decoding.Can realize seamless linking between the Media Stream that adopts sequence number can guarantee that user terminal is preserved when suspending Media Stream and server to send, server can or not sent out time shifting medium stream by pilosity less yet.
304, described time shift server sends the time shifting broadcasting response message according to the time shifting broadcasting request message of user terminal transmission to described user terminal, comprises the operation indication information in the described response message.
Wherein, the whether successful indication information of time shifting broadcasting request that also comprises described user terminal in the described response message, the reason of described user terminal time shifting broadcasting request failure is not limited to following reason: the time of described user terminal time shift surpasses the time shift scope of described time shift server, the busy time shifting broadcasting request that can not respond described user terminal of perhaps described time shift server does not have time shifting medium stream or the like in the perhaps described time shift server.
Wherein, the operation indication information comprises the broadcast information of described terminal plays Media Stream and/or the transmission information that server passes through the described Media Stream of unicast transmission, the playback rate that comprises the terminal plays Media Stream in the wherein said broadcast information, described playback rate comprises that (the time shift situation as the VOD business can not switch to multicast from clean culture to normal play information; Long-time pause conditions can not switch to multicast from clean culture) or quicken broadcast information (as BTV professional and need switch back multicast) from clean culture, for quickening to play the frame number that further comprises the needs acceleration or the time of needs acceleration; Described transport packet is drawn together current transmission rate, quicken transmission rate or quicken transmitting time etc., positional information when described acceleration transmission rate is taken place according to described user terminal time shift by described server, the positional information of normal play, the size of time shift buffering area and the size in residual buffer district are determined, quicken sending is in order to catch up with multicast, so as by the clean culture process switching to the multicast process; Described transmission information also comprises the information of frame losing, the time that the time of adding multicast group and/or clean culture continue etc.
Wherein, quicken broadcast information and comprise that Media Stream quickens the mode of playing, the mode that wherein said Media Stream quickens to play comprises: the mode of video fast forward or the mode of hiding frame of video; Wherein said user terminal quickens media stream in the mode of video fast forward, and is specific as follows:
The mode of video fast forward is play and is meant the broadcast faster than normal playback speed, and promptly frames per second speed is accelerated.For example, if normally be that 1 times of speed is play, adopt 1.x times of speed to play during fast-forward play.For example, if the frames per second speed of video is FPS=30, always having 3300 frame of video (3300/30=110 second) needs to play, the frame rate of fast-forward play is greater than 30, for example the frame rate of Bo Fanging be 33 (at this moment fast-forward play be normal play 33/30=1.1 doubly), then actual play time is 3300/33=100 second, has accelerated 110-100=10 second than normal).
Wherein said user terminal quickens media stream in the mode of hiding frame of video, specific as follows: the mode of hiding frame of video is play and is meant and skips the frame of video that the next one of closelying follow will be play after some frame of video of continuous broadcast, play-over next frame of video, frames per second speed is constant.For example, if video frames per second speed is FPS=30, always have 3000 frame of video (3000/30=100 time second), if per 30 frames are hidden 3 frames, the frame rate of actual play still is 30, but only play the 3000-3*3000/30=2700 frame, total reproduction time is 90 seconds, has accelerated 100-90=10 second than normal).
If adopting the mode of hiding frame of video plays, if comprise non-reference frame (as the B frame) in the video flowing, because terminal need be hidden some frame of video, then server can select not send the frame of video that need hide, so just can be less the flow that sends of network, reduce sending the bandwidth that Media Stream needs.
Further, the transmission rate of Media Stream depends on the time shift buffer size, residual buffer district size, and the speed of quickening broadcast, if the residual buffer district is bigger, then adopts at once and quicken to send, if the residual buffer district is smaller, then less raising sends the speed of Media Stream, in order to avoid the Media Stream that receives is lost because of exceeding the time shift buffering area; By the time after described user terminal quickens to play and consumes certain Media Stream, make described user terminal time shift buffering area bigger after, bigger again raising sends the speed of described Media Stream.
305, when described time shift server success response time shifting broadcasting request, give described user terminal by unicast transmission with the Media Stream of described time shifting broadcasting request message correspondence; And execution in step 306.
306, described user terminal receives the time shifting broadcasting response message that described time shift server sends, comprise the operation indication information in the described response message, and obtain the playback rate of playing described Media Stream, and play described Media Stream according to the playback rate of described Media Stream according to described operation indication information; When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, execution in step 307.
When only comprising the transmission rate of the described Media Stream of unicast transmission in the described operation indication information, the described playback rate that obtains described user terminal media stream according to described operation indication information comprises: according to size and the size in residual buffer district and the transmission rate of the described Media Stream of described unicast transmission of described user terminal buffering area, determine to play the playback rate of described Media Stream.
307, described user terminal adds after the multicast group, and described time shift server switches to multicast transmission with the Media Stream of described time shifting broadcasting request message correspondence from unicast transmission, and gives described user terminal with described Media Stream by multicast transmission.
Further, before user terminal added multicast group, server can be notified the user to add multicast group and go to obtain multicast data flow; Can be obtained to add the time of multicast group by user terminal voluntarily yet, go to add multicast group and obtain multicast data flow, the embodiment of the invention does not limit this.
Above message can realize by RTCP message or RTSP message or the RTP message of existing or expansion, also can realize that the embodiment of the invention does not limit this by other message.
In the embodiment of the invention, after user terminal is watching video traffic to take place to suspend time shift, described user terminal sends the time shifting broadcasting request to the time shift server, described time shift server determines whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission, if, then improve the unicast transmission speed that sends Media Stream to described user terminal, making can be consistent with the multicast transmission process of described Media Stream by unicast transmission process behind the unicast transmission certain hour, when the multicast transmission process of described unicast transmission process and described Media Stream is consistent, the Media Stream of described time shifting request message correspondence is switched to multicast transmission to described user terminal, thereby reduce the consumption of system bandwidth, improve systematic function; And described time shift server is also to described user terminal transmit operation indication information, so that described user terminal obtains the playback rate of playing described Media Stream according to described operation indication information, and play described Media Stream, thereby realized that the normal play of back Media Stream takes place in the user terminal time shift according to described playback rate.
Embodiment 3
The embodiment of the invention provides a kind of network time-shifted processing method, the embodiment of the invention with the user when watching the professional TV of group broadcasting video frequency, because F.F. or fast reverse operation, cause that from the time shift that multicasts to clean culture be example, the network time-shifted processing method of concrete elaboration, as shown in Figure 4, this method comprises:
401, user terminal sends F.F. (fast forward) or rewind down (rewind) playing request to the time shift server.
402, described time shift server receives F.F. or the fast reverse play request that described user terminal sends, and gives described user terminal by clean culture with the media flow transmission of described F.F. or fast reverse play request correspondence.
403, after described Media Stream F.F. or falling back on the position of user's needs soon, described user terminal sends the time shifting broadcasting request message to described time shift server, comprise the time and/or the positional information that need the normal play Media Stream when described user terminal F.F. or rewind down time shift take place in the described time shifting broadcasting request message, and time shift buffer size and/or residual buffer district size.
Wherein, described skip forward/back time shift needs the normal play Media Stream when taking place time or positional information can adopt time or positional information among the embodiment 1.。
It is further, described that to need the time of normal play or positional information should be the original position of a video GoP (Group ofPicture, picture group).For example, for a video media stream GoP (I1B2B3P4B5B6P7B8B9P10B11B12P13B14B15), should be the original position of I1 frame.If video terminal does not receive from the start of heading of the head of I1 frame, then from certain position start of heading of I1 frame until B15 frame message, video terminal then can not normal decoder.When the positional information of described normal play is sequence number, then require to decode with independent by independent demultiplexing from the Media Stream that this sequence number begins, if can not decode with independent by independent demultiplexing from the Media Stream that this sequence number begins, also should satisfy when with described user terminal memory space in before after the Media Stream that receives combines, can demultiplexing and decoding.That is to say, if described user terminal is a media sequence information to the positional information of the normal play that described server reports, and be from certain position start of heading of I1 frame until any one sequence of message in the middle of the B15 frame message number, then video terminal must guarantee from the message of the head of I1 frame, the reference frame of having decoded is perhaps arranged in the screen buffer, thereby can decode smoothly.
404, described time shift server is according to the time shifting broadcasting request message of described user terminal transmission, and described user terminal sends the time shifting broadcasting response message, comprises the operation indication information in the described response message.
The reason of described user terminal time shifting broadcasting request failure is not limited to following reason: the time of described user terminal time shift surpasses the time shift scope of described time shift server, the busy time shifting broadcasting request that can not respond described user terminal of perhaps described time shift server does not have time shifting medium stream or the like in the perhaps described time shift server.
405, when the described time shifting broadcasting request of described time shift server success response, give described user terminal by unicast transmission with the Media Stream of described time shifting broadcasting request message correspondence; And execution in step 406.
406, described terminal use obtains the playback rate of media stream according to the described operation indication information that receives, and plays described Media Stream according to the described playback rate that obtains; When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, execution in step 407.
Wherein, the operation indication information comprises the broadcast information of described terminal plays Media Stream and/or the transmission information that server passes through the described Media Stream of unicast transmission.The playback rate that comprises the terminal plays Media Stream in the described broadcast information, playback rate comprise normal play information or quicken broadcast information, further comprise the frame number of needs acceleration or the time that needs quicken for quickening broadcast; Quicken broadcast information and comprise in the mode of video fast forward and playing or the mode of hiding frame of video is play, content that specifically can reference example 2 appropriate sections.
407, described user terminal adds after the multicast group, and described time shift server switches to multicast transmission with the Media Stream of described time shifting broadcasting request message correspondence from unicast transmission, and gives described user terminal with described Media Stream by multicast transmission.
Further, before user terminal added multicast group, server can be notified the user to add multicast group and go to obtain multicast data flow; Can be obtained to add the time of multicast group by user terminal voluntarily yet, go to add multicast group and obtain multicast data flow, the embodiment of the invention does not limit this.
Above message can realize by RTCP message or RTSP message or the RTP message of existing or expansion, also can realize that the embodiment of the invention does not limit this by other message.
In the embodiment of the invention, after user terminal is being watched video traffic generation F.F. or rewind down time shift, described user terminal sends the time shifting broadcasting request to the time shift server, described time shift server determines whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission, if, then improve the unicast transmission speed that sends Media Stream to described user terminal, making can be consistent with the multicast transmission process of described Media Stream by unicast transmission process behind the unicast transmission certain hour, when the multicast transmission process of described unicast transmission process and described Media Stream is consistent, the Media Stream of described time shifting request message correspondence is switched to multicast transmission to described user terminal, thereby reduce the consumption of system bandwidth, improve systematic function; And described time shift server is also to described user terminal transmit operation indication information, so that described user terminal obtains the playback rate of playing described Media Stream according to described operation indication information, and play described Media Stream, thereby realized that the normal play of back Media Stream takes place in the user terminal time shift according to described playback rate.
Embodiment 4
The embodiment of the invention provides a kind of network time-shifted processing method, wherein, moves server in short-term and realizes that the time shift scope is short, handles the time shift process of short time, will realize switching to the multicast transmission mode from the unicast transmission mode.Long time shift server realizes that the time shift scope is long, handles the time shift time of long distance, adopts mode of unicast usually, does not switch to the multicast transmission mode but do not get rid of realization from the unicast transmission mode.The embodiment of the invention is specifically moved scope with the interval of time of time of time shifting broadcasting and current multicast data flow if surpass in short-term, then send the time shifting broadcasting request message to long time shift server, if do not surpass, be example then, specifically set forth network time-shifted processing method to moving server transmission time shifting broadcasting request message in short-term.
The time shift of general time-out more in short-term, the described server that moves in short-term can be realized the switching of Media Stream from the unicast transmission to the multicast transmission, therefore when taking place to suspend time shift, general earlier to the described server transmission time-out time shifting request of moving in short-term, so that obtain the described service available time shift scope of server of moving in short-term.But the embodiment of the invention also is not limited to this, and when suspending the time shift generation, described user terminal also can send to long time shift server and suspend time shifting request, and the embodiment of the invention does not specifically limit this.When the embodiment of the invention specifically sends the time-out time shift with user terminal, be example to moving server transmission time-out time shifting request in short-term, and specifically set forth network time-shifted processing method that this method comprises in conjunction with Fig. 5:
501, user terminal sends and suspends time shifting request to moving server in short-term, time and/or positional information when described time-out time shifting request is carried described user terminal and suspended time shift and send.
502, the described server that moves in short-term is according to described time-out time shifting request, send to described user terminal and to suspend the time shift response message, comprise whether successful Indication message and the described time shift time range of moving server in short-term of time-out time shifting request of notifying described user terminal in the described response message.
Wherein, the reason of time-out time shift response failure has usually: the time shift server is busy, can't respond described time-out time shifting request, does not have time shifting medium stream or the like in the perhaps described time shift server.
503, described user terminal receives the described time-out time shift response message that server sends that moves in short-term, when described indication information indicates described time-out time shifting request successful, then described user terminal judges further whether time out is moving in the scope in short-term, if time out is moving in the scope in short-term, then execution in step 503a; If surpassing, time out moves scope, then execution in step 503b in short-term.
503a, send the time shifting broadcasting request to short described time shift server by described user terminal, and execution in step 504a.
503b, send the time shifting broadcasting request to long time shift server by described user terminal, and execution in step 504b.
504a, the described server that moves in short-term respond described time shifting broadcasting request, raising sends the unicast transmission speed of Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message, and execution in step 505.
Wherein, described raising sends the information that the unicast transmission speed of Media Stream can provide according to user terminal, the performance and the network state decision of server to described user terminal.Wherein, the information that described user terminal provides comprises the time and/or the positional information of normal play when described user terminal time shift takes place, time shift buffer size, residual buffer district size etc.
504b, described long time shift server respond described time shifting broadcasting request, with normal speed by the media flow transmission described user terminal of clean culture with described time shifting broadcasting request message correspondence, and indicate described user terminal with normal speed media stream, up to end.
505, the described server that moves in short-term transmits the Media Stream of described time shifting broadcasting request message correspondence and execution in step 506 to described user terminal clean culture.
506, described user terminal obtains the playback rate of playing described Media Stream according to receiving described operation indication information, and plays described Media Stream according to described playback rate.Specific descriptions can will repeat no more with reference to the step 306 among the figure 3 herein.When described unicast transmission process is consistent with the multicast transmission process, execution in step 507.
507, described user terminal adds multicast group, and the Media Stream of described time shifting broadcasting request message correspondence is switched to multicast transmission from unicast transmission, gives described user terminal by multicast with described media flow transmission.
When the embodiment of the invention specifically sends F.F. or rewind down time shift with user terminal, be example, and in conjunction with the concrete method of setting forth network time-shifted processing of Fig. 6, this method comprises to long time shift server transmission F.F. or rewind down time shifting request:
601, user terminal sends F.F. or rewind down time shifting request to long time shift server.
602, described long time shift server is given described user terminal by clean culture with the media flow transmission of described F.F. or fast rewinding request correspondence.
603, after described Media Stream F.F. or falling back on the position of user's needs soon, whether shift time was moving in the scope in short-term when described user terminal was judged described skip forward/back, if the time shift time of described F.F. or rewind down moves in the scope in short-term described, then execution in step 603a; If the time shift time of described F.F. or rewind down surpasses described scope, the then execution in step of moving in short-term.
603a, described user terminal send the request that stops F.F. or fast reverse play Media Stream to described long time shift server, and send the time shifting broadcasting request message to moving server in short-term, and execution in step 604a.
603b, described user terminal send the time shifting broadcasting request message to described long time shift server, and execution in step 604b.
Wherein, the described scope of moving is in short-term moved the time shift scope that server provides service in short-term for described, at described user terminal when described long time shift server sends F.F. or rewind down time shifting request, described long time shift server sends a notification message to the described server that moves in short-term, notifies the described server that moves in short-term to send the scope of moving in short-term to described user terminal; Described move server in short-term and receive the described notice of described long time shift server after, send the described scope of moving in short-term to described user terminal, described user terminal obtains the described scope of moving in short-term.
604a, the described server that moves in short-term improve the unicast transmission speed that sends Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message, and execution in step 605.
Wherein, described raising sends the information that the unicast transmission speed of Media Stream can provide according to user terminal, the performance and the network state decision of server to described user terminal.Wherein, the information that described user terminal provides comprises the time and/or the positional information of normal play when described user terminal time shift takes place, time shift buffer size, residual buffer district size etc.
604b, described long time shift server respond described time shifting broadcasting request, with normal speed by the media flow transmission described user terminal of clean culture with described time shifting broadcasting request message correspondence, and indicate described user terminal with normal speed media stream, up to end.
605, the described server that moves in short-term transmits the Media Stream of described time shifting broadcasting request message correspondence and execution in step 606 to described user terminal clean culture.
606, described terminal use obtains the playback rate of playing described Media Stream according to receiving described operation indication information, and plays described Media Stream according to described playback rate.Specific descriptions can will repeat no more with reference to the step 306 among the figure 3 herein.When described unicast transmission process is consistent with the multicast transmission process, execution in step 607.
607, described user terminal adds multicast group, and the Media Stream of described time shifting broadcasting request message correspondence is switched to multicast transmission from unicast transmission, gives described user terminal by multicast with described media flow transmission.
In the embodiment of the invention, after user terminal is being watched video traffic generation time-out or F.F. or rewind down time shift, described user terminal was determined to send the time shifting broadcasting request message to long time shift server according to the time of time shift, still send the time shifting broadcasting request message to moving server in short-term, when determining to described when moving server in short-term and sending the time shifting broadcasting request message, the described server that moves in short-term realizes that by the speed to described user terminal transmission Media Stream is provided the Media Stream of described time shifting broadcasting request message correspondence switches to the multicast transmission mode from the unicast transmission mode, thereby reduce the consumption of system bandwidth, improve systematic function; And the described server that moves in short-term is also to described user terminal transmit operation indication information, so that described user terminal obtains the playback rate of playing time shifting medium stream according to described operation indication information, and play described Media Stream, thereby realized that the normal play of back Media Stream takes place in the user terminal time shift according to described playback rate.
Embodiment 5
The embodiment of the invention provides a kind of time shift server, and as shown in Figure 7, this time shift server comprises: receiving element 71, determining unit 72, first adjustment unit 73, transmitting element 74, transmission unit 75 and switch unit 76.
Receiving element 71 is used to receive the time shifting broadcasting request message that user terminal sends, and comprises the time and/or the positional information of user terminal normal play in the described time shifting broadcasting request message.
Determining unit 72 is used for the time and/or the positional information of normal play when taking place according to described user terminal time shift, determines whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission;
First adjustment unit 73, be used for determining described Media Stream when unicast transmission switches to multicast transmission in described determining unit 72, raising sends the unicast transmission speed of Media Stream to described user terminal, so that after the transmission of after a while medium code stream, make described unicast transmission process consistent, thereby realize that described Media Stream switches to the switching of multicast transmission from unicast transmission with the multicast transmission process of described Media Stream.
Transmitting element 74 is used for the time shifting broadcasting request message according to described user terminal transmission, sends the time shifting broadcasting response message to described user terminal, comprises the operation indication information in the described response message; Wherein, described operation indication information comprises the broadcast information of described terminal plays Media Stream and/or the transmission information that server passes through the described Media Stream of unicast transmission, the playback rate that comprises the terminal plays Media Stream in the wherein said broadcast information comprises the transmission rate of the described Media Stream of unicast transmission in the described transmission information.
Optionally, can also comprise in the described broadcast information that needs quicken the indication information of the frame number of broadcast or the described user terminal acceleration of time, the indication media stream that needs quicken media stream, and the acceleration mode that media stream adopted, wherein, the mode that adopted of described acceleration media stream comprises the mode of video fast forward or the mode of hiding frame of video.
Optionally, can also comprise the time of quickening media stream in the described transmission information.
Transmission unit 75 is used for giving described user terminal with described Media Stream by unicast transmission; Switch unit 76 is used for multicast transmission process when described unicast transmission process and described Media Stream when consistent, and described medium are switched to the switching of multicast transmission from unicast transmission, and gives described user terminal by multicast with described media flow transmission.
Further, also comprise the sequence number of described user terminal requests receiving media stream in the described time shifting broadcasting request message, in order to before giving described user terminal by unicast transmission, to determine the starting position of described Media Stream with described Media Stream.
Further, as shown in Figure 8, this time shift server also comprises: second adjustment unit 77, be used for when described time shifting broadcasting request message also comprises the size of described user terminal buffering area and residual buffer district big or small, according to the size of described user terminal time shift buffering area and the size in residual buffer district, adjust the unicast transmission speed that sends Media Stream to described user terminal.For example described residual buffer district is bigger, then can adopt at once and quicken to send Media Stream, and transmission speed can be bigger; If the residual buffer district is smaller, then earlier less raising sends the speed of Media Stream, in order to avoid the Media Stream that receives is lost because of exceeding the time shift buffering area; By the time after described user terminal quickens to play and consumes certain Media Stream, make described user terminal time shift buffering area bigger after, bigger again raising sends the speed of described Media Stream.
The embodiment of the invention also provides a kind of user terminal, and this user terminal can be video frequency terminal apparatus, and as shown in Figure 9, this terminal comprises: receiving element 81, acquiring unit 82 and broadcast unit 83.
Receiving element 81 is used for the time shifting broadcasting response message that reception server sends, and comprises the operation indication information in the described response message; Described indication information comprises the broadcast information of described terminal plays Media Stream and/or the transmission information that server passes through the described Media Stream of unicast transmission, the playback rate that comprises the terminal plays Media Stream in the wherein said broadcast information comprises the transmission rate of the described Media Stream of unicast transmission in the described transmission information.
Acquiring unit 82 is used for obtaining according to described operation indication information the playback rate of media stream; Wherein, described acquiring unit 82 comprises according to the playback rate that described indication information obtains media stream: if comprise the broadcasting speed of described user terminal media stream in the described indication information that described receiving element 81 receives, then acquiring unit 82 is resolved described indication information, just can obtain the playback rate of described user terminal media stream from described indication information.If only comprise described transmission information in the indication information that described receiving element 81 receives, then described acquiring unit 82 needs to resolve earlier described indication information, from described indication information, obtain the transmission rate of the described Media Stream of unicast transmission, and, determine the playback rate of media stream according to size and the size of described user terminal residual memory space and the transmission rate of the described Media Stream of described unicast transmission of described user terminal memory space.Wherein saidly determine that the rule of the speed of described user terminal media stream is: guarantee that existence in the described user terminal memory space not have the Media Stream of playing, and the total amount of described Media Stream can not be above the size of described memory space.Wherein, if described user terminal residual memory space big or small smaller, then can accelerate the speed of described user terminal media stream, so that described user terminal has enough big residual memory space.
Broadcast unit 83 is used for playing described Media Stream according to the described playback rate that described acquiring unit 82 obtains.
Further, as shown in figure 10, described user terminal also comprises: transmitting element 84; Described transmitting element 84 is used for sending the time shifting broadcasting request message to described time shift server.Wherein said time shifting request is play the time and/or the positional information of normal play when comprising user terminal time shift generation in the message.Described time shifting broadcasting request message can for but be not limited to PATS-R (Pause Time Shifted Request, time shift suspend request).
Further, can also comprise the size of described user terminal buffering area and the size in residual buffer district in the described time shifting broadcasting request message; Wherein, described time shift buffer size can be expressed as the size of described user terminal memory space of temporary Media Stream in this time shift process, and the big I in described residual buffer district is expressed as described user terminal can also be kept in the memory space of described Media Stream in this time shift process size.
When the speed of having accelerated described user terminal media stream owing to described broadcast unit 83, make when described user terminal has enough big residual memory space, described transmitting element 84 can also be used for, send time shifting request to described server once more, upgrade the size of described user terminal residual memory space, so that described server is further adjusted the speed of unicast transmission Media Stream, proceed to the switching of multicast process thereby accelerate clean culture, and then further reduce the problem of the network resources waste that unicast transmission brings.
The embodiment of the invention provides a kind of system of network time-shifted processing, and as shown in figure 11, this system comprises: user terminal 91 and time shift server 92.
User terminal 91 is used for sending the time shifting broadcasting request message to time shift server 92, comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message.
Time shift server 92 is used to receive the time shifting broadcasting request message that user terminal 91 sends, and comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message; The time and/or the positional information of normal play when taking place according to described user terminal time shift determine whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission; If determine described Media Stream is switched to multicast transmission from unicast transmission, then improve the unicast transmission speed that sends Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal 91, comprise the operation indication information in the described response message; And give described user terminal 91 by unicast transmission with described Media Stream; When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal 91 by multicast transmission with described Media Stream.
Described user terminal 91 also is used for, and receives the time shifting broadcasting response message that described time shift server 92 sends, and comprises the operation indication information in the described response message; Obtain the playback rate of playing described Media Stream according to described operation indication information; Play described Media Stream according to described playback rate.
In the embodiment of the invention, after user terminal is watching video traffic to take place to suspend time shift, described user terminal sends the time shifting broadcasting request to the time shift server, described time shift server determines whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission, if, then improve the unicast transmission speed that sends Media Stream to described user terminal, making can be consistent with the multicast transmission process of described Media Stream by unicast transmission process behind the unicast transmission certain hour, when the multicast transmission process of described unicast transmission process and described Media Stream is consistent, the Media Stream of described time shifting request message correspondence is switched to multicast transmission to described user terminal, thereby reduce the consumption of system bandwidth, improve systematic function; And described time shift server is also to described user terminal transmit operation indication information, so that described user terminal obtains the playback rate of playing described Media Stream according to described operation indication information, and play described Media Stream, thereby realized that the normal play of back Media Stream takes place in the user terminal time shift according to described playback rate
Time shift server in the embodiment of the invention can be a single-ended server, also can combine with other network function equipment, described other network function equipment can be the repeating transmission server (Retransmission Server) of network convergence device, network access equipment, MAN equipment or fast channel handoff functionality (Rapid Acquisition of MulticastRTP Sessions); The embodiment of the invention does not limit this.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential common hardware, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk as computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (16)

1. a network time-shifted processing method is characterized in that, comprising:
Receive the time shifting broadcasting request message that user terminal sends, comprise the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
The time and/or the positional information of needs media stream determine whether the Media Stream of described time shifting broadcasting request message correspondence is switched to multicast transmission from unicast transmission when taking place according to described user terminal time shift;
If determine described Media Stream is switched to multicast transmission from unicast transmission, then improve the unicast transmission speed that sends Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message;
Give described user terminal with described Media Stream by unicast transmission;
When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal by multicast transmission with described Media Stream.
2. method according to claim 1 is characterized in that, also comprises the size of described user terminal time shift buffering area and the size in residual buffer district in the described time shifting broadcasting request message; This method also comprises:
According to the size of described user terminal time shift buffering area and the size in residual buffer district, adjust the unicast transmission speed that sends Media Stream to described user terminal.
3. method according to claim 1, it is characterized in that, the sequence number that also comprises described user terminal requests receiving media stream in the described time shifting broadcasting request message is in order to determine the starting position of described Media Stream before giving described user terminal with described Media Stream by unicast transmission.
4. method according to claim 1 is characterized in that, described operation indication information comprises:
The broadcast information of described user terminal media stream and/or server are by the transmission information of the described Media Stream of unicast transmission, the playback rate that comprises the terminal plays Media Stream in the wherein said broadcast information comprises the transmission rate of the described Media Stream of unicast transmission in the described transmission information.
5. method according to claim 4, it is characterized in that, also comprise the indication information that the described user terminal of indication quickens media stream in the described broadcast information, and the acceleration mode that media stream adopted, wherein, the mode that adopted of described acceleration media stream comprises the mode of video fast forward or the mode of hiding frame of video.
6. the method for a network time-shifted processing is characterized in that, comprising:
Receive the time shifting broadcasting response message that the time shift server sends, comprise the operation indication information in the described response message;
Obtain the playback rate of media stream according to described operation indication information;
Play described Media Stream according to described playback rate.
7. method according to claim 6 is characterized in that, described operation indication information comprises:
The broadcast information of described user terminal media stream and/or server are by the transmission information of the described Media Stream of unicast transmission, the playback rate that comprises the terminal plays Media Stream in the wherein said broadcast information comprises the transmission rate of the described Media Stream of unicast transmission in the described transmission information.
8. method according to claim 7, it is characterized in that, when only comprising the transmission rate of the described Media Stream of unicast transmission in the described operation indication information, the described playback rate that obtains described user terminal media stream according to described operation indication information comprises:
According to size and the size in residual buffer district and the transmission rate of the described Media Stream of described unicast transmission of described user terminal buffering area, determine to play the playback rate of described Media Stream.
9. a network time-shifted processing method is characterized in that, comprising:
Receive the time shifting broadcasting request message that user terminal sends, comprise the sequence number of asking receiving media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
Determine the starting position of the Media Stream of described time shifting broadcasting request message correspondence according to described sequence number;
Described Media Stream is begun to give described user terminal by unicast transmission from described sequence number.
10. method according to claim 9 is characterized in that, described time shifting request message comprises that also time shift needs the temporal information of media stream when taking place, and this method also comprises:
Determine the starting position of the Media Stream of described time shifting broadcasting request message correspondence according to described sequence number and described temporal information.
11. the method for a network time-shifted processing is characterized in that, comprising:
Whether the time shift time of described user terminal was moving in the scope in short-term when user terminal was determined the time shift generation;
If shift time moves in the scope in short-term described when described, then send the time shifting broadcasting request message to moving server in short-term, realize network time-shifted processing by the described server that moves in short-term;
If shift time surpasses described moving in short-term in the scope when described, then send the time shifting broadcasting request to long time shift server, realize network time-shifted processing by described long time shift server.
12. method according to claim 11 is characterized in that, describedly realizes that by the described server that moves in short-term network time-shifted processing comprises:
The described server that moves in short-term receives the time shifting broadcasting request message that user terminal sends, and raising sends the unicast transmission speed of Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message;
Give described user terminal with the corresponding Media Stream of described time shifting broadcasting request message by unicast transmission;
When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal by multicast transmission with described Media Stream.
13. method according to claim 11 is characterized in that, describedly realizes that by described long time shift server network time-shifted processing comprises:
Described long time shift server receives the time shifting broadcasting request message that user terminal sends, and gives described user terminal with the Media Stream of described time shifting broadcasting request message correspondence by unicast transmission.
14. a time shift server is characterized in that, comprising:
Receiving element is used to receive the time shifting broadcasting request message that user terminal sends, and comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
Determining unit is used for the time and/or the positional information of needs media stream when taking place according to described user terminal time shift, determines whether the Media Stream of described time shifting broadcasting request message correspondence is switched to multicast transmission from unicast transmission;
First adjustment unit is used for determining described Media Stream to improve the unicast transmission speed that sends Media Stream to described user terminal when unicast transmission switches to multicast transmission in described determining unit;
Transmitting element is used for the time shifting broadcasting request message according to described user terminal transmission, sends the time shifting broadcasting response message to described user terminal, comprises the operation indication information in the described response message;
Transmission unit is used for giving described user terminal with described Media Stream by unicast transmission;
Switch unit is used for multicast transmission process when described unicast transmission process and described Media Stream when consistent, gives described user terminal with described Media Stream by multicast transmission.
15. time shift server according to claim 14 is characterized in that, this time shift server also comprises:
Second adjustment unit, be used for when described time shifting broadcasting request message also comprises the size of described user terminal time shift buffering area and residual buffer district big or small, according to the size of described user terminal time shift buffering area and the size in residual buffer district, adjust the unicast transmission speed that sends Media Stream to described user terminal.
16. the system of a network time-shifted processing is characterized in that, comprising:
User terminal is used for sending the time shifting broadcasting request message to the time shift server, comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message;
The time shift server is used to receive the time shifting broadcasting request message that user terminal sends, and comprises the time and/or the positional information that need media stream when the user terminal time shift takes place in the described time shifting broadcasting request message; The time and/or the positional information of needs media stream when taking place according to described user terminal time shift determine whether that the Media Stream of described time shifting request being play the message correspondence switches to multicast transmission from unicast transmission; If determine described Media Stream is switched to multicast transmission from unicast transmission, then improve the unicast transmission speed that sends Media Stream to described user terminal, and the time shifting broadcasting request message that sends according to described user terminal, send the time shifting broadcasting response message to described user terminal, comprise the operation indication information in the described response message; Give described user terminal with described Media Stream by unicast transmission; When the multicast transmission process of described unicast transmission process and described Media Stream is consistent, give described user terminal with described Media Stream multicast transmission;
Described user terminal also is used for, and receives the time shifting broadcasting response message that described time shift server sends, and comprises the operation indication information in the described response message; Obtain the playback rate of described user terminal media stream according to described operation indication information; Play described Media Stream according to described playback rate.
CN 201010106599 2010-02-05 2010-02-05 Method, device and system for processing network time shift Expired - Fee Related CN102149021B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 201010106599 CN102149021B (en) 2010-02-05 2010-02-05 Method, device and system for processing network time shift
PCT/CN2011/070771 WO2011095118A1 (en) 2010-02-05 2011-01-28 Method, apparatus and system for processing network time shift

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010106599 CN102149021B (en) 2010-02-05 2010-02-05 Method, device and system for processing network time shift

Publications (2)

Publication Number Publication Date
CN102149021A true CN102149021A (en) 2011-08-10
CN102149021B CN102149021B (en) 2013-09-25

Family

ID=44354971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010106599 Expired - Fee Related CN102149021B (en) 2010-02-05 2010-02-05 Method, device and system for processing network time shift

Country Status (2)

Country Link
CN (1) CN102149021B (en)
WO (1) WO2011095118A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139641A (en) * 2011-12-02 2013-06-05 三星电子(中国)研发中心 Method and device for achieving audio/video seamless switching in real-time digital television time shifting playing
CN107147923A (en) * 2017-05-05 2017-09-08 中广热点云科技有限公司 A kind of time shift order method
WO2019129212A1 (en) * 2017-12-28 2019-07-04 华为技术有限公司 Communication method and related product

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100759807B1 (en) * 2005-12-09 2007-09-20 한국전자통신연구원 Method of time-shifting service in multicast based IPTV
CN100531381C (en) * 2006-01-27 2009-08-19 中国科学院声学研究所 The method for IPTV STB/unicast seamless switching based on RTP protocol
CN101094378B (en) * 2006-06-21 2012-05-23 华为技术有限公司 Time shifting method and system of interactive network TV
CN101431657B (en) * 2007-11-07 2011-11-02 华为技术有限公司 Time shift processing method, system and apparatus for network TV
CN101287014B (en) * 2008-06-10 2011-10-26 北京邮电大学 Method, system and device for realizing stream media service
CN101588494B (en) * 2009-06-30 2011-09-21 华为技术有限公司 Method for processing media stream, communication system, and relative devices

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139641A (en) * 2011-12-02 2013-06-05 三星电子(中国)研发中心 Method and device for achieving audio/video seamless switching in real-time digital television time shifting playing
CN107147923A (en) * 2017-05-05 2017-09-08 中广热点云科技有限公司 A kind of time shift order method
CN107147923B (en) * 2017-05-05 2019-06-21 中广热点云科技有限公司 A kind of time shift order method
WO2019129212A1 (en) * 2017-12-28 2019-07-04 华为技术有限公司 Communication method and related product
US11259361B2 (en) 2017-12-28 2022-02-22 Huawei Technologies Co., Ltd. Communication method and related product
US11758612B2 (en) 2017-12-28 2023-09-12 Huawei Technologies Co., Ltd. Communication method and related product

Also Published As

Publication number Publication date
WO2011095118A1 (en) 2011-08-11
CN102149021B (en) 2013-09-25

Similar Documents

Publication Publication Date Title
JP5021656B2 (en) Method for realizing time-shifted television
US9148696B2 (en) Data transmission system, receiving apparatus, and receiving method as well as sending apparatus and sending method
EP1879347B1 (en) System and method of audio/video streaming
JP5366107B2 (en) Method, apparatus and system for reducing media delay
CN101753973B (en) Channel switching method, device and system
JP4702397B2 (en) Content server, information processing apparatus, network device, content distribution method, information processing method, and content distribution system
CN102761773A (en) Method for improving user experience of IPTV (Internet Protocol Television) service by using I frames
KR101475991B1 (en) Method and system for playing video on a mobile device
CN107277554B (en) A kind of method of time shift program unicast conversion multicast
JPH11501786A (en) Compressed video signal receiving method
JP2010021663A (en) Communication apparatus and communication method
JP5428734B2 (en) Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system
CN102149021B (en) Method, device and system for processing network time shift
CN101489101B (en) Method, apparatus and system for IP television channel switching processing
CN103685314A (en) Method for achieving seamless switching of unicast and multicast of stream media playing
KR100848309B1 (en) Apparaus and method of providing internet TV brodacasting service using fast buffering switch
CN100593333C (en) Method and system for sending video information
KR100759807B1 (en) Method of time-shifting service in multicast based IPTV
CN107147923B (en) A kind of time shift order method
KR101992533B1 (en) Channel switching system in real-time IPTV broadcasting
KR20060016809A (en) Medium signal reception device, transmission device, and transmission/reception system
CN101552684B (en) Method, device and system for controlling real time streaming media protocol conversation state
Diepolder et al. Improved Channel Switching for Hybrid Unicast/Broadcast Mobile Television.
JP2015050757A (en) Content reproduction system, communications device, information storage device and program
JP2000165843A (en) Video on demand system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130925

Termination date: 20170205

CF01 Termination of patent right due to non-payment of annual fee