WO2009030171A1 - Media service implementing method and communication system and associated devices - Google Patents

Media service implementing method and communication system and associated devices Download PDF

Info

Publication number
WO2009030171A1
WO2009030171A1 PCT/CN2008/072217 CN2008072217W WO2009030171A1 WO 2009030171 A1 WO2009030171 A1 WO 2009030171A1 CN 2008072217 W CN2008072217 W CN 2008072217W WO 2009030171 A1 WO2009030171 A1 WO 2009030171A1
Authority
WO
WIPO (PCT)
Prior art keywords
media
media service
mrs
mrc
message
Prior art date
Application number
PCT/CN2008/072217
Other languages
French (fr)
Chinese (zh)
Inventor
Xiao Wang
Yuxia Zhang
Peili Xu
Xiaosong Lei
Original Assignee
Huawei Technologies Co, .Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co, .Ltd. filed Critical Huawei Technologies Co, .Ltd.
Publication of WO2009030171A1 publication Critical patent/WO2009030171A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a media service implementation method, a communication system, and related devices. Background technique
  • a method for implementing a media service is provided in the prior art, specifically: a media resource broker (MRB, Media Resource Broker) applied to media service control is defined in the prior art, and an application server in the media service system is solved.
  • MRB Media Resource Broker
  • the embodiments of the present invention provide a media service implementation method, a communication system, and related devices, which can combine different media services to meet the requirements of the media service.
  • the media service implementation method provided by the embodiment of the present invention includes: a media resource client After the media control channel is established between the MRC and the media resource server MRS, the combined function entity combines the media service control messages sent by the MRC; the combined function entity passes the combined media service control message through the media control channel. Transmitted to the MRS, the combined media service control message is used to instruct the MRS to provide a media service required by the MRC according to the combined media service control message.
  • the communication system includes: an MRC, configured to send a media service control message, and establish a media control channel; an MRS, configured to establish a media control channel with the MRC, and provide a media service according to the media service control message; And a method for combining the media service control message, providing a media service control message to the MRS, receiving a feedback result of the MRS on the combined media service control message, and sending the feedback result to the MRC.
  • the combined function entity includes: a channel establishing unit, configured to establish a media control channel for transmitting a media service control message; and a control message processing unit, configured to parse, execute, and construct the received media service control message.
  • a receiving unit configured to receive a feedback result of the combined media service control message by the MRS
  • a sending unit configured to send the combined media service control message to the MRS according to a result of the execution of the media service control message by the control message processing unit, Send MRS feedback results to the MRC.
  • the media resource client includes: a request message generating unit, configured to generate a media service request message; a control message generating unit, configured to generate a media service control message; and a control channel establishing unit, configured to establish a medium with the MRS a control function unit, configured to combine the media service control messages generated by the control message generating unit, and send the combined media service control message to the MRS through the media control channel established by the control channel establishing unit, and receive the MRS feedback message.
  • the MRB provided by the embodiment of the present invention includes: a request message receiving unit, configured to receive a media service request message sent by the MRC, and a query unit, configured to specify, according to the media service request message sent by the MRC, an MRS that provides the media service; Establishing a unit, configured to establish a media control channel with the specified MRS; The energy unit is configured to receive the media service control message sent by the MRC, combine the media service control message, and send the combined media service control message to the MRS through the media control channel established by the control channel establishing unit, and receive the feedback of the MRS. The message forwards the feedback message of the MRS to the MRC.
  • the embodiments of the present invention have the following advantages:
  • the combined function entity performs combined control on the media service provided by the MRS through the media control channel, that is, the media service control message sent by the MRC is combined. Therefore, MRS can provide a variety of media service services to MRC according to the requirements of MRC, thus meeting the needs of media services.
  • FIG. 1 is a schematic diagram of a first embodiment of a communication system according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a second embodiment of a communication system according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a third embodiment of a communication system according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an embodiment of a combined functional entity according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a first embodiment of a method for implementing a media service according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a second embodiment of a method for implementing a media service according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of an embodiment of a media resource client according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of an embodiment of an MRB according to an embodiment of the present invention.
  • the embodiments of the present invention provide a media service implementation method, a communication system, and related devices, which can combine different media services to meet the requirements of the media service.
  • the combined function entity is used to perform combined control on the media service provided by the MRS, and the media service control message sent by the media resource client (MRC, Media Resource Client) controls the media service provided by the MRS, so that MRS can provide a variety of media services to MRC according to MRC requirements to meet the needs of media services.
  • MRC Media Resource Client
  • the combined functional entity is located in the MRC:
  • a first embodiment of a communication system in an embodiment of the present invention includes: a media resource client 101, configured to send a media service request message, send a media service control message to the combined function entity 104, and establish a media control channel;
  • the MRB 102 is configured to receive a media service request message sent by the media resource client 101, specify a media resource server 103 according to the required media service, and establish a signaling interaction.
  • the media resource server 103 is configured to establish media control with the media resource client 101. Channel, providing media services;
  • the combined function entity 104 is configured to receive and combine the media service control message sent by the media resource client 101, provide the media service control message to the media resource server 103, and receive feedback from the media resource server 103 on the combined media service control message. As a result, the feedback result is sent to the media resource client 101.
  • the combined function entity 104 is located in the media resource client 101, and the specific operation process is:
  • the media resource client 101 sends a media service request message, the MRB 102 determines the required media resource service, specifies the media resource server 103 that provides the required resource service, and the MRB interacts with the specified media resource server 103 to initiate a session initiation protocol (SIP, Session). Initialization Protocol).
  • SIP session initiation protocol
  • the MRB 102 establishes a media session SIP signaling channel with the media resource client 101, and also establishes a media session SIP signaling channel with a plurality of media resource servers 103.
  • the media resource client 101 establishes a media control channel with the plurality of media resource servers 103 according to the Session Description Protocol (SDP).
  • SDP Session Description Protocol
  • the combined function entity 104 included in the media resource client 101 can deliver media service control messages to the plurality of media resource servers 103 through the media control channel, and the media resource servers 103 provide media services to the media resource client 101.
  • the combined functional entity is located in the MRB:
  • a second embodiment of a communication system in an embodiment of the present invention includes: a media resource client 201, configured to send a media service request message, send a media service control message, and establish a media control channel;
  • the MRB 202 is configured to receive a media service request message sent by the media resource client 201, determine a service required by the media resource client 201 according to the media service request message, specify the media resource server 203, and establish a signaling interaction;
  • a media resource server 203 configured to establish a media control channel with the media resource client 201 and the MRB 202;
  • the combined function entity 204 is configured to receive and combine the media service control message sent by the media resource client 201, send the combined media service control message to the media resource server 203, and receive the media resource server 203 to control the combined media service.
  • the feedback result of the message is sent to the media resource client 201.
  • the combined functional entity 204 is located in the MRB 202, and the specific operation process is:
  • the MRB 202 establishes a media session SIP signaling channel with the media resource client 201 and the plurality of media resource servers 203, respectively, and the MRB 202 also establishes a media control channel with the media resource client 201 and the plurality of media resource servers 203.
  • the media resource client 201 sends a media service request message
  • the MRB 202 receives the request message, parses the media service request message, specifies the media resource server that provides the required resource service, and the MRB 202 interacts with the designated media resource server 203 for SIP signaling.
  • the media resource client 201 sends a media service control message, and the combined function entity 204 in the MRB 202 delivers a media service control message to the plurality of media resource servers 203, and the media resource server 203 provides the media service to the media resource client 201. .
  • a third embodiment of the communication system in the embodiment of the present invention includes: a media resource client 301, configured to send a media service request message, send a media service control message, and establish a media control channel;
  • the MRB 302 is configured to receive a media service request message sent by the media resource client 301.
  • a media resource server 303 for use with the media resource client 301 and the MRB 302 Establish a media control channel between them;
  • the combined function entity 304 is configured to receive and combine the media service control message sent by the media resource client 301, send the combined media service control message to the media resource server 303, and receive the media resource server 303 to control the combined media service.
  • the feedback result of the message is sent to the media resource client 301.
  • the combined functional entity 304 exists independently, and the specific operational flow is:
  • the MRB 302 establishes a media session SIP signaling channel with the media resource client 301 and the plurality of media resource servers 303.
  • the combined function entity 304 establishes a media control channel with the media resource client 301 and the plurality of media resource servers 303 under the control of the MRB 302. After the channel is established, the media resource client 301 sends a media service control message, and the combined function entity 304 delivers the media service control message to the plurality of media resource servers 303, and the media resource server 303 provides the media resource client 301 with the media service.
  • the embodiment of the combined functional entity in the embodiment of the present invention includes:
  • a channel establishing unit 401 configured to establish a media control channel for transmitting a media service control message
  • Control message processing unit 402 configured to parse, execute, and construct the received media service control message
  • the receiving unit 403 is configured to receive, by the MRS, a feedback result of the combined media service control message
  • the sending unit 404 is configured to send the combined media service control message to the MRS according to the result of the execution of the media service control message by the control message processing unit, and send the MRS feedback result to the MRC.
  • the sending unit 404 includes at least one of the following units:
  • the message sending unit 4041 if the control message processing unit 402 constructs the received media service control message to obtain a new media service control message, the message sending unit 4041 is configured to send the reconstructed media service control message to the MRS;
  • the command sending unit 4042 if the control message processing unit 402 performs the received media service control message to obtain the media service control command, the command sending unit 4042 is configured to send, to the MRS, a media service control command generated after the control message processing unit executes the media service control message.
  • the media client is required to request a "voice text message" service, which includes media playback service processing and media recording service processing, according to service requirements.
  • the client performs media control on both media service processing. It is also classified according to the location of the combined functional entities, which can be divided into the following three categories:
  • a first embodiment of a method for implementing a media service according to an embodiment of the present invention includes: 501.
  • An MRC requests a media service from an MRB.
  • the request message INVITE carries an SDP offer, and the SDP offer describes a media capability attribute of the user terminal (for example, "2 MS-line", which represents two media popular) and a property of the media resource client to establish a media control channel (for example, " 1 MCc-line", representing a media control line).
  • a media capability attribute of the user terminal for example, "2 MS-line”, which represents two media popular
  • a property of the media resource client to establish a media control channel for example, " 1 MCc-line", representing a media control line.
  • an example of a media attribute message in an SDP offer is as follows:
  • the label line in the message identifies the corresponding media stream, where the media control line can be associated with or not.
  • the MRB queries the corresponding media service request message sent by the MRC.
  • MRS serves MRC;
  • the MRB sends an invitation message to the corresponding MRS
  • the MRB receives the media service request, parses the media service request, and specifies the MRS1 and MRS2 that provide the required services (playing service and recording service), and then sends a service request to the two servers respectively.
  • the request includes the SDP offer, and the MRB reconstructs the received SDP offer, which includes the playback media capability attribute and the recording medium capability attribute supported by the user terminal and the corresponding media control attribute allocated by the MRB.
  • the SDP offer media attribute message instances in this step are as follows:
  • MRS1 and MRS2 receive the service request and allocate media stream resources and media control resources to the requested service, and reply to the requested response message, including SDP answer.
  • the SDP answer describes the media stream capability attributes and media control attributes provided by the MRS.
  • the response message replied by MRS1 and MRS2 is SDP answer medium.
  • the body attribute message instance descriptions are as follows:
  • the MRB After receiving the response messages from the two resource servers, the MRB responds to the MRC with a response message and constructs a new SDP answer to be included in the response message.
  • the SDP answer describes the media capability attributes provided by the two resource servers and the media control attributes assigned by the MRB.
  • the MRC feeds back an acknowledgement message to the MRB, and the MRB sends a confirmation message to the corresponding MRS.
  • the media resource client may send a media service control message to control the media resource server to provide the media service.
  • the initial establishment process of the media service combination specifically includes: the MRC sends a media service request message, where the request message includes an SDP message that the service system establishes a media stream channel connection, and may also include an SDP that establishes a media control channel connection by the service system.
  • the message, the MRB receives and parses the media service request message, specifies the media resource server MRS that provides the service, and establishes a SIP Dialog with each of the MRSs, interacts with the media service request message, performs media capability negotiation, and completes the media capability negotiation, meaning that the media stream channel With the establishment of the media control channel, the initial establishment of the media service composition is completed.
  • the negotiation of media capabilities may involve multiple SIP and SDP interactions, and the establishment of media stream channels and media control channels is not chronological.
  • the MRC establishes a media service control relationship with several MRSs through the combined function entity in the MRB, performs media service control on several MRSs through the combined function entity in the MRB, and several MRSs provide media services.
  • the specific process includes:
  • the MRC sends a media service control message, which may carry the entire media service control script message.
  • the combined function entity in the MRB parses the message to perform the corresponding operation.
  • the control message contains a service control script or script location indication information
  • the combined functional entity in the MRB obtains the script from the Resource Server; when the message includes the script execution engine indication, the combined functional entity in the MRB will be from the Resource Server. Get the script execution engine on.
  • the MRB receives the media service control message of the MRC, and learns from the content carried in the message that the MRS needs to provide the media service. These MRSs are the MRSs previously specified by the media service request message sent by the MRC.
  • the combined function entity in the MRB can execute the script and deliver the media service command to the MRS that provides the corresponding media service; the combined function entity in the MRB can also execute the script and reconstruct The media service control script processed by the corresponding media service sends a corresponding media service control message to the MRS providing the corresponding service.
  • the MRC sends a "voice message service” media service control message to the MRB: wherein the media service control message carries a "voice message service” media service script message.
  • the script message may contain:
  • the indication includes the playback section program and the recording section program, indicating the relationship between the playback section program and the recording section program, indicating the playback section program and the recording section program execution timing.
  • Describe the properties of the playback script such as playback elements, playback resources, playback time, playback events, etc., and may also include programs that transition from playback to recording.
  • Describe the relevant properties of the recording script such as recording elements, recording events, recording save locations, and more.
  • the MRB receives the media service control message, parses the message, and sends a media service control message to the MRS:
  • the MRB receives the media service control message including the script, and the processing of the specific MRB includes:
  • MRB splits the original script and reconstructs it according to the media control protocol it supports a separate playback script and a separate recording script
  • the MRB first sends a media service control message containing the playback script to the playback resource server according to the original script, and performs proxy control by the MRC;
  • the MRB sends a media service control message containing the recording script to the recording resource server according to the original script, and acts as a proxy for the MRC.
  • the MRB Proxy MRC performs service control, which will deliver media service processing messages to the MRC.
  • the media service composition system can add new media resource services according to the media service requirements. This dynamic increase in media resource services consists of two situations:
  • the REINVITE message is sent to the MRB to request a renegotiation with the MRB, where the REINVITE message includes the modified content of the SDP, including the media stream attribute modification and the media control attribute modification in the SDP.
  • the MRB determines, according to the received REINVITE message, that the currently connected MRS cannot satisfy the media resource service requirement, and specifies a new MRS that can meet the media resource service requirement;
  • the media control channel between the MRB and the MRC and between the MRB and each MRS is re-established according to the renegotiation result.
  • the REINVITE message is sent to the MRB to request a renegotiation with the MRB, where the REINVITE message includes the modified content of the SDP, including the media stream attribute modification and the media control attribute modification in the SDP.
  • the MRB specifies, according to the received REINVITE message, an MRS in the currently connected MRS that can satisfy the resource service requirement;
  • the media control channel between the MRB and the MRC and between the MRB and each MRS is re-established according to the renegotiation result.
  • the media service composition system can delete or reduce the media resource service in the combination according to the media service requirements. There are also two situations:
  • the media service combination can modify the attributes provided by the existing media resource service, such as changing the media stream attribute between the MRS and the user terminal UE, and the media control attribute between the MRS and the uplink client.
  • Message processing is also done by REINVITE requesting renegotiation of media attributes.
  • the combined functional entity is located in the MRC:
  • a second embodiment of a method for implementing a media service includes: 601.
  • An MRC requests a media service from an MRB.
  • the request message carries the SDP offer, and the SDP offer describes the media capability attribute of the user terminal (for example, "2 MS-line", representing two media popular).
  • an example of a media attribute message in an SDP offer is as follows:
  • the MRB queries, according to the media service request message sent by the MRC, that the corresponding MRS is an MRC service.
  • the MRB sends an invitation message to the corresponding MRS
  • the MRB receives the media service request, specifies MRS1 and MRS2 that provide the required services (playing service and recording service), and sends service requests to the two servers respectively.
  • the request contains the SDP offer, which includes the playback media capability attribute and the recording media capability attribute supported by the user terminal.
  • an SDP offer media attribute message instance is described as follows:
  • MRS1 and MRS2 receive the service request and allocate media stream resources and media control resources to the requested service, and reply to the requested response message, including SDP answer.
  • the SDP answer describes the media stream capability attributes and media control attributes provided by the MRS.
  • the MRB After receiving the response messages from the two resource servers, the MRB responds to the MRC with a response message and constructs a new SDP answer to be included in the response message.
  • the SDP answer describes the media capability attributes provided by the two resource servers and the media control attributes assigned by the MRB.
  • the MRC feeds back an acknowledgement message to the MRB, and the MRB sends a confirmation message to the corresponding MRS;
  • the MRC After receiving the response message, the MRC checks whether the "c" line in the SDP answer message body is the same. If the same client knows that the two media resources are from different servers, it is from the same server. When originating from different servers, the MRC sends a new media service request REINVITE, the request message carries an SDP offer, describes the media capability attributes of the user terminal (for example, "2 MS-line"), and the media resource client establishes a media control channel. Attributes (for example "2 MCc-line” for a media control line). When the result of the check is from the same server, there will only be "1 MCc-line".
  • SDP offer media attribute message is as follows:
  • label and label lines in the message represent the corresponding media pop and media control lines, respectively, and the numbers in “label” and “Clabel” are the same, indicating that the media stream is associated with the corresponding media control channel.
  • the MRB sends a re-invitation message to the corresponding MRS;
  • the MRB receives the media service request, and sends a service request to the previous two resource servers, where the request includes the SDP offer, and the playback media capability attribute and the recording media capability attribute and the corresponding media control attribute supported by the user terminal respectively.
  • the media attribute message instances are respectively as follows:
  • MRS1 and MRS2 respond to service requests, and the MRS not only allocates media stream resources for the requested service (which may be previously allocated) but also allocates media control resources.
  • media attribute message instances in the SDP answer are described as follows:
  • the MRB After receiving the response message from the two resource servers again, the MRB responds to the MRC with a response message and constructs a new SDP answer contained in the response message.
  • the media attribute message instance in the SDP answer is described as follows:
  • the MRC feeds back an acknowledgement message to the MRB, and the MRB sends a confirmation message to the corresponding MRS.
  • the media resource client may send a media service control message to control the media resource server to provide the media service.
  • the initial establishment process of the media service combination specifically includes: the MRC sends a media service request message, where the request message includes an SDP message that the service system establishes a media stream channel connection, and may also include an SDP that establishes a media control channel connection by the service system.
  • the message, the MRB receives and parses the media service request message, specifies the media resource server MRS that provides the service, and establishes a SIP Dialog with each of the MRSs, interacts with the media service request message, performs media capability negotiation, and completes the media capability negotiation, meaning that the media stream channel With the establishment of the media control channel, the initial establishment of the media service composition is completed.
  • the negotiation of media capabilities may involve multiple SIP and SDP interactions, and the establishment of media stream channels and media control channels is not chronological.
  • the combined functional entity in the MRC establishes a media service control relationship with several MRSs, performs media service control on several MRSs, and provides several media services to the MRS.
  • the key processes in this process include:
  • the MRC sends media service control messages to several MRSs.
  • the control message may carry a media service processing script message or command information.
  • the combined function entity in the MRC needs to distinguish the meaning of the media service processing script processed by each MRS, the association relationship between each media service processing script, and the associated association. The timing at which different media services process script messages are executed.
  • a third embodiment of a method for implementing a media service includes: 701.
  • An MRC sends an INVITE message to a MRB to request a voice video media service.
  • 702. Query an MRS that provides a service for the MRC.
  • the MRB receives the INVITE message sent by the MRC, queries the local media service resources, and decides to provide services for the MRC by MRS1 (providing voice service) and MRS2 (providing video service).
  • MRS1 providing voice service
  • MRS2 providing video service
  • MRB constructs a new INVITE message to send to MRS1 and MRS2, receives the returned 200 OK, and sends an ACK confirmation message, and MRB establishes SIP Dialog 1 and SIP Dialog 2 with MRS1 and MRS2 respectively;
  • the MRB constructs a new SDP according to the SDP carried in the 200 OK returned by the MRS1 and the MRS2, sends the ACK to the MRC through the 200 OK, receives the ACK returned by the MRC, and establishes the SIP Dialog 3 with the MRC;
  • the MRB acts as a control node and sends an INVITE to the combined functional entity.
  • Information through the SDP request to establish three media control channels (MRC and combined functional entities, MRS1 and combined functional entities, MRS2 and combined functional entities), and carry the association relationship of three control channels in the INVITE message; MRB and combined functional entities Establish SIP Dialog 4;
  • the MRB sends a relNVITE message to the MRC, and negotiates to establish a control channel between the MRC and the combined functional entity Media Control Channel 1;
  • MRB sends relNVITE messages to MRS1 and MRS2 respectively, and negotiates the control channels Media Control Channel 2 and Media Control Channel 3 between MRS1 and MRS2 and the combined functional entities.
  • the media resource client may send a media service control message to control the media resource server to provide the media service.
  • the initial establishment process of the media service combination specifically includes: the MRC sends a media service request message, where the request message includes an SDP message that the service system establishes a media stream channel connection, and may also include an SDP that establishes a media control channel connection by the service system.
  • the message, the MRB receives and parses the media service request message, specifies the media resource server MRS that provides the service, and establishes a SIP Dialog with each of the MRSs, interacts with the media service request message, performs media capability negotiation, and completes the media capability negotiation, meaning that the media stream channel With the establishment of the media control channel, the initial establishment of the media service composition is completed.
  • the negotiation of media capabilities may involve multiple SIP and SDP interactions, and the establishment of media stream channels and media control channels is not chronological.
  • the process of processing the media service control message is similar to the process in the first embodiment, and details are not described herein again.
  • the combined function entity controls the media service provided by the MRS through the media control channel, so that the MRS can provide multiple media services to the MRC according to the requirements of the MRC, that is, the combined functional entity pairs
  • the media services provided by MRS are combined and controlled to meet the needs of the media business.
  • the MRC and MRB in the above embodiment are separately described below, please refer to 8, the MRC embodiment in the embodiment of the present invention includes:
  • a request message generating unit 801 configured to generate a media service request message
  • control message generating unit 802 configured to generate a media service control message
  • the control channel establishing unit 803 is configured to establish a media control channel with the MRS
  • the combining function unit 804 is configured to combine the media service control messages generated by the control message generating unit, and establish the combined media service control message by using the control channel establishing unit.
  • the media control channel is sent to the MRS to receive the MRS feedback message.
  • the MRB embodiment in the embodiment of the present invention includes:
  • a request message receiving unit 901 configured to receive a media service request message sent by the MRC
  • the query unit 902 is configured to specify, according to the media service request message sent by the MRC, an MRS that provides the media service;
  • a second control channel establishing unit 903, configured to establish a media control channel with the specified MRS
  • the second combination function unit 904 is configured to receive a media service control message sent by the MRC, combine the media service control message, and send the combined media service control message to the MRS by using a media control channel established by the control channel establishing unit. Receiving a feedback message of the MRS, and forwarding the feedback message of the MRS to the MRC.
  • the method includes the following steps: after establishing a media control channel between the media resource client MRC and the media resource server MRS,
  • the combined functional entity combines the media service control messages sent by the MRC; the combined functional entity transmits the combined media service control message to the MRS through the media control channel, the combined media service control message And used to instruct the MRS to provide a media service required by the MRC according to the combined media service control message.
  • the invention can be implemented by hardware, or can be realized by means of software plus necessary general hardware platform.
  • the technical solution of the present invention can be embodied in the form of a software product, and the software product can be stored in a non-easy
  • the cryptographic storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform various embodiments of the present invention. The method described.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A media service implementing method and a communication system and associated devices can combine many different media services in order to satisfy the needs of the media service. Wherein, the method comprises: after a control channel is built between a media resource client end MRC (301) and a media resource server MRS (303), a combination function entity (304) assembles the media service control message sent from MRC (301); the combination function entity (304) transfers the assembled media service control message to the MRS (303) through the media control channel, and the assembled media service control message is used for indicating the MRS (303) to provide media services which the MRC (301) needed to the MRC (301) according to the assembled media service control message.

Description

媒体业务实现方法及通讯系统以及相关设备 本申请要求于 2007 年 8 月 31 日提交中国专利局、 申请号为 200710145739.1、 发明名称为 "媒体业务实现方法及通讯系统以及相 关设备"的中国专利申请的优先权, 其全部内容通过引用结合在本申 请中。 技术领域  Media service implementation method and communication system and related equipment The present application claims to be filed on August 31, 2007 by the Chinese Patent Office, the application number is 200710145739.1, and the invention name is "Media Business Implementation Method and Communication System and Related Equipment" Priority is hereby incorporated by reference in its entirety. Technical field
本发明涉及通讯技术领域,尤其涉及一种媒体业务实现方法及通 讯系统以及相关设备。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a media service implementation method, a communication system, and related devices. Background technique
现有技术中提出了一种媒体业务实现方法, 具体为: 现有技术中 定义了一种应用于媒体服务控制中的媒体资源 Broker ( MRB, Media Resource Broker ), 解决媒体服务系统中应用服务器与媒体服务器一 对多和多对多的情形下对具有媒体服务能力的媒体资源服务器信息 的收集以及向媒体资源客户端提供合适的媒体资源服务器信息的问 题。  A method for implementing a media service is provided in the prior art, specifically: a media resource broker (MRB, Media Resource Broker) applied to media service control is defined in the prior art, and an application server in the media service system is solved. The problem of the media server's collection of media resource server information with media service capabilities and the provision of appropriate media resource server information to the media resource client in a one-to-many and many-to-many scenario.
发明人在实现本发明的过程中, 发现现有技术存在的不足在于: 在实际的应用中,有时会需要在一个媒体业务中同时应用多种媒 体服务, 即由多个媒体资源服务器( MRS, Media Resource Server ) 同时提供不同的媒体服务,现有技术尚没有揭示这种情况下的媒体业 务实现方法。 发明内容  In the process of implementing the present invention, the inventors have found that the prior art has the following disadvantages: In practical applications, it is sometimes necessary to simultaneously apply multiple media services in one media service, that is, multiple media resource servers (MRS, Media Resource Server) provides different media services at the same time. The prior art does not disclose the media service implementation method in this case. Summary of the invention
本发明实施例提供了一种媒体业务实现方法及通讯系统以及相 关设备, 可以组合不同的媒体服务以满足媒体业务的需求。  The embodiments of the present invention provide a media service implementation method, a communication system, and related devices, which can combine different media services to meet the requirements of the media service.
本发明实施例提供的媒体业务实现方法, 包括: 媒体资源客户 端 MRC与媒体资源服务器 MRS之间建立媒体控制通道后, 组合功 能实体对 MRC发送的媒体服务控制消息进行组合; 所述组合功能实 体将所述经过组合的媒体服务控制消息通过所述媒体控制通道传输 至所述 MRS, 所述经过组合的媒体服务控制消息用以指示所述 MRS 根据该经过组合的媒体服务控制消息提供所述 MRC 所需的媒体服 务。 The media service implementation method provided by the embodiment of the present invention includes: a media resource client After the media control channel is established between the MRC and the media resource server MRS, the combined function entity combines the media service control messages sent by the MRC; the combined function entity passes the combined media service control message through the media control channel. Transmitted to the MRS, the combined media service control message is used to instruct the MRS to provide a media service required by the MRC according to the combined media service control message.
本发明实施例提供的通讯系统, 包括: MRC, 用于发送媒体服 务控制消息, 建立媒体控制通道; MRS, 用于与 MRC建立媒体控制 通道, 根据媒体服务控制消息提供媒体服务; 组合功能实体, 用于组 合媒体服务控制消息, 向 MRS提供媒体服务控制消息, 接收 MRS 对所述组合后的媒体服务控制消息的反馈结果, 向 MRC发送所述反 馈结果。  The communication system provided by the embodiment of the present invention includes: an MRC, configured to send a media service control message, and establish a media control channel; an MRS, configured to establish a media control channel with the MRC, and provide a media service according to the media service control message; And a method for combining the media service control message, providing a media service control message to the MRS, receiving a feedback result of the MRS on the combined media service control message, and sending the feedback result to the MRC.
本发明实施例提供的组合功能实体, 包括: 通道建立单元, 用于 建立传递媒体服务控制消息的媒体控制通道; 控制消息处理单元, 用 于对接收到的媒体服务控制消息进行解析,执行以及构造;接收单元, 用于接收 MRS对组合后的媒体服务控制消息的反馈结果;发送单元, 用于根据控制消息处理单元对媒体服务控制消息的执行的结果向 MRS发送组合后的媒体服务控制消息, 向 MRC发送 MRS的反馈结 果。  The combined function entity provided by the embodiment of the present invention includes: a channel establishing unit, configured to establish a media control channel for transmitting a media service control message; and a control message processing unit, configured to parse, execute, and construct the received media service control message. a receiving unit, configured to receive a feedback result of the combined media service control message by the MRS, and a sending unit, configured to send the combined media service control message to the MRS according to a result of the execution of the media service control message by the control message processing unit, Send MRS feedback results to the MRC.
本发明实施例提供的媒体资源客户端,包括:请求消息产生单元, 用于产生媒体服务请求消息; 控制消息产生单元, 用于产生媒体服务 控制消息; 控制通道建立单元, 用于与 MRS建立媒体控制通道; 组 合功能单元,用于对控制消息产生单元产生的媒体服务控制消息进行 组合,将组合后的媒体服务控制消息通过控制通道建立单元建立的媒 体控制通道发送至 MRS, 接收 MRS的反馈消息。  The media resource client provided by the embodiment of the present invention includes: a request message generating unit, configured to generate a media service request message; a control message generating unit, configured to generate a media service control message; and a control channel establishing unit, configured to establish a medium with the MRS a control function unit, configured to combine the media service control messages generated by the control message generating unit, and send the combined media service control message to the MRS through the media control channel established by the control channel establishing unit, and receive the MRS feedback message. .
本发明实施例提供的 MRB, 包括: 请求消息接收单元, 用于接 收 MRC发送的媒体服务请求消息; 查询单元, 用于根据 MRC发送 的媒体服务请求消息指定提供媒体服务的 MRS; 第二控制通道建立 单元, 用于与所述指定的 MRS之间建立媒体控制通道; 第二组合功 能单元, 用于接收 MRC发送的媒体服务控制消息, 对所述媒体服务 控制消息进行组合,将组合后的媒体服务控制消息通过控制通道建立 单元建立的媒体控制通道发送至 MRS, 接收 MRS的反馈消息, 将所 述 MRS的反馈消息转发至 MRC。 The MRB provided by the embodiment of the present invention includes: a request message receiving unit, configured to receive a media service request message sent by the MRC, and a query unit, configured to specify, according to the media service request message sent by the MRC, an MRS that provides the media service; Establishing a unit, configured to establish a media control channel with the specified MRS; The energy unit is configured to receive the media service control message sent by the MRC, combine the media service control message, and send the combined media service control message to the MRS through the media control channel established by the control channel establishing unit, and receive the feedback of the MRS. The message forwards the feedback message of the MRS to the MRC.
从以上技术方案可以看出, 本发明实施例具有以下优点: 本发明实施例中由于组合功能实体通过媒体控制通道对 MRS提 供的媒体服务进行组合控制, 即对 MRC发送的媒体服务控制消息进 行组合,所以可以使得 MRS能够根据 MRC的要求向 MRC提供多种 媒体服务业务, 从而满足媒体业务的需求。 附图说明  It can be seen from the foregoing technical solutions that the embodiments of the present invention have the following advantages: In the embodiment of the present invention, the combined function entity performs combined control on the media service provided by the MRS through the media control channel, that is, the media service control message sent by the MRC is combined. Therefore, MRS can provide a variety of media service services to MRC according to the requirements of MRC, thus meeting the needs of media services. DRAWINGS
图 1为本发明实施例中通讯系统第一实施例示意图;  1 is a schematic diagram of a first embodiment of a communication system according to an embodiment of the present invention;
图 2为本发明实施例中通讯系统第二实施例示意图;  2 is a schematic diagram of a second embodiment of a communication system according to an embodiment of the present invention;
图 3为本发明实施例中通讯系统第三实施例示意图;  3 is a schematic diagram of a third embodiment of a communication system according to an embodiment of the present invention;
图 4为本发明实施例中组合功能实体实施例示意图;  4 is a schematic diagram of an embodiment of a combined functional entity according to an embodiment of the present invention;
图 5为本发明实施例中媒体业务实现方法第一实施例示意图; 图 6为本发明实施例中媒体业务实现方法第二实施例示意图; 图 7为本发明实施例中媒体业务实现方法第三实施例示意图; 图 8为本发明实施例中媒体资源客户端实施例示意图; 图 9为本发明实施例中 MRB实施例示意图。 具体实施方式  5 is a schematic diagram of a first embodiment of a method for implementing a media service according to an embodiment of the present invention; FIG. 6 is a schematic diagram of a second embodiment of a method for implementing a media service according to an embodiment of the present invention; FIG. 8 is a schematic diagram of an embodiment of a media resource client according to an embodiment of the present invention; FIG. 9 is a schematic diagram of an embodiment of an MRB according to an embodiment of the present invention. detailed description
本发明实施例提供了一种媒体业务实现方法及通讯系统以及相 关设备, 可以组合不同的媒体服务以满足媒体业务的需求。  The embodiments of the present invention provide a media service implementation method, a communication system, and related devices, which can combine different media services to meet the requirements of the media service.
本发明实施例中, 组合功能实体用于对 MRS提供的媒体服务进 行组合控制, 通过媒体资源客户端 (MRC, Media Resource Client ) 发送的媒体服务控制消息对 MRS提供的媒体服务进行控制, 所以使 得 MRS能够根据 MRC的要求向 MRC提供多种媒体服务,从而满足 媒体业务的需求。 下面根据组合功能实体所处位置的不同具体分析 ,具体有以下几 种情况: In the embodiment of the present invention, the combined function entity is used to perform combined control on the media service provided by the MRS, and the media service control message sent by the media resource client (MRC, Media Resource Client) controls the media service provided by the MRS, so that MRS can provide a variety of media services to MRC according to MRC requirements to meet the needs of media services. The following is based on the specific analysis of the location of the combined functional entities, specifically the following:
一、 组合功能实体位于 MRC中:  First, the combined functional entity is located in the MRC:
请参阅图 1 , 本发明实施例中通讯系统第一实施例包括: 媒体资源客户端 101 , 用于发送媒体服务请求消息、 向组合功能 实体 104发送媒体服务控制消息、 以及建立媒体控制通道;  Referring to FIG. 1, a first embodiment of a communication system in an embodiment of the present invention includes: a media resource client 101, configured to send a media service request message, send a media service control message to the combined function entity 104, and establish a media control channel;
MRB 102,用于接收媒体资源客户端 101发送的媒体服务请求消 息, 根据所需媒体服务指定媒体资源服务器 103、 建立信令交互; 媒体资源服务器 103 , 用于与媒体资源客户端 101建立媒体控制 通道, 提供媒体服务;  The MRB 102 is configured to receive a media service request message sent by the media resource client 101, specify a media resource server 103 according to the required media service, and establish a signaling interaction. The media resource server 103 is configured to establish media control with the media resource client 101. Channel, providing media services;
组合功能实体 104, 用于接收并组合媒体资源客户端 101发送的 媒体服务控制消息, 向媒体资源服务器 103提供媒体服务控制消息, 接收媒体资源服务器 103 对所述组合后的媒体服务控制消息的反馈 结果, 向媒体资源客户端 101发送所述反馈结果。  The combined function entity 104 is configured to receive and combine the media service control message sent by the media resource client 101, provide the media service control message to the media resource server 103, and receive feedback from the media resource server 103 on the combined media service control message. As a result, the feedback result is sent to the media resource client 101.
本实施例中, 组合功能实体 104位于媒体资源客户端 101中, 具 体的运作流程为:  In this embodiment, the combined function entity 104 is located in the media resource client 101, and the specific operation process is:
媒体资源客户端 101发送媒体服务请求消息, MRB 102确定所 需的媒体资源服务, 指定提供所需资源服务的媒体资源服务器 103 , 并且 MRB与指定的媒体资源服务器 103交互会话初始化协议( SIP, Session Initialization Protocol )信令。 如图 1所示, MRB 102与媒体 资源客户端 101建立媒体会话 SIP信令通道, 同时也与多个媒体资源 服务器 103建立媒体会话 SIP信令通道。 根据会话描述协议 ( SDP, Session Description Protocol )协商结果媒体资源客户端 101与多个媒 体资源服务器 103建立媒体控制通道。媒体资源客户端 101中包含的 组合功能实体 104 就可以通过媒体控制通道传递媒体服务控制消息 给多个媒体资源服务器 103 , 这些媒体资源服务器 103则为媒体资源 客户端 101提供媒体服务。  The media resource client 101 sends a media service request message, the MRB 102 determines the required media resource service, specifies the media resource server 103 that provides the required resource service, and the MRB interacts with the specified media resource server 103 to initiate a session initiation protocol (SIP, Session). Initialization Protocol). As shown in FIG. 1, the MRB 102 establishes a media session SIP signaling channel with the media resource client 101, and also establishes a media session SIP signaling channel with a plurality of media resource servers 103. The media resource client 101 establishes a media control channel with the plurality of media resource servers 103 according to the Session Description Protocol (SDP). The combined function entity 104 included in the media resource client 101 can deliver media service control messages to the plurality of media resource servers 103 through the media control channel, and the media resource servers 103 provide media services to the media resource client 101.
二、 组合功能实体位于 MRB中:  Second, the combined functional entity is located in the MRB:
请参阅图 2, 本发明实施例中通讯系统第二实施例包括: 媒体资源客户端 201 , 用于发送媒体服务请求消息, 发送媒体服 务控制消息, 以及建立媒体控制通道; Referring to FIG. 2, a second embodiment of a communication system in an embodiment of the present invention includes: a media resource client 201, configured to send a media service request message, send a media service control message, and establish a media control channel;
MRB 202,用于接收媒体资源客户端 201发送的媒体服务请求消 息, 根据该媒体服务请求消息确定媒体资源客户端 201所需服务, 指 定媒体资源服务器 203 , 建立信令交互;  The MRB 202 is configured to receive a media service request message sent by the media resource client 201, determine a service required by the media resource client 201 according to the media service request message, specify the media resource server 203, and establish a signaling interaction;
媒体资源服务器 203 , 用于与媒体资源客户端 201以及 MRB202 之间建立媒体控制通道;  a media resource server 203, configured to establish a media control channel with the media resource client 201 and the MRB 202;
组合功能实体 204, 用于接收并组合媒体资源客户端 201发送的 媒体服务控制消息,向媒体资源服务器 203发送组合后的媒体服务控 制消息,接收媒体资源服务器 203对所述组合后的媒体服务控制消息 的反馈结果, 向媒体资源客户端 201发送所述反馈结果。  The combined function entity 204 is configured to receive and combine the media service control message sent by the media resource client 201, send the combined media service control message to the media resource server 203, and receive the media resource server 203 to control the combined media service. The feedback result of the message is sent to the media resource client 201.
本实施例中, 组合功能实体 204位于 MRB 202中, 具体的运作 流程为:  In this embodiment, the combined functional entity 204 is located in the MRB 202, and the specific operation process is:
MRB 202分别与媒体资源客户端 201及多个媒体资源服务器 203 建立媒体会话 SIP信令通道,同时 MRB 202还与媒体资源客户端 201 及多个媒体资源服务器 203建立媒体控制通道。 媒体资源客户端 201 发送媒体服务请求消息, MRB 202接收请求消息, 解析媒体服务请 求消息, 指定提供所需资源服务的媒体资源服务器, 并且 MRB 202 与指定的媒体资源服务器 203交互 SIP信令。 通道建立后, 媒体资源 客户端 201发送媒体服务控制消息, MRB 202中的组合功能实体 204 给多个媒体资源服务器 203传递媒体服务控制消息,这些媒体资源服 务器 203为媒体资源客户端 201提供媒体服务。  The MRB 202 establishes a media session SIP signaling channel with the media resource client 201 and the plurality of media resource servers 203, respectively, and the MRB 202 also establishes a media control channel with the media resource client 201 and the plurality of media resource servers 203. The media resource client 201 sends a media service request message, the MRB 202 receives the request message, parses the media service request message, specifies the media resource server that provides the required resource service, and the MRB 202 interacts with the designated media resource server 203 for SIP signaling. After the channel is established, the media resource client 201 sends a media service control message, and the combined function entity 204 in the MRB 202 delivers a media service control message to the plurality of media resource servers 203, and the media resource server 203 provides the media service to the media resource client 201. .
三、 组合功能实体独立存在:  Third, the combined functional entities exist independently:
请参阅图 3 , 本发明实施例中通讯系统第三实施例包括: 媒体资源客户端 301 , 用于发送媒体服务请求消息, 发送媒体服 务控制消息, 以及建立媒体控制通道;  Referring to FIG. 3, a third embodiment of the communication system in the embodiment of the present invention includes: a media resource client 301, configured to send a media service request message, send a media service control message, and establish a media control channel;
MRB 302,用于接收媒体资源客户端 301发送的媒体服务请求消 息;  The MRB 302 is configured to receive a media service request message sent by the media resource client 301.
媒体资源服务器 303 ,用于与媒体资源客户端 301以及 MRB 302 之间建立媒体控制通道; a media resource server 303 for use with the media resource client 301 and the MRB 302 Establish a media control channel between them;
组合功能实体 304 , 用于接收并组合媒体资源客户端 301发送的 媒体服务控制消息,向媒体资源服务器 303发送组合后的媒体服务控 制消息,接收媒体资源服务器 303对所述组合后的媒体服务控制消息 的反馈结果, 向媒体资源客户端 301发送所述反馈结果。  The combined function entity 304 is configured to receive and combine the media service control message sent by the media resource client 301, send the combined media service control message to the media resource server 303, and receive the media resource server 303 to control the combined media service. The feedback result of the message is sent to the media resource client 301.
本实施例中, 组合功能实体 304独立存在, 具体的运作流程为: In this embodiment, the combined functional entity 304 exists independently, and the specific operational flow is:
MRB302与媒体资源客户端 301及多个媒体资源服务器 303建立 媒体会话 SIP信令通道,组合功能实体 304在 MRB302的控制下分别 与媒体资源客户端 301 及多个媒体资源服务器 303建立媒体控制通 道。 通道建立后, 媒体资源客户端 301发送媒体服务控制消息, 组合 功能实体 304向多个媒体资源服务器 303传递媒体服务控制消息,这 些媒体资源服务器 303为媒体资源客户端 301提供媒体服务。 The MRB 302 establishes a media session SIP signaling channel with the media resource client 301 and the plurality of media resource servers 303. The combined function entity 304 establishes a media control channel with the media resource client 301 and the plurality of media resource servers 303 under the control of the MRB 302. After the channel is established, the media resource client 301 sends a media service control message, and the combined function entity 304 delivers the media service control message to the plurality of media resource servers 303, and the media resource server 303 provides the media resource client 301 with the media service.
下面对本发明实施例中的组合功能实体进行详细描述,请参阅图 4, 本发明实施例中组合功能实体实施例包括:  The following is a detailed description of the combined functional entity in the embodiment of the present invention. Referring to FIG. 4, the embodiment of the combined functional entity in the embodiment of the present invention includes:
通道建立单元 401, 用于建立传递媒体服务控制消息的媒体控制 通道;  a channel establishing unit 401, configured to establish a media control channel for transmitting a media service control message;
控制消息处理单元 402, 用于对接收到的媒体服务控制消息进行 解析, 执行以及构造;  Control message processing unit 402, configured to parse, execute, and construct the received media service control message;
接收单元 403 , 用于接收 MRS对组合后的媒体服务控制消息的 反馈结果;  The receiving unit 403 is configured to receive, by the MRS, a feedback result of the combined media service control message;
发送单元 404, 用于根据控制消息处理单元对媒体服务控制消息 的执行的结果向 MRS发送组合后的媒体服务控制消息, 向 MRC发 送 MRS的反馈结果。  The sending unit 404 is configured to send the combined media service control message to the MRS according to the result of the execution of the media service control message by the control message processing unit, and send the MRS feedback result to the MRC.
其中, 发送单元 404至少包括以下单元中的一种:  The sending unit 404 includes at least one of the following units:
消息发送单元 4041 , 若控制消息处理单元 402对接收到的媒体 服务控制消息进行构造, 得到新的媒体服务控制消息, 则消息发送单 元 4041用于向 MRS发送经过重新构造的媒体服务控制消息;  The message sending unit 4041, if the control message processing unit 402 constructs the received media service control message to obtain a new media service control message, the message sending unit 4041 is configured to send the reconstructed media service control message to the MRS;
命令发送单元 4042, 若控制消息处理单元 402对接收到的媒体 服务控制消息进行执行, 得到媒体服务控制命令, 则命令发送单元 4042用于向 MRS发送控制消息处理单元对媒体服务控制消息执行之 后生成的媒体服务控制命令。 The command sending unit 4042, if the control message processing unit 402 performs the received media service control message to obtain the media service control command, the command sending unit 4042 is configured to send, to the MRS, a media service control command generated after the control message processing unit executes the media service control message.
下面对本发明实施例中媒体业务实现方法进行详细描述,下面的 实施例中均假设媒体客户端请求一个 "语音短信" 业务, 该业务包含 了媒体放音服务处理和媒体录音服务处理,根据业务需求客户端对两 种媒体服务处理执行媒体控制。同样按照组合功能实体所处位置的不 同进行分类, 具体可以分为以下三类:  The media service implementation method in the embodiment of the present invention is described in detail below. In the following embodiments, the media client is required to request a "voice text message" service, which includes media playback service processing and media recording service processing, according to service requirements. The client performs media control on both media service processing. It is also classified according to the location of the combined functional entities, which can be divided into the following three categories:
一、 组合功能实体位置 MRB中:  First, the combined functional entity location MRB:
请参阅图 5 ,本发明实施例中媒体业务实现方法第一实施例包括: 501、 MRC向 MRB请求媒体服务;  Referring to FIG. 5, a first embodiment of a method for implementing a media service according to an embodiment of the present invention includes: 501. An MRC requests a media service from an MRB.
其中, 请求消息 INVITE中携带 SDP offer, SDP offer描述了用 户终端的媒体能力属性(例如 "2个 MS-line" , 代表两个媒体流行) 和媒体资源客户端建立媒体控制通道的属性(例如 "1个 MCc-line" , 代表一个媒体控制行)。  The request message INVITE carries an SDP offer, and the SDP offer describes a media capability attribute of the user terminal (for example, "2 MS-line", which represents two media popular) and a property of the media resource client to establish a media control channel (for example, " 1 MCc-line", representing a media control line).
本实施例中, SDP offer中媒体属性消息实例如下:  In this embodiment, an example of a media attribute message in an SDP offer is as follows:
m=audio ue_portl RTP/AVP 0  m=audio ue_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
a=label: 1  a=label: 1
m=audio ue_port2 RTP/AVP 0  m=audio ue_port2 RTP/AVP 0
a=rtpmap :0 pcmu/8000  a=rtpmap :0 pcmu/8000
a=sendonly  a=sendonly
a=label: 2  a=label: 2
m=application mrc controlport TCP/mediacontrlproto  m=application mrc controlport TCP/mediacontrlproto
a=setup: active  a=setup: active
a=connection: new  a=connection: new
消息中的 label行标识对应的媒体流, 这里媒体控制行可以有关 联标签也可以没有。  The label line in the message identifies the corresponding media stream, where the media control line can be associated with or not.
502、 MRB 根据 MRC发送的媒体服务请求消息查询到对应的 MRS为 MRC服务; 502. The MRB queries the corresponding media service request message sent by the MRC. MRS serves MRC;
本实施例中假设 MRB查询到 MRS1与 MRS2为 MRC服务。 In this embodiment, it is assumed that the MRB queries MRS1 and MRS2 as MRC services.
503-504、 MRB向对应的 MRS发送邀请消息; 503-504, the MRB sends an invitation message to the corresponding MRS;
MRB接收媒体服务请求, 解析媒体服务请求, 指定提供所需服 务(放音服务和录音服务) 的 MRS1和 MRS2之后, 分别向两个服 务器发送服务请求。 请求包含了 SDP offer, MRB对收到的 SDP offer 进行重新构造,其中分别包含了用户终端支持的放音媒体能力属性和 录音媒体能力属性及 MRB分配的与之相应的媒体控制属性。  The MRB receives the media service request, parses the media service request, and specifies the MRS1 and MRS2 that provide the required services (playing service and recording service), and then sends a service request to the two servers respectively. The request includes the SDP offer, and the MRB reconstructs the received SDP offer, which includes the playback media capability attribute and the recording medium capability attribute supported by the user terminal and the corresponding media control attribute allocated by the MRB.
该步骤中 SDP offer媒体属性消息实例分别如下所述:  The SDP offer media attribute message instances in this step are as follows:
m=audio ue_portl RTP/AVP 0  m=audio ue_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
a=label: 1  a=label: 1
m=application mrb controlportl TCP/mediacontrlproto  m=application mrb controlportl TCP/mediacontrlproto
a=setup: active  a=setup: active
a=connection: new m=audio ue_port2 RTP/AVP 0  a=connection: new m=audio ue_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
a=label: 2  a=label: 2
m=application mrb_controlport2 TCP/mediacontrlproto  m=application mrb_controlport2 TCP/mediacontrlproto
a=setup: active  a=setup: active
a=connection: new  a=connection: new
505-506, 反馈 200OK消息;  505-506, feedback 200 OK message;
MRS1和 MRS2接收服务请求,并给所请求的服务分配媒体流资 源和媒体控制资源,同时回复请求的响应消息,包含 SDP answer。 SDP answer描述了 MRS提供的媒体流能力属性和媒体控制属性。  MRS1 and MRS2 receive the service request and allocate media stream resources and media control resources to the requested service, and reply to the requested response message, including SDP answer. The SDP answer describes the media stream capability attributes and media control attributes provided by the MRS.
本实施例中, MRS1和 MRS2回复的响应消息 SDP answer中媒 体属性消息实例描述分别如下: In this embodiment, the response message replied by MRS1 and MRS2 is SDP answer medium. The body attribute message instance descriptions are as follows:
m=audio mrsl_portl RTP/AVP 0  m=audio mrsl_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
a=lable: 1  a=lable: 1
m=audio mrs 1 controlport 1 TCP/ mediacontrlproto  m=audio mrs 1 controlport 1 TCP/ mediacontrlproto
a=setup: passive  a=setup: passive
a=connection: new m=audio mrs2_port2 RTP/AVP 0  a=connection: new m=audio mrs2_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
a=lable: 2  a=lable: 2
m=audio mrs2_controlport2 TCP/ mediacontrlproto  m=audio mrs2_controlport2 TCP/ mediacontrlproto
a=setup: passive  a=setup: passive
a=connection: new  a=connection: new
507、 向 MRC反馈 200OK;  507, feedback 200 OK to the MRC;
MRB收到两个资源服务器的响应消息后, 给 MRC回复响应消 息, 并构造新的 SDP answer包含在响应消息中。 SDP answer描述了 两个资源服务器提供的媒体能力属性和 MRB分配的媒体控制属性。  After receiving the response messages from the two resource servers, the MRB responds to the MRC with a response message and constructs a new SDP answer to be included in the response message. The SDP answer describes the media capability attributes provided by the two resource servers and the media control attributes assigned by the MRB.
本实施例中, SDP answer中媒体属性消息实例描述如下: m=audio mrsl_portl RTP/AVP 0  In this embodiment, an instance of the media attribute message in the SDP answer is described as follows: m=audio mrsl_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
a=lable: 1  a=lable: 1
m=audio mrs2_port2 RTP/AVP 0  m=audio mrs2_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
a=lable: 2 m=audio mrb controlport TCP/ mediacontrlproto a=lable: 2 m=audio mrb controlport TCP/ mediacontrlproto
a=setup: passive  a=setup: passive
a=connection: new  a=connection: new
508-510, MRC向 MRB反馈确认消息, MRB向对应的 MRS反 馈确认消息。  508-510, the MRC feeds back an acknowledgement message to the MRB, and the MRB sends a confirmation message to the corresponding MRS.
本实施例中,完成媒体服务组合中媒体流通道和媒体控制通道建 立后,媒体资源客户端即可以发送媒体服务控制消息以控制媒体资源 服务器提供媒体服务。  In this embodiment, after the media stream channel and the media control channel are completed in the media service combination, the media resource client may send a media service control message to control the media resource server to provide the media service.
本实施例中, 媒体服务组合的初始建立过程具体包括: MRC发 送媒体服务请求消息,请求消息包含了服务系统建立媒体流通道连接 的 SDP消息,此外还可能包含服务系统建立媒体控制通道连接的 SDP 消息, MRB接收并解析媒体服务请求消息, 指定提供服务的媒体资 源服务器 MRS, 并分别与多个 MRS建立 SIP Dialog, 交互媒体服务 请求消息, 执行媒体能力协商, 媒体能力协商完成意味着媒体流通道 和媒体控制通道的建立, 即完成了媒体服务组合的初始建立。  In this embodiment, the initial establishment process of the media service combination specifically includes: the MRC sends a media service request message, where the request message includes an SDP message that the service system establishes a media stream channel connection, and may also include an SDP that establishes a media control channel connection by the service system. The message, the MRB receives and parses the media service request message, specifies the media resource server MRS that provides the service, and establishes a SIP Dialog with each of the MRSs, interacts with the media service request message, performs media capability negotiation, and completes the media capability negotiation, meaning that the media stream channel With the establishment of the media control channel, the initial establishment of the media service composition is completed.
其中,媒体能力的协商(包括媒体流通道和媒体控制通道的协商) 可能包含多次的 SIP和 SDP交互, 并且媒体流通道和媒体控制通道的 建立不分时间先后。  Among them, the negotiation of media capabilities (including negotiation of media stream channels and media control channels) may involve multiple SIP and SDP interactions, and the establishment of media stream channels and media control channels is not chronological.
当媒体服务组合初始建立后, MRC通过 MRB 中的组合功能实 体与几个 MRS建立媒体服务控制关系, 通过 MRB中的组合功能实 体对几个 MRS执行媒体服务控制, 几个 MRS提供媒体服务。 具体 过程包括:  After the media service combination is initially established, the MRC establishes a media service control relationship with several MRSs through the combined function entity in the MRB, performs media service control on several MRSs through the combined function entity in the MRB, and several MRSs provide media services. The specific process includes:
1、 MRC发送媒体服务控制消息, 该消息中可能携带整个媒体服 务控制脚本消息。  1. The MRC sends a media service control message, which may carry the entire media service control script message.
2、 MRB接收 MRC的媒体服务控制消息后, MRB中的组合功能 实体对消息进行解析执行相应的操作。 当控制消息中包^某体服务控 制脚本或脚本位置指示信息, MRB中的组合功能实体会从 Resource Server上获取脚本; 当消息中包含脚本执行引擎指示, MRB 中的组 合功能实体将从 Resource Server上获取脚本执行引擎。 3、 MRB收到 MRC的媒体服务控制消息, 从消息中携带的内容 获知需要 MRS如何提供媒体服务,这些 MRS为之前根据 MRC发送 的媒体服务请求消息指定的 MRS。 当媒体服务控制消息中携带媒体 服务控制脚本时, MRB 中的组合功能实体可以执行脚本并向提供相 应媒体服务的 MRS下发媒体服务命令; MRB中的组合功能实体也可 以执行脚本后, 重新构造相应的媒体服务处理的媒体服务控制脚本, 并向提供相应服务的 MRS发送相应的媒体服务控制消息。 2. After the MRB receives the media service control message of the MRC, the combined function entity in the MRB parses the message to perform the corresponding operation. When the control message contains a service control script or script location indication information, the combined functional entity in the MRB obtains the script from the Resource Server; when the message includes the script execution engine indication, the combined functional entity in the MRB will be from the Resource Server. Get the script execution engine on. 3. The MRB receives the media service control message of the MRC, and learns from the content carried in the message that the MRS needs to provide the media service. These MRSs are the MRSs previously specified by the media service request message sent by the MRC. When the media service control message is carried in the media service control message, the combined function entity in the MRB can execute the script and deliver the media service command to the MRS that provides the corresponding media service; the combined function entity in the MRB can also execute the script and reconstruct The media service control script processed by the corresponding media service sends a corresponding media service control message to the MRS providing the corresponding service.
下面以一具体实例进行说明组合功能实体对媒体服务控制消息 的组合, 本实施例中是以组合功能实体集成于 MRB的情况为例, 可 以理解的是, 组合功能实体位于其他位置时的处理情况类似, 具体实 例具体包括:  The following is a specific example to illustrate the combination of the combined function entity and the media service control message. In this embodiment, the case where the combined function entity is integrated into the MRB is taken as an example. It can be understood that the processing situation when the combined function entity is located at another location is as follows. Similarly, specific examples include:
1、 MRC向 MRB发送 "语音短信业务" 媒体服务控制消息: 其中, 媒体服务控制消息携带了 "语音短信业务"媒体服务脚本 消息。 脚本消息中可能包含:  1. The MRC sends a "voice message service" media service control message to the MRB: wherein the media service control message carries a "voice message service" media service script message. The script message may contain:
a、 整个脚本所述内容:  a, the contents of the entire script:
指示包含放音段程序和录音段程序,指示放音段程序与录音段程 序之间的关联关系, 指示放音段程序和录音段程序执行时序。  The indication includes the playback section program and the recording section program, indicating the relationship between the playback section program and the recording section program, indicating the playback section program and the recording section program execution timing.
b、 放音段脚本程序:  b, playback section script:
描述放音脚本的相关属性, 如放音元素、 放音资源、 放音时间、 放音事件等, 还可能包含从放音处理过渡到录音处理的程序。  Describe the properties of the playback script, such as playback elements, playback resources, playback time, playback events, etc., and may also include programs that transition from playback to recording.
描述录音脚本的相关属性, 如录音元素、 录音事件、 录音保存位 置等。  Describe the relevant properties of the recording script, such as recording elements, recording events, recording save locations, and more.
2、 MRB收到媒体服务控制消息, 解析消息, 并向 MRS发送媒 体服务控制消息:  2. The MRB receives the media service control message, parses the message, and sends a media service control message to the MRS:
本实施例中, MRB 收到的是包含了脚本的媒体服务控制消息, 具体 MRB的处理包括:  In this embodiment, the MRB receives the media service control message including the script, and the processing of the specific MRB includes:
a、 解析脚本内容, 区分放音脚本段含义和录音脚本段含义, 明 确放音脚本段程序与录音段脚本程序执行的关系;  a. Analyze the content of the script, distinguish the meaning of the playback script segment and the meaning of the recording script segment, and clearly define the relationship between the playback script segment program and the recording segment script program;
b、 MRB分割原脚本, 并依据它所支持的媒体控制协议重新构造 一个单独的放音脚本和一个单独的录音脚本; b, MRB splits the original script and reconstructs it according to the media control protocol it supports a separate playback script and a separate recording script;
C、 MRB按照原脚本所述先向放音资源服务器发送包含放音脚本 的媒体服务控制消息, 并代理 MRC进行控制;  C. The MRB first sends a media service control message containing the playback script to the playback resource server according to the original script, and performs proxy control by the MRC;
d、 MRB按照原脚本所述再向录音资源服务器发送包含录音脚本 的媒体服务控制消息, 并代理 MRC进行控制。  d. The MRB sends a media service control message containing the recording script to the recording resource server according to the original script, and acts as a proxy for the MRC.
3、 在放音或录音时, MRB 代理 MRC 进行服务控制, 它将向 MRC传递媒体服务处理消息。  3. During playback or recording, the MRB Proxy MRC performs service control, which will deliver media service processing messages to the MRC.
本实施例中媒体服务组合动态改变主要体现在三个方面:  The dynamic change of media service composition in this embodiment is mainly reflected in three aspects:
1、 新增 MRS或新增 MRS提供的媒体业务:  1. Add MRS or add media services provided by MRS:
当媒体服务组合系统完成初始建立后,媒体服务组合系统可以根 据媒体服务需求增加新的媒体资源服务。这种动态增加媒体资源服务 包含两种情况:  When the media service composition system is initially established, the media service composition system can add new media resource services according to the media service requirements. This dynamic increase in media resource services consists of two situations:
A、 增加提供新的资源服务的媒体资源服务器;  A. Add a media resource server that provides new resource services;
当 MRC 有了新的媒体资源服务需求之后, 向 MRB 发送 REINVITE消息请求与 MRB进行重协商 , 其中, REINVITE消息中 包含有 SDP的修改内容, 包括 SDP中的媒体流属性修改以及媒体控 制属性修改;  After the MRC has a new media resource service request, the REINVITE message is sent to the MRB to request a renegotiation with the MRB, where the REINVITE message includes the modified content of the SDP, including the media stream attribute modification and the media control attribute modification in the SDP.
MRB根据接收到的 REINVITE消息判断当前连接的 MRS均无 法满足该媒体资源服务需求,则指定一个新的能够满足该媒体资源服 务需求的 MRS;  The MRB determines, according to the received REINVITE message, that the currently connected MRS cannot satisfy the media resource service requirement, and specifies a new MRS that can meet the media resource service requirement;
根据指定的 MRS的媒体服务属性与 MRC对媒体属性进行重协 商;  Re-consulting the media attributes with the MRC based on the media service attributes of the specified MRS;
完成媒体属性重协商之后, 根据重协商结果重新建立 MRB 与 MRC之间 , 以及 MRB与各个 MRS之间的媒体控制通道。  After the media attribute renegotiation is completed, the media control channel between the MRB and the MRC and between the MRB and each MRS is re-established according to the renegotiation result.
B、 从当前组合中的 MRS上再组合一个新的资源服务。  B. Combine a new resource service from the MRS in the current combination.
当 MRC 有了新的媒体资源服务需求之后, 向 MRB 发送 REINVITE消息请求与 MRB进行重协商 , 其中, REINVITE消息中 包含有 SDP的修改内容, 包括 SDP中的媒体流属性修改以及媒体控 制属性修改; MRB根据接收到的 REINVITE消息指定当前连接的 MRS中能 够满足资源服务需求的 MRS; After the MRC has a new media resource service request, the REINVITE message is sent to the MRB to request a renegotiation with the MRB, where the REINVITE message includes the modified content of the SDP, including the media stream attribute modification and the media control attribute modification in the SDP. The MRB specifies, according to the received REINVITE message, an MRS in the currently connected MRS that can satisfy the resource service requirement;
根据指定的 MRS的媒体服务属性与 MRC对媒体属性进行重协 商;  Re-consulting the media attributes with the MRC based on the media service attributes of the specified MRS;
完成媒体属性重协商之后, 根据重协商结果重新建立 MRB 与 MRC之间 , 以及 MRB与各个 MRS之间的媒体控制通道。  After the media attribute renegotiation is completed, the media control channel between the MRB and the MRC and between the MRB and each MRS is re-established according to the renegotiation result.
2、 删减 MRS或删减 MRS提供的媒体业务:  2. Deletion of MRS or deletion of media services provided by MRS:
当媒体服务组合完成初始建立后,媒体服务组合系统可以根据媒 体服务需求删除或减少组合中的媒体资源服务。 同样也包含两种情 况:  When the media service composition is initially established, the media service composition system can delete or reduce the media resource service in the combination according to the media service requirements. There are also two situations:
A、 从当前组合 MRS中删除提供某各资源服务的 MRS。 消息处 理也是 MRC与 MRB通过 REINVITE请求重新协商媒体属性完成。  A. Remove the MRS that provides each resource service from the current combined MRS. The message processing is also done by the MRC and MRB through the REINVITE request to renegotiate the media attributes.
B、 从当前组合的某个 MRS上删除某个媒体资源服务。 消息处 理也是 MRC与 MRB通过 REINVITE请求重新协商媒体属性完成。  B. Delete a media resource service from an MRS of the current combination. The message processing is also done by the MRC and MRB through the REINVITE request to renegotiate the media attributes.
3、 修改资源服务提供的属性:  3. Modify the properties provided by the resource service:
当媒体服务组合完成初始建立后,媒体服务组合可以修改已有媒 体资源服务提供的属性, 如改变 MRS与用户终端 UE之间的媒体流 属性, MRS 与上行客户端之间的媒体控制属性。 消息处理也是通过 REINVITE请求重新协商媒体属性完成。  After the media service combination is initially established, the media service combination can modify the attributes provided by the existing media resource service, such as changing the media stream attribute between the MRS and the user terminal UE, and the media control attribute between the MRS and the uplink client. Message processing is also done by REINVITE requesting renegotiation of media attributes.
二、 组合功能实体位于 MRC中:  Second, the combined functional entity is located in the MRC:
请参阅图 6,本发明实施例中媒体业务实现方法第二实施例包括: 601、 MRC向 MRB请求媒体服务;  Referring to FIG. 6, a second embodiment of a method for implementing a media service according to an embodiment of the present invention includes: 601. An MRC requests a media service from an MRB.
请求消息中携带 SDP offer, SDP offer描述了用户终端的媒体能 力属性(例如 "2个 MS-line" , 代表两个媒体流行)。  The request message carries the SDP offer, and the SDP offer describes the media capability attribute of the user terminal (for example, "2 MS-line", representing two media popular).
本实施例中, SDP offer中媒体属性消息实例如下:  In this embodiment, an example of a media attribute message in an SDP offer is as follows:
m=audio ue_portl RTP/AVP 0  m=audio ue_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
m=audio ue_port2 RTP/AVP 0 a=rtpmap :0 pcmu/8000 m=audio ue_port2 RTP/AVP 0 a=rtpmap :0 pcmu/8000
a=sendonly  a=sendonly
602、 MRB 根据 MRC发送的媒体服务请求消息查询到对应的 MRS为 MRC服务;  602. The MRB queries, according to the media service request message sent by the MRC, that the corresponding MRS is an MRC service.
本实施例中假设 MRB查询到 MRS1与 MRS2为 MRC服务。 In this embodiment, it is assumed that the MRB queries MRS1 and MRS2 as MRC services.
603-604、 MRB向对应的 MRS发送邀请消息; 603-604, the MRB sends an invitation message to the corresponding MRS;
MRB接收媒体服务请求, 指定提供所需服务(放音服务和录音 服务)的 MRS1和 MRS2 , 并分别向两个服务器发送服务请求。 请求 包含了 SDP offer, 分别包含了用户终端支持的放音媒体能力属性和 录音媒体能力属性。  The MRB receives the media service request, specifies MRS1 and MRS2 that provide the required services (playing service and recording service), and sends service requests to the two servers respectively. The request contains the SDP offer, which includes the playback media capability attribute and the recording media capability attribute supported by the user terminal.
本实施例中, SDP offer媒体属性消息实例描述如下:  In this embodiment, an SDP offer media attribute message instance is described as follows:
m=audio ue_portl RTP/AVP 0  m=audio ue_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly m=audio ue_port2 RTP/AVP 0  a=recvonly m=audio ue_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
605-606、 反馈 200OK消息;  605-606, feedback 200 OK message;
MRS1和 MRS2接收服务请求,并给所请求的服务分配媒体流资 源和媒体控制资源,同时回复请求的响应消息,包含 SDP answer。 SDP answer描述了 MRS提供的媒体流能力属性和媒体控制属性。  MRS1 and MRS2 receive the service request and allocate media stream resources and media control resources to the requested service, and reply to the requested response message, including SDP answer. The SDP answer describes the media stream capability attributes and media control attributes provided by the MRS.
本实施例中, 媒体属性消息实例描述如下:  In this embodiment, an example of a media attribute message is described as follows:
m=audio mrsl_portl RTP/AVP 0  m=audio mrsl_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly m=audio mrs2_port2 RTP/AVP 0  a=sendonly m=audio mrs2_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000 a=recvonly a=rtpmap: 0 pcmu/8000 a=recvonly
607、 向 MRC反馈 200OK;  607, feedback 200 OK to the MRC;
MRB收到两个资源服务器的响应消息后, 给 MRC回复响应消 息, 并构造新的 SDP answer包含在响应消息中。 SDP answer描述了 两个资源服务器提供的媒体能力属性和 MRB分配的媒体控制属性。  After receiving the response messages from the two resource servers, the MRB responds to the MRC with a response message and constructs a new SDP answer to be included in the response message. The SDP answer describes the media capability attributes provided by the two resource servers and the media control attributes assigned by the MRB.
本实施例中, SDP answer中媒体属性消息实例描述如下: m=audio mrsl_portl RTP/AVP 0  In this embodiment, an instance of the media attribute message in the SDP answer is described as follows: m=audio mrsl_portl RTP/AVP 0
c=IN IP4 202.114.118.100  c=IN IP4 202.114.118.100
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
m=audio mrs2_port2 RTP/AVP 0  m=audio mrs2_port2 RTP/AVP 0
c=IN IP4 202.114.118.101  c=IN IP4 202.114.118.101
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
608-610、 MRC向 MRB反馈确认消息, MRB向对应的 MRS反 馈确认消息;  608-610, the MRC feeds back an acknowledgement message to the MRB, and the MRB sends a confirmation message to the corresponding MRS;
611、 发起重邀请请求;  611. Initiating a re-invitation request;
MRC收到响应消息后, 检查 SDP answer消息体中的 "c" 行是 否相同, 如果不相同客户端知道两个媒体资源来自不同的服务器, 否 则来源于同一个服务器。 当来源于不同的服务器时, MRC发送新的 媒体服务请求 REINVITE,请求消息中携带 SDP offer,描述用户终端 的媒体能力属性(例如 "2个 MS-line" )和媒体资源客户端建立媒体 控制通道的属性(例如 "2个 MCc-line" , 代表一个媒体控制行)。 当 检查结果是来源于同一个服务器时, 就只会有 "1个 MCc-line"。  After receiving the response message, the MRC checks whether the "c" line in the SDP answer message body is the same. If the same client knows that the two media resources are from different servers, it is from the same server. When originating from different servers, the MRC sends a new media service request REINVITE, the request message carries an SDP offer, describes the media capability attributes of the user terminal (for example, "2 MS-line"), and the media resource client establishes a media control channel. Attributes (for example "2 MCc-line" for a media control line). When the result of the check is from the same server, there will only be "1 MCc-line".
本实施例中假设两个媒体资源来自不同的服务器, 则 SDP offer 媒体属性消息实例如下:  In this embodiment, it is assumed that two media resources are from different servers, and an example of the SDP offer media attribute message is as follows:
m=audio ue_portl RTP/AVP 0  m=audio ue_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly a=label: 1 a=recvonly a=label: 1
m=audio ue_port2 RTP/AVP 0  m=audio ue_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
a=label: 2  a=label: 2
m=application mrc controlportl TCP/mediacontrlproto  m=application mrc controlportl TCP/mediacontrlproto
a=setup: active  a=setup: active
a=connection: new  a=connection: new
a=Clabel: 1  a=Clabel: 1
m=application mrc_controlport2 TCP/mediacontrlproto  m=application mrc_controlport2 TCP/mediacontrlproto
a=setup: active  a=setup: active
a=connection: new  a=connection: new
a=Clabel: 2  a=Clabel: 2
消息中 "label" 和 "Clabel" 行分别代表对应的媒体流行和媒体 控制行, "label" 和 "Clabel" 中的数字相同, 表示媒体流关联相应的 媒体控制通道。  The "label" and "Clabel" lines in the message represent the corresponding media pop and media control lines, respectively, and the numbers in "label" and "Clabel" are the same, indicating that the media stream is associated with the corresponding media control channel.
612-613 , MRB向对应的 MRS发送重邀请消息;  612-613, the MRB sends a re-invitation message to the corresponding MRS;
MRB接收媒体服务请求, 向先前两个资源服务器分别发送服务 请求, 请求中包含 SDP offer, 并分别用户终端支持的放音媒体能力 属性和录音媒体能力属性及对应的媒体控制属性。  The MRB receives the media service request, and sends a service request to the previous two resource servers, where the request includes the SDP offer, and the playback media capability attribute and the recording media capability attribute and the corresponding media control attribute supported by the user terminal respectively.
本实施例中, 媒体属性消息实例分别如下所述:  In this embodiment, the media attribute message instances are respectively as follows:
m=audio ue_portl RTP/AVP 0  m=audio ue_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
a=label: 1  a=label: 1
m=application mrc controlportl TCP/mediacontrlproto  m=application mrc controlportl TCP/mediacontrlproto
a=setup: active  a=setup: active
a=connection: new  a=connection: new
a=Clabel: 1 m=audio ue_port2 RTP/AVP 0 a=Clabel: 1 m=audio ue_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
a=label: 2  a=label: 2
m=application mrc_controlport2 TCP/mediacontrlproto  m=application mrc_controlport2 TCP/mediacontrlproto
a=setup: active  a=setup: active
a=connection: new  a=connection: new
a=Clabel: 2  a=Clabel: 2
614-615 , 反馈 200OK消息;  614-615, feedback 200OK message;
MRSl和 MRS2响应服务请求, MRS不仅为请求的服务分配媒 体流资源 (可以采用先前分配的)还分配媒体控制资源。 此时, SDP answer中媒体属性消息实例描述分别如下:  MRS1 and MRS2 respond to service requests, and the MRS not only allocates media stream resources for the requested service (which may be previously allocated) but also allocates media control resources. At this point, the media attribute message instances in the SDP answer are described as follows:
m=audio mrsl_portl RTP/AVP 0  m=audio mrsl_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
a=lable: 1  a=lable: 1
m=audio mrsl controlportl TCP/mediacontrlproto  m=audio mrsl controlportl TCP/mediacontrlproto
a=setup: passive  a=setup: passive
a=connection: new  a=connection: new
a=Clabel: 1 m=audio mrs2_port2 RTP/AVP 0  a=Clabel: 1 m=audio mrs2_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
a=lable: 2  a=lable: 2
m=audio mrs2_controlport2 TCP/mediacontrlproto  m=audio mrs2_controlport2 TCP/mediacontrlproto
a=setup: passive  a=setup: passive
a=connection: new a=Clable: 2 a=connection: new a=Clable: 2
616、 向 MRC反馈 200OK消息;  616. Feeding 200 OK message to the MRC;
MRB再次收到两个资源服务器的响应消息后, 给 MRC回复响 应消息, 并构造新的 SDP answer包含在响应消息中, 其 SDP answer 中媒体属性消息实例描述如下:  After receiving the response message from the two resource servers again, the MRB responds to the MRC with a response message and constructs a new SDP answer contained in the response message. The media attribute message instance in the SDP answer is described as follows:
m=audio mrsl_portl RTP/AVP 0  m=audio mrsl_portl RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=sendonly  a=sendonly
a=lable: 1  a=lable: 1
m=audio mrs2_port2 RTP/AVP 0  m=audio mrs2_port2 RTP/AVP 0
a=rtpmap: 0 pcmu/8000  a=rtpmap: 0 pcmu/8000
a=recvonly  a=recvonly
a=lable: 2  a=lable: 2
m=audio mrs 1 controlport 1 TCP/ mediacontrlproto  m=audio mrs 1 controlport 1 TCP/ mediacontrlproto
a=setup: passive  a=setup: passive
a=connection: new  a=connection: new
a=Clabel: 1  a=Clabel: 1
m=audio mrs2_controlport2 TCP/ mediacontrlproto  m=audio mrs2_controlport2 TCP/ mediacontrlproto
a=setup: passive  a=setup: passive
a=connection: new  a=connection: new
a=Clable: 2  a=Clable: 2
617-619, MRC向 MRB反馈确认消息, MRB向对应的 MRS反 馈确认消息。  617-619, the MRC feeds back an acknowledgement message to the MRB, and the MRB sends a confirmation message to the corresponding MRS.
本实施例中,完成媒体服务组合中媒体流通道和媒体控制通道建 立后,媒体资源客户端即可以发送媒体服务控制消息以控制媒体资源 服务器提供媒体服务。  In this embodiment, after the media stream channel and the media control channel are completed in the media service combination, the media resource client may send a media service control message to control the media resource server to provide the media service.
本实施例中, 媒体服务组合的初始建立过程具体包括: MRC发 送媒体服务请求消息,请求消息包含了服务系统建立媒体流通道连接 的 SDP消息,此外还可能包含服务系统建立媒体控制通道连接的 SDP 消息, MRB接收并解析媒体服务请求消息, 指定提供服务的媒体资 源服务器 MRS, 并分别与多个 MRS建立 SIP Dialog, 交互媒体服务 请求消息, 执行媒体能力协商, 媒体能力协商完成意味着媒体流通道 和媒体控制通道的建立, 即完成了媒体服务组合的初始建立。 In this embodiment, the initial establishment process of the media service combination specifically includes: the MRC sends a media service request message, where the request message includes an SDP message that the service system establishes a media stream channel connection, and may also include an SDP that establishes a media control channel connection by the service system. The message, the MRB receives and parses the media service request message, specifies the media resource server MRS that provides the service, and establishes a SIP Dialog with each of the MRSs, interacts with the media service request message, performs media capability negotiation, and completes the media capability negotiation, meaning that the media stream channel With the establishment of the media control channel, the initial establishment of the media service composition is completed.
其中,媒体能力的协商(包括媒体流通道和媒体控制通道的协商) 可能包含多次的 SIP和 SDP交互, 并且媒体流通道和媒体控制通道的 建立不分时间先后。  Among them, the negotiation of media capabilities (including negotiation of media stream channels and media control channels) may involve multiple SIP and SDP interactions, and the establishment of media stream channels and media control channels is not chronological.
当媒体服务组合初始建立后, MRC 中的组合功能实体与几个 MRS建立媒体服务控制关系, 对几个 MRS执行媒体服务控制, 几个 MRS提供媒体服务。 这个过程中的关键处理包括:  After the media service combination is initially established, the combined functional entity in the MRC establishes a media service control relationship with several MRSs, performs media service control on several MRSs, and provides several media services to the MRS. The key processes in this process include:
MRC向几个 MRS发送媒体服务控制消息。控制消息中可能携带 媒体服务处理脚本消息或命令信息, MRC 中的组合功能实体需要区 分由各个 MRS处理的媒体服务处理脚本含义, 各个媒体服务处理脚 本之间的关联关系,还要明确相关联的不同媒体服务处理脚本消息被 执行的时序。  The MRC sends media service control messages to several MRSs. The control message may carry a media service processing script message or command information. The combined function entity in the MRC needs to distinguish the meaning of the media service processing script processed by each MRS, the association relationship between each media service processing script, and the associated association. The timing at which different media services process script messages are executed.
三、 组合功能实体独立存在:  Third, the combined functional entities exist independently:
请参阅图 7,本发明实施例中媒体业务实现方法第三实施例包括: 701、 MRC向 MRB发送 INVITE消息请求语音视频媒体服务; 702、 查询为 MRC提供服务的 MRS;  Referring to FIG. 7, a third embodiment of a method for implementing a media service according to an embodiment of the present invention includes: 701. An MRC sends an INVITE message to a MRB to request a voice video media service. 702. Query an MRS that provides a service for the MRC.
MRB接收 MRC发送的 INVITE消息 ,查询本地的媒体服务资源 , 决定由 MRS1 (提供语音服务)和 MRS2 (提供视频服务) 为 MRC 提供服务。  The MRB receives the INVITE message sent by the MRC, queries the local media service resources, and decides to provide services for the MRC by MRS1 (providing voice service) and MRS2 (providing video service).
703-708 , MRB 构造新的 INVITE 消息分别发送给 MRS1 和 MRS2, 接收返回的 200 OK, 并发送 ACK确认消息, MRB分别与 MRS1和 MRS2建立 SIP Dialog 1和 SIP Dialog 2;  703-708, MRB constructs a new INVITE message to send to MRS1 and MRS2, receives the returned 200 OK, and sends an ACK confirmation message, and MRB establishes SIP Dialog 1 and SIP Dialog 2 with MRS1 and MRS2 respectively;
709-710, MRB根据 MRS1和 MRS2返回的 200 OK中携带的 SDP构造新的 SDP, 通过 200 OK发送给 MRC, 接收 MRC返回的 ACK, 与 MRC建立 SIP Dialog 3;  709-710, the MRB constructs a new SDP according to the SDP carried in the 200 OK returned by the MRS1 and the MRS2, sends the ACK to the MRC through the 200 OK, receives the ACK returned by the MRC, and establishes the SIP Dialog 3 with the MRC;
711-713 , MRB作为控制节点, 向组合功能实体发送 INVITE消 息, 通过 SDP请求建立三个媒体控制通道(MRC与组合功能实体, MRS1与组合功能实体, MRS2与组合功能实体), 并在 INVITE消息 中携带三个控制通道的关联关系; MRB 与组合功能实体间建立 SIP Dialog 4; 711-713, the MRB acts as a control node and sends an INVITE to the combined functional entity. Information, through the SDP request to establish three media control channels (MRC and combined functional entities, MRS1 and combined functional entities, MRS2 and combined functional entities), and carry the association relationship of three control channels in the INVITE message; MRB and combined functional entities Establish SIP Dialog 4;
714-716, MRB向 MRC发送 relNVITE消息,协商建立一个 MRC 与组合功能实体间的控制通道 Media Control Channel 1;  714-716, the MRB sends a relNVITE message to the MRC, and negotiates to establish a control channel between the MRC and the combined functional entity Media Control Channel 1;
717-722, MRB分别向 MRS1和 MRS2发送 relNVITE消息 , 协 商建立 MRS1和 MRS2与组合功能实体间的控制通道 Media Control Channel 2和 Media Control Channel 3。  717-722, MRB sends relNVITE messages to MRS1 and MRS2 respectively, and negotiates the control channels Media Control Channel 2 and Media Control Channel 3 between MRS1 and MRS2 and the combined functional entities.
本实施例中,完成媒体服务组合中媒体流通道和媒体控制通道建 立后,媒体资源客户端即可以发送媒体服务控制消息以控制媒体资源 服务器提供媒体服务。  In this embodiment, after the media stream channel and the media control channel are completed in the media service combination, the media resource client may send a media service control message to control the media resource server to provide the media service.
本实施例中, 媒体服务组合的初始建立过程具体包括: MRC发 送媒体服务请求消息,请求消息包含了服务系统建立媒体流通道连接 的 SDP消息,此外还可能包含服务系统建立媒体控制通道连接的 SDP 消息, MRB接收并解析媒体服务请求消息, 指定提供服务的媒体资 源服务器 MRS, 并分别与多个 MRS建立 SIP Dialog, 交互媒体服务 请求消息, 执行媒体能力协商, 媒体能力协商完成意味着媒体流通道 和媒体控制通道的建立, 即完成了媒体服务组合的初始建立。  In this embodiment, the initial establishment process of the media service combination specifically includes: the MRC sends a media service request message, where the request message includes an SDP message that the service system establishes a media stream channel connection, and may also include an SDP that establishes a media control channel connection by the service system. The message, the MRB receives and parses the media service request message, specifies the media resource server MRS that provides the service, and establishes a SIP Dialog with each of the MRSs, interacts with the media service request message, performs media capability negotiation, and completes the media capability negotiation, meaning that the media stream channel With the establishment of the media control channel, the initial establishment of the media service composition is completed.
其中,媒体能力的协商(包括媒体流通道和媒体控制通道的协商) 可能包含多次的 SIP和 SDP交互, 并且媒体流通道和媒体控制通道的 建立不分时间先后。  Among them, the negotiation of media capabilities (including negotiation of media stream channels and media control channels) may involve multiple SIP and SDP interactions, and the establishment of media stream channels and media control channels is not chronological.
本实施例中在媒体服务组合初始建立之后,对媒体服务控制消息 的处理过程与方法第一实施例中的处理过程类似, 此处不再赘述。  After the media service combination is initially established, the process of processing the media service control message is similar to the process in the first embodiment, and details are not described herein again.
综上所述,本发明实施例中由于组合功能实体通过媒体控制通道 对 MRS提供的媒体服务进行控制,所以可以使得 MRS能够根据 MRC 的要求向 MRC提供多种媒体业务, 即组合功能实体对各个 MRS提 供的媒体服务进行组合控制, 从而满足媒体业务的需求。  In summary, in the embodiment of the present invention, the combined function entity controls the media service provided by the MRS through the media control channel, so that the MRS can provide multiple media services to the MRC according to the requirements of the MRC, that is, the combined functional entity pairs The media services provided by MRS are combined and controlled to meet the needs of the media business.
下面对上述实施例中的 MRC以及 MRB进行单独描述, 请参阅 图 8, 本发明实施例中 MRC实施例包括: The MRC and MRB in the above embodiment are separately described below, please refer to 8, the MRC embodiment in the embodiment of the present invention includes:
请求消息产生单元 801 , 用于产生媒体服务请求消息;  a request message generating unit 801, configured to generate a media service request message;
控制消息产生单元 802, 用于产生媒体服务控制消息;  a control message generating unit 802, configured to generate a media service control message;
控制通道建立单元 803 , 用于与 MRS建立媒体控制通道; 组合功能单元 804, 用于对控制消息产生单元产生的媒体服务控 制消息进行组合,将组合后的媒体服务控制消息通过控制通道建立单 元建立的媒体控制通道发送至 MRS, 接收 MRS的反馈消息。  The control channel establishing unit 803 is configured to establish a media control channel with the MRS, and the combining function unit 804 is configured to combine the media service control messages generated by the control message generating unit, and establish the combined media service control message by using the control channel establishing unit. The media control channel is sent to the MRS to receive the MRS feedback message.
请参阅图 9, 本发明实施例中 MRB实施例包括:  Referring to FIG. 9, the MRB embodiment in the embodiment of the present invention includes:
请求消息接收单元 901 , 用于接收 MRC发送的媒体服务请求消 息;  a request message receiving unit 901, configured to receive a media service request message sent by the MRC;
查询单元 902, 用于根据 MRC发送的媒体服务请求消息指定提 供媒体服务的 MRS;  The query unit 902 is configured to specify, according to the media service request message sent by the MRC, an MRS that provides the media service;
第二控制通道建立单元 903 , 用于与所述指定的 MRS之间建立 媒体控制通道;  a second control channel establishing unit 903, configured to establish a media control channel with the specified MRS;
第二组合功能单元 904, 用于接收 MRC发送的媒体服务控制消 息, 对所述媒体服务控制消息进行组合, 将组合后的媒体服务控制消 息通过控制通道建立单元建立的媒体控制通道发送至 MRS , 接收 MRS的反馈消息, 将所述 MRS的反馈消息转发至 MRC。  The second combination function unit 904 is configured to receive a media service control message sent by the MRC, combine the media service control message, and send the combined media service control message to the MRS by using a media control channel established by the control channel establishing unit. Receiving a feedback message of the MRS, and forwarding the feedback message of the MRS to the MRC.
本领域普通技术人员可以理解实现上述实施例方法中的全部或 部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存 储于一种计算机可读存储介质中, 该程序在执行时, 包括如下步骤: 媒体资源客户端 MRC与媒体资源服务器 MRS之间建立媒体控 制通道后,  It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium. The method includes the following steps: after establishing a media control channel between the media resource client MRC and the media resource server MRS,
组合功能实体对 MRC发送的媒体服务控制消息进行组合; 所述组合功能实体将所述经过组合的媒体服务控制消息通过所 述媒体控制通道传输至所述 MRS, 所述经过组合的媒体服务控制消 息用以指示所述 MRS根据该经过组合的媒体服务控制消息提供所述 MRC所需的媒体服务。  The combined functional entity combines the media service control messages sent by the MRC; the combined functional entity transmits the combined media service control message to the MRS through the media control channel, the combined media service control message And used to instruct the MRS to provide a media service required by the MRC according to the combined media service control message.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可以通过硬件实现,也可以借助软件加必要的通用硬件平台 的方式来实现基于这样的理解,本发明的技术方案可以以软件产品的 形式体现出来, 该软件产品可以存储在一个非易失性存储介质(可以 是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得一台 计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本 发明各个实施例所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand The invention can be implemented by hardware, or can be realized by means of software plus necessary general hardware platform. The technical solution of the present invention can be embodied in the form of a software product, and the software product can be stored in a non-easy The cryptographic storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform various embodiments of the present invention. The method described.
以上对本发明所提供的一种媒体业务实现方法及通讯系统以及 相关设备进行了详细介绍, 对于本领域的一般技术人员, 依据本发明 实施例的思想, 在具体实施方式及应用范围上均会有改变之处, 综上 所述, 本说明书内容不应理解为对本发明的限制。  The foregoing describes a media service implementation method, a communication system, and related equipment provided by the present invention. For those skilled in the art, according to the idea of the embodiment of the present invention, there will be a specific implementation manner and application scope. The details of the description are not to be construed as limiting the invention.

Claims

权利要求 Rights request
1、 一种媒体业务实现方法, 其特征在于, 包括:  A method for implementing a media service, characterized in that:
媒体资源客户端 MRC与媒体资源服务器 MRS之间建立媒体控 制通道后,  After the media resource client MRC establishes a media control channel with the media resource server MRS,
组合功能实体对 MRC发送的媒体服务控制消息进行组合; 所述组合功能实体将所述经过组合的媒体服务控制消息通过所 述媒体控制通道传输至所述 MRS, 所述经过组合的媒体服务控制消 息用以指示所述 MRS根据该经过组合的媒体服务控制消息提供所述 MRC所需的媒体服务。  The combined functional entity combines the media service control messages sent by the MRC; the combined functional entity transmits the combined media service control message to the MRS through the media control channel, the combined media service control message And used to instruct the MRS to provide a media service required by the MRC according to the combined media service control message.
2、根据权利要求 1所述的方法,其特征在于,所述 MRC与 MRS 之间建立媒体控制通道之前包括:  2. The method according to claim 1, wherein before the establishing the media control channel between the MRC and the MRS, the method comprises:
媒体资源 broker MRB接收所述 MRC发送的媒体服务请求消息; 所述 MRB根据接收到的媒体服务请求消息指定提供媒体服务的 MRS„  The media resource broker MRB receives the media service request message sent by the MRC; the MRB specifies the MRS providing the media service according to the received media service request message.
3、 根据权利要求 2所述的方法, 其特征在于, 所述组合功能实 体置于 MRC中;  3. The method according to claim 2, wherein the combined function entity is placed in the MRC;
所述 MRC与 MRS之间建立媒体控制通道的方法包括:  The method for establishing a media control channel between the MRC and the MRS includes:
MRC向所述 MRS发起媒体控制通道建立请求; 所述 MRS由所 述 MRB向所述 MRC指定;  The MRC initiates a media control channel setup request to the MRS; the MRS is specified by the MRB to the MRC;
所述 MRS向 MRC反馈媒体控制通道建立响应;  The MRS establishes a response to the MRC feedback media control channel;
所述组合功能实体对 MRC发送的媒体服务控制消息进行组合的 步骤包括:  The step of combining the combined function entity to the media service control message sent by the MRC includes:
MRC 中的组合功能实体接收 MRC 中的控制消息产生单元产生 的媒体服务控制消息;  The combined function entity in the MRC receives the media service control message generated by the control message generating unit in the MRC;
所述组合功能实体对接收到的媒体服务控制消息进行组合,并向 所述 MRS发送组合后的媒体服务控制消息, 其中, 所述媒体服务控 制消息中包含所述 MRS处理的脚本信息或者命令信息。  The combined function entity combines the received media service control messages, and sends the combined media service control message to the MRS, where the media service control message includes the script information or command information of the MRS process. .
4、 根据权利要求 2所述的方法, 其特征在于, 所述组合功能实 体置于 MRB中; 所述 MRC与 MRS之间建立媒体控制通道的方法包括: 4. The method according to claim 2, wherein the combined functional entity is placed in the MRB; The method for establishing a media control channel between the MRC and the MRS includes:
MRC建立与 MRB之间的媒体控制通道;  The MRC establishes a media control channel with the MRB;
MRB建立与所述 MRS之间的媒体控制通道;  The MRB establishes a media control channel with the MRS;
所述组合功能实体对 MRC发送的媒体服务控制消息进行组合的 步骤包括:  The step of combining the combined function entity to the media service control message sent by the MRC includes:
MRB 中的组合功能实体对接收到的来自 MRC的媒体服务控制 消息进行解析;  The combined functional entity in the MRB parses the received media service control message from the MRC;
根据解析的结果从资源服务器获取对应的脚本或脚本执行引擎 指示;  Obtaining a corresponding script or script execution engine indication from the resource server according to the result of the parsing;
根据所述脚本或脚本执行引擎指示向所述 MRS发送控制信息。 The control information is sent to the MRS according to the script or script execution engine.
5、 根据权利要求 4所述的方法, 其特征在于, 所述根据脚本或 脚本执行弓 I擎指示向所述 MRS发送控制信息的步骤包括: The method according to claim 4, wherein the step of transmitting the control information to the MRS according to the execution of the script or the script includes:
组合功能实体根据所述脚本或脚本执行引擎指示执行脚本生成 媒体服务控制命令;  The combined function entity executes the script generation media service control command according to the script or the script execution engine instruction;
向所述 MRS发送所述媒体服务控制命令。  Sending the media service control command to the MRS.
6、 根据权利要求 4所述的方法, 其特征在于, 所述根据所述脚 本或脚本执行引擎指示向所述 MRS发送控制信息的步骤包括:  The method according to claim 4, wherein the step of transmitting control information to the MRS according to the script or script execution engine indication comprises:
组合功能实体根据所述脚本或脚本执行引擎指示执行脚本; 根据脚本执行结果重新构造新的媒体服务控制消息;  The combined function entity executes the script according to the script or script execution engine instruction; reconstructs a new media service control message according to the script execution result;
向所述 MRS发送所述新的媒体服务控制消息。  Sending the new media service control message to the MRS.
7、 根据权利要求 2所述的方法, 其特征在于, 所述组合功能实 体独立存在;  7. The method according to claim 2, wherein the combined function entity exists independently;
所述 MRC与 MRS之间建立媒体控制通道的步骤包括:  The steps of establishing a media control channel between the MRC and the MRS include:
MRC建立与组合功能实体之间的媒体控制通道;  The MRC establishes a media control channel between the combined functional entities;
组合功能实体建立与所述 MRS之间的媒体控制通道;  The combined function entity establishes a media control channel with the MRS;
所述组合功能实体对 MRC发送的媒体服务控制消息进行组合的 步骤包括:  The step of combining the combined function entity to the media service control message sent by the MRC includes:
组合功能实体对接收到的来自 MRC的媒体服务控制消息进行解 根据解析的结果从资源服务器获取对应的脚本或脚本执行引擎 指示; The combined functional entity solves the received media service control message from the MRC Obtaining a corresponding script or script execution engine indication from the resource server according to the result of the parsing;
根据所述脚本或脚本执行引擎指示向所述 MRS发送控制信息。 The control information is sent to the MRS according to the script or script execution engine.
8、 根据权利要求 7所述的方法, 其特征在于, 所述根据所述脚 本或执行引擎指示向所述 MRS发送控制信息的步骤包括: The method according to claim 7, wherein the step of sending control information to the MRS according to the script or the execution engine indication comprises:
组合功能实体根据所述脚本或脚本执行引擎指示执行脚本生成 媒体服务控制命令;  The combined function entity executes the script generation media service control command according to the script or the script execution engine instruction;
向所述 MRS发送所述媒体服务控制命令。  Sending the media service control command to the MRS.
9、 根据权利要求 7所述的方法, 其特征在于, 所述根据所述脚 本或执行弓 I擎信息向所述 MRS发送控制信息的步骤包括:  9. The method according to claim 7, wherein the step of transmitting control information to the MRS according to the script or the execution information includes:
组合功能实体根据所述脚本或脚本执行引擎指示执行脚本; 根据脚本执行结果重新构造新的媒体服务控制消息;  The combined function entity executes the script according to the script or script execution engine instruction; reconstructs a new media service control message according to the script execution result;
向所述 MRS发送所述新的媒体服务控制消息。  Sending the new media service control message to the MRS.
10、 根据权利要求 1 所述的方法, 其特征在于, 所述 MRC 与 MRS之间建立媒体控制通道的步骤之后包括:  10. The method according to claim 1, wherein the step of establishing a media control channel between the MRC and the MRS comprises:
MRB根据接收的新的媒体服务请求重新组合媒体服务。  The MRB reassembles the media service based on the received new media service request.
11、 根据权利要求 10所述的方法, 其特征在于, 所述 MRB根 据接收的新的媒体服务请求重新组合媒体服务的步骤包括:  The method according to claim 10, wherein the step of reassembling the media service by the MRB according to the received new media service request comprises:
MRB接收 MRC发送的包含特定的媒体服务类型的重邀请请求; 根据所述媒体服务类型指定提供所需服务的 MRS;  The MRB receives a re-invitation request sent by the MRC and includes a specific media service type; and specifies an MRS that provides a required service according to the media service type;
与所述指定提供所需服务的 MRS建立媒体控制通道;  Establishing a media control channel with the MRS designated to provide the required service;
 Or
MRB接收 MRC发送的包含特定的媒体服务类型的重邀请请求; 查询当前的 MRS中能够提供所述媒体服务的 MRS;  The MRB receives a re-invitation request sent by the MRC and includes a specific media service type; and queries an MRS in the current MRS that can provide the media service;
更新与所述查询到的能够提供所述媒体服务的 MRS之间的媒体 控制通道。  Updating a media control channel between the queried MRS capable of providing the media service.
12、 根据权利要求 10所述的方法, 其特征在于, 所述 MRB根 据接收的新的媒体服务请求重新组合媒体服务的步骤包括:  The method according to claim 10, wherein the step of reassembling the media service by the MRB according to the received new media service request comprises:
MRB接收 MRC发送的包含特定的媒体服务类型的重邀请请求; 根据所述媒体服务类型对媒体属性进行重新协商; 根据协商结果断开与所述媒体服务类型对应的 MRS的媒体控制 通道; The MRB receives a re-invitation request sent by the MRC that includes a specific media service type; Re-negotiating the media attribute according to the media service type; disconnecting the media control channel of the MRS corresponding to the media service type according to the negotiation result;
 Or
MRB接收 MRC发送的包含特定的媒体服务类型的重邀请请求; 根据所述媒体服务类型对媒体属性进行重新协商;  The MRB receives a re-invitation request sent by the MRC and includes a specific media service type; and renegotiates the media attribute according to the media service type;
根据协商结果更新与所述媒体业务类型对应的 MRS的媒体控制 通道。  Updating the media control channel of the MRS corresponding to the media service type according to the negotiation result.
13、 根据权利要求 10所述的方法, 其特征在于, 所述 MRB根 据接收的新的媒体服务请求重新组合媒体服务的步骤包括:  13. The method according to claim 10, wherein the step of reassembling the media service by the MRB according to the received new media service request comprises:
MRB接收 MRC发送的重邀请请求;  The MRB receives the re-invitation request sent by the MRC;
根据所述重邀请请求进行媒体属性重新协商;  Performing media attribute renegotiation according to the re-invitation request;
修改当前 MRS提供媒体服务的媒体能力属性。  Modify the media capability attribute of the current MRS to provide media services.
14、 一种通讯系统, 其特征在于, 包括:  14. A communication system, comprising:
MRC, 用于发送媒体服务控制消息, 建立媒体控制通道; MRS, 用于与 MRC建立媒体控制通道, 根据媒体服务控制消息 提供媒体服务;  The MRC is configured to send a media service control message, establish a media control channel, and use an MRS to establish a media control channel with the MRC, and provide a media service according to the media service control message;
组合功能实体, 用于组合媒体服务控制消息, 向 MRS提供媒体 服务控制消息, 接收 MRS对所述组合后的媒体服务控制消息的反馈 结果, 向 MRC发送所述反馈结果。  The combined function entity is configured to combine the media service control message, provide a media service control message to the MRS, receive a feedback result of the MRS on the combined media service control message, and send the feedback result to the MRC.
15、 根据权利要求 14所述的通讯系统, 其特征在于, 所述通讯 系统还包括:  The communication system according to claim 14, wherein the communication system further comprises:
MRB, 用于接收 MRC发送的媒体服务请求消息, 根据所需媒体 服务指定媒体资源服务器、 建立信令交互。  The MRB is configured to receive a media service request message sent by the MRC, specify a media resource server according to the required media service, and establish a signaling interaction.
16、 根据权利要求 15所述的通讯系统, 其特征在于, 所述组合 功能实体可以置于 MRC中, 也可以置于 MRB中, 也可以独立存在。  16. The communication system according to claim 15, wherein the combined functional entity may be placed in the MRC, or may be placed in the MRB, or may exist independently.
17、 一种组合功能实体, 其特征在于, 包括:  17. A combined functional entity, comprising:
通道建立单元, 用于建立传递媒体服务控制消息的媒体控制通 控制消息处理单元, 用于对接收到的媒体服务控制消息进行解 析, 执行以及构造; a channel establishing unit, configured to establish a media control pass for transmitting media service control messages a control message processing unit, configured to parse, execute, and construct the received media service control message;
接收单元, 用于接收 MRS对组合后的媒体服务控制消息的反馈 结果;  a receiving unit, configured to receive, by the MRS, a feedback result of the combined media service control message;
发送单元,用于根据控制消息处理单元对媒体服务控制消息的执 行的结果向 MRS发送组合后的媒体服务控制消息,向 MRC发送 MRS 的反馈结果。  And a sending unit, configured to send the combined media service control message to the MRS according to the result of the execution of the media service control message by the control message processing unit, and send the MRS feedback result to the MRC.
18、 根据权利要求 17所述的组合功能实体, 其特征在于, 所述 发送单元至少包括以下单元中的一种:  18. The combined functional entity according to claim 17, wherein the transmitting unit comprises at least one of the following units:
消息发送单元, 用于向 MRS发送经过重新构造的媒体服务控制 消息;  a message sending unit, configured to send the reconstructed media service control message to the MRS;
命令发送单元, 用于向 MRS发送控制消息处理单元对媒体服务 控制消息执行之后生成的媒体服务控制命令。  And a command sending unit, configured to send, to the MRS, a media service control command generated after the control message processing unit executes the media service control message.
19、 一种媒体资源客户端, 其特征在于, 包括:  19. A media resource client, characterized by comprising:
请求消息产生单元, 用于产生媒体服务请求消息;  a request message generating unit, configured to generate a media service request message;
控制消息产生单元, 用于产生媒体服务控制消息;  a control message generating unit, configured to generate a media service control message;
控制通道建立单元, 用于与 MRS建立媒体控制通道;  a control channel establishing unit, configured to establish a media control channel with the MRS;
组合功能单元,用于对控制消息产生单元产生的媒体服务控制消 息进行组合,将组合后的媒体服务控制消息通过控制通道建立单元建 立的媒体控制通道发送至 MRS, 接收 MRS的反馈消息。  The combined function unit is configured to combine the media service control messages generated by the control message generating unit, and send the combined media service control message to the MRS through the media control channel established by the control channel establishing unit to receive the MRS feedback message.
20、 一种 MRB, 其特征在于, 包括:  20. An MRB, comprising:
请求消息接收单元, 用于接收 MRC发送的媒体服务请求消息; 查询单元, 用于根据 MRC发送的媒体服务请求消息指定提供媒 体服务的 MRS;  a request message receiving unit, configured to receive a media service request message sent by the MRC, and a query unit, configured to specify, according to the media service request message sent by the MRC, an MRS that provides the media service;
第二控制通道建立单元, 用于与所述指定的 MRS之间建立媒体 控制通道;  a second control channel establishing unit, configured to establish a media control channel with the specified MRS;
第二组合功能单元, 用于接收 MRC发送的媒体服务控制消息, 对所述媒体服务控制消息进行组合,将组合后的媒体服务控制消息通 过控制通道建立单元建立的媒体控制通道发送至 MRS,接收 MRS的 反馈消息, 将所述 MRS的反馈消息转发至 MRC。 a second combination function unit, configured to receive a media service control message sent by the MRC, combine the media service control message, and send the combined media service control message to the MRS through the media control channel established by the control channel establishing unit, and receive MRS The feedback message forwards the feedback message of the MRS to the MRC.
PCT/CN2008/072217 2007-08-31 2008-08-29 Media service implementing method and communication system and associated devices WO2009030171A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710145739.1 2007-08-31
CN200710145739.1A CN101378391B (en) 2007-08-31 2007-08-31 Method and communication system for implementing medium service as well as relevant equipment

Publications (1)

Publication Number Publication Date
WO2009030171A1 true WO2009030171A1 (en) 2009-03-12

Family

ID=40421734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072217 WO2009030171A1 (en) 2007-08-31 2008-08-29 Media service implementing method and communication system and associated devices

Country Status (2)

Country Link
CN (1) CN101378391B (en)
WO (1) WO2009030171A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306420B (en) * 2014-06-27 2019-08-30 中兴通讯股份有限公司 Realize the method, apparatus played from Text To Speech cycle of business operations and server
CN107181723A (en) * 2016-03-11 2017-09-19 中兴通讯股份有限公司 A kind of media coding/decoding negotiation method and terminal device
CN107659415B (en) * 2016-07-25 2021-05-18 中兴通讯股份有限公司 Media resource management method and device for cloud conference

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155122A (en) * 1995-09-01 1997-07-23 计数设备公司 Distribution interactive multi-medium bussiness system
CN1756279A (en) * 2004-09-30 2006-04-05 阿尔卡特公司 Method to manage media resources providing services to be used by an application requesting a particular set of services
CN1968266A (en) * 2006-06-05 2007-05-23 华为技术有限公司 Resource management system and method for media resource server
CN101026617A (en) * 2006-02-18 2007-08-29 华为技术有限公司 Media resource scheduling method for IMS network
CN101026616A (en) * 2006-02-18 2007-08-29 华为技术有限公司 Multimedia subsystem based interactive media session establishing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155122A (en) * 1995-09-01 1997-07-23 计数设备公司 Distribution interactive multi-medium bussiness system
CN1756279A (en) * 2004-09-30 2006-04-05 阿尔卡特公司 Method to manage media resources providing services to be used by an application requesting a particular set of services
CN101026617A (en) * 2006-02-18 2007-08-29 华为技术有限公司 Media resource scheduling method for IMS network
CN101026616A (en) * 2006-02-18 2007-08-29 华为技术有限公司 Multimedia subsystem based interactive media session establishing system and method
CN1968266A (en) * 2006-06-05 2007-05-23 华为技术有限公司 Resource management system and method for media resource server

Also Published As

Publication number Publication date
CN101378391B (en) 2011-12-21
CN101378391A (en) 2009-03-04

Similar Documents

Publication Publication Date Title
WO2020063585A1 (en) Fusion communication system and interaction method therefor
CN110213652B (en) Audio and video data transmission method and device and storage medium
US8307049B2 (en) Method and device for obtaining media description information of IPTV services
US20060256748A1 (en) System and method for interworking between IMS network and H.323 network
CN101313554A (en) Interactive media session establishing system, method and apparatus based on IP multimedia subsystem
WO2006057897A2 (en) Push-to-talk apparatus and method for communication between an application server and media resource function processor
JP2009505609A (en) Method and apparatus for establishing multimedia communication session
WO2007068209A1 (en) A method, system and device for transmitting ims instant messages
US20120233334A1 (en) Shared media access for real time first and third party control
WO2008134955A1 (en) Method, system and apparatus for applying terminal capability information in iptv service
US20060239251A1 (en) Multi-user media client for communication devices
WO2008089694A1 (en) A method, a system and an equipment for obtaining the media stream protecting key in ims network
WO2008014695A1 (en) Method, device and system for allocating media resource
WO2007019777A1 (en) A session establish method and a session control node
WO2006008297A2 (en) Push to watch network element and software architecture
WO2009121284A1 (en) A method, system and gateway for supplying intelligent service
WO2009030171A1 (en) Media service implementing method and communication system and associated devices
EP4391611A1 (en) Information transmission method and apparatus
JP2011515980A (en) System and method for querying the status of a peer-to-peer multimedia connection in a communication system
WO2014043868A1 (en) Conference access method, device and system
JP4887366B2 (en) Device for controlling the implementation of functions in a service device belonging to the Internet communication network core
WO2009121310A1 (en) Method, system and device for selecting a gateway
Shibeshi et al. Using an RTSP Proxy to implement the IPTV Media Function via a streaming server
WO2011072594A1 (en) Method, device and system for processing venue resource
WO2011069450A1 (en) Method, system and apparatus for media control in ip multimedia subsystem

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

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

Country of ref document: EP

Kind code of ref document: A1