CN101505310B - Session switching method - Google Patents

Session switching method Download PDF

Info

Publication number
CN101505310B
CN101505310B CN 200910127576 CN200910127576A CN101505310B CN 101505310 B CN101505310 B CN 101505310B CN 200910127576 CN200910127576 CN 200910127576 CN 200910127576 A CN200910127576 A CN 200910127576A CN 101505310 B CN101505310 B CN 101505310B
Authority
CN
China
Prior art keywords
media
terminal
application server
description information
response message
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN 200910127576
Other languages
Chinese (zh)
Other versions
CN101505310A (en
Inventor
高扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN 200910127576 priority Critical patent/CN101505310B/en
Publication of CN101505310A publication Critical patent/CN101505310A/en
Application granted granted Critical
Publication of CN101505310B publication Critical patent/CN101505310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for session transition. The method comprises the following steps that: a first terminal receives a request for changing the state of the session sent by an application server and constructs media description request information according to a preset rule; the first terminal determines that media description request information does not meet a preset precondition and returns a temporary response message in response to the application server, wherein the temporary response message carries the constructed media description request information; and the application server completes session transition according to the media description request information. Through the technical proposal, the application server can complete the session transition smoothly.

Description

Session switching method
Technical field
The present invention relates to the communications field, and especially, relate to a kind of session switching method.
Background technology
In correlation technique, based on session switching (Session mobility) flow process more complicated of precondition (Precondition), in existing standard, only have RFC 4032 standards that session switching flow process is stipulated.Session switching process in this standard as shown in Figure 1, user A and user B are by application server (Application Server, referred to as AS) set up session (namely, set up medium surface Media), subsequently, by the session switching user A is transferred to new user C by AS, and realizes the conversation between user A and the user C.In above-mentioned processing, AS sends the Re-INVITE request of not carrying media description (SDP) to user A, user A directly returns final response 200OK (Offer) to AS, media state among the SDP that carries in the 200OK message is the media state of current use, in order to use this SDP and the user C media of holding consultation.
As can be seen from the above description, there is following problem in above-mentioned processing procedure:
1, user A is in the SDP that the 200OK response message carries, (for example can increase new media composition, video components etc.), perhaps become the more code/decode format of high bandwidth requirement of component selections for existing media, above-mentioned processing need to be carried out extra resource reservation, consider Precondition, before Precondition does not determine to satisfy the current media state, the media parameter of session can not directly be switched when returning the 200OK response message, therefore, directly to return herein the 200OK response message be inappropriate to user A;
2, there is the hidden danger of media negotiation aspect in the code/decode format that does not have the total medium that carried terminal supports in the 200OK response message.For example, the media code/decode format itself supported of the media code/decode format supported of user A and user C exists and occurs simultaneously.But, because the media code/decode format of the current use of A is the selected media code/decode format after consulting with user B.And this herein the media code/decode format supported of selected media code/decode format and user C may not occur simultaneously, and cause media negotiation unsuccessful, can not realize the session switching.
Can find out that from foregoing description there is defective in actual applications in the session switching handling process that the RFC4032 standard is recommended, might cause the session switching to carry out.
Summary of the invention
Thereby considering that the switching of session in correlation technique flow processing exists the code/decode format that do not carry total medium and terminal to send not finish resource reservation before the 200OK response message causes the session failed problem of switching and proposes the present invention, for this reason, main purpose of the present invention is to provide a kind of session switching method, to solve the problems referred to above of existing in the correlation technique one of at least.
To achieve these goals, according to an aspect of the present invention, provide a kind of session switching method, be used for after first terminal and the second terminal are set up session, application server is transferred to third terminal with first terminal.
Session switching method according to the present invention comprises: first terminal receives the change session status request that application server sends, and according to pre-defined rule structure request media description information; First terminal determines that the request media description information does not satisfy preset precondition, and returns Temporary Response message to application server, wherein, carries the request media description information of structure in the Temporary Response message; Application server is finished the session switching according to the request media description information.
Preferably, according to pre-defined rule structure request media description information comprise following one of at least: according to the first pre-defined rule the media composition is set; According to the second pre-defined rule code/decode format is set; According to the 3rd pre-defined rule media state is set.
Preferably, also carry preset precondition in the request media description information.
Preferably, the first pre-defined rule comprises: do not need to increase in the situation of media composition the user, keep existing media composition; Need to increase the user in the situation of media composition, increase corresponding new media composition.
Preferably, the second pre-defined rule comprises: in the situation that does not increase the new media composition, carry whole code/decode formats that existing media become branch to support; In the situation that has increased the new media composition, carry existing media composition becomes branch to support with new media whole code/decode formats.
Preferably, the 3rd pre-defined rule comprises: the bandwidth that newly-increased code/decode format requires in having the media composition now is no more than in the situation that has the bandwidth of separating the coded format requirement, and media state is set to constant; The bandwidth that increases the code/decode format requirement in existing media composition newly surpasses in the situation that has the bandwidth of separating the coded format requirement, and media state need to be set to resource reservation; Share in the situation that bandwidth that the resource reserved and new media composition require is no more than the bandwidth that existing media composition requires at new media composition and existing media composition, media state is set to constant; Bandwidth in new media composition and the shared resource of reserving of existing media composition and the requirement of new media composition surpasses in the situation of the bandwidth that has the requirement of media composition now, and media state need to be set to resource reservation; Be that media state need to be set to resource reservation in the single resource situation about reserving at the new media composition.
Preferably, need in the situation of resource reservation to be set at media state, said method further comprises: increase the particular community row in media state, wherein, the particular community row is used for expression needs third terminal to confirm media state.
Preferably, said method also comprises: the media description information at structure satisfies in the situation of preset precondition, and first terminal sends final response message to application server.
Preferably, Temporary Response message is 183, and final response message is 200OK.
Preferably, the processing that application server is finished the session switching according to media description information comprises: application server will ask media description information to send to third terminal, and receive the response message that carries the response media description information that third terminal returns; Application server will respond media description information and send to first terminal, and receive the response message that first terminal returns; Application server sends the affirmation message that has received the response media description information to third terminal, and receives the response message that third terminal returns; Third terminal is finished resource reservation, by application server notification message is sent to first terminal, and receives the response message that first terminal returns by application server; The third terminal ring, and to application server transmission acknowledge message; First terminal confirms that media switch, and sends acknowledge message to application server, and receives the response message that application server sends; The third terminal off-hook sends acknowledge message to application server, and receives the response message that application server sends.
By means of technical scheme of the present invention, by sending Temporary Response message to application server, and in Temporary Response message, carry whole solution encoding format information, exist the code/decode format that do not carry total medium and terminal to send not finish resource reservation before the 200OK response message and cause the failed problem of session switching thereby solved session switching flow processing in the correlation technique, transfer so that application server can carry out session smoothly.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, and consists of the part of specification, is used for together with embodiments of the present invention explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 carries out the signaling process figure that the session switching is processed in the correlation technique;
Fig. 2 is the flow chart according to the session switching method of the embodiment of the invention;
Fig. 3 is the signaling process figure that processes in detail according to the session switching method of the embodiment of the invention.
Embodiment
Functional overview
As mentioned above, in correlation technique, thereby existing session switching flow processing not carry the code/decode format of total medium and terminal sends and does not finish resource reservation before the 200OK response message and cause the failed problem of session switching, for this reason, the invention provides a kind of session switching method: for user terminal when receiving the Re-INVITE that does not carry SDP and switch, the media that should carry current use in response message become whole code/decode formats of branch support, in actual applications, generally automatically do not introduce new media composition, unless user intention is arranged, then increases new media composition.Newly-increased code/decode format (may also increase simultaneously the media composition newly) will need more bandwidth, and need extra resource reservation this moment, considers Preconditon, and the media state that tackle SDP this moment arranges by virtual condition.Consider that if do not satisfy Preconditon session is switched and will be suspended, so user terminal final response 200OK can not be directly returned, and Temporary Response 183 need to be returned.
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, is not intended to limit the present invention.
In the following description, for the purpose of explaining, a plurality of specific details have been described, to provide thorough understanding of the present invention.Yet, obviously, do not having can to realize the present invention in the situation of these specific detail yet, in addition, in the situation that does not deviate from the spirit and scope that claims illustrate, among following embodiment and the embodiment each details can be carried out various combinations.
Embodiment of the method
According to embodiments of the invention, a kind of session switching method is provided, be used for after first terminal (user A) and the second terminal (user B) are set up session, application server is transferred to third terminal (user C) with first terminal.Fig. 2 is the flow chart according to the session switching method of the embodiment of the invention, as shown in Figure 2, comprises following processing (step S202-step S206):
Step S202, first terminal receives the change session status request that application server sends, and according to pre-defined rule structure request media description information, wherein, also carries preset precondition in the request media description information;
In actual applications, first terminal need to arrange the media composition according to the first pre-defined rule; According to the second pre-defined rule code/decode format is set; According to the 3rd pre-defined rule media state is set.
Below, above-mentioned the first pre-defined rule, the second pre-defined rule and the 3rd pre-defined rule are described in detail.
The first pre-defined rule
1, do not need to increase in the situation of media composition the user, keep existing media composition, that is to say, in general situation, all keep existing media components unchanged;
2, need to increase in the situation of media composition the user, increase corresponding new media composition.
The second pre-defined rule
1, in the situation that does not increase the new media composition, carry whole code/decode formats that existing media become branch to support, that is, incomplete the replenishing of existing media composition code/decode format is complete or collected works;
2, in the situation that has increased the new media composition, carry existing media composition becomes branch to support with new media whole code/decode formats, that is, after will having the incomplete additional complete or collected works of being of media composition code/decode format now, increase again media composition code/decode format newly and be set to complete or collected works.
The 3rd pre-defined rule
1, the bandwidth that newly-increased code/decode format requires in having the media composition now is no more than in the situation that has the bandwidth of separating the coded format requirement, and media state is set to constant;
2, the bandwidth that increases the code/decode format requirement newly in existing media composition is above in the situation that has the bandwidth of separating the coded format requirement, and media state need to be set to resource reservation (for example, can be set to none);
3, share in the situation that bandwidth that the resource reserved and new media composition require is no more than the bandwidth that existing media composition requires at new media composition and existing media composition, media state is set to constant;
4, the bandwidth in new media composition and the shared resource of reserving of existing media composition and the requirement of new media composition surpasses in the situation of the bandwidth that has the requirement of media composition now, and media state need to be set to resource reservation (for example, can be set to none);
5, be that media state need to be set to resource reservation (for example, can be set to none) in the situation of single resource reservation at the new media composition;
6, need to be set in the situation of resource reservation at media state, to increase particular community row (for example, Conf is capable) in media state, this particular community row is used for expression needs third terminal to confirm media state.
Step S204, first terminal determine that the request media description information does not satisfy preset precondition, and return Temporary Response message (for example, 183 message) to application server, wherein, carry the request media description information of structure in the Temporary Response message;
In step S204, satisfy in the situation of preset precondition at the media description information of constructing, first terminal sends final response message (for example, 200OK message) to application server.
Description from step S204 can be found out, when first terminal sends response message to application server, follows following rule:
If among the 1 structure SDP well, do not satisfy Precondition, then need to send 183 message;
If among the 2 structure SDP well, satisfy Precondition, then directly use 200OK message.
Step S206, application server is finished the session switching according to the request media description information.
Particularly, the application server processing of finishing session switching according to media description information comprises:
1, application server will ask media description information (Offer SDP) to send to third terminal, and receive the response message that carries response media description information (AnswerSDP) that third terminal returns;
2, application server will respond media description information and send to first terminal, and receive the response message that first terminal returns;
3, application server sends the affirmation message that has received the response media description information to third terminal, and receives the response message that third terminal returns;
4, third terminal is finished resource reservation, by application server notification message is sent to first terminal, and receives the response message that first terminal returns by application server;
5, third terminal ring, and to application server transmission acknowledge message; First terminal confirms that media switch, and sends acknowledge message to application server, and receives the response message that application server sends;
6, third terminal off-hook sends acknowledge message to application server, and receives the response message that application server sends.
Below in conjunction with accompanying drawing, technique scheme is described in detail, Fig. 3 is the signaling process figure that processes in detail according to the session switching method of the embodiment of the invention, as shown in Figure 3,
Comprise following processing:
Step 1, AS initiates switching, sends the Re-INVITE signaling to user A, does not carry SDP (corresponding to the step S202 among Fig. 2) in the Re-INVITE signaling;
Step 2, user A wherein, carries Offer SDP to 183 message of AS transmission in response to the Re-INVITE signaling in 183 message, in the unsatisfied situation of Precondition, also carry Conf capable (corresponding to the step S204 among Fig. 2) in 183 message;
Step 3, AS sends to user C (the step S206 the step corresponding diagram 2 below step 3) with Offer SDP by INVITE;
Step 4, user C sends 183 message in response to the INVITE signaling to AS, and carries Answer SDP in 183 message;
Need to prove that user C receives this SDP by the INVITE of step 3, is brand-new calling for user C, and therefore, user C also needs resource reservation, and then the 4th step also sent 183.
Step 5, AS sends to user A with this Answer SDP by the PRACK signaling, and user A returns the 200OK of PRACK message to AS;
Step 6, AS returns the PRACK signaling to 183 message in the step 4, returns simultaneously the 200OK message of PRACK signaling to user C;
Step 7, user C resource reservation is finished, and by UPDATE notice AS;
Need to prove that user C notifies the user A by UPDATE after resource reservation is finished, is because user A needs user C to confirm media state (carrying the Conf property column).
Step 8, AS transmits UPDATE to user A;
Step 9, user A returns the 200OK of UPDATE signaling to AS;
Step 10, AS transmits above-mentioned 200OK to user C;
Step 11, user C ring, and send 180 message to AS;
Step 12, user A is satisfying in the situation of Precondition, confirms that media switch, and sends the 200OK of Re-INVITE message to AS;
Step 13, AS returns ACK message in response to 200OK to user A;
Step 14, user C off-hook, and send the 200OK of INVITE to AS;
Step 15, AS returns ACK message in response to 200OK to user C;
Need to prove that after user A satisfies Precondition, switch by these media of the final response confirmation of the 200OK in the step 12, user C is behind user's off-hook (200OK of corresponding step 14), user A, user C enter conversation.
In sum, by means of technical scheme of the present invention, by sending Temporary Response message to application server, and in Temporary Response message, carry whole solution encoding format information, do not carry the code/decode format of total medium and terminal and send and do not finish resource reservation before the 200OK response message and cause the failed problem of session switching thereby solved session switching flow processing in the correlation technique, transfer so that application server can carry out session smoothly.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. session switching method is used for after first terminal and the second terminal are set up session, and application server is transferred to third terminal with described first terminal, it is characterized in that, described method comprises:
Described first terminal receives the change session status request that described application server sends, and according to pre-defined rule structure request media description information, wherein, according to described pre-defined rule structure described request media description information comprise following one of at least: according to the first pre-defined rule the media composition is set, according to the second pre-defined rule code/decode format is set, according to the 3rd pre-defined rule media state is set, described the first pre-defined rule comprises: do not need to increase in the situation of media composition the user, keep existing media composition; Need to increase described user in the situation of media composition, increase corresponding new media composition;
Described first terminal determines that the described request media description information does not satisfy preset precondition, and returns Temporary Response message to described application server, wherein, carries the described request media description information of structure in the described Temporary Response message;
Described application server is finished the session switching according to the described request media description information, and wherein, described application server sends to described third terminal with the described request media description information by INVITE.
2. method according to claim 1 is characterized in that, also carries described preset precondition in the described request media description information.
3. method according to claim 1 is characterized in that, described the second pre-defined rule comprises:
In the situation that does not increase the new media composition, carry whole code/decode formats that existing media become branch to support;
In the situation that has increased described new media composition, carry described existing media composition becomes branch to support with described new media whole code/decode formats.
4. method according to claim 1 is characterized in that, described the 3rd pre-defined rule comprises:
The bandwidth that newly-increased code/decode format requires in having the media composition now is no more than in the situation that has the bandwidth of separating the coded format requirement, and described media state is set to constant;
In the situation of the bandwidth that the bandwidth that newly-increased code/decode format described in the described existing media composition requires requires above described existing solution coded format, described media state need to be set to resource reservation;
Share in the situation that bandwidth that the resource reserved and described new media composition require is no more than the bandwidth that described existing media composition requires at new media composition and described existing media composition, described media state is set to constant;
In the situation of bandwidth above the bandwidth of described existing media composition requirement of described new media composition and the shared resource of reserving of described existing media composition and the requirement of described new media composition, described media state need to be set to resource reservation;
Be that described media state need to be set to resource reservation in the single resource situation about reserving at described new media composition.
5. method according to claim 4 is characterized in that, need to be set in the situation of resource reservation at described media state, and described method further comprises:
Increase the particular community row in described media state, wherein, described particular community row is used for expression needs described third terminal to confirm described media state.
6. method according to claim 1 is characterized in that, described method also comprises:
Described media description information at structure satisfies in the situation of described preset precondition, and described first terminal sends final response message to described application server.
7. method according to claim 6 is characterized in that, described Temporary Response message is 183, and described final response message is 200OK.
8. method according to claim 7 is characterized in that, the processing that described application server is finished the session switching according to described media description information comprises:
Described application server sends to described third terminal with the described request media description information, and receives the response message that carries the response media description information that described third terminal returns;
Described application server sends to described first terminal with described response media description information, and receives the response message that described first terminal returns;
Described application server sends the affirmation message that has received the response media description information to described third terminal, and receives the response message that described third terminal returns;
Described third terminal is finished resource reservation, by application server notification message is sent to described first terminal, and receives the response message that described first terminal returns by described application server;
Described third terminal ring, and to described application server transmission acknowledge message;
Described first terminal confirms that media switch, and sends acknowledge message to described application server, and receives the response message that described application server sends;
Described third terminal off-hook sends acknowledge message to described application server, and receives the response message that described application server sends.
CN 200910127576 2009-03-16 2009-03-16 Session switching method Active CN101505310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910127576 CN101505310B (en) 2009-03-16 2009-03-16 Session switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910127576 CN101505310B (en) 2009-03-16 2009-03-16 Session switching method

Publications (2)

Publication Number Publication Date
CN101505310A CN101505310A (en) 2009-08-12
CN101505310B true CN101505310B (en) 2013-03-27

Family

ID=40977376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910127576 Active CN101505310B (en) 2009-03-16 2009-03-16 Session switching method

Country Status (1)

Country Link
CN (1) CN101505310B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075494B (en) * 2009-11-20 2014-02-26 华为终端有限公司 Method and device for establishing federated session
CN102006273B (en) * 2010-04-28 2014-06-11 中兴通讯股份有限公司 Method and system for controlling voice prompt in call
CN102299908B (en) * 2010-06-24 2014-11-05 中兴通讯股份有限公司 Method and system for realizing media switching among users

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291459A (en) * 2008-06-03 2008-10-22 中兴通讯股份有限公司 System and method for call service console to implement recovery after keeping in IMS network
CN101291328A (en) * 2008-05-30 2008-10-22 中兴通讯股份有限公司 Calling status switching system and switching method in IP multimedia subsystem

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291328A (en) * 2008-05-30 2008-10-22 中兴通讯股份有限公司 Calling status switching system and switching method in IP multimedia subsystem
CN101291459A (en) * 2008-06-03 2008-10-22 中兴通讯股份有限公司 System and method for call service console to implement recovery after keeping in IMS network

Also Published As

Publication number Publication date
CN101505310A (en) 2009-08-12

Similar Documents

Publication Publication Date Title
US9106716B2 (en) Method, apparatus, and system for cross-platform conference convergence
CN101472235B (en) Multi-terminal communication method, system and device
CN101217601B (en) A blind transferring operation method and device
CN109428854A (en) It is a kind of based on wide and narrow strip fusion call processing method, apparatus and system
CN101453524B (en) Multimedia service implementing method
CN102215238A (en) Service processing method and system fused with video conference and user terminal
CN101548556A (en) System for establishing and managing multimedia poc session for performing multimedia call service, method thereof, and user equipment therefor
CN101217600A (en) A method and device of inquiring transferring operations
CN104486293A (en) Media negotiation method and system based on network and terminal capability under wireless VoIP (Voice Over Internet Protocol) environment
CN101383826A (en) Method, apparatus and system for media stream control transferring
CN102111387A (en) Method for transferring control power in conference state and user equipment
CN105706410A (en) Methods and user equipments for exchanging service capabilities
CN101160983B (en) Data flow processing method, device and system
CN101389059B (en) Method, and device for implementing session mode switching
CN101227526B (en) Method and apparatus for implementing blind transfer business
CN101505310B (en) Session switching method
CN103702063A (en) Method for realizing dynamic media negotiation in video conference system
CN106797379A (en) Use the TeleConference Bridge of synthesis identifier
CN101459533B (en) System and method for improved application server disaster tolerance in next generation network
CN103517463A (en) Home gateway, voice communication method and apparatus
CN103795958A (en) Multimedia call negotiation method, system and video interworking gateway, multimedia terminal
US8923280B2 (en) Method and apparatus for selecting domain for voice call continuity in mobile communication system
CN101729434B (en) Method for realizing message interaction and convergence service system
CN101668008B (en) Transfer operation-containing communication method, device and system
US8068128B2 (en) Visual communication server and communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant