The present invention relates to the multimedia field, and in particular, to a media stream control method and device in a collaborative session.
In the SIP (Session Initiation Protocol) protocol, a multimedia session is formed by a group of multimedia senders and receivers and the data stream between the senders and the receivers. In a collaborative session scenario of an IMS (IP Multimedia Subsystem, IP multimedia subsystem), there are two or more UEs (User Equipment, user equipment) at the local end. A UE that initiates control operations, such as transferring, adding, and modifying media, is called a controller UE, and other UEs are called controllee UEs. When a multimedia session is described, an application layer protocol, SDP (Session Description Protocol) over SIP is used.
In a collaborative session, the controller UE may initiate IUT (Inter-UE Transfer, inter-UE transfer) operations, such as transferring, adding, or modifying media, to the controllee UE, and the media stream in the collaborative session is established on each UE of the collaborative session.
In the process of implementing the present invention, the inventor finds that the prior art has at least the following disadvantages:
In the prior art, when the media stream in the collaborative session is controlled, the media stream is established on each UE of the current session, which results in limited service experience.
To implement replication of media stream and improve the service experience, embodiments of the present invention provide a media stream control method and device in a collaborative session. The technical solutions are as follows:
In one aspect, a media stream control method in a collaborative session is provided and includes:
receiving a request that carries media stream replication information and is sent by a controller user equipment UE or a controllee UE, where the media stream replication information includes at least a media stream replication method and a media stream replication mode; and
controlling, according to the media stream replication information, replication of the media stream on the controller UE to the controllee UE.
In another aspect, a media stream control device in a collaborative session is provided and includes:
a receiving module, configured to receive a request that carries media stream replication information and is sent by a controller user equipment UE or a controllee UE, where the media stream replication information includes at least a media stream replication method and a media stream replication mode; and
a controlling module, configured to control replication of the media stream on the controller UE to the controllee UE according to the media stream replication information received by the receiving module.
The technical solutions of the embodiments of the present invention bring the following benefits:
The media stream replication information including contents, such as a media stream replication method and a media stream replication mode, is received, and according to the media stream replication information, the media stream on the controller UE is controlled to be replicated to the controllee UE. In this way, replication of the media stream is implemented, and the service experience can be improved.
To make the technical solutions of the embodiments of the present invention clearer, the accompanying drawings used in the description of the embodiments are briefly described hereunder. Evidently, the accompanying drawings illustrate only some embodiments of the present invention and persons of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
To make the purpose, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention are hereinafter described in detail with reference to the accompanying drawings.
Referring to
101. Receive a request that carries media stream replication information and is sent by a controller user equipment (UE) or a controllee UE, where the media stream replication information includes at least a media stream replication method and a media stream replication mode.
102. Control replication of the media stream on the controller UE to the controllee UE.
A device that implements the method provided in this embodiment is a media stream control device in a collaborative session. This embodiment does not impose specific limitation on the media stream control device in a collaborative session, and the device may be preferentially an SCC AS (Service Centralized and Continuity Application Server).
With the method provided in this embodiment, the media stream replication information including contents, such as a media stream replication method and a media stream replication mode, is received, and according to the media stream replication information, the media stream on the controller UE is controlled to be replicated to the controllee UE. In this way, replication of the media stream is implemented, and the service experience can be improved.
This embodiment provides a media stream control method in a collaborative session. In this method, media stream replication information is added by the means of extending the “a=” attribute in the SDP protocol, and the replication of the media stream in the collaborative session is controlled. The extended “a=” attribute in the SDP protocol is defined as follows:
a=3gpp.iutreplication: <method> <direction> <side> <receiver-address> <authorization-action>
<method> is a media stream replication method. This embodiment defines two network-based or device-based replication methods:
when <method>=nw, it indicates that the media stream replication method is a network-based replication method;
when <method>=ue, it indicates that the media stream replication method is a device-based replication method.
<direction> is a media stream replication mode. This embodiment defines two replication modes: pull and push:
when <direction>=pull, it indicates that the media stream replication mode is a pull mode;
when <direction>=push, it indicates that the media stream replication mode is a push mode.
<side> is an identity of a media stream related device. This embodiment defines three types of identities: receiver, replicator, and controller:
when <side>=receiver, it indicates that the identity of the media stream related device is a media stream receiver;
when <side>=replicator, it indicates the identity of the media stream related device is a media stream replicator;
when <side>=controller, it indicates the identity of the media stream related device is a media stream controller.
<receiver-address> is the address of a media stream receiver
when <receiver-address>=IP address of replicated-to UE, it indicates the address of the media stream receiver.
<authorization-action> is the authorization identifier of a media stream. This embodiment defines three types of identifiers: authorize, authorized, and not-authorized.
when <authorization-action>=authorize, it indicates “authorize”, indicating that the related replication of the media stream needs to be authorized by the controller UE;
when <authorization-action>=authorized, it indicates “authorized”;
when <authorization-action>=not-authorized, it indicates “not-authorized”.
In combination with the defined “a=” attribute in the SDP protocol, the method provided in this embodiment is described in detail based on the following example: In a collaborative session, a media stream control device is an SCC AS, a controller UE is a UE-1, a controllee UE is a UE-2, a replication mode is a PULL mode, and a replication method is a network-based media stream replication method. Referring to
201. A session exists between a controller UE (UE-1) and a remote UE and is anchored on an SCC AS, and a media stream is established between the UE-1 and the remote UE (UE-3).
202. A controllee UE (UE-2) determines to replicate the media stream on the UE-1.
203. The UE-2 obtains related session information of the UE-1 from a corresponding SCC AS.
The related session information includes information of the media stream established on the UE-1.
204-205. The UE-2 sends a SIP INVITE request to the SCC AS to execute a media stream replication operation.
Specifically, the SIP INVITE request content is shown in the following Table 1:
As shown in the above Table 1, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP INVITE request includes but is not limited to the following: The media stream replication method is a network-based replication method, the replication mode is a pull mode, and the identity of the media stream related device is a media stream receiver.
206. The SCC-AS interacts with an MRF (Media Resource Function, media resource function) according to the media stream information in the SIP INVITE request to allocate resources for the replication of the media.
207-208. The SCC AS returns a 200 OK response to the UE-2.
209-210. The UE-2 sends a SIP Acknowledgment (ACK) request to the SCC AS.
211-212. The SCC AS sends a SIP re-INVITE request to the UE-1.
The SIP re-INVITE request sent by the SCC AS to the UE-1 is used to refresh the media stream on the controller UE and instruct the controller UE to replicate media information, so that the controller UE authorizes the UE-2 and confirms whether the UE-2 can replicate the media stream. The content of the SIP re-INVITE request is shown in the following Table 2:
As shown in the above Table 2, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP re-INVITE request includes but is not limited to the following: The media stream replication method is a network-based replication method, the replication mode is a pull mode, the identity of the media stream related device is a media stream receiver, and the address of a UE that receives the media stream is 4444::aaa:bbb:ccc:eee. In addition, the SIP re-INVITE request requires the UE-1 to authorize the UE that receives the media stream.
213-214. The UE-1 returns a SIP 200 OK response to the SCC AS.
The specific content of the SIP 200 OK response is shown in the following Table 3:
As shown in the above Table 3, because the “a=” attribute in the SDP protocol carries an authorized authorization identifier, it indicates that the UE-1 already authorizes the UE-2 and the authorization succeeds, so as to indicate that the UE-2 can replicate the media stream.
215-216. The SCC AS returns a SIP ACK request to the UE-1.
217-219. The SCC AS sends a SIP re-INVITE request to a remote UE UE-3 to refresh the media stream on the remote UE-3.
220-222. The UE-3 returns a SIP 200 OK response to the SCC AS in response to the re-INVITE request.
223-225. The SCC AS returns a SIP ACK request to the UE-3.
So far, the whole procedure of media stream replication is ended, and the media stream on the UE-1 is successfully replicated to the UE-2.
With the method provided in this embodiment, the media stream replication information including contents, such as a media stream replication method and a media stream replication mode, is received, and according to the media stream replication information, the media stream on the controller UE is controlled to be replicated to the controllee UE. In this way, replication of the media stream is implemented, and the service experience can be improved. In addition, an authorization identifier is added to the media stream replication information, so that the controller UE can authorize the controllee UE, thereby guaranteeing session security.
This embodiment provides a media stream control method in a collaborative session. In this method, media stream replication information is also added by the means of extending the “a=” attribute in the SDP protocol, and the replication of the media stream in the collaborative session is controlled. The definition of the extended “a=” attribute in the SDP protocol is the same as that in the second embodiment, and this embodiment is also described by taking the following example: In a collaborative session, a media stream control device is an SCC AS, a controller UE is a UE-1, and a controllee UE is a UE-2. Different from the above second embodiment, this embodiment is described by taking a network-based media stream replication method in PUSH mode as an example. Referring to
301. A session exists between a controller UE (UE-1) and a remote UE-3 and is anchored on an SCC AS, and a media stream is established between the UE-1 and the remote UE-3.
302. The UE-1 determines to replicate the media stream to the UE-2.
303-304. The UE-1 sends a SIP REFER request to the SCC AS.
The content of the SIP REFER request is shown in the following Table 4:
As shown in the above Table 4, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP REFER request includes but is not limited to the following: A media stream replication method is a network-based replication method, a replication mode is a push mode, an identity of a media stream related device is a media stream controller, and an address of a UE that receives the media stream is 4444::aaa:bbb:ccc:eee.
305-306. The SCC AS returns a SIP 202 Accepted message to the UE-1 in response to the SIP REFER request.
307. The SCC-AS interacts with an MRF according to the media stream replication information carried in the SIP REFER request, to allocate resources for the replication of the media.
308-309. The SCC AS sends a SIP INVITE request to the UE-2 according to the information in the received SIP REFER request.
The SIP INVITE request sent by the SCC AS to the UE-2 is used to establish the replicated media stream, and the specific content is shown in the following Table 5:
As shown in the above Table 5, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP INVITE request includes but is not limited to the following: The media stream replication method is a network-based replication method, the replication mode is a push mode, and the identity of the media stream related device is a media stream receiver.
310-311. The UE-2 returns a SIP 200 OK response to the SCC AS.
312-313. The SCC AS returns a SIP ACK request to the UE-2.
314-315. The SCC AS sends a SIP re-INVITE request to the UE-1 to refresh the media stream on the UE-1.
316-317. The UE-1 returns a SIP 200 OK response to the SCC AS.
318-319. The SCC AS returns a SIP ACK request to the UE-1.
320-322. The SCC AS sends a SIP re-INVITE request to the UE-3 to refresh the media stream on the remote UE-3.
323-325. The UE-3 returns a SIP 200 OK response to the SCC AS.
326-327. The SCC AS returns a SIP ACK request to the UE-3.
329-330. The SCC AS sends a SIP NOTIFY request to the UE-1, to notify the UE-1 that the media replication triggered by the SIP REFER request succeeds.
331-332. The UE-1 returns a SIP 200 OK response to the SCC AS.
So far, the media stream replication procedure in push mode is ended, and the media stream on the UE-1 is successfully replicated to the UE-2.
With the method provided in this embodiment, the media stream replication information including contents, such as a media stream replication method and a media stream replication mode, is received, and according to the media stream replication information, the media stream on the controller UE is controlled to be replicated to the controllee UE. In this way, replication of the media stream is implemented, and the service experience can be improved.
This embodiment provides a media stream control method in a collaborative session. In this method, media stream replication information is also added by the means of extending the “a=” attribute in the SDP protocol, and the replication of the media stream in the collaborative session is controlled. The definition of the extended “a=” attribute in the SDP protocol is the same as that in the second embodiment, and this embodiment is also described by taking the following example: In a collaborative session, a media stream control device is an SCC AS, a controller UE is a UE-1, and a controllee UE is a UE-2. Different from the above second embodiment, this embodiment is described by taking a device-based media stream replication method in PULL mode as an example Referring to
401-404. The UE-2 sends a SIP INVITE request to a remote UE to request replicating the media stream on the remote UE.
The content of the SIP INVITE request is shown in the following Table 6:
As shown in the above Table 6, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP INVITE request includes but is not limited to the following: a media stream replication method is a device-based replication method, a replication mode is a pull mode, and an identity of a media stream related device is a media stream receiver.
405-408. The remote UE returns a SIP 200 OK response to the UE-2.
The content of the SIP 200 OK response is shown in the following Table 7:
As shown in the above Table 7, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP INVITE request includes but is not limited to the following: The media stream replication method is a device-based replication method, the replication mode is a pull mode, and the identity of the media stream related device is a media stream replicator.
409-412. The UE-2 returns a SIP ACK request to the remote UE.
So far, the media stream on the remote UE is successfully replicated to the UE-2.
With the method provided in this embodiment, the media stream replication information including contents, such as a media stream replication method and a media stream replication mode, is received, and according to the media stream replication information, the media stream on the controller UE is controlled to be replicated to the controllee UE. In this way, replication of the media stream is implemented, and the service experience can be improved.
This embodiment provides a media stream control method in a collaborative session. In this method, media stream replication information is also added by the means of extending the “a=” attribute in the SDP protocol, and the replication of the media stream in the collaborative session is controlled. The definition of the extended “a=” attribute in the SDP protocol is the same as that in the second embodiment, and this embodiment is also described by taking the following example: In a collaborative session, a media stream control device is an SCC AS, a controller UE is a UE-1, and a controllee UE is a UE-2. Different from the above second embodiment, this embodiment is described by taking a device-based media stream replication method in PUSH mode as an example Referring to
501. A session exists between a controller UE (UE-1) and a remote UE-3 and is anchored on an SCC AS, and a media stream is established between the UE-1 and the remote UE-3.
502. The UE-1 determines to replicate the media stream to the UE-2.
503-506. The UE-1 sends a SIP REFER request to the UE-2.
The content of the SIP REFER request is shown in the following Table 8:
As shown in the above Table 8, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP REFER request includes but is not limited to the following: A media stream replication method is a device-based replication method, a replication mode is a push mode, an identity of a media stream related device is a media stream controller, and an address of a UE that receives the media stream is 4444::aaa:bbb:ccc:eee.
507-510. The UE-2 returns a SIP 202 Accepted message to the UE-1 in response to the SIP REFER request.
511-514. The UE-2 sends a SIP REFER request to the UE-3.
The SIP INVITE request sent by the UE-2 to the UE-3 is used to establish the replicated media stream, and the specific content is shown in the following Table 9:
As shown in the above Table 9, the media stream replication information that is located in the extended “a=” attribute in the SDP protocol and that is in the SIP INVITE request includes but is not limited to the following: The media stream replication method is a device-based replication method, the replication mode is a push mode, and the identity of the media stream related device is a media stream receiver.
515-518. The UE-3 returns a SIP 200 OK response to the UE-2.
519-522. The UE-2 returns a SIP ACK request to the UE-3.
523-526. The UE-2 sends a media stream refresh notification to the UE-1.
527-530. The UE-1 returns a 200 OK response to the UE-2.
So far, the media stream replication procedure in push mode is ended, and the media stream on the UE-1 is successfully replicated to the UE-2.
With the method provided in this embodiment, the media stream replication information including contents, such as a media stream replication method and a media stream replication mode, is received, and according to the media stream replication information, the media stream on the controller UE is controlled to be replicated to the controllee UE. In this way, replication of the media stream is implemented, and the service experience can be improved.
Referring to
The media stream replication information carried in the request received by the receiving module 601 is defined in “a=” attribute in a Session Description Protocol (SDP).
The media stream replication information carried in the request received by the receiving module 601 further includes at least one piece of the following information: an identity of a media stream related device, an address of a media stream receiver, and an authorization identifier.
The request received by the receiving module 601 includes a Session Initiation Protocol (SIP) session establishment request or a SIP session transfer request. For a network-based media stream replication method in pull mode, the receiving module 601 is specifically configured to receive the request that carries the media stream replication information and is sent by the controllee UE, where in the media stream replication information, the media stream replication method is a network-based media stream replication method, the media stream replication mode is a pull mode, the identity of the media stream related device is a media stream receiver, the address of the media stream receiver is included, and the authorization identifier is authorize. Accordingly, the controlling module 602 is specifically configured to interact with a media resource entity according to the media stream replication information received by the receiving module 601, where the media resource entity allocates media stream resources on a media stream replicating device to the controllee UE; and return a SIP session establishment response to the controllee UE, where the SIP session establishment response carries media stream resource information.
Further, the controlling module 602 is further configured to send a SIP session modification request to the controller UE, where the SIP session modification request carries the media stream replication information including the address of the media stream receiver and the authorization identifier, so that the controller UE authorizes the controllee UE and refreshes media stream information on the controller UE.
For the network-based media stream replication method in push mode, the receiving module 601 is specifically configured to receive the request that carries the media stream replication information and is sent by the controller UE, where in the media stream replication information, the media stream replication method is a network-based media stream replication method, the media stream replication mode is a push mode, and the identity of the media stream related device is a media stream controller, and the media stream replication information further includes the address of the media stream receiver; and accordingly, the controlling module 602 is specifically configured to return a response to the controller UE; interact with a media resource entity according to the media stream replication information received by the receiving module 601, where the media resource entity allocates media stream resources on the controller UE to the controllee UE; and send a SIP session establishment request to the controllee UE, where the SIP session establishment request carries the media stream replication information.
For a device-based media stream replication method in pull mode, the receiving module 601 is specifically configured to receive the request that carries the media stream replication information and is sent by the controllee UE, where in the media stream replication information, the media stream replication method is a device-based media stream replication method, the media stream replication mode is a pull mode, and the identity of the media stream related device is a media stream receiver. Accordingly, the controlling module 602 is specifically configured to send, to a remote device, the request that is received by the receiving module 601 and carries the media stream replication information, where the remote device allocates media stream resources used for establishing the media stream; and return a response to the controllee UE, where the response carries the media stream resource information.
For the device-based media stream replication method in push mode, the receiving module 601 is specifically configured to receive the request that carries the media stream replication information and is sent by the controller UE, where in the media stream replication information, the media stream replication method is a device-based media stream replication method, the media stream replication mode is a push mode, and the identity of the media stream related device is a media stream controller, and the media stream replication information further includes the address of the media stream receiver. Accordingly, the controlling module 602 is specifically configured to forward the request to the controllee UE, where the request carries the media stream replication information.
The media stream control device in a collaborative session provided in this embodiment may be specifically an SCC AS, which is not limited in this embodiment.
With the media stream control device in a collaborative session provided in this embodiment, the media stream replication information including contents, such as a media stream replication method and a media stream replication mode, is received, and according to the media stream replication information, the media stream on the controller UE is controlled to be replicated to the controllee UE. In this way, replication of the media stream is implemented, and the service experience can be improved.
It should be noted that: when the media stream control device in a collaborative session provided by the above embodiment controls replication of the media stream, the division of the above functional modules is only described as an example; in actual applications, according to requirements, the above functions may be allocated to different functional modules to complete, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the media stream control device in a collaborative session provided by the above embodiment and the embodiment of the media stream control method in a collaborative session belong to the same concept. For the specific implementation process of the device, reference is made to the method embodiments, and details are not further described herein.
The sequence numbers of the above embodiments of the present invention are only for ease of description, and do not denote the preference of the embodiments.
Part of steps of the embodiments of the present invention may be implemented by software, and the corresponding software programs may be stored in a readable storage medium, such as a CD-ROM or a hard disk.
Although the present invention has been described in detail through some exemplary embodiments, the present invention is not limited to such embodiments. Any modifications, substitutions, and improvements made within the spirit and the principle of the present invention should fall within the protection scope of the present invention.
This application is a continuation of International Application No. PCT/CN2010/076005, filed on Aug. 13, 2010, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2010/076005 | Aug 2010 | US |
Child | 13766612 | US |