WO2007062567A1 - Procede, dispositif et systeme de realisation d'une tv a decalage - Google Patents

Procede, dispositif et systeme de realisation d'une tv a decalage Download PDF

Info

Publication number
WO2007062567A1
WO2007062567A1 PCT/CN2006/002669 CN2006002669W WO2007062567A1 WO 2007062567 A1 WO2007062567 A1 WO 2007062567A1 CN 2006002669 W CN2006002669 W CN 2006002669W WO 2007062567 A1 WO2007062567 A1 WO 2007062567A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
media server
play
data stream
time shift
Prior art date
Application number
PCT/CN2006/002669
Other languages
English (en)
French (fr)
Inventor
Daiyi He
Bailiang Yang
Yi Li
Zhentao Yang
Shaojun Li
Yuan Liu
Yunsong Fan
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 CN2006800121866A priority Critical patent/CN101160966B/zh
Priority to JP2008534853A priority patent/JP5021656B2/ja
Priority to EP06804912.1A priority patent/EP1956842B1/en
Publication of WO2007062567A1 publication Critical patent/WO2007062567A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1859Arrangements for providing special services to substations for broadcast or conference, e.g. multicast adapted to provide push services, e.g. data channels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
    • H04N7/17309Transmission or handling of upstream communications
    • H04N7/17336Handling of requests in head-ends

Definitions

  • the present invention relates to the field of network multimedia technologies, and in particular, to an implementation method, apparatus and system for a time-shifted television. Background of the invention
  • the service provided by the live broadcast television to the user is one-way, and the user can passively accept the schedule of the television program and watch the designated television program at a specified time.
  • Time-shifted TV is actually a TV technology that allows users to look back on a live broadcast program that has been played within a certain time frame, and realizes time-shift playback control operations such as fast rewind, pause, and positioning.
  • time-shifted TV technology In the early days of network technology development, time-shifted TV technology generally uses a storage medium connected to a playback terminal to record and store live data streams, providing time-shifted playback services.
  • the play terminal in the live broadcast state receives the user-initiated time shift play command
  • the play terminal continues to record and store the live data stream, and terminates the broadcast of the live stream, and reads from the storage medium according to the received time shift play command. Take the recorded and stored time-shifted data stream for playback.
  • the play terminal in the time-shifted play state receives the live broadcast command, the play terminal will continue to record and store the live data stream, and terminate the time-shifted data stream playback, and play the received live data stream.
  • the time shift playback technique is hereinafter referred to as prior art one.
  • FIG. 1 is a flowchart of a method for switching live broadcast to time-shift playback in the prior art 2, including the following steps: Step 101: The play terminal in the live broadcast state receives the time shift play command, and determines the current live broadcast mode, if it is unicast In the live broadcast mode, step 102 is performed; if it is the multicast live broadcast mode, step 103 is performed.
  • Step 102 The playback terminal removes the live communication connection and the live data transmission channel between the user and the media server, exits the live broadcast state, and performs step 104.
  • Step 103 The playback terminal directly exits the multicast group.
  • Step 104 The playback terminal establishes a time-shift communication connection between itself and the media server according to the received time-shift play command, and negotiates to establish a time-shifted data transmission channel between itself and the media server, and then connects through the established time-shift communication connection.
  • the time shift play command is reported to the media server.
  • Step 105 The media server reads the time shift data stream from the memory connected to itself according to the received time shift play command, and sends the read time shift data stream to the play terminal through the established time shift data transmission channel. .
  • Step 106 The playback terminal receives and plays the time-shifted data stream from the media server, and switches the live broadcast to time-shift playback.
  • Step 201 The play terminal in the time shift play state receives the live broadcast command, removes the time shift communication connection and the time shift data transmission channel between itself and the media server, and exits the time shift play state.
  • Step 202 The playback terminal determines the live broadcast mode required by the received live broadcast command. If it is a unicast live broadcast mode, step 203 is performed; if it is a multicast live broadcast mode, step 204 is performed.
  • Step 203 The broadcast terminal establishes a live communication connection between itself and the media server, and negotiates to establish a live data transmission channel between itself and the media server, and then reports the live broadcast command to the media server through the established live communication connection, and the media server receives After the live broadcast command is sent, the live data stream received from the video encoder is forwarded to the play terminal through the established live data transmission channel, and step 205 is performed.
  • Step 204 The playback terminal sends an Internet Group Management Protocol (IGMP) message to the network to join the multicast group, and receives the live data stream sent by the video encoder in a multicast manner.
  • IGMP Internet Group Management Protocol
  • Step 205 The playback terminal receives the live data stream, and plays the received live data stream, so as to switch the time-shift playback to the live broadcast.
  • the implementation of the live broadcast and the time shift function respectively utilize mutually independent communication connections and data transmission channels. Therefore, in order to switch between live broadcast and time-shift playback, the playback terminal needs to first remove the established communication between itself and the media server. The connection and data transmission channels are then used to establish new communication connections and data transmission channels based on the received switching commands. Since the communication connection and the data transmission channel between the playback terminal and the media server need to be repeatedly removed and established, the response rate of the time-shift playback operation is low.
  • g of the present invention provides a method for realizing a time-shifted television, which can improve the response rate of a time-shifted playback operation.
  • the method includes the following steps:
  • the playback terminal sends a time shift play command to the media server through the held control channel; after the media server receives the time shift play command, the operation corresponding to the time shift play command is executed.
  • Another object of the present invention is to provide a playback terminal that can improve the response rate of a time-shift playback operation.
  • the play terminal includes:
  • a user side channel holding module configured to establish a control channel with the media server, and periodically send a message to the media server to maintain the control channel;
  • a command module configured to send a time shift play command to the media server by using a control channel established by the user side channel hold module;
  • a data stream receiving module configured to receive a time-shifted stream from the media server; and a playing module, configured to perform a time-shift playback operation on the time-shifted data stream received by the data stream receiving module.
  • the media server includes:
  • a network side channel holding module configured to establish a control channel with the playing terminal, receive a message from the playing terminal to maintain the control channel, and maintain the control channel;
  • a command analysis module configured to receive a time shift play command from the play terminal, analyze the content of the time shift play command, obtain a corresponding time shift play operation, and control the command execution module to execute the time shift play operation;
  • a command execution module configured to perform a time shift play operation
  • a data stream sending module configured to execute an instruction of the module according to the command, by using the control letter
  • the channel sends a live data stream or a time-shifted data stream to the playback terminal.
  • the system includes a media server and a play terminal, and a channel is established and maintained between the media server and the play terminal, and the play terminal sends a time shift play command to the media server through the channel, and the media server passes the time shift play command.
  • the channel transmits a time shift data stream or a live data stream to the playback terminal.
  • the time shift play command is transmitted through the control channel that is always maintained between the play terminal and the media server, in order to switch between live broadcast and time shift play during time shift playback, it is not necessary to dismantle itself and the media server.
  • the media server directly transmits the data stream to be sent to the playback terminal through the established and maintained channel in the live data stream and time. Switching between data streams greatly improves the switching speed between live broadcast and time-shift playback, providing users with a better experience.
  • the present invention can quickly realize switching between live broadcast and time-shift playback, the rate of switching between live broadcast and time-shift playback is greatly improved, and the user is provided with a better experience, so the present invention is very advantageous for time-shifted television technology. Promotion and application.
  • the signaling interaction protocol may be a standard network transmission protocol, or may be a network transmission protocol supported by both the playback terminal and the media server.
  • the implementation of the technical solution of the present invention is open to implementation, and may be different according to a specific application scenario.
  • control channel can be used not only for the transmission of the handover command, but also for the transmission of the data stream, and the signaling interaction channel and the data stream channel are implemented. Interwoven, so there is flexibility on the system group network.
  • the transmission of the handover command is performed through the established control channel, the system design is greatly simplified.
  • FIG. 1 is a flow chart of a method for switching live broadcast to time-shift playback in the prior art
  • FIG. 2 is a flowchart of a method for switching time-shift playback to live broadcast in the prior art
  • FIG. 3 is a general technology for implementing time-shift playback according to the present invention
  • FIG. 4 is a flowchart of a method for implementing time-shift playback in a live broadcast state according to Embodiment 1 of the present invention
  • FIG. 5 is a flowchart of a method for implementing time-shift playback in a time-shift playback state according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic diagram of system connection according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a playback terminal according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of a media server according to an embodiment of the present invention. Mode for carrying out the invention
  • the core content of the present invention is: by establishing and maintaining a control channel between the playback terminal and the media server, the media server can receive the time shift play command sent by the play terminal through the established control channel, and play the command according to the received time shift. Implement the corresponding time-shift playback operation.
  • the time shift play command can be divided into five types: pause, fast reverse, fast forward, position play, and quick return.
  • Table 1 shows time-shifted playback signaling that the playback terminal can perform in various states.
  • Positioning playback refers to shifting the data stream from the specified time.
  • the quick return is from the time-shifted playback state to the live broadcast state. It is a special positioning playback. Since the live broadcast time is determined, the quick return does not require a specified time. Time-shifted playback signaling that can be performed after state execution before state execution
  • Live time shift playback is pause, rewind, position play
  • FIG. 3 is a flow chart of implementing the overall technical scheme of time shift play according to the present invention
  • the premise of the method is: establishing and maintaining a control channel between the playing terminal and the media server, and the specific implementation process of the method includes the following steps:
  • Step 301 The playback terminal sends the received time shift play command to the media server through the established control channel; the time shift play command is usually sent by the user;
  • Step 302 After receiving the time shift play command, the media server performs a corresponding time shift play operation.
  • the establishment of the control channel between the playback terminal and the media server is performed based on a signaling interaction protocol.
  • the signaling interaction protocol may be a standard network transmission protocol, such as RTSP, or a network transmission protocol supported by both the playback terminal and the media server, such as HTTP and SOAP.
  • the control channel between the play terminal and the media server can be used not only for the transmission of the handover command, but also for the transmission of the data stream, and the interleaving of the signaling interaction channel and the data stream channel.
  • the above maintaining the control channel between the playback terminal and the media server is implemented by adding a message for maintaining the control channel in the signaling interaction protocol.
  • the playing terminal After the message of the control channel is added to the signaling interaction protocol, the playing terminal periodically reports its own state information to the media server.
  • the media server maintains the established control channel according to the received state information from the playing terminal. For example, the playing terminal periodically sends an OPSP-based option (OPTION) message to the media server, and after receiving the OPTION message, the media server receives the OPTION message. It is known that the playback terminal still exists and the established control channel will not be removed.
  • OPTION OPSP-based option
  • the time shift play command may be pause, rewind or position play; when the play terminal is in the time shift play state, the time shift play command may be pause, fast forward, rewind or Position playback.
  • Embodiment 1 The current implementation of time-shift playback in a live broadcast state.
  • FIG. 4 is a flow chart of a method for implementing time-shift playback in a live broadcast state according to a first embodiment of the present invention.
  • a play channel is established and maintained between the play terminal and the media server, and the play terminal is in a live broadcast state, and the media server sends the live data stream received from the live program source to the play terminal, where the live broadcast program source For video encoders.
  • the method includes the following steps:
  • Step 401 The playback terminal receives the time shift play command sent by the user, and sends a time shift play capability query command to the media server through the established and maintained control channel between the play terminal and the media server, and queries whether the media server can support time shift play.
  • Step 402 The media server receives the time shifting capability query command, and carries the information about whether the time shifting function is supported in the query command response and returns it to the playing terminal.
  • Step 403 The playback terminal determines, according to the received query command response, whether the media server can support the time shift play function. If yes, step 404 is performed; otherwise, the process ends.
  • Step 404 The playback terminal determines the current live broadcast mode. If it is a unicast live broadcast mode, steps 405 ⁇ 06 are performed; if it is a multicast live broadcast mode, step 407 408 is performed.
  • Step 405 The playback terminal sends a time shift play command to the media server through the established and maintained control channel.
  • the time shift play command may be pause, rewind or position play. If the time shift play command is fast rewind, the command may further include the speed of fast rewind playback. Rate. Of course, the rate of fast rewind playback may not be included, and the media server plays at the default fast rewind playback rate. If the time shift play command is a positioning play, the command further includes the specified time.
  • the specified time can be in a variety of ways, such as the time difference, the current time is 8: 00, the time difference is "-15 minutes", indicating that the specified time is 7:45; the specified time can also be in the form of time, for example, the current time is 8:00, the specified time is 7:45. Note that the specified time can only be a certain time before the current time, not a certain time after.
  • Step 406 After receiving the time shift play command, the media server stops forwarding the live data stream received from the video encoder to the play terminal; and reads the time shift data stream from the memory connected to itself according to the received time shift play command. And the read time-shifted data stream is sent to the playing terminal through the established and maintained control channel, so that the live broadcast is switched to the time-shifted play, and the process is completed.
  • step 406 is specifically:
  • the media server After receiving the pause command, the media server stops forwarding the live data stream received from the video encoder to the playback terminal and records the current time; the playback terminal stops decoding and freezes the picture at the current time. End this process. Since the playback terminal no longer plays the data stream after the pause, the media player only needs to stop sending the live data stream to the playback terminal.
  • step 406 is specifically:
  • the media server After receiving the fast rewind command, the media server stops forwarding the live data stream received from the video encoder to the playback terminal; and reads from the memory connected to itself according to the default rewind rate or the rewind rate specified in the rewind command.
  • the data stream is time-shifted, and the read time-shifted data stream is sent to the playing terminal according to the fast-rearing rate through the established and maintained control channel, so that the live broadcast is switched to time-shifted playback, and the process ends.
  • the step 406 further includes: after receiving the positioning play command, the media server stops receiving the straight from the video encoder.
  • the broadcast data stream is forwarded to the play terminal; according to the time specified by the positioning play command, the time shift data stream is read from the memory connected to itself, and the play start time of the time shift data stream is adjusted to the specified time.
  • the time-shifted data stream that is read is sent to the playing terminal through the established and maintained control channel, and the live broadcast is switched to time-shifted playback, and the process ends.
  • Step 407 The playback terminal exits the multicast group, stops receiving the multicast stream, and sends a time shift play command to the media server through the established and maintained control channel.
  • Step 408 After receiving the time shift play command, the media server reads the time shift data stream from the memory connected to itself according to the received time shift play command, and passes the read time shift data stream through the established and maintained control channel. It is sent to the playback terminal to switch the live broadcast to time-shift playback.
  • the implementation of the time shift play command in this step is the same as that of step 406, and therefore will not be described again.
  • Embodiment 2 The current implementation of time-shift playback in a time-shifted playback state.
  • all four time-shift playback commands can be implemented, namely pause, rewind, fast forward, and positioning playback.
  • fast forward and positioning playback can be switched from the time shift playback state to the direct broadcast state under certain conditions.
  • FIG. 5 is a flowchart of implementing time shift playback in a time shift play state according to Embodiment 2 of the present invention.
  • a control channel is established and maintained between the playback terminal and the media server, and the playback terminal is in a time-shifted playback state.
  • the method includes the following steps:
  • Step 501 After receiving the time shift play command sent by the user, the play terminal performs a corresponding time shift play operation according to the time shift play command, that is, gives a corresponding time shift data stream. details as follows:
  • the media server stops sending the time shift data stream to the play terminal and records the current play time, and the screen of the play terminal freezes at the current play time and ends the process.
  • the media server starts the time shift from the current time shift data stream according to the default fast rewind rate or the rewind rate specified in the rewind command, and shifts the time interval through the established and maintained control channel. The data stream is sent to the playing terminal; and the process ends;
  • the media server will time shift from the established and maintained control channel from the playback time of the current time-shifted data stream according to the default fast forward rate or the fast forward rate specified in the fast forward command.
  • the data stream is sent to the playback terminal;
  • the media server stops moving the data stream, and adjusts the play start time of the time shift data stream to the specified time according to the time specified in the positioning play command.
  • Step 502 The media server determines whether the play mode is switched to the live broadcast, if yes, step 504 is performed, otherwise step 503 is performed; if the fast forward play is currently performed, it is determined whether the play time of the time shift data stream reaches the current actual time, if Then switch to live broadcast, otherwise it will not switch; if it is currently positioned for playback, it will judge whether the specified time is the current actual time, if it is, then switch to live broadcast, otherwise it will not switch.
  • Step 503 Play the time shift data stream through the established and maintained control channel according to the time shift play command in step 501, and end the flow.
  • the time shift play command is the positioning play
  • Step 504 The media server determines the live broadcast mode to be taken. If the broadcast mode is unicast, step 505 is performed; if the broadcast mode is multicast, step 506 is performed.
  • step 504 is directly executed without performing step 501 to step 503.
  • Step 505 The media server stops transmitting the time-shifted data stream to the playing terminal, and forwards the live data stream received from the video encoder to the playing terminal through the established and maintained control channel, thereby switching the time-shifted playback to the live broadcast, ending the present Process.
  • Step 506 The media server stops transmitting the time-shifted data stream to the playing terminal, and the playing terminal sends an IGMP message for applying to join the multicast group to the network, and receives the live data stream sent by the video encoder in a multicast manner. Move playback to live broadcast, and end this process.
  • the media server sends the read time-shifted data stream to the playing terminal through the established and maintained control channel, thereby implementing time-shifted playback.
  • the time-shifted data stream is sent to the playback terminal through the established and maintained control channel, and the live broadcast data stream is also sent through the control channel, if the play mode is switched to the live broadcast mode. Give the player a terminal.
  • the time shift playing system for implementing the embodiment of the present invention includes: a playing terminal 601, configured to establish and maintain a control channel with the media server 602, and send a time shift playing command to the media server 602 through the control channel.
  • the time-shifted data stream from the media server 602 is received and played.
  • the media server 602 is configured to establish and maintain a control channel with the play terminal 601, receive a time shift play command from the play terminal 602 through the channel, analyze the time shift play command, and read the corresponding time shift data stream.
  • the method is further configured to send a live data stream to the play terminal 601 by using the control channel; and to switch the play mode.
  • the memory 603 is configured to record a live data stream to form a media file, and the media server 602 reads the generated time-shifted data stream. There are multiple memories 603 that enable distributed design and record multiple channels simultaneously to meet massive storage needs.
  • the video decoder 604 is configured to decode the live data stream, send the live data stream to the media server 602 and the memory 603, and also serve as a program source for the multicast live broadcast.
  • Memory 603 and video decoder 604 may be separate from media server 602 or may be integrated into media server 602.
  • the system may further include an operation and maintenance center 605 for performing maintenance on the media server 602; a communication maintenance system 606 for maintaining communication connections of various parts of the entire time-shift playback system; and an electronic program guide 607 for notifying The content of the program broadcasted by the terminal 601 is convenient for the user to watch.
  • an operation and maintenance center 605 for performing maintenance on the media server 602
  • a communication maintenance system 606 for maintaining communication connections of various parts of the entire time-shift playback system
  • an electronic program guide 607 for notifying The content of the program broadcasted by the terminal 601 is convenient for the user to watch.
  • the block diagram of the playback terminal in the time-shift playback system shown in FIG. 6 is as shown in FIG. 7.
  • the thick arrow indicates the data flow direction
  • the thin arrow indicates the signaling flow direction.
  • the following modules are included: a user-side channel hold module 701 for The media server establishes a control channel, and periodically sends a message to the media server to maintain the control channel;
  • the command module 702 is configured to send a time shift play command to the media server by using a control channel established by the user side channel hold module 701;
  • the data stream receiving module 703 is configured to receive a time-shifted data stream or a unicast live data stream from the media server, and receive a multicast live broadcast data stream from the multicast live broadcast program source, where the multicast live broadcast program source may be a media server or Video decoder.
  • the playing module 704 is configured to play the received time-shifted data stream, where the playing includes normal playing, fast rewinding, fast forwarding, and pause; and is also used for normally playing the received live data stream.
  • the user side channel holding module 701 and the command module 702 constitute a signaling processing part of the playing terminal
  • the data stream receiving module 703 and the playing module 704 constitute a data processing part of the playing terminal.
  • the block diagram of the media server in the time shift playing system shown in FIG. 6 is as shown in FIG. 8.
  • the thick arrow indicates the data flow direction, and the thin arrow indicates the signaling flow direction.
  • the specific module includes the following modules:
  • the network side channel holding module 801 is used for The playing terminal establishes a control channel, receives a message from the playing terminal to maintain the control channel, and maintains the control channel;
  • the command analysis module 802 is configured to receive a time shift play command from the play terminal, and analyze The content of the time shift play command obtains a corresponding time shift play operation, and the control command execution module 803 performs the time shift play operation.
  • the command execution module 803 is configured to perform a time shift play operation.
  • the time shift playing operation includes: recording the playing time of the current live data stream, adjusting the playing time of the time shift data stream, ⁇ 3 ⁇ 4 shifting the rate of the data stream fast forward or rewind, stopping or starting to send the time shift data stream or Live data stream, or switch between time-shifted data stream and live stream.
  • the data stream obtaining module 804 is configured to receive a time-shifted data stream from the memory or a live stream of data from a broadcast program source; the live stream node source may be a video decoder.
  • the data stream sending module 805 is configured to send a live data stream or a time shift data stream to the playing terminal by using a control channel maintained between the media server and the playing terminal according to the command of the command execution module 803.
  • the network side channel hold module 801 and the command analysis module 802 belong to the signaling processing part
  • the data stream obtaining module 804 and the data stream sending module 805 belong to the data processing part
  • the command execution module 803 belongs to both the signaling processing part and the data processing part.
  • the media server may also send the time-shifted data stream to the playing terminal through a data transmission channel existing between itself and the playing terminal, or a newly created data transmission channel, so as to implement various time-shifting operations, where possible This includes switching the live stream to time-shift playback, or switching time-shift playback to live broadcast.

Description

一种时移电视的实现方法、 装置和系统 技术领域
本发明涉及网络多媒体技术领域, 特别涉及一种时移电视的实现方 法、 装置和系统。 发明背景
作为现有广播电视体系的主流电视技术, 直播电视向用户提供的服 务是单向的, 用户只能被动的接受电视节目的时间安排, 在指定的时间 收看指定的电视节目。
为进一步增强广大用户在收看电视节目时的业务体验, 时移电视技 术便应运而生。 时移电视实际上就是允许用户在一定时间范围内对已播 放的直播节目进行回看的电视技术, 实现快退、 暂停、 定位等时移播放 控制操作。
在网络技术发展的初期, 时移电视技术一般利用与播放终端连接的 存储介膚录制和存储直播数据流, 提供时移播放业务。 当处于直播状态 下的播放终端接收到用户发起的时移播放命令, 播放终端将继续录制和 存储直播数据流, 而终止直播数据流的播放, 并根据接收的时移播放命 令从存储介质中读取录制并存储的时移数据流进行播放。 同样, 当处于 时移播放状态下的播放终端接收到直播命令, 播放终端也将继续录制和 存储直播数据流, 而终止时移数据流的播放, 播放接收的直播数据流。 为便于描述, 以下将该时移播放技术称为现有技术一。
现有技术一中, 若直播数据流的播放速率为 1,5Mbps, 如果录制 24 个小时, 仅一个频道就需要占用约 16200MB 的存储空间, 多个频道的 存储容量叠加起来将会很庞大, 因此完全通过播放终端进行存储成本将 会很高。 另外, 在观看时移电视节目的同时, 直播电视节目仍在播放, 播放终端录制也在继续进行, 否则就无法支持连续时移, 此时需要同时 实现对同一录制文件的尾部追加写入、 头部部分删除和读取操作, 时移 操作的响应速率毫无疑问会大大降低, 不可能为用户提供很好的体验。
随着网络技术迅速发展, 目前时移电视技术一般利用媒体服务器录 制直播数据流, 由播放终端控制直播数据流与时移数据流之间的切换, 从而实现时移播放功能。 以下将该时移电视技术称为现有技术二。 图 1 为现有技术二中将直播切换为时移播放的方法流程图, 包括以下步驟: 步驟 101 : 处于直播状态的播放终端接收到时移播放命令, 判断当 前的直播方式, 如果是单播直播方式, 则执行步驟 102; 如果是多播直 播方式, 则执行步骤 103。
步骤 102: 播放终端拆除自身与媒体服务器之间的直播通信连接和 直播数据传输通道, 退出直播状态, 并执行步骤 104。
步骤 103: 播放终端直接退出多播组。
步骤 104: 播放终端根据接收的时移播放命令建立自身与媒体服务 器之间的时移通信连接, 并协商建立自身与媒体服务器之间的时移数据 传输通道, 然后通过建立的时移通信连接将时移播放命令上报给媒体服 务器。
步骤 105: 媒体服务器根据接收的时移播放命令, 从与自身连接的 存储器中读取时移数据流, 并将读取的时移数据流通过已建立的时移数 据传输通道向播放终端进行发送。
步骤 106: 播放终端接收并播放来自媒体服务器的时移数据流, 实 现将直播切换为时移播放。
图 2为现有技术二中将时移播放切换为直播的方法流程图, 包括以 下步骤: 步骤 201 : 处于时移播放状态的播放终端接收到直播命令, 拆除自 身与媒体服务器之间的时移通信连接和时移数据传输通道, 退出时移播 放状态。
步骤 202: 播放终端判断接收的直播命令所要求的直播方式, 如果 是单播直播方式, 则执行步骤 203; 如果是多播直播方式, 则执行步骤 204。
步骤 203: 播放终端建立自身与媒体服务器之间的直播通信连接, 并协商建立自身与媒体服务器之间的直播数据传输通道, 然后通过建立 的直播通信连接将直播命令上报给媒体服务器, 媒体服务器接收到直播 命令后, 通过建立的直播数据传输通道将接收自视频编码器的直播数据 流转发给播放终端, 执行步骤 205。
步骤 204: 播放终端向网络发送网絡组管理协议 ( Internet Group Management Protocol, IGMP )报文申请加入到多播组, 接收视频编码器 以多播方式发送的直播数据流。
步驟 205: 播放终端接收到直播数据流, 播放接收的直播数据流, 实现将时移播放切换为直播。
从图 1和图 2所示现有技术二的实现流程可以看出, 由于时移数据 流是由媒体服务器录制的, 且存储在与媒体服务器连接的存储器中, 所 以可以满足时移数据流的海量存储需求。
但是, 直播和时移功能的实现分别利用相互独立的通信连接及数据 传输通道, 所以, 为实现直播与时移播放之间的切换, 播放终端需要先 拆除自身与媒体服务器之间已建立的通信连接和数据传输通道, 然后再 根据接收的切换命令建立新的通信连接和数据传输通道。 由于需要反复 拆除和建立播放终端与媒体服务器之间的通信连接和数据传输通道, 所 以时移播放操作的响应速率低。 发明内容
有鉴于此, 本发明的 g的在于提供一种时移电视的实现方法, 可以 提高时移播放操作的响应速率。 该方法包括以下步骤:
在播放终端与媒体服务器之间建立并保持控制信道;
播放终端通过所保持的控制信道向媒体服务器发送时移播放命令; 媒体服务器收到时移播放命令后 , 执行所述时移播放命令对应的操 作。
本发明的另一目的在于, 提出一种播放终端, 可以提高时移播放操 作的响应速率。 所述播放终端包括:
用户侧信道保持模块, 用于与媒体服务器建立控制信道, 定时向媒 体服务器发送保持控制信道的消息;
命令模块, 用于通过用户侧信道保持模块所建立的控制信道向媒体 服务器发送时移播放命令;
数据流接收模块, 用于接收来自媒体服务器的时移数 流; 播放模块, 用于对数据流接收模块所收到的时移数据流执行时移播 放操作。
本发明的又一目的在于, 提出一种媒体服务器, 可以提高时移播放 操作的响应速率。 所述媒体服务器包括:
网络侧信道保持模块, 用于与播放终端建立控制信道, 接收来自播 放终端的保持控制信道的消息, 并保持所述控制信道;
命令分析模块, 用于接收来自播放终端的时移播放命令, 分析所述 时移播放命令的内容, 得到对应的时移播放操作, 控制命令执行模块执 行所述时移播放操作;
命令执行模块, 用于执行时移播放操作;
数据流发送模块, 用于根据命令执行模块的指令, 通过所述控制信 道向播放终端发送直播数据流或时移数据流。
本发明的目的还在于, 提出一种时移电视系统, 可以提高时移播放 操作的响应速率。 所述系统包括媒体服务器和播放终端, 所述媒体服务 器和播放终端之间建立并保持信道 , 播放终端通过所述信道向媒体服务 器发送时移播放命令, 媒体服务器根据所述时移播放命令, 通过所述信 道向播放终端发送时移数据流或直播数据流。
利用本发明, 由于时移播放命令是通过播放终端与媒体服务器之间 一直保持的控制信道传输的, 为实现在时移播放过程中直播与时移播放 之间的切换, 不必拆除自身与媒体服务器之间存在的通信连接和数据传 输通道, 也不必建立新的通信连接和数据传输通道, 媒体服务器直接通 过所述已建立且保持的信道将所要向播放终端发送的数据流在直播数 据流和时移数据流之间切换, 大大提高了直播与时移播放之间切换的速 率, 为用户提供了更好的体验。
由于本发明能够快速实现直播与时移播放之间的切换, 大大提高了 直播与时移播放之间切换的速率, 为用户提供了更好的体验, 所以本发 明将非常有利于时移电视技术的推广和应用。
由于本发明是基于信令交互协议在播放终端与媒体服务器之间建 立控制信道的, 信令交互协议可以为标准的网络传输协议, 也可以为播 放终端和媒体服务器二者都支持的网络传输协议, 在实现时可以根据具 体应用场景的不同而不同, 所以本发明技术方案的实现具有开放性。
由于本发明在播放终端与媒体服务器之间建立且一直保持的控制 信道, 该控制信道不仅可单独用于切换命令的传输, 而且可用于数据流 的传输, 实现信令交互通道与数据流通道的交织, 所以在系统組网上具 备灵活性。 同时, 由于在本发明的单播和多播应用中, 切换命令的传输 都是通过建立的控制信道进行的, 大大简化了系统的设计。 附图简要说明
图 1为现有技术中将直播切换为时移播放的方法流程图; 图 2为现有技术中将时移播放切换为直播的方法流程图; 图 3为本发明实现时移播放的总体技术方案的实现流程图; 图 4为本发明实施例一在直播状态下实现时移播放的方法流程图; 图 5为本发明实施例二在时移播放状态下实现时移播放的方法流程 图;
图 6为本发明实施例的系统连接示意图;
图 7为本发明实施例的播放终端的结构框图;
图 8为本发明实施例的媒体服务器的结构框图。 实施本发明的方式
为使本发明的目的、 技术方案和优点更加清楚, 以下结合实施例对 本发明进一步详细说明。
本发明的核心内容是: 通过建立且保持播放终端与媒体服务器之间 的控制信道, 使媒体服务器能够通过所建立的控制信道接收播放终端发 送的时移播放命令, 并根据接收的时移播放命令实现相应时移播放操 作。
所述时移播放命令可分为暂停、 快退、 快进、 定位播放以及快捷返 回五种类型。 表 1示出了播放终端处于各种状态下可以执行的时移播放 信令。 其中定位播放是指从指定时间开始播放时移数据流。 快捷返回是 从时移播放状态转到直播状态, 是一种特殊的定位播放, 由于直播的时 间是确定的, 因此快捷返回无须指定时间。 执行前状态 执行后状态 是否发生状态切换 可执行的时移播放信令
直播 直播 否 无
直播 时移播放 是 暂停、 快退、 定位播放
时移播放 直播 是 快进、 定位播放 (快捷返回) 时移播放 时移播放 否 暂停、 快进、 快退、 定位播放 表 1 图 3为本发明实现时移播放的总体技术方案的实现流程图, 该方法 实现的前提是: 在播放终端与媒体服务器之间建立且保持控制信道, 该 方法的具体实现过程包括以下步骤:
步骤 301 : 播放终端将接收到的时移播放命令通过所建立的控制信 道发送给媒体服务器; 所述时移播放命令通常由用户发出;
步骤 302: 媒体服务器收到时移播放命令后, 执行相应的时移播放 操作。
上述在播放终端与媒体服务器之间建立控制信道是基于信令交互 协议进行的。 信令交互协议可以为标准的网络传输协议, 如 RTSP, 也 可以为播放终端和媒体服务器二者都支持的网络传输协议, 如 HTTP和 SOAP等。 所述播放终端与媒体服务器之间的控制信道不仅可单独用于 切换命令的传输, 而且可用于数据流的传输, 实现信令交互通道与数据 流通道的交织。
上述在播放终端与媒体服务器之间保持控制信道是通过在信令交 互协议中增加保持控制信道的消息实现的。 在信令交互协议中增加了保 持控制信道的消息后, 播放终端将定时向媒体服务器报告自身状态信 息; 媒体服务器根据所接收的来自播放终端的状态信息, 配合播放终端 保持已经建立的控制信道。 例如, 播放终端定时向媒体服务器发送基于 RTSP协议的选项( OPTION )消息,媒体服务器接收到 OPTION消息后 , 获知播放终端仍然存在, 将不会拆除已经建立的控制信道。
当播放终端正处于直播状态时, 上述时移播放命令可以为暂停、 快 退或定位播放; 当播放终端正处于时移播放状态时, 上述时移播放命令 可以为暂停、 快进、 快退或定位播放。
为了能够更加清楚地说明本发明提供的时移电视实现方案, 以下结 合具体的实施例并参照附图, 对本发明提供的技术方案进行详细说明。
实施例一: 当前为直播状态下时移播放的实现。
图 4为本发明第一个实施例在直播状态下实现时移播放的方法流程 图。 在本实施例中, 播放终端与媒体服务器之间建立且保持有一条控制 信道, 播放终端正处于直播状态, 媒体服务器将接收自直播节目源的直 播数据流发送至播放终端, 所述直播节目源为视频编码器。 该方法包括 以下步骤:
步驟 401 : 播放终端接收到用户发出的时移播放命令, 通过播放终 端与媒体服务器之间已建立且保持的控制信道向媒体服务器发送时移 播放能力查询命令, 查询媒体服务器是否能够支持时移播放功能。
步骤 402: 媒体服务器接收到时移播放能力查询命令, 将自身是否 支持时移播放功能的信息携带在查询命令响应中返回给播放终端。
步骤 403: 播放终端根据所接收的查询命令响应判断媒体服务器是 否能够支持时移播放功能, 如果能够支持, 则执行步骤 404; 否则, 结 束本流程。
步骤 404: 播放终端判断当前的直播方式, 如果是单播直播方式, 则执行步骤 405~ 06; 如果是多播直播方式, 则执行步骤 407 408。
步骤 405: 播放终端通过已建立且保持的控制信道向媒体服务器发 送时移播放命令。 所述时移播放命令可以为暂停、 快退或定位播放。 如 果时移播放命令为快退, 则该命令中还可以进一步包括快退播放的速 率。 当然, 也可不包括快退播放的速率, 媒体服务器采用默认的快退播 放速率进行播放。 如果时移播放命令为定位播放, 则该命令中还进一步 包括所指定的时间。 指定时间可以采用多种方式, 例如时间差的形式, 当前时间为 8: 00, 时间差为" -15分钟", 表示指定时间为 7:45; 指定时 间也可采用时刻的形式, 例如, 当前时间为 8:00, 指定时间为 7:45。 注 意所指定的时间只能是当前时刻之前的某一时刻, 而不能是之后的某一 时刻。
步骤 406: 媒体服务器接收到时移播放命令后, 停止将接收自视频 编码器的直播数据流转发给播放终端; 根据接收的时移播放命令从与自 身连接的存储器中读取时移数据流, 并将所读取的时移数据流通过已建 立且保持的控制信道下发给播放终端, 实现将直播切换为时移播放, 结' 束本流程。
若所述时移播放命令为暂停, 则步骤 406具体为:
媒体服务器接收到暂停命令后, 停止将接收自视频编码器的直播数 据流转发给播放终端并记录当前时刻; 播放终端停止解码并将画面定格 在当前时刻。 结束本流程。 由于暂停后播放终端不再播放数据流, 因此 媒体播放器只需停止向播放终端发送直播数据流即可。
若所述时移播放命令为快退, 则步骤 406具体为:
媒体服务器接收到快退命令后 , 停止将接收自视频编码器的直播数 据流转发给播放终端; 根据默认的快退速率或快退命令中指定的快退速 率从与自身连接的存储器中读取时移数据流, 并将所读取的时移数据流 通过已建立且保持的控制信道按照所述快退速率下发给播放终端, 实现 将直播切换为时移播放, 结束本流程。
若所述时移播放命令为定位播放, 则步骤 406进一步包括: 媒体服务器接收到定位播放命令后, 停止将接收自视频编码器的直 播数据流转发给播放终端; 根据所述定位播放命令所指定的时间, 从与 自身连接的存储器中读取时移数据流, 将时移数据流的播放起始时间调 整到所述指定的时间, 并所读取的时移数据流通过已建立且保持的控制 信道下发给播放终端, 实现将直播切换为时移播放, 结束本流程。
步骤 407: 播放终端退出多播组, 停止接收多播流, 通过已建立且 保持的控制信道向媒体服务器发送时移播放命令。
步骤 408: 媒体服务器接收到时移播放命令后, 根据接收的时移播 放命令从与自身连接的存储器中读取时移数据流, 并将读取的时移数据 流通过建立且保持的控制信道下发给播放终端, 实现将直播切换为时移 播放。本步骤中时移播放命令的实现方式与步骤 406相同,故不再赘述。
实施例二: 当前为时移播放状态下时移播放的实现。 时移播放状态 下可以实现全部 4种时移播放命令, 即暂停、快退、快进以及定位播放。 其中快进和定位播放在一定条件下可以实现由时移播放状态切换到直 播状态。 此外, 出于方便用户使用的目的, 还可定义快捷返回的时移播 放命令, 实际上这是一种特殊的定位播放, 指定时间为当前时间, 即直 播数据流的播放时间。
图 5为本发明实施例二时移播放状态下实现时移播放流程图。 在本 实施例中, 播放终端与媒体服务器之间建立且保持有一条控制信道, 播 放终端正处于时移播放状态。 该方法包括以下步骤:
步驟 501 : 播放终端接收到用户发出的时移播放命令后, 根据所述 时移播放命令执行相应的时移播放操作, 即给出相应的时移数据流。 具 体如下:
若时移播放命令为暂停, 媒体服务器停止向播放终端发送时移数据 流并记录下当前播放的时间, 播放终端的画面定格在当前播放的时间并 结束本流程。 若时移播放命令为快退, 媒体服务器根据默认的快退速率或快退命 令中指定的快退速率, 从当前时移数据流的播放时间开始, 通过已建立 且保持的控制信道将时移数据流发给播放终端; 并结束本流程;
若时移播放命令为快进, '媒体服务器根据默认的快进速率或快进命 令中指定的快进速率, 从当前时移数据流的播放时间开始通过已建立且 保持的控制信道将时移数据流发给播放终端;
若时移播放命令为定位播放(快捷返回), 媒体服务器停止播放时 移数据流, 根据所述定位播放命令中所指定的时间, 将时移数据流的播 放起始时间调整为指定时间。
步骤 502: 媒体服务器判断播放方式是否会切换到直播, 若是, 则 执行步骤 504, 否则执行步骤 503 ; 若当前为快进播放, 即判断时移数 据流的播放时间是否达到当前的实际时间, 若是则要切换到直播, 否则 不切换; 若当前为定位播放, 即判断指定时间是否为当前实际时间, 若 是则要切换到直播, 否则不切换。
步骤 503 : 按照步骤 501 中的时移播放命令通过已建立且保持的控 制信道播放时移数据流, 并结束本流程。
对于时移播放命令为定位播放的情况, 也可先判断播放方式是否会 切换到直播, 若判断结果为否, 则媒体服务器停止播放时移数据流, 根 据所述定位播放命令中所指定的时间, 将时移数据流的播放起始时间调 整为指定时间并播放时移数据流; 若判断结果为是, 则直接执行步骤 504。
步骤 504: 媒体服务器判断所要采取的直播方式, 如果是单播直播 方式, 则执行步骤 505; 如果是多播直播方式, 则执行步骤 506。
若时移播放命令为快捷返回, 无须执行步骤 501至步骤 503 , 直接 执行步骤 504。 步骤 505: 媒体服务器停止向播放终端下发时移数据流, 将接收自 视频编码器的直播数据流通过已建立且保持的控制信道转发给播放终 端, 实现将时移播放切换为直播, 结束本流程。
步骤 506: 媒体服务器停止向播放终端下发时移数据流, 播放终端 向网络发送用于申请加入多播组的 IGMP报文, 接收视频编码器以多播 方式发送的直播数据流, 实现将时移播放切换为直播, 结束本流程。
在本发明实施例一的步骤 406和步驟 408中, 媒体服务器将读取的 时移数据流通过已建立且保持的控制信道下发给播放终端, 实现时移播 放; 在本发明实施例二中, 无论播放方式是否切换到直播方式, 时移数 据流都是通过已建立且保持的控制信道下发给播放终端; 并且若播放方 式切换到直播方式, 直播数据流也是通过所述控制信道下发给播放终 端。
用于实现本发明实施例的时移播放系统如图 6所示, 包括: 播放终端 601 , 用于与媒体服务器 602建立并保持控制信道, 通过 所述控制信道向媒体服务器 602发送时移播放命令, 接收并播放来自媒 体服务器 602的时移数据流。
媒体服务器 602, 用于与播放终端 601建立并保持控制信道, 通过 所述信道接收来自播放终端 602的时移播放命令, 对所述时移播放命令 进行分析, 读取相应的时移数据流并发送至播放终端 601 ; 还用于通过 所述控制信道向播放终端 601下发直播数据流; 用于切换播放方式。
存储器 603 ,用于录制直播数据流形成媒体文件,供媒体服务器 602 读取生成时移数据流。 存储器 603可以有多个, 实现分布式设计, 同时 对多个频道进行录制, 满足海量的存储需求。
视频解码器 604, 用于对直播数据流进行解码, 将直播数据流发送 到媒体服务器 602和存储器 603; 还用于作为多播直播的节目源。 存储器 603和视频解码器 604可以与媒体服务器 602分离, 也可集 成在媒体服务器 602中。
该系统中还可以进一步包括操作维护中心 605 , 用于对媒体服务器 602进行维护; 通信维护系统 606, 用于对整个时移播放系统各个部分 的通信连接进行维护; 电子节目指南 607, 用于通知播放终端 601直播 的节目内容, 方便用户收看。
图 6所示时移播放系统中的播放终端的结构框图如图 7所示, 其中 粗箭头表示数据流向, 细箭头表示信令流向, 具体包括如下模块: 用户侧信道保持模块 701 , 用于与媒体服务器建立控制信道, 定时 向媒体服务器发送保持控制信道的消息;
命令模块 702, 用于通过用户侧信道保持模块 701所建立的控制信 道向媒体服务器发送时移播放命令;
数据流接收模块 703 , 用于接收来自媒体服务器的时移数据流或单 播直播数据流, 接收来自多播直播节目源的多播直播数据流, 所述多播 直播节目源可以是媒体服务器或视频解码器。
播放模块 704, 用于播放所收到的时移数据流, 所述播放包括正常 播放, 快退、 快进以及暂停; 还用于正常播放所收到的直播数据流。
用户侧信道保持模块 701和命令模块 702组成了播放终端的信令处 理部分, 数据流接收模块 703和播放模块 704組成了播放终端的数据处 理部分。
图 6所示时移播放系统中的媒体服务器的结构框图如图 8所示, 其 中粗箭头表示数据流向, 细箭头表示信令流向, 具体包括如下模块: 网络侧信道保持模块 801 , 用于与播放终端建立控制信道, 接收来 自播放终端的保持控制信道的消息, 并保持所述控制信道;
命令分析模块 802, 用于接收来自播放终端的时移播放命令, 分析 所述时移播放命令的内容, 得到对应的时移播放操作, 并控制命令执行 模块 803执行该时移播放操作。
命令执行模块 803 , 用于执行时移播放操作。 所述时移播放操作^ 括: 记录当前直播数据流的播放时间, 调整时移数据流的播放时间, ί¾ 整时移数据流快进或快退的速率, 停止或开始发送时移数据流或直播数 据流, 或者将时移数据流与直播数据流相互切换等。
数据流获取模块 804, 用于接收来自存储器的时移数据流或来自直 播节目源的直播数据流; 所述直播节 ¾源可以是视频解码器。
数据流发送模块 805 , 用于根据命令执行模块 803的命令, 通过媒 体服务器与播放终端之间保持的控制信道向播放终端发送直播数据流 或时移数据流。
网络侧信道保持模块 801和命令分析模块 802属于信令处理部分, 数据流获取模块 804和数据流发送模块 805属于数据处理部分, 而命令 执行模块 803则同时属于信令处理部分和数据处理部分。
在实际应用中 , 媒体服务器也可以通过自身与播放终端之间巳存在 的数据传输通道, 或者新建的数据传输通道将时移数据流发送至播放终 端, 以实现各种时移播放操作, 其中可能包括将直播切换为时移播放, 或者将时移播放切换为直播。 这样的技术方案与本发明实施例中所述的 技术方案在技术思路上是一致的, 应包含在本发明的保护范围之内。
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进 行了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施 例而已, 并不用于限制本发明, 凡在本发明的精神和原则之内, 所做的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种时移电视的实现方法, 其特征在于, 该方法包括以下步骤: . 在播放终端与媒体服务器之间建立并保持控制信道;
播放终端通过所保持的控制信道向媒体服务器发送时移播放命令; 媒体服务器收到时移播放命令后, 执行所述时移播放命令对应的操 作。
2、 根据权利要求 1 所述的方法, 其特征在于, 所述在播放终端与 媒体服务器之间建立控制信道是基于实时流媒体协议 RTSP、 或超文本 传输协议 HTTP、 或简单对象访问协议 SOAP进行的。
3、 根据权利要求 1 所述的方法, 其特征在于, 当所述播放终端当 前处于直播状态, 则所述播放终端向媒体服务器发送时移播放命令之前 进一步包括:
播放终端通过所建立的控制信道向媒体服务器发送时移播放能力 查询命令, 查询媒体服务器是否能够支持时移播放功能; 如果媒体服务 器能够支持时移播放功能, 则播放终端退出直播并执行后续步骤, 否则 结束本流程。
4、 根据权利要求 3 所述的方法, 其特征在于, 所述播放终端退出 直播包括: 播放终端判断当前的直播方式, 如果是单播直播方式, 则停 止接收单播直播数据流;如果是多播直播方式,则播放终端退出多播组, 停止接收多播直播数据流。
5、 根据权利要求 3 所述的方法, 其特征在于, 所述时移播放命令 为暂停, 则所述媒体服务器执行所述时移播放命令对应的操作包括:
媒体服务器接收到暂停命令后, 停止将直播数据流发送至播放终端 并记录当前时刻。 - 6、 根据权利要求 3 所述的方法, 其特征在于, 所述时移播放命令 为怏退, 则所述媒体服务器执行所述时移播放命令对应的操作包括: 媒体服务器停止将直播数据流发送给播放终端; 根据默认的快退速 率或快退命令中指定的快退速率从与自身连接的存储器中读取时移数 据流, 并将所读取的时移数据流通过已建立且保持的控制信道按照所述 快退速率下发给播放终端。
7、 根据权利要求 3 所述的方法, 其特征在于, 所述时移播放命令 为定位播放, 则所述媒体服务器执行所述时移播放命令对应的操作包 括:
媒体服务器停止将直播数据流发送至播放终端; 根据所述定位播放 命令所指定的时间, 从与自身连接的存储器中读取时移数据流, 将时移 数据流的播放起始时间调整到所述指定的时间, 并所读取的时移数据流 通过已建立且保持的控制信道下发给播放终端。
8、 根据权利要求 1 所述的方法, 其特征在于, 所述播放终端当前 处于时移播放状态, 所述时移播放命令包括暂停、 快退、 快进或定位播 放。
9、 根据权利要求 8 所述的方法, 其特征在于, 所述时移播放命令 为暂停, 则所述执行所述时移播放命令对应的操作包括:
媒体服务器停止向播放终端发送时移数据流并记录下当前播放的 时间。
10、 根据权利要求 8所述的方法, 其特征在于, 所述时移播放命令 为快退 /快进, 则所述执行所述时移播放命令对应的操作包括:
媒体服务器根据默认的快退速率 /快进速率或快退 /快进命令中指定 的快退速率 /快进速率, 从当前时移数据流的播放时间开始, 通过已建立 且保持的信道将时移数据流发给播放终端。
11、 根据权利要求 8所述的方法, 其特征在于, 所述时移播放命 为定位播放, 则所述执行所述时移播放命令对应的操作包括:
媒体服务器停止播放时移数据流, 根据所述定位播放命令中所指定 的时间, 将时移数据流的播放起始时间调整为指定时间。
12、 ■据权利要求 10或 11所述的方法, 其特征在于, 该方法进一 步包括: 媒体服务器判断播放方式是否会切换到直播, 若是, 则将播放 方式切换为直播, 否则, 执行所述时移播放操作。
13、 根据权利要求 12 所述的方法, 其特征在于, 所述将播放方式 切换为直播包括:
媒体服务器判断所要采取的直播方式, 如果是单播直播方式, 则媒 体服务器停止向播放终端下发时移数据流, 将直播数据流通过已建立且 保持的控制信道转发给播放终端; 如果是多播直播方式, 媒体服务器停 止向播放终端下发时移数据流, 播放终端向网络发送用于申请加入多播 组的网絡组管理协议 IGMP报文, 接收以多播方式发送的直播数据流。
14、 一种播放终端, 其特征在于, 包括:
用户侧信道保持模块, 用于与媒体服务器建立控制信道, 定时向媒 体服务器发送保持控制信道的消息;
命令模块, 用于通过用户侧信道保持模块所建立的控制信道向媒体 服务器发送时移播放命令;
数据流接收模块, 用于接收来自媒体服务器的时移数据流; 播放模块 , 用于对数据流接收模块所收到的时移数据流执行时移播 放操作。
15、 根据权利要求 14所述的播放终端, 其特征在于, 所述播放模 块执行的时移播放操作包括正常播放、 快退、 快进、 暂停或定位播放。
16、 根据权利要求 14或 15所述的播放终端, 其特征在于, 所述数 据流接收模块还用于接收来自直播节目源的直播数据流; 则所述播放模块还用于正常播放数据流接收模块所接收的直播数 据流。 '
17、 一种媒体服务器, 其特征在于, 包括:
网络侧信道保持模块, 用于与播放终端建立控制信道, 接收来自播 放终端的保持控制信道的消息, 并保持所述控制信道;
命令分析模块, 用于接收来自播放终端的时移播放命令, 分析所述 时移播放命令的内容, 得到对应的时移播放操作, 控制命令执行模块执 行所述时移播放操作;
命令执行模块, 用于执行时移播放操作;
数据流发送模块, 用于根据命令执行模块的指令, 通过所述控制信 道向播放终端发送直播数据流或时移数据流。
18、 根据权利要求 17所述的媒体服务器, 其特征在于, 所述命令 执行模块执行的时移播放操作包括: 记录当前直播数据流的播放时间, 调整时移数据流的播放时间, 调整时移数据流快进或快退的速率, 停止 或开始发送时移数据流或直播数据流, 或者将时移数据流与直播数据流 相互切换。
19、 根据权利要求 17或 18所述的媒体服务器, 其特征在于, 所述 媒体服务器进一步包括数据流获取模块, 用于接收来自存储器的时移数 据流或来自直播节目源的直播数据流。
20、 根据权利要求 17或 18所述的媒体服务器, 其特征在于, 所述 媒体服务器进一步包括用于作为直播节目源的视频节目器。
21、 才艮据权利要求 17或 18所述的媒体服务器, 其特征在于, 所述 媒体服务器进一步包括用于将直播数据流存储为媒体文件的存储器。
22、 一种时移电视系统, 包括媒体服务器和播放终端, 其特征在于, 所述媒体服务器和播放终端之间建立并保持信道, 播放终端通过所述信 道向媒体服务器发送时移播放命令, 媒体服务器根据所述时移播放命 令, 通过所述信道向播放终端发送时移数据流或直播数据流。
23、 根据权利要求 22所述的时移电视系统, 其特征在于, 该系统 进一步包括用于作为直播节目源的视频解码器;
则所述媒体服务器向播放终端发送直播数据流为: 媒体服务器接收 视频解码器的直播数据流, 并将所接收的直播数据流转发至播放终端。
24、 根据权利要求 23 所述的时移电视系统, 其特征在于, 该系统 进一步包括用于将直播数据流存储为媒体文件的存储器;
则所述媒体服务器向播放终端发送时移数据流为: 媒体服务器读取 存储器中的媒体文件形成时移数据流并发送至播放终端。
25、 根据权利要求 23或 24所述的时移电视系统, 其特征在于, 所 述视频解码器或存储器集成在媒体服务器中。
PCT/CN2006/002669 2005-11-30 2006-10-11 Procede, dispositif et systeme de realisation d'une tv a decalage WO2007062567A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2006800121866A CN101160966B (zh) 2005-11-30 2006-10-11 一种时移电视的实现方法、装置和系统
JP2008534853A JP5021656B2 (ja) 2005-11-30 2006-10-11 タイムシフトテレビを実現するための方法
EP06804912.1A EP1956842B1 (en) 2005-11-30 2006-10-11 A method, a device and a system for realizing time shift tv

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510125845.4 2005-11-30
CNA2005101258454A CN1852421A (zh) 2005-11-30 2005-11-30 一种实现直播与时移播放之间切换的方法

Publications (1)

Publication Number Publication Date
WO2007062567A1 true WO2007062567A1 (fr) 2007-06-07

Family

ID=37133887

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002669 WO2007062567A1 (fr) 2005-11-30 2006-10-11 Procede, dispositif et systeme de realisation d'une tv a decalage

Country Status (7)

Country Link
US (1) US20070150555A1 (zh)
EP (1) EP1956842B1 (zh)
JP (1) JP5021656B2 (zh)
KR (1) KR100953584B1 (zh)
CN (2) CN1852421A (zh)
FR (1) FR2894105B1 (zh)
WO (1) WO2007062567A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009517945A (ja) * 2005-12-02 2009-04-30 アルカテル−ルーセント ネットワークベースのインスタントリプレイとタイムシフトプレイバック
JP2010519822A (ja) * 2007-07-04 2010-06-03 ▲ホア▼▲ウェイ▼技術有限公司 タイムシフトtvサービス確立方法およびタイムシフトtvメディア機能エンティティ
CN102651745A (zh) * 2008-09-03 2012-08-29 华为技术有限公司 一种业务内容的播放方法、系统和装置

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100512426C (zh) * 2006-12-05 2009-07-08 华为技术有限公司 一种iptv应用系统及准视频点播节目播放方法及系统
CN101202900B (zh) * 2007-03-12 2010-09-29 深圳市同洲电子股份有限公司 一种数字电视直播与回放的切换方法及视频服务器
US20110019662A1 (en) 2007-06-28 2011-01-27 Rebelvox Llc Method for downloading and using a communication application through a web browser
US9178916B2 (en) 2007-06-28 2015-11-03 Voxer Ip Llc Real-time messaging method and apparatus
US11095583B2 (en) 2007-06-28 2021-08-17 Voxer Ip Llc Real-time messaging method and apparatus
US8180029B2 (en) 2007-06-28 2012-05-15 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
CN101340558A (zh) * 2007-07-03 2009-01-07 华为技术有限公司 时移电视业务中的媒体流切换方法、系统及设备
WO2009052760A1 (fr) * 2007-10-19 2009-04-30 Huawei Technologies Co., Ltd. Procédé, système et dispositif servant à établir le service de télévision en différé dans un service de radiodiffusion
CN101415106B (zh) * 2007-10-19 2011-04-13 华为技术有限公司 在广播业务中建立时移电视业务的方法、系统及装置
CN101431657B (zh) * 2007-11-07 2011-11-02 华为技术有限公司 一种网络电视时移处理方法、系统和装置
CN101242581B (zh) * 2008-02-28 2011-04-06 华为技术有限公司 移动流媒体的管理方法、系统和装置
CN101547108B (zh) * 2008-03-28 2011-06-22 华为技术有限公司 流媒体的业务切换方法、播放设备及服务器
CN101552796B (zh) * 2008-03-31 2012-07-04 华为技术有限公司 一种时移操作方法和装置
CN101588470B (zh) * 2008-05-20 2013-05-29 深圳市同洲电子股份有限公司 一种ip-qam视频点播系统的时移暂停方法、系统及设备
WO2009141500A1 (en) * 2008-05-20 2009-11-26 Nokia Corporation Method and apparatus for signaling time-shift support
CN101827306A (zh) * 2009-03-03 2010-09-08 中兴通讯股份有限公司 单播业务的切换方法与装置
CN101867556A (zh) * 2009-04-15 2010-10-20 上海灵慧软件销售有限公司 在移动流媒体播放中以流截取方式的视频切换方法及系统
CN101554537B (zh) * 2009-04-28 2012-10-03 西安和利德软件有限公司 一种基于以太网的四维影院同步播放方法
CN102118634B (zh) * 2009-12-31 2013-01-16 华为技术有限公司 一种实现ip电视业务的调度方法、装置及系统
CN102148806A (zh) * 2010-02-09 2011-08-10 华为技术有限公司 网络电视的时移处理方法和系统以及网络设备、终端
JP5117603B1 (ja) * 2011-08-26 2013-01-16 株式会社東芝 コンテンツ処理装置
CN102595218A (zh) * 2012-03-05 2012-07-18 中国联合网络通信集团有限公司 媒体播放方法、终端设备、远程管理系统和媒体播放系统
US8935735B2 (en) * 2013-01-07 2015-01-13 Time Warner Cable Enterprises Llc Methods and apparatus for supporting trick play functions in devices without local storage
CN105763890A (zh) * 2014-12-18 2016-07-13 中国电信股份有限公司 频道切换方法和装置、机顶盒及iptv终端
KR101722673B1 (ko) * 2015-12-08 2017-04-03 네이버 주식회사 생중계에서 타임머신 기능을 제공하는 방법 및 시스템
CN105933798A (zh) * 2016-05-18 2016-09-07 青岛海信宽带多媒体技术有限公司 基于网络协议电视的直播节目播放方法及装置
US10856038B2 (en) 2018-08-23 2020-12-01 Sling Media Pvt. Ltd. Predictive time-shift buffering for live television
CN112104648A (zh) * 2020-09-14 2020-12-18 北京达佳互联信息技术有限公司 数据处理方法、装置、终端、服务器及存储介质
CN114205634A (zh) * 2021-11-05 2022-03-18 深圳市华曦达科技股份有限公司 播放数据的获取方法、装置、电视机及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002049360A1 (en) 2000-12-13 2002-06-20 THE CHINESE UNIVERSITY OF HONG KONG A body corporate of Hong Kong SAR Method and system for delivering media selections through a network
US20040172654A1 (en) 2002-12-05 2004-09-02 International Business Machines Corporation Channel merging method for VOD system
WO2004095839A1 (en) * 2003-04-17 2004-11-04 Siemens Communications, Inc. System and method for real time playback of conferencing streams
CN1551631A (zh) * 2003-05-16 2004-12-01 ������������ʽ���� 用于媒体回放体系结构的方法和系统

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6889256B1 (en) * 1999-06-11 2005-05-03 Microsoft Corporation System and method for converting and reconverting between file system requests and access requests of a remote transfer protocol
US7725557B2 (en) * 2002-06-24 2010-05-25 Microsoft Corporation Client-side caching of streaming media content
US7474741B2 (en) * 2003-01-20 2009-01-06 Avaya Inc. Messaging advise in presence-aware networks
JP2004312413A (ja) * 2003-04-08 2004-11-04 Sony Corp コンテンツ提供サーバ、情報処理装置、および方法、並びにコンピュータ・プログラム
US7093274B2 (en) * 2003-07-29 2006-08-15 Sony Corporation Apparatus and method for accommodating fast change of digital streaming sources and formats
US7447225B2 (en) * 2004-07-23 2008-11-04 Cisco Technology, Inc. Multiple multicast forwarder prevention during NSF recovery of control failures in a router
SE0402876D0 (sv) * 2004-11-25 2004-11-25 Ericsson Telefon Ab L M TV-like standards-compliant unicast streaming over IP
US20070067480A1 (en) * 2005-09-19 2007-03-22 Sharp Laboratories Of America, Inc. Adaptive media playout by server media processing for robust streaming
US7472197B2 (en) * 2005-10-31 2008-12-30 Ut Starcom, Inc. Method and apparatus for automatic switching of multicast/unicast live TV streaming in a TV-over-IP environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002049360A1 (en) 2000-12-13 2002-06-20 THE CHINESE UNIVERSITY OF HONG KONG A body corporate of Hong Kong SAR Method and system for delivering media selections through a network
US20040172654A1 (en) 2002-12-05 2004-09-02 International Business Machines Corporation Channel merging method for VOD system
WO2004095839A1 (en) * 2003-04-17 2004-11-04 Siemens Communications, Inc. System and method for real time playback of conferencing streams
CN1551631A (zh) * 2003-05-16 2004-12-01 ������������ʽ���� 用于媒体回放体系结构的方法和系统

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DELODDERE: "INTERACTIVE VIDEO ON DEMAND", IEEE COMMUNICATIONS MAGAZINE, IEEE SERVICE CENTER, vol. 32, no. 5, 1 May 1994 (1994-05-01), pages 82 - 88
WANJIUM LIAO: "The split and merge (SAM) protocol for interactive video-on-demand systems", INFOCOM '97. SIXTEENTH ANNUAL JOINT CONFERENCE OF THE IEEE COMPUTER AND COMMUNICATIONS SOCIETIES. DRIVING THE INFORMATION REVOLUTION., PROCEEDINGS IEEE KOBE, JAPAN, vol. 3, 7 April 1997 (1997-04-07), pages 1349 - 1356

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009517945A (ja) * 2005-12-02 2009-04-30 アルカテル−ルーセント ネットワークベースのインスタントリプレイとタイムシフトプレイバック
JP2010519822A (ja) * 2007-07-04 2010-06-03 ▲ホア▼▲ウェイ▼技術有限公司 タイムシフトtvサービス確立方法およびタイムシフトtvメディア機能エンティティ
CN102651745A (zh) * 2008-09-03 2012-08-29 华为技术有限公司 一种业务内容的播放方法、系统和装置
CN102651745B (zh) * 2008-09-03 2016-03-30 华为技术有限公司 一种业务内容的播放方法、系统和装置

Also Published As

Publication number Publication date
CN101160966B (zh) 2010-10-06
EP1956842B1 (en) 2019-01-02
JP2009512288A (ja) 2009-03-19
EP1956842A4 (en) 2008-12-17
US20070150555A1 (en) 2007-06-28
KR20080050477A (ko) 2008-06-05
JP5021656B2 (ja) 2012-09-12
FR2894105B1 (fr) 2011-04-22
EP1956842A1 (en) 2008-08-13
CN101160966A (zh) 2008-04-09
CN1852421A (zh) 2006-10-25
KR100953584B1 (ko) 2010-04-21
FR2894105A1 (fr) 2007-06-01

Similar Documents

Publication Publication Date Title
WO2007062567A1 (fr) Procede, dispositif et systeme de realisation d'une tv a decalage
US7472197B2 (en) Method and apparatus for automatic switching of multicast/unicast live TV streaming in a TV-over-IP environment
JP4936751B2 (ja) 迅速なメディアチャネル切り替え機構、および該機構を含むアクセスネットワークノード
JP5366107B2 (ja) メディア遅延を低減するための方法、装置およびシステム
TW200820777A (en) System and method of audio/video streaming
CN101009825A (zh) 基于rtp协议的iptv机顶盒组/单播无缝切换方法
WO2008141540A1 (fr) Procédé de commande de vidéo sur demande, dispositif de client et équipement de commande de commutateur
JP5536779B2 (ja) 移動体デバイス上で映像を再生するための方法及びシステム
WO2009039741A1 (fr) Procédé et dispositif permettant la commutation de chaînes iptv
WO2007028309A1 (fr) Procede de mise en oeuvre et systeme de mise en oeuvre de television a decalage temporel
CN104702994A (zh) 一种媒体播放方法及装置、机顶盒
CN101969431B (zh) 一种实现流媒体播放单播、多播无缝切换的方法
WO2009006768A1 (fr) Système sans serveur pour prendre en charge un service de décalage temporel
JP5428734B2 (ja) ネットワーク機器、情報処理装置、ストリーム切替方法、情報処理方法、プログラムおよびコンテンツ配信システム
CN101998147A (zh) 媒体数据的传输方法、网络侧设备及通信系统
WO2010022598A1 (zh) 交互电视频道切换方法及系统、音视频流发送方法及装置
WO2012094992A1 (zh) 一种实现数据获取的方法和系统
CN102149021B (zh) 网络时移的处理方法、装置及系统
WO2011023034A1 (zh) 轮播频道的实现方法、媒体控制服务器及轮播频道系统
CN101521798B (zh) 一种播放模式切换的方法和装置
CN106231414A (zh) 基于iptv的播放模式切换的控制方法及装置
CN117459771B (zh) 一种网络摄像机录像存储、预览、回放的方法及系统
CN101466023A (zh) 远程时移方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 200680012186.6

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 1020087008460

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2008534853

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2006804912

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2006804912

Country of ref document: EP