WO2009012714A1 - A method and a device for controlling streaming media - Google Patents

A method and a device for controlling streaming media Download PDF

Info

Publication number
WO2009012714A1
WO2009012714A1 PCT/CN2008/071740 CN2008071740W WO2009012714A1 WO 2009012714 A1 WO2009012714 A1 WO 2009012714A1 CN 2008071740 W CN2008071740 W CN 2008071740W WO 2009012714 A1 WO2009012714 A1 WO 2009012714A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
media
streaming media
channel
rtsp
Prior art date
Application number
PCT/CN2008/071740
Other languages
French (fr)
Chinese (zh)
Inventor
Baojian Qi
Peng Wang
Xiaosong Lei
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009012714A1 publication Critical patent/WO2009012714A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • 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
    • H04L65/1104Session initiation protocol [SIP]
    • 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/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]

Definitions

  • the present invention relates to streaming media services in a communication network, and in particular, to a method and apparatus for controlling streaming media.
  • the streaming media service is a new service that has developed rapidly in recent years.
  • the service uses streaming technology to transmit multimedia files, including video and audio files, on a packet-switched network, such as an IMS network.
  • the user equipment UE, User Equipment
  • the key technology for streaming media service implementation is streaming technology.
  • Streaming technology processes continuous video and audio files and stores them on servers in the packet switching network, so that UEs can access the server and download files. Content, while listening to the contents of the file, you do not need to wait until the entire file content is downloaded before you can watch the contents of the file.
  • IMS In the 3GPP Release 5 (R5, Release) phase, IMS is introduced.
  • the IMS is superimposed on the packet domain network, and is called a Call Control Function (CSCF), and a Media Gateway Control Function (MGCF).
  • the CSCF can be divided into three logical entities: the service CSCF (S-CSCF), the proxy CSCF (P-CSCF), and the query CSCF (I-CSCF).
  • S-CSCF is a service switching center of the IMS, performs session control, maintains session state, is responsible for managing UE information, and generates charging information.
  • the P-CSCF is an access point for the UE to access the IMS, completes UE registration, and is responsible for quality of service (QoS) control and security management;
  • the I-CSCF is responsible for interworking between IMS domains, managing the allocation and selection of S-CSCFs, hiding network topology and configuration, and generating billing data.
  • the MGCF controls the gateway to implement interworking between the IMS and other networks.
  • MRF provides media resources.
  • the HSS stores subscription data, configuration information, and the like of the UE.
  • the IMS network mainly uses the Session Initiation Protocol (SIP) and the Diameter protocol.
  • SIP Session Initiation Protocol
  • Diameter protocol is an application layer control protocol that can be used to establish, modify, and terminate multimedia sessions or conferences. SIP also supports inviting participants to participate in existing sessions, such as multiparty conferences.
  • RTA Rea l Time Streaming Protocol
  • RTA is an application-level protocol that controls the transmission of real-time data and is mainly used for real-time data transmission of streaming media services.
  • RTSP provides an extensible framework for real-time data such as controlled delivery of audio and video as well as on-demand delivery.
  • the purpose of the RTSP is to control multiple data transfer sessions, provide a method for selecting a transport channel, and provide a method for selecting a transport mechanism based on the Real Time Transport Protocol (RTP, Rea l Time Transpor Protocol).
  • RTP Real Time Transport Protocol
  • RTSP can provide professional support for streaming media, but it overlaps with SIP in some basic functions, because SIP has good routing, easy extension, mobility support and session support functions, and SIP + service discovery functional entity (SDP, Ses)
  • SIP SIP + service discovery functional entity
  • the s ion Descr ipt ion protocol can provide some basic streaming control functions. Therefore, it is proposed to negotiate the RTSP channel through the SIP negotiation media control channel mode, so that the existing functions of the SIP can be utilized, and the specialization can be utilized.
  • the media control operation performs a dedicated media control operation on the negotiated RTSP channel, avoiding the extension of the RTSP with the existing functions of the SIP.
  • IPTV Internet Protocol Television
  • IPTV Internet Protocol Television
  • QoS QoS
  • the bearer resource needs to be reserved for the transmission of the streaming media.
  • IPTV Media Function can be decomposed into a Media Control Function (MCF) and a Media Delivery Function (MDF) from a functional perspective.
  • MCF Media Control Function
  • MDF Media Delivery Function
  • the MDF is usually a media server that transmits streaming media to the UE under the control of the MCF.
  • the MCF can also receive and process control operation commands sent by the UE. These commands are usually implemented by RTSP. For example, operational commands such as fast forward, backward, pause, and position of streaming media.
  • the IPTV Service Control Functions are used to process the MF for the UE when receiving the IPTV service request sent by the UE through the Core (IMS) IMS.
  • the Core IMS may reserve resources for the IPTV service of the UE.
  • the Figure 1 also includes a User Profile Server Function (UPSF) that is connected to the UE, and is used to store the subscription information of the UE.
  • the Service Selection Function (SSF) is used to send the UE. Provide business order information that can be browsed and selected.
  • a transport processing function is further included, which includes a transport control sublayer and a transport function entity, which is used to transmit the broadcast media of the LTV service by using the bearer resource reserved by the IMS Core.
  • a Network Attachment Subsystem (NASS) and a Resource and Adission Control Subsystem (RACS) are also included.
  • RTSP is selected to implement streaming media control, and also has some session control functions and media control functions.
  • session control functions When encountering new convective media control, it is usually extended to RTSP, but the introduced extension Usually defined in SIP, causing duplication of functions, and conflicts may occur in the case where both protocols work together.
  • the SIP protocol message needs to be used to negotiate the RTSP channel and the media channel between the Control Client and the Control Server; and then, on the RTSP channel established according to the negotiation.
  • the streaming media is controlled; finally, the negotiated media channel transmits the streaming media according to the control of the streaming media on the RTSP channel.
  • the Control Client can be a UE; the Control Server can be an MCF or an MF.
  • the RTSP channel is used to complete the control of the streaming media, and the RTSP defined SETUP message, ANNOUNCE message, description (DESCRIBE) message, and offload (TEARD0WN) message can all be replaced by the SIP negotiation process.
  • FIG. 1 is a flowchart of a method for controlling streaming media in the prior art, and the network entities involved include a Control CI ient and a Control Server, and the specific steps are as follows:
  • Step 201 The Control Client sends an access (INVITE) message to the Control Server. Carrying RTSP parameters for performing RTSP channel negotiation and streaming media request information for media channel negotiation;
  • Step 202 The Control Server that receives the INVITE message returns a 200 message to the Control Cl ient, where the message carries an RTSP response parameter for performing RTSP channel negotiation and a media related response (answer) for performing media channel negotiation.
  • Step 203 Control C l ient sends an acknowledgement (ACK) message to the Cont rol Server, and establishes an RTSP channel with the Control Server;
  • ACK acknowledgement
  • Step 204 On the established RTSP channel, the Control Cl ient sends a PLAY control operation command to the Control Server, where the playback information of the streaming media is played, including: streaming media playback initial location information, or/and streaming media playback. End location information, or / and duration;
  • Step 205 The Control Server that receives the PLAY control operation command determines the streaming media to be played according to the playback information carried by the command, returns a 200 message to the Control CI ient, and establishes a media channel with the Control Server.
  • Step 206 The Control Server plays the determined streaming media to the Control Cl ient through the media channel.
  • the negotiation of the RTSP channel and the media channel is completed through the INVITE/200/ACK message in the SIP, and the RTSP channel is established after the negotiation is completed, and the control operation command of the streaming media is sent on the RTSP channel, for example: PLAY control operation
  • the command, the establishment of the media channel is executed after the RTSP message.
  • PLAY control operation command requires the Control Server to distribute the streaming media with the determined location or set duration to Control C. l ient , you only need to play streaming media through the media channel, without complicated control of the streaming media.
  • the establishment of the media channel must be performed after the RTSP channel is established, and the streaming media transmitted on the media channel is controlled through the RTSP channel, so that for simple streaming control, such as streaming or recording only. Control, without controlling the time-shifting operation of streaming media, It is still necessary to establish an RTSP channel, which will occupy the connection resources of the system and cause a waste of connection resources of the system.
  • the establishment of the RTSP channel needs to traverse the NASS, it will also waste resources on the NASS device.
  • the NASS needs to open the RTSP channel and the corresponding anti-aging operation will waste resources on the NASS device.
  • Step 301 The Control C l ient sends an INVITE message to the Cont rol Server, and carries the streaming media request information used for media channel negotiation.
  • Step 302 The Control Server that receives the INVITE message returns a 200 message to the Control Cl ient, where the message carries a stream-related answer for media channel negotiation.
  • Step 304 Contro Client performs a control operation on the streaming media, and sends a Re-INVITE message to the Cont rol Server, carrying the RTSP parameters for performing RTSP channel negotiation and the streaming media request information for media channel negotiation;
  • the streaming media request information for media channel negotiation is the same as that requested in step 301;
  • Step 305 The Control Server that receives the Re-INVITE message returns a 200 message to the Control C l ient, where the message carries the RTSP response parameter for performing the RTSP channel negotiation and the streaming media response information for performing the media channel negotiation.
  • the streaming media response information for media channel negotiation is the same as the response in step 302;
  • Step 306 Control C l ient sends an ACK message to the Control Server to establish an RTSP channel with the Control Server.
  • Step 307 on the established RTSP channel, Control Cl ient to Control Server Sending a PLAY control operation command, where the playback information of the streaming media to be played, including: streaming media playback initial location information, or/and streaming media playback end location information, or/and streaming media playback duration, and the like;
  • Step 308 The Control Server that receives the PLAY control operation command determines the streaming media to be played according to the playback information carried by the command, returns a 200 message to the Control Cl ient, and the Control Server determines to play the media channel established by the Step 303 by the Control Server. stream media.
  • the inventors have found that at least the following technical problems exist in the prior art: (1) As can be seen from FIG. 3, if the RTSP control channel is not established immediately after the initial SIP INVITE-200-ACK negotiation process Then, in the subsequent control of the streaming media transmitted by the media channel, the three-way handshake interaction of the SIP renegotiation and the establishment of the RTSP channel can be performed, which not only occupies the resources of the system, but also enables the flow transmitted on the media channel. The media's control response time is longer, which reduces the user's experience of receiving streaming media.
  • the RTSP control channel is established immediately after the initial INVITE-200-ACK negotiation process, but the user does not subsequently perform a streaming media control operation such as "fast forward" operation, the established RTSP After the channel is established, it is not used, which wastes system resources. If the RTSP channel also spans the NAT entity, it will also waste resources on the intermediate NAT entity.
  • Embodiments of the present invention provide a method for controlling streaming media, which can implement control of streaming media while reducing system resources and controlling reaction time.
  • Embodiments of the present invention also provide an apparatus for controlling streaming media, which can implement control of streaming media while reducing occupied system resources and controlling reaction time.
  • a method of controlling streaming media comprising:
  • the control server receives the streaming media control information during the SIP initial streaming media negotiation process with the control client, and controls the streaming media transmitted to the control client according to the streaming media control information.
  • An apparatus for implementing streaming media control the apparatus comprising a negotiation module and a receiving module, wherein the negotiation module is configured to negotiate the streaming media control information during the SIP initial streaming media negotiation process with the streaming media control; Receiving a streaming media that implements streaming media control.
  • An apparatus for implementing streaming media control includes a negotiation module and a sending module, wherein the negotiation module is configured to negotiate streaming media control information during a SIP initial streaming media negotiation process with a control client; and a sending module, configured to The streaming media control information negotiated by the negotiation module determines the streaming media to be transmitted and sends the streaming media to the controlling client.
  • the embodiment of the present invention does not need to establish a media control channel for controlling the streaming media when the complex control of the streaming media transmitted by the media channel is not required, but only controls the streaming media when performing SIP negotiation.
  • the information is sent to the Cont rol Server by the Cont rol CI ient.
  • the Control Server performs streaming control on the media channel according to the information, so that no resources need to be reserved for the media control channel, and the system resources and control reaction time are reduced. Realize the control of streaming media.
  • FIG. 1 is a schematic diagram of a service function architecture of an IMS-based IPTV service according to the prior art
  • FIG. 1 is a flow chart of a method for controlling streaming media in the prior art
  • FIG. 3 is a flow chart of a second method for controlling streaming media in the prior art
  • FIG. 4 is a flowchart of a method for controlling streaming media according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for controlling streaming media according to a specific embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for controlling streaming media according to a second embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a system for controlling streaming media according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a Cont rol Server for controlling streaming media according to an embodiment of the present invention.
  • the embodiment of the present invention does not need to perform complex control operations on the streaming media transmitted by the media channel, such as playing or recording control operations.
  • the media control channel is established to control the streaming media, and the streaming media control information is sent to the Control Server by the Control Cl ient only during the SIP negotiation, and the Control Server controls the streaming media on the media channel according to the information, thereby reducing The resources occupied by the media control channel and the time required to establish the media control channel.
  • the media control channel to be established may be negotiated in the SIP negotiation process, and when complex control is required on the streaming media, such as performing time shift operation (including fast forward and fast rewind of the streaming media) Or suspend control operations, etc., establish a media control channel according to the pre-negotiated media control channel parameters, and send control operation commands on the media control channel to control the streaming media transmitted in the media channel. In this way, control of the convective medium is achieved with reduced control reaction time.
  • the RTSP channel is used as a media control channel for detailed description.
  • the method provided by the embodiment of the present invention mainly includes: specifying streaming media control information, including streaming media identifiers to be played or recorded, and streaming media locations, etc., in the SIP initial streaming media negotiation process, without transmitting control through the established RTSP channel.
  • the operation command indicates that the RTSP channel is established by negotiation delay in the initial SIP media negotiation process. If both parties are accepted by the negotiation, the RTSP channel is not established immediately after the negotiation is completed, but only the media channel is established, and the negotiation delay is optionally established during the negotiation.
  • the time range of the RTSP channel is not specified by default.
  • the third technical feature is that the timing of establishing the RTSP channel depends on the Control Cl ient.
  • the Control CI ient receives complex control of the streaming media, and determines that only the RTSP message is received. The interaction can complete the control of the streaming media.
  • the RTSP channel is established according to the negotiated RTSP parameters in the SIP initial streaming negotiation process.
  • Step 401 A Control Pri sends an INVITE message, where the RTSP parameter used for negotiating a delay to establish an RTSP channel is used to negotiate to establish a media channel.
  • the streaming media control information is added to the INVITE message, and the streaming media control information is generally only preset.
  • Simple control of the streaming media such as playing or recording one or more of setting the initial position, ending position, and duration of the streaming media.
  • o alice 2890844526 2890844526 IN IP4 a. atlanta.
  • com II represents the session ID
  • the user name is Alice
  • the session ID is 2890844526
  • the version number is 2890844526
  • the network type is Internet
  • the address type is IPV4
  • the address is expressed in URI format.
  • C IN IP4 a. atlanta. example, com ⁇ connection information, where the network type is Internet, the address type is IPV4, and the address is a. atlanta. example, com
  • TCP/RTSP rtsp ⁇ indicates RTSP media control channel information, where application indicates that the media line is used for application, and 9 is a meaningless TCP default listening port (because the local end is the originating connection party, it is a dynamic port, so This parameter has no specific meaning. It is indicated later that the TCP connection is used for RTSP.
  • a fmtp: rtsp reques t-ur i: rts : //b. biloxi. exam le, com/ scene // indicates the server side address of rts (ie request-uri )
  • indicates that the local end supports delay establishment of RTSP channel mode.
  • a setup: active // indicates that the local end is the connection initiator.
  • m audio 6666 RTP/AVP 0 ⁇ Used to describe the media channel information, expressed as audio, receive media on port 6666, media type number is 0
  • the streaming media control information such as one or more of the streaming start position, the end position, and the duration of the playback is specified, so that The streaming media control information is sent to the Control Server directly during the SIP negotiation process without establishing an RTSP channel.
  • Step 402 The Control Server returns a 200 message, where the RTSP response parameter used to negotiate the delay to establish the RTSP channel, the flow-related answer used to negotiate the establishment of the media channel, and the control streaming media response information are carried.
  • the response carried by the 200 message may be (the SIP message part is not included in this embodiment, and only the SDP part is included):
  • V 0 ⁇ version number
  • s Streaming Session II session name is "Streaming Session”
  • i A Streaming session declared within the session description protocol
  • Session information is described as "streaming session using SDP"
  • C IN IP4 b. biloxi.
  • com ⁇ connection information, where the network type is Internet, the address type is IPV4, and the address is b. bi loxi.
  • com ⁇ connection information, where the network type is Internet, the address type is IPV4, and the address is b. bi loxi.
  • TCP/RTSP rtsp ⁇ indicates RTSP media control channel information, where application indicates that the media line is used for application, 554 is the TCP connection used by RTSP to connect to the local listening port, and the latter indicates that the TCP connection is used for RTSP.
  • a setup: passive // indicates that the local end is the receiving receiver.
  • a control: rtsp: //b. biloxi.
  • com/scene //RTSP control URI representing the URI of the local server
  • denotes RTP information related to RTSP controlled media sessions, such as the ssrc attribute.
  • Step 403 The Control Client sends an ACK message to the Control Server to indicate confirmation.
  • Step 404 The Control Server establishes a media channel according to the negotiated media channel information, and transmits the determined streaming media according to the established media channel according to the streaming media control information sent by the Control CI ient during the SIP initial streaming media negotiation process.
  • Step 405 The Control Client controls the streaming media transmitted by the media channel, and the control process needs to be completed by using the RTSP message, and then initiates the process of establishing the RTSP channel (if the RTSP channel is to be delayed), that is, according to the initial streaming media in the SIP.
  • a control operation command corresponding to the RTSP channel to be established and a control rule for the streaming media are preset in the Control Client.
  • the Control Client wants to control the streaming media, it is determined whether the control rule is met or not.
  • the set control operation command if yes, initiates the process of establishing an RTSP channel; if not, it does not.
  • the set control operation command corresponding to the RTSP channel to be established may be a fast reverse, fast forward, pause, record, etc. time shift control operation command, or a space shift control operation command for controlling the streaming media screen.
  • the set control rule corresponding to the streaming media to establish the RTSP channel may also be to change the location information of the streaming media currently played or recorded on the media channel.
  • Step 406 After the Control Client establishes the RTSP channel, the Control Client sends a control operation command to the Control Server for the streaming media transmitted by the media channel.
  • Step 407 After receiving the control operation command, the Control Server transmits the message to the media channel.
  • the input streaming media executes the control operation command and returns a 200 message.
  • the URI parameter is used to indicate that the flow control information is carried and carries the range feature information.
  • the specific meaning of the Range may refer to the RTSP definition of the header field in the RFC2326 standard, and generally indicates the initial location information of the broadcast or recorded streaming media. And ending the location information, and one or more of the streaming media duration, and the like.
  • the ABNF syntax of the header field relative to the RFC3261 standard can be defined as follows:
  • Ur i-parameters * ( "; " ur i-parameter)
  • Ur i-parameter transpor t-param / user-param method-pa ram
  • Ranges-list ranges-spec * (COMMA ranges-spec)
  • Ranges-spec npt-range / utc-range / smpte-range
  • Range- -value 1* (rtsp-unreserved / quoted-string / ": " )
  • the parameter of the SIP URI carries the playback location information (including the clock/time or the smpte or npt indication) of the streaming media, so that even if the Control Server does not support the RTSP at all, the RTSP parameter in the SIP cannot be identified. Or corresponding processing, it is also possible to locate the streaming media according to the SIP URI and start playing from the located location.
  • clock/time or smpte or npt is a representation of the clock.
  • Smpte Society of Motion Picture and Television Engineers
  • Smpte Society of Motion Picture and Television Engineers
  • Its representation of time war is: hour: minutes: seconds: f rames.
  • FIG. 5 is a flowchart of a method for implementing control flow media according to Embodiment 1 of the present invention.
  • the method is applied to an IMS-based IPTV service architecture, where a Control Cl ient is a UE and a Control Server is an MF.
  • a Control Cl ient is a UE
  • a Control Server is an MF.
  • the UE obtains the network side RTSP channel parameter in the acquired electronic program menu (EPG).
  • EPG electronic program menu
  • the media channel information may be carried in the I NV I TE message.
  • the UE does not need to establish an RTSP channel immediately between the MF and the MF.
  • the UE may only need to browse the COD content or start playing from the initial position of the TV program (TsTV service) in the INVITE message.
  • TsTV service TV program
  • the control needs to be completed after the RTSP channel is established.
  • the RTSP channel can be established by means of the pre-negotiated RTSP parameters and the stream transmitted through the media channel can be established thereon.
  • the media controls.
  • Step 501 The UE sends an INVITE message to the Core IMS, where the RTSP parameter used to negotiate the establishment of the RTSP channel, the media request information used to negotiate to establish the media channel, and the flow media control information are carried.
  • Step 502 The Core IMS and the Border Gateway Function Entity (BGF) perform resource reservation on the media resource according to the INVITE message.
  • BGF Border Gateway Function Entity
  • Step 503 The Core IMS forwards the INVITE message to the SCF.
  • Step 504 The SCF selects an MF that processes the INVITE message, and sends an INVITE to the selected MF. Message.
  • Step 505 After receiving the INVITE message, the MF processes, according to its own policy, an RTSP parameter carried in the message for negotiating a delay to establish an RTSP channel, media request information for negotiating to establish a media channel, and streaming media control information, and generates Negotiating the delay to establish the RTS response parameter of the RTSP channel, the streaming-related answer for negotiating the establishment of the media channel, and the control streaming response information are carried in 200 and sent to the SCF.
  • Step 506 The SCF forwards the 200 to the Core IMS.
  • Step 507 The Core IMS and the BGF perform resource reservation on the media resource according to the 200 message.
  • Step 508 The Core IMS forwards the 200 message to the UE.
  • Step 509 A media channel is established between the UE and the MF according to the negotiated media request information, and the MF transmits the corresponding streaming media to the UE through the media channel according to the negotiated control media information.
  • Step 510 The user performs a control operation on the streaming media received by the UE, and the UE determines that the control operation requires the RTSP message to complete, and then initiates the process of establishing the RTSP channel according to the negotiated RTSP parameter.
  • Step 511 The UE sends an RTSP message carrying a streaming media control operation command to the MF on the established RTSP channel, and controls the streaming media transmitted by the media channel.
  • Step 512 After the MF completes the control operation on the streaming media according to the RTSP message, the MF returns a control result to
  • the RTSP parameters and the streaming media control information carried in the INVITE message and the MF returned in the 200 message carrying the SDP description for carrying out the negotiation to delay the establishment of the RTSP channel are the same as those described in FIG. 4, and are not described here.
  • FIG. 6 is a flowchart of a method for implementing control flow media according to Embodiment 2 of the present invention.
  • the method is applied to an IMS-based IPTV service architecture, where Cont ro l C l ient is nPVR SCF and Cont ro l Server is nPVR MF. .
  • This embodiment implements personal video recording provided to the network. (nPVR, Ne twork Per sona l Video Recorder)
  • the control method of the service which uses the delay to establish the RTSP channel.
  • the nPVR SCF initiates a SIP session when the event is recorded according to the recording plan submitted by the UE.
  • the nPVR MF of the nPVR SCF is managed and the COD SCF for recording the streaming media is managed.
  • the negotiation between the media channel and the media control channel between the COD MFs after the negotiation of the media channel and the RTSP channel between the nPVR MF and the COD MF, the nPVR MF does not immediately establish an RTSP channel with the COD MF, so at this time Both are limited to very simple streaming recording control, nPVR MF only needs to receive streaming media and record locally. However, depending on the recording schedule, you may need to perform other control operations on the streaming media during recording or after recording.
  • the nPVR SCF when recording to a certain moment, start rewinding to a streaming media location and then re-recording.
  • the nPVR SCF will generate complex control of the streaming media according to the pre-recording plan.
  • the nPVR SCF will notify the event to the nPVR MF, and the nPVR MF will establish an RTSP channel between the negotiated RTSP channel parameters and the COD MF to complete the streaming media.
  • Complex control when recording to a certain moment, start rewinding to a streaming media location and then re-recording.
  • the nPVR SCF will generate complex control of the streaming media according to the pre-recording plan.
  • the nPVR SCF will notify the event to the nPVR MF, and the nPVR MF will establish an RTSP channel between the negotiated RTSP channel parameters and the COD MF to complete the streaming media.
  • Complex control when recording to a certain moment, start rewinding
  • Step 601 The nPVR SCF sends an S IP message to the nPVR MF, requesting an RTSP parameter for negotiating a delay to establish an RTSP channel, media request information for negotiating establishing a media channel, and streaming media control information.
  • Step 602 The nPVR MF returns an S IP response message to the nPVR according to the policy set by itself, and carries an RTSP parameter for negotiating a delay to establish an RTSP channel, media request information for negotiating establishing a media channel, and streaming media control information.
  • Step 603 The nPVR SCF initiates an initial IP media negotiation process to the COD SCF, that is, sends an S IP negotiation message, where the information carried in the S IP response message replied by the nPVR MF in step 602 is carried.
  • Step 604 The COD SCF forwards the S IP negotiation message to the COD MF.
  • Step 605 The COD MF generates an RTSP response parameter for negotiating a delay to establish an RTSP channel, a streaming media related answer for establishing a media channel, and a control streaming media response information according to the policy set by itself and the received SIP negotiation message. And returning an IP negotiation response message to the COD SCF, where the generated response information is carried.
  • Step 606 The COD SCF forwards the SIP negotiation response message to the nPVR SCF.
  • Step 607 The nPVR SCF sends an ACK message to the nPVR MF, and carries the information carried in the S IP negotiation response message in step 606.
  • Step 608 The nPVR MF notifies the nPVR that the SCF starts recording the streaming media transmitted by the established media channel according to the control streaming response information.
  • the COD MF can transmit the streaming media to the nPVR MF through the established media channel, and the nPVR MF locally records the transmitted streaming media.
  • Step 609 the nPVR SCF according to the set recording schedule or the recording operation received by the SSF, at some point in time, need to skip the current advertisement or irrelevant content, for example, a 10-minute event of the midfield break of the ball game, then determine the media channel.
  • the transmitted streaming media pauses for 10 minutes or fast forwards for 10 minutes.
  • the nRVR SCF notifies the nPVR MF that complex control of the streaming media transmitted through the media channel is required, and the RTSP channel needs to be initiated.
  • Step 610 The nPVR MF and the COD MF establish an RTSP channel of the RTSP channel according to the negotiated delay. After the RTSP channel is established, the control operation command for the streaming media is sent, such as sending the pause recording for 10 minutes or fast forwarding for 10 minutes, and then streaming the media again. For recording, the COD MF operates on the streaming media in accordance with the control operation commands.
  • Control Cl ient is nPVR MF and Control Server is COD MF.
  • the embodiment of the present invention further provides a system for implementing streaming media control. As shown in FIG. 7, the system includes: Control C l ient ⁇ Cont rol Server , where
  • the Control Cl ient and the Control Server negotiate the streaming media control information during the initial SIP media negotiation process, and the Control Server determines the transmission to be performed according to the negotiated streaming media control information.
  • Streaming media sent to Control Client.
  • the Control Client is a first Control Client
  • the Control Server is a first Control Server
  • the first Control Client negotiates for delay establishment in an initial SIP media negotiation process with the first Control Server.
  • Media control parameters of the media control channel after the first Control Client and the first Control Server delay the establishment of the media control channel according to the media control parameter, the first Control Client is on the established media control channel to the first Con tr 01 C 1 i en t sends a control operation command, and the first Con tro 1 Client receives the control operation command according to the media control channel established by the delay, and controls the streaming media transmitted through the media channel.
  • the flow control information exchanged between the Control CI ient and the Control Server is carried by the SIP message, and may be carried in the range field of the SIP message or carried in the URI of the SIP message.
  • the media control parameters used by the Control CI ient and the Control Server to delay the establishment of the media control channel are also carried through the SIP message.
  • the specific structure of the Control Client is as shown in FIG. 8, and includes a negotiation module 1 and a receiving module 2, wherein the negotiation module 1 negotiates the streaming media control information during the initial SIP media negotiation process with the Control Server; the receiving module 2 receives the Control Server. Streaming media sent.
  • the Control Client further includes a channel module 3 and a sending module 4, and the negotiation module 1 further negotiates media control for delaying establishment of a media control channel during a SIP initial streaming negotiation process with the Control Server.
  • the parameter is sent to the establishing channel module 3.
  • the establishing channel module 3 delays establishing the media control channel according to the received media control parameter, and the sending module 4 sends a control operation command on the established media control channel.
  • the specific structure of the Control Server is as shown in FIG. 9 , and includes a negotiation module 1 and a sending module 4, wherein the negotiation module 1 negotiates the streaming media control information to the sending module 4 during the initial SIP media negotiation process with the Control Client.
  • the sending module 4 determines the streaming media to be transmitted according to the received streaming media control information negotiated by the negotiating module 1 and sends the streaming media to the Control Client.
  • the flow media control information sent and received by the Control Client is carried by the SIP message, and may be carried in the range field of the SIP message or carried in the URI of the SIP message.
  • the media control parameters sent and received by the Control Client for delaying the establishment of the media control channel are also carried through the SIP message.
  • the Control Server further includes a receiving module 2 and an executing module 5, wherein the negotiating module 1 further negotiates media for delaying establishment of the media control channel during the initial SIP media negotiation process with the Control CI ient.
  • the control module 2 receives the control operation command sent by the Control Client through the media control channel that is delayed, and sends the control operation command to the execution module 5, and the execution module 5 performs the streaming media transmitted through the media channel according to the command received by the receiving module 1. control.
  • the flow media control information sent and received by the Control Server is carried by the SIP message, and can be carried in the range field of the SIP message or carried in the URI of the SIP message.
  • the media control parameters sent and received by the Control Server for delaying the establishment of the media control channel are also carried through the SIP message.
  • the embodiment of the present invention implements the control of the streaming media transmitted in the media channel by negotiating the streaming media control information in the SIP initial streaming media negotiation process. There is no need to separately establish a media control channel to control the streaming media.
  • a mechanism for establishing a media control channel by delaying negotiation in the initial SIP media negotiation process is extended. Then establish a media control channel. Until the subsequent control or complex operation of the streaming media, the media control channel is sent to control the streaming media transmitted by the media channel by establishing a media control channel after the media control parameters are negotiated in the initial SIP media negotiation process.
  • the media control parameters are negotiated in advance during the initial SIP media negotiation process to avoid excessive message interaction when the media control channel is subsequently established, which improves the response time of the control media stream and improves the user's response time.
  • the media control parameters are negotiated in advance during the initial SIP media negotiation process to avoid excessive message interaction when the media control channel is subsequently established, which improves the response time of the control media stream and improves the user's response time.

Abstract

The invention discloses a method and a device for controlling streaming media. The method includes: controlling server to receive streaming media control message through the SIP initial streaming media negotiation, via which transmitting the streaming media to client. The invention decreases occupancy of the system resource and the answering time, and achieves controlling the streaming media.

Description

一种控制流媒体的方法及装置 技术领域  Method and device for controlling streaming media
本发明涉及通信网络中的流媒体业务, 特别涉及一种控制流媒体的方法 及装置。  The present invention relates to streaming media services in a communication network, and in particular, to a method and apparatus for controlling streaming media.
背景技术 Background technique
流媒体业务是近几年迅速发展的一种新业务, 该业务利用流式传输技术, 在包交换网络上, 如 IMS 网络上传输多媒体文件, 包括视频和音频等文件内 容, 这些文件内容不需要用户设备 (UE, User Equipment )在访问时完全下 载就可以立即播放。 流媒体业务实现的关键技术就是流式传输技术, 而流式 传输技术把连续的视频和音频等文件内容经过处理后存储在包交换网络中的 服务器上, 使 UE可以访问该服务器, 一边下载文件内容, 一边观看收听文件 内容, 而不需要等整个文件内容都下载后才可以观看收听文件内容。  The streaming media service is a new service that has developed rapidly in recent years. The service uses streaming technology to transmit multimedia files, including video and audio files, on a packet-switched network, such as an IMS network. The user equipment (UE, User Equipment) can be played immediately after being completely downloaded. The key technology for streaming media service implementation is streaming technology. Streaming technology processes continuous video and audio files and stores them on servers in the packet switching network, so that UEs can access the server and download files. Content, while listening to the contents of the file, you do not need to wait until the entire file content is downloaded before you can watch the contents of the file.
在 3GPP版本 5 (R5, Release )阶段, 引入了 IMS, IMS叠加在分组域网络 之上, 由呼叫控制功能 (CSCF, Call Session Control Function), 媒体网 关控制功能(MGCF, Media Gateway Control Function ), 媒体资源功能(MRF, Media Resource Function )和归属签约用户服务器 ( HSS, Home Subscriber Server )等功能实体组成。 其中 CSCF又可以分为服务 CSCF ( S-CSCF )、 代理 CSCF ( P-CSCF )和查询 CSCF ( I-CSCF ) 三个逻辑实体。 S-CSCF是 IMS的业务 交换中心, 执行会话控制, 维持会话状态, 负责管理 UE信息, 产生计费信息 等; P-CSCF是 UE接入 IMS的接入点, 完成 UE注册, 负责服务质量(QoS)控 制和安全管理等; I-CSCF负责 IMS域之间的互通,管理 S-CSCF的分配和选择, 对外隐藏网络拓朴和配置, 产生计费数据等。 MGCF控制网关, 实现 IMS和其 它网络的互通。 MRF提供媒体资源。 HSS存储 UE的签约数据和配置信息等。 IMS 网络主要釆用会话发起协议(SIP, Session Initial Protocol ) 以及直 径 ( Diameter )协议等。 SIP是一个应用层的控制协议, 可以用来建立、修改和终止多媒体会话或 会议, SIP也支持邀请参与者参加已经存在的会话, 比如多方会议。 In the 3GPP Release 5 (R5, Release) phase, IMS is introduced. The IMS is superimposed on the packet domain network, and is called a Call Control Function (CSCF), and a Media Gateway Control Function (MGCF). A media resource function (MRF) and a functional entity such as a Home Subscriber Server (HSS). The CSCF can be divided into three logical entities: the service CSCF (S-CSCF), the proxy CSCF (P-CSCF), and the query CSCF (I-CSCF). The S-CSCF is a service switching center of the IMS, performs session control, maintains session state, is responsible for managing UE information, and generates charging information. The P-CSCF is an access point for the UE to access the IMS, completes UE registration, and is responsible for quality of service ( QoS) control and security management; The I-CSCF is responsible for interworking between IMS domains, managing the allocation and selection of S-CSCFs, hiding network topology and configuration, and generating billing data. The MGCF controls the gateway to implement interworking between the IMS and other networks. MRF provides media resources. The HSS stores subscription data, configuration information, and the like of the UE. The IMS network mainly uses the Session Initiation Protocol (SIP) and the Diameter protocol. SIP is an application layer control protocol that can be used to establish, modify, and terminate multimedia sessions or conferences. SIP also supports inviting participants to participate in existing sessions, such as multiparty conferences.
实时流协议 ( RTSP , Rea l Time Streaming Protocol )是应用级协议, 控制实时数据的发送, 主要用于流媒体业务的实时数据发送。 RTSP提供一种 可扩展框架, 进行实时数据, 如音频与视频的受控传送以及点播传送。 RTSP 目的在于控制多个数据传送会话, 提供选择传送通道的方法, 提供基于实时 传输协议(RTP, Rea l Time Transpor t Protocol )选择传输机制的方法。  RTA (Rea l Time Streaming Protocol) is an application-level protocol that controls the transmission of real-time data and is mainly used for real-time data transmission of streaming media services. RTSP provides an extensible framework for real-time data such as controlled delivery of audio and video as well as on-demand delivery. The purpose of the RTSP is to control multiple data transfer sessions, provide a method for selecting a transport channel, and provide a method for selecting a transport mechanism based on the Real Time Transport Protocol (RTP, Rea l Time Transpor Protocol).
RTSP对流媒体可以提供专业化的支持, 但是在一些基本功能上同 SIP有 重叠, 因为 SIP具有良好的路由、 易扩展、 移动性支持和会话支持功能, 同 时 SIP +业务发现功能实体 ( SDP, Ses s ion Descr ipt ion Protocol )可以提 供一些基础的流媒体控制功能, 因此目前提出釆用通过 SIP协商媒体控制通 道方式来协商 RTSP通道, 这样既可以利用 SIP已有的功能, 同时又可以利用 专业化的媒体控制操作在协商的 RTSP通道进行专门的媒体控制操作, 避免对 RTSP进行同 SIP已有功能重复的扩展。  RTSP can provide professional support for streaming media, but it overlaps with SIP in some basic functions, because SIP has good routing, easy extension, mobility support and session support functions, and SIP + service discovery functional entity (SDP, Ses) The s ion Descr ipt ion protocol can provide some basic streaming control functions. Therefore, it is proposed to negotiate the RTSP channel through the SIP negotiation media control channel mode, so that the existing functions of the SIP can be utilized, and the specialization can be utilized. The media control operation performs a dedicated media control operation on the negotiated RTSP channel, avoiding the extension of the RTSP with the existing functions of the SIP.
基于 IMS的因特网协议电视 ( IPTV, IP Televi s ion )业务就是在 IMS整 体架构下提供 IPTV业务, 充分利用 IMS网络中已有的注册、 认证、 路由、 会 话控制与建立、业务触发、计费、端到端服务质量(QoS , Qua l i ty of Service ) 保证等机制来为 UE提供流媒体业务及融合流媒体和实时会话业务的流媒体业 务。 也就是说, UE到内容的多媒体会话是通过 IMS已有的会话控制机制来完 成, 在建立会话过程中, 需要为流媒体的传送预留承载资源。  The IMS-based Internet Protocol Television (IPTV) service provides IPTV services under the overall IMS architecture, making full use of the existing registration, authentication, routing, session control and establishment, service triggering, and charging in the IMS network. End-to-end QoS (QoS) guarantees mechanisms to provide streaming media services and streaming media services for streaming media and real-time session services. That is to say, the UE-to-content multimedia session is completed through the existing session control mechanism of the IMS. During the establishment of the session, the bearer resource needs to be reserved for the transmission of the streaming media.
图 1为现有技术基于 IMS的 IPTV业务的业务功能架构示意图,其中, IPTV 媒体功能实体(MF, Media Funct ion ) 负责通过 IMS到 UE的流媒体的控制和 交付。 IPTV Media Funct ion从功能角度可以分解为媒体控制功能实体(MCF, Media Control Funct ion ) 和媒体交付功能实体 ( MDF , Media Del ivery Funct ion )。 MDF通常为一些媒体服务器, 在 MCF的控制下向 UE传输流媒体, MCF还能接收和处理由 UE发送的控制操作命令,这些命令通常釆用 RTSP实现, 例如流媒体的快进、后退、暂停和定位等操作命令等。 IPTV业务控制功能( IPTV Service Control Functions )用于在通过核心 (Core ) IMS接收到 UE发送的 IPTV业务请求时, 为 UE选择 MF进行处理, Core IMS可以为 UE的 IPTV业务 预留资源。该图 1中还包括与 UE相连接的用户签约服务功能实体(UPSF, User Profile Server Function), 用于存储 UE的签约信息; 业务单信息功能实体 ( SSF, Service Selection Function), 用于给 UE提供可浏览和选择的业务 单信息。 在 UE和 IPTV MF和 UE之前还包括传送层 (Transport Processing Functions ), 其中包括传送控制子层以及传送功能实体, 用于使用 IMS Core 预留的承载资源釆用组播方式传输 LTV业务的流媒体, 在传送层和 Core IMS 之间还包括网络附着子系统 (NASS, Network Attachment Subsystem) 以及 资源和允许控制子系统 ( RACS, Resource and Adission Control Subsystem )。 1 is a schematic diagram of a service function architecture of an IMS-based IPTV service in the prior art, in which an IPTV media function entity (MF, Media Funct ion) is responsible for controlling and delivering streaming media through the IMS to the UE. IPTV Media Function can be decomposed into a Media Control Function (MCF) and a Media Delivery Function (MDF) from a functional perspective. The MDF is usually a media server that transmits streaming media to the UE under the control of the MCF. The MCF can also receive and process control operation commands sent by the UE. These commands are usually implemented by RTSP. For example, operational commands such as fast forward, backward, pause, and position of streaming media. The IPTV Service Control Functions are used to process the MF for the UE when receiving the IPTV service request sent by the UE through the Core (IMS) IMS. The Core IMS may reserve resources for the IPTV service of the UE. The Figure 1 also includes a User Profile Server Function (UPSF) that is connected to the UE, and is used to store the subscription information of the UE. The Service Selection Function (SSF) is used to send the UE. Provide business order information that can be browsed and selected. Before the UE and the IPTV MF and the UE, a transport processing function is further included, which includes a transport control sublayer and a transport function entity, which is used to transmit the broadcast media of the LTV service by using the bearer resource reserved by the IMS Core. Between the transport layer and the Core IMS, a Network Attachment Subsystem (NASS) and a Resource and Adission Control Subsystem (RACS) are also included.
在现有技术中, RTSP被选择用来实现流媒体的控制, 同时也具有一些会 话控制功能和媒体控制功能, 在遇到新的对流媒体控制时, 通常就是对 RTSP 进行扩展, 但引入的扩展通常在 SIP 已经定义, 从而造成功能重复, 在同时 存在两种协议共同工作的场合下还可能发生冲突。  In the prior art, RTSP is selected to implement streaming media control, and also has some session control functions and media control functions. When encountering new convective media control, it is usually extended to RTSP, but the introduced extension Usually defined in SIP, causing duplication of functions, and conflicts may occur in the case where both protocols work together.
目前,为了对流媒体进行控制,首先,需要在控制客户端( Control Client ) 和控制服务器(Control Server )之间釆用 SIP协议消息协商 RTSP通道和媒 体通道; 然后, 在根据协商建立的 RTSP通道上对流媒体进行控制; 最后, 协 商建立的媒体通道根据在 RTSP 通道对流媒体的控制传输流媒体。 其中, Control Client可以为 UE; Control Server可以是 MCF或 MF。 RTSP通道用 于完成对流媒体的控制, 而 RTSP定义的建立 ( SETUP )消息、通告 ( ANNOUNCE ) 消息、 描述 (DESCRIBE ) 消息以及卸载 ( TEARD0WN ) 消息均可由 SIP协商过 程替代。  Currently, in order to control the streaming media, first, the SIP protocol message needs to be used to negotiate the RTSP channel and the media channel between the Control Client and the Control Server; and then, on the RTSP channel established according to the negotiation. The streaming media is controlled; finally, the negotiated media channel transmits the streaming media according to the control of the streaming media on the RTSP channel. The Control Client can be a UE; the Control Server can be an MCF or an MF. The RTSP channel is used to complete the control of the streaming media, and the RTSP defined SETUP message, ANNOUNCE message, description (DESCRIBE) message, and offload (TEARD0WN) message can all be replaced by the SIP negotiation process.
图 1 为现有技术对流媒体进行控制的方法一流程图, 涉及的网络实体包 括 Control CI ient以及 Control Server, 其具体步骤为:  FIG. 1 is a flowchart of a method for controlling streaming media in the prior art, and the network entities involved include a Control CI ient and a Control Server, and the specific steps are as follows:
步骤 201、 Control Client向 Control Server发送访问 ( INVITE )消息, 携带用于进行 RTSP通道协商的 RTSP参数以及进行媒体通道协商的流媒体请 求信息; Step 201: The Control Client sends an access (INVITE) message to the Control Server. Carrying RTSP parameters for performing RTSP channel negotiation and streaming media request information for media channel negotiation;
步骤 202、 接收到该 INVITE消息的 Control Server向 Control Cl ient 返回 200消息, 该消息携带进行 RTSP通道协商的 RTSP响应参数以及进行媒 体通道协商的流媒体相关的响应 ( answer );  Step 202: The Control Server that receives the INVITE message returns a 200 message to the Control Cl ient, where the message carries an RTSP response parameter for performing RTSP channel negotiation and a media related response (answer) for performing media channel negotiation.
步骤 203、 Control C l ient向 Cont rol Server发送确认( ACK ) 消息, 建立与 Control Server之间的 RTSP通道;  Step 203: Control C l ient sends an acknowledgement (ACK) message to the Cont rol Server, and establishes an RTSP channel with the Control Server;
步骤 204、 在建立的 RTSP通道上, Control Cl ient 向 Control Server 发送播放(PLAY )控制操作命令, 其中携带要播放流媒体的播放信息, 包括: 流媒体播放初始位置信息、 或 /和流媒体播放结束位置信息、 或 /和持续时长 等信息;  Step 204: On the established RTSP channel, the Control Cl ient sends a PLAY control operation command to the Control Server, where the playback information of the streaming media is played, including: streaming media playback initial location information, or/and streaming media playback. End location information, or / and duration;
步骤 205、 接收到 PLAY控制操作命令的 Control Server根据该命令携带 的播放信息确定要播放的流媒体, 向 Control CI ient返回 200消息, 建立与 Control Server之间的媒体通道;  Step 205: The Control Server that receives the PLAY control operation command determines the streaming media to be played according to the playback information carried by the command, returns a 200 message to the Control CI ient, and establishes a media channel with the Control Server.
步骤 206、 Control Server通过媒体通道向 Control Cl ient播放确定的 流媒体。  Step 206: The Control Server plays the determined streaming media to the Control Cl ient through the media channel.
在该实施例中, 通过 SIP中的 INVITE/200/ACK消息完成 RTSP通道和媒 体通道的协商, 协商完成后建立 RTSP通道, 在该 RTSP通道上发送对流媒体 的控制操作命令, 例如: PLAY控制操作命令, 媒体通道的建立在 RTSP消息之 后被执行。 但是, 对于某些流媒体的控制, 开始时并不需要对流媒体进行复 杂控制,而只需要简单控制,例如使用 PLAY控制操作命令要求 Control Server 将确定位置或设定时长的流媒体分发给 Control C l ient , 此时只需要通过媒 体通道播放流媒体即可, 而无需对播放的流媒体进行复杂控制。  In this embodiment, the negotiation of the RTSP channel and the media channel is completed through the INVITE/200/ACK message in the SIP, and the RTSP channel is established after the negotiation is completed, and the control operation command of the streaming media is sent on the RTSP channel, for example: PLAY control operation The command, the establishment of the media channel is executed after the RTSP message. However, for some streaming media control, there is no need to perform complex control on the streaming media at first, but only simple control. For example, using the PLAY control operation command requires the Control Server to distribute the streaming media with the determined location or set duration to Control C. l ient , you only need to play streaming media through the media channel, without complicated control of the streaming media.
在图 1中要求媒体通道的建立必须在建立 RTSP通道之后进行, 并且通过 RTSP通道对在媒体通道传输的流媒体进行控制,这样对于简单的流媒体控制, 如仅仅进行流媒体的播放或录制的控制, 而不对流媒体进行时移操作的控制, 仍然需要建立 RTSP通道, 这会占用系统的连接资源, 造成系统的连接资源浪 费。 In Figure 1, the establishment of the media channel must be performed after the RTSP channel is established, and the streaming media transmitted on the media channel is controlled through the RTSP channel, so that for simple streaming control, such as streaming or recording only. Control, without controlling the time-shifting operation of streaming media, It is still necessary to establish an RTSP channel, which will occupy the connection resources of the system and cause a waste of connection resources of the system.
同时, 因为建立 RTSP通道需要穿越 NASS , 这也会浪费在 NASS设备上的 资源, 例如 NASS需要进行打开 RTSP通道以及相应的防止老化操作时会浪费 在 NASS设备上的资源。  At the same time, because the establishment of the RTSP channel needs to traverse the NASS, it will also waste resources on the NASS device. For example, the NASS needs to open the RTSP channel and the corresponding anti-aging operation will waste resources on the NASS device.
在现有技术中, 还有一种方法可以实现对流媒体的控制, 如图 3 所示, 其具体步骤为:  In the prior art, there is another method for implementing control of the streaming media, as shown in FIG. 3, the specific steps are as follows:
步骤 301、 Control C l ient向 Cont rol Server发送 INVITE消息, 携带 用于进行媒体通道协商的流媒体请求信息;  Step 301: The Control C l ient sends an INVITE message to the Cont rol Server, and carries the streaming media request information used for media channel negotiation.
步骤 302、 接收到该 INVITE消息的 Control Server向 Control Cl ient 返回 200消息, 该消息携带用于进行媒体通道协商的流媒体相关的 answer ; 步骤 303、 Control Cl ient向 Control Server发送 ACK消息, 建立媒体 通道;  Step 302: The Control Server that receives the INVITE message returns a 200 message to the Control Cl ient, where the message carries a stream-related answer for media channel negotiation. Step 303: Control Cl ient sends an ACK message to the Control Server to establish a media. aisle;
步骤 304、 Contro Cl ient要对流媒体进行控制操作,则向 Cont rol Server 发送再次访问 (Re-INVITE )消息, 携带用于进行 RTSP通道协商的 RTSP参数 以及进行媒体通道协商的流媒体请求信息;  Step 304: Contro Client performs a control operation on the streaming media, and sends a Re-INVITE message to the Cont rol Server, carrying the RTSP parameters for performing RTSP channel negotiation and the streaming media request information for media channel negotiation;
在本步骤中, 进行媒体通道协商的流媒体请求信息与步骤 301 中请求的 相同;  In this step, the streaming media request information for media channel negotiation is the same as that requested in step 301;
步骤 305、 接收到该 Re- INVITE消息的 Control Server向 Control C l ient 返回 200消息, 该消息携带进行 RTSP通道协商的 RTSP响应参数以及进行媒 体通道协商的流媒体响应信息;  Step 305: The Control Server that receives the Re-INVITE message returns a 200 message to the Control C l ient, where the message carries the RTSP response parameter for performing the RTSP channel negotiation and the streaming media response information for performing the media channel negotiation.
在本步骤中, 进行媒体通道协商的流媒体响应信息与步骤 302 中响应的 相同;  In this step, the streaming media response information for media channel negotiation is the same as the response in step 302;
步骤 306、 Control C l ient 向 Control Server发送 ACK消息, 建立与 Control Server之间的 RTSP通道;  Step 306: Control C l ient sends an ACK message to the Control Server to establish an RTSP channel with the Control Server.
步骤 307、 在建立的 RTSP通道上, Control Cl ient 向 Control Server 发送 PLAY控制操作命令, 其中携带要播放流媒体的播放信息, 包括: 流媒体 播放初始位置信息、 或 /和流媒体播放结束位置信息、 或 /和流媒体播放持续 时长等信息; Step 307, on the established RTSP channel, Control Cl ient to Control Server Sending a PLAY control operation command, where the playback information of the streaming media to be played, including: streaming media playback initial location information, or/and streaming media playback end location information, or/and streaming media playback duration, and the like;
步骤 308、 接收到 PLAY控制操作命令的 Control Server根据该命令携带 的播放信息确定要播放的流媒体, 向 Control Cl ient返回 200消息, Control Server向 Control Cl ient通过步骤 303建立的媒体通道播放确定的流媒体。  Step 308: The Control Server that receives the PLAY control operation command determines the streaming media to be played according to the playback information carried by the command, returns a 200 message to the Control Cl ient, and the Control Server determines to play the media channel established by the Step 303 by the Control Server. stream media.
在实现本发明的过程中, 发明人发现, 现有技术中至少存在以下技术问 题: (1)从图 3可以看出, 如果在初始 SIP INVITE-200-ACK协商过程后没有 立刻建立 RTSP控制通道, 那么在后续需要对媒体通道传输的流媒体进行控制 时, 需要进行 SIP重协商的三次握手交互以及建立 RTSP通道后才能进行, 这 不仅占用了系统的资源, 而且使对在媒体通道传输的流媒体的控制反应时间 较长, 降低了用户接收流媒体的体验度。  In the process of implementing the present invention, the inventors have found that at least the following technical problems exist in the prior art: (1) As can be seen from FIG. 3, if the RTSP control channel is not established immediately after the initial SIP INVITE-200-ACK negotiation process Then, in the subsequent control of the streaming media transmitted by the media channel, the three-way handshake interaction of the SIP renegotiation and the establishment of the RTSP channel can be performed, which not only occupies the resources of the system, but also enables the flow transmitted on the media channel. The media's control response time is longer, which reduces the user's experience of receiving streaming media.
(2)从图 2可以看出, 如果在初始 INVITE-200-ACK协商过程后立刻建立 RTSP控制通道, 但用户随后并未进行过流媒体控制操作例如 "快进" 操作, 此建立了的 RTSP通道建立后未被使用, 浪费了系统资源; 如果该 RTSP通道 还跨越过 NAT实体, 还会在中间 NAT实体上浪费资源。  (2) As can be seen from Fig. 2, if the RTSP control channel is established immediately after the initial INVITE-200-ACK negotiation process, but the user does not subsequently perform a streaming media control operation such as "fast forward" operation, the established RTSP After the channel is established, it is not used, which wastes system resources. If the RTSP channel also spans the NAT entity, it will also waste resources on the intermediate NAT entity.
发明内容 Summary of the invention
本发明实施例提供一种控制流媒体的方法, 该方法能够在减少占用系统 资源和控制反应时间的情况下实现对流媒体的控制。  Embodiments of the present invention provide a method for controlling streaming media, which can implement control of streaming media while reducing system resources and controlling reaction time.
本发明实施例还提供一种控制流媒体的装置, 该装置能够在减少占用系 统资源和控制反应时间的情况下实现对流媒体的控制。  Embodiments of the present invention also provide an apparatus for controlling streaming media, which can implement control of streaming media while reducing occupied system resources and controlling reaction time.
根据上述目的, 本发明实施例的技术方案是这样实现的:  According to the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
一种控制流媒体的方法, 该方法包括:  A method of controlling streaming media, the method comprising:
控制服务器在与控制客户端的会话初始协议 SIP初始流媒体协商过程中 接收到流媒体控制信息, 根据该流媒体控制信息控制传输给控制客户端的流 媒体。 一种实现流媒体控制的装置, 该装置包括协商模块和接收模块, 其中, 协商模块, 用于在和实现流媒体控制的进行 SIP初始流媒体协商过程中 协商流媒体控制信息; 接收模块, 用于接收实现流媒体控制的发送的流媒体。 The control server receives the streaming media control information during the SIP initial streaming media negotiation process with the control client, and controls the streaming media transmitted to the control client according to the streaming media control information. An apparatus for implementing streaming media control, the apparatus comprising a negotiation module and a receiving module, wherein the negotiation module is configured to negotiate the streaming media control information during the SIP initial streaming media negotiation process with the streaming media control; Receiving a streaming media that implements streaming media control.
一种实现流媒体控制的装置, 该装置包括协商模块和发送模块, 其中, 协商模块, 用于在和控制客户端进行 SIP初始流媒体协商过程中协商流 媒体控制信息; 发送模块, 用于根据协商模块协商的流媒体控制信息确定要 传输的流媒体, 发送给控制客户端。  An apparatus for implementing streaming media control, the apparatus includes a negotiation module and a sending module, wherein the negotiation module is configured to negotiate streaming media control information during a SIP initial streaming media negotiation process with a control client; and a sending module, configured to The streaming media control information negotiated by the negotiation module determines the streaming media to be transmitted and sends the streaming media to the controlling client.
从上述方案可以看出, 本发明实施例在不需要对媒体通道传输的流媒体 进行复杂控制时, 就不建立媒体控制通道用于对流媒体进行控制, 而只在进 行 SIP协商时将流媒体控制信息由 Cont rol CI ient发送给 Cont rol Server , 由 Control Server根据该信息在媒体通道上进行流媒体控制, 从而不需要给 媒体控制通道预留资源, 在减少占用系统资源和控制反应时间的情况下实现 对流媒体的控制。  It can be seen from the foregoing solution that the embodiment of the present invention does not need to establish a media control channel for controlling the streaming media when the complex control of the streaming media transmitted by the media channel is not required, but only controls the streaming media when performing SIP negotiation. The information is sent to the Cont rol Server by the Cont rol CI ient. The Control Server performs streaming control on the media channel according to the information, so that no resources need to be reserved for the media control channel, and the system resources and control reaction time are reduced. Realize the control of streaming media.
附图说明 DRAWINGS
图 1为现有技术基于 IMS的 IPTV业务的业务功能架构示意图;  1 is a schematic diagram of a service function architecture of an IMS-based IPTV service according to the prior art;
图 1为现有技术对流媒体进行控制的方法一流程图;  1 is a flow chart of a method for controlling streaming media in the prior art;
图 3为现有技术对流媒体进行控制的方法二流程图;  3 is a flow chart of a second method for controlling streaming media in the prior art;
图 4为本发明实施例控制流媒体的方法流程图;  4 is a flowchart of a method for controlling streaming media according to an embodiment of the present invention;
图 5为本发明具体实施例一控制流媒体的方法流程图;  FIG. 5 is a flowchart of a method for controlling streaming media according to a specific embodiment of the present invention; FIG.
图 6为本发明具体实施例二控制流媒体的方法流程图;  6 is a flowchart of a method for controlling streaming media according to a second embodiment of the present invention;
图 7为本发明实施例控制流媒体的系统示意图;  7 is a schematic diagram of a system for controlling streaming media according to an embodiment of the present invention;
图 8为本发明实施例控制流媒体的 Cont rol Cl ient示意图;  8 is a schematic diagram of Cont rol Cl ient for controlling streaming media according to an embodiment of the present invention;
图 9为本发明实施例控制流媒体的 Cont rol Server示意图。  FIG. 9 is a schematic diagram of a Cont rol Server for controlling streaming media according to an embodiment of the present invention.
具体实施方式 detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面结合附图对本发明 实施例作进一步的详细描述。 为了能够在减少占用系统资源和减少控制反应时间的情况下实现对流媒 体的控制, 本发明实施例在不需要对媒体通道传输的流媒体进行复杂控制操 作时, 如播放或录制控制操作, 就不建立媒体控制通道用于对流媒体进行控 制, 而只在进行 SIP 协商时将流媒体控制信息由 Control Cl ient 发送给 Control Server , 由 Control Server根据该信息在媒体通道上进行流媒体的 控制, 从而减少了建立媒体控制通道占用的资源以及建立媒体控制通道所需 要的时间。 The embodiments of the present invention are further described in detail below with reference to the accompanying drawings. In order to realize the control of the streaming media in the case of reducing the occupied system resources and reducing the control reaction time, the embodiment of the present invention does not need to perform complex control operations on the streaming media transmitted by the media channel, such as playing or recording control operations. The media control channel is established to control the streaming media, and the streaming media control information is sent to the Control Server by the Control Cl ient only during the SIP negotiation, and the Control Server controls the streaming media on the media channel according to the information, thereby reducing The resources occupied by the media control channel and the time required to establish the media control channel.
更进一步地, 本发明实施例还可以在 SIP协商过程中对要建立的媒体控 制通道进行协商, 当需要对流媒体进行复杂控制时, 如进行时移操作时 (包 括对流媒体进行快进、 快退或暂停等控制操作 ), 根据预先协商好的媒体控制 通道参数建立媒体控制通道, 在媒体控制通道上发送控制操作命令, 控制在 媒体通道传输的流媒体。 这样, 在减少了控制反应时间的情况下实现对流媒 体的控制。  Further, in the embodiment of the present invention, the media control channel to be established may be negotiated in the SIP negotiation process, and when complex control is required on the streaming media, such as performing time shift operation (including fast forward and fast rewind of the streaming media) Or suspend control operations, etc., establish a media control channel according to the pre-negotiated media control channel parameters, and send control operation commands on the media control channel to control the streaming media transmitted in the media channel. In this way, control of the convective medium is achieved with reduced control reaction time.
在本发明实施例中, 釆用 RTSP通道作为媒体控制通道进行详细的说明。 本发明实施例提供的方法主要包括: 在 SIP初始流媒体协商过程中指定 流媒体控制信息, 包括要播放或录制的流媒体标识以及流媒体位置等信息, 而不通过建立的 RTSP通道上发送控制操作命令指示; 在 SIP初始流媒体协商 过程中协商延迟建立 RTSP通道, 如果协商双方都接受, 则在协商完成后不立 刻建立 RTSP通道, 而只建立媒体通道, 协商过程中可选地协商延迟建立 RTSP 通道的时间范围, 缺省为不指定时间范围; 第三个技术特征, RTSP通道的建 立时机依靠 Control Cl ient的决定, 例如, Control CI ient接收到对流媒体 的复杂控制, 确定只有通过 RTSP消息交互才能完成本次对流媒体的控制, 此 时则根据在 SIP初始流媒体协商过程中协商好的 RTSP参数建立 RTSP通道。  In the embodiment of the present invention, the RTSP channel is used as a media control channel for detailed description. The method provided by the embodiment of the present invention mainly includes: specifying streaming media control information, including streaming media identifiers to be played or recorded, and streaming media locations, etc., in the SIP initial streaming media negotiation process, without transmitting control through the established RTSP channel. The operation command indicates that the RTSP channel is established by negotiation delay in the initial SIP media negotiation process. If both parties are accepted by the negotiation, the RTSP channel is not established immediately after the negotiation is completed, but only the media channel is established, and the negotiation delay is optionally established during the negotiation. The time range of the RTSP channel is not specified by default. The third technical feature is that the timing of establishing the RTSP channel depends on the Control Cl ient. For example, the Control CI ient receives complex control of the streaming media, and determines that only the RTSP message is received. The interaction can complete the control of the streaming media. At this time, the RTSP channel is established according to the negotiated RTSP parameters in the SIP initial streaming negotiation process.
图 4为本发明实施例控制流媒体的方法流程图, 其具体步骤为: 步骤 401、 Control Cl ient发送 INVITE消息, 其中携带用于协商延迟建 立 RTSP通道的 RTSP参数、 用于协商建立媒体通道的媒体请求信息以及流媒 体控制信息。 4 is a flowchart of a method for controlling a streaming media according to an embodiment of the present invention. The specific steps are as follows: Step 401: A Control Pri sends an INVITE message, where the RTSP parameter used for negotiating a delay to establish an RTSP channel is used to negotiate to establish a media channel. Media request information and streaming media Body control information.
在本步骤中, 为了实现不经过 RTSP通道的对流媒体的控制操作命令就对 媒体通道的流媒体进行控制, 所以在 INVITE消息中增加了流媒体控制信息, 该流媒体控制信息一般只是预先设定的对流媒体进行简单控制的信息, 如播 放或录制设定初始位置、 结束位置和持续时长的流媒体中的一种或多种等。  In this step, in order to control the streaming media of the media channel without the control operation command of the streaming media that does not pass through the RTSP channel, the streaming media control information is added to the INVITE message, and the streaming media control information is generally only preset. Simple control of the streaming media, such as playing or recording one or more of setting the initial position, ending position, and duration of the streaming media.
例如 INVITE消息可以为(该实施例没有 SIP消息部分,只包括 SDP部分): v=0 〃版本号  For example, the INVITE message may be (the embodiment does not have a SIP message part, only the SDP part is included): v=0 〃 version number
o=alice 2890844526 2890844526 IN IP4 a. atlanta. example. com II 表示会话标识, 用户名为 Alice, session ID 为 2890844526, 版本号为 2890844526, 网络类型为 Internet, 地址类型为 IPV4, 地址为用 URI形式表 述的 a. atlanta. example, com  o=alice 2890844526 2890844526 IN IP4 a. atlanta. example. com II represents the session ID, the user name is Alice, the session ID is 2890844526, the version number is 2890844526, the network type is Internet, the address type is IPV4, and the address is expressed in URI format. a. atlanta. example, com
s=Streaming Session //session 名字为 " Streaming s=Streaming Session //session name is "Streaming"
Sess ion" Sess ion"
i=A Streaming sess ion declared within the sess ion description protocol 〃会话信息描述为 "流媒体会话釆用 SDP进行描述"  i=A Streaming sess ion declaration within the sess ion description protocol 〃 session information is described as "streaming session session using SDP"
c=IN IP4 a. atlanta. example, com 〃连接信息, 其中网络类型为 Internet , 地址类型为 IPV4,地址为 a. atlanta. example, com  C=IN IP4 a. atlanta. example, com 〃 connection information, where the network type is Internet, the address type is IPV4, and the address is a. atlanta. example, com
t=0 0 〃媒体会话开始和结束时间都置为 0表示起始和结束时间不 受限  t=0 0 〃The media session start and end times are both set to 0, indicating that the start and end times are not limited.
m=application 9 TCP/RTSP rtsp 〃表示 RTSP媒体控制通道信 息, 其中 application表示该 media line用于应用, 9为无意义的 TCP缺省 监听端口 (因本端是发起连接方, 为动态端口, 因此此参数实际没有具体含 义), 后面表示该 TCP连接用于 RTSP。  m=application 9 TCP/RTSP rtsp 〃 indicates RTSP media control channel information, where application indicates that the media line is used for application, and 9 is a meaningless TCP default listening port (because the local end is the originating connection party, it is a dynamic port, so This parameter has no specific meaning. It is indicated later that the TCP connection is used for RTSP.
a=fmtp: rtsp reques t-ur i: rts : //b. biloxi. exam le, com/ scene //表示 rts 的 server侧地址 (即 request-uri )  a=fmtp: rtsp reques t-ur i: rts : //b. biloxi. exam le, com/ scene // indicates the server side address of rts (ie request-uri )
a=fmtp: rtsp vers ion: 2.0 //表示 rtsp版本号 a=fmtp: rtsp h-accept-ranges: NPT //表示 r ts 用到的时间表示 类型为 NPT方式 a=fmtp: rtsp vers ion: 2.0 // indicates rtsp version number a=fmtp: rtsp h-accept-ranges: NPT // indicates that the time used by r ts indicates that the type is NPT
a=fmtp: rtsp h-range clock=19960213T143205Z-; time=19970123T143720Z 〃此处给出了准备播 放媒体的位置信息, 从 clock指示的位置开始播放。  a=fmtp: rtsp h-range clock=19960213T143205Z-; time=19970123T143720Z 位置The position information of the ready-to-play media is given here, starting from the position indicated by clock.
a=fmtp: rtsp h-supported: deferred 〃表示本端支持延迟建立 RTSP 通道方式。  a=fmtp: rtsp h-supported: deferred 〃 indicates that the local end supports delay establishment of RTSP channel mode.
a=connection: new //表示该 TCP连接为新建连接  a=connection: new // indicates that the TCP connection is a new connection.
a=setup: active //表示本端是连接发起方  a=setup: active // indicates that the local end is the connection initiator.
a=rtspid m-stream: 10 〃给出该媒体控制通道号, 用于同媒体通道 进行关联  a=rtspid m-stream: 10 〃 gives the media control channel number for association with the media channel
m=audio 6666 RTP/AVP 0 〃用于描述媒体通道的信息, 表示为音频, 在 6666端口收媒体, 媒体类型号为 0  m=audio 6666 RTP/AVP 0 〃Used to describe the media channel information, expressed as audio, receive media on port 6666, media type number is 0
a=rtpmap: 0 PCMU/8000 〃表示媒体类型为 G711U, 8KHZ釆样 a=recvonly 〃表示该媒体只用于接收  a=rtpmap: 0 PCMU/8000 〃 indicates that the media type is G711U, 8KHZ a a=recvonly 〃 indicates that the media is only used for receiving
a=label: 10 〃给该媒体通道一个标识, 用于同前面媒体控制通道 中的描述 a=r tsp-id m-stream: 10进行关联  a=label: 10 〃 Give the media channel an identifier for association with the description in the previous media control channel a=r tsp-id m-stream: 10
在该消息中, 通过提供 & = 1"11^ : rtsp h_range....指定播放的流媒体起 始位置、 终止位置和持续时长中的一种或多种等流媒体控制信息, 这样就可 以不用建立 RTSP通道, 而直接在 SIP 协商过程中将流媒体控制信息发送给 Control Server。  In the message, by providing & = 1"11^ : rtsp h_range...., the streaming media control information such as one or more of the streaming start position, the end position, and the duration of the playback is specified, so that The streaming media control information is sent to the Control Server directly during the SIP negotiation process without establishing an RTSP channel.
在该消息中 , 通过提供 a=fmtp: rtsp h-supported: deferred , 通知 Control Server, Control CI ient支持延迟建立 RTSP通道。 Control Server 如果不支持延迟建立 RTSP通道,则可以在 200消息的响应中带上 a =f m t p: r t s p h-unsupported: deferred或不予理睬,此时双方需要釆用立即建立 RTSP通道 方式在成功完成 SIP初始流媒体协商后, 建立 RTSP通道; Control Server如 果同意延迟建立 RTSP 通道, 则在 200 消息的响应中携带 a=fmtp: rtsp h-required: deferred以完成 SIP初始流媒体协商,这表明双方协商一致将延 迟建立 RTSP通道, 建立的时机将由 Control Client确定, Control Server 在整个传输流媒体过程中对 Control Client进行监听, 确定 Control Client 何时发起建立 RTSP通道的过程。 In this message, the Control Server is notified by providing a=fmtp: rtsp h-supported: deferred , and Control CI ient supports delayed establishment of the RTSP channel. If the Control Server does not support delay establishment of the RTSP channel, it can take a =fmtp: rtsp h-unsupported: deferred or ignore the response of the 200 message. At this time, both parties need to immediately establish the RTSP channel mode to successfully complete the SIP. After initial streaming negotiation, establish an RTSP channel; Control Server If you agree to delay the establishment of the RTSP channel, carry the a=fmtp: rtsp h-required: deferred in the response of the 200 message to complete the initial SIP media negotiation. This indicates that the two parties will delay the establishment of the RTSP channel, and the timing of the establishment will be controlled by the Control Client. It is determined that the Control Server listens to the Control Client during the entire transport streaming process to determine when the Control Client initiates the process of establishing an RTSP channel.
在本发明实施例中, 为了防止 Control Client后续不建立 RTSP通道, 还可以在 a行中增力口 expires参数, ^口 a=fmtp: rtsp h— supported: deferred; a=fmtp: h-expires=60, 表明在 60分钟之内如果 Control Client后续没有发 起建立 RTSP通道的过程, 则 Control Server在 60分钟时直接发起建立 RTSP 通道的过程。  In the embodiment of the present invention, in order to prevent the Control Client from subsequently establishing the RTSP channel, it is also possible to increase the mouth expires parameter in the a line, ^ port a=fmtp: rtsp h-supported: deferred; a=fmtp: h-expires= 60, indicating that if the Control Client does not initiate the process of establishing an RTSP channel within 60 minutes, the Control Server directly initiates the process of establishing an RTSP channel in 60 minutes.
步骤 402、 Control Server返回 200消息, 其中携带用于协商延迟建立 RTSP通道的 RTSP响应参数、 用于协商建立媒体通道的流媒体相关的 answer 以及控制流媒体响应信息。  Step 402: The Control Server returns a 200 message, where the RTSP response parameter used to negotiate the delay to establish the RTSP channel, the flow-related answer used to negotiate the establishment of the media channel, and the control streaming media response information are carried.
例如 200消息携带的响应可以为 (本实施例没有 SIP消息部分, 只包括 SDP部分 ):  For example, the response carried by the 200 message may be (the SIP message part is not included in this embodiment, and only the SDP part is included):
v=0 〃版本号  V=0 〃 version number
o=bob 2808844564 2808844564 IN IP4 b. biloxi. example, com 〃表 示会话标识,用户名为 Bob, session ID为 2808844564,版本号为 2808844564, 网络类型为 Internet, 地址类型为 IPV4 , 地址为用 URI 形式表述的 b. biloxi. example, com  = 〃 〃 example example 808 808 808 808 808 808 808 808 B. biloxi. example, com
s=Streaming Session II session名字为 "Streaming Session" i=A Streaming session declared within the session description protocol 〃会话信息描述为 "流媒体会话釆用 SDP进行描述"  s=Streaming Session II session name is "Streaming Session" i=A Streaming session declared within the session description protocol 〃 Session information is described as "streaming session using SDP"
c=IN IP4 b. biloxi. example, com 〃连接信息, 其中网络类型为 Internet , 地址类型为 IPV4,地址为 b. bi loxi. example, com  C=IN IP4 b. biloxi. example, com 〃 connection information, where the network type is Internet, the address type is IPV4, and the address is b. bi loxi. example, com
t=0 0 〃媒体会话开始和结束时间都置为 0表示起始和结束时间不受 限 t=0 0 〃The media session start and end times are both set to 0 to indicate that the start and end times are not Limit
m=application 554 TCP/RTSP rtsp 〃表示 RTSP媒体控制通道信 息, 其中 application表示该 media line用于应用, 554为 RTSP使用的 TCP 连接本端监听端口, 后面表示该 TCP连接用于 RTSP。  m=application 554 TCP/RTSP rtsp 〃 indicates RTSP media control channel information, where application indicates that the media line is used for application, 554 is the TCP connection used by RTSP to connect to the local listening port, and the latter indicates that the TCP connection is used for RTSP.
a=connection: new //表示该 TCP连接为新建连接  a=connection: new // indicates that the TCP connection is a new connection.
a=setup: passive //表示本端为连接接收方  a=setup: passive // indicates that the local end is the receiving receiver.
a=control: rtsp: //b. biloxi. example, com/scene //RTSP控制 URI, 表示本端 Server的 URI  a=control: rtsp: //b. biloxi. example, com/scene //RTSP control URI, representing the URI of the local server
a=fmtp: rtsp version: 2.0 〃RTSP版本号  a=fmtp: rtsp version: 2.0 〃RTSP version number
a=fmtp: rtsp h- accept- ranges: NPT 〃表示接受的时戳处理类型 a=fmtp: rtsp h-sess ion: 6238237 //本端生成该 RTSP session ID a=fmtp: rtsp h-date: Tue, 05 Sep 2006 09: 56: 44 GMT 〃给出时间 a=fmtp: rtsp h-r tp-inf o: url="rtsp: //b. biloxi. example, com/ scene"  a=fmtp: rtsp h- accept- ranges: NPT 〃 indicates the accepted timestamp processing type a=fmtp: rtsp h-session: 6238237 //The local end generates the RTSP session ID a=fmtp: rtsp h-date: Tue , 05 Sep 2006 09: 56: 44 GMT 〃 gives time a=fmtp: rtsp hr tp-inf o: url="rtsp: //b. biloxi. example, com/ scene"
ssrc=1631654733: seq=53961; rtptime=0 Ssrc=1631654733: seq=53961; rtptime=0
〃表示同 RTSP控制的媒体会话相关的 RTP信息, 例如其中的 ssrc属性。 〃 denotes RTP information related to RTSP controlled media sessions, such as the ssrc attribute.
a=rtspid m-stream: 10 〃给该媒体控制通道一个标识, 用于同其控 制的媒体通道之间的关联  a=rtspid m-stream: 10 〃 Give the media control channel an identifier for association with its controlled media channel
m=audio 8888 RTP/AVP 0 〃媒体通道的描述, 表示媒体端口 8888, m=audio 8888 RTP/AVP 0 描述 Description of the media channel, indicating media port 8888,
PT值为 0 PT value is 0
a=rtpmap: 0 PCMU/8000 〃表示编解码类型为 G711U, 8KHZ釆样 a=sendonly 〃表示本端媒体只用于发送  a=rtpmap: 0 PCMU/8000 〃 indicates that the codec type is G711U, 8KHZ is the same. a=sendonly 〃 indicates that the local media is only used for sending.
a=label: 10 〃给该媒体通道一个表示, 用于同前面媒 体控制通道进行关联  a=label: 10 〃 Give the media channel a representation for association with the previous media control channel
在该消息中, 如果 Control Server不需要延迟建立 RTSP通道, 则需要 丟 弃 a=fmtp: rtsp h-suppor ted: deferred 或 携 带 a=fmtp: rtsp h-unsuppor ted: deferred ( 在 示 例 中 , 已 经丟 弃 了 a=fmtp: rtsp h-supported: deferred, 表示 Control Server不延迟建立 RTSP通道); 如果 Control Server不支持 RTSP, U'J if t m = appl icat ion 0...方式来 4巨色建立 RTSP通道, 即端口号为 0 (在示例中, Control Server支持 RTSP )。 需要注 意的是, 丟弃 a=fmtp: rtsp h-supported: deferred 或携带 a=fmtp: rtsp h-unsupported: deferred并不影响 SIP初始流媒体协商过程的成功, 只能表 示 RTSP通道不能延迟建立。 In this message, if the Control Server does not need to delay establishing the RTSP channel, then you need to discard a=fmtp: rtsp h-suppor ted: deferred or carry a=fmtp: rtsp H-unsuppor ted: deferred (In the example, a=fmtp: rtsp h-supported: deferred has been discarded, indicating that the Control Server does not delay establishing the RTSP channel); if the Control Server does not support RTSP, U'J if tm = appl The icat ion 0... method uses 4 jugs to establish the RTSP channel, ie the port number is 0 (in the example, the Control Server supports RTSP). Note that discarding a=fmtp: rtsp h-supported: deferred or carrying a=fmtp: rtsp h-unsupported: deferred does not affect the success of the SIP initial streaming negotiation process. It can only indicate that the RTSP channel cannot be delayed.
步骤 403、 Control Client向 Control Server发送 ACK消息, 表示确认。 步骤 404、 Control Server根据协商好的媒体通道信息建立媒体通道, 根据在 SIP初始流媒体协商过程中 Control CI ient发送的流媒体控制信息通 过建立的媒体通道传输确定的流媒体。  Step 403: The Control Client sends an ACK message to the Control Server to indicate confirmation. Step 404: The Control Server establishes a media channel according to the negotiated media channel information, and transmits the determined streaming media according to the established media channel according to the streaming media control information sent by the Control CI ient during the SIP initial streaming media negotiation process.
步骤 405、 Control Client要对媒体通道传输的流媒体进行控制, 该控 制过程需要通过 RTSP消息才能完成, 则发起建立 RTSP通道的过程(如果要 延迟建立 RTSP通道的话 ), 即根据在 SIP初始流媒体协商过程协商好的 RTSP 通道参数建立与 Control Server之间的 RTSP通道。  Step 405: The Control Client controls the streaming media transmitted by the media channel, and the control process needs to be completed by using the RTSP message, and then initiates the process of establishing the RTSP channel (if the RTSP channel is to be delayed), that is, according to the initial streaming media in the SIP. Negotiate the negotiated RTSP channel parameters to establish an RTSP channel with the Control Server.
在本步骤中, 在 Control Client 中预先设置有对应于要建立 RTSP通道 的控制操作命令以及对流媒体的控制规则, 当 Control Client要对流媒体控 制时, 判断是否符合所设置的控制规则或是否为所设置的控制操作命令, 如 果是, 则发起建立 RTSP通道的过程; 如果否, 则不进行。  In this step, a control operation command corresponding to the RTSP channel to be established and a control rule for the streaming media are preset in the Control Client. When the Control Client wants to control the streaming media, it is determined whether the control rule is met or not. The set control operation command, if yes, initiates the process of establishing an RTSP channel; if not, it does not.
在本步骤中,设置的对应于要建立 RTSP通道的控制操作命令可以为快退、 快进以及暂停、 录制等时移控制操作命令, 也可以为对流媒体画面进行控制 的空间移位控制操作命令, 设置的对应于要建立 RTSP通道的对流媒体的控制 规则也可以为更改当前在媒体通道播放或录制的流媒体的位置信息等。  In this step, the set control operation command corresponding to the RTSP channel to be established may be a fast reverse, fast forward, pause, record, etc. time shift control operation command, or a space shift control operation command for controlling the streaming media screen. The set control rule corresponding to the streaming media to establish the RTSP channel may also be to change the location information of the streaming media currently played or recorded on the media channel.
步骤 406、Control Client建立了 RTSP通道后, Control Client向 Control Server发送对媒体通道传输的流媒体的控制操作命令。  Step 406: After the Control Client establishes the RTSP channel, the Control Client sends a control operation command to the Control Server for the streaming media transmitted by the media channel.
步骤 407、 Control Server接收到该控制操作命令后, 对在媒体通道传 输的流媒体执行该控制操作命令, 返回 200消息。 Step 407: After receiving the control operation command, the Control Server transmits the message to the media channel. The input streaming media executes the control operation command and returns a 200 message.
执行该控制操作命令的过程与现有技术相同。  The process of executing this control operation command is the same as the prior art.
在本发明实施例中, 也可以在 INVITE消息中的 Reques t统一资源标识符 (URI ) 中通过携带参数的形式来指示流媒体控制信息, 此时对 Request URI 增加用户类型(user )=rtsp作为 URI参数,用于指示携带了流媒体控制信息, 并携带范围 (range)特征信息, Range的具体含义可以参考 RFC2326标准中 RTSP对该头域的定义, 一般表示播放或录制流媒体的初始位置信息、 结束位 置信息、 和流媒体持续时长中的一种或多种等流媒体控制信息。 例如:  In the embodiment of the present invention, the flow control information may also be indicated in the Reques t Uniform Resource Identifier (URI) in the INVITE message by carrying a parameter, and the user type (user)=rtsp is added to the Request URI. The URI parameter is used to indicate that the flow control information is carried and carries the range feature information. The specific meaning of the Range may refer to the RTSP definition of the header field in the RFC2326 standard, and generally indicates the initial location information of the broadcast or recorded streaming media. And ending the location information, and one or more of the streaming media duration, and the like. E.g:
Sip:  Sip:
r tspcl ientSexamplem. com; user=r tsp?range=clock%3Dx960213T143205Z-%3 Bx; time%3Dxl9970123T143720Z II user=rtsp表示携带了流媒体控制信 息。 r tspcl ientSexamplem. com; user=r tsp?range=clock%3Dx960213T143205Z-%3 Bx; time%3Dxl9970123T143720Z II user=rtsp indicates that the streaming control information is carried.
其中, 相对 RFC3261标准对该头域的 ABNF语法可以定义如下:  Among them, the ABNF syntax of the header field relative to the RFC3261 standard can be defined as follows:
SIP-URI "sip: " [ user inf o ] hostport  SIP-URI "sip: " [ user inf o ] hostport
ur i-parameters [ headers ]  Ur i-parameters [ headers ]
SIPS-URI "sips: " [ userinfo ] hostport  SIPS-URI "sips: " [ userinfo ] hostport
ur i-parameters [ headers ]  Ur i-parameters [ headers ]
ur i-parameters = * ( "; " ur i-parameter)  Ur i-parameters = * ( "; " ur i-parameter)
ur i-parameter = transpor t-param / user-param method-pa ram  Ur i-parameter = transpor t-param / user-param method-pa ram
/ ttl-param / maddr-param lr-param / other-param  / ttl-param / maddr-param lr-param / other-param
user-param user=" ( "phone ;r tsp"/other-user) 〃指示进行 rts 协商 User-param user=" ( "phone ; r tsp"/other-user) 〃Instructs rts negotiation
headers "?" header * ( "&" header )  Headers "?" header * ( "&" header )
header (hname " = " hvalue) / ("range="Range) //头域中 指示携带 Range Range = "Range" HCOLON ranges-list [exec-t ime] CRLF 新增 SIP URI中携带的 header Header (hname " = " hvalue) / ("range="Range) //In the header field, carry Range Range = "Range" HCOLON ranges-list [exec-t ime] CRLF Adds a header carried in the SIP URI
ranges-list = ranges-spec * (COMMA ranges-spec)  Ranges-list = ranges-spec * (COMMA ranges-spec)
exec-t ime = SEMI "time" EQUAL utc-time  Exec-t ime = SEMI "time" EQUAL utc-time
ranges-spec = npt-range / utc-range / smpte-range  Ranges-spec = npt-range / utc-range / smpte-range
I range-ext  I range-ext
range- -ext = extension—format "=" range-value  Range- -ext = extension_format "=" range-value
range- -value = 1* (rtsp-unreserved / quoted-string / ": " ) smpte- -range = smpte-type "=" smpte-range-spec  Range- -value = 1* (rtsp-unreserved / quoted-string / ": " ) smpte- -range = smpte-type "=" smpte-range-spec
smpte- -range- spec = ( smpte-t ime "-" [ smpte-t ime ] )  Smpte- -range- spec = ( smpte-t ime "-" [ smpte-t ime ] )
I ( "-" smpte-t ime )  I ( "-" smpte-t ime )
smpte-type = " smpte" I " smpte-30-drop"  Smpte-type = " smpte" I " smpte-30-drop"
I " smpte-25" / smpte-type-extens ion ; other t imecodes may be added  I " smpte-25" / smpte-type-extens ion ; other t imecodes may be added
smpte- -type—extension = token  Smpte- -type-extension = token
smpte-t ime 1*2DIGIT ": " 1*2DIGIT ": " 1*2DIGIT  Smpte-t ime 1*2DIGIT ": " 1*2DIGIT ": " 1*2DIGIT
[ ": " 1*2DIGIT [ ". " 1*2DIGIT ] ] npt-range "npt=" npt-range-spec ; Sect ion 3.5 npt-range-spec = ( npt-t ime "-" [ npt-t ime ] ) / ( "- npt-t ime )  [ ": " 1*2DIGIT [ ". " 1*2DIGIT ] ] npt-range "npt=" npt-range-spec ; Sect ion 3.5 npt-range-spec = ( npt-t ime "-" [ npt-t Ime ] ) / ( "- npt-t ime )
npt-t ime "now" I npt-sec / n t-hhmms s  Npt-t ime "now" I npt-sec / n t-hhmms s
npt-sec 1*DIGIT [ ". " *DIGIT ]  Npt-sec 1*DIGIT [ ". " *DIGIT ]
npt-hhmms s npt-hh ": " n t-mm ": " npt-ss [ ". " *DIGIT npt-hh 1*DIGIT ; any positive number  Npt-hhmms s npt-hh ": " n t-mm ": " npt-ss [ ". " *DIGIT npt-hh 1*DIGIT ; any positive number
n t-mm 1*2DIGIT ; 0-59  n t-mm 1*2DIGIT ; 0-59
npt-ss 1*2DIGIT : 0-59 utc-range "clock=" utc-range-spec ; Sect ion 3.6 utc-range-spec ( utc-time "-" [ utc-time ] ) / ( "-" utc-t ime ) Npt-ss 1*2DIGIT : 0-59 Utc-range "clock="utc-range-spec; Sect ion 3.6 utc-range-spec ( utc-time "-" [ utc-time ] ) / ( "-" utc-t ime )
utc-t ime utc-date "T" utc-clock "Z"  Utc-t ime utc-date "T" utc-clock "Z"
utc-date 8DIGIT ; < YYYYMMDD >  Utc-date 8DIGIT ; < YYYYMMDD >
utc-clock 6DIGIT [ ". " fraction ]; < HHMMSS. fraction fraction = 1*DIGIT  Utc-clock 6DIGIT [ ". " fraction ]; < HHMMSS. fraction fraction = 1*DIGIT
其中在 SIP URI 的参数中携带了用于指示流媒体的播放位置信息 (可以 包括 clock/time或 smpte或 npt指示), 这样即使 Control Server完全不支 持 RTSP, 即对 SIP中携带 RTSP参数无法进行识别或相应处理, 也可以根据此 SIP URI 进行流媒体的定位并从定位的位置上开始播放。 在本实施例中, clock/ time或 smpte或 npt都是时钟的表示形式。 smpte ( Society of Mot ion Picture and Television Engineers ) 用于表示流媒体移动图像的标准制定 信息, 其对时戰的表示形式为: hour: minutes: seconds: f rames. subf rames , ^ smpte=10: 00: 00-10: 07: 00: 05.01; npt为 Normal Play Time, 用于表示流 媒体相对开始位置的绝对位置信息,如 npt=12: 05: 03.3-表示从时间 12: 05: 03 中低三帧到结尾; clock/time为 ISO 8601标准定义的绝对时间信息, 给出的 是绝对时间 UTC。 例如 1996年 11月 8 日 14点 37分 20.25秒可以表示成: 19961108T143720.25Z。  The parameter of the SIP URI carries the playback location information (including the clock/time or the smpte or npt indication) of the streaming media, so that even if the Control Server does not support the RTSP at all, the RTSP parameter in the SIP cannot be identified. Or corresponding processing, it is also possible to locate the streaming media according to the SIP URI and start playing from the located location. In this embodiment, clock/time or smpte or npt is a representation of the clock. Smpte ( Society of Motion Picture and Television Engineers ) is used to represent the standard definition information of streaming media moving images. Its representation of time war is: hour: minutes: seconds: f rames. subf rames , ^ smpte=10: 00 : 00-10: 07: 00: 05.01; npt is Normal Play Time, which is used to indicate the absolute position information of the streaming media relative to the starting position, such as npt=12: 05: 03.3- means from time 12: 05: 03 Frame to end; clock/time is the absolute time information defined by the ISO 8601 standard, giving the absolute time UTC. For example, November 8, 1996, 14:37:20.25 seconds can be expressed as: 19961108T143720.25Z.
在本发明实施例中, 对 SIP-URI也可以釆用如下两种方式:  In the embodiment of the present invention, the following two methods can also be used for the SIP-URI:
第一种方式:  The first way:
Sip: rtspcl ientSexamplem. com; r tsp-range=clock%3Dx960213T143205Z -%3Bx; time%3Dxl9970123T143720Z  Sip: rtspcl ientSexamplem. com; r tsp-range=clock%3Dx960213T143205Z -%3Bx; time%3Dxl9970123T143720Z
其中不用携带 user=rtsp参数而直接携带 range头域信息来表示流媒体 控制信息; 第二种方式: The range header field information is directly carried to represent the streaming media control information without carrying the user=rtsp parameter; The second way:
Sip: rtspc l ient; rtsp-range=c lock%3Dx960213T143205Z-%3Bx; t ime%3D xl9970123T143720Zo)examplem. com  Sip: rtspc l ient; rtsp-range=c lock%3Dx960213T143205Z-%3Bx; t ime%3D xl9970123T143720Zo) examplem. com
其中将 range信息内容置入 S)前的用户信息(user info )部分, 可以表示 需要播放的媒体位置信息, 即表示流媒体控制信息。 图 5 为本发明具体实施例一提供的实现控制流媒体的方法流程图, 该方 法应用在基于 IMS的 IPTV业务构架中, 其中 Control Cl ient为 UE, Control Server为 MF。在该实施例中,对于 IPTV业务中的内容点播( COD, Content on Demend )或时移电视 ( Time-shif ted TV ), UE在获取的电子节目菜单( EPG ) 中如果获得网络侧 RTSP通道参数以及媒体通道信息, 可以在 I NV I TE消息中 携带, 在经过了网络侧的 SCF转发并同 MF完成了 SIP初始流媒体协商后, UE 不需要建立立即同 MF之间的 RTSP通道。 UE在 INVITE消息中可能仅需要浏览 COD内容或从电视节目初始位置开始播放( TsTV业务 ),此时就不需要建立 RTSP 通道, 而只需要在 INVITE消息中携带流媒体控制信息即可; 如果 UE在后续 过程中需要对流媒体进行时移控制或暂停控制时, 就需要在建立 RTSP通道之 后完成该控制, 这时可以依靠预先协商的 RTSP参数建立 RTSP通道且在其上 对通过媒体通道传输的流媒体进行控制。  The content of the range information is placed in the user information (user info) part before S), which can indicate the media location information that needs to be played, that is, the streaming media control information. FIG. 5 is a flowchart of a method for implementing control flow media according to Embodiment 1 of the present invention. The method is applied to an IMS-based IPTV service architecture, where a Control Cl ient is a UE and a Control Server is an MF. In this embodiment, for Content On Demend (COD) or Time-Shifted TV in the IPTV service, the UE obtains the network side RTSP channel parameter in the acquired electronic program menu (EPG). And the media channel information may be carried in the I NV I TE message. After the SCF forwarding on the network side and the SIP initial streaming media negotiation with the MF is completed, the UE does not need to establish an RTSP channel immediately between the MF and the MF. The UE may only need to browse the COD content or start playing from the initial position of the TV program (TsTV service) in the INVITE message. In this case, it is not necessary to establish an RTSP channel, but only the INVITE message needs to carry the streaming media control information; In the subsequent process, when time shift control or pause control is required for the streaming media, the control needs to be completed after the RTSP channel is established. At this time, the RTSP channel can be established by means of the pre-negotiated RTSP parameters and the stream transmitted through the media channel can be established thereon. The media controls.
实现图 5的具体步骤为:  The specific steps to implement Figure 5 are:
步骤 501、 UE向 Core IMS发送 INVITE消息, 其中携带用于协商延迟建 立 RTSP通道的 RTSP参数、 用于协商建立媒体通道的媒体请求信息以及流媒 体控制信息。  Step 501: The UE sends an INVITE message to the Core IMS, where the RTSP parameter used to negotiate the establishment of the RTSP channel, the media request information used to negotiate to establish the media channel, and the flow media control information are carried.
步骤 502、 Core IMS和边界网关功能实体( BGF, Border Gateway Funct ion ) 之间根据该 INVITE消息对媒体资源进行资源预留。  Step 502: The Core IMS and the Border Gateway Function Entity (BGF) perform resource reservation on the media resource according to the INVITE message.
步骤 503、 Core IMS向 SCF转发该 INVITE消息。  Step 503: The Core IMS forwards the INVITE message to the SCF.
步骤 504、 SCF选择处理该 INVITE消息的 MF,向所选择的 MF发送 INVITE 消息。 Step 504: The SCF selects an MF that processes the INVITE message, and sends an INVITE to the selected MF. Message.
在本步骤中, 如何选择处理该 I NV I TE消息的 MF可以釆用现有技术。 步骤 505、 该 MF接收到 INVITE消息后, 根据自身策略, 处理该消息携带 的用于协商延迟建立 RTSP通道的 RTSP参数、 用于协商建立媒体通道的媒体 请求信息以及流媒体控制信息, 生成用于协商延迟建立 RTSP通道的 RTS响应 参数、 用于协商建立媒体通道的流媒体相关的 answer以及控制流媒体响应信 息携带在 200中, 发送给 SCF。  In this step, how to select the MF that processes the I NV I TE message can use the prior art. Step 505: After receiving the INVITE message, the MF processes, according to its own policy, an RTSP parameter carried in the message for negotiating a delay to establish an RTSP channel, media request information for negotiating to establish a media channel, and streaming media control information, and generates Negotiating the delay to establish the RTS response parameter of the RTSP channel, the streaming-related answer for negotiating the establishment of the media channel, and the control streaming response information are carried in 200 and sent to the SCF.
步骤 506、 SCF将该 200转发给 Core IMS。  Step 506: The SCF forwards the 200 to the Core IMS.
步骤 507、 Core IMS和 BGF之间根据该 200消息对媒体资源进行资源预 留。  Step 507: The Core IMS and the BGF perform resource reservation on the media resource according to the 200 message.
步骤 508、 Core IMS将该 200消息转发给 UE。  Step 508: The Core IMS forwards the 200 message to the UE.
步骤 509、 UE和 MF之间根据协商好的媒体请求信息建立媒体通道, MF根 据协商好的控制媒体信息将对应的流媒体通过该媒体通道传输给 UE。  Step 509: A media channel is established between the UE and the MF according to the negotiated media request information, and the MF transmits the corresponding streaming media to the UE through the media channel according to the negotiated control media information.
步骤 510、 用户对通过 UE接收到的流媒体进行控制操作, UE判断该控制 操作需要 RTSP消息才能完成, 则根据协商好的 RTSP参数发起建立 RTSP通道 的过程。  Step 510: The user performs a control operation on the streaming media received by the UE, and the UE determines that the control operation requires the RTSP message to complete, and then initiates the process of establishing the RTSP channel according to the negotiated RTSP parameter.
步骤 511、 UE在建立的 RTSP通道上向 MF发送携带流媒体控制操作命令 的 RTSP消息, 对媒体通道传输的流媒体进行控制操作。  Step 511: The UE sends an RTSP message carrying a streaming media control operation command to the MF on the established RTSP channel, and controls the streaming media transmitted by the media channel.
步骤 512、 MF根据 RTSP消息对流媒体完成控制操作后, 返回控制结果给 Step 512: After the MF completes the control operation on the streaming media according to the RTSP message, the MF returns a control result to
UE。 UE.
在 INVITE消息和 MF返回的 200消息中携带 SDP描述的携带用于协商延 迟建立 RTSP通道的 RTSP参数以及流媒体控制信息与图 4所述的过程相同, 这里不再赘述。  The RTSP parameters and the streaming media control information carried in the INVITE message and the MF returned in the 200 message carrying the SDP description for carrying out the negotiation to delay the establishment of the RTSP channel are the same as those described in FIG. 4, and are not described here.
图 6 为本发明具体实施例二提供的实现控制流媒体的方法流程图, 该方 法应用在基于 IMS的 IPTV业务构架中, 其中 Cont ro l C l ient为 nPVR SCF , Cont ro l Server 为 nPVR MF。 该实施例是实现对网络提供的个人视频录制 ( nPVR, Ne twork Per sona l Video Recorder )业务的控制方法, 其中使用了 延迟建立 RTSP通道的方式。在该实施例中,对于 nPVR业务, 4叚设由 nPVR SCF 根据 UE提交的录制计划在录制事件到时发起 S IP会话, 此时管理 nPVR SCF 的 nPVR MF与管理用于录制流媒体的 COD SCF的 COD MF之间进行媒体通道和 媒体控制通道的协商, 完成 nPVR MF和 COD MF之间的媒体通道和 RTSP通道 的协商后, nPVR MF并未立刻同 COD MF之间建立 RTSP通道, 因此此时二者仅 限于非常简单的流媒体录制控制, nPVR MF只要接收流媒体并进行本地录制即 可。 但可能根据录制计划, 在录制过程中或录制完成后会需要对流媒体进行 其他控制操作, 例如根据录制计划, 当录制到某个时刻, 开始快进到某个流 媒体位置时再重新录制, 此时 nPVR SCF将根据预先的录制计划产生对流媒体 的复杂控制, 此时 nPVR SCF将通知该事件给 nPVR MF , nPVR MF将根据协商 好的 RTSP通道参数同 COD MF之间建立 RTSP通道以完成对流媒体的复杂控制。 FIG. 6 is a flowchart of a method for implementing control flow media according to Embodiment 2 of the present invention. The method is applied to an IMS-based IPTV service architecture, where Cont ro l C l ient is nPVR SCF and Cont ro l Server is nPVR MF. . This embodiment implements personal video recording provided to the network. (nPVR, Ne twork Per sona l Video Recorder) The control method of the service, which uses the delay to establish the RTSP channel. In this embodiment, for the nPVR service, the nPVR SCF initiates a SIP session when the event is recorded according to the recording plan submitted by the UE. At this time, the nPVR MF of the nPVR SCF is managed and the COD SCF for recording the streaming media is managed. The negotiation between the media channel and the media control channel between the COD MFs, after the negotiation of the media channel and the RTSP channel between the nPVR MF and the COD MF, the nPVR MF does not immediately establish an RTSP channel with the COD MF, so at this time Both are limited to very simple streaming recording control, nPVR MF only needs to receive streaming media and record locally. However, depending on the recording schedule, you may need to perform other control operations on the streaming media during recording or after recording. For example, according to the recording schedule, when recording to a certain moment, start rewinding to a streaming media location and then re-recording. The nPVR SCF will generate complex control of the streaming media according to the pre-recording plan. At this time, the nPVR SCF will notify the event to the nPVR MF, and the nPVR MF will establish an RTSP channel between the negotiated RTSP channel parameters and the COD MF to complete the streaming media. Complex control.
图 6所示的方法具体实现步骤为:  The specific implementation steps of the method shown in Figure 6 are:
步骤 601、 nPVR SCF向 nPVR MF发送 S IP消息, 请求用于协商延迟建立 RTSP通道的 RTSP参数、用于协商建立媒体通道的媒体请求信息以及流媒体控 制信息。  Step 601: The nPVR SCF sends an S IP message to the nPVR MF, requesting an RTSP parameter for negotiating a delay to establish an RTSP channel, media request information for negotiating establishing a media channel, and streaming media control information.
步骤 602、 nPVR MF根据自身设置的策略, 向 nPVR回复 S IP响应消息, 携带用于协商延迟建立 RTSP通道的 RTSP参数、 用于协商建立媒体通道的媒 体请求信息以及流媒体控制信息。  Step 602: The nPVR MF returns an S IP response message to the nPVR according to the policy set by itself, and carries an RTSP parameter for negotiating a delay to establish an RTSP channel, media request information for negotiating establishing a media channel, and streaming media control information.
步骤 603、 nPVR SCF向 COD SCF发起 S IP初始流媒体协商过程, 即发送 S IP协商消息,其中携带步骤 602由 nPVR MF回复的 S IP响应消息携带的信息。  Step 603: The nPVR SCF initiates an initial IP media negotiation process to the COD SCF, that is, sends an S IP negotiation message, where the information carried in the S IP response message replied by the nPVR MF in step 602 is carried.
步骤 604、 COD SCF向 COD MF转发 S IP协商消息。  Step 604: The COD SCF forwards the S IP negotiation message to the COD MF.
步骤 605、 COD MF根据自身设置的策略以及接收到的 S IP协商消息, 生 成用于协商延迟建立 RTSP通道的 RTSP响应参数、 用于协商建立媒体通道的 流媒体相关的 answer以及控制流媒体响应信息, 向 COD SCF返回 S IP协商响 应消息, 其中携带生成的响应信息。 步骤 606、 COD SCF向 nPVR SCF转发该 SIP协商响应消息。 Step 605: The COD MF generates an RTSP response parameter for negotiating a delay to establish an RTSP channel, a streaming media related answer for establishing a media channel, and a control streaming media response information according to the policy set by itself and the received SIP negotiation message. And returning an IP negotiation response message to the COD SCF, where the generated response information is carried. Step 606: The COD SCF forwards the SIP negotiation response message to the nPVR SCF.
步骤 607、 nPVR SCF向 nPVR MF发送 ACK消息, 携带步骤 606所述 S IP 协商响应消息携带的信息。  Step 607: The nPVR SCF sends an ACK message to the nPVR MF, and carries the information carried in the S IP negotiation response message in step 606.
在该步骤中, 已经在 nPVR和 COD两侧完成了 RTSP通道以及媒体通道的 协商。  In this step, the negotiation of the RTSP channel and the media channel has been completed on both sides of the nPVR and COD.
步骤 608、 nPVR MF通知 nPVR SCF即将 4艮据控制流媒体响应信息对建立 的媒体通道传输的流媒体开始录制。  Step 608: The nPVR MF notifies the nPVR that the SCF starts recording the streaming media transmitted by the established media channel according to the control streaming response information.
在本步骤中, 是通过 TISPAN定义的 Y2接口上报。  In this step, it is reported through the Y2 interface defined by TISPAN.
在本步骤中, COD MF可以将流媒体向 nPVR MF通过建立的媒体通道进行 传输, nPVR MF对传输的流媒体进行本地录制。  In this step, the COD MF can transmit the streaming media to the nPVR MF through the established media channel, and the nPVR MF locally records the transmitted streaming media.
步骤 609、 nPVR SCF根据设定的录制计划或由 SSF接收到的录制操作, 在某个时刻点, 需要跳过当前广告或无关内容, 例如球赛中场休息的 10分钟 事件, 则确定将媒体通道传输的流媒体暂停录制 10分钟或快进 10分钟, 这 时 nRVR SCF通知 nPVR MF此时需要对通过媒体通道传输的流媒体进行复杂控 制, 需要发起建立 RTSP通道。  Step 609, the nPVR SCF according to the set recording schedule or the recording operation received by the SSF, at some point in time, need to skip the current advertisement or irrelevant content, for example, a 10-minute event of the midfield break of the ball game, then determine the media channel. The transmitted streaming media pauses for 10 minutes or fast forwards for 10 minutes. At this time, the nRVR SCF notifies the nPVR MF that complex control of the streaming media transmitted through the media channel is required, and the RTSP channel needs to be initiated.
步骤 610、nPVR MF同 COD MF之间按照协商好的延迟建立 RTSP通道的 RTSP 参数建立 RTSP通道后, 发送对流媒体的控制操作命令, 如发送暂停录制 10 分钟或快进 10分钟后, 再次对流媒体进行录制, COD MF对流媒体按照控制操 作命令进行操作。  Step 610: The nPVR MF and the COD MF establish an RTSP channel of the RTSP channel according to the negotiated delay. After the RTSP channel is established, the control operation command for the streaming media is sent, such as sending the pause recording for 10 minutes or fast forwarding for 10 minutes, and then streaming the media again. For recording, the COD MF operates on the streaming media in accordance with the control operation commands.
在图 6中所述对延后建立 RTSP通道以及对流媒体的录制操作可以参考图 4所述的步骤, 此处不再赘述。  For the operation of delaying the establishment of the RTSP channel and the recording of the streaming media, the steps described in FIG. 4 may be referred to in FIG. 6, and details are not described herein again.
在图 6中, Control Cl ient为 nPVR MF , Control Server为 COD MF。 本发明实施例还提供一种实现流媒体控制的系统, 如图 7 所示, 该系统 包括: Control C l ient ^ Cont rol Server , 其中,  In Figure 6, Control Cl ient is nPVR MF and Control Server is COD MF. The embodiment of the present invention further provides a system for implementing streaming media control. As shown in FIG. 7, the system includes: Control C l ient ^ Cont rol Server , where
Control Cl ient和 Control Server进行 SIP初始流媒体协商过程中协商 流媒体控制信息, Control Server根据协商的流媒体控制信息确定要传输的 流媒体, 发送给 Control Client 。 The Control Cl ient and the Control Server negotiate the streaming media control information during the initial SIP media negotiation process, and the Control Server determines the transmission to be performed according to the negotiated streaming media control information. Streaming media, sent to Control Client.
在本发明实施例中, 所述 Control Client为第一 Control Client, 所述 Control Server 为第一 Control Server , 第一 Control Client 在和第一 Control Server进行 SIP初始流媒体协商过程中协商用于延迟建立媒体控制 通道的媒体控制参数, 第一 Control Client和第一 Control Server之间根 据所述媒体控制参数延后建立媒体控制通道后, 第一 Control Client在所建 立的媒体控制通道上向第一 Con t r 01 C 1 i en t发送控制操作命令,第一 Con t r o 1 Client根据通过延后建立的媒体控制通道接收控制操作命令, 对通过媒体通 道传输的流媒体进行控制。  In the embodiment of the present invention, the Control Client is a first Control Client, and the Control Server is a first Control Server, and the first Control Client negotiates for delay establishment in an initial SIP media negotiation process with the first Control Server. Media control parameters of the media control channel, after the first Control Client and the first Control Server delay the establishment of the media control channel according to the media control parameter, the first Control Client is on the established media control channel to the first Con tr 01 C 1 i en t sends a control operation command, and the first Con tro 1 Client receives the control operation command according to the media control channel established by the delay, and controls the streaming media transmitted through the media channel.
在具体实现时, Control CI ient和 Control Server之间交互的流媒体控 制信息通过 SIP消息携带传输, 可以携带在 SIP消息的 range域中, 或携带 在 SIP消息的 URI中。  In a specific implementation, the flow control information exchanged between the Control CI ient and the Control Server is carried by the SIP message, and may be carried in the range field of the SIP message or carried in the URI of the SIP message.
相应地, Control CI ient和 Control Server之间交互的用于延迟建立媒 体控制通道的媒体控制参数也通过 SIP消息携带传输。  Correspondingly, the media control parameters used by the Control CI ient and the Control Server to delay the establishment of the media control channel are also carried through the SIP message.
其中, Control Client具体结构如图 8所示, 包括协商模块 1和接收模 块 2, 其中, 协商模块 1在和 Control Server进行 SIP初始流媒体协商过程 中协商流媒体控制信息; 接收模块 2接收 Control Server发送的流媒体。  The specific structure of the Control Client is as shown in FIG. 8, and includes a negotiation module 1 and a receiving module 2, wherein the negotiation module 1 negotiates the streaming media control information during the initial SIP media negotiation process with the Control Server; the receiving module 2 receives the Control Server. Streaming media sent.
在图 8中, 所述 Control Client还包括建立通道模块 3和发送模块 4, 所述协商模块 1, 进一步在和 Control Server进行 SIP初始流媒体协商过程 中协商用于延迟建立媒体控制通道的媒体控制参数发送给建立通道模块 3,建 立通道模块 3根据接收的所述媒体控制参数延后建立媒体控制通道, 发送模 块 4, 在所建立的媒体控制通道上发送控制操作命令。  In FIG. 8, the Control Client further includes a channel module 3 and a sending module 4, and the negotiation module 1 further negotiates media control for delaying establishment of a media control channel during a SIP initial streaming negotiation process with the Control Server. The parameter is sent to the establishing channel module 3. The establishing channel module 3 delays establishing the media control channel according to the received media control parameter, and the sending module 4 sends a control operation command on the established media control channel.
其中, Control Server具体结构如图 9所示, 包括协商模块 1和发送模 块 4, 其中, 协商模块 1, 在和 Control Client进行 SIP初始流媒体协商过 程中协商流媒体控制信息发送给发送模块 4,发送模块 4根据接收的协商模块 1协商的流媒体控制信息确定要传输的流媒体, 发送给 Control Client。 在具体实现时, Control Client收发的流媒体控制信息通过 SIP消息携 带传输, 可以携带在 SIP消息的 range域中, 或携带在 SIP消息的 URI中。 The specific structure of the Control Server is as shown in FIG. 9 , and includes a negotiation module 1 and a sending module 4, wherein the negotiation module 1 negotiates the streaming media control information to the sending module 4 during the initial SIP media negotiation process with the Control Client. The sending module 4 determines the streaming media to be transmitted according to the received streaming media control information negotiated by the negotiating module 1 and sends the streaming media to the Control Client. In a specific implementation, the flow media control information sent and received by the Control Client is carried by the SIP message, and may be carried in the range field of the SIP message or carried in the URI of the SIP message.
相应地, Control Client 收发的用于延迟建立媒体控制通道的媒体控制 参数也通过 SIP消息携带传输。  Correspondingly, the media control parameters sent and received by the Control Client for delaying the establishment of the media control channel are also carried through the SIP message.
在图 9中, 所述 Control Server还进一步包括接收模块 2和执行模块 5, 其中, 协商模块 1, 进一步在和 Control CI ient进行 SIP初始流媒体协商过 程中协商用于延迟建立媒体控制通道的媒体控制参数; 接收模块 2, 通过延后 建立的媒体控制通道接收 Control Client发送的控制操作命令发送给执行模 块 5,执行模块 5根据接收模块 1接收的所述命令对通过媒体通道传输的流媒 体进行控制。  In FIG. 9, the Control Server further includes a receiving module 2 and an executing module 5, wherein the negotiating module 1 further negotiates media for delaying establishment of the media control channel during the initial SIP media negotiation process with the Control CI ient. The control module 2 receives the control operation command sent by the Control Client through the media control channel that is delayed, and sends the control operation command to the execution module 5, and the execution module 5 performs the streaming media transmitted through the media channel according to the command received by the receiving module 1. control.
在具体实现时, Control Server收发的流媒体控制信息通过 SIP消息携 带传输, 可以携带在 SIP消息的 range域中, 或携带在 SIP消息的 URI中。  In a specific implementation, the flow media control information sent and received by the Control Server is carried by the SIP message, and can be carried in the range field of the SIP message or carried in the URI of the SIP message.
相应地, Control Server收发的用于延迟建立媒体控制通道的媒体控制 参数也通过 SIP消息携带传输。  Correspondingly, the media control parameters sent and received by the Control Server for delaying the establishment of the media control channel are also carried through the SIP message.
从上述本发明实施例详细叙述的方法及装置可以得出:  The method and apparatus described in detail above in the embodiments of the present invention can be:
第一, 在对流媒体只有简单的控制时, 如录制或播放等控制, 本发明实 施例通过在 SIP初始流媒体协商过程中协商流媒体控制信息而实现对在媒体 通道传输的流媒体的控制, 而不需要另外建立媒体控制通道对流媒体进行控 制。  First, when there is only simple control of the streaming media, such as recording or playing, the embodiment of the present invention implements the control of the streaming media transmitted in the media channel by negotiating the streaming media control information in the SIP initial streaming media negotiation process. There is no need to separately establish a media control channel to control the streaming media.
第二, 在无法确定后续是否对流媒体有其他控制或复杂控制时, 为了避 免建立媒体控制通道而引起的资源浪费, 在 SIP初始流媒体协商过程中引入 协商延后建立媒体控制通道的机制来延后建立媒体控制通道。 直到后续有对 流媒体的其他控制或复杂操作时, 才通过在 SIP初始流媒体协商过程中协商 好的媒体控制参数建立媒体控制通道后发送控制操作命令对媒体通道传输的 流媒体进行控制。  Second, when it is impossible to determine whether there is any other control or complex control on the streaming media in the future, in order to avoid waste of resources caused by establishing the media control channel, a mechanism for establishing a media control channel by delaying negotiation in the initial SIP media negotiation process is extended. Then establish a media control channel. Until the subsequent control or complex operation of the streaming media, the media control channel is sent to control the streaming media transmitted by the media channel by establishing a media control channel after the media control parameters are negotiated in the initial SIP media negotiation process.
第三, 在通过媒体通道传输流媒体的过程中, 在当前没有建立媒体控制 通道但后续需要建立时, 通过在 SIP初始流媒体协商过程中提前协商好的媒 体控制参数, 避免后续建立媒体控制通道时过多的消息交互, 提高了控制媒 体流的反应时间, 提高了用户的体验度。 Third, in the process of transmitting streaming media through the media channel, no media control is currently established. When the channel needs to be established later, the media control parameters are negotiated in advance during the initial SIP media negotiation process to avoid excessive message interaction when the media control channel is subsequently established, which improves the response time of the control media stream and improves the user's response time. Experience.
以上是对本发明具体实施例的说明, 在具体的实施过程中可对本发明的 方法进行适当的改进, 以适应具体情况的具体需要。 因此可以理解, 根据本 发明的具体实施方式只是起示范作用, 并不用以限制本发明的保护范围。  The above is a description of specific embodiments of the present invention, and the method of the present invention may be appropriately modified in a specific implementation process to suit the specific needs of a specific situation. Therefore, it is to be understood that the specific embodiments of the present invention are not intended to limit the scope of the invention.

Claims

权 利 要求 书 Claim
1、 一种控制流媒体的方法, 其特征在于, 该方法包括:  A method for controlling streaming media, the method comprising:
控制服务器在与控制客户端的会话初始协议 SIP初始流媒体协商过程中接 收到流媒体控制信息, 根据该流媒体控制信息控制传输给控制客户端的流媒体。  The control server receives the streaming media control information during the SIP initial streaming media negotiation process with the control client, and controls the streaming media transmitted to the controlling client according to the streaming media control information.
1、如权利要求 1所述的方法,其特征在于,所述流媒体控制信息携带在 SIP 消息中媒体控制通道描述信息中, 或者携带在 SIP消息中的统一资源标识符中。  The method according to claim 1, wherein the streaming media control information is carried in a media control channel description information in a SIP message or carried in a uniform resource identifier in a SIP message.
3、 如权利要求 1所述的方法, 其特征在于, 所述流媒体控制信息为播放流 媒体位置信息。  3. The method according to claim 1, wherein the streaming media control information is playback streaming media location information.
4、如权利要求 3所述的方法,其特征在于,所述流媒体控制信息通过在 SIP 消息中的统一资源标识符指定的过程为:  4. The method of claim 3, wherein the process of specifying the streaming media control information by the uniform resource identifier in the SIP message is:
通过统一资源标识符中的使用类型指定携带了流媒体控制信息; 或者通过 统一资源标识符中的用户信息或统一资源标识符-参数指定来指定流媒体控制 信息。  The streaming media control information is carried by the usage type designation in the uniform resource identifier; or the streaming media control information is specified by the user information or the uniform resource identifier-parameter designation in the uniform resource identifier.
5、 如权利要求 1所述的方法, 其特征在于, 在与控制客户端的 S IP初始流 媒体协商过程中, 该方法还包括:  The method of claim 1, wherein the method further comprises: during the initial media negotiation of the S IP with the control client, the method further comprises:
控制服务器在与控制客户端的 SIP初始流媒体协商过程中协商延后建立媒 体控制通道;  The control server negotiates and delays establishing a media control channel during the initial SIP media negotiation process with the control client;
控制服务器接收到控制客户端通过延后建立的媒体控制通道传输的控制操 作命令, 对传输给控制客户端的流媒体进行控制。  The control server receives a control operation command that controls the client to transmit through the delayed media control channel, and controls the streaming media transmitted to the control client.
6、 如权利要求 5所述的方法, 其特征在于, 在接收到控制客户端通过延后 建立的媒体控制通道传输的控制操作命令之前, 该方法还包括:  The method of claim 5, further comprising: before receiving the control operation command that is transmitted by the control medium through the delayed media control channel, the method further includes:
控制客户端根据设置对应于要建立媒体控制通道的控制操作命令或对流媒 体的控制规则, 判断要发送的控制操作命令符合所设置的控制规则或为所设置 的控制操作命令时, 根据协商结果延后建立媒体控制通道, 通过延后建立的媒 体控制通道发送控制操作命令。  The control client determines whether the control operation command to be sent conforms to the set control rule or the set control operation command according to the control operation command corresponding to the control operation command or the streaming media to be established, and is extended according to the negotiation result. After that, the media control channel is established, and the control operation command is sent through the delayed media control channel.
7、 一种实现流媒体控制的装置, 其特征在于, 该装置包括协商模块(1 ) 和接收模块(2), 其中, 7. A device for implementing streaming media control, characterized in that the device comprises a negotiation module (1) And receiving module (2), wherein
协商模块(1 ), 用于在进行 SIP初始流媒体协商过程中和控制服务器协商 流媒体控制信息;  The negotiation module (1) is configured to negotiate with the control server for streaming media control information during the initial SIP media negotiation process;
接收模块(2), 用于接收控制服务器发送的流媒体。  The receiving module (2) is configured to receive the streaming media sent by the control server.
8、 如权利要求 7所述的装置, 其特征在于, 所述装置还包括建立通道模块 ( 3)和发送模块(4), 其中,  8. The device according to claim 7, wherein the device further comprises a channel module (3) and a transmitting module (4), wherein
所述协商模块(1 ), 进一步用于在进行 SIP初始流媒体协商过程中和控制 服务器协商用于延迟建立媒体控制通道的媒体控制参数;  The negotiation module (1) is further configured to negotiate, with the control server, a media control parameter for delaying establishment of the media control channel during the initial SIP media negotiation process;
建立通道模块(3), 用于根据所述媒体控制参数延后建立媒体控制通道; 发送模块( 4 ), 用于在所建立的媒体控制通道上发送控制操作命令。  Establishing a channel module (3), configured to delay establishing a media control channel according to the media control parameter; and a sending module (4), configured to send a control operation command on the established media control channel.
9、 一种实现流媒体控制的装置, 其特征在于, 该装置包括协商模块(1 ) 和发送模块(4), 其中,  A device for implementing streaming media control, characterized in that the device comprises a negotiation module (1) and a sending module (4), wherein
协商模块(1 ), 用于在和控制客户端进行 SIP初始流媒体协商过程中协商 流媒体控制信息;  The negotiation module (1) is configured to negotiate streaming media control information during the initial SIP media negotiation process with the control client;
发送模块( 4 ), 用于根据协商模块协商的流媒体控制信息确定要传输的流 媒体, 发送给控制客户端。  The sending module (4) is configured to determine, according to the streaming media control information negotiated by the negotiation module, the streaming media to be transmitted, and send the streaming media to the control client.
10、 如权利要求 9 所述的装置, 其特征在于, 该装置还进一步包括接收模 块(2)和执行模块(5), 其中,  10. The apparatus according to claim 9, wherein the apparatus further comprises a receiving module (2) and an execution module (5), wherein
所述协商模块(1 ), 进一步用于在和控制客户端进行 SIP初始流媒体协商 过程中协商用于延迟建立媒体控制通道的媒体控制参数;  The negotiation module (1) is further configured to negotiate media control parameters for delaying establishment of the media control channel during the initial SIP media negotiation process with the control client;
接收模块( 2 ), 用于通过延后建立的媒体控制通道接收控制客户端发送的 控制操作命令;  a receiving module (2), configured to receive, by using a media control channel that is deferred, a control operation command sent by the control client;
执行模块(5), 用于根据接收模块接收的所述命令对通过媒体通道传输的 流媒体进行控制。  The executing module (5) is configured to control the streaming media transmitted through the media channel according to the command received by the receiving module.
PCT/CN2008/071740 2007-07-25 2008-07-24 A method and a device for controlling streaming media WO2009012714A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710130056.9 2007-07-25
CN200710130056.9A CN101355552A (en) 2007-07-25 2007-07-25 Method and apparatus for controlling stream medium

Publications (1)

Publication Number Publication Date
WO2009012714A1 true WO2009012714A1 (en) 2009-01-29

Family

ID=40281013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071740 WO2009012714A1 (en) 2007-07-25 2008-07-24 A method and a device for controlling streaming media

Country Status (2)

Country Link
CN (1) CN101355552A (en)
WO (1) WO2009012714A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448949A (en) * 2022-02-18 2022-05-06 南京甄视智能科技有限公司 Method and system for solving streaming phenomenon of client

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243441A (en) * 2014-04-09 2014-12-24 深圳深讯和科技有限公司 Method and system for controlling streaming media service quality

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125757A1 (en) * 2002-12-30 2004-07-01 Martti Mela Streaming media
US20060041688A1 (en) * 2004-08-18 2006-02-23 Bellsouth Intellectual Property Corporation SIP-based session control among a plurality of multimedia devices
CN1835506A (en) * 2005-03-15 2006-09-20 乐金电子(中国)研究开发中心有限公司 A multimedia streaming service providing method and a streaming service system
CN101202640A (en) * 2007-10-17 2008-06-18 深圳市同洲电子股份有限公司 Method and device for stream media data playing control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040125757A1 (en) * 2002-12-30 2004-07-01 Martti Mela Streaming media
US20060041688A1 (en) * 2004-08-18 2006-02-23 Bellsouth Intellectual Property Corporation SIP-based session control among a plurality of multimedia devices
CN1835506A (en) * 2005-03-15 2006-09-20 乐金电子(中国)研究开发中心有限公司 A multimedia streaming service providing method and a streaming service system
CN101202640A (en) * 2007-10-17 2008-06-18 深圳市同洲电子股份有限公司 Method and device for stream media data playing control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448949A (en) * 2022-02-18 2022-05-06 南京甄视智能科技有限公司 Method and system for solving streaming phenomenon of client
CN114448949B (en) * 2022-02-18 2024-03-01 小视科技(江苏)股份有限公司 Method and system for solving streaming phenomenon of client

Also Published As

Publication number Publication date
CN101355552A (en) 2009-01-28

Similar Documents

Publication Publication Date Title
US8307049B2 (en) Method and device for obtaining media description information of IPTV services
CN101573943B (en) Media channel management
US8473621B2 (en) Method, system, and apparatus for creating content-on-demand service
US7917637B2 (en) System, method and apparatus for establishing interactive media session based on IP Multimedia Subsystem
WO2007098703A1 (en) Method, system and media resource device for achieving time shift tv service based on ngn network
WO2008151550A1 (en) A program network recording method, a media processing server and a network recording system
US20090313376A1 (en) Method and apparatuses for establishing a session between a client terminal and a media supply system to transport a unicast media stream over an ip network
MX2013001513A (en) Session control for media stream transmission.
WO2009024092A1 (en) Method and system for controlling the authorization of service resource
WO2008134955A1 (en) Method, system and apparatus for applying terminal capability information in iptv service
WO2012152223A1 (en) Content sharing method and device
WO2009052762A1 (en) Broadcast service (bc) improving method, device and system
WO2009026813A1 (en) A method, a system and an entity for realizing network recording
WO2009006814A1 (en) Time shift tv service establishment method and time shift tv media function entity
WO2010028591A1 (en) Method and system for realizing recording in client terminal, and recording control entity
WO2009049518A1 (en) A session establishing method, system and entity of ip internet television system
WO2009003408A1 (en) Media stream switching method, system and equipment in time-shift television service
WO2009006820A1 (en) Method and system for providing media flow during swith of media servers
WO2009012714A1 (en) A method and a device for controlling streaming media
WO2010045796A1 (en) Control method, device and system for video-on-demand service
CN101483532B (en) Method, system and device for media stream duplication
WO2009024077A1 (en) A method and device for acquiring an iptv service parameter
WO2010001491A1 (en) Local area streaming management method
WO2009026810A1 (en) Method, entity and system to realize media delivery control
WO2009056036A1 (en) A method, system and equipment for implementing media control

Legal Events

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

Ref document number: 08783733

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08783733

Country of ref document: EP

Kind code of ref document: A1