WO2009026810A1 - Method, entity and system to realize media delivery control - Google Patents

Method, entity and system to realize media delivery control Download PDF

Info

Publication number
WO2009026810A1
WO2009026810A1 PCT/CN2008/071659 CN2008071659W WO2009026810A1 WO 2009026810 A1 WO2009026810 A1 WO 2009026810A1 CN 2008071659 W CN2008071659 W CN 2008071659W WO 2009026810 A1 WO2009026810 A1 WO 2009026810A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
function entity
session
media delivery
entity
Prior art date
Application number
PCT/CN2008/071659
Other languages
French (fr)
Chinese (zh)
Inventor
Jun Yan
Baojian Qi
Suihai Wang
Peng Wang
Xiangyang Wu
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 WO2009026810A1 publication Critical patent/WO2009026810A1/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/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1043Gateway controllers, e.g. media gateway control protocol [MGCP] controllers
    • 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/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]

Definitions

  • the present invention relates to the field of communications, and more particularly to techniques for implementing media delivery control. Background technique
  • the streaming media service or IPTV (IP Television) service is a new service that has developed rapidly in recent years.
  • the streaming media service uses streaming technology to transmit multimedia files, including video and audio files, on a packet-switched network. . This content can be played immediately without having to download it completely.
  • the key technology to realize streaming media service is streaming technology. Streaming technology processes continuous video and audio information and puts it on the website server, allowing users to watch and listen while downloading, without waiting for the entire file to be downloaded. Network transmission technology that can be viewed only after you have your own machine.
  • IMS IP Multimedia Subsystem, IP Multimedia Subsystem
  • IP Multimedia Subsystem IP Multimedia Subsystem
  • SCF Session Control Function
  • MGCF Media Gateway Control Function
  • MRFP Media Resource Function Processor
  • SIP Session
  • the initial protocol, the session initiation protocol, and the Diameter protocol implement session mechanisms such as registration, authentication, routing, session control and establishment, service triggering, accounting, and end-to-end QoS (Quality of Service).
  • the IMS based IPTV system provides IPTV services based on the IMS architecture to fully utilize the existing session control mechanism in the IMS network to provide users with streaming services, streaming media and real-time session services. That is to say, the multimedia session of the user to the content is completed by the existing session control mechanism of the IMS, and the session of the media stream needs to be reserved during the establishment of the session. Host resources.
  • the functional architecture of the IMS based IPTV system is shown in FIG. 1.
  • IMS User Equipment
  • IPTV Media Functions module an IPTV Media Functions module, and the like.
  • the terminal device is configured to receive a media stream, and can perform remote play control on the media stream, such as requesting play/pause, fast forward, and fast rewind.
  • the IPTV media function module is responsible for controlling and delivering the media stream to the terminal device.
  • the IPTV media function module is decomposed into an MCF (Media Control Function) entity and an MDF (Media Delivery Function) entity from a functional point of view, wherein the MCF entity is defined to be responsible for session control and media.
  • Functions such as play control, management of media resources, and billing; define the functions of the MDF entity responsible for media stream transmission, media resource reporting, and the like.
  • the interface reference point between the MCF entity and the MDF entity needs to support the establishment of a control media delivery session and indicate one or more MDF deliveries.
  • Content to the terminal which requires the Xp interface to have media resource management functions and media flow control functions.
  • the prior art does not provide a specific way for the MCF entity to control the media delivery of the MDF entity, and cannot satisfy the requirement of the interface between the MCF entity and the MDF entity to support the media resource management function and the media stream control function. Summary of the invention
  • Embodiments of the present invention provide a method, an entity, and a system for implementing media delivery control.
  • the method provides a specific implementation scheme for an MCF entity to control media delivery of an MDF entity.
  • An embodiment of the present invention provides a method for implementing media delivery control, where the method includes: acquiring media resource information of a media delivery function entity;
  • the media resource information of the media delivery function entity select the information that can be provided to the user Media delivery functional entity for media content
  • the media delivery behavior of the media delivery functional entity is controlled by a real-time streaming protocol RTSP session with the media delivery functional entity.
  • An embodiment of the present invention further provides a media control function entity, including:
  • a resource management unit configured to obtain media resource information of the media delivery function entity
  • a session initiation protocol SIP session control function unit configured to select media delivery that can provide the required media content to the user according to the media resource information of the media delivery function entity
  • the RTSP session control function unit is configured to control media delivery behavior of the media delivery function entity through an RTSP session with a media delivery function entity selected by the SIP session control function unit.
  • An embodiment of the present invention further provides a method for implementing media delivery control, the method comprising: receiving, by a real-time streaming protocol RTSP session with a media control function entity, a media control request of a media control function entity; and controlling according to the media Request to control media delivery behavior.
  • the embodiment of the present invention further provides a media delivery function entity, where the media delivery function entity includes:
  • a real-time streaming protocol RTSP session control function unit configured to receive a media control request of a media control function entity through an RTSP session with a media control function entity; and control a media delivery behavior of the media delivery unit according to the media control request;
  • the media delivery unit selects the corresponding media content to be delivered to the user.
  • the embodiment of the present invention further provides a media delivery control system, where the media delivery control system includes:
  • a media control function entity configured to obtain media resource information of the media delivery function entity; and, according to the media resource information of the media delivery function entity, select a media that can be provided to the user Media delivery functional entity; real-time streaming protocol between functional entities through media delivery
  • a media delivery function entity configured to receive a media control request of the media control function entity through an RT SP session with the media control function entity; and control the media delivery behavior according to the media control request.
  • the solution selects the MDF entity that can provide the media content to the user according to the media resource information of the MDF entity by acquiring the media resource information of the MDF entity;
  • the inter-RTSP session controls the media delivery behavior of the MDF entity, and gives a specific way for the MCF entity to control the media delivery of the MDF entity, thereby satisfying the interface between the MCF entity and the MDF entity to support the media resource management function and the media stream. Control function requirements.
  • FIG. 1 is a functional architecture of an IMS based IPTV system provided by the prior art
  • FIG. 2 is a structural diagram of a media delivery control system according to a first embodiment of the present invention
  • FIG. 3 is a structural diagram of a media control function entity in a first embodiment of the present invention
  • FIG. 4 is a structural diagram of a media delivery function entity in a first embodiment of the present invention.
  • FIG. 5 is a general flowchart of a service processing process according to a second embodiment of the present invention.
  • FIG. 6 is a flowchart of a session initial process of an IPTV service according to a second embodiment of the present invention
  • FIG. 7 is a flowchart of a terminal triggering session modification process according to a second embodiment of the present invention
  • FIG. 8 is a second embodiment of the present invention.
  • FIG. 9 is a flowchart of initiating a session modification process by the UE to the network side after the media modification is performed by the MCF decision in the MDF of the network side in the second embodiment of the present invention.
  • FIG. 10 is a flowchart of a terminal triggering session release process in a second embodiment of the present invention
  • FIG. 11 is a flowchart of a network side SCF triggering session release process in a second embodiment of the present invention
  • FIG. 12 is a flow chart of a network side MCF triggering session release process in a second embodiment of the present invention.
  • Figure 13 is a diagram showing the SDP Offer for the H.248 protocol in the second embodiment of the present invention.
  • FIG. 14 is a flowchart of an implementation of a third embodiment of the present invention. detailed description
  • a first embodiment of the present invention provides a media delivery control system, as shown in FIG. 2, including:
  • Core IMS IP Multimedia Subsystem Center
  • MCF entity 220 MDF entity 230.
  • the core IMS 210 and the UE exchange information through the SIP protocol; the Core IMS 210 and the MCF entity 220 exchange information through the Y2 interface; the MCF entity 220 communicates with the UE through the X, interface, using the RTSP session protocol; the MCF entity 220 and the MDF entity 230 Communication is performed using the H.248/RTSP protocol through the Xp interface; the MDF entity 230 communicates with the UE through the Xc" interface using the RTP/FTP protocol.
  • the Core IMS210 which functions similarly to the existing 3GPP technology, is configured to provide authentication, authentication, and session control functions to the UE according to the IPTV service request of the UE, and is routed to the SCF entity inside the Core IMS 210 according to the user subscription information IPTV service request.
  • the SCF entity triggers the corresponding business processing logic.
  • the MCF entity 220 is configured to obtain media content required by the user from the IPTV service request according to the service processing logic triggered by the foregoing, according to the media content, and media resource information of the MDF entity 230 obtained according to the H.248 media gateway control protocol. Determining, according to the media resource information, an MDF entity 230 having media content required by the user; notifying the selected MDF entity 230 of the address of the UE, and notifying the UE of the address of the selected MDF entity 230; Controlling MDF through the RTSP session of MCF entity 220 to MDF entity 230 The media delivery behavior of the body 230.
  • the MCF entity 220 is further configured to send a message carrying the real-time flow session description information required for establishing the RTSP flow to the MDF entity 230;
  • the response message returned by the MDF entity 230 obtains the ID (identification) of the RTSP session, and establishes an RTSP session corresponding to the ID with the MDF entity 230.
  • the MDF entity 230 is configured to be responsible for delivering the media stream to the corresponding UE based on the RTSP protocol, and reporting the media resource information to the MCF entity 220 based on the H.248 protocol, and accepting the media resource management of the MCF entity 220;
  • the RTSP session receives the media control request of the MCF entity 220; and controls the media delivery behavior and the like according to the media control request.
  • the ID of the RTSP session between the MCF entity 220 and the MCF entity 220 is returned based on the H.248 protocol or the SIP protocol, and the MCF entity 220 is established.
  • the RTSP session corresponding to the ID is returned based on the H.248 protocol or the SIP protocol, and the MCF entity 220 is established. The RTSP session corresponding to the ID.
  • the structure of the MCF entity 220 is as shown in FIG. 3, and includes: a SIP session control function unit.
  • the RTSP session control function unit 320 controls the resource management function unit 330, and the media resource information storage unit 340.
  • the SIP session control function unit 310 is configured to complete a SIP service request (SIP INVITE) for receiving the SCF, establish a SIP session and perform media negotiation according to the SIP service request, and select, according to the media resource information of the MDF entity 230, A media delivery function entity of the user media content; and informing the selected media delivery function entity of the RTSP session control function unit.
  • SIP INVITE SIP service request
  • the SIP session control function unit 310 is configured to complete a SIP service request (SIP INVITE) for receiving the SCF, establish a SIP session and perform media negotiation according to the SIP service request, and select, according to the media resource information of the MDF entity 230, A media delivery function entity of the user media content; and informing the selected media delivery function entity of the RTSP session control function unit.
  • the RTSP session control function unit 320 is configured to be responsible for controlling and managing the RTSP session, including establishing an RTSP session between the MDF entity 230 and the UE, and controlling media streams between the MDF entity 230 and the UE; and, by using the MDF entity 230
  • the RTSP session with the MCF entity 220 controls the media delivery of the MDF entity 230 according to the user's IPTV service request. Behavior.
  • the RTSP session control function unit 320 is further configured to convert the obtained media description information into real-time streaming session description information based on the RTSP protocol; Sending, by the SIP protocol, the message carrying the real-time stream session description information to the MDF entity 230.
  • the MDF entity 230 obtains the ID of the RTSP session with the MDF entity 230, and the MDF entity 230 Establish an RTSP session corresponding to the ID.
  • the above-mentioned RTSP session control function unit 320 is also used to provide an SDP (Service Discovery Protocol) Offer carried by the H.248 protocol.
  • SDP Service Discovery Protocol
  • the real-time flow session description information required for establishing the RTSP flow session is sent to the MDF entity 230.
  • the ID of the RTSP session with the MDF entity 230 is obtained, and the MCF entity 220 and An RTSP session corresponding to the ID is established between the MDF entities 230.
  • the resource management function unit 330 is responsible for acquiring media resource information of the MDF entity 230 based on the H.248 protocol.
  • the media resource information includes media processing capabilities (eg, codec conversion capability) of the MDF entity 230, available media resource information (eg, stored streaming media content information), load information of the MDF entity 230 (eg, MDF entity 230 load percentage and Storage space information), delivery status of media content (such as play, pause, fast forward, etc.) and media usage information (such as traffic statistics).
  • the media resource information storage unit 340 is responsible for storing media resource information, providing information storage, modification, and deletion functions to the resource management function unit 330, and providing information query functions for the SIP session control function unit, the RTSP session control function unit, and the resource management function unit. , and accept information updates from resource management features.
  • the structure of the above MDF entity 230 is as shown in FIG. 4, and includes a media resource information storage unit.
  • resource management function unit 420 resource management function unit 420, media delivery unit 430, and RTSP session control function list Yuan 440.
  • the media resource information storage unit 410 is responsible for storing media resource information.
  • the resource management function unit 420 is configured to obtain media resource information from the resource information storage unit 410. It is also used to provide media resource information of the MDF entity 230 to the media delivery unit 430.
  • the media delivery unit 430 is configured to select, according to the control of the RTSP session control function unit 440, the corresponding media content requested by the UE, and deliver the media content to the user through the Xc" interface; and deliver the media content delivery status, media processing capability, and media delivery
  • the media resource information such as the address and the port is sent to the media resource information storage unit 410.
  • the RTSP session control function unit 440 is configured to receive a media control request of the MCF entity 220 through an RTSP session with the MCF entity 220; and control a media delivery behavior of the media delivery unit 430 according to the media control request;
  • the media resource information storage unit 410 queries media resource information such as media processing capability, media delivery address, and port;
  • the RTSP session control function unit 440 is further configured to: after obtaining the real-time stream session description information sent by the MDF entity 230, based on the H.248 protocol or the SIP protocol. And returning an identifier of the RTSP session with the MCF entity 220, and establishing an RTSP session corresponding to the identifier between the MDF entity 230 and the MCF entity 220.
  • the resource management function unit 420 may be further configured to provide the media resource information of the MDF entity 230 to the MCF entity 220 based on the H.248 protocol.
  • the second embodiment of the present invention provides a method for media delivery control, which may be implemented based on the media delivery control system provided by the foregoing first embodiment.
  • the service process includes: media resource information reporting, MCF entity 220, saving media resource information, Session initial process, session modification process, session release process, and media delivery status reporting process.
  • the specific process is shown in Figure 5:
  • the resource information is registered with the MCF, and the MCF uses the H.248 protocol to complete the management of the media resources. 2.
  • the MCF saves the media resource information process.
  • the UE When a user requests a service (such as a COD service), the UE initiates a session initial process, and the terminal establishes a session with the network side, performs media negotiation to establish a content channel and/or a content control channel, and the MCF obtains media resource information of the MDF, and the media resource information includes MDF's media processing capabilities (such as: codec conversion capability), available resource information (such as stored streaming media content information), MDF load information (such as MDF load percentage and storage space information), media content delivery status (such as playback) , pause and fast forward, etc.) and media usage information (such as traffic statistics).
  • MDF's media processing capabilities such as: codec conversion capability
  • available resource information such as stored streaming media content information
  • MDF load information such as MDF load percentage and storage space information
  • media content delivery status such as playback
  • pause and fast forward etc.
  • media usage information such as traffic statistics
  • the MCF selects the MDF that provides the media resource according to the media resource information of each MDF, and performs media negotiation of the control channel and/or the content channel according to the information.
  • the user watches the program and controls the delivery of media content during the viewing process, such as pause, fast forward, rewind, and jump.
  • the MDF will only report the media content status information to the MCF based on the H.248 protocol.
  • the MDF needs to report media resource information such as media content delivery status and media traffic to the MCF.
  • This process can be implemented using the H.248 protocol.
  • the session modification process is initiated by the terminal or the network (SCF/MCF), including adding new media content, modifying media parameter descriptions (such as codec, media sending address and port information), deleting original media content, etc., and the process is an optional process. .
  • the session release process of the IPTV service based on the terminal or network (SCF/MCF), based on
  • the SIP/RTSP protocol is initiated, and the MCF and MDF are based on the RTSP protocol to complete the session release.
  • MDF needs to report media resource information such as media content delivery status and media traffic to the MCF based on the H.248 protocol.
  • the UE has obtained the network parameters of the COD service from the SSF (Service Selection Function) through the EPG (Electronic Program Guide). contain The media description information of the COD content, the RTSP Request-URI information, and the like.
  • the initial session of the corresponding IPTV service includes:
  • Steps F1 to F3 the UE sends a session initial request (SIP INVITE), requesting a COD service, where the RTSP URI information of the media content requested by the UE is carried; and the Core IMS routes the session initial request according to the specification defined by the existing 3GPP IMS R7 version to provide the COD.
  • the SCF of the business The SCF selects the MCF capable of providing media content, and then sends a session initial request to the selected MCF, which carries the RTSP URI information of the media content requested by the UE.
  • Step F4 After receiving the initial session request, the MCF selects the MDF that provides the media resource according to the resource state information of each MDF. Based on the SIP protocol, the MCF sends a Description Get Request (RTSP DESCRIBE) message to the selected MDF, and describes the RTSP URI information of the media content requested by the UE in the Get Request (RTSP DESCRIBE) message.
  • RTSP DESCRIBE Description Get Request
  • Step F5 After receiving the MCF description acquisition request (RTSP DESCRIBE) message, the MDF returns the media description information of the media content corresponding to the RTSP URI based on the SIP protocol.
  • RTSP DESCRIBE MCF description acquisition request
  • the MCF can obtain the media description information.
  • the MCF may also obtain media description information from a Web Server that stores information describing the media, or the MCF itself has stored information such as media description information.
  • steps F4 to F5 are optional.
  • Step F6 The MCF converts the obtained media description information into a stream according to the obtained media description information according to the conversion relationship between the SDP Offer information and the RTSP SETUP information of the session initial request shown in Table 1.
  • the media establishes the request information; based on the RTSP protocol, sends a streaming media setup request (RTSP SETUP) information to the MDF, and the transport header field of the streaming media setup request information carries the transmission information of the UE.
  • the transmission information includes an encoding format, a delivery mode, a receiving address of the UE, and port information.
  • RTSP streaming media session setup response message
  • the response message contains the media sending address and port information of the MDF, and the session ID information of the RTSP session.
  • Session ID 1 is between MCF and MDF*/
  • Steps F8 to F10 after receiving the response message, the MCF saves the RTSP session information (Session
  • the MCF returns a session initial response message (183 or 200 OK) to the SCF, and the session initial response message contains media negotiation information of the media negotiation and 7 pieces of information of the control channel providing the content (ie, the IP address and port of the MCF;).
  • the session initial response message is routed to the UE via the Core IMS; the UE saves the media negotiation information. And based on the control channel negotiation information, establish to
  • the corresponding channel of the MCF (such as TCP connection).
  • the Media SDP answer example is as follows:
  • Sessionld 2 is not same.
  • Session2 is between UE and MCF */
  • Step F1 The UE sends a streaming media play request to the MCF through the established content control channel, where the play request includes: a session ID between the UE and the MCF, and a start play bit.
  • Session: 20000000 /*Session2 is between UE and MCF */
  • the playback request may not include the Range parameter, and the network side (SCF/MGCF) determines the playback position.
  • the Session Initiation Request message sent by the SCF to the MGCF includes Range information.
  • Step F12 After receiving the play request of the UE, the MCF sends a play request message of the streaming media to the MDF according to the play request of the UE.
  • the play request message includes MCF and MDF.
  • An example of a play request message is as follows:
  • Session: 10000000 / ⁇ Session ID 1 is between MCF and MDF*/
  • the MDF after receiving the play request message of the MCF, the MDF sends a media stream according to the play request message, and then returns a play response message to the MCF, where the play response message includes MCF and
  • Session: 10000000 / ⁇ Session ID 1 is between MCF and MDF*/
  • Step F14 The MCF returns a play response message to the UE, where the play response message includes a session ID between the UE and the MCF, and a media start play position.
  • An example of a playback response message is as follows: TSP/1.0 200 OK
  • Session: 20000000 /*Session2 is between UE and MCF */
  • Step F15 The MDF sends the media stream according to the play request of the UE.
  • Step F16 the MDF saves the delivery status of the streaming media, and sends an H.248 NOTIFY message to the MCF, and the H.248 NOTIFY message contains the current media delivery status information (Playing in play).
  • the RTSP session establishment process of the above Xp interface is also suitable for other unicast business processes, such as
  • the terminal triggers the session modification process.
  • the implementation process is shown in Figure 7, including: Steps F1 to F3, the UE initiates a session change process, including adding media content, deleting media content, and modifying media content (such as modifying media format or receiving address and port of the terminal) and holding (hold) unicast media content in a session change request.
  • modifying media content such as modifying media format or receiving address and port of the terminal
  • holding (hold) unicast media content in a session change request Includes new media SDP Offer, compliant with the media modification mechanism defined by the RFC3264 protocol.
  • Step F4 after the MCF receives the session change request, when the media content is added, the MCF
  • the MDF sends a streaming media setup request (RTSP SETUP) message, and the setup request message includes the SessionID (session identifier) of the original RTSP session.
  • the B'J MCF sends a Release Media Request Release Request (RTSP TERADOWN) message to the MDF, and the Release Request message contains the SessionID of the original RTSP session.
  • the MCF sends a media stream setup request (RTSP SETUP) message to the MDF to modify the media transmission parameter, and the setup request message includes the SessionID of the original RTSP session.
  • the MCF sends a pause request (RTSP PAUSE) to the MDF to specify the media stream.
  • Figure 7 is an example of adding new media content.
  • Step F5 Taking the newly added media content as an example, after receiving the setup request message of the newly added media content, the MDF adds a new media content to the UE according to the establishment request message.
  • F6 ⁇ F15 are basically the same as F6 ⁇ F15 during the initial establishment of the session.
  • the difference between F8 and F10 is the session change response.
  • the MDF on the network side triggers the session modification process according to the needs of the service.
  • the implementation process is as shown in Figure 8, including:
  • Step F1 the MDF providing the media content triggers the media modification process due to the service requirement, the MDF sends an RTSP ANNOUNCE (Description Notification) message to the MCF, and the RTSP ANNOUNCE (Description Notification) message contains the new complete media description information.
  • RTSP ANNOUNCE Delivery Notification
  • Step F2 After receiving the description message of the MDF, the MCF compares the new complete media description information with the original media description information, and finds that media modification is required. In this example, the media content is added.
  • Step F3 the MCF sends an RTSP SETUP about the new media content to the MDF (real time stream)
  • the protocol establishes a request message to request to establish a new media stream.
  • the RTSP SETUP (Real Time Stream Protocol Establishment) request message includes the transmission parameters of the existing UE side and the session ID of the original RTSP.
  • Step F4 after receiving the request for establishing the new media content, the MDF creates a new media content, and then returns a setup response message (RTSP 200 OK) to the MCF.
  • RTSP 200 OK setup response message
  • Steps F5 to F10 the MCF initiates a session change request/response process to the UE.
  • Step F11 When the transmission parameter of the UE side changes, the MCF sends an RTSP SETUP message to the MDF to modify the transmission parameter of the UE side in the original session.
  • the RTSP SETUP message includes the session ID of the original RTSP and the new transmission parameter.
  • Step F12 the MDF modifies the saved transmission parameters of the UE side, and returns a setup response message (RTSP 200OK) to the MCF.
  • RTSP 200OK setup response message
  • Steps F13 to F14 the MCF sends a playback request (RTSP PLAY) of the newly added media content to the MDF.
  • RTSP PLAY playback request
  • the MDF After receiving the play request, the MDF sends new media content to the UE according to the play request.
  • the MCF sends a description notification request (RTSP ANNOUNCE) message to the UE through the media control channel according to the description of the description sent by the MDF, and the UE receives the message.
  • RTSP ANNOUNCE description notification request
  • the session modification process is initiated to the network side.
  • Step F1 The MDF providing the media content triggers the media modification process due to the service requirement, and the MDF sends a description notification request (RTSP ANNOUNCE) message to the MCF, and the notification request message includes the new complete media description information.
  • RTSP ANNOUNCE description notification request
  • Step F2 After receiving the MDF description notification request message, the MCF compares the new complete media description information with the original media description information, and finds that media modification is required, such as adding a media stream. The MCF returns a description notification response (RTSP 200 OK) message to the MDF.
  • RTSP 200 OK description notification response
  • Steps F3 to F4 the MCF sends a description notification request (RTSP ANNOUNCE) message to the UE, and after receiving the description notification request message, the UE returns a description notification response (RTSP 200OK) message to the MCF.
  • the subsequent processing is a terminal-initiated session change process that is consistent with the above-described session change request/response to media delivery process.
  • the terminal triggers the session release process, as shown in FIG. 10, including: Steps F1 to F8, the UE initiates a SIP BYE (Session Termination Request) via the Core IMS/SCF route to the MCF.
  • the MCF releases the SIP session and the RTSP session with the UE, then sends an RTSP TEARDOWN to the MDF, stops the transmission of the MDF media content, and returns a termination response (RTSP 200OK) and a session termination response.
  • SIP BYE Session Termination Request
  • the MCF releases the SIP session and the RTSP session with the UE, then sends an RTSP TEARDOWN to the MDF, stops the transmission of the MDF media content, and returns a termination response (RTSP 200OK) and a session termination response.
  • RTSP 200OK termination response
  • Step F9 the MDF passes the H.248 NOTIFY to the MCF, and the media delivery information includes the delivery status of the media content (such as Stopped delivery) and media usage information (such as media traffic statistics).
  • the media delivery information includes the delivery status of the media content (such as Stopped delivery) and media usage information (such as media traffic statistics).
  • the SCF on the network side triggers the session release process, as shown in Figure 11, including:
  • the SCF sends a session termination request (SIP BYE), the session termination request arrives at the MCF entity, or arrives at the UE side via the IMS Core;
  • SIP BYE session termination request
  • the MCF entity sends a termination request (RTSP TEARDOWN) to the MDF entity; stops the transmission of the MDF media content, and returns a termination response (RTSP 200OK). It is similar to the above related description and will not be described in detail here.
  • the UE side releases the corresponding session and feeds back the session termination response.
  • the MCF triggering session release process on the network side includes: Steps F1 to F2.
  • the MDF1 plays the media stream, it can be, but is not limited to, the use of the draft Signalling End Of Stream in RTSP (draft- Zeng-mmusic-00)
  • the method of sending an END-OF-STREAM message to the MCF notifies the MCF media stream that it has finished playing.
  • Steps F3 to F10 after receiving the session termination notification message, the MCF starts the session release process, sends a session release request message to the UE, and sends an RTSP TEARDOWN to the MDF. Ask) message.
  • the session release request message and the termination request message carry the session ID, the media stream information that has been sent, the number of RTP packets that have been sent, and the like.
  • An example of a session termination notification message is:
  • the SDP Offer/Answer of the H.248 protocol carries the media parameters to establish the RTSP session, and then performs streaming control based on the RTSP protocol.
  • the SDP Offer (provided) sets the sending port of the media stream to 0 or the Subtract defined by the H.248 protocol to terminate the RTSP session.
  • the basic implementation process is shown in Figure 13, including:
  • Step F1 the MCF sends an H.248 ADD Add Request message to the MDF, and the H.248 ADD Add Request message includes an SDP Offer, where the SDP Offer includes information needed to establish an RTSP stream, where the information includes media content.
  • Step F2 after receiving the H.248 ADD increase request message, the MDF obtains the information required for establishing the RTSP flow, and establishes an RTSP session with the MCF according to the RDF, and returns an H.248 Reply response message, H.248 Reply
  • the response message includes SDP Answer, and the SDP Answer contains the RTSP session establishment response content, such as the Session ID of the RTSP session and the RTP information of the media stream.
  • Step F3 After receiving the H.248 Reply response message, the MCF sends an RTSP PLAY (Real Time Streaming) request message to the MCF.
  • RTSP PLAY Real Time Streaming
  • Steps F4 to F5 after receiving the real-time streaming play request message, the MDF returns an RTSP 200 OK (response message), and then sends the media stream to the UE.
  • RTSP 200 OK response message
  • Step F6 VCR operation between MCF and MDF, such as live streaming or pause
  • Step F7 the MCF sends an H.248 Subtract to the MDF.
  • Step F8 After receiving the termination flow request, the MDF releases the RTSP session, terminates sending the media content, and returns an H.248 Reply response message.
  • the third embodiment of the present invention provides a method for media delivery control, and the implementation process thereof is as shown in FIG.
  • Step 101 Obtain media resource information of the MDF entity.
  • the media resource information of the MDF entity can be obtained based on the H.248 Media Gateway Control Protocol.
  • Step 102 Select, according to the media resource information of the MDF entity, an MDF entity that can provide the media content to the user.
  • Step 103 Control the media delivery behavior of the MDF through a real-time streaming protocol RTSP session with the MDF entity. Specifically, there are three processing situations as follows:
  • the MDF entity controls the MDF entity to deliver the media content requested by the user to the user through an RTSP session with the MDF entity.
  • the MDF entity is controlled for media modification:
  • the user side controls the media delivery function entity to perform media modification according to the session modification request initiated by the determined media modification corresponding description information.
  • the MDF entity is controlled to release the media. details as follows:
  • the above method does not exist in the case of an RTSP session between the MDF and the MCF, and includes: a process of establishing an RTSP session between the MDF and the MCF, and the specific implementation is as follows:
  • the real-time stream session description information required for establishing the RTSP stream is delivered; the identifier of the RTSP session is obtained according to the response message returned by the media delivery function entity, and the RTSP session corresponding to the ID is established between the media control function entity and the media delivery function entity.
  • the process of issuing the real-time flow session description information required for establishing the RTSP stream can be implemented by the following two methods:
  • the first type converts the obtained media description information into real-time streaming session description information based on the RTSP protocol; and sends the real-time streaming session description information to the media delivery function entity based on the session initiation protocol SIP.
  • the real-time stream session description information required to establish the RTSP stream is sent to the media delivery function entity.
  • the fourth embodiment of the present invention provides a media delivery control method, which receives a media control request of an MCF entity by using an RTSP session with an MCF entity;
  • the media control request controls media delivery behavior.
  • the fourth embodiment further includes: a process of establishing an RTSP session between the MDF and the MCF, and the specific implementation is as follows: After obtaining the real-time stream session description information sent by the media control function entity, returning the identifier of the RTSP session with the media control function entity based on the H.248 protocol or the SIP protocol, between the media delivery function entity and the media control function entity, Establish an RTSP session corresponding to the identifier.
  • the media resource information of the MDF entity may also be provided to the MCF entity.
  • the media resource information of the media delivery function entity may be provided to the media control function entity based on the H.248 protocol.
  • the solution selects a media delivery function entity that can be provided to the user media stream according to the media resource information of the media delivery function entity according to the media resource information of the media delivery function entity.
  • Controlling the media delivery behavior of the media delivery functional entity through an RTSP session with the media delivery functional entity, and giving a specific way for the MCF entity to control the media delivery of the MDF entity, thereby satisfying the MCF entity and the MDF entity The interface supports the requirements of media resource management functions and media flow control functions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method, entity and system of media delivery control, by receiving the media resource information of a media delivery function entity, and according to the media resource information of a media delivery function entity, the media delivery function entity which can offer the media stream to a user is chosen; by the RTSP session communicated with the media delivery function entity, the media delivery function entity plays a media delivery action, a specific route that the MCF entity pairs to the MDF entity to control the media delivery is given, thus the need of the interface between the MCF entity and the MDF entity that support the media resource control function and the media stream control function are satisfied.

Description

实现媒体交付控制的方法、 实体及*** 技术领域  Method, entity and system for realizing media delivery control
本发明涉及通信领域, 尤其涉及实现媒体交付控制的技术。 背景技术  The present invention relates to the field of communications, and more particularly to techniques for implementing media delivery control. Background technique
流媒体业务或 IPTV ( IP Television, IP电视)业务是近几年迅速发展 的一种新业务, 流媒体业务利用流式传输技术, 在包交换网络上传输多媒 体文件, 包括视频、 音频等文件内容。 这些内容在访问时无需完全下载就 可以立即播放。 实现流媒体业务的关键技术就是流式传输技术, 而流式传 输技术是将连续的视频和音频信息经过处理后放上网站服务器, 让用户一 边下载一边观看、 收听, 而不需要等整个文件下载到自己机器后才可以观 看的网络传输技术。  The streaming media service or IPTV (IP Television) service is a new service that has developed rapidly in recent years. The streaming media service uses streaming technology to transmit multimedia files, including video and audio files, on a packet-switched network. . This content can be played immediately without having to download it completely. The key technology to realize streaming media service is streaming technology. Streaming technology processes continuous video and audio information and puts it on the website server, allowing users to watch and listen while downloading, without waiting for the entire file to be downloaded. Network transmission technology that can be viewed only after you have your own machine.
IMS ( IP Multimedia Subsystem, IP多媒体子***)是 3GPP R5提出 的提供多媒体业务的子***, 它属于上层控制子***, 与具体接入技术无 关。它包括 SCF ( Session Control Function,会话控制功能 )、 MGCF ( Media Gateway Control Function,媒体资源功能控制器)、 MRFP ( Media Resource Function Processor, 媒体资源功能处理器) 等功能实体, 主要釆用 SIP ( Session Initial Protocol, 会话发起协议) 、 Diameter协议实现注册、 认 证、路由、会话控制与建立、业务触发、计费、端到端 QoS( Quality of Service , 业务质量)保证等会话机制。  IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) is a subsystem for providing multimedia services proposed by 3GPP R5. It belongs to the upper layer control subsystem and is independent of the specific access technology. It includes functional entities such as SCF (Session Control Function), MGCF (Media Gateway Control Function), MRFP (Media Resource Function Processor), and mainly uses SIP (Session). The initial protocol, the session initiation protocol, and the Diameter protocol implement session mechanisms such as registration, authentication, routing, session control and establishment, service triggering, accounting, and end-to-end QoS (Quality of Service).
IMS based IPTV***是基于 IMS架构提供 IPTV业务,以充分利用 IMS 网络中已有的会话控制机制, 为用户提供流媒体业务、 融合流媒体和实时 会话业务的多媒体业务。 也就是说, 用户到内容的多媒体会话通过 IMS 已有的会话控制机制完成, 在建立会话过程中, 需要为媒体流的传送预留 承载资源。 The IMS based IPTV system provides IPTV services based on the IMS architecture to fully utilize the existing session control mechanism in the IMS network to provide users with streaming services, streaming media and real-time session services. That is to say, the multimedia session of the user to the content is completed by the existing session control mechanism of the IMS, and the session of the media stream needs to be reserved during the establishment of the session. Host resources.
IMS based IPTV***的功能架构如图 1所示, 其除了包括上述的 IMS ***外, 还包括终端设备(User Equipment, UE ) 、 IPTV媒体功能( IPTV Media Functions )模块等。  The functional architecture of the IMS based IPTV system is shown in FIG. 1. In addition to the above IMS system, it also includes a User Equipment (UE), an IPTV Media Functions module, and the like.
其中, 所述终端设备, 用于接收媒体流, 并且能够对媒体流进行远程 播放控制, 如请求播放 /暂停、 快进和快退等。  The terminal device is configured to receive a media stream, and can perform remote play control on the media stream, such as requesting play/pause, fast forward, and fast rewind.
所述 IPTV媒体功能模块, 负责对到终端设备的媒体流进行控制与交 付(Delivery )。 目前从功能角度, 将所述 IPTV媒体功能模块分解为 MCF ( Media Control Function, 媒体控制功能) 实体和 MDF ( Media Delivery Function,媒体交付功能)实体, 其中, 定义所述 MCF实体负责会话控制、 媒体播放控制、 媒体资源的管理以及计费等功能; 定义所述 MDF实体负 责媒体流的传送、 媒体资源的上报等功能。  The IPTV media function module is responsible for controlling and delivering the media stream to the terminal device. Currently, the IPTV media function module is decomposed into an MCF (Media Control Function) entity and an MDF (Media Delivery Function) entity from a functional point of view, wherein the MCF entity is defined to be responsible for session control and media. Functions such as play control, management of media resources, and billing; define the functions of the MDF entity responsible for media stream transmission, media resource reporting, and the like.
通过现有技术定义的 MCF 实体和 MDF 实体的功能可以看出, MCF 实体和 MDF实体之间的接口参考点, 记为 Xp, 需要支持***体交付会 话的建立, 并指示一个或多个 MDF交付内容给终端, 这就需要 Xp接口 具有媒体资源管理功能和媒体流控制功能。 但现有技术并没有给出 MCF 实体对 MDF实体的媒体交付进行控制的具体途径,不能满足 MCF实体和 MDF实体之间的接口支持媒体资源管理功能和媒体流控制功能的需求。 发明内容  It can be seen from the functions of the MCF entity and the MDF entity defined by the prior art that the interface reference point between the MCF entity and the MDF entity, denoted as Xp, needs to support the establishment of a control media delivery session and indicate one or more MDF deliveries. Content to the terminal, which requires the Xp interface to have media resource management functions and media flow control functions. However, the prior art does not provide a specific way for the MCF entity to control the media delivery of the MDF entity, and cannot satisfy the requirement of the interface between the MCF entity and the MDF entity to support the media resource management function and the media stream control function. Summary of the invention
本发明实施例提供一种实现媒体交付控制的方法、 实体及***, 该方 法给出了 MCF实体对 MDF实体的媒体交付进行控制的具体实施方案。  Embodiments of the present invention provide a method, an entity, and a system for implementing media delivery control. The method provides a specific implementation scheme for an MCF entity to control media delivery of an MDF entity.
本发明通过如下实施例提供的技术方案实现:  The present invention is implemented by the technical solution provided by the following embodiments:
本发明实施例提供一种实现媒体交付控制的方法, 该方法包括: 获取媒体交付功能实体的媒体资源信息;  An embodiment of the present invention provides a method for implementing media delivery control, where the method includes: acquiring media resource information of a media delivery function entity;
根据媒体交付功能实体的媒体资源信息, 选择出能够提供给用户所需 媒体内容的媒体交付功能实体; According to the media resource information of the media delivery function entity, select the information that can be provided to the user Media delivery functional entity for media content;
通过与媒体交付功能实体之间的实时流协议 RTSP会话, ***体交 付功能实体的媒体交付行为。  The media delivery behavior of the media delivery functional entity is controlled by a real-time streaming protocol RTSP session with the media delivery functional entity.
本发明实施例还提供一种媒体控制功能实体, 其包括:  An embodiment of the present invention further provides a media control function entity, including:
资源管理单元, 用于获取媒体交付功能实体的媒体资源信息; 会话发起协议 SIP会话控制功能单元, 用于根据媒体交付功能实体的 媒体资源信息, 选择出能够提供给用户所需媒体内容的媒体交付功能实 体;  a resource management unit, configured to obtain media resource information of the media delivery function entity; a session initiation protocol SIP session control function unit, configured to select media delivery that can provide the required media content to the user according to the media resource information of the media delivery function entity Functional entity
实时流协议 RTSP会话控制功能单元, 用于通过与所述 SIP会话控制 功能单元所选择出的媒体交付功能实体之间的 RTSP会话, ***体交付 功能实体的媒体交付行为。  Real Time Streaming Protocol The RTSP session control function unit is configured to control media delivery behavior of the media delivery function entity through an RTSP session with a media delivery function entity selected by the SIP session control function unit.
本发明实施例还提供一种实现媒体交付控制的方法, 该方法包括: 通过与媒体控制功能实体之间的实时流协议 RTSP会话, 接收媒体控 制功能实体的媒体控制请求; 并根据所述媒体控制请求***体交付行 为。  An embodiment of the present invention further provides a method for implementing media delivery control, the method comprising: receiving, by a real-time streaming protocol RTSP session with a media control function entity, a media control request of a media control function entity; and controlling according to the media Request to control media delivery behavior.
本发明实施例还提供一种媒体交付功能实体, 该媒体交付功能实体包 括:  The embodiment of the present invention further provides a media delivery function entity, where the media delivery function entity includes:
实时流协议 RTSP会话控制功能单元, 用于通过与媒体控制功能实体 之间的 RTSP会话, 接收媒体控制功能实体的媒体控制请求; 并根据所述 媒体控制请求***体交付单元的媒体交付行为;  a real-time streaming protocol RTSP session control function unit, configured to receive a media control request of a media control function entity through an RTSP session with a media control function entity; and control a media delivery behavior of the media delivery unit according to the media control request;
媒体交付单元, 根据所述 RTSP会话控制功能单元的控制, 选择相应 的媒体内容交付给用户。  The media delivery unit, according to the control of the RTSP session control function unit, selects the corresponding media content to be delivered to the user.
本发明实施例还提供一种媒体交付控制***, 该媒体交付控制***包 括:  The embodiment of the present invention further provides a media delivery control system, where the media delivery control system includes:
媒体控制功能实体, 用于获取媒体交付功能实体的媒体资源信息; 根 据媒体交付功能实体的媒体资源信息, 选择出能够提供给用户所需媒体内 容的媒体交付功能实体; 通过与媒体交付功能实体之间的实时流协议a media control function entity, configured to obtain media resource information of the media delivery function entity; and, according to the media resource information of the media delivery function entity, select a media that can be provided to the user Media delivery functional entity; real-time streaming protocol between functional entities through media delivery
RTSP会话, 发送媒体控制请求; RTSP session, sending a media control request;
媒体交付功能实体,用于通过与媒体控制功能实体之间的 RT SP会话, 接收媒体控制功能实体的媒体控制请求; 并根据所述媒体控制请求*** 体交付行为。  And a media delivery function entity, configured to receive a media control request of the media control function entity through an RT SP session with the media control function entity; and control the media delivery behavior according to the media control request.
由上述本发明实施例的具体实施方案可以看出,该方案通过获取 MDF 实体的媒体资源信息, 根据 MDF实体的媒体资源信息, 选择出能够提供 给用户媒体内容的 MDF实体; 通过与 MDF实体之间的 RTSP会话, 控制 MDF实体的媒体交付行为, 给出了 MCF实体对 MDF实体的媒体交付进 行控制的具体途径,从而满足了 MCF实体和 MDF实体之间的接口支持媒 体资源管理功能和媒体流控制功能的需求。 附图说明  As shown in the foregoing specific embodiment of the present invention, the solution selects the MDF entity that can provide the media content to the user according to the media resource information of the MDF entity by acquiring the media resource information of the MDF entity; The inter-RTSP session controls the media delivery behavior of the MDF entity, and gives a specific way for the MCF entity to control the media delivery of the MDF entity, thereby satisfying the interface between the MCF entity and the MDF entity to support the media resource management function and the media stream. Control function requirements. DRAWINGS
图 1为现有技术提供的 IMS based IPTV***的功能架构;  FIG. 1 is a functional architecture of an IMS based IPTV system provided by the prior art;
图 2为本发明第一实施例提供的媒体交付控制***的结构图; 图 3为本发明第一实施例中的媒体控制功能实体的结构图;  2 is a structural diagram of a media delivery control system according to a first embodiment of the present invention; FIG. 3 is a structural diagram of a media control function entity in a first embodiment of the present invention;
图 4为本发明第一实施例中的媒体交付功能实体的结构图;  4 is a structural diagram of a media delivery function entity in a first embodiment of the present invention;
图 5为本发明第二实施例的业务处理过程总体流程图;  FIG. 5 is a general flowchart of a service processing process according to a second embodiment of the present invention; FIG.
图 6为本发明第二实施例中的 IPTV业务的会话初始过程流程图; 图 7为本发明第二实施例中的终端触发会话修改过程的流程图; 图 8为本发明第二实施例中的网络侧 MDF根据业务需要触发会话修 改过程的实现流程图;  6 is a flowchart of a session initial process of an IPTV service according to a second embodiment of the present invention; FIG. 7 is a flowchart of a terminal triggering session modification process according to a second embodiment of the present invention; FIG. 8 is a second embodiment of the present invention. The implementation flowchart of the session modification process triggered by the network side MDF according to the service requirement;
图 9为本发明第二实施例中的网络侧的 MDF需要进行媒体修改时, 通过 MCF决策进行媒体修改后, 通知 UE向网络侧发起会话修改过程的 流程图;  FIG. 9 is a flowchart of initiating a session modification process by the UE to the network side after the media modification is performed by the MCF decision in the MDF of the network side in the second embodiment of the present invention;
图 10为本发明第二实施例中的终端触发会话释放过程的流程图; 图 11为本发明第二实施例中的网络侧 SCF触发会话释放过程的流程 图; 10 is a flowchart of a terminal triggering session release process in a second embodiment of the present invention; FIG. 11 is a flowchart of a network side SCF triggering session release process in a second embodiment of the present invention;
图 12为本发明第二实施例中的网络侧 MCF触发会话释放过程的流程 图;  12 is a flow chart of a network side MCF triggering session release process in a second embodiment of the present invention;
图 13为本发明第二实施例中的釆用 H.248协议的 SDP Offer (提供) Figure 13 is a diagram showing the SDP Offer for the H.248 protocol in the second embodiment of the present invention.
/Answer (响应) 实现 RTSP会话的建立和终止的流程图; /Answer A flowchart that implements the establishment and termination of an RTSP session;
图 14为本发明第三实施例的实现流程图。 具体实施方式  FIG. 14 is a flowchart of an implementation of a third embodiment of the present invention. detailed description
本发明第一实施例提供了一种媒体交付控制***,如图 2所示,包括: A first embodiment of the present invention provides a media delivery control system, as shown in FIG. 2, including:
Core IMS ( IP多媒体子***中心 ) 210、 MCF实体 220和 MDF实体 230。 Core IMS (IP Multimedia Subsystem Center) 210, MCF entity 220 and MDF entity 230.
Core IMS210与 UE通过 SIP协议进行信息交互; Core IMS210与 MCF 实体 220之间通过 Y2接口进行信息交互; MCF实体 220与 UE通过 X, 接口 , 使用 RTSP会话协议进行通信; MCF实体 220与 MDF实体 230之 间通过 Xp接口, 使用 H.248/RTSP协议进行通信; MDF实体 230与 UE 通过 Xc"接口 , 使用 RTP /FTP协议进行通信。  The core IMS 210 and the UE exchange information through the SIP protocol; the Core IMS 210 and the MCF entity 220 exchange information through the Y2 interface; the MCF entity 220 communicates with the UE through the X, interface, using the RTSP session protocol; the MCF entity 220 and the MDF entity 230 Communication is performed using the H.248/RTSP protocol through the Xp interface; the MDF entity 230 communicates with the UE through the Xc" interface using the RTP/FTP protocol.
Core IMS210, 其功能与现有 3GPP技术类似, 用于根据 UE的 IPTV 业务请求,对 UE提供认证、鉴权和会话控制功能,根据用户签约信息 IPTV 业务请求被路由到 Core IMS210内部的 SCF实体, SCF实体触发相应的业 务处理逻辑。  The Core IMS210, which functions similarly to the existing 3GPP technology, is configured to provide authentication, authentication, and session control functions to the UE according to the IPTV service request of the UE, and is routed to the SCF entity inside the Core IMS 210 according to the user subscription information IPTV service request. The SCF entity triggers the corresponding business processing logic.
MCF实体 220, 用于根据上述触发的业务处理逻辑, 从 IPTV业务请 求中获得用户需求的媒体内容, 根据所述媒体内容, 以及基于 H.248媒体 网关控制协议获得的 MDF实体 230的媒体资源信息, 根据所述媒体资源 信息选定具备用户所需求的媒体内容的 MDF实体 230;并将 UE的地址告 知所选定的 MDF实体 230, 以及将所选定的 MDF实体 230的地址告知 UE; 并通过 MCF实体 220到 MDF实体 230的 RTSP会话, 控制 MDF实 体 230的媒体交付行为。 The MCF entity 220 is configured to obtain media content required by the user from the IPTV service request according to the service processing logic triggered by the foregoing, according to the media content, and media resource information of the MDF entity 230 obtained according to the H.248 media gateway control protocol. Determining, according to the media resource information, an MDF entity 230 having media content required by the user; notifying the selected MDF entity 230 of the address of the UE, and notifying the UE of the address of the selected MDF entity 230; Controlling MDF through the RTSP session of MCF entity 220 to MDF entity 230 The media delivery behavior of the body 230.
在 MCF实体 220与 MDF实体 230之间的 RTSP会话不存在的情况下, 所述 MCF实体 220,还用于下发携带建立 RTSP流所需要的实时流会话描 述信息的消息给 MDF实体 230; 根据 MDF实体 230返回的响应消息获得 RTSP会话的 ID (标识 ) ,与 MDF实体 230之间建立所述 ID对应的 RTSP 会话。  In the case that the RTSP session between the MCF entity 220 and the MDF entity 230 does not exist, the MCF entity 220 is further configured to send a message carrying the real-time flow session description information required for establishing the RTSP flow to the MDF entity 230; The response message returned by the MDF entity 230 obtains the ID (identification) of the RTSP session, and establishes an RTSP session corresponding to the ID with the MDF entity 230.
MDF实体 230, 用于负责基于 RTSP协议交付媒体流给对应的 UE; 基于 H.248协议, 向 MCF实体 220上报媒体资源信息, 并接受 MCF实体 220的媒体资源管理;通过与 MCF实体 220之间的 RTSP会话,接收 MCF 实体 220的媒体控制请求;并根据所述媒体控制请求***体交付行为等。  The MDF entity 230 is configured to be responsible for delivering the media stream to the corresponding UE based on the RTSP protocol, and reporting the media resource information to the MCF entity 220 based on the H.248 protocol, and accepting the media resource management of the MCF entity 220; The RTSP session receives the media control request of the MCF entity 220; and controls the media delivery behavior and the like according to the media control request.
在 MCF实体 220与 MDF实体 230之间的 RTSP会话不存在的情况下, 后, 基于 H.248协议或 SIP协议返回与 MCF实体 220之间的 RTSP会话 的 ID, 与 MCF实体 220之间建立所述 ID对应的 RTSP会话。  In the case where the RTSP session between the MCF entity 220 and the MDF entity 230 does not exist, the ID of the RTSP session between the MCF entity 220 and the MCF entity 220 is returned based on the H.248 protocol or the SIP protocol, and the MCF entity 220 is established. The RTSP session corresponding to the ID.
上述 MCF实体 220的结构如图 3所示, 包括: SIP会话控制功能单元 The structure of the MCF entity 220 is as shown in FIG. 3, and includes: a SIP session control function unit.
310、 RTSP会话控制功能单元 320、 资源管理功能单元 330和媒体资源信 息存储单元 340。 310. The RTSP session control function unit 320, the resource management function unit 330, and the media resource information storage unit 340.
SIP会话控制功能单元 310, 用于完成接收 SCF的 SIP业务请求( SIP INVITE ) , 根据该 SIP业务请求, 建立 SIP会话和进行媒体协商, 并根据 MDF实体 230的媒体资源信息, 选择出能够提供给用户媒体内容的媒体 交付功能实体; 并将所选择的媒体交付功能实体告知 RTSP会话控制功能 单元。  The SIP session control function unit 310 is configured to complete a SIP service request (SIP INVITE) for receiving the SCF, establish a SIP session and perform media negotiation according to the SIP service request, and select, according to the media resource information of the MDF entity 230, A media delivery function entity of the user media content; and informing the selected media delivery function entity of the RTSP session control function unit.
RTSP会话控制功能单元 320, 用于负责 RTSP会话的控制与管理, 包 含建立 MDF实体 230与 UE之间的 RTSP会话, 对 MDF实体 230与 UE 之间的媒体流进行控制; 以及, 通过 MDF实体 230与 MCF实体 220之间 的 RTSP会话,根据用户的 IPTV业务请求控制 MDF实体 230的媒体交付 行为。 The RTSP session control function unit 320 is configured to be responsible for controlling and managing the RTSP session, including establishing an RTSP session between the MDF entity 230 and the UE, and controlling media streams between the MDF entity 230 and the UE; and, by using the MDF entity 230 The RTSP session with the MCF entity 220 controls the media delivery of the MDF entity 230 according to the user's IPTV service request. Behavior.
在 MDF实体 230与 MCF实体 220之间的 RTSP会话不存在的情况下, 所述 RTSP会话控制功能单元 320, 还用于将获得的媒体描述信息, 转换 为基于 RTSP协议的实时流会话描述信息; 基于 SIP协议, 将携带所述实 时流会话描述信息的消息, 发送给 MDF实体 230; 根据 MDF实体 230的 反馈的响应, 获得与 MDF实体 230之间的 RTSP会话的 ID, 与 MDF实 体 230之间建立所述 ID对应的 RTSP会话。 或者,  In the case that the RTSP session between the MDF entity 230 and the MCF entity 220 does not exist, the RTSP session control function unit 320 is further configured to convert the obtained media description information into real-time streaming session description information based on the RTSP protocol; Sending, by the SIP protocol, the message carrying the real-time stream session description information to the MDF entity 230. According to the feedback of the MDF entity 230, obtaining the ID of the RTSP session with the MDF entity 230, and the MDF entity 230 Establish an RTSP session corresponding to the ID. Or,
在 MDF实体 230与 MCF实体 220之间的 RTSP会话不存在的情况下, 上述 RTSP会话控制功能单元 320, 还用于通过 H.248协议携带的 SDP ( Service Discovery Protocol, 服务发现协议 ) Offer (提供 ) , 将建立 RTSP 流会话所需要的实时流会话描述信息, 发送给 MDF实体 230; 根据 MDF 实体 230的反馈的响应消息, 获得与 MDF实体 230之间的 RTSP会话的 ID, 在 MCF实体 220与 MDF实体 230之间建立所述 ID对应的 RTSP会 话。  In the case that the RTSP session between the MDF entity 230 and the MCF entity 220 does not exist, the above-mentioned RTSP session control function unit 320 is also used to provide an SDP (Service Discovery Protocol) Offer carried by the H.248 protocol. The real-time flow session description information required for establishing the RTSP flow session is sent to the MDF entity 230. According to the feedback message fed back by the MDF entity 230, the ID of the RTSP session with the MDF entity 230 is obtained, and the MCF entity 220 and An RTSP session corresponding to the ID is established between the MDF entities 230.
资源管理功能单元 330, 负责基于 H.248协议, 获取 MDF实体 230 的媒体资源信息。该媒体资源信息包含 MDF实体 230的媒体处理能力(如: 编解码转换能力) 、 可用的媒体资源信息 (如存储的流媒体内容信息) 、 MDF实体 230的负载信息(如 MDF实体 230负荷百分比和存储空间信息 )、 媒体内容的交付状态 (如播放、 暂停与快进等)和媒体使用信息 (如流量 统计信息) 等。  The resource management function unit 330 is responsible for acquiring media resource information of the MDF entity 230 based on the H.248 protocol. The media resource information includes media processing capabilities (eg, codec conversion capability) of the MDF entity 230, available media resource information (eg, stored streaming media content information), load information of the MDF entity 230 (eg, MDF entity 230 load percentage and Storage space information), delivery status of media content (such as play, pause, fast forward, etc.) and media usage information (such as traffic statistics).
媒体资源信息存储单元 340, 负责存储媒体资源信息, 对资源管理功 能单元 330提供信息存入、 修改和删除功能, 对 SIP会话控制功能单元、 RTSP会话控制功能单元和资源管理功能单元提供信息查询功能, 以及接 受来自资源管理功能的信息更新。  The media resource information storage unit 340 is responsible for storing media resource information, providing information storage, modification, and deletion functions to the resource management function unit 330, and providing information query functions for the SIP session control function unit, the RTSP session control function unit, and the resource management function unit. , and accept information updates from resource management features.
上述 MDF实体 230的结构如图 4所示, 包含媒体资源信息存储单元 The structure of the above MDF entity 230 is as shown in FIG. 4, and includes a media resource information storage unit.
410、 资源管理功能单元 420、 媒体交付单元 430和 RTSP会话控制功能单 元 440。 410, resource management function unit 420, media delivery unit 430, and RTSP session control function list Yuan 440.
媒体资源信息存储单元 410, 负责存储媒体资源信息。  The media resource information storage unit 410 is responsible for storing media resource information.
资源管理功能单元 420, 用于从资源信息存储单元 410获得媒体资源 信息。 还用于提供 MDF实体 230的媒体资源信息给媒体交付单元 430。  The resource management function unit 420 is configured to obtain media resource information from the resource information storage unit 410. It is also used to provide media resource information of the MDF entity 230 to the media delivery unit 430.
媒体交付单元 430, 用于按照 RTSP会话控制功能单元 440的控制, 选择 UE所请求的相应媒体内容, 并通过 Xc"接***付媒体内容给用户; 并将媒体内容交付状态、 媒体处理能力、 媒体交付地址与端口等媒体资源 信息发送给媒体资源信息存储单元 410。  The media delivery unit 430 is configured to select, according to the control of the RTSP session control function unit 440, the corresponding media content requested by the UE, and deliver the media content to the user through the Xc" interface; and deliver the media content delivery status, media processing capability, and media delivery The media resource information such as the address and the port is sent to the media resource information storage unit 410.
RTSP会话控制功能单元 440,用于通过与 MCF实体 220之间的 RTSP 会话, 接收 MCF实体 220的媒体控制请求; 并根据所述媒体控制请求控 制媒体交付单元 430的媒体交付行为; 还用于向媒体资源信息存储单元 410查询媒体处理能力、 媒体交付地址与端口等媒体资源信息;  The RTSP session control function unit 440 is configured to receive a media control request of the MCF entity 220 through an RTSP session with the MCF entity 220; and control a media delivery behavior of the media delivery unit 430 according to the media control request; The media resource information storage unit 410 queries media resource information such as media processing capability, media delivery address, and port;
在 MDF实体 230与 MCF实体 220之间的 RTSP会话不存在的情况下, RTSP会话控制功能单元 440还用于:获得 MDF实体 230发送的实时流会 话描述信息后 , 基于 H.248协议或 SIP协议, 返回与 MCF实体 220之间 的 RTSP会话的标识, 在 MDF实体 230与 MCF实体 220之间 , 建立所述 标识对应的 RTSP会话。  In the case that the RTSP session between the MDF entity 230 and the MCF entity 220 does not exist, the RTSP session control function unit 440 is further configured to: after obtaining the real-time stream session description information sent by the MDF entity 230, based on the H.248 protocol or the SIP protocol. And returning an identifier of the RTSP session with the MCF entity 220, and establishing an RTSP session corresponding to the identifier between the MDF entity 230 and the MCF entity 220.
上述资源管理功能单元 420, 还可以进一步用于基于 H.248协议提供 MDF实体 230的媒体资源信息给 MCF实体 220。  The resource management function unit 420 may be further configured to provide the media resource information of the MDF entity 230 to the MCF entity 220 based on the H.248 protocol.
本发明第二实施例提供了一种媒体交付控制的方法, 其可以基于上述 第一实施例提供的媒体交付控制***来实现, 业务过程包括: 媒体资源信 息上报、 MCF实体 220保存媒体资源信息、会话初始过程、会话修改过程、 会话释放过程和媒体交付状态上报过程。 具体流程如图 5所示:  The second embodiment of the present invention provides a method for media delivery control, which may be implemented based on the media delivery control system provided by the foregoing first embodiment. The service process includes: media resource information reporting, MCF entity 220, saving media resource information, Session initial process, session modification process, session release process, and media delivery status reporting process. The specific process is shown in Figure 5:
1、 媒体资源信息上报过程:  1. Reporting process of media resource information:
MDF启动后, 向 MCF注册资源信息, MCF釆用 H.248协议完成媒体 资源的管理。 2、 MCF保存媒体资源信息过程。 After the MDF is started, the resource information is registered with the MCF, and the MCF uses the H.248 protocol to complete the management of the media resources. 2. The MCF saves the media resource information process.
3、 IPTV业务的会话初始过程:  3. The initial session of the IPTV service:
用户请求业务(如 COD业务)时, UE启动会话初始过程, 终端与网 络侧之间建立会话、进行媒体协商建立内容通道和 /或内容控制通道, MCF 获取 MDF的媒体资源信息,媒体资源信息包含 MDF的媒体处理能力(如: 编解码转换能力) 、 可用资源信息 (如存储的流媒体内容信息) 、 MDF 的负载信息 (如 MDF负荷百分比和存储空间信息) 、 媒体内容的交付状 态 (如播放、 暂停与快进等) 和媒体使用信息 (如流量统计信息) 等。 MCF根据各个 MDF的媒体资源信息, 选择提供媒体资源的 MDF, 并根 据这些信息进行控制通道和 /或内容通道的媒体协商。会话建立成功后, 用 户观看节目, 并在观看过程中***体内容的交付, 如暂停、 快进、 快退 和跳转等。 当 MDF的交付的媒体内容发生状态变化时, MDF基于 H.248 协议向 MCF上才艮媒体内容状态信息。  When a user requests a service (such as a COD service), the UE initiates a session initial process, and the terminal establishes a session with the network side, performs media negotiation to establish a content channel and/or a content control channel, and the MCF obtains media resource information of the MDF, and the media resource information includes MDF's media processing capabilities (such as: codec conversion capability), available resource information (such as stored streaming media content information), MDF load information (such as MDF load percentage and storage space information), media content delivery status (such as playback) , pause and fast forward, etc.) and media usage information (such as traffic statistics). The MCF selects the MDF that provides the media resource according to the media resource information of each MDF, and performs media negotiation of the control channel and/or the content channel according to the information. After the session is successfully established, the user watches the program and controls the delivery of media content during the viewing process, such as pause, fast forward, rewind, and jump. When the state of the delivered media content of the MDF changes, the MDF will only report the media content status information to the MCF based on the H.248 protocol.
在业务进行过程中, MDF需要向 MCF上报媒体内容交付状态、 媒体 流量等媒体资源信息。 可以釆用 H.248协议实现该过程。  During the process of the service, the MDF needs to report media resource information such as media content delivery status and media traffic to the MCF. This process can be implemented using the H.248 protocol.
4、 IPTV业务的会话修改过程:  4. Session modification process of IPTV service:
该会话修改过程由终端或网络( SCF/MCF )发起, 包含新增媒体内容、 修改媒体参数描述(如编解码、 媒体发送地址与端口信息) 、 删除原媒体 内容等, 该过程为可选过程。  The session modification process is initiated by the terminal or the network (SCF/MCF), including adding new media content, modifying media parameter descriptions (such as codec, media sending address and port information), deleting original media content, etc., and the process is an optional process. .
5、 IPTV业务的会话释放过程, 由终端或网络( SCF/MCF ) , 基于 5. The session release process of the IPTV service, based on the terminal or network (SCF/MCF), based on
SIP/RTSP协议发起, MCF与 MDF基于 RTSP协议, 完成会话释放。 在业 务进行过程中, MDF需要基于 H.248协议向 MCF上报媒体内容交付状态 和媒体流量等媒体资源信息。 The SIP/RTSP protocol is initiated, and the MCF and MDF are based on the RTSP protocol to complete the session release. During the business process, MDF needs to report media resource information such as media content delivery status and media traffic to the MCF based on the H.248 protocol.
下面举例说明上述 IPTV业务的会话初始过程的实现流程,本实例中, UE已经通过 EPG( Electronic Program Guide, 电子节目单)从 SSF( Service Selection Function, 业务选择功能) 获取了 COD业务的网络参数 (包含 COD内容的媒体描述信息、 RTSP Request-URI信息等) , 此时, 对应的 IPTV业务的会话初始过程, 如图 6所示, 包括: The following is an example of the implementation process of the initial session of the IPTV service. In this example, the UE has obtained the network parameters of the COD service from the SSF (Service Selection Function) through the EPG (Electronic Program Guide). contain The media description information of the COD content, the RTSP Request-URI information, and the like. At this time, the initial session of the corresponding IPTV service, as shown in FIG. 6, includes:
步骤 F1〜F3 , UE发送会话初始请求( SIP INVITE ) , 请求 COD业务, 其中携带 UE请求的媒体内容的 RTSP URI信息; Core IMS根据现有 3GPP IMS R7版本定义的规范路由会话初始请求到提供 COD业务的 SCF。 SCF 选择能够提供媒体内容的 MCF, 然后发送会话初始请求到选定的 MCF, 其中携带 UE所请求的媒体内容的 RTSP URI信息。  Steps F1 to F3, the UE sends a session initial request (SIP INVITE), requesting a COD service, where the RTSP URI information of the media content requested by the UE is carried; and the Core IMS routes the session initial request according to the specification defined by the existing 3GPP IMS R7 version to provide the COD. The SCF of the business. The SCF selects the MCF capable of providing media content, and then sends a session initial request to the selected MCF, which carries the RTSP URI information of the media content requested by the UE.
步骤 F4, MCF收到会话初始请求后,根据各个 MDF的资源状态信息, 选择提供媒体资源的 MDF。 MCF基于 SIP协议, 向选定的 MDF发送描述 获取请求 ( RTSP DESCRIBE ) 消息, 描述获取请求 ( RTSP DESCRIBE ) 消息中携带 UE请求的媒体内容的 RTSP URI信息。  Step F4: After receiving the initial session request, the MCF selects the MDF that provides the media resource according to the resource state information of each MDF. Based on the SIP protocol, the MCF sends a Description Get Request (RTSP DESCRIBE) message to the selected MDF, and describes the RTSP URI information of the media content requested by the UE in the Get Request (RTSP DESCRIBE) message.
步骤 F5 , MDF收到 MCF的描述获取请求 ( RTSP DESCRIBE ) 消息 后, 基于 SIP协议, 返回 RTSP URI对应的媒体内容的媒体描述信息。  Step F5: After receiving the MCF description acquisition request (RTSP DESCRIBE) message, the MDF returns the media description information of the media content corresponding to the RTSP URI based on the SIP protocol.
经过上述步骤 F4〜F5 后, MCF可以获取到媒体描述信息。 除此之外, MCF还可以向集中存储媒体描述信息的 Web Server获取媒体描述信息, 或 MCF本身已经保存有媒体描述信息等相关信息,这种情况下步骤 F4〜F5 为可选。  After the above steps F4~F5, the MCF can obtain the media description information. In addition, the MCF may also obtain media description information from a Web Server that stores information describing the media, or the MCF itself has stored information such as media description information. In this case, steps F4 to F5 are optional.
步骤 F6, MCF根据获取的媒体描述信息, 根据表 1所示的会话初始 请求的 SDP Offer (提供 )信息与流媒体建立请求 ( RTSP SETUP )信息的 转换关系,将获取的媒体描述信息转换为流媒体建立请求信息;基于 RTSP 协议, 向 MDF发送流媒体建立请求( RTSP SETUP )信息, 流媒体建立请 求信息的 Transport头域携带 UE的传输信息。所述的传输信息包含编码格 式、 交付模式、 UE的接收地址和端口信息。  Step F6: The MCF converts the obtained media description information into a stream according to the obtained media description information according to the conversion relationship between the SDP Offer information and the RTSP SETUP information of the session initial request shown in Table 1. The media establishes the request information; based on the RTSP protocol, sends a streaming media setup request (RTSP SETUP) information to the MDF, and the transport header field of the streaming media setup request information carries the transmission information of the UE. The transmission information includes an encoding format, a delivery mode, a receiving address of the UE, and port information.
会话初始请求的 SDP Offer (提供)信息与 RTSP SETUP信息的转换 关系如表 1:  The conversion relationship between the SDP Offer information of the initial session request and the RTSP SETUP information is shown in Table 1:
表 1 Table 1
Figure imgf000013_0001
例如:
Figure imgf000013_0001
E.g:
SETUP rtsp://mdfl /example/audio RTSP/1.0  SETUP rtsp://mdfl /example/audio RTSP/1.0
CSeq: 2  CSeq: 2
Transport: TP/AVP;unicast;destination=126.16.64.4; client_port=8000-8001 步骤 F7, MDF向 MCF返回建立流媒体会话建立响应消息 ( RTSP Transport: TP/AVP; unicast; destination=126.16.64.4; client_port=8000-8001 Step F7, MDF returns to MCF to establish a streaming media session setup response message (RTSP)
200OK ) , 响应消息中包含 MDF的媒体发送地址和端口信息 , 以及 RTSP 会话的 Session ID信息。 例如:200OK), the response message contains the media sending address and port information of the MDF, and the session ID information of the RTSP session. E.g:
TSP/1.0 200 OK  TSP/1.0 200 OK
CSeq: 2  CSeq: 2
Transport: TP/AVP;unicast;source= 126.16.64.5;destination= 126.16.64.4;  Transport: TP/AVP;unicast;source= 126.16.64.5;destination= 126.16.64.4;
client_port=8000-8001 ; Server_port=9000-9001; mode="PLAY | PAUSE "  Client_port=8000-8001 ; Server_port=9000-9001; mode="PLAY | PAUSE "
Session: 10000000/* Session ID 1 is between MCF and MDF*/  Session: 10000000/* Session ID 1 is between MCF and MDF*/
步骤 F8〜F10, MCF收到响应消息后, 保存 RTSP会话信息 (Session Steps F8 to F10, after receiving the response message, the MCF saves the RTSP session information (Session
ID ) , 然后根据响应消息内容进行媒体协商, 确定最终的媒体应答(MediaID), then media negotiation based on the content of the response message to determine the final media response (Media)
SDP Answer ) 。 MCF向 SCF返回会话初始响应消息 ( 183 或 200OK ) , 会话初始响应消息包含媒体协商的媒体应答信息, 以及提供内容的控制通 道的 7 载信息(即 MCF的 IP地址与端口;)。会话初始响应消息经 Core IMS 路由到 UE; UE保存媒体协商信息。 并根据控制通道协商信息, 建立至SDP Answer). The MCF returns a session initial response message (183 or 200 OK) to the SCF, and the session initial response message contains media negotiation information of the media negotiation and 7 pieces of information of the control channel providing the content (ie, the IP address and port of the MCF;). The session initial response message is routed to the UE via the Core IMS; the UE saves the media negotiation information. And based on the control channel negotiation information, establish to
MCF的相应的通道(如 TCP连接 ) 。 Media SDP answer示例如下: The corresponding channel of the MCF (such as TCP connection). The Media SDP answer example is as follows:
v=0 o=mhandley 2890844526 2890842807 IN IP4 126.16.64.5 V=0 o=mhandley 2890844526 2890842807 IN IP4 126.16.64.5
s=SDP Seminar  s=SDP Seminar
i=A Seminar on the session description protocol  i=A Seminar on the session description protocol
u=- e=- c=IN IP4 126.16.64.5/127  u=- e=- c=IN IP4 126.16.64.5/127
t=2873397496 2873404696  t=2873397496 2873404696
m=application 9 TCP/ TSP rtsp  m=application 9 TCP/ TSP rtsp
a=connection:new  a=connection:new
a=setup:passive  a=setup:passive
a=rtspid m-stream: 10  a=rtspid m-stream: 10
a=control:rtsp://mcf/example  a=control:rtsp://mcf/example
a=control:rtsp://mcf/example/audio  a=control:rtsp://mcf/example/audio
a=fmtp:rtsp version: 1.0  a=fmtp:rtsp version: 1.0
a=fmtp:rtsp h-accept-ranges: NPT  a=fmtp:rtsp h-accept-ranges: NPT
a=fmtp:h-session: 20000000 There are two separately RTSP sessions. Sessionld 2 is not same.Session2 is between UE and MCF */  a=fmtp:h-session: 20000000 There are two separately RTSP sessions. Sessionld 2 is not same.Session2 is between UE and MCF */
m=audio 9000 TP/AVP 0  m=audio 9000 TP/AVP 0
a=Sendonly  a=Sendonly
a=lable: 10  a=lable: 10
步骤 Fl 1 , UE通过建立的内容控制通道向 MCF发送流媒体的播放请 求, 所述播放请求中包括: UE与 MCF之间的会话 ID, 以及开始播放位 Step F1: The UE sends a streaming media play request to the MCF through the established content control channel, where the play request includes: a session ID between the UE and the MCF, and a start play bit.
1, 列 ^口^口下示 1*列: 1, column ^ mouth ^ mouth below 1 * column:
PLAY rts : //mcf/exam le/audio TSP/1.0  PLAY rts : //mcf/exam le/audio TSP/1.0
CSeq: 2  CSeq: 2
Session: 20000000 /*Session2 is between UE and MCF */  Session: 20000000 /*Session2 is between UE and MCF */
Range: smpte=0: 10:00- 播放请求中也可以不包含 Range参数, 由网络侧 ( SCF/MGCF ) 决定 开始播放位置。例如在 SCF发送给 MGCF的 Session Initiation Request (会 话初始请求) 消息中包含 Range信息。  Range: smpte=0: 10:00- The playback request may not include the Range parameter, and the network side (SCF/MGCF) determines the playback position. For example, the Session Initiation Request message sent by the SCF to the MGCF includes Range information.
步骤 F12, MCF收到 UE的播放请求后, 根据 UE的播放请求, MCF 向 MDF发送流媒体的播放请求消息。 播放请求消息中包括 MCF与 MDF 之间的会话 ID、 媒体开始播放位置。 播放请求消息实例如下:Step F12: After receiving the play request of the UE, the MCF sends a play request message of the streaming media to the MDF according to the play request of the UE. The play request message includes MCF and MDF. The session ID between the media and the media start playing position. An example of a play request message is as follows:
PLAY rtsp://mdfl /example/audio TSP/1.0 PLAY rtsp://mdfl /example/audio TSP/1.0
CSeq: 2  CSeq: 2
Session: 10000000 /^Session ID 1 is between MCF and MDF*/  Session: 10000000 /^Session ID 1 is between MCF and MDF*/
Range: smpte=0: 10:00- 步骤 F13 , MDF收到 MCF的播放请求消息后, 根据播放请求消息发 送媒体流, 然后向 MCF返回播放响应消息 , 播放响应消息中包括 MCF与 Range: smpte=0: 10:00- Step F13, after receiving the play request message of the MCF, the MDF sends a media stream according to the play request message, and then returns a play response message to the MCF, where the play response message includes MCF and
MDF之间的会话 ID、 媒体开始播放位置。 播放响应消息示例如下:The session ID between the MDFs, where the media starts playing. An example of a playback response message is as follows:
TSP/1.0 200 OK  TSP/1.0 200 OK
CSeq: 2  CSeq: 2
Session: 10000000 /^Session ID 1 is between MCF and MDF*/  Session: 10000000 /^Session ID 1 is between MCF and MDF*/
Range: smpte=0: 10:00- TP-Info: url= rtsp://mdfl/example/audio;seq=876655;rtptime=1032181  Range: smpte=0: 10:00- TP-Info: url= rtsp://mdfl/example/audio;seq=876655;rtptime=1032181
步骤 F14, MCF向 UE返回播放响应消息 , 播放响应消息中包括 UE 与 MCF之间的会话 ID、 媒体开始播放位置。 播放响应消息示例如下: TSP/1.0 200 OK  Step F14: The MCF returns a play response message to the UE, where the play response message includes a session ID between the UE and the MCF, and a media start play position. An example of a playback response message is as follows: TSP/1.0 200 OK
CSeq: 2  CSeq: 2
Session: 20000000 /*Session2 is between UE and MCF */  Session: 20000000 /*Session2 is between UE and MCF */
Range: smpte=0: 10:00- TP-Info: url= rtsp://mcf/example/audio;seq=876655;rtptime= 1032181  Range: smpte=0: 10:00- TP-Info: url= rtsp://mcf/example/audio;seq=876655;rtptime= 1032181
步骤 F 15 , MDF根据 UE的播放请求发送媒体流。  Step F15: The MDF sends the media stream according to the play request of the UE.
步骤 F16, MDF保存流媒体的交付状态 , 并发送 H.248 NOTIFY (通 知 ) 消息给 MCF, H.248 NOTIFY (通知 ) 消息中包含当前媒体交付状态 信息 (播放中 Playing ) 。  Step F16, the MDF saves the delivery status of the streaming media, and sends an H.248 NOTIFY message to the MCF, and the H.248 NOTIFY message contains the current media delivery status information (Playing in play).
上述 Xp接口的 RTSP会话建立过程同样适合其他单播业务流程, 如 The RTSP session establishment process of the above Xp interface is also suitable for other unicast business processes, such as
TsTV业务。 TsTV business.
下面根据触发会话修改过程的不同实体, 分几种情况说明 IPTV业务 的会话修改过程:  The following describes the session modification process of the IPTV service according to different entities that trigger the session modification process:
第一种情况, 终端触发会话修改过程。 实现流程如图 7所示, 包括: 步骤 F1〜F3 , UE发起会话更改过程, 包含增加媒体内容、 删除媒体 内容和修改媒体内容(如修改媒体格式或终端的接收地址和端口)和保持 ( Hold )单播媒体内容,会话更改请求中包含新的媒体 SDP Offer (提供 ) , 顺从 RFC3264协议定义的媒体修改机制。 In the first case, the terminal triggers the session modification process. The implementation process is shown in Figure 7, including: Steps F1 to F3, the UE initiates a session change process, including adding media content, deleting media content, and modifying media content (such as modifying media format or receiving address and port of the terminal) and holding (hold) unicast media content in a session change request. Includes new media SDP Offer, compliant with the media modification mechanism defined by the RFC3264 protocol.
步骤 F4 , MCF收到会话更改请求后, 当为增加媒体内容时, MCF向 Step F4, after the MCF receives the session change request, when the media content is added, the MCF
MDF发送流媒体的建立请求( RTSP SETUP ) 消息, 建立请求消息中包含 原 RTSP会话的 SessionID (会话标识 ) 。 当为请求删除媒体内容时, 贝' J MCF向 MDF发送指定媒体流的释放请求( RTSP TERADOWN )消息, 释 放请求消息中包含原 RTSP会话的 SessionID。如果为修改媒体内容时, 则 MCF向 MDF发送媒体流的建立请求 ( RTSP SETUP ) 消息修改媒体传输 参数, 建立请求消息中包含原 RTSP会话的 SessionID。 但为保持 (Hold ) 单播媒体内容时, MCF向 MDF发送指定媒体流的暂停请求 (RTSP PAUSE ) 。 图 7是以新增媒体内容为例。 The MDF sends a streaming media setup request (RTSP SETUP) message, and the setup request message includes the SessionID (session identifier) of the original RTSP session. When the media content is requested to be deleted, the B'J MCF sends a Release Media Request Release Request (RTSP TERADOWN) message to the MDF, and the Release Request message contains the SessionID of the original RTSP session. If the media content is modified, the MCF sends a media stream setup request (RTSP SETUP) message to the MDF to modify the media transmission parameter, and the setup request message includes the SessionID of the original RTSP session. However, in order to maintain (Hold) unicast media content, the MCF sends a pause request (RTSP PAUSE) to the MDF to specify the media stream. Figure 7 is an example of adding new media content.
步骤 F5 , 以新增媒体内容为例, MDF收到新增媒体内容的建立请求 消息后, 根据建立请求消息向 UE增加发送新的媒体内容。  Step F5: Taking the newly added media content as an example, after receiving the setup request message of the newly added media content, the MDF adds a new media content to the UE according to the establishment request message.
后续过程 F6〜F15与会话初始建立过程中的 F6〜F15基本一致,区别在 于 F8〜F10返回的是会话更改响应。  Subsequent processes F6~F15 are basically the same as F6~F15 during the initial establishment of the session. The difference between F8 and F10 is the session change response.
第二种情况, 网络侧的 MDF根据业务需要触发会话修改过程。 以新 增加一个媒体内容为例, 实现流程如图 8所示, 包括:  In the second case, the MDF on the network side triggers the session modification process according to the needs of the service. Taking a new media content as an example, the implementation process is as shown in Figure 8, including:
步骤 F1 , 提供媒体内容的 MDF因业务需要触发媒体修改过程, MDF 向 MCF发送 RTSP ANNOUNCE (描述通知 ) 消息 , RTSP ANNOUNCE (描述通知) 消息中包含新的完整媒体描述信息。  Step F1, the MDF providing the media content triggers the media modification process due to the service requirement, the MDF sends an RTSP ANNOUNCE (Description Notification) message to the MCF, and the RTSP ANNOUNCE (Description Notification) message contains the new complete media description information.
步骤 F2, MCF收到 MDF的描述通知消息后, 将新的完整媒体描述信 息与原媒体描述信息比较, 发现需要进行媒体修改, 本实例中为新增媒体 内容。  Step F2: After receiving the description message of the MDF, the MCF compares the new complete media description information with the original media description information, and finds that media modification is required. In this example, the media content is added.
步骤 F3 , MCF向 MDF发送关于新媒体内容的 RTSP SETUP (实时流 协议建立)请求消息, 以请求建立新的媒体流, RTSP SETUP (实时流协 议建立 )请求消息中包含已有 UE侧的传输参数和原 RTSP的会话 ID。 Step F3, the MCF sends an RTSP SETUP about the new media content to the MDF (real time stream) The protocol establishes a request message to request to establish a new media stream. The RTSP SETUP (Real Time Stream Protocol Establishment) request message includes the transmission parameters of the existing UE side and the session ID of the original RTSP.
步骤 F4, MDF收到新增媒体内容的建立请求后, 建立新的媒体内容, 然后向 MCF返回建立响应消息 (RTSP 200 OK ) 。  Step F4, after receiving the request for establishing the new media content, the MDF creates a new media content, and then returns a setup response message (RTSP 200 OK) to the MCF.
步骤 F5〜F10, MCF发起至 UE的会话更改请求 /响应过程。  Steps F5 to F10, the MCF initiates a session change request/response process to the UE.
步骤 F11 , 当 UE侧的传输参数发生变化时, MCF向 MDF发送 RTSP SETUP消息以修改原会话中 UE侧的传输参数, RTSP SETUP消息中包含 原 RTSP的会话 ID和新的传输参数。  Step F11: When the transmission parameter of the UE side changes, the MCF sends an RTSP SETUP message to the MDF to modify the transmission parameter of the UE side in the original session. The RTSP SETUP message includes the session ID of the original RTSP and the new transmission parameter.
步骤 F12, MDF修改保存的 UE侧的传输参数, 向 MCF返回建立响 应消息 ( RTSP 200OK ) 。  Step F12, the MDF modifies the saved transmission parameters of the UE side, and returns a setup response message (RTSP 200OK) to the MCF.
步骤 F13〜F14, MCF向 MDF发送新增媒体内容的播放请求 ( RTSP PLAY ) 。 MDF收到播放请求后, 根据播放请求向 UE发送新的媒体内容。  Steps F13 to F14, the MCF sends a playback request (RTSP PLAY) of the newly added media content to the MDF. After receiving the play request, the MDF sends new media content to the UE according to the play request.
第三种情况, 网络侧的 MDF根据业务需要进行媒体修改时, MCF根 据 MDF发送的描述通知确定需要进行媒体修改后, 通过媒体控制通道向 UE发送描述通知请求( RTSP ANNOUNCE )消息 , UE收到描述通知请求 消息后, 向网络侧发起会话修改过程。 以新增媒体内容为例, 实现流程如 图 9所示, 包括:  In the third case, when the MDF of the network side performs media modification according to the service requirement, the MCF sends a description notification request (RTSP ANNOUNCE) message to the UE through the media control channel according to the description of the description sent by the MDF, and the UE receives the message. After the notification request message is described, the session modification process is initiated to the network side. Taking the new media content as an example, the implementation process is as shown in Figure 9, including:
步骤 F1 , 提供媒体内容的 MDF因业务需要触发媒体修改过程, MDF 向 MCF发送描述通知请求 ( RTSP ANNOUNCE ) 消息, 描述通知请求消 息中包含新的完整媒体描述信息。  Step F1: The MDF providing the media content triggers the media modification process due to the service requirement, and the MDF sends a description notification request (RTSP ANNOUNCE) message to the MCF, and the notification request message includes the new complete media description information.
步骤 F2, MCF收到 MDF的描述通知请求消息后,将新的完整媒体描 述信息与原媒体描述信息比较, 发现需要进行媒体修改, 如新增媒体流。 MCF给 MDF返回描述通知响应 (RTSP 200 OK ) 消息。  Step F2: After receiving the MDF description notification request message, the MCF compares the new complete media description information with the original media description information, and finds that media modification is required, such as adding a media stream. The MCF returns a description notification response (RTSP 200 OK) message to the MDF.
步骤 F3〜F4, MCF向 UE发送描述通知请求( RTSP ANNOUNCE )消 息, UE收到描述通知请求消息后, 向 MCF返回描述通知响应 ( RTSP 200OK ) 消息。 后续处理过程为终端启动的会话更改过程,与上述会话更改请求 /响应 到媒体交付过程一致。 Steps F3 to F4, the MCF sends a description notification request (RTSP ANNOUNCE) message to the UE, and after receiving the description notification request message, the UE returns a description notification response (RTSP 200OK) message to the MCF. The subsequent processing is a terminal-initiated session change process that is consistent with the above-described session change request/response to media delivery process.
下面根据触发会话释放过程的不同实体, 分几种情况说明 IPTV业务 的会话释放过程:  The following describes the session release process of the IPTV service according to different entities that trigger the session release process:
第一种情况, 终端触发会话释放过程, 如图 10所示, 包括: 步骤 F1〜F8 , UE发起 SIP BYE (会话终止请求 ) 经 Core IMS/SCF路 由到 MCF。 MCF收到会话终止请求后释放与 UE之间的 SIP会话和 RTSP 会话, 然后向 MDF发送 RTSP TEARDOWN (终止请求 ) , 停止 MDF媒 体内容的发送, 并返回终止响应 (RTSP 200OK )及会话终止响应。  In the first case, the terminal triggers the session release process, as shown in FIG. 10, including: Steps F1 to F8, the UE initiates a SIP BYE (Session Termination Request) via the Core IMS/SCF route to the MCF. After receiving the session termination request, the MCF releases the SIP session and the RTSP session with the UE, then sends an RTSP TEARDOWN to the MDF, stops the transmission of the MDF media content, and returns a termination response (RTSP 200OK) and a session termination response.
步骤 F9, MDF向 MCF通过 H.248 NOTIFY, 上 4艮媒体交付信息, 其 中包含媒体内容的交付状态 (如 Stopped (停止) 交付) 和媒体使用信息 (如媒体流量统计) 。  Step F9, the MDF passes the H.248 NOTIFY to the MCF, and the media delivery information includes the delivery status of the media content (such as Stopped delivery) and media usage information (such as media traffic statistics).
第二种情况, 网络侧的 SCF触发会话释放过程, 如图 11所示, 包括: In the second case, the SCF on the network side triggers the session release process, as shown in Figure 11, including:
SCF发送会话终止请求 (SIP BYE ) , 会话终止请求到达 MCF实体, 或经 IMS Core到达 UE侧; The SCF sends a session termination request (SIP BYE), the session termination request arrives at the MCF entity, or arrives at the UE side via the IMS Core;
MCF实体发送终止请求 ( RTSP TEARDOWN ) 给 MDF实体; 停止 MDF媒体内容的发送, 并返回终止响应 (RTSP 200OK ) 。 具体与上述相 关描述类似, 这里不再详细描述。  The MCF entity sends a termination request (RTSP TEARDOWN) to the MDF entity; stops the transmission of the MDF media content, and returns a termination response (RTSP 200OK). It is similar to the above related description and will not be described in detail here.
UE侧释放相应的会话 , 并反馈会话终止响应。  The UE side releases the corresponding session and feeds back the session termination response.
第三种情况, 网络侧的 MCF触发会话释放过程,如图 12所示, 包括: 步骤 F1〜F2, MDF1播放媒体流完毕后, 可以但不限于釆用草案 Signalling End Of Stream in RTSP ( draft-zeng-mmusic-00 )描述的方法, 向 MCF发送 END— OF— STREAM (会话终止通知 ) 消息通知 MCF媒体流 播放完毕。  In the third case, the MCF triggering session release process on the network side, as shown in FIG. 12, includes: Steps F1 to F2. After the MDF1 plays the media stream, it can be, but is not limited to, the use of the draft Signalling End Of Stream in RTSP (draft- Zeng-mmusic-00) The method of sending an END-OF-STREAM message to the MCF notifies the MCF media stream that it has finished playing.
步骤 F3〜F10, MCF收到会话终止通知消息后, 启动会话释放过程, 向 UE发送会话释放请求消息和向 MDF发送 RTSP TEARDOWN (终止请 求)消息。 会话释放请求消息和终止请求消息中携带会话 ID、 已经发送的 媒体流信息、 已经发送的 RTP包数量等。 会话终止通知消息实例为: Steps F3 to F10, after receiving the session termination notification message, the MCF starts the session release process, sends a session release request message to the UE, and sends an RTSP TEARDOWN to the MDF. Ask) message. The session release request message and the termination request message carry the session ID, the media stream information that has been sent, the number of RTP packets that have been sent, and the like. An example of a session termination notification message is:
END OF ST EAM rtsp://foo. com/bar. avi/streamid=0 TSP/1.0  END OF ST EAM rtsp://foo. com/bar. avi/streamid=0 TSP/1.0
CSeq: 123  CSeq: 123
Session: 12345678 (会话 ID )  Session: 12345678 (session ID)
Range: npt=0-200; bytes=0-200000(服务器通知客户端已经发送的媒体流信息) TP-Info: url=//mdf/foo/streamid=0;seq=45102 (客户端能够知道服务器已经发送 的 RTP包数量)  Range: npt=0-200; bytes=0-200000 (the server notifies the client of the media stream information that has been sent) TP-Info: url=//mdf/foo/streamid=0;seq=45102 (the client can know the server) The number of RTP packets that have been sent)
Reason: End of range reached  Reason: End of range reached
RTSP/1.0 200 OK  RTSP/1.0 200 OK
CSeq: 123  CSeq: 123
Session: 12345678  Session: 12345678
上述描述的是基于 RTSP协议定义的 SETUP和 TEARDOWN消息建 立与释放 RTSP会话,基于该 RTSP会话完成实时媒体流的控制与释放的, 但本发明实施例并不局限与此, 还可以通过如下方法实现:  The above description is based on the SETUP and the TEARDOWN message defined by the RTSP protocol to establish and release the RTSP session, and the control and release of the real-time media stream is completed based on the RTSP session, but the embodiment of the present invention is not limited thereto, and can also be implemented by the following method. :
釆用 H.248协议的 SDP Offer/Answer (提供 /响应 )携带媒体参数的方 式实现 RTSP会话的建立,然后基于 RTSP协议进行流媒体控制。通过 SDP Offer (提供)设置媒体流的发送端口为 0或 H.248协议定义的 Subtract实 现终止 RTSP会话。 基本实现过程如图 13所示, 包括:  The SDP Offer/Answer of the H.248 protocol carries the media parameters to establish the RTSP session, and then performs streaming control based on the RTSP protocol. The SDP Offer (provided) sets the sending port of the media stream to 0 or the Subtract defined by the H.248 protocol to terminate the RTSP session. The basic implementation process is shown in Figure 13, including:
步骤 Fl , MCF向 MDF发送 H.248 ADD增加请求消息 , H.248 ADD 增加请求消息中包含 SDP Offer (提供) , SDP Offer (提供) 中包含建立 RTSP流所需要的信息, 信息包含媒体内容的 RTSP URI信息、 RTSP版本 信息和 RTSP会话与媒体流的关联关系等信息。  Step F1, the MCF sends an H.248 ADD Add Request message to the MDF, and the H.248 ADD Add Request message includes an SDP Offer, where the SDP Offer includes information needed to establish an RTSP stream, where the information includes media content. RTSP URI information, RTSP version information, and associations between RTSP sessions and media streams.
步骤 F2, MDF收到 H.248 ADD增加请求消息后 ,从中获取到建立 RTSP 流所需要的信息, 并根据其建立与 MCF之间 RTSP会话, 并返回 H.248 Reply响应消息, H.248 Reply响应消息中包含 SDP Answer, 并且 SDP Answer包含 RTSP会话建立响应内容,如 RTSP会话的 Session ID 和媒体 流的 RTP信息等。 步骤 F3 , MCF收到 H.248 Reply响应消息后,向 MCF发送 RTSP PLAY (实时流播放)请求消息。 Step F2, after receiving the H.248 ADD increase request message, the MDF obtains the information required for establishing the RTSP flow, and establishes an RTSP session with the MCF according to the RDF, and returns an H.248 Reply response message, H.248 Reply The response message includes SDP Answer, and the SDP Answer contains the RTSP session establishment response content, such as the Session ID of the RTSP session and the RTP information of the media stream. Step F3: After receiving the H.248 Reply response message, the MCF sends an RTSP PLAY (Real Time Streaming) request message to the MCF.
步骤 F4〜F5 , MDF收到实时流播放请求消息后 ,返回 RTSP 200OK(响 应消息) , 然后向 UE发送媒体流。  Steps F4 to F5, after receiving the real-time streaming play request message, the MDF returns an RTSP 200 OK (response message), and then sends the media stream to the UE.
步骤 F6 , MCF和 MDF之间进行 VCR操作 , 如实时流播放或暂停 Step F6, VCR operation between MCF and MDF, such as live streaming or pause
( RTSP PLAY/PAUSE ) ; ( RTSP PLAY/PAUSE ) ;
步骤 F7, MCF向 MDF发送 H.248 Subtract (终止流请求 ) 。  Step F7, the MCF sends an H.248 Subtract to the MDF.
步骤 F8, MDF收到终止流请求后, 释放 RTSP会话, 终止发送媒体 内容, 并返回 H.248 Reply响应消息。  Step F8: After receiving the termination flow request, the MDF releases the RTSP session, terminates sending the media content, and returns an H.248 Reply response message.
对应本发明实施例提供的媒体控制功能实体 MCF ,本发明第三实施例 提供了一种媒体交付控制的方法, 其实现流程如图 14所示, 包括:  Corresponding to the media control function entity MCF provided by the embodiment of the present invention, the third embodiment of the present invention provides a method for media delivery control, and the implementation process thereof is as shown in FIG.
步骤 101 , 获取 MDF实体的媒体资源信息;  Step 101: Obtain media resource information of the MDF entity.
可以基于 H.248媒体网关控制协议获取 MDF实体的媒体资源信息。 步骤 102, 根据 MDF实体的媒体资源信息, 选择出能够提供给用户 媒体内容的 MDF实体;  The media resource information of the MDF entity can be obtained based on the H.248 Media Gateway Control Protocol. Step 102: Select, according to the media resource information of the MDF entity, an MDF entity that can provide the media content to the user.
步骤 103 ,通过与 MDF实体之间的实时流协议 RTSP会话,控制 MDF 的媒体交付行为。 具体可以存在如下三种处理情况:  Step 103: Control the media delivery behavior of the MDF through a real-time streaming protocol RTSP session with the MDF entity. Specifically, there are three processing situations as follows:
第一种情况, 通过与 MDF实体之间的 RTSP会话, 控制 MDF实体将 用户所请求的媒体内容, 交付给用户。  In the first case, the MDF entity controls the MDF entity to deliver the media content requested by the user to the user through an RTSP session with the MDF entity.
第二种情况, 控制 MDF实体进行媒体修改:  In the second case, the MDF entity is controlled for media modification:
根据用户的会话修改请求, 通过与媒体交付功能实体之间的 RTSP会 话, ***体交付功能实体进行媒体修改; 或者,  Controlling the media delivery function entity to perform media modification through an RTSP session with the media delivery function entity according to the user's session modification request; or
根据媒体交付功能实体发送的媒体描述通知消息, 确定媒体修改; 通 过与媒体交付功能实体之间的 RTSP会话, 指示媒体交付功能实体根据所 确定的媒体修改进行媒体修改; 或者,  Determining media modification according to the media description notification message sent by the media delivery function entity; and instructing the media delivery function entity to perform media modification according to the determined media modification by using an RTSP session with the media delivery function entity; or
根据媒体交付功能实体发送的媒体描述通知消息确定需要媒体修改, 以及, 用户侧根据所确定的媒体修改对应的描述信息发起的会话修改请 求, ***体交付功能实体进行媒体修改。 Determining that media modification is required according to the media description notification message sent by the media delivery function entity, And, the user side controls the media delivery function entity to perform media modification according to the session modification request initiated by the determined media modification corresponding description information.
第三种情况, 控制 MDF实体进行媒体释放。 具体如下:  In the third case, the MDF entity is controlled to release the media. details as follows:
获取媒体交付功能实体发送的媒体流播放完毕通知; 根据所述通知, 告知用户侧和媒体交付功能实体结束会话; 或者,  Obtaining a media stream play completion notification sent by the media delivery function entity; according to the notification, informing the user side and the media delivery function entity to end the session; or
获取网络侧的会话控制功能 SCF实体发送的会话终止请求,或经网络 侧的 SCF实体转发的用户的会话终止请求,根据所述会话终止请求, 告知 媒体交付功能实体结束会话。  Obtaining a session termination function sent by the SCF entity, or a session termination request of the user forwarded by the SCF entity on the network side, according to the session termination request, informing the media delivery function entity to end the session.
上述方法在 MDF与 MCF之间不存在 RTSP会话情况下, 还包括: 建 立 MDF与 MCF之间的 RTSP会话的过程 , 具体实现如下:  The above method does not exist in the case of an RTSP session between the MDF and the MCF, and includes: a process of establishing an RTSP session between the MDF and the MCF, and the specific implementation is as follows:
下发建立 RTSP流所需要的实时流会话描述信息; 根据媒体交付功能 实体返回的响应消息获得 RTSP会话的标识, 在媒体控制功能实体与媒体 交付功能实体之间建立所述 ID对应的 RTSP会话。  The real-time stream session description information required for establishing the RTSP stream is delivered; the identifier of the RTSP session is obtained according to the response message returned by the media delivery function entity, and the RTSP session corresponding to the ID is established between the media control function entity and the media delivery function entity.
其中, 下发建立 RTSP流所需要的实时流会话描述信息的过程, 可以 通过如下两种方法实现:  The process of issuing the real-time flow session description information required for establishing the RTSP stream can be implemented by the following two methods:
第一种, 将获得的媒体描述信息, 转换为基于 RTSP协议的实时流会 话描述信息; 基于会话发起协议 SIP将所述实时流会话描述信息, 发送给 媒体交付功能实体。  The first type converts the obtained media description information into real-time streaming session description information based on the RTSP protocol; and sends the real-time streaming session description information to the media delivery function entity based on the session initiation protocol SIP.
第二种, 通过 H.248协议, 将建立 RTSP流所需要的实时流会话描述 信息, 发送给媒体交付功能实体。  Second, through the H.248 protocol, the real-time stream session description information required to establish the RTSP stream is sent to the media delivery function entity.
对应本发明实施例提供的媒体交付功能实体 MDF , 本发明第四实施 例提供了一种实现媒体交付控制方法, 其通过与 MCF实体之间的 RTSP 会话, 接收 MCF实体的媒体控制请求; 并根据所述媒体控制请求*** 体交付行为。  Corresponding to the media delivery function entity MDF provided by the embodiment of the present invention, the fourth embodiment of the present invention provides a media delivery control method, which receives a media control request of an MCF entity by using an RTSP session with an MCF entity; The media control request controls media delivery behavior.
该第四实施例在 MDF与 MCF之间不存在 RTSP会话情况下,还包括: 建立 MDF与 MCF之间的 RTSP会话的过程, 具体实现如下: 获得媒体控制功能实体发送的实时流会话描述信息后, 基于 H.248协 议或 SIP协议, 返回与媒体控制功能实体之间的 RTSP会话的标识, 在媒 体交付功能实体与媒体控制功能实体之间, 建立所述标识对应的 RTSP会 话。 In the case that the RTSP session does not exist between the MDF and the MCF, the fourth embodiment further includes: a process of establishing an RTSP session between the MDF and the MCF, and the specific implementation is as follows: After obtaining the real-time stream session description information sent by the media control function entity, returning the identifier of the RTSP session with the media control function entity based on the H.248 protocol or the SIP protocol, between the media delivery function entity and the media control function entity, Establish an RTSP session corresponding to the identifier.
上述第四实施例中,还可以提供 MDF实体的媒体资源信息给 MCF实 体。 具体可以基于 H.248协议提供媒体交付功能实体的媒体资源信息给媒 体控制功能实体。  In the above fourth embodiment, the media resource information of the MDF entity may also be provided to the MCF entity. Specifically, the media resource information of the media delivery function entity may be provided to the media control function entity based on the H.248 protocol.
由上述本发明实施例的具体实施方案可以看出, 该方案通过获取媒体 交付功能实体的媒体资源信息, 根据媒体交付功能实体的媒体资源信息, 选择出能够提供给用户媒体流的媒体交付功能实体; 通过与媒体交付功能 实体之间的 RTSP会话, ***体交付功能实体的媒体交付行为, 给出了 MCF实体对 MDF实体的媒体交付进行控制的具体途径,从而满足了 MCF 实体和 MDF实体之间的接口支持媒体资源管理功能和媒体流控制功能的 需求。  As can be seen from the specific implementation of the foregoing embodiment of the present invention, the solution selects a media delivery function entity that can be provided to the user media stream according to the media resource information of the media delivery function entity according to the media resource information of the media delivery function entity. Controlling the media delivery behavior of the media delivery functional entity through an RTSP session with the media delivery functional entity, and giving a specific way for the MCF entity to control the media delivery of the MDF entity, thereby satisfying the MCF entity and the MDF entity The interface supports the requirements of media resource management functions and media flow control functions.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM,磁碟或者光盘等各种可以存储程序代码的介质。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims

权 利 要 求 书 Claim
1、 一种实现媒体交付控制的方法, 其特征在于, 该方法包括: 获取媒体交付功能实体的媒体资源信息; A method for implementing media delivery control, the method comprising: obtaining media resource information of a media delivery function entity;
根据所述媒体交付功能实体的媒体资源信息, 选择出能够提供给用户 所需媒体内容的媒体交付功能实体;  Determining, according to the media resource information of the media delivery function entity, a media delivery function entity capable of providing the user with the required media content;
通过与媒体交付功能实体之间的实时流协议 RTSP会话, ***体交 付功能实体进行媒体交付行为。  The media delivery function entity is controlled for media delivery behavior through a real-time streaming protocol RTSP session with the media delivery functional entity.
2、 如权利要求 1所述的方法, 其特征在于, 基于 H.248媒体网关控 制协议获取媒体交付功能实体的媒体资源信息。  2. The method of claim 1, wherein the media resource information of the media delivery function entity is obtained based on the H.248 media gateway control protocol.
3、 如权利要求 1或 2所述的方法, 其特征在于, 该方法还包括: 下发建立 RTSP流所需要的实时流会话描述信息; 根据媒体交付功能 实体返回的响应消息获得 RTSP会话的标识, 在媒体控制功能实体与媒体 交付功能实体之间建立所述标识对应的 RTSP会话。  The method according to claim 1 or 2, wherein the method further comprises: delivering real-time stream session description information required to establish an RTSP stream; obtaining an identifier of the RTSP session according to a response message returned by the media delivery function entity Establishing an RTSP session corresponding to the identifier between the media control function entity and the media delivery function entity.
4、 如权利要求 3所述的方法, 其特征在于, 所述下发建立基于 RTSP 流所需要的实时流会话描述信息, 包括:  The method of claim 3, wherein the delivering the real-time streaming session description information required for the RTSP-based flow includes:
获取媒体描述信息; 将获得的媒体描述信息, 转换为基于 RTSP协议 的实时流会话描述信息; 基于会话发起协议 SIP将所述实时流会话描述信 息, 发送给媒体交付功能实体; 或者,  Obtaining media description information; converting the obtained media description information into real-time streaming session description information based on the RTSP protocol; sending the real-time streaming session description information to the media delivery function entity based on the session initiation protocol SIP; or
通过 H.248协议, 将建立 RTSP流所需要的实时流会话描述信息, 发 送给媒体交付功能实体。  Through the H.248 protocol, the real-time stream session description information required for establishing the RTSP stream is sent to the media delivery function entity.
5、 如权利要求 1所述的方法, 其特征在于, 所述通过与媒体交付功 能实体之间的 RTSP会话,***体交付功能实体的媒体交付行为, 包括: 通过与媒体交付功能实体之间的 RTSP会话, ***体交付功能实体 的将用户所请求的媒体内容, 交付给用户。  The method according to claim 1, wherein the controlling the media delivery behavior of the media delivery function entity by the RTSP session with the media delivery function entity comprises: communicating with the media delivery function entity The RTSP session controls the media delivery function entity to deliver the media content requested by the user to the user.
6、 如权利要求 1所述的方法, 其特征在于, 所述通过与媒体交付功 能实体之间的 RTSP会话,***体交付功能实体的媒体交付行为, 包括: 根据用户的会话修改请求, 通过与媒体交付功能实体之间的 RTSP会 话, ***体交付功能实体进行媒体修改; 或者, 6. The method of claim 1 wherein: said delivering work with the media The RTSP session between the entities can control the media delivery behavior of the media delivery function entity, including: controlling the media delivery function entity to perform media modification by using an RTSP session with the media delivery function entity according to the user's session modification request; or
根据媒体交付功能实体发送的媒体描述通知消息, 确定媒体修改; 通 过与媒体交付功能实体之间的 RTSP会话, 指示媒体交付功能实体根据所 确定的媒体修改进行媒体修改; 或者,  Determining media modification according to the media description notification message sent by the media delivery function entity; and instructing the media delivery function entity to perform media modification according to the determined media modification by using an RTSP session with the media delivery function entity; or
根据媒体交付功能实体发送的媒体描述通知消息确定需要媒体修改, 根据所确定的媒体修改向用户侧发送描述通知请求, 根据用户侧根据所述 描述通知请求发起的会话修改请求, ***体交付功能实体进行媒体修 改。  Determining that the media modification is required according to the media description notification message sent by the media delivery function entity, sending a description notification request to the user side according to the determined media modification, and controlling the media delivery function entity according to the session modification request initiated by the user side according to the description notification request. Make media changes.
7、 如权利要求 1所述的方法, 其特征在于, 所述通过与媒体交付功 能实体之间的 RTSP会话,***体交付功能实体的媒体交付行为, 包括: 获取媒体交付功能实体发送的媒体流播放完毕通知; 根据所述通知, 告知用户侧和媒体交付功能实体结束会话; 或者,  The method according to claim 1, wherein the controlling the media delivery behavior of the media delivery function entity by the RTSP session with the media delivery function entity comprises: obtaining the media stream sent by the media delivery function entity a completion notification; according to the notification, the user side and the media delivery function entity are notified to end the session; or
获取网络侧的会话控制功能 SCF实体发送的会话终止请求,或经网络 侧的 SCF实体转发的用户的会话终止请求,根据所述会话终止请求, 告知 媒体交付功能实体结束会话。  Obtaining a session termination function sent by the SCF entity, or a session termination request of the user forwarded by the SCF entity on the network side, according to the session termination request, informing the media delivery function entity to end the session.
8、 一种媒体控制功能实体, 其特征在于, 该媒体控制功能实体包括: 资源管理单元, 用于获取媒体交付功能实体的媒体资源信息; 会话发起协议 SIP会话控制功能单元, 用于根据媒体交付功能实体的 媒体资源信息, 选择出能够提供给用户所需媒体内容的媒体交付功能实 体;  A media control function entity, wherein the media control function entity comprises: a resource management unit, configured to obtain media resource information of a media delivery function entity; a session initiation protocol SIP session control function unit, configured to deliver according to media The media resource information of the functional entity, selecting a media delivery function entity capable of providing the required media content to the user;
实时流协议 RTSP会话控制功能单元, 用于通过与所述 SIP会话控制 功能单元所选择出的媒体交付功能实体之间的 RTSP会话, ***体交付 功能实体进行媒体交付行为。  The real-time streaming protocol RTSP session control function unit is configured to control the media delivery function entity to perform media delivery behavior by using an RTSP session with the media delivery function entity selected by the SIP session control function unit.
9、 如权利要求 8所述的媒体控制功能实体, 其特征在于, 所述 RTSP 会话控制功能单元还用于: 获取媒体描述信息; 将获得的媒体描述信息, 转换为基于 RTSP协议的实时流会话描述信息; 基于 SIP协议将携带所述 实时流会话描述信息的消息, 发送给媒体交付功能实体; 根据媒体交付功 能实体的反馈的响应,获得与媒体交付功能实体之间的 RTSP会话的标识, 与媒体交付功能实体之间建立所述标识对应的 RTSP会话。 9. The media control function entity of claim 8, wherein the RTSP The session control function unit is further configured to: obtain media description information, convert the obtained media description information into real-time streaming session description information based on the RTSP protocol, and send the message carrying the real-time streaming session description information to the media according to the SIP protocol. Delivering the functional entity; obtaining an identifier of the RTSP session with the media delivery function entity according to the feedback of the media delivery function entity, and establishing an RTSP session corresponding to the identifier with the media delivery function entity.
10、如权利要求 8所述的媒体控制功能实体,其特征在于,所述 RTSP 会话控制功能单元还用于: 通过 H.248协议, 将建立 RTSP流会话所需要 的实时流会话描述信息, 发送给媒体交付功能实体; 根据媒体交付功能实 体的反馈的响应消息,获得与媒体交付功能实体之间的 RTSP会话的标识, 与媒体交付功能实体之间建立所述标识对应的 RTSP会话。  The media control function entity according to claim 8, wherein the RTSP session control function unit is further configured to: send, by using an H.248 protocol, real-time stream session description information required for establishing an RTSP stream session, and send Delivering a functional entity to the media; obtaining, according to the feedback message of the feedback of the media delivery function entity, an identifier of the RTSP session with the media delivery function entity, and establishing an RTSP session corresponding to the identifier between the media delivery function entity.
1 1、 如权利要求 8所述的媒体控制功能实体, 其特征在于, 所述资源 管理单元还用于:基于 H.248协议获取媒体交付功能实体的媒体资源信息。  The media control function entity according to claim 8, wherein the resource management unit is further configured to: obtain media resource information of the media delivery function entity based on the H.248 protocol.
12、 一种实现媒体交付控制的方法, 其特征在于, 该方法包括: 通过与媒体控制功能实体之间的实时流协议 RTSP会话, 接收媒体控 制功能实体的媒体控制请求; 并根据所述媒体控制请求进行媒体交付行 为。  12. A method for implementing media delivery control, the method comprising: receiving, by a real-time streaming protocol RTSP session with a media control function entity, a media control request of a media control function entity; and controlling according to the media Request for media delivery.
13、 如权利要求 12所述的方法, 其特征在于, 该方法还包括: 获取媒体控制功能实体发送的实时流会话描述信息, 基于 H.248协议 或会话发起协议 SIP ,返回与媒体控制功能实体之间的 RTSP会话的标识, 在媒体交付功能实体与媒体控制功能实体之间, 建立所述标识对应的 RTSP会话。  The method according to claim 12, further comprising: obtaining real-time streaming session description information sent by the media control function entity, returning and media control function entity based on H.248 protocol or session initiation protocol SIP An identifier of the RTSP session between the media delivery function entity and the media control function entity establishes an RTSP session corresponding to the identifier.
14、 如权利要求 12所述的方法, 其特征在于, 该方法还包括: 向媒体控制功能实体提供媒体资源信息。  14. The method of claim 12, further comprising: providing media resource information to the media control function entity.
15、 如权利要求 14所述的方法, 其特征在于, 该方法还包括: 基于 H.248协议提供媒体交付功能实体的媒体资源信息给媒体控制功 能实体。 The method according to claim 14, wherein the method further comprises: providing media resource information of the media delivery function entity to the media control function entity based on the H.248 protocol.
16、一种媒体交付功能实体, 其特征在于, 该媒体交付功能实体包括: 实时流协议 RTSP会话控制功能单元, 用于通过与媒体控制功能实体 之间的 RTSP会话, 接收媒体控制功能实体的媒体控制请求; 并根据所述 媒体控制请求***体交付单元的媒体交付行为; A media delivery function entity, the media delivery function entity comprising: a real-time streaming protocol RTSP session control function unit, configured to receive media of a media control function entity through an RTSP session with a media control function entity Controlling the request; and controlling media delivery behavior of the media delivery unit according to the media control request;
媒体交付单元, 根据所述 RTSP会话控制功能单元的控制, 选择相应 的媒体内容交付给用户。  The media delivery unit, according to the control of the RTSP session control function unit, selects the corresponding media content to be delivered to the user.
17、如权利要求 16所述的媒体交付功能实体,其特征在于,所述 RTSP 会话控制功能单元还用于: 获得媒体控制功能实体发送的实时流会话描述 信息后, 基于 H.248协议或会话发起协议 SIP协议, 返回与媒体控制功能 实体之间的 RTSP会话的标识, 在媒体交付功能实体与媒体控制功能实体 之间 , 建立所述标识对应的 RTSP会话。  The media delivery function entity according to claim 16, wherein the RTSP session control function unit is further configured to: after obtaining the real-time stream session description information sent by the media control function entity, based on the H.248 protocol or session Initiating the protocol SIP protocol, returning an identifier of the RTSP session with the media control function entity, and establishing an RTSP session corresponding to the identifier between the media delivery function entity and the media control function entity.
18、 如权利要求 16或 17所述的媒体交付功能实体, 其特征在于, 该 媒体交付功能实体还包括:  The media delivery function entity according to claim 16 or 17, wherein the media delivery function entity further comprises:
资源管理功能单元, 用于向媒体交付单元提供媒体资源信息。  A resource management function unit, configured to provide media resource information to the media delivery unit.
19、 如权利要求 18所述的媒体交付功能实体, 其特征在于, 所述资 源管理功能单元, 还用于提供媒体交付功能实体的媒体资源信息给媒体控 制功能实体。  The media delivery function entity of claim 18, wherein the resource management function unit is further configured to provide media resource information of the media delivery function entity to the media control function entity.
20、一种媒体交付控制***, 其特性在于, 该媒体交付控制***包括: 媒体控制功能实体, 用于获取媒体交付功能实体的媒体资源信息; 根 据媒体交付功能实体的媒体资源信息, 选择出能够提供给用户所需媒体内 容的媒体交付功能实体; 通过与媒体交付功能实体之间的实时流协议 RTSP会话, 发送媒体控制请求;  A media delivery control system, the media delivery control system comprising: a media control function entity, configured to obtain media resource information of a media delivery function entity; and selecting a capability according to media resource information of the media delivery function entity a media delivery function entity providing the user with the required media content; transmitting a media control request through a real-time streaming protocol RTSP session with the media delivery function entity;
媒体交付功能实体,用于通过与媒体控制功能实体之间的 RT SP会话, 接收媒体控制功能实体的媒体控制请求; 并根据所述媒体控制请求*** 体交付行为。  And a media delivery function entity, configured to receive a media control request of the media control function entity through an RT SP session with the media control function entity; and control the media delivery behavior according to the media control request.
PCT/CN2008/071659 2007-08-28 2008-07-16 Method, entity and system to realize media delivery control WO2009026810A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710148416.8 2007-08-28
CN 200710148416 CN101378546A (en) 2007-08-28 2007-08-28 Method, entity and system for implementing medium consignation control

Publications (1)

Publication Number Publication Date
WO2009026810A1 true WO2009026810A1 (en) 2009-03-05

Family

ID=40386683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071659 WO2009026810A1 (en) 2007-08-28 2008-07-16 Method, entity and system to realize media delivery control

Country Status (2)

Country Link
CN (1) CN101378546A (en)
WO (1) WO2009026810A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854288A (en) * 2009-04-01 2010-10-06 工业和信息化部电信传输研究所 Control method and system for stream media in telecommunications network

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686564B (en) * 2015-11-09 2020-05-12 ***通信集团公司 Method and device for realizing emergency call based on VoLTE

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738256A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Method for operating media resource in next generation network
EP1686738A1 (en) * 2005-01-31 2006-08-02 Siemens S.p.A. Method and system for QoS management in multicast multimedia services, related network, terminal for use in that network and computer program product therefor
CN1886987A (en) * 2003-12-01 2006-12-27 松下电器产业株式会社 Streaming system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1886987A (en) * 2003-12-01 2006-12-27 松下电器产业株式会社 Streaming system
CN1738256A (en) * 2004-08-18 2006-02-22 华为技术有限公司 Method for operating media resource in next generation network
EP1686738A1 (en) * 2005-01-31 2006-08-02 Siemens S.p.A. Method and system for QoS management in multicast multimedia services, related network, terminal for use in that network and computer program product therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854288A (en) * 2009-04-01 2010-10-06 工业和信息化部电信传输研究所 Control method and system for stream media in telecommunications network

Also Published As

Publication number Publication date
CN101378546A (en) 2009-03-04

Similar Documents

Publication Publication Date Title
US11218529B2 (en) Session control for media stream transmission
JP4862052B2 (en) Streaming media network system, streaming media service implementation method, and streaming media service enabler
EP2241078B1 (en) Method and internet protocol television (iptv) content manager server for iptv servicing
US8307049B2 (en) Method and device for obtaining media description information of IPTV services
JP4987126B2 (en) Multimedia stream transmission method and system
CN101547189B (en) Method, system and device for establishing CoD service
JP5436577B2 (en) Managing associated sessions in the network
WO2007098703A1 (en) Method, system and media resource device for achieving time shift tv service based on ngn network
WO2008134955A1 (en) Method, system and apparatus for applying terminal capability information in iptv service
WO2009024092A1 (en) Method and system for controlling the authorization of service resource
WO2009052762A1 (en) Broadcast service (bc) improving method, device and system
WO2009026813A1 (en) A method, a system and an entity for realizing network recording
WO2010028601A1 (en) Method, system and equipment for transmitting media contents by means of files
EP2296334B1 (en) Multi-user service establishing and control channel transferring method, apparatus and system
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
WO2009026810A1 (en) Method, entity and system to realize media delivery control
CN101483532B (en) Method, system and device for media stream duplication
WO2011069450A1 (en) Method, system and apparatus for media control in ip multimedia subsystem
WO2010031309A1 (en) Method, system and device of negotiation of a previewing channel media stream
WO2010022603A1 (en) A method, a system and an apparatus for attaching to the peer to peer network and obtaining iptv contents
JP2010010892A (en) Communication controller and communication system, and communication control method
WO2009024077A1 (en) A method and device for acquiring an iptv service parameter
WO2009012714A1 (en) A method and a device for controlling streaming media

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

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

Country of ref document: EP

Kind code of ref document: A1