Embodiment
The embodiment of the invention has illustrated when the conversation initialization protocol message that carries media content is terminated in transmission network, but the media content in the message can't send to the situation of user terminal, 1), SIP signaling how in the following manner media content to be sent on the user terminal:, and in described SIP signaling, carry the media content of receiving by using in the pre-established session; 2), use the message informing mode outside the pre-established session signaling that media content is sent on the user terminal, described advice method can have multiple, for example, user plane messages, the SIP Message of chain of command or SIP Notification message, in addition, if the user contracts, can be to participate in function (PF, Participanting Function) notice, it also can be controlled function (CF, Controlling Function) notice.
For making those skilled in the art understand the embodiment of the invention better, the embodiment of the invention is described in detail below in conjunction with accompanying drawing.
Embodiment one, a kind of method of transmitting media content, the user terminal A that calling subscriber A is adopted and set up session connection between the PoC server A in advance, at Open Mobile Alliance (OMA, OpenMobile Alliance Push to Talk over Cellelus) in the PoC standard, be defined in and use SIP REFER message to call out in the pre-established session (Pre-established PoC Session), after the participant PoC server of the PoC user place network that makes a call (with attribution server meaning and effect basically identical) is received SIP REFER message, the entrained business information of SIP REFER message is put into newly-generated conversation initial invites (SIP INVITE) message relay supervention to send, the method flow of present embodiment specifically may further comprise the steps as shown in Figure 1:
Step 101, user terminal A generate SIP REFER message, and in SIP REFER message the embedding media content.
The SIP REFER message that step 102, user terminal A will be carried media content sends among the SIP/IP core net A.
Step 103, SIP/IP core net A participate in the PoC server of SIP REFER forwards to user A ownership on the function A.
Step 104, according to normal flow, the PoC server participates in function A and generates the SIP INVITE, and the media content in the SIP REFER message is continued to be embedded in the SIP INVITE.
Step 105, PoC server participate in function A and send the SIP INVITE in SIP/IP core net A.
Step 106~step 108, SIP/IP core net A are forwarded to the SIP INVITE on the PoC server controls function X by SIP/IP core net X, PoC server controls function X sends to the SIP INVITE among the SIP/IP core net X, and SIP/IP core net X is forwarded to the SIP INVITE in the called network.
Step 109, called network confirm that by SIP/IP core net X echo reply (200 OK) message is to PoC server controls function X.
Step 110, PoC server controls function X send 200 OK message to SIP/IP core net X.
Step 111~step 112, SIP/IP core net X send to the PoC server by SIP/IP core net A with 200 OK message and participate in function A.
Step 113~step 114, PoC server participation function A send 200 OK message by SIP/IP core net A and are given to user terminal A.
The embodiment of the invention is the method preferred embodiment, this embodiment is the mode that a kind of user terminal sends media content, described terminal has not only utilized the sip message that uses in the pre-established session to carry the media content that pre-established conversational terminal is received, but also utilizes the sip message that uses in the pre-established session to send or receiving media content.In addition, the message that the pre-established session of present embodiment is used does not limit uses the SIP signaling, can use RTP (RTP, Real-time Transport Protocol) or message session trunk protocol (MSRP, Message Session Relay Protocol) message, it also can be any expansion of described protocol message, for example, the SIP INVITE after the expansion, SIP REFER message, SIP MESSAGE message, SIP PUBLISH, SIP OPTION message, SIP INFO, SIP 2xx response message, SIP 1xx response message etc.
The method of embodiment two, a kind of transmitting media content, the employed user terminal B of the called subscriber B of present embodiment and set up pre-established session between the PoC server B, the PoC server participates in function B and carries the media content that needs transmission by the already used sip message of pre-established session, method flow specifically may further comprise the steps as shown in Figure 2:
Step 201, SIP/IP core net B send to the PoC server with the SIP INVITE of receiving and participate in function B, comprise media content in the SIP INVITE.
Step 202, in this scene, if user terminal B decision uses manual answer mode to accept SIPINVITE message, then the PoC server participates in function B and generates new SIP INVITE, specifically, the media content in the former SIP INVITE is continued to be embedded in the SIP INVITE of generation.
Step 203~step 204, PoC server participate in function B and send the SIP INVITE in SIP/IP core net B, and SIP/IP core net B is forwarded to the SIP INVITE on the user terminal B.
Step 205, user terminal B are shown to called subscriber B with media content after receiving the SIP INVITE.
Step 206~step 208, user terminal B generate 200 OK message, and this message is sent among the SIP/IP core net B, and SIP/IP core net B sends to the PoC server with 200 OK message and participates in function B.
Among above-mentioned two embodiment, after network equipment is received the sip message that comprises media content, and in another newly-generated sip message, increase corresponding media content.The type of message of former and later two sip messages can be different, but also may be identical.These sip messages that can carry media content comprise, SIPINVITE message, SIP REFER message, SIP MESSAGE message, SIP PUBLISH, SIPOPTION message, SIP INFO, SIP 2xx response message, SIP 1xx response message etc. are not limited to the above type of message of enumerating.The employed terminal of called subscriber B of the foregoing description two has been used manual answer mode, if the employed terminal of called subscriber B is used autoanswer mode in the following embodiments, OMA PoC stipulates should send a notification message to the user after server that the called subscriber belongs to is received the SIP INVITE of embedding media content, for example, connection message (connect message).
The method of embodiment three, a kind of transmitting media content, the method flow of present embodiment specifically may further comprise the steps as shown in Figure 3:
The SIP/IP core net B at step 301, called subscriber B place receives the SIP INVITE, has comprised media content in the described SIPINVITE message, and SIP/IP core net B sends to the SIP INVITE PoC server again and participates in function B.
Step 302~step 303, PoC server participate in function B and generate user plane messages, according to the OMAPoC regulation and stipulation user plane messages being sent to user terminal B announcement session more sets up, described user plane messages can be according to RTP/RTCP (RTCP Real-time Transport Control Protocol, Real-time Transport ControlProtocol) Kuo Zhan notification message, for example, connection message (Connect message), and user plane messages such as session generation control protocol (TBCP, Talk Burst Control Protocol) message.
Step 304~step 305, since user plane messages be not suitable for carrying media content, the PoC server participates in generating new SIP Message message after function B receives media content in the SIP INVITE, media content is embedded in the SIP Message message again, and SIP Message message is sent to user terminal B.
After step 306, user terminal B receive the SIP INVITE, media content is shown to called subscriber B.
Step 307~step 309, user terminal B generate 200 OK message, and this message is sent to SIP/IP core net B, and SIP/IP core net B sends to 200 OK message the PoC server again and participates in function B.
The foregoing description three is according to the part advantage of pre-established session, use user's part that the message of determining that processing is received according to autoanswer mode is set, in this case, pre-established conversational terminal can send non-sip message related service information is sent to user terminal under the autoanswer mode, also can comprise the situation that sends to pre-established conversational terminal from user terminal, for example, user plane messages.
In addition, under the user was set to manual answer mode, the embodiment of the invention was not used existing message bearing media content in the pre-established session, can well be used yet.
The method of embodiment four, a kind of transmitting media content, this embodiment sends media content by the notice of state, and method flow diagram specifically may further comprise the steps as shown in Figure 4:
Step 401~step 402, user terminal B participate in function B by SIP/IP core net B to the PoC server and send state subscription (SIP Subscribe) message, be used to subscribe to the PoC server and participate in the state variation that function B goes up generation, described subscribe message comprises the state of receiving media content of specifying.
In addition, the business information in the message of using in the pre-established session may be carried the state of receiving media content of specifying, and therefore can not send SIP Subscribe message.
Step 403 step 404, PoC server participate in function B and send 200 OK message by the SIP/IP core net to user terminal B.
Step 405, called subscriber B place SIP/IP core net B receive the SIP INVITE, have comprised media content in the described SIPINVITE message, and described SIP/IP core net B sends to the PoC server with the SIP INVITE and participates in function B.
Step 406~step 407, PoC server participate in function B generation user plane messages, and (for example, Connectmessage), according to OMA PoC standard user plane messages is sent to user terminal B again, announcement session is set up.
Step 408~step 409, PoC server participation function B have received the media content in the SIP INVITE, because user terminal B participates in function B to the PoC server and has subscribed to the media content state information, the PoC server participates in function B transmit status notice (SIP Notify) message and gives user terminal B, and media content is embedded SIP Notify message.
Step 410, user terminal B are shown to user B with media content after receiving SIP Notify message.
Step 411~step 413, user terminal B generate 200 OK message, this message is sent among the SIP/IP core net B again, SIP/IP core net B sends to the PoC server with 200 OK message and participates in function B, and the PoC server participates in function B and sends 200 OK message to called subscriber B by SIP/IP core net B.
The foregoing description four is at the subscribing mechanism on the attribution server, and in the present embodiment, the PoC server of user terminal B and user B ownership participates in having set up session in advance between the function B.Can not directly media content be sent to user terminal B because the PoC server participates in function B, so the PoC server participates in the newly-generated SIP Notify of function B message, and media content is embedded SIP Notify send to user terminal B.
According to the requirement of SIP Subscribe/Notify mechanism, general user's terminal B need subscribe to notice.In some cases, if carried the sign of indication subscription related information in the sip message that pre-established session is used, can substitute the effect of SIP Subscribe message like this, so can only occur carrying the SIP Notify message of media content in the flow process.
The method of embodiment five, a kind of transmitting media content, method flow specifically may further comprise the steps as shown in Figure 5:
Step 501, user terminal A generate SIP REFER message, and have embedded certain media content in SIP REFER message.
The SIP REFER message that step 502~step 503, user terminal A will be carried media content sends to SIP/IP core net A, and SIP/IP core net A participates in the PoC server that SIP REFER message sends to user A ownership in function A.
Step 504, the PoC server that belongs to according to normal flow user A participate in function A generation SIPINVITE message, specifically, the media content in the SIP REFER message are continued to be embedded in the SIPINVITE message.
The PoC server of step 505~step 507, user A ownership participates in function A and sends the SIP INVITE in SIP/IP core net A, and SIP/IP core net A is forwarded to the SIP INVITE on the PoC server controls function X by SIP/IP core net X.
Step 508, PoC server controls function X preserve the media content that comprises in the SIP INVITE, simultaneously the part of media content as state information are kept among the PoC server controls function X.
Step 509~step 510, PoC server controls function X send to the SIP INVITE among the SIP/IP core net X, SIP/IP core net X is forwarded to the SIP INVITE in the called network, and do not comprise media content in the described SIP INVITE this moment.
Step 511~step 517, called network send to PoC server controls function X by SIP/IP core net X with 200 OK message, PoC server controls function X sends to the PoC server by SIP/IP core net X and SIP/IP core net A with 200 OK message and participates in function A, the PoC server participate in function A by SIP/IP core net A with 200 OK forwards to user terminal A.
Step 518~step 519, SIP/IP core net X receive the SIP Subscribe message that user terminal B sends, and with this forwards to PoC server controls function X.
Step 520~step 521, PoC server controls function X send to 200 OK message among the SIP/IP core net X, SIP/IP core net X with 200 OK forwards in called network.
Step 522~step 523, PoC server controls function X generate SIP Notify message, and media content is embedded in the SIP Notify message.PoC server controls function X with SIP Notify forwards in SIP/IP core net X, SIP/IP core net X with SIP Notify forwards in called network.
Step 524~step 525, SIP/IP core net X receive the 200 OK message that user terminal B sends, and this message are sent to PoC server controls function X again.
The foregoing description five is to utilize the session status notification procedure on the Centralized Controller that media content is sent in the called network at the caller network side, the PoC server of user terminal A in the present embodiment and user A ownership participates in having set up session in advance between the function A, user terminal A uses SIP REFER message to carry the media content that will send, and calls out other called subscribers.
The method of embodiment six, a kind of transmitting media content, method flow specifically may further comprise the steps as shown in Figure 6:
After the SIP/IP core net B at step 601~step 602, called subscriber B place received the SIP INVITE, the centralized control server of media content Be Controlled session was preserved as state information, at this moment, did not comprise media content in the SIPINVITE message.SIP/IP core net B is forwarded to the PoC server with the SIP INVITE and participates on the function B.
Step 603~step 604, PoC server participate in function B generation user plane messages, and (for example, Connectmessage), according to OMA PoC standard user plane messages is sent to user terminal B again, announcement session is set up.
Step 605~step 607, user terminal B send SIP Subscribe message to SIP/IP core net B, are used to subscribe to the session state information of preserving on the centralized control server, comprise the state of receiving media content of specifying.SIP/IP core net B sends to SIP Subscribe message the PoC server again and participates in function B, and the PoC server participates in function B and SIP Subscribe message sent on the PoC server controls function of caller network side.
Step 608~step 611, SIP/IP core net B receive the SIP Notify message of carrying media content, this message is sent to the PoC server again and participate in function B, the PoC server participates in function B and by SIP/IP core net B SIP Notify message is sent on the user terminal B.
Step 612, user terminal B are shown to user B with media content after receiving SIP Notify message.
Step 613~step 616, user terminal B generate 200 OK message, and this message sent among the SIP/IP core net B, SIP/IP core net B sends to the PoC server with 200 OK response messages and participates on the function B, and the PoC server participates in function B and by SIP/IP core net B 200 OK message sent to called subscriber B.
Above-mentioned six embodiment are based on PoC service, and in addition, the embodiment of the invention also can be applicable to the scene that other media content can not be transferred to user terminal, and two kinds of following embodiment are more common application scenarioss.
The method of embodiment seven, a kind of transmitting media content, method flow diagram specifically may further comprise the steps as shown in Figure 7:
Step 701, user terminal A generate message 1, and in this message the embedding media content.Wherein, described message 1 be can the carrying media content any message.
The message 1 that step 702, user terminal A will be carried media content sends on the server A of user terminal A ownership.
Step 703, server A continue the media content in the message 1 to be embedded in the message 2, described message 2 be can the carrying media content any message.
The message that step 704, server A will be carried media content sends to called subscriber place network, and the called subscriber can obtain media content from the place network like this.
The method of embodiment eight, a kind of transmitting media content, method flow diagram specifically may further comprise the steps as shown in Figure 8:
The server B at step 801, user terminal B place receives the message of carrying media content, described message be can the carrying media content any message.
Step 802, server B generate new message, and the media content in the former message is continued to be embedded in this message.
Step 803, server B send to user terminal B with described message of carrying media content.
Step 804, user terminal B are shown to user B with media content after receiving described message.
The message of receiving among above-mentioned eight embodiment of carrying media content can send from user terminal, also can send from other network equipments.
In addition, network side can send to the message of carrying media content on the user terminal, also can send on other network equipments.
In addition, one of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to indicate relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, and this program may further comprise the steps when carrying out:
Network equipment receives first message of carrying media content, and the media content of receiving is embedded in second message, more described second message is transmitted.
Alternatively, described program can be as follows in the step of carrying out:
Receive the message of subscribing to the media content state, network equipment obtains the message of carrying described media content according to described media content state, more described message of carrying media content is transmitted.
Wherein, described storage medium can be ROM, RAM, magnetic disc or CD or the like.
Embodiment nine, a kind of network equipment, this equipment comprise receiving element 901 and embed unit 902.
Wherein, receiving element 901 is used to receive the message of carrying media content.
Wherein, the media content that embedding unit 902 is used for receiving embeds message, and the message of described embedding media content is transmitted.
The type of former and later two message can be different among the embodiment nine, also can be identical, these message that can carry media content comprise SIP INVITE, SIP REFER message, SIPMESSAGE message, SIP PUBLISH, SIP OPTION message, SIP INFO, SIP 2xx response message or SIP 1xx response message etc., are not limited to the above type of message of enumerating.In addition, embed the unit and can give user terminal or other network equipments the transmission of messages of embedding media content.
Embodiment ten, a kind of network equipment, this equipment comprise first receiving element 1001 and acquiring unit 1002.
Wherein, first receiving element 1001 is used to receive the message of subscribing to the media content state.
Wherein, acquiring unit 1002 is used for obtaining the message of carrying described media content according to the media content state of subscribing to, and described message of carrying media content is transmitted.
In addition, network equipment can also be realized with software with identical or corresponding function or hardware module except the implementation that the foregoing description nine and embodiment ten are provided.
In sum, because conversation starting terminal will be carried the message of media content and be sent to network equipment, network equipment embeds described media content in the follow-up message and transmits, can be transferred to user terminal, also can be transferred to other network equipments, be terminated at pre-established session network side with the media content that carries in the conversation request message in the prior art and compare, the embodiment of the invention just can send to user terminal with described media content by embedding media content in message, and then makes the media content under the pre-established session case to be used by normal users.
Another technical scheme in the such scheme has following advantage or beneficial effect: because network equipment is after receiving the message of subscribing to the media content state, can obtain the message of carrying described media content according to the media content state of subscribing to, then described message is transmitted, the embodiment of the invention can will send to user terminal under the pre-established session case with the corresponding media content of media content state by message like this, thereby also can make the media content under the pre-established session case to be used by normal users.
At last, because conversation starting terminal embeds media content and sends to network equipment in the message, network equipment embeds described media content in the follow-up message and sends to user terminal, be terminated at pre-established session network side with the media content that carries in the conversation request message in the prior art and compare, the embodiment of the invention just can send to user terminal with described media content by embedding media content in message, and then makes the media content under the pre-established session case to be used by normal users.
More than the method and the network equipment of the transmitting media content that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.