WO2009043254A1 - A method, an apparatus and a system for obtaining media processing information - Google Patents

A method, an apparatus and a system for obtaining media processing information Download PDF

Info

Publication number
WO2009043254A1
WO2009043254A1 PCT/CN2008/072226 CN2008072226W WO2009043254A1 WO 2009043254 A1 WO2009043254 A1 WO 2009043254A1 CN 2008072226 W CN2008072226 W CN 2008072226W WO 2009043254 A1 WO2009043254 A1 WO 2009043254A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
message
processing information
resource server
application server
Prior art date
Application number
PCT/CN2008/072226
Other languages
French (fr)
Chinese (zh)
Inventor
Xiao Wang
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 WO2009043254A1 publication Critical patent/WO2009043254A1/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/1016IP multimedia subsystem [IMS]
    • 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/1063Application servers providing network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6175Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8543Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device and system for acquiring media processing information.
  • IPTV Internet Protocol Television
  • IPTV Internet Protocol Television
  • PC or the network set-top box + the ordinary TV mode at home can enjoy the IPTV service through the mobile terminal.
  • IPTV uses TCP/IP as the bearer protocol for unicast, broadcast or multicast video services, effectively combining the three fields of TV network, telephone network and Internet. It is the most representative service of triple play and is being received by the industry. More and more attention.
  • IMS based IPTV provides IPTV services under the overall architecture of IMS to fully utilize the existing registration, authentication, routing, session control and establishment, service triggering, charging, and end-to-end QoS guarantee mechanisms in the IMS network.
  • the bearer resource needs to be reserved for the transmission of the media stream.
  • IPTV Media Control Functions is responsible for the control and delivery of the UE media stream (Delivery). Decomposed from the functional perspective to the MCF Media Control Function and the MDF Media Delivery Function.
  • the media delivery function entity is usually a media server that transmits the media stream required by the user to the user terminal under the control of the media control function entity.
  • the media control function entity can also receive and process the user's playback control operations (usually using the RTSP protocol), such as media fast forward, backward, pause, locate, etc. Operation.
  • the IPTV Service Control Functions are responsible for providing services to the UE, including: session initialization, user account control, and control of the MCF to provide corresponding media functions.
  • the SCF service control function (Intermediate Control Function) interacts with the MCF through the y2 interface to request media processing services.
  • Embodiments of the present invention provide a method, device, and system for acquiring media processing information, so that an application server can obtain media processing information.
  • a method for obtaining media processing information includes the following steps: The application server interacts with a media resource server; and the application server obtains media processing information from a message exchanged with the media resource server.
  • An application server includes: a receiving unit, configured to receive a message sent by a media resource server; and a learning unit, configured to obtain media processing information from a message received by the receiving unit.
  • a media resource server includes: an adding unit, configured to carry media processing information in a message to be sent, and a sending unit, configured to send the message to an application server.
  • a system for obtaining media processing information includes: an application server and a media resource server having a message interaction relationship; a media resource server, configured to send a message carrying media processing information; and an application server, for using the media
  • the media processing information is obtained from the message sent by the resource server.
  • the application server interacts with the media resource server, and obtains media processing information from a message exchanged with the media resource server. Through the above mechanism, the application server can obtain media processing information.
  • DRAWINGS Figure 1 is a diagram showing the service function architecture of IMS based IPTV defined by the existing standards organization ETSI TISPAN;
  • FIG. 2 is a flow chart of a method for obtaining media processing information according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an application server according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a media resource server according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a system for acquiring media processing information according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of an event subscription mode in a SIP mode according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of an event publishing mode in a SIP mode according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of an active uplink mode in a SIP mode according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a query mode in a media control mode according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a subscription mode in a media control mode according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of an active reporting mode in a media control mode according to an embodiment of the present invention
  • FIG. 12 is a flowchart of Embodiment 1 of the present invention
  • FIG. 14 is a flowchart of Embodiment 3 of the present invention.
  • FIG. 15 is a flowchart of Embodiment 4 of the present invention.
  • Figure 17 is a flow chart of Embodiment 6 of the present invention.
  • the embodiment of the present invention provides a method for obtaining media processing information. Referring to FIG. 2, the following main steps are included:
  • the application server interacts with the media resource server.
  • the application server obtains media processing information from a message that interacts with the media resource server.
  • the media processing information includes status information of the media processing and/or indication information that a related event has occurred.
  • An embodiment of the present invention further provides an application server, as shown in FIG. 3, which includes: a receiving unit 100 and a learning unit 200.
  • the receiving unit 100 is configured to receive a message sent by the media resource server.
  • the learning unit 200 is configured to obtain media processing information from a message received by the receiving unit.
  • the receiving unit 100 includes a first receiving subunit, configured to receive, by using a SIP mode, a SIP message sent by a media resource server;
  • the application server further includes: a first subscription unit, configured to send a subscription message to the media resource server, where the indication carries the media processing information of the subscription specified media stream.
  • the receiving unit 100 includes a second receiving subunit, configured to receive, by using a media control manner, a media control message sent by the media resource server;
  • the application server further includes: a query unit, configured to send, to the media resource server, a query message for querying media processing information of the specified media stream.
  • the receiving unit 100 includes a second receiving subunit, configured to receive, by using a media control manner, a media control message sent by the media resource server;
  • the application server further includes: a second subscription unit, configured to send a subscription message to the media resource server, where the SDP serial number of the specified media stream and the indication of subscribing to the specific media processing information are carried.
  • the embodiment of the present invention further provides a media resource server, as shown in FIG. 4, which includes: an adding unit 300 and a sending unit 400.
  • the adding unit 300 is configured to carry media processing information in the message to be sent;
  • the sending unit 400 is configured to send the message to the application server.
  • the sending unit 400 includes a first sending sub-unit, configured to send the message in a SIP format to an application server by using a SIP method;
  • the media resource server further includes: a first receiving unit, configured to receive a subscription message sent by the application server; a first subscription execution unit, configured to complete the subscription according to the indication in the subscription message, and add the unit according to the subscription relationship indication Media processing information that should be carried in the message to be sent.
  • the sending unit 400 includes a first sending sub-unit, configured to send the message in a SIP format to an application server by using a SIP method;
  • the media resource server further includes: an event publishing unit, configured to determine media processing to be released Information, and instructing the adding unit to carry the media processing information in the message to be sent.
  • the sending unit 400 includes a first sending sub-unit, configured to send the message in a SIP format to an application server by using a SIP method;
  • the media resource server further includes: a first reporting unit, configured to determine the media processing information to be reported according to the processing logic, and instruct the adding unit to carry the media processing information in the SIP INFO message to be sent.
  • the first reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the related media processing in the SIP INFO message to be sent.
  • the first reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the related media processing in the SIP INFO message to be sent. information.
  • the sending unit 400 includes a second sending subunit, configured to send the message of the media control type to the application server by using a media control manner;
  • the receiving unit is configured to receive the query message sent by the application server, and the query execution unit is configured to query the media processing information according to the indication in the query message, and instruct the adding unit to carry the media processing information in the message to be sent.
  • the sending unit 400 includes a second sending subunit, configured to send the message of the media control type to the application server by using a media control manner; a receiving unit, configured to receive a subscription message sent by the application server, a second subscription execution unit, configured to complete the subscription according to the indication in the subscription message, and instruct the adding unit to carry in the message to be sent according to the subscription relationship
  • the media processes the information.
  • the sending unit 400 includes a second sending subunit, configured to send the message of the media control type to the application server by using a media control manner;
  • the second reporting unit is configured to determine the media processing information to be reported according to the processing logic, and instruct the adding unit to carry the media processing information in the message to be sent.
  • the media resource server receives the media flow control instruction of the user, the second reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the message related to the user in the message to be sent.
  • Media processing information
  • the second reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the related media processing information in the message to be sent.
  • the embodiment of the present invention further provides a system for acquiring media processing information, as shown in FIG. 5, including: an application server 500 and a media resource server 600 having a message interaction relationship;
  • the media resource server 500 is configured to send a message carrying media processing information.
  • the application server 600 is configured to obtain media processing information from a message sent by the media resource server.
  • the application server in the embodiment of the present invention is a service control function entity SCF
  • the media resource server is a media function entity MF.
  • the media function entity MF includes a media control function entity MCF and a media delivery function entity MDF.
  • the service control function entity SCF interacts with the media control function entity MCF to implement the service, and the media control function entity MCF controls the media delivery function entity MDF to complete media processing and delivery.
  • the application server in the embodiment of the present invention is an application server AS, and the media resource server is a media resource function entity MRF.
  • the media resource function entity MRF includes a media resource function control entity MRFC and a media resource function processing entity MRFP.
  • the application server AS interacts with the media resource function control entity MRFC to implement the service, and the media resource function control entity MRFC controls the media resource function processing entity MRFP to complete media processing and delivery.
  • the following describes the embodiment in the case of the TISPAN IPTV.
  • the related process is also applicable to the interaction between the AS and the MRFC in the IMS architecture, and will not be repeatedly described in the embodiment.
  • the MCF described in the embodiment of the present invention is a media resource server.
  • the description MCF represents MF.
  • the SCF can learn the media processing information through the SIP mode or the media control mode.
  • the SCF can learn the media processing information through the event subscription mode (mode 11) or the event publishing mode (mode 12) or the active reporting mode (mode 13).
  • the following describes the event subscription mode in the SIP mode. Mode 11), event publishing mode (mode 12) and active reporting mode (mode 13).
  • Method 11 event subscription mode, as shown in Figure 6, includes the following steps:
  • Fl and SCF send a subscription message to the MCF, and subscribe to a status event package related to the specified media stream.
  • MCF returns 200 OK to SCF.
  • F3 and MCF send a NOTIFY message to the SCF to return the subscribed status event package.
  • F4 and SCF After receiving the status event package, F4 and SCF return 200 OK to the MCF.
  • the status information of the media processing is obtained from the status event package.
  • the MCF can determine the subscribed media stream according to the information carried in the subscription message.
  • the information carried in the subscription message in the current event subscription mechanism cannot specify the media stream.
  • Method 111 The SCF sends a subscription message within the Dialog that establishes the media session to subscribe to the status event package of the media stream. If the subscription message does not carry the information about the media stream to be subscribed, the scenario may be applied to the scenario in which the media session established by the SCF and the MCF has only one media stream; if the subscription message carries the information about the media stream to be subscribed to. , see the following method 113 for details.
  • Method 112 The SCF sends a subscription message to the MCF (not sent in the Dialog of the media session), and the subscription message carries the Dialog identifier (including Call-ID, From-tag, and To-tag) that establishes the subscribed media stream and is subscribed.
  • the m line number of the media stream in the SDP (if no m line number is used, all media streams described in the SDP are subscribed by default). Specifically, it can be applied to a scenario where there are multiple (at least two) media streams in a media session established by the SCF and the MCF, and a scenario in which only one media stream is in the media session established by the SCF and the MCF.
  • the manner in which the Dialog identifier and the m-line sequence number are carried in the subscription message Including but not limited to the following three types:
  • the mode 112A is carried in the message body of the subscription message, as shown in the following example:
  • an XML description is defined to carry the Dialog identifier and the m-line number, where call-id, from-tag, to-tag represents the Dialog identifier, mid represents the m-line number, and mid can be multiple.
  • call-id, from-tag, to-tag represents the Dialog identifier
  • mid represents the m-line number
  • mid can be multiple.
  • the description in the actual application is various, so the embodiment of the present invention is not limited to this example, and it is a spirit of the present invention to carry a Dialog identifier and a m-line number to identify a media stream.
  • Mode 112B extending a new header field to carry.
  • Uri-parameter transport-param I user-param I method-param
  • Uri-parameters *( ";" uri-parameter)
  • Uri-parameter transport-param I user-param I method-param
  • the SCF sends a subscription message in the Dialog that establishes the media session, and carries the m-line sequence number of the subscribed media stream in the SDP in the subscription message (if no m-line sequence number, all the media streams described in the SDP are subscribed by default) .
  • it can be applied to a scenario where there are multiple (at least two) media streams in a media session established by the SCF and the MCF, and a scenario in which only one media stream is in the media session established by the SCF and the MCF.
  • the manner in which the m-line sequence number is carried in the subscription message includes, but is not limited to, the following three types: carried in the message body of the subscription message, extended by a new header field, or extended by the Request-URI parameter.
  • Method 12 event publishing mode, as shown in Figure 7, includes the following steps:
  • the status event package should also include the corresponding Dialog identifier and the serial number of the media stream in the SDP.
  • the SCF After receiving the status event packet, the SCF returns a 200 OK to the MCF.
  • the status information of the media processing is obtained from the status event package.
  • MCF active mode MCF can also actively use the SIP INFO message Body flow related status information. Referring to Figure 8, the following steps are included:
  • the MCF triggers the status information of the media processing and/or the indication of the related event to be reported to the SCF according to the media processing logic.
  • the processing logic may be the processing logic that is solidified by the MCF itself, or may be the processing logic included in the control script delivered by the SCF).
  • the MCF triggers the status information of the media processing to the SCF and/or the indication information of the related event including the following:
  • the MCF when the MCF receives the media flow control instruction of the user, the MCF triggers the indication information of the current media processing information to be reported to the SCF.
  • the MCF triggers the indication information of the current media processing information to be reported to the SCF.
  • the media processing information is media processing status information.
  • the F2 and the MCF send the status information of the media processing and/or the indication information of the related event through the SIP INFO message to the SCF.
  • the MCF reports a SIP INFO message to the SCF, where the SIP INFO message carries current media processing status information related to the user. For example, the MCF detects the end of the media stream playback, or when the user issues the instruction to switch the media stream, the MCF reports the SIP INFO message carrying the relevant current media processing status information to the SCF;
  • the media resource server reports a SIP INFO message to the SCF, where the SIP INFO message carries relevant current media processing status information.
  • the MCF reports the SIP INFO message carrying the relevant current media processing status information to the SCF.
  • SCF returns 200 OK after receiving the SIP INFO message.
  • SIP messages are the same as INFO, such as MESSAGE, and technically can also convey media stream related status information, which will not be described here.
  • the SCF is informed of the status information of the media processing by the SIP method.
  • the following description makes the SCF know the status information of the media processing through the media control mode.
  • the media control mode the media control channel is first established between the SCF and the MCF, and then the SCF can obtain the status information of the media processing through the SCF active acquisition mode (mode 21) or the MCF active reporting mode (mode 22).
  • the method may further include: an SCF query mode (method 211) or an SCF subscription mode (mode 212), which are described in detail below.
  • Query mode The SCF sends a query message to the MCF to query the status information of the specified media processing.
  • the MCF returns the status of the query media stream to the SCF.
  • F1-F3 The SCF and the MCF interact to establish a media control channel through the SIP SDP;
  • the SCF sends a query message (MRequest) to the MCF through the media control channel, carrying the SDP sequence number of the specified media stream and an indication for querying a certain state;
  • MCF query message
  • F5 The MCF acknowledges receipt of the inquiry message and returns a response
  • the MCF sends a notification message (MNotify) to the SCF to carry status information of the media stream.
  • MNotify a notification message
  • the mode is as follows:
  • the SCF sends a subscription message to the MCF to subscribe to the specified media stream state, and the MCF returns the status of the subscribed media stream to the SCF.
  • the MCF sends the status of the changed media stream to the SCF. , and unsubscribe. See Figure 10 for details, including the following steps:
  • F1-F3 The SCF and the MCF interact to establish a media control channel through the SIP SDP;
  • the SCF sends a subscription message (MRequest) to the MCF through the media control channel, carrying the SDP sequence number of the specified media stream and an indication of subscribing to a certain state;
  • MCF subscription message
  • F5 The MCF acknowledges receipt of the inquiry message and returns a response
  • the MCF sends a notification message (MNotify) to the SCF to carry status information of the media stream;
  • the MCF returns a response (MResponse), receiving a request from the SCF.
  • the MCF actively sends the media processing information to the SCF according to the processing logic when performing the media processing.
  • the information may be the status information of the media processing or the indication information of the related event. See Figure 11 for details, including the following steps:
  • F1-F3 The SCF and MCF interact to establish a media control channel through the SIP SDP.
  • the MCF triggers the status information of the media processing and/or the indication information of the related event to be reported to the SCF according to the media processing logic.
  • the processing logic may be the processing logic of the MCF itself, or may be included in the control script delivered by the SCF. Processing logic).
  • the MCF triggers the status information of the media processing to the SCF and/or the indication information of the related event including the following:
  • the MCF when the MCF receives the media flow control instruction of the user, the MCF triggers the indication information of the current media processing status information to be reported to the SCF.
  • the MCF triggers the indication information of the related media processing status information to be reported to the SCF.
  • the MCF sends a notification message (MNotify) to the SCF to carry the status information of the media processing and/or the indication information of the related event.
  • MNotify a notification message
  • the MCF sends a notification message to the SCF, where the notification message carries current media processing status information related to the user. For example, the MCF detects that the playback of the media stream ends, or when the user issues an instruction to switch the media stream, the MCF reports the notification message carrying the relevant current media processing status information to the SCF;
  • the media resource server sends a notification message to the SCF, where the notification message carries relevant current media processing status information.
  • the MCF reports a notification message carrying the relevant media processing status information to the SCF.
  • the media processing logic can be implemented by defining a common XML description of the event framework. Now, each service in the IPTV can be extended according to the framework to define specific event types and event data, and implement event-triggered reporting. Specific examples are as follows:
  • the SCF has learned the description of the status information of the media processing through the SIP mode or the media control mode. The following is further described in detail through the six embodiments.
  • Embodiment 1 The SIP PUBLISH mode (event release mode) is used to enable the SCF to know the location information of the media stream.
  • TsTV time shift program
  • COD on demand program when the user changes other channels or the user quits the program being watched, the SCF needs to know the location information of the media stream of the user watching the program, so that the user can watch the program again when from the top. The exit position continues to play.
  • 28629 /* can be defined as Byte (byte) according to the actual situation.
  • the user terminal sends a BYE message to the SCF to exit the current COD or TsTV program;
  • the SCF sends a BYE message to the MCF to end the media session between the UE and the MCF;
  • F4 The SCF returns a 200 OK confirmation to the UE
  • F5 F2 step, after receiving the BYE message of the SCF, the MCF sends the BYE message to the SCF through the PUBLISH message to match the current play position information of the media stream associated with the media session;
  • the SCF receives the PUBLISH message sent by the MCF, and the play location information is saved from the user-related service data.
  • the SCF uses the event query mode of the media control message to learn the location information of the media stream.
  • the definitions of the application scenario and the event package in this implementation include, but are not limited to, the definitions of the application scenario and the event package described in the first embodiment. Referring to FIG. 13, the flow of this embodiment includes the following steps: Fl: the user terminal sends a BYE message to the SCF to exit the current COD or TsTV program;
  • the SCF sends a media query message (MRequest) to the MCF through the media control channel, and the query BYE message matches the current play location information of the media stream associated with the media session;
  • MCF media query message
  • the MCF receives the MRequest message and returns a MResponse response message.
  • the MCF sends the MNotify message to the SCF to carry the play position information of the media stream;
  • the SCF sends a BYE message to the MCF to end the media session between the UE and the MCF;
  • F7 The SCF returns a 200 OK confirmation to the UE.
  • Embodiment 3 The SCF uses the SIP SUBSCRIBE mode (event subscription mode) to learn the RTSP playback status information of the media stream.
  • SIP SUBSCRIBE mode event subscription mode
  • the RTSP control channel established between the UE and the MCF controls the media stream to advance, rewind, pause, and locate.
  • the SCF needs to know the RTSP status (forward, backward, pause, locate, play) of the media stream at any time. Business development.
  • the flow of this embodiment includes the following steps:
  • the SCF sends a SUBSCRIBE request to the MCF to carry the identifier of the Dialog that establishes the subscribed media stream and the sequence number of the m-line of the subscribed media stream in the SDP, and subscribes to the RTSP status information of the media stream;
  • F2 MCF accepts SCF subscription, returns 200 OK confirmation;
  • F3 The MCF sends a NOTIFY message to the SCF, carrying the RTSP status information of the subscribed media stream;
  • F4 The SCF receives the NOTIFY message, and returns a 200 OK confirmation;
  • the UE terminal controls the media stream to fast forward through the RTSP, and the RTSP status of the media stream changes.
  • the MCF sends a NOTIFY message to the SCF to carry the latest RTSP status information of the media stream.
  • F6 SCF receives the NOTIFY message and returns 200 OK to confirm.
  • the SCF uses the media control channel subscription mode to learn the RTSP playback status information of the media stream.
  • the definition of the application scenario and the event package in this implementation is the same as that in the third embodiment. Referring to Figure 15, the flow of this embodiment includes the following steps:
  • the UE establishes a media session and media control channel with the MCF.
  • the SCF sends a media control message MRequest for subscribing to the RTSP status information to the MCF through the media control channel, and the message carries the sequence number of the m line of the subscribed media stream in the SDP;
  • F2 The MCF accepts the SCF subscription and returns the MResponse response message.
  • the MCF sends an MNotify message to the SCF through the media control channel, and carries the RTSP status information of the subscribed media stream.
  • the UE terminal controls the media stream to fast forward through the RTSP, and the RTSP status of the media stream changes.
  • the MCF sends an MNotify message to the SCF to carry the latest RTSP status information of the media stream.
  • Embodiment 5 The active control mode of the media control channel is used to enable the SCF to know the TsTV service fast forward to the header indication information.
  • the UE controls the media stream to fast forward through the RTSP.
  • the SCF needs to obtain this information in order to switch the TsTV service to the LTV service.
  • the UE establishes a media session and media control channel with the MCF, and the UE controls the media stream to continuously fast forward through the RTSP.
  • the MCF detects that the TsTV service media stream is synchronized with the current LTV media stream (playing content), and the MCF generates an IPTV event, and the event type is "tstvtop", which is sent to the SCF through the MNotify message, to notify the SCF TsTV service media stream that the synchronization has reached the synchronization state.
  • the active control mode of the media control channel is used to enable the SCF to learn the recording space exhaustion event.
  • the SCF that provides the recording service needs to first apply to the MF for the recorded storage space.
  • the SCF cannot predict the required recording space, so the recording space can only be recorded by applying while recording.
  • the MF notifies the SCF through the event, and the SCF decides to continue the application or end the recording according to the situation.
  • Event Type vr-no-space
  • F1-F3 The SCF interacts with the MCF to apply for recording space and establish a media control channel
  • the MCF finds that the remaining space or time of recording is less than the set value, triggers the reporting event, and sends an MNotify message carrying the event indication "vr-no-space" to the SCF and the remaining space or time size;
  • the SCF receives the MNotify message and decides to continue recording according to the service condition.
  • the SCF requests the recording space by sending an INVITE message or an UPDATE message in the session to the MCF.
  • the application server interacts with the media resource server, and obtains media processing information from the message interacting with the media resource server.
  • the application server can obtain media processing information.
  • the present invention further provides a solution for the media resource server to report media processing information to the application server, and an application server, in the process of processing the streaming media by the media resource server.
  • the media resource server to report media processing information to the application server, and an application server, in the process of processing the streaming media by the media resource server.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method, an apparatus and a system for obtaining media processing information, so as to make the applying server obtain the media processing information. The method includes: the applying server interacts with the media resources server; the applying server obtains the media processing information from the messages interacting with the media resources server. The applying server includes a receiving unit and an obtaining unit. The media resources server includes an adding unit and a transmitting unit. The invention is applied to the applying server to obtain media information.

Description

一种获取媒体处理信息的方法、 装置及系统 技术领域  Method, device and system for acquiring media processing information
本发明涉及通信领域, 特别是涉及一种获取媒体处理信息的方法、 装置及 系统。  The present invention relates to the field of communications, and in particular, to a method, device and system for acquiring media processing information.
背景技术 Background technique
IPTV ( Internet Protocol Television互联网协议电视 )是一种利用宽带有线电 视网, 集互联网、 多媒体、 通讯等多种技术于一体, 向家庭用户提供包括数字 电视在内的多种交互式服务的崭新技术。用户在家中可以使用 PC或者网络机顶 盒 +普通电视机方式享受 IPTV业务,也可以通过移动终端享受 IPTV业务。 IPTV 使用 TCP/IP作为承载协议进行单播、 广播或组播视频业务, 有效地将电视网、 电话网和互联网三个领域结合在一起, 是三网融合最具代表性的业务, 正受到 业界越来越多的关注。  IPTV (Internet Protocol Television) is a brand-new technology that uses broadband cable TV networks to integrate Internet, multimedia, and communication technologies to provide home users with a variety of interactive services, including digital TV. The user can enjoy the IPTV service using the PC or the network set-top box + the ordinary TV mode at home, and can also enjoy the IPTV service through the mobile terminal. IPTV uses TCP/IP as the bearer protocol for unicast, broadcast or multicast video services, effectively combining the three fields of TV network, telephone network and Internet. It is the most representative service of triple play and is being received by the industry. More and more attention.
IMS based IPTV就是在 IMS的整体架构下提供 IPTV业务,以充分利用 IMS 网络中已有的注册、 认证、 路由、 会话控制与建立、 业务触发、 计费、 端到端 QoS 保证等机制来为用户提供流媒体业务及融合流媒体和实时会话业务的多媒 体业务。 也就是说, 用户到内容的多媒体会话是通过 IMS已有的会话控制机制 来完成, 在建立会话过程中, 需要为媒体流的传送预留承载资源。  IMS based IPTV provides IPTV services under the overall architecture of IMS to fully utilize the existing registration, authentication, routing, session control and establishment, service triggering, charging, and end-to-end QoS guarantee mechanisms in the IMS network. Provide streaming services and multimedia services that integrate 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. During the establishment of the session, the bearer resource needs to be reserved for the transmission of the media stream.
目前,许多标准组织在研究 IMS based IPTV。参见图 1所示为标准组织 ETSI TISPAN定义的 IMS based IPTV的业务功能架构。  Currently, many standards organizations are researching IMS based IPTV. See Figure 1 for the service functional architecture of IMS based IPTV defined by the standard organization ETSI TISPAN.
其中, IPTV媒体控制功能实体( IPTV Media Control Functions ) 负责到 UE 媒体流的控制与交付(Delivery )。 从功能角度分解为 MCF媒体控制功能实体 ( Media Control Function )和 MDF媒体交付功能实体( Media Delivery Function )。 媒体交付功能实体通常是一些媒体服务器, 在媒体控制功能实体的控制下向用 户终端传送用户需要的媒体流。 媒体控制功能实体还能接收和处理用户的播放 控制操作 (通常使用 RTSP协议实现), 例如媒体的快进、 后退、 暂停、 定位等 操作。 Among them, the IPTV Media Control Functions ( IPTV Media Control Functions) is responsible for the control and delivery of the UE media stream (Delivery). Decomposed from the functional perspective to the MCF Media Control Function and the MDF Media Delivery Function. The media delivery function entity is usually a media server that transmits the media stream required by the user to the user terminal under the control of the media control function entity. The media control function entity can also receive and process the user's playback control operations (usually using the RTSP protocol), such as media fast forward, backward, pause, locate, etc. Operation.
IPTV业务控制功能实体( IPTV Service Control Functions ) 负责向 UE提供 业务, 包括: 会话初始化, 用户帐户控制, 控制 MCF提供相应的媒体功能等。 其中 SCF业务控制功能实体( Service Control Function )通过 y2接口与 MCF交 互, 请求媒体处理服务。  The IPTV Service Control Functions are responsible for providing services to the UE, including: session initialization, user account control, and control of the MCF to provide corresponding media functions. The SCF service control function (Intermediate Control Function) interacts with the MCF through the y2 interface to request media processing services.
发明人在发明过程中发现, 目前没有实现应用服务器(在 TISPAN IPTV中 应用服务器为 SCF,在 IMS架构中应用服务器为应用服务器 AS )获取媒体处理 信息这一需求。 发明内容  The inventor found in the process of the invention that there is currently no need to implement an application server (the application server is SCF in the TISPAN IPTV, and the application server is the application server AS in the IMS architecture) to obtain media processing information. Summary of the invention
本发明实施例提供一种获取媒体处理信息的方法、 装置及系统, 以使应用 服务器可获取媒体处理信息。  Embodiments of the present invention provide a method, device, and system for acquiring media processing information, so that an application server can obtain media processing information.
本发明实施例的一种获取媒体处理信息的方法, 包括下列步骤: 应用服务 器与媒体资源服务器交互; 应用服务器从与媒体资源服务器交互的消息中获取 媒体处理信息。  A method for obtaining media processing information according to an embodiment of the present invention includes the following steps: The application server interacts with a media resource server; and the application server obtains media processing information from a message exchanged with the media resource server.
本发明实施例的一种应用服务器, 包括: 接收单元, 用于接收媒体资源服 务器发来的消息; 获知单元, 用于从接收单元收到的消息中获取媒体处理信息。  An application server according to an embodiment of the present invention includes: a receiving unit, configured to receive a message sent by a media resource server; and a learning unit, configured to obtain media processing information from a message received by the receiving unit.
本发明实施例的一种媒体资源服务器, 包括: 添加单元, 用于在待发送的 消息中携带媒体处理信息; 发送单元, 用于向应用服务器发送该消息。  A media resource server according to an embodiment of the present invention includes: an adding unit, configured to carry media processing information in a message to be sent, and a sending unit, configured to send the message to an application server.
本发明实施例的一种获取媒体处理信息的系统, 包括: 存在消息交互关系 的应用服务器和媒体资源服务器; 媒体资源服务器, 用于发送携带有媒体处理 信息的消息; 应用服务器, 用于从媒体资源服务器发来的消息中获取媒体处理 信息。  A system for obtaining media processing information includes: an application server and a media resource server having a message interaction relationship; a media resource server, configured to send a message carrying media processing information; and an application server, for using the media The media processing information is obtained from the message sent by the resource server.
本发明实施例的方法、 装置及系统中, 应用服务器与媒体资源服务器交互, 并从与媒体资源服务器交互的消息中获取媒体处理信息。 通过上述机制实现了 使应用服务器可获取媒体处理信息。  In the method, device and system of the embodiment of the present invention, the application server interacts with the media resource server, and obtains media processing information from a message exchanged with the media resource server. Through the above mechanism, the application server can obtain media processing information.
附图说明 图 1为现有标准组织 ETSI TISPAN定义的 IMS based IPTV的业务功能架构 图; DRAWINGS Figure 1 is a diagram showing the service function architecture of IMS based IPTV defined by the existing standards organization ETSI TISPAN;
图 2为本发明实施例的一种获取媒体处理信息的方法步骤流程图; 图 3为本发明实施例的一种应用服务器的结构示意图;  2 is a flow chart of a method for obtaining media processing information according to an embodiment of the present invention; FIG. 3 is a schematic structural diagram of an application server according to an embodiment of the present invention;
图 4为本发明实施例的一种媒体资源服务器的结构示意图;  4 is a schematic structural diagram of a media resource server according to an embodiment of the present invention;
图 5为本发明实施例的一种获取媒体处理信息的系统;  FIG. 5 is a schematic diagram of a system for acquiring media processing information according to an embodiment of the present invention; FIG.
图 6为本发明实施例的 SIP方式下的事件订阅模式的流程图;  6 is a flowchart of an event subscription mode in a SIP mode according to an embodiment of the present invention;
图 7为本发明实施例的 SIP方式下的事件发布模式的流程图;  FIG. 7 is a flowchart of an event publishing mode in a SIP mode according to an embodiment of the present invention;
图 8为本发明实施例的 SIP方式下的主动上 ^艮模式的流程图;  8 is a flowchart of an active uplink mode in a SIP mode according to an embodiment of the present invention;
图 9为本发明实施例的媒体控制方式下的查询方式的流程图;  FIG. 9 is a flowchart of a query mode in a media control mode according to an embodiment of the present invention;
图 10为本发明实施例的媒体控制方式下的订阅方式的流程图;  FIG. 10 is a flowchart of a subscription mode in a media control mode according to an embodiment of the present invention;
图 11为本发明实施例的媒体控制方式下的主动上报模式的流程图; 图 12为本发明实施例一的流程图;  11 is a flowchart of an active reporting mode in a media control mode according to an embodiment of the present invention; FIG. 12 is a flowchart of Embodiment 1 of the present invention;
图 13为本发明实施例二的流程图;  13 is a flowchart of Embodiment 2 of the present invention;
图 14为本发明实施例三的流程图;  Figure 14 is a flowchart of Embodiment 3 of the present invention;
图 15为本发明实施例四的流程图;  Figure 15 is a flowchart of Embodiment 4 of the present invention;
图 16为本发明实施例五的流程图;  16 is a flowchart of Embodiment 5 of the present invention;
图 17为本发明实施例六的流程图。  Figure 17 is a flow chart of Embodiment 6 of the present invention.
具体实施方式 detailed description
为了使应用服务器可获取媒体处理信息, 本发明实施例提供了一种获取媒 体处理信息的方法, 参见图 2所示, 包括下列主要步骤:  In order to enable the application server to obtain the media processing information, the embodiment of the present invention provides a method for obtaining media processing information. Referring to FIG. 2, the following main steps are included:
51、 应用服务器与媒体资源服务器交互。  51. The application server interacts with the media resource server.
52、 应用服务器从与媒体资源服务器交互的消息中获取媒体处理信息。 所 述媒体处理信息包括媒体处理的状态信息和 /或发生了相关事件的指示信息。  52. The application server obtains media processing information from a message that interacts with the media resource server. The media processing information includes status information of the media processing and/or indication information that a related event has occurred.
本发明实施例提供还了一种应用服务器, 参见图 3 所示, 其包括: 接收单 元 100和获知单元 200。 接收单元 100, 用于接收媒体资源服务器发来的消息。 An embodiment of the present invention further provides an application server, as shown in FIG. 3, which includes: a receiving unit 100 and a learning unit 200. The receiving unit 100 is configured to receive a message sent by the media resource server.
获知单元 200 , 用于从接收单元收到的消息中获取媒体处理信息。  The learning unit 200 is configured to obtain media processing information from a message received by the receiving unit.
应用服务器的另一个实施例: 所述接收单元 100 中包括第一接收子单元, 用于通过 SIP方式接收媒体资源服务器发来的 SIP消息; 则  Another embodiment of the application server: the receiving unit 100 includes a first receiving subunit, configured to receive, by using a SIP mode, a SIP message sent by a media resource server;
所述应用服务器还包括: 第一订阅单元, 用于向媒体资源服务器发送订阅 消息, 其中携带有订阅指定媒体流的媒体处理信息的指示。  The application server further includes: a first subscription unit, configured to send a subscription message to the media resource server, where the indication carries the media processing information of the subscription specified media stream.
应用服务器的另一个实施例: 所述接收单元 100 中包括第二接收子单元, 用于通过媒体控制方式接收媒体资源服务器发来的媒体控制消息; 则  Another embodiment of the application server: the receiving unit 100 includes a second receiving subunit, configured to receive, by using a media control manner, a media control message sent by the media resource server;
所述应用服务器还包括: 查询单元, 用于向媒体资源服务器发出查询指定 媒体流的媒体处理信息的查询消息。  The application server further includes: a query unit, configured to send, to the media resource server, a query message for querying media processing information of the specified media stream.
应用服务器的另一个实施例: 所述接收单元 100 中包括第二接收子单元, 用于通过媒体控制方式接收媒体资源服务器发来的媒体控制消息; 则  Another embodiment of the application server: the receiving unit 100 includes a second receiving subunit, configured to receive, by using a media control manner, a media control message sent by the media resource server;
所述应用服务器还包括: 第二订阅单元, 用于向媒体资源服务器发送订阅 消息, 其中携带有指定媒体流的 SDP序号和订阅特定媒体处理信息的指示。  The application server further includes: a second subscription unit, configured to send a subscription message to the media resource server, where the SDP serial number of the specified media stream and the indication of subscribing to the specific media processing information are carried.
本发明实施例还提供了一种媒体资源服务器, 参见图 4 所示, 其包括: 添 加单元 300和发送单元 400。  The embodiment of the present invention further provides a media resource server, as shown in FIG. 4, which includes: an adding unit 300 and a sending unit 400.
添加单元 300, 用于在待发送的消息中携带媒体处理信息;  The adding unit 300 is configured to carry media processing information in the message to be sent;
发送单元 400, 用于向应用服务器发送该消息。  The sending unit 400 is configured to send the message to the application server.
媒体资源服务器的另一个实施例: 所述发送单元 400 中包括第一发送子单 元, 用于通过 SIP方式向应用服务器发送 SIP格式的所述消息; 则  Another embodiment of the media resource server: the sending unit 400 includes a first sending sub-unit, configured to send the message in a SIP format to an application server by using a SIP method;
所述媒体资源服务器还包括: 第一接收单元, 用于接收应用服务器发来的 订阅消息; 第一订阅执行单元, 用于根据所述订阅消息中的指示完成订阅, 并 根据订阅关系指示添加单元在待发送的消息中应携带的媒体处理信息。  The media resource server further includes: a first receiving unit, configured to receive a subscription message sent by the application server; a first subscription execution unit, configured to complete the subscription according to the indication in the subscription message, and add the unit according to the subscription relationship indication Media processing information that should be carried in the message to be sent.
媒体资源服务器的另一个实施例: 所述发送单元 400 中包括第一发送子单 元, 用于通过 SIP方式向应用服务器发送 SIP格式的所述消息; 则  Another embodiment of the media resource server: the sending unit 400 includes a first sending sub-unit, configured to send the message in a SIP format to an application server by using a SIP method;
所述媒体资源服务器还包括: 事件发布单元, 用于确定待发布的媒体处理 信息, 并指示添加单元在待发送的消息中携带该媒体处理信息。 The media resource server further includes: an event publishing unit, configured to determine media processing to be released Information, and instructing the adding unit to carry the media processing information in the message to be sent.
媒体资源服务器的另一个实施例: 所述发送单元 400 中包括第一发送子单 元, 用于通过 SIP方式向应用服务器发送 SIP格式的所述消息; 则  Another embodiment of the media resource server: the sending unit 400 includes a first sending sub-unit, configured to send the message in a SIP format to an application server by using a SIP method;
所述媒体资源服务器还包括: 第一上报单元, 用于根据处理逻辑确定待上 报的媒体处理信息, 并指示添加单元在待发送的 SIP INFO消息中携带该媒体处 理信息。  The media resource server further includes: a first reporting unit, configured to determine the media processing information to be reported according to the processing logic, and instruct the adding unit to carry the media processing information in the SIP INFO message to be sent.
当媒体资源服务器接收到用户的媒体流控制指令时, 则所述第一上报单元 根据处理逻辑确定待上报的当前媒体处理信息,并指示添加单元在待发送的 SIP INFO消息中携带相关的媒体处理信息;  When the media resource server receives the media flow control instruction of the user, the first reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the related media processing in the SIP INFO message to be sent. Information
当媒体流正常结束或媒体流播放中发生错误时, 则所述第一上报单元根据 处理逻辑确定待上报的当前媒体处理信息, 并指示添加单元在待发送的 SIP INFO消息中携带相关的媒体处理信息。  When the media stream ends normally or an error occurs in the media stream playing, the first reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the related media processing in the SIP INFO message to be sent. information.
媒体资源服务器的另一个实施例: 所述发送单元 400 中包括第二发送子单 元, 用于通过媒体控制方式向应用服务器发送媒体控制类型的所述消息; 则 所述媒体资源服务器还包括: 第二接收单元, 用于接收应用服务器发来的 查询消息; 查询执行单元, 用于根据所述查询消息中的指示查询媒体处理信息, 并指示添加单元在待发送的消息中携带该媒体处理信息。  Another embodiment of the media resource server: the sending unit 400 includes a second sending subunit, configured to send the message of the media control type to the application server by using a media control manner; The receiving unit is configured to receive the query message sent by the application server, and the query execution unit is configured to query the media processing information according to the indication in the query message, and instruct the adding unit to carry the media processing information in the message to be sent.
媒体资源服务器的另一个实施例: 所述发送单元 400 中包括第二发送子单 元, 用于通过媒体控制方式向应用服务器发送媒体控制类型的所述消息; 则 所述媒体资源服务器还包括: 第三接收单元, 用于接收应用服务器发来的 订阅消息; 第二订阅执行单元, 用于根据所述订阅消息中的指示完成订阅, 并 根据订阅关系指示添加单元在待发送的消息中应携带的媒体处理信息。  Another embodiment of the media resource server: the sending unit 400 includes a second sending subunit, configured to send the message of the media control type to the application server by using a media control manner; a receiving unit, configured to receive a subscription message sent by the application server, a second subscription execution unit, configured to complete the subscription according to the indication in the subscription message, and instruct the adding unit to carry in the message to be sent according to the subscription relationship The media processes the information.
媒体资源服务器的另一个实施例: 所述发送单元 400 中包括第二发送子单 元, 用于通过媒体控制方式向应用服务器发送媒体控制类型的所述消息; 则 所述媒体资源服务器还包括: 第二上报单元, 用于根据处理逻辑确定待上 报的媒体处理信息, 并指示添加单元在待发送的消息中携带该媒体处理信息。 当媒体资源服务器接收到用户的媒体流控制指令时, 则所述第二上报单元 根据处理逻辑确定待上报的当前媒体处理信息, 并指示添加单元在待发送的消 息中携带与所述用户相关的媒体处理信息; Another embodiment of the media resource server: the sending unit 400 includes a second sending subunit, configured to send the message of the media control type to the application server by using a media control manner; The second reporting unit is configured to determine the media processing information to be reported according to the processing logic, and instruct the adding unit to carry the media processing information in the message to be sent. When the media resource server receives the media flow control instruction of the user, the second reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the message related to the user in the message to be sent. Media processing information;
当媒体流正常结束或媒体流播放中发生错误时, 则所述第二上报单元根据 处理逻辑确定待上报的当前媒体处理信息, 并指示添加单元在待发送的消息中 携带相关的媒体处理信息。  When the media stream ends normally or an error occurs in the media stream playing, the second reporting unit determines the current media processing information to be reported according to the processing logic, and instructs the adding unit to carry the related media processing information in the message to be sent.
本发明实施例还提供了一种获取媒体处理信息的系统, 如图 5所示, 包括: 存在消息交互关系的应用服务器 500和媒体资源服务器 600;  The embodiment of the present invention further provides a system for acquiring media processing information, as shown in FIG. 5, including: an application server 500 and a media resource server 600 having a message interaction relationship;
媒体资源服务器 500, 用于发送携带有媒体处理信息的消息。  The media resource server 500 is configured to send a message carrying media processing information.
应用服务器 600, 用于从媒体资源服务器发来的消息中获取媒体处理信息。 在 TISPAN IPTV 中, 本发明实施例中的应用服务器为业务控制功能实体 SCF, 媒体资源服务器为媒体功能实体 MF。 而媒体功能实体 MF包括媒体控制 功能实体 MCF和媒体交付功能实体 MDF。 业务开展过程中, 业务控制功能实 体 SCF与媒体控制功能实体 MCF进行交互实现业务, 媒体控制功能实体 MCF 控制媒体交付功能实体 MDF完成媒体处理和交付。  The application server 600 is configured to obtain media processing information from a message sent by the media resource server. In the TISPAN IPTV, the application server in the embodiment of the present invention is a service control function entity SCF, and the media resource server is a media function entity MF. The media function entity MF includes a media control function entity MCF and a media delivery function entity MDF. During the business development process, the service control function entity SCF interacts with the media control function entity MCF to implement the service, and the media control function entity MCF controls the media delivery function entity MDF to complete media processing and delivery.
在 IMS架构中, 本发明实施例中的应用服务器为应用服务器 AS,媒体资源 服务器为媒体资源功能实体 MRF。 而媒体资源功能实体 MRF 包括媒体资源功 能控制实体 MRFC和媒体资源功能处理实体 MRFP。 业务开展过程中, 应用服 务器 AS与媒体资源功能控制实体 MRFC进行交互实现业务, 媒体资源功能控 制实体 MRFC控制媒体资源功能处理实体 MRFP完成媒体处理和交付。  In the IMS architecture, the application server in the embodiment of the present invention is an application server AS, and the media resource server is a media resource function entity MRF. The media resource function entity MRF includes a media resource function control entity MRFC and a media resource function processing entity MRFP. During the service development process, the application server AS interacts with the media resource function control entity MRFC to implement the service, and the media resource function control entity MRFC controls the media resource function processing entity MRFP to complete media processing and delivery.
以下以 TISPAN IPTV 为业务场景描述实施例, 其相关流程同样可应用于 IMS架构下 AS与 MRFC的交互, 在实施例中就不再重复描述。  The following describes the embodiment in the case of the TISPAN IPTV. The related process is also applicable to the interaction between the AS and the MRFC in the IMS architecture, and will not be repeatedly described in the embodiment.
为了描述方便,本发明实施例中所述的 MCF即为媒体资源服务器, 当 MCF 和 MDF作为一个整体时 , 描述 MCF即代表 MF。  For convenience of description, the MCF described in the embodiment of the present invention is a media resource server. When MCF and MDF are used as a whole, the description MCF represents MF.
本发明实施例中, 可通过 SIP方式或媒体控制方式使 SCF获知媒体处理信 息。 其中 SIP方式中, 又可通过事件订阅模式(方式 11 )或事件发布模式(方 式 12 )或主动上报模式(方式 13 )使 SCF获知媒体处理信息, 以下分别详述 SIP方式下的事件订阅模式(方式 11 )、 事件发布模式(方式 12 )和主动上报模 式(方式 13 )。 In the embodiment of the present invention, the SCF can learn the media processing information through the SIP mode or the media control mode. In the SIP mode, the SCF can learn the media processing information through the event subscription mode (mode 11) or the event publishing mode (mode 12) or the active reporting mode (mode 13). The following describes the event subscription mode in the SIP mode. Mode 11), event publishing mode (mode 12) and active reporting mode (mode 13).
方式 11、 事件订阅模式, 参见图 6所示, 包括下列步骤:  Method 11, event subscription mode, as shown in Figure 6, includes the following steps:
Fl、 SCF作为订阅者向 MCF发送订阅消息, 订阅指定媒体流相关的状态事 件包。  As a subscriber, Fl and SCF send a subscription message to the MCF, and subscribe to a status event package related to the specified media stream.
F2、 MCF向 SCF返回 200OK。  F2, MCF returns 200 OK to SCF.
F3、 MCF根据事件订阅机制, 向 SCF发送 NOTIFY消息返回订阅的状态事 件包。  According to the event subscription mechanism, F3 and MCF send a NOTIFY message to the SCF to return the subscribed status event package.
F4、 SCF收到该状态事件包后, 向 MCF返回 200OK。 并从该状态事件包中 获知媒体处理的状态信息。  After receiving the status event package, F4 and SCF return 200 OK to the MCF. The status information of the media processing is obtained from the status event package.
其中, 要解决的一个关键问题是上述流程中, MCF能根据订阅消息携带的 信息确定被订阅的媒体流。 而目前事件订阅机制中的订阅消息携带的信息无法 指定媒体流, 本发明实施例提供如下三种实现方式:  Among them, a key problem to be solved is that in the above process, the MCF can determine the subscribed media stream according to the information carried in the subscription message. The information carried in the subscription message in the current event subscription mechanism cannot specify the media stream. The embodiment of the present invention provides the following three implementation manners:
方式 111 : SCF在建立媒体会话的 Dialog内发送订阅消息, 以订阅媒体流 的状态事件包。 若该订阅消息中不携带欲订阅的媒体流的相关信息, 则可应用 于 SCF与 MCF建立的媒体会话中只有一个媒体流的场景;若该订阅消息中携带 有欲订阅的媒体流的相关信息, 则详见下述方式 113。  Method 111: The SCF sends a subscription message within the Dialog that establishes the media session to subscribe to the status event package of the media stream. If the subscription message does not carry the information about the media stream to be subscribed, the scenario may be applied to the scenario in which the media session established by the SCF and the MCF has only one media stream; if the subscription message carries the information about the media stream to be subscribed to. , see the following method 113 for details.
方式 112: SCF向 MCF发送订阅消息 (不在媒体会话的 Dialog内发送), 在该订阅消息中携带建立被订阅媒体流的 Dialog标识 (包括 Call-ID, From-tag 和 To-tag )和被订阅媒体流在 SDP中的 m行序号(如果不带 m行序号, 则默认 订阅 SDP中描述的所有媒体流)。具体可应用于 SCF与 MCF建立的媒体会话中 有多个(至少两个)媒体流的场景, 以及 SCF与 MCF建立的媒体会话中只有一 个媒体流的场景。  Method 112: The SCF sends a subscription message to the MCF (not sent in the Dialog of the media session), and the subscription message carries the Dialog identifier (including Call-ID, From-tag, and To-tag) that establishes the subscribed media stream and is subscribed. The m line number of the media stream in the SDP (if no m line number is used, all media streams described in the SDP are subscribed by default). Specifically, it can be applied to a scenario where there are multiple (at least two) media streams in a media session established by the SCF and the MCF, and a scenario in which only one media stream is in the media session established by the SCF and the MCF.
在方式 112中, 在订阅消息中携带所述 Dialog标识和所述 m行序号的方式 包括但不限于以下 3种: In the mode 112, the manner in which the Dialog identifier and the m-line sequence number are carried in the subscription message Including but not limited to the following three types:
方式 112A、 在订阅消息的消息体携带, 具体参见下述示例:  The mode 112A is carried in the message body of the subscription message, as shown in the following example:
该示例中, 定义了一种 XML描述方式携带 Dialog标识和 m行序号, 其中 call-id, from-tag, to-tag代表 Dialog标识 , mid代表 m行序号 , 且 mid可以是 多个。 当然, 实际应用中描述方式多种多样, 所以本发明实施例不限于这一示 例,只要携带了 Dialog标识和 m行序号来标识一个媒体流都属于本发明的精神。  In this example, an XML description is defined to carry the Dialog identifier and the m-line number, where call-id, from-tag, to-tag represents the Dialog identifier, mid represents the m-line number, and mid can be multiple. Of course, the description in the actual application is various, so the embodiment of the present invention is not limited to this example, and it is a spirit of the present invention to carry a Dialog identifier and a m-line number to identify a media stream.
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Flowparam xmlns="urn:ietf:params:xml:ns:Flowparam "  <Flowparam xmlns="urn:ietf:params:xml:ns:Flowparam "
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<dialog call-id="sdjkef2" from-tag="iqfefqf ' to-tag="93unrkgf '>  <dialog call-id="sdjkef2" from-tag="iqfefqf ' to-tag="93unrkgf '>
<mid>  <mid>
1  1
</mid>  </mid>
</dialog>  </dialog>
< Flowparam >  < Flowparam >
方式 112B、 扩展一个新的头域携带。 Mode 112B, extending a new header field to carry.
定义一个新的 SIP头域来携带 Dialog标识和 m行序号,语法定义可以如下: mflow "Mflow" HCOLON callid *(SEMI mflow-param) SEMI mid  Define a new SIP header field to carry the Dialog identifier and m line number. The syntax can be defined as follows: mflow "Mflow" HCOLON callid *(SEMI mflow-param) SEMI mid
mflow-param to-tag I from-tag I generic-param  Mflow-param to-tag I from-tag I generic-param
to-tag "to-tag" EQUAL token  To-tag "to-tag" EQUAL token
from-tag "from-tag" EQUAL token  From-tag "from-tag" EQUAL token
mid "mid" EQUAL midvalue *("-" midvalue)  Mid "mid" EQUAL midvalue *("-" midvalue)
midvalue 1*DIGIT 例如, Mflow: 425928@example.com;to-tag=7743;from-tag=6472;mid=l  Midvalue 1*DIGIT For example, Mflow: 425928@example.com; to-tag=7743; from-tag=6472;mid=l
指定 SDP中 m行序号 (mid )为 1的一个媒体流  Specify a media stream with m line number (mid ) of 1 in SDP
Mflow: 425928(¾example.com;to-tag=7743;from-tag=6472;mid=l-3  Mflow: 425928 (3⁄4example.com; to-tag=7743; from-tag=6472; mid=l-3
指定 SDP中 m行序号 ( mid )为 1和 3的两个媒体流  Specify two media streams in the SDP with m line numbers ( mid ) 1 and 3.
方式 112C、 扩展 Request-URI参数携带。  Method 112C. The extended Request-URI parameter is carried.
通过扩展定义 Request-URI的参数来携带 Dialog标识和 m行序号, 可以扩 展 Request-URI的 uri-parameter中的 other-param部分, 原 uri-parameter定义如 下: uri-parameters = *( ";" uri-parameter) By extending the parameters defining the Request-URI to carry the Dialog identifier and the m-line sequence number, the other-param part of the uri-parameter of the Request-URI can be extended. The original uri-parameter is defined as follows: Uri-parameters = *( ";" uri-parameter)
uri-parameter = transport-param I user-param I method-param  Uri-parameter = transport-param I user-param I method-param
I ttl-param I maddr-param I lr-param I other-param 扩展后定义如下:  I ttl-param I maddr-param I lr-param I other-param is defined as follows:
uri-parameters = *( ";" uri-parameter)  Uri-parameters = *( ";" uri-parameter)
uri-parameter = transport-param I user-param I method-param  Uri-parameter = transport-param I user-param I method-param
I ttl-param I maddr-param I lr-param I call-id I from-tag I to-tag I mid /other-param  I ttl-param I maddr-param I lr-param I call-id I from-tag I to-tag I mid /other-param
call-id = "call-id=" CALLID  Call-id = "call-id=" CALLID
from-tag = "from-tag=" token  From-tag = "from-tag=" token
to-tag = "to-tag=" token  To-tag = "to-tag=" token
mid = "mid=" midvalue *("-" midvalue)  Mid = "mid=" midvalue *("-" midvalue)
midvalue =1 * DIGIT  Midvalue =1 * DIGIT
m ^口 , SUBSCRIBE sip: mcf.example.com; call-id=425928@example.com;to-tag=7743; from-tag=6472; mid=l  m ^ port , SUBSCRIBE sip: mcf.example.com; call-id=425928@example.com;to-tag=7743; from-tag=6472; mid=l
订阅指定 SDP中 m行序号 (mid ) 为 1的一个媒体流  Subscribe to a media stream with a m line number (mid ) of 1 in the specified SDP
SUBSCRIBE sip: mcf.example.com; call-id=425928@example.com;to-tag=7743; from-tag=6472; mid=l-2  SUBSCRIBE sip: mcf.example.com; call-id=425928@example.com;to-tag=7743; from-tag=6472; mid=l-2
订阅指定 SDP中 m行序号 (mid ) 为 1和 2的两个媒体流  Subscribe to two media streams in the specified SDP with m line numbers (mid ) 1 and 2
方式 113: SCF在建立媒体会话的 Dialog内发送订阅消息, 在订阅消息中 携带被订阅媒体流在 SDP中的 m行序号(如果不带 m行序号,则默认订阅 SDP 中描述的所有媒体流 )。具体可应用于 SCF与 MCF建立的媒体会话中有多个(至 少两个)媒体流的场景, 以及 SCF与 MCF建立的媒体会话中只有一个媒体流的 场景。 在订阅消息中携带 m行序号的方式包括但不限于以下 3种: 在订阅消息 的消息体携带, 扩展一个新的头域携带, 或者扩展 Request-URI参数携带。  Method 113: The SCF sends a subscription message in the Dialog that establishes the media session, and carries the m-line sequence number of the subscribed media stream in the SDP in the subscription message (if no m-line sequence number, all the media streams described in the SDP are subscribed by default) . Specifically, it can be applied to a scenario where there are multiple (at least two) media streams in a media session established by the SCF and the MCF, and a scenario in which only one media stream is in the media session established by the SCF and the MCF. The manner in which the m-line sequence number is carried in the subscription message includes, but is not limited to, the following three types: carried in the message body of the subscription message, extended by a new header field, or extended by the Request-URI parameter.
方式 12、 事件发布模式, 参见图 7所示, 包括下列步骤:  Method 12, event publishing mode, as shown in Figure 7, includes the following steps:
Fl、 MCF通过事件发布机制, 向 SCF发布相关的状态事件包。 状态事件包 中除了媒体播放状态外, 还应包括对应的 Dialog标识和媒体流在 SDP中的序列 号。  Fl and MCF release relevant state event packets to the SCF through the event publishing mechanism. In addition to the media playback status, the status event package should also include the corresponding Dialog identifier and the serial number of the media stream in the SDP.
F2、 SCF收到该状态事件包后, 向 MCF返回 200OK。 并从该状态事件包中 获知媒体处理的状态信息。  After receiving the status event packet, the SCF returns a 200 OK to the MCF. The status information of the media processing is obtained from the status event package.
方式 13、 MCF主动上 模式, MCF还可以通过 SIP INFO消息主动上 4艮媒 体流相关状态信息。 参见图 8所示包括下列步骤: Mode 13, MCF active mode, MCF can also actively use the SIP INFO message Body flow related status information. Referring to Figure 8, the following steps are included:
Fl : MCF根据媒体处理逻辑, 触发向 SCF上报媒体处理的状态信息和 /或 发生了相关事件的指示信息。 (处理逻辑可以是 MCF本身固化的处理逻辑, 也 可以是 SCF下发的控制脚本中包含的处理逻辑)。  Fl: The MCF triggers the status information of the media processing and/or the indication of the related event to be reported to the SCF according to the media processing logic. (The processing logic may be the processing logic that is solidified by the MCF itself, or may be the processing logic included in the control script delivered by the SCF).
具体地, MCF触发向 SCF上 ^艮媒体处理的状态信息和 /或发生了相关事件 的指示信息包括以下情况:  Specifically, the MCF triggers the status information of the media processing to the SCF and/or the indication information of the related event including the following:
情况一, 当 MCF接收到用户的媒体流控制指令时, 则 MCF触发向 SCF上 报相关的当前媒体处理信息的指示信息;  In the first case, when the MCF receives the media flow control instruction of the user, the MCF triggers the indication information of the current media processing information to be reported to the SCF.
情况二, 当媒体流正常结束或媒体流中发生错误时, 则 MCF 触发向 SCF 上报相关的当前媒体处理信息的指示信息。  In the second case, when the media stream ends normally or an error occurs in the media stream, the MCF triggers the indication information of the current media processing information to be reported to the SCF.
具体为, 所述媒体处理信息为媒体处理状态信息。  Specifically, the media processing information is media processing status information.
F2、 MCF通过 SIP INFO消息携带媒体处理的状态信息和 /或发生了相关事 件的指示信息, 发送给 SCF。  The F2 and the MCF send the status information of the media processing and/or the indication information of the related event through the SIP INFO message to the SCF.
在上述情况一中, MCF向 SCF上报 SIP INFO消息, 所述 SIP INFO消息 中携带与所述用户相关的当前媒体处理状态信息。 例如, MCF检测到媒体流播 放结束, 或当用户发出切换媒体流指令时, MCF即向 SCF上报携带着相关的当 前媒体处理状态信息的 SIP INFO消息;  In the foregoing case 1, the MCF reports a SIP INFO message to the SCF, where the SIP INFO message carries current media processing status information related to the user. For example, the MCF detects the end of the media stream playback, or when the user issues the instruction to switch the media stream, the MCF reports the SIP INFO message carrying the relevant current media processing status information to the SCF;
在上述情况二中, 所述媒体资源服务器向 SCF上报 SIP INFO消息, 所述 SIP INFO消息中携带相关的当前媒体处理状态信息。 例如, 当媒体流播放中发 生错误时, 则 MCF 即向 SCF上报携带着相关的当前媒体处理状态信息的 SIP INFO消息。  In the foregoing case 2, the media resource server reports a SIP INFO message to the SCF, where the SIP INFO message carries relevant current media processing status information. For example, when an error occurs in the playback of the media stream, the MCF reports the SIP INFO message carrying the relevant current media processing status information to the SCF.
F3、 SCF收到该 SIP INFO消息后返回 200 OK。  F3, SCF returns 200 OK after receiving the SIP INFO message.
当然其它 SIP消息同 INFO—样, 如 MESSAGE, 技术上也是可以传递媒体 流相关状态信息, 在此就不在赘述。  Of course, other SIP messages are the same as INFO, such as MESSAGE, and technically can also convey media stream related status information, which will not be described here.
至此通过 SIP方式使 SCF获知媒体处理的状态信息的描述完毕, 以下描述 通过媒体控制方式使 SCF获知媒体处理的状态信息。 在媒体控制方式中,首先在 SCF与 MCF间建立媒体控制通道,之后可通过 SCF主动获取模式(方式 21 )或 MCF主动上报模式(方式 22 )使 SCF获知媒 体处理的状态信息, 以下分别详述媒体控制方式下的 SCF主动获取模式(方式 21 )和 MCF主动上报模式(方式 22 )。 So far, the SCF is informed of the status information of the media processing by the SIP method. The following description makes the SCF know the status information of the media processing through the media control mode. In the media control mode, the media control channel is first established between the SCF and the MCF, and then the SCF can obtain the status information of the media processing through the SCF active acquisition mode (mode 21) or the MCF active reporting mode (mode 22). The SCF active acquisition mode (mode 21) and the MCF active reporting mode (mode 22) in the media control mode.
方式 21、 SCF主动获取模式。  Method 21, SCF active acquisition mode.
在 SCF主动获取模式中, 又可包括: SCF查询方式(方式 211 )或 SCF订 阅方式(方式 212 ), 以下分别详述。  In the SCF active acquisition mode, the method may further include: an SCF query mode (method 211) or an SCF subscription mode (mode 212), which are described in detail below.
方式 211、 查询方式: SCF向 MCF发出查询指定媒体处理的状态信息的查 询消息, MCF向 SCF返回查询媒体流的状态, 具体参见图 9所示, 包括下列步 骤:  211. Query mode: The SCF sends a query message to the MCF to query the status information of the specified media processing. The MCF returns the status of the query media stream to the SCF. For details, refer to FIG. 9, which includes the following steps:
F1-F3: SCF与 MCF通过 SIP SDP交互建立媒体控制通道;  F1-F3: The SCF and the MCF interact to establish a media control channel through the SIP SDP;
F4: SCF通过媒体控制通道向 MCF发出查询消息 (MRequest ), 携带指定 媒体流的 SDP序号和查询某种状态的指示;  F4: The SCF sends a query message (MRequest) to the MCF through the media control channel, carrying the SDP sequence number of the specified media stream and an indication for querying a certain state;
F5: MCF确认收到查询消息, 返回响应;  F5: The MCF acknowledges receipt of the inquiry message and returns a response;
F6: MCF向 SCF发送通知消息 (MNotify )携带媒体流的状态信息。  F6: The MCF sends a notification message (MNotify) to the SCF to carry status information of the media stream.
方式 212、 订阅方式: SCF向 MCF发出订阅指定媒体流状态的订阅消息, MCF 向 SCF返回订阅媒体流的状态, 当订阅的媒体流状态发生改变时, MCF 向 SCF发送改变后的媒体流的状态, 以及取消订阅。 具体参见图 10所示, 包括 下列步骤:  The mode is as follows: The SCF sends a subscription message to the MCF to subscribe to the specified media stream state, and the MCF returns the status of the subscribed media stream to the SCF. When the status of the subscribed media stream changes, the MCF sends the status of the changed media stream to the SCF. , and unsubscribe. See Figure 10 for details, including the following steps:
F1-F3: SCF与 MCF通过 SIP SDP交互建立媒体控制通道;  F1-F3: The SCF and the MCF interact to establish a media control channel through the SIP SDP;
F4: SCF通过媒体控制通道向 MCF发出订阅消息 (MRequest ), 携带指定 媒体流的 SDP序号和订阅某种状态的指示;  F4: The SCF sends a subscription message (MRequest) to the MCF through the media control channel, carrying the SDP sequence number of the specified media stream and an indication of subscribing to a certain state;
F5: MCF确认收到查询消息, 返回响应;  F5: The MCF acknowledges receipt of the inquiry message and returns a response;
F6: MCF向 SCF发送通知消息 (MNotify )携带媒体流的状态信息; F6: The MCF sends a notification message (MNotify) to the SCF to carry status information of the media stream;
F7: 当媒体流状态发生改变时, MCF向 SCF发送状态信息; F7: When the media stream status changes, the MCF sends status information to the SCF;
F8: SCF发送取消订阅消息 ( MRequest ), 取消在 MCF上订阅的媒体流状 态信息; F8: SCF sends unsubscribe message (MRequest), cancels the media stream subscribed on MCF State information
F9: MCF返回响应 ( MResponse ), 接收 SCF的请求。  F9: The MCF returns a response (MResponse), receiving a request from the SCF.
方式 22、 MCF主动上报模式。  Mode 22, MCF active reporting mode.
MCF执行媒体处理时根据处理逻辑, 主动向 SCF发送媒体处理的信息, 这 个信息可以是媒体处理的状态信息, 也可以是相关事件的指示信息。 具体参见 图 11所示, 包括下列步骤:  The MCF actively sends the media processing information to the SCF according to the processing logic when performing the media processing. The information may be the status information of the media processing or the indication information of the related event. See Figure 11 for details, including the following steps:
F1-F3: SCF与 MCF通过 SIP SDP交互建立媒体控制通道。  F1-F3: The SCF and MCF interact to establish a media control channel through the SIP SDP.
F4: MCF根据媒体处理逻辑, 触发向 SCF上报媒体处理的状态信息和 /或 发生了相关事件的指示信息(处理逻辑可以是 MCF本身固化的处理逻辑, 也可 以是 SCF下发的控制脚本中包含的处理逻辑)。  F4: The MCF triggers the status information of the media processing and/or the indication information of the related event to be reported to the SCF according to the media processing logic. The processing logic may be the processing logic of the MCF itself, or may be included in the control script delivered by the SCF. Processing logic).
具体地, MCF触发向 SCF上 ^艮媒体处理的状态信息和 /或发生了相关事件 的指示信息包括以下情况:  Specifically, the MCF triggers the status information of the media processing to the SCF and/or the indication information of the related event including the following:
情况一, 当 MCF接收到用户的媒体流控制指令时, 则 MCF触发向 SCF上 报相关的当前媒体处理状态信息的指示信息;  In the first case, when the MCF receives the media flow control instruction of the user, the MCF triggers the indication information of the current media processing status information to be reported to the SCF.
情况二, 当媒体流正常结束或媒体流中发生错误时, 则 MCF 触发向 SCF 上报相关的媒体处理状态信息的指示信息。  In the second case, when the media stream ends normally or an error occurs in the media stream, the MCF triggers the indication information of the related media processing status information to be reported to the SCF.
F5: MCF向 SCF发送通知消息(MNotify )携带媒体处理的状态信息和 /或 发生了相关事件的指示信息。  F5: The MCF sends a notification message (MNotify) to the SCF to carry the status information of the media processing and/or the indication information of the related event.
在上述情况一中, MCF向 SCF发送通知消息, 所述通知消息中携带与所 述用户相关的当前媒体处理状态信息。 例如, MCF检测到媒体流播放结束, 或 当用户发出切换媒体流指令时, MCF即向 SCF上报携带着相关的当前媒体处理 状态信息的通知消息;  In the foregoing case 1, the MCF sends a notification message to the SCF, where the notification message carries current media processing status information related to the user. For example, the MCF detects that the playback of the media stream ends, or when the user issues an instruction to switch the media stream, the MCF reports the notification message carrying the relevant current media processing status information to the SCF;
在上述情况二中, 所述媒体资源服务器向 SCF发送通知消息, 所述通知消 息中携带相关的当前媒体处理状态信息。 例如, 当媒体流正常结束时, MCF即 向 SCF上报携带着相关媒体处理状态信息的通知消息。  In the foregoing case 2, the media resource server sends a notification message to the SCF, where the notification message carries relevant current media processing status information. For example, when the media stream ends normally, the MCF reports a notification message carrying the relevant media processing status information to the SCF.
所述媒体处理逻辑可通过定义一个通用的 XML描述方式的事件框架来实 现, IPTV中各个业务可以根据该框架, 扩展定义具体的事件类型和事件数据, 实现事件触发的上报。 具体示例如下: The media processing logic can be implemented by defining a common XML description of the event framework. Now, each service in the IPTV can be extended according to the framework to define specific event types and event data, and implement event-triggered reporting. Specific examples are as follows:
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"  <iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<event type= ""> /* 事件类型 */  <event type= ""> /* Event type */
data... /* 事件的数据部分, 不同的事件有不同的数据,  Data... /* The data portion of the event, different events have different data,
需根据具体的事件类型进行定义 */  Need to be defined according to the specific event type */
</event>  </event>
</iptvevent> 至此通过 SIP方式或媒体控制方式使 SCF获知媒体处理的状态信息的描述 完毕, 以下通过 6个实施例进一步详述。  </iptvevent> So far, the SCF has learned the description of the status information of the media processing through the SIP mode or the media control mode. The following is further described in detail through the six embodiments.
实施例一、 釆用 SIP PUBLISH方式(事件发布模式 )使 SCF获知媒体流播 放位置信息。  Embodiment 1 The SIP PUBLISH mode (event release mode) is used to enable the SCF to know the location information of the media stream.
用户在观看时移节目 (TsTV )或 COD点播节目时, 当用户更换其它频道或 用户退出正在观看的节目, SCF 需要获知用户观看节目的媒体流的位置信息, 以便用户再次观看该节目时从上次退出位置继续播放。  When the user watches the time shift program (TsTV) or the COD on demand program, when the user changes other channels or the user quits the program being watched, the SCF needs to know the location information of the media stream of the user watching the program, so that the user can watch the program again when from the top. The exit position continues to play.
定义媒体流播放位置事件包:  Define the media stream playback location event package:
包名: mediapos  Package name: mediapos
消息内容指示 ( content-type ): application/mediapos+xml  Message content indication ( content-type ): application/mediapos+xml
釆用 XML描述方式定义的事件包格式如下: The format of the event package defined in XML description is as follows:
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<mediapos xmlns="urn:ietf:params:xml:ns:mediapos"  <mediapos xmlns="urn:ietf:params:xml:ns:mediapos"
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<position type="current-time"> /* 绝对时间 */  <position type="current-time"> /* Absolute time */
2005-08-15T10:22:00.000-05:00  2005-08-15T10:22:00.000-05:00
</position>  </position>
</mediapos>  </mediapos>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<mediapos xmlns="urn:ietf:params:xml:ns:mediapos"  <mediapos xmlns="urn:ietf:params:xml:ns:mediapos"
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<position type="offset-time"> /* 时间偏移量 */  <position type="offset-time"> /* time offset */
0T10:22:00 /* 天 T小时:分钟:秒 */  0T10: 22:00 /* days T hours: minutes: seconds */
</position>  </position>
</mediapos>  </mediapos>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<mediapos xmlns="urn:ietf:params:xml:ns:mediapos"  <mediapos xmlns="urn:ietf:params:xml:ns:mediapos"
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<position type="offset-file"> /* 文件偏移量 */  <position type="offset-file"> /* file offset */
28629 /* 根据实际情况, 可定义为 Byte (字节),  28629 /* can be defined as Byte (byte) according to the actual situation.
kByte (千字节), 文件块数等 */  kByte (kilobytes), number of file blocks, etc. */
</position>  </position>
</mediapos> 基于上述定义, 参见图 12所示, 本实施例流程包括下列步骤:  </mediapos> Based on the above definition, as shown in FIG. 12, the flow of this embodiment includes the following steps:
F1 : 用户终端向 SCF发送 BYE消息退出当前 COD或 TsTV节目;  F1: The user terminal sends a BYE message to the SCF to exit the current COD or TsTV program;
F2: SCF向 MCF发送 BYE消息结束 UE与 MCF间的媒体会话;  F2: The SCF sends a BYE message to the MCF to end the media session between the UE and the MCF;
F3: MCF向 SCF返回 200 OK确认;  F3: MCF returns 200 OK confirmation to SCF;
F4: SCF向 UE返回 200 OK确认;  F4: The SCF returns a 200 OK confirmation to the UE;
F5: F2步骤 MCF收到 SCF的 BYE消息后, 将 BYE消息匹配媒体会话关 联的媒体流的当前播放位置信息通过 PUBLISH消息发送给 SCF;  F5: F2 step, after receiving the BYE message of the SCF, the MCF sends the BYE message to the SCF through the PUBLISH message to match the current play position information of the media stream associated with the media session;
F6: SCF接收 MCF发送的 PUBLISH消息, 从中取出播放位置信息保存到 用户相关的业务数据中。  F6: The SCF receives the PUBLISH message sent by the MCF, and the play location information is saved from the user-related service data.
实施例二、 SCF 釆用媒体控制消息的事件查询方式获知媒体流播放位置信 息。 本实施对应用场景和事件包的定义包括但不限于实施例一中所述的应用场 景和事件包的定义。 参见图 13所示, 本实施例流程包括下列步骤: Fl : 用户终端向 SCF发送 BYE消息退出当前 COD或 TsTV节目; In the second embodiment, the SCF uses the event query mode of the media control message to learn the location information of the media stream. The definitions of the application scenario and the event package in this implementation include, but are not limited to, the definitions of the application scenario and the event package described in the first embodiment. Referring to FIG. 13, the flow of this embodiment includes the following steps: Fl: the user terminal sends a BYE message to the SCF to exit the current COD or TsTV program;
F2: SCF通过媒体控制通道向 MCF发送媒体查询消息 (MRequest ), 查询 BYE消息匹配媒体会话关联的媒体流的当前播放位置信息;  F2: The SCF sends a media query message (MRequest) to the MCF through the media control channel, and the query BYE message matches the current play location information of the media stream associated with the media session;
F3: MCF收到 MRequest消息, 返回 MResponse响应消息;  F3: The MCF receives the MRequest message and returns a MResponse response message.
F4: MCF向 SCF发送 MNotify消息携带媒体流的播放位置信息;  F4: The MCF sends the MNotify message to the SCF to carry the play position information of the media stream;
F5: SCF向 MCF发送 BYE消息结束 UE与 MCF间的媒体会话;  F5: The SCF sends a BYE message to the MCF to end the media session between the UE and the MCF;
F6: MCF向 SCF返回 200 OK确认;  F6: MCF returns 200 OK confirmation to SCF;
F7: SCF向 UE返回 200 OK确认。  F7: The SCF returns a 200 OK confirmation to the UE.
实施例三、 SCF 釆用 SIP SUBSCRIBE方式(事件订阅模式)获知媒体流的 RTSP播放状态信息。  Embodiment 3: The SCF uses the SIP SUBSCRIBE mode (event subscription mode) to learn the RTSP playback status information of the media stream.
在 TsTV和 COD业务中, UE与 MCF间建立的 RTSP控制通道控制媒体流 前进, 后退, 暂停, 定位, SCF需要随时了解媒体流的 RTSP状态(前进, 后退, 暂停, 定位, 播放), 以便相关业务的开展。  In the TsTV and COD services, the RTSP control channel established between the UE and the MCF controls the media stream to advance, rewind, pause, and locate. The SCF needs to know the RTSP status (forward, backward, pause, locate, play) of the media stream at any time. Business development.
定义 RTSP播放状态事件包:  Define the RTSP play status event package:
包名: rtspstatus  Package name: rtspstatus
消息内容指示 ( content-type ): application/ rtspstatus+xml  Message content indication ( content-type ): application/ rtspstatus+xml
釆用 XML描述方式定义的事件包格式  事件Event package format defined by XML description
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<rtspstatus xmlns="urn:ietf:params:xml:ns:rtspstatus"  <rtspstatus xmlns="urn:ietf:params:xml:ns:rtspstatus"
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<status>  <status>
pause /* play (播放), back (后退), forward (快进),  Pause /* play (back), back (fast forward), forward (fast forward),
pause (暂停), goto(定位) */  Pause (pause), goto (position) */
</status>  </status>
</rtspstatus> 基于上述定义, 参见图 14所示, 本实施例流程包括下列步骤:  </rtspstatus> Based on the above definition, referring to FIG. 14, the flow of this embodiment includes the following steps:
Fl : SCF向 MCF发送 SUBSCRIBE请求携带建立被订阅媒体流的 Dialog 的标识和被订阅媒体流在 SDP中的 m行的序列号, 订阅媒体流的 RTSP状态信 息; F2: MCF接受 SCF的订阅, 返回 200 OK确认; Fl: The SCF sends a SUBSCRIBE request to the MCF to carry the identifier of the Dialog that establishes the subscribed media stream and the sequence number of the m-line of the subscribed media stream in the SDP, and subscribes to the RTSP status information of the media stream; F2: MCF accepts SCF subscription, returns 200 OK confirmation;
F3: MCF向 SCF发送 NOTIFY消息,携带被订阅媒体流的 RTSP状态信息; F4: SCF收到 NOTIFY消息 , 返回 200 OK确认;  F3: The MCF sends a NOTIFY message to the SCF, carrying the RTSP status information of the subscribed media stream; F4: The SCF receives the NOTIFY message, and returns a 200 OK confirmation;
F5: UE终端通过 RTSP控制媒体流快进, 导致媒体流的 RTSP状态发生变 化, MCF向 SCF发送 NOTIFY消息携带媒体流最新的 RTSP状态信息;  F5: The UE terminal controls the media stream to fast forward through the RTSP, and the RTSP status of the media stream changes. The MCF sends a NOTIFY message to the SCF to carry the latest RTSP status information of the media stream.
F6: SCF收到 NOTIFY消息 , 返回 200 OK确认。  F6: SCF receives the NOTIFY message and returns 200 OK to confirm.
实施例四、 SCF釆用媒体控制通道订阅方式获知媒体流的 RTSP播放状态信 息。 本实施对应用场景和事件包的定义与实施例三相同。 参见图 15所示, 本实 施例流程包括下列步骤:  In the fourth embodiment, the SCF uses the media control channel subscription mode to learn the RTSP playback status information of the media stream. The definition of the application scenario and the event package in this implementation is the same as that in the third embodiment. Referring to Figure 15, the flow of this embodiment includes the following steps:
前提: UE与 MCF建立媒体会话和媒体控制通道。  Prerequisite: The UE establishes a media session and media control channel with the MCF.
Fl : SCF通过媒体控制通道向 MCF发送订阅 RTSP状态信息的媒体控制消 息 MRequest, 消息中携带被订阅媒体流在 SDP中的 m行的序列号;  Fl: The SCF sends a media control message MRequest for subscribing to the RTSP status information to the MCF through the media control channel, and the message carries the sequence number of the m line of the subscribed media stream in the SDP;
F2: MCF接受 SCF的订阅 , 返回 MResponse响应消息;  F2: The MCF accepts the SCF subscription and returns the MResponse response message.
F3: MCF通过媒体控制通道向 SCF发送 MNotify消息, 携带被订阅媒体流 的 RTSP状态信息;  F3: The MCF sends an MNotify message to the SCF through the media control channel, and carries the RTSP status information of the subscribed media stream.
F4: UE终端通过 RTSP控制媒体流快进, 导致媒体流的 RTSP状态发生变 化, MCF向 SCF发送 MNotify消息携带媒体流最新的 RTSP状态信息。  F4: The UE terminal controls the media stream to fast forward through the RTSP, and the RTSP status of the media stream changes. The MCF sends an MNotify message to the SCF to carry the latest RTSP status information of the media stream.
实施例五、 釆用媒体控制通道主动上报模式使 SCF获知 TsTV业务快进到 头指示信息。  Embodiment 5: The active control mode of the media control channel is used to enable the SCF to know the TsTV service fast forward to the header indication information.
在 TsTV业务中, UE通过 RTSP控制媒体流快进, 当快进到与当前直播的 媒体流同步时, SCF需要获得这个信息, 以便与将 TsTV业务切换到 LTV业务。  In the TsTV service, the UE controls the media stream to fast forward through the RTSP. When fast forwarding to synchronize with the currently live media stream, the SCF needs to obtain this information in order to switch the TsTV service to the LTV service.
根据本发明实施例中定义的事件描述框架,定义具体的 TsTV业务快进到头 事件:  According to the event description framework defined in the embodiment of the present invention, a specific TsTV service fast forward to event is defined:
事件类型: tstvtop  Event Type: tstvtop
数据部分: 无  Data section: None
一个具体的例子如下: <?xml version="1.0" encoding="UTF-8"?> A specific example is as follows: <?xml version="1.0"encoding="UTF-8"?>
<iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"  <iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<event type="tstvtop">  <event type="tstvtop">
</event>  </event>
</iptvevent> 基于上述定义, 参见图 16所示, 本实施例流程包括下列步骤:  </iptvevent> Based on the above definition, as shown in FIG. 16, the flow of this embodiment includes the following steps:
前提: UE与 MCF建立媒体会话和媒体控制通道, UE通过 RTSP控制媒体 流不断的快进。  Prerequisite: The UE establishes a media session and media control channel with the MCF, and the UE controls the media stream to continuously fast forward through the RTSP.
Fl : MCF检测到 TsTV业务媒体流与当前 LTV媒体流同步(播放内容), MCF产生一个 IPTV事件, 事件类型为" tstvtop"通过 MNotify消息发送给 SCF, 通知 SCF TsTV业务媒体流已经达到同步状态。  Fl: The MCF detects that the TsTV service media stream is synchronized with the current LTV media stream (playing content), and the MCF generates an IPTV event, and the event type is "tstvtop", which is sent to the SCF through the MNotify message, to notify the SCF TsTV service media stream that the synchronization has reached the synchronization state.
实施例六、釆用媒体控制通道主动上报模式使 SCF获知录制空间耗尽事件。 在网络录制业务中, 提供录制业务的 SCF需要先向 MF申请录制的存储空 间, 在某些情况下, SCF 不能预知需要的录制空间大小, 因此只能通过边申请 边录制的方式, 当录制空间快耗尽时, MF通过事件通知 SCF, SCF根据情况决 定再继续申请或结束录制。  In the sixth embodiment, the active control mode of the media control channel is used to enable the SCF to learn the recording space exhaustion event. In the network recording service, the SCF that provides the recording service needs to first apply to the MF for the recorded storage space. In some cases, the SCF cannot predict the required recording space, so the recording space can only be recorded by applying while recording. When it is exhausted, the MF notifies the SCF through the event, and the SCF decides to continue the application or end the recording according to the situation.
根据发明中定义的事件描述框架, 定义具体的录制空间耗尽事件: 事件类型: vr-no-space  Define a specific recording space exhaustion event according to the event description framework defined in the invention: Event Type: vr-no-space
数据部分:  Data section:
<?xml version="1.0" encoding="UTF-8"?>  <?xml version="1.0" encoding="UTF-8"?>
<xs: schema targetNamespace=" urn:ietf:params:xml:ns:pvrdata"  <xs: schema targetNamespace=" urn:ietf:params:xml:ns:pvrdata"
xmlns:xs=Mhttp://www.w3.org/2001/XMLSchemaM Xmlns:xs= M http://www.w3.org/2001/XMLSchema M
elementFormDefault="qualified"  elementFormDefault="qualified"
attributeFormDefault="unqualified">  attributeFormDefault="unqualified">
<space type=""> /* type包括 time (时间), size (大小), 指还能录制的  <space type=""> /* type includes time, size, and can also be recorded
剩余空间或时间 */  Remaining space or time */
具体的时间或空间  Specific time or space
</space>  </space>
</ xs: schema > 一个具体的例子如下: <?xml version="1.0" encoding="UTF-8"?> </ xs: schema > A specific example is as follows: <?xml version="1.0"encoding="UTF-8"?>
<iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"  <iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"
xmlns: pd=" urn: ietf : ar ams: xml: ns: vrdata "  Xmlns: pd=" urn: ietf : ar ams: xml: ns: vrdata "
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<event type=" pvr-no-space ">  <event type=" pvr-no-space ">
<pd: space type="size">  <pd: space type="size">
128k /* 能录制的剩余空间大小 128千字节 */  128k /* The remaining space that can be recorded is 128 kilobytes */
</pd:space>  </pd:space>
</event>  </event>
</iptvevent>  </iptvevent>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"  <iptvevent xmlns="urn:ietf:params:xml:ns:iptvevent"
xmlns: pd=" urn: ietf: par ams: xml: ns: p vrdata "  Xmlns: pd=" urn: ietf: par ams: xml: ns: p vrdata "
xmlns:xsi=Mhttp:〃 www.w3.org/2001/XMLSchema-instance"> Xmlns:xsi =M http:〃 www.w3.org/2001/XMLSchema-instance">
<event type=" pvr-no-space ">  <event type=" pvr-no-space ">
<pd: space type="time">  <pd: space type="time">
20s /* 能录制的剩余时间 20秒 */  20s /* The remaining time that can be recorded is 20 seconds */
</pd:space>  </pd:space>
</event>  </event>
</iptvevent> 基于上述定义, 参见图 17所示, 本实施例流程包括下列步骤:  </iptvevent> Based on the above definition, as shown in FIG. 17, the flow of this embodiment includes the following steps:
F1-F3: SCF与 MCF进行会话交互申请录制空间, 并建立媒体控制通道; F1-F3: The SCF interacts with the MCF to apply for recording space and establish a media control channel;
F4: MCF在录制过程中发现录制剩余空间或时间小于设定值, 触发上报事 件,向 SCF发送 MNotify消息携带事件指示" vr-no-space "和剩余空间或时间大 小; F4: During the recording process, the MCF finds that the remaining space or time of recording is less than the set value, triggers the reporting event, and sends an MNotify message carrying the event indication "vr-no-space" to the SCF and the remaining space or time size;
F5-F7: SCF接收 MNotify消息,根据业务情况决定继续录制,通过向 MCF 发送会话内的 INVITE消息或 UPDATE消息申请录制空间。  F5-F7: The SCF receives the MNotify message and decides to continue recording according to the service condition. The SCF requests the recording space by sending an INVITE message or an UPDATE message in the session to the MCF.
(如果 F5是 UPDATE消息, 则没有 F7的 ACK )。  (If F5 is an UPDATE message, there is no ACK for F7).
综上所述, 本发明实施例的方法、 装置及系统中, 应用服务器与媒体资源 服务器交互, 并从与媒体资源服务器交互的消息中获取媒体处理信息。 通过上 述机制实现了使应用服务器可获取媒体处理信息。  In summary, in the method, device and system of the embodiment of the present invention, the application server interacts with the media resource server, and obtains media processing information from the message interacting with the media resource server. Through the above mechanism, the application server can obtain media processing information.
具体的, 本发明还提供了媒体资源服务器执行流媒体的处理过程中, 媒体 资源服务器需要向应用服务器上报媒体处理信息的若干方案, 以及应用服务器 根据业务的进展情况需要向媒体资源服务器获取媒体处理信息的若干方案, 从 而更好的支撑了本发明。 明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及 其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 Specifically, the present invention further provides a solution for the media resource server to report media processing information to the application server, and an application server, in the process of processing the streaming media by the media resource server. According to the progress of the business, several solutions for obtaining media processing information from the media resource server are needed, thereby better supporting the present invention. The spirit and scope of the Ming. Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Claims

权 利 要求 书 Claim
1、 一种获取媒体处理信息的方法, 其特征在于, 包括下列步骤: 应用服务器与媒体资源服务器交互;  A method for obtaining media processing information, comprising the steps of: an application server interacting with a media resource server;
应用服务器从与媒体资源服务器交互的消息中获取媒体处理信息。  The application server obtains media processing information from messages that interact with the media resource server.
2、 如权利要求 1所述的获取媒体处理信息的方法, 其特征在于, 应用服务 器与媒体资源服务器通过 SIP方式交互, 则应用服务器向媒体资源服务器发送 订阅消息, 其中携带有订阅指定媒体流的媒体处理信息的指示, 并从媒体资源 服务器返回的消息中获取该媒体流的媒体处理信息。  The method for obtaining media processing information according to claim 1, wherein the application server interacts with the media resource server by means of SIP, and the application server sends a subscription message to the media resource server, where the subscription carries the specified media stream. The media processes the indication of the information, and obtains media processing information of the media stream from the message returned by the media resource server.
3、 如权利要求 2所述的获取媒体处理信息的方法, 其特征在于, 通过下述 方式发起订阅, 使媒体资源服务器确定被订阅的媒体流的媒体处理信息:  3. The method for obtaining media processing information according to claim 2, wherein the subscription is initiated by the media resource server to determine media processing information of the subscribed media stream:
应用服务器在媒体会话内发送订阅消息, 以订阅该媒体会话中媒体流的媒 体处理信息; 或者,  The application server sends a subscription message in the media session to subscribe to the media processing information of the media stream in the media session; or
应用服务器向媒体资源服务器发送的订阅消息中携带有媒体流的 Dialog标 识和媒体流在 SDP中的行序号, 以订阅该媒体流的媒体处理信息。  The subscription message sent by the application server to the media resource server carries the Dialog identifier of the media stream and the line number of the media stream in the SDP to subscribe to the media processing information of the media stream.
4、 如权利要求 3所述的获取媒体处理信息的方法, 其特征在于, 所述在媒 体会话内发送订阅消息的方式中, 所述订阅消息中携带有该媒体会话中媒体流 在 SDP中的行序号。  The method for obtaining media processing information according to claim 3, wherein, in the manner of sending a subscription message in the media session, the subscription message carries the media stream in the media session in the SDP. Line number.
5、 如权利要求 1所述的获取媒体处理信息的方法, 其特征在于, 应用服务 器与媒体资源服务器通过 SIP方式交互, 则应用服务器从媒体资源服务器通过 事件发布机制发布的消息中获取媒体处理信息。  The method for obtaining media processing information according to claim 1, wherein the application server interacts with the media resource server by means of SIP, and the application server obtains media processing information from the message issued by the media resource server through the event publishing mechanism. .
6、 如权利要求 1所述的获取媒体处理信息的方法, 其特征在于, 应用服务 器与媒体资源服务器通过 SIP方式交互, 则应用服务器从媒体资源服务器执行 媒体处理时根据处理逻辑主动上报的 SIP INFO消息中获取媒体处理信息。  The method for obtaining the media processing information according to claim 1, wherein the application server interacts with the media resource server through the SIP mode, and the application server actively reports the SIP INFO according to the processing logic when performing the media processing from the media resource server. Get media processing information in the message.
7、 如权利要求 6所述的获取媒体处理信息的方法, 其特征在于, 所述媒体 资源服务器执行媒体处理时根据处理逻辑主动上报 SIP INFO消息包括:  The method for obtaining media processing information according to claim 6, wherein the media resource server actively reports the SIP INFO message according to the processing logic when the media resource server performs the media processing, including:
当媒体资源服务器接收到用户的媒体流控制指令时, 所述媒体资源服务器 向应用服务器主动上报 SIP INFO消息, 所述 SIP INFO消息中携带相关的当前 媒体处理信息; When the media resource server receives the media flow control instruction of the user, the media resource server The SIP INFO message is actively reported to the application server, where the SIP INFO message carries relevant current media processing information;
当媒体流正常结束或媒体流中发生错误时, 所述媒体资源服务器向应用服 务器主动上报 SIP INFO消息, 所述 SIP INFO消息中携带相关的媒体处理信息。  When the media stream ends normally or an error occurs in the media stream, the media resource server actively reports a SIP INFO message to the application server, where the SIP INFO message carries relevant media processing information.
8、 如权利要求 1所述的获取媒体处理信息的方法, 其特征在于, 应用服务 器与媒体资源服务器通过媒体控制方式交互, 则应用服务器向媒体资源服务器 发出查询指定媒体流的媒体处理信息的查询消息, 并从媒体资源服务器返回的 消息中获取该媒体流的媒体处理信息。  The method for obtaining media processing information according to claim 1, wherein the application server and the media resource server interact through the media control mode, and the application server sends a query to the media resource server for querying the media processing information of the specified media stream. The message, and the media processing information of the media stream is obtained from the message returned by the media resource server.
9、 如权利要求 1所述的获取媒体处理信息的方法, 其特征在于, 应用服务 器与媒体资源服务器通过媒体控制方式交互, 则应用服务器向媒体资源服务器 发送订阅消息, 其中携带有指定媒体流的 SDP序号和订阅特定媒体处理信息的 指示, 并从媒体资源服务器返回的消息中获取该媒体流的媒体处理信息。  The method for obtaining media processing information according to claim 1, wherein the application server and the media resource server interact through the media control mode, and the application server sends a subscription message to the media resource server, where the specified media stream is carried. The SDP sequence number and an indication of subscribing to the specific media processing information, and obtaining media processing information of the media stream from the message returned by the media resource server.
10、 如权利要求 1 所述的获取媒体处理信息的方法, 其特征在于, 应用服 务器与媒体资源服务器通过媒体控制方式交互, 则应用服务器从媒体资源服务 器执行媒体处理时根据处理逻辑主动上报的消息中获取媒体处理信息。  The method for obtaining the media processing information according to claim 1, wherein the application server interacts with the media resource server through the media control mode, and the application server actively reports the message according to the processing logic when the media resource server performs the media processing. Get media processing information.
11、 如权利要求 1至 10任一项所述的获取媒体处理信息的方法, 其特征在 于, 所述媒体处理信息为媒体处理的状态信息。  The method for obtaining media processing information according to any one of claims 1 to 10, wherein the media processing information is status information of media processing.
12、 如权利要求 6、 7或 9所述的获取媒体处理信息的方法, 其特征在于, 所述媒体处理信息为发生了相关事件的指示信息。  The method for obtaining media processing information according to claim 6, 7 or 9, wherein the media processing information is indication information that a related event has occurred.
13、 一种应用服务器, 其特征在于, 包括:  13. An application server, comprising:
接收单元, 用于接收媒体资源服务器发来的消息;  a receiving unit, configured to receive a message sent by a media resource server;
获知单元, 用于从接收单元收到的消息中获取媒体处理信息。  The learning unit is configured to obtain media processing information from the message received by the receiving unit.
14、如权利要求 13所述的应用服务器, 其特征在于, 所述接收单元中包括: 第一接收子单元, 用于通过 SIP方式接收媒体资源服务器发来的 SIP消息; 或者,  The application server according to claim 13, wherein the receiving unit includes: a first receiving subunit, configured to receive, by using a SIP mode, a SIP message sent by a media resource server; or
第二接收子单元, 用于通过媒体控制方式接收媒体资源服务器发来的媒体 控制消息。 a second receiving subunit, configured to receive media sent by the media resource server by using a media control manner Control messages.
15、 如权利要求 14所述的应用服务器, 其特征在于, 所述接收单元中包括 第一接收子单元, 则所述应用服务器还包括: 第一订阅单元, 用于向媒体资源 服务器发送订阅消息, 其中携带有订阅指定媒体流的媒体处理信息的指示。  The application server according to claim 14, wherein the receiving unit includes a first receiving subunit, and the application server further includes: a first subscribing unit, configured to send a subscription message to the media resource server. , carrying an indication of media processing information subscribed to the specified media stream.
16、 如权利要求 14所述的应用服务器, 其特征在于, 所述接收单元中包括 第二接收子单元, 则所述应用服务器还包括: 查询单元, 用于向媒体资源服务 器发出查询指定媒体流的媒体处理信息的查询消息。  The application server according to claim 14, wherein the receiving unit includes a second receiving subunit, and the application server further includes: a query unit, configured to send a query to the media resource server to specify the media stream. The media handles the query information for the information.
17、 如权利要求 14所述的应用服务器, 其特征在于, 所述接收单元中包括 第二接收子单元, 则所述应用服务器还包括: 第二订阅单元, 用于向媒体资源 服务器发送订阅消息, 其中携带有指定媒体流的 SDP序号和订阅特定媒体处理 信息的指示。  The application server according to claim 14, wherein the receiving unit includes a second receiving subunit, and the application server further includes: a second subscribing unit, configured to send a subscription message to the media resource server. And carrying an SDP sequence number of the specified media stream and an indication of subscribing to the specific media processing information.
18、 一种媒体资源服务器, 其特征在于, 包括:  18. A media resource server, comprising:
添加单元, 用于在待发送的消息中携带媒体处理信息;  An adding unit, configured to carry media processing information in the message to be sent;
发送单元, 用于向应用服务器发送该消息。  a sending unit, configured to send the message to an application server.
19、 如权利要求 18所述的媒体资源服务器, 其特征在于, 所述发送单元中 包括:  The media resource server according to claim 18, wherein the sending unit includes:
第一发送子单元,用于通过 SIP方式向应用服务器发送 SIP格式的所述消息; 或者,  a first sending subunit, configured to send the message in a SIP format to an application server by using a SIP method; or
第二发送子单元, 用于通过媒体控制方式向应用服务器发送媒体控制类型 的所述消息。  And a second sending subunit, configured to send the message of the media control type to the application server by using a media control manner.
20、 如权利要求 19所述的媒体资源服务器, 其特征在于, 所述发送单元中 包括第一发送子单元, 则所述媒体资源服务器还包括:  The media resource server according to claim 19, wherein the sending unit includes a first sending subunit, and the media resource server further includes:
第一接收单元, 用于接收应用服务器发来的订阅消息;  a first receiving unit, configured to receive a subscription message sent by an application server;
第一订阅执行单元, 用于根据所述订阅消息中的指示完成订阅, 并根据订 阅关系指示添加单元在待发送的消息中应携带的媒体处理信息。  And a first subscription execution unit, configured to complete the subscription according to the indication in the subscription message, and instruct, according to the subscription relationship, the media processing information that the adding unit should carry in the message to be sent.
21、 如权利要求 19所述的媒体资源服务器, 其特征在于, 所述发送单元中 包括第一发送子单元, 则所述媒体资源服务器还包括: The media resource server according to claim 19, wherein: in the sending unit Including the first sending subunit, the media resource server further includes:
事件发布单元, 用于确定待发布的媒体处理信息, 并指示添加单元在待发 送的消息中携带该媒体处理信息。  The event issuing unit is configured to determine media processing information to be advertised, and instruct the adding unit to carry the media processing information in the message to be sent.
22、 如权利要求 19所述的媒体资源服务器, 其特征在于, 所述发送单元中 包括第一发送子单元, 则所述媒体资源服务器还包括:  The media resource server according to claim 19, wherein the sending unit includes a first sending subunit, and the media resource server further includes:
第一上报单元, 用于根据处理逻辑确定待上报的媒体处理信息, 并指示添 加单元在待发送的 SIP INFO消息中携带该媒体处理信息。  The first reporting unit is configured to determine the media processing information to be reported according to the processing logic, and instruct the adding unit to carry the media processing information in the SIP INFO message to be sent.
23、 如权利要求 19所述的媒体资源服务器, 其特征在于, 所述发送单元中 包括第二发送子单元, 则所述媒体资源服务器还包括:  The media resource server according to claim 19, wherein the sending unit includes a second sending subunit, and the media resource server further includes:
第二接收单元, 用于接收应用服务器发来的查询消息;  a second receiving unit, configured to receive a query message sent by the application server;
查询执行单元, 用于根据所述查询消息中的指示查询媒体处理信息, 并指 示添加单元在待发送的消息中携带该媒体处理信息。  The query execution unit is configured to query the media processing information according to the indication in the query message, and instruct the adding unit to carry the media processing information in the message to be sent.
24、 如权利要求 19所述的媒体资源服务器, 其特征在于, 所述发送单元中 包括第二发送子单元, 则所述媒体资源服务器还包括:  The media resource server according to claim 19, wherein the sending unit includes a second sending subunit, and the media resource server further includes:
第三接收单元, 用于接收应用服务器发来的订阅消息;  a third receiving unit, configured to receive a subscription message sent by the application server;
第二订阅执行单元, 用于根据所述订阅消息中的指示完成订阅, 并根据订 阅关系指示添加单元在待发送的消息中应携带的媒体处理信息。  And a second subscription execution unit, configured to complete the subscription according to the indication in the subscription message, and instruct, according to the subscription relationship, the media processing information that the adding unit should carry in the message to be sent.
25、 如权利要求 19所述的媒体资源服务器, 其特征在于, 所述发送单元中 包括第二发送子单元, 则所述媒体资源服务器还包括:  The media resource server according to claim 19, wherein the sending unit includes a second sending subunit, and the media resource server further includes:
第二上报单元, 用于根据处理逻辑确定待上报的媒体处理信息, 并指示添 加单元在待发送的消息中携带该媒体处理信息。  The second reporting unit is configured to determine the media processing information to be reported according to the processing logic, and instruct the adding unit to carry the media processing information in the message to be sent.
26、 一种获取媒体处理信息的系统, 其特征在于, 包括: 存在消息交互关 系的应用服务器和媒体资源服务器;  26. A system for obtaining media processing information, comprising: an application server and a media resource server having a message interaction relationship;
媒体资源服务器 , 用于发送携带有媒体处理信息的消息; 应用服务器, 用于从媒体资源服务器发来的消息中获取媒体处理信息。  a media resource server, configured to send a message carrying media processing information; and an application server, configured to obtain media processing information from a message sent by the media resource server.
PCT/CN2008/072226 2007-09-14 2008-09-01 A method, an apparatus and a system for obtaining media processing information WO2009043254A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200710145492 CN101388783B (en) 2007-09-14 2007-09-14 Method, device and system for acquiring media process information
CN200710145492.3 2007-09-14

Publications (1)

Publication Number Publication Date
WO2009043254A1 true WO2009043254A1 (en) 2009-04-09

Family

ID=40477979

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072226 WO2009043254A1 (en) 2007-09-14 2008-09-01 A method, an apparatus and a system for obtaining media processing information

Country Status (2)

Country Link
CN (1) CN101388783B (en)
WO (1) WO2009043254A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030121054A1 (en) * 2001-12-26 2003-06-26 Digeo, Inc. Display for a client terminal for an interactive video casting system
JP2005020508A (en) * 2003-06-27 2005-01-20 Matsushita Electric Ind Co Ltd Device operation system
CN1859394A (en) * 2006-01-11 2006-11-08 华为技术有限公司 Method for interacting medium server in SIP communication network
CN1859563A (en) * 2006-02-23 2006-11-08 华为技术有限公司 Informing system, device and method for network TV news

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030121054A1 (en) * 2001-12-26 2003-06-26 Digeo, Inc. Display for a client terminal for an interactive video casting system
JP2005020508A (en) * 2003-06-27 2005-01-20 Matsushita Electric Ind Co Ltd Device operation system
CN1859394A (en) * 2006-01-11 2006-11-08 华为技术有限公司 Method for interacting medium server in SIP communication network
CN1859563A (en) * 2006-02-23 2006-11-08 华为技术有限公司 Informing system, device and method for network TV news

Also Published As

Publication number Publication date
CN101388783B (en) 2012-12-12
CN101388783A (en) 2009-03-18

Similar Documents

Publication Publication Date Title
EP2241078B1 (en) Method and internet protocol television (iptv) content manager server for iptv servicing
CN101573943B (en) Media channel management
EP2005750B1 (en) Time-shifting and chase-play for an iptv system
EP2225866B1 (en) Method and system for transmitting a multimedia stream
CA2610515C (en) Multimedia subsystem control for internet protocol based television services
JP4927879B2 (en) IMS-compatible control channel for IPTV
CN102037703B (en) Method and apparatus for switching between IP television channels in IPTV communication network
EP2175591B1 (en) A method, a system, a device and a computer program readable medium for realizing the services of network televison
EP2071838A1 (en) A system, device and method of suppoting ims terminals to share iptv services
CN101467419B (en) System for accessing an IP television service in an ims architecture network
US8326942B2 (en) IP unicast streaming service delivery
JP5436577B2 (en) Managing associated sessions in the network
WO2009024092A1 (en) Method and system for controlling the authorization of service resource
CN102577304A (en) Dynamic rtcp relay
WO2009143743A1 (en) A method, system for playing media and a play proxy device
WO2009030133A1 (en) A method, system and entity for realizing picture-in-picture video
US20090228939A1 (en) Time-shift tv service establishment method and time-shift tv media function entity
WO2009026813A1 (en) A method, a system and an entity for realizing network recording
WO2008037219A1 (en) Method and system of realizing internet protocol television service
WO2009132564A1 (en) Play controlling method, device and system
CN101360222B (en) IPTV program generating method and system based on next generation network
WO2009043254A1 (en) A method, an apparatus and a system for obtaining media processing information
JP2009245270A (en) Image distribution system and image distribution method
CN101360095A (en) Method, apparatus and system providing television service in session initial protocol network
Al-Hezmi et al. Evolving the Convergence of Telecommunication and TV Services over NGN

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

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

Country of ref document: EP

Kind code of ref document: A1