Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Embodiment one, describe in detail referring to Fig. 2, Fig. 2 is the method flow schematic diagram of present embodiment.
Step 301: receive the transfer request message that first terminal sends, medium to the second terminal in the dialogue of described first terminal and distant terminal is shifted in described transfer request message request, and comprises and be in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer.
The transfer request message that first terminal sends has comprised outside the contents such as behavior (media transferring is to another equipment), media transfer target device, media information to be transferred (for example medium type, medium are associated dialogue) of request, also comprise the media change that will be in hold mode before shifting after the transfer for continuing the indication of transmission state, after media transfer, need to propose to continue to be in before the transference requirement of the medium of hold mode.
The hold mode of medium (hold) comprises only transmission (sendonly), receives only (recvonly), (inactive) state does not take place not receive, and continues transmission state (resume) and comprises only transmission (sendonly), receives only (recvonly), transmission/reception (sendrecv) state.
The medium that first terminal request shifts can be the part or all of medium of session, do not influence the realization of the embodiment of the invention.
First terminal and second terminal can be to belong to same user or different user, do not influence the realization of the embodiment of the invention.
Step 302:, set up session with described second terminal according to described transfer request message.
Network side can be before the session of foundation and described second terminal, obtain the ability information of described second terminal earlier, as the medium type supported, coded system etc., send to second terminal again and set up the request message of session, request message has comprised the new relevant parameter (for example medium type, coded system etc.) of the medium that first terminal request shifts in the step 301, and this parameter is to advise according to second terminal unit ability that obtains; Request message can also comprise the indication of shifting back medium continuation transmission state, continues transmission medium to require second terminal.
Step 303: shift described medium to described second terminal, described medium comprise the medium that are in hold mode before the transfer.
Network side can be received the response message of second terminal earlier, shifts described medium to second terminal again.The response message of receiving second terminal has promptly been represented second terminal check and has been transferred described in the step 302 the new relevant parameter of medium, second terminal can receive described medium, then shift described medium to second terminal, described medium comprise the medium that are in hold mode before the transfer.
The medium that first terminal request shifts can be and the part of media of distance terminal session or whole medium.When the medium that first terminal request shifts are the part of media of session, can send updating message to described first terminal, updating message can include the relevant parameter that is transferred medium of second terminal check, indicates first terminal to stop the medium that transmission (transmission/reception) has migrated out.When the medium that first terminal request shifts are the whole medium of session, after promptly shifting, do not have first terminal will remain in first terminal with the medium of distant terminal session, network side then sends the session release message to first terminal, the session between the release and first terminal.
Network side also can send updating message to described distant terminal, can include the relevant parameter that is transferred medium of second terminal check, and the indication distant terminal continues transmission and is transferred medium after transfer; Can also comprise be in hold mode before will shifting after the transfer media change for continuing the indication of transmission state, serve as the continuation transmission state with the media change that is in hold mode before requiring distant terminal after transfer, will shift.
Sending under the situation of updating message to described first terminal, can upgrade first terminal and distant terminal simultaneously, perhaps also can upgrade the realization that a certain terminal does not influence the embodiment of the invention earlier.
The embodiment of the invention also can shift and continue to transmit between different terminal equipment for the medium that are in hold mode before continuing the indication of transmission state, make to shift by comprise the media change that is in hold mode before will shifting after the transfer in message.
Following examples two will describe each step of media transfer in conjunction with Fig. 3 in detail, and Fig. 3 is the method flow schematic diagram of the embodiment of the invention two, and network side is a concrete operations equipment with SCC AS.
Embodiment two,
Step 401:UE-1 decision will be arrived UE-2 with the media transfer in the UE session of opposite end, comprise the medium that are in hold mode.
The medium that need to shift can be one or more, can be the part or all of medium of session, do not influence the realization of the embodiment of the invention.
Step 402:UE-1 sends transfer request message (REFER) by CSCF to SCC AS, and to UE-2, transfer request message comprises and is in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer with media transfer in request.
UE-1 can send transfer request message to SCC AS by CSCF.CSCF provides the IMS conversation control function of core in the IMS network, can be divided into proxy call conversation control function entity (P-CSCF), service call session control function entity (S-CSCF), enquiry call conversation control function entity (I-CSCF) by its position and function:
■ P-CSCF (Proxy CSCF) be among the IMS with first tie point of user, agency (Proxy) is provided function, the request of promptly accepting business is also transmitted; P-CSCF also can provide user agent (UA) function, promptly interrupts under abnormal conditions and the independent SIP of generation session.
■ S-CSCF (Serving CSCF) is in the control core status in the IMS core net, be responsible for register and authentication and session control to UE, execution is at calling terminal and called end IMS user's basic session routing function, and according to the IMS triggering rule that the user contracts, the value-added service route that proceeds to AS when condition satisfies triggers and professional control alternately.
The critical point node of the similar IMS of ■ I-CSCF (Interrogating CSCF) provides topology hidden function between the user's service node distribution of this territory, routing inquiry and IMS territory.
The transfer request message that UE-1 sends to SCC AS has comprised outside the behavior (media transferring is to UE-2) of asking, media transfer target device, the media information to be transferred contents such as (dialogues that is associated as medium type, medium), also comprise be in hold mode before will shifting after the transfer media change for continuing the indication of transmission state, to propose before media transfer needs to continue transference behind the UE-2, to be in the requirement of the medium of hold mode, medium can be one or more, can be the part or all of medium of session, not influence the realization of the embodiment of the invention.
The described media change that is in hold mode after transfer before will shifting can be by being provided with Session Description Protocol (Session Description Protocol for the indication that continues transmission state, SDP) " a=" attribute of respective media is realized in the message body, perhaps also can be conversation initialized protocol (SIP) message, or other message formats, do not influence the realization of the embodiment of the invention.
In the IMS system, SDP is carried by the SIP signaling as message body, realizes the control that carrying is set up to IMS conversation media stream.It is call control signalling that IMS adopts the SIP signaling.SIP is an IMS key-course agreement, it is one of multimedia communications system framework agreement of IETF formulation, be be used to set up, the application layer protocol of change or ending multimedia session, cooperate with agreements such as RTP/RTCP, SDP, RTSP, DNS, finish session foundation and media negotiation among the IMS jointly; In case set up session, Media Stream will use Real-time Transport Protocol directly to transmit in bearing bed, can mutual flexibly multiple medium in a session.
State is that the medium of hold mode (hold) change to after transfer and continue transmission state (resume) before will shifting, and can continue transmission so that be in the medium of hold mode before shifting after transfer.
The hold mode of medium (hold) comprises only transmission (sendonly), receives only (recvonly), does not send (inactive) state that do not receive, continuing transmission state (resume) comprises only transmission (sendonly), receives only (recvonly), transmission/reception (sendrecv) state, be in before be about to shifting and only send (sendonly), receive only (recvonly), do not send the medium that do not receive (inactive) state do corresponding change after transfer, the regular setting of concrete change can be as following table:
State parameter before shifting |
Shift the back state parameter |
A=inactive (do not send and do not receive) |
A=sendonly (only sending) |
A=inactive (do not send and do not receive) |
A=recvonly (receiving only) |
A=inactive (do not send and do not receive) |
A=sendrecv (transmission/reception) |
A=sendonly (only sending) or a=recvonly (receiving only) |
A=sendrecv (transmission/reception) |
As above shown in the table, after transfer, can be exchanged into sendonly (only sending), recvonly (receiving only) or sendrecv (transmission/reception) state for the medium of inactive (do not send and do not receive) state before shifting; And be that the sendonly (only sending) or the medium of recvonly (receiving only) state can be exchanged into sendrecv (transmission/reception) state before shifting after transfer.
UE-1 and UE-2 belong to same user or different user, do not influence the realization of the embodiment of the invention.
Step 403:SCC AS is by the CSCF response message.
SCC AS can pass through the 202Accepted acknowledgement messaging.
Step 404:SCC AS obtains the ability information of UE-2 by CSCF.
SCC AS can obtain the ability information of UE-2 by OPTION message, and the ability information of UE-2 can comprise the medium type, coded system of support etc., and SCC AS carries out subsequent step after the ability of understanding UE-2.
Step 405:UE-2 replys SCC AS by CSCF.
UE-2 can reply SCC AS by 200 OK response messages, represents that promptly UE-2 has confirmed to be transferred the relevant parameter of medium, also is that UE-2 can receive and is transferred medium.
Step 406:SCC AS sends to UE-2 by CSCF and sets up the request message (INVITE) of session, and request message comprises the indication of shifting back medium continuation transmission state.
SCC AS sends to UE-2 and sets up the request message of session, and request message comprises the new relevant parameter (for example medium type, coded system etc.) that is transferred medium, and this parameter is to advise according to the UE-2 capacity of equipment that step 302 is obtained.
Request message also comprises the indication of shifting back medium continuation transmission state, continues transmission to require medium after transferring to UE-2.
Step 407:UE-2 replys SCCAS by CSCF.
UE-2 can reply SCC AS by 200 OK response messages.
Step 408:SCC AS sends updating message (re-INVITE) by CSCF to opposite end UE, and updating message comprises and is in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer.
Send the relevant parameter that is transferred medium that updating message includes second terminal check to opposite end UE, the indication distant terminal continues transmission and is transferred medium; Also comprise be in hold mode before will shifting after the transfer media change for continuing the indication of transmission state, serve as the continuation transmission state with the media change that is in hold mode before requiring distant terminal after transfer, will shift.
Step 409: opposite end UE replys SCC AS by CSCF.
Opposite end UE can reply SCC AS by 200 OK response messages,
Step 410:SCC AS sends updating message (re-INVITE) by CSCF to UE-1, indicates first terminal to stop to send/receiving the medium that migrated out.
Step 411:UE-1 replys SCC AS by CSCF.
UE-1 can reply SCC AS by 200 OK response messages.
The updating message that sends to UE-1 includes the relevant parameter that is transferred medium of second terminal check, indicates first terminal to stop to send/receiving the medium that migrated out.
Step 408, step 409 can be placed on the back of step 410, step 411 and carry out, and perhaps can carry out simultaneously, do not influence the realization of the embodiment of the invention.
If after the media transfer, there are not medium to remain in UE-1, be that UE-1 will transfer to UE-2 with all medium of distant terminal session, then network side will send session release message (Bye) to first terminal, discharge and UE-1 between session i.e. also not execution in step 410 and step 411.
The embodiment of the invention by in message, comprise be in hold mode before will shifting after the transfer media change for continuing the indication of transmission state, make that the medium that are in hold mode also can shift and continue to transmit between different terminal equipment.
For the embodiment of the invention more clearly is described, following examples three have been answered the incoming call of terminal C during at terminal A and terminal B conversation, will with the call transfer of the terminal B concrete application scenarios explanation embodiment of the invention on the terminal D.
Embodiment four,
Step 501: terminal A and terminal B conversation.
In step 502: terminal A and the terminal B conversation, answered the incoming call of third party's terminal C.
At this moment, terminal A will keep with the conversation of terminal B, i.e. the conversation of terminal A and terminal B is in hold mode.
Step 503: terminal A will with the call transfer of terminal B on terminal D, terminal D and terminal B continue conversation.
Terminal A can be different terminals with terminal D, and for example, terminal A can be a mobile phone, and terminal D can be a landline telephone.Terminal A and terminal D can be to belong to same user or different user, do not influence the realization of the embodiment of the invention.
Need to prove, for aforesaid each method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can be referring to the associated description of other embodiment.
A kind of method of media transferring more than is provided, and the embodiment of the invention also provides a kind of terminal, a kind of server and a kind of communication system, can media transferring.
A kind of terminal 600 can media transferring, and referring to Fig. 4, Fig. 4 is the structural representation of embodiment of the invention terminal, comprising:
Transmitting element 601, be used for sending transfer request message to network side, medium in the dialogue of described transfer request message request transfer and distant terminal are to another terminal, and comprise and be in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer;
Transmission unit 602 is used for receiving and/or sending medium;
Control unit 603 is used for after transmitting element 601 sends transfer request message, and control transmission unit 602 stops to receive and/or sending the medium that described transmitting element 601 requests are shifted.
The transmitting element 601 of described terminal sends to shift to network side and is in the transfer request message of the medium of hold mode to another terminal, request will be in the media transfer of hold mode to another terminal, and described transfer request message comprises and is in the media change of hold mode for continuing the indication of transmission state before will shifting after the transfer; Control unit 603 is after transmitting element 601 sends transfer request message, and control transmission unit 602 stops to receive and/or sending the medium that described transmitting element 601 requests are shifted.
Described terminal can also comprise:
Receiving element 604 is used for receiving the lastest imformation that network side sends before control unit 603 control transmission unit 602 stop to receive and/or send the medium of described transmitting element 601 request transfers.
The medium that terminal request shifts can be and the part of media of distance terminal session or whole medium.When if the medium that request is shifted are the part of media of session, then can receive the lastest imformation that network side sends, updating message can include through receiving the relevant parameter that is transferred medium of another terminal check of media transferring, and indicating terminal stops the medium that transmission (transmission/reception) has migrated out.If when the medium that request is shifted are the whole medium of session, after promptly shifting, do not have terminal to remain in terminal with the medium of distant terminal session, network side then will send the session release message to terminal, discharge and first terminal between session.
A kind of server 700 can media transferring, and referring to Fig. 5, Fig. 5 is the structural representation of embodiment of the invention server, comprising:
Receive transfer request unit 701, be used to receive the transfer request message that first terminal sends, medium to the second terminal in the dialogue of described first terminal and distant terminal is shifted in described transfer request message request, and comprises and be in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer;
Set up conversation element 702, be used for setting up session with described second terminal according to receiving the transfer request message that the transfer request unit receives;
Buanch unit 703 is used for shifting described medium to described second terminal after setting up conversation element 702 and setting up session with described second terminal, and described medium comprise the medium that are in hold mode before the transfer.
The reception transfer request unit 701 of described server is after receiving the transfer request message of medium to the second terminal that transfer that first terminal sends is in hold mode, and described transfer request message comprises and is in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer; Set up conversation element 702 and set up the request message of session, with the session of foundation with described second terminal to described second terminal transmission; Buanch unit 703 shifts described medium to described second terminal after setting up conversation element and setting up session with described second terminal, described medium comprise the medium that are in hold mode before the transfer.
Described server also comprises:
Indicating member 704 is used to indicate the distant terminal with described first terminal session to continue transmission medium to described second terminal.
A kind of communication system can media transferring, and referring to Fig. 6, Fig. 6 is the structural representation of embodiment of the invention system, comprising:
First terminal 801, be used for sending transfer request message to network side 803, described transfer request message request shift self with the distant terminal dialogue in medium to the second terminal 802, it is the indication of continuation transmission state that described transfer request message comprises the media change that is in hold mode before will shifting after the transfer;
Second terminal 802 is used to receive the medium that shift from described first terminal 801, and described medium comprise the medium that are in hold mode before the transfer;
Network side 803, be used to receive the transfer request message that first terminal 801 sends, medium to the second terminal 802 in described first terminal 801 and the distant terminal dialogue is shifted in described transfer request message request, and after the session of the transfer request message foundation that sends according to first terminal 801 that receives and second terminal 802, shift described medium to described second terminal 802, described medium comprise the medium that are in hold mode before the transfer.Also can be to sending updating message with the distant terminal of described first terminal 801 sessions, updating message comprises and is in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer;
Described communication system also comprises:
Distant terminal 804, the medium that are in hold mode before the described transfer that is used for 801 requests of first terminal are shifted continue to be transferred to second terminal 802.First terminal 801 of described system is after network side 803 sends the transfer request message that shifts medium to the second terminal 802 that is in hold mode, network side 803 sends to second terminal 802 and sets up the request message of session, after receiving the replying of second terminal 802, to sending updating message with the distant terminal of described first terminal session, updating message comprises and is in the indication of the media change of hold mode for the continuation transmission state before will shifting after the transfer; Distant terminal 804 is after the lastest imformation that receives network side 803, and the medium that are in hold mode before the described transfer with the 801 request transfers of first terminal send to second terminal 802.
Described communication system can also comprise:
When the medium that are in hold mode before the described transfer were the part of media of session, described network side 803 also was used for sending updating message to described first terminal; Described first terminal 801 also is used for after the lastest imformation that receives network side 803 transmissions, stops to transmit the medium that request is shifted.
The embodiment of the invention by in message, comprise be in hold mode before will shifting after the transfer media change for continuing the indication of transmission state, make that the medium that are in hold mode also can shift and continue to transmit between different terminal equipment.
One of ordinary skill in the art will appreciate that, realize all or part of flow process in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-OnlyMemory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
More than the methods, devices and systems of a kind of media transferring that the embodiment of the invention provided are 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.