CN101854372B - Method and device for controlling session media type during click to call - Google Patents
Method and device for controlling session media type during click to call Download PDFInfo
- Publication number
- CN101854372B CN101854372B CN200910130034.1A CN200910130034A CN101854372B CN 101854372 B CN101854372 B CN 101854372B CN 200910130034 A CN200910130034 A CN 200910130034A CN 101854372 B CN101854372 B CN 101854372B
- Authority
- CN
- China
- Prior art keywords
- media type
- terminal
- conversation media
- conversation
- called
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1046—Call controllers; Call servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/24—Negotiation of communication capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/0024—Services and arrangements where telephone services are combined with data services
- H04M7/003—Click to dial services
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a method and a device for controlling a session media type during click to call, wherein the embodiment of the method is realized by the following steps: receiving a conversation request sent by a control terminal, wherein the conversation request contains an appointed conversation medium type; and carrying out the consultation of the appointed conversation medium type and the conversation medium type supported by a calling terminal and a called terminal so as to obtain a first consultation result, and sending the first consultation result to the calling terminal and the called terminal so as to facilitate the calling terminal and the called terminal to establish conversation connection according to the first consultation result. In the technical scheme, the conversation request message sent by the control terminal to a business server carries the appointed conversation medium type, the appointed conversation medium type participates in the consultation process of calling and called medium types, and the medium types of the calling and called terminal conversation connection are determined by the medium type control information and the medium consultation result of the called terminal and the calling terminal, so the control of the conservation medium type is realized.
Description
Technical field
The present invention relates to communication technical field, particularly in a kind of click to dial, control the method and apparatus of conversation media type.
Background technology
Next generation network (Next generation network, NGN) has brought a series of new business experiences.Be exactly wherein a kind of new business wherein at the click to dial (Click To Dial, CTD) of speech neighborhood.CTD allows user to initiate calling and called both sides calling by the mode of clicking.Along with further developing of next generation network, in the multimedia communication solution of internet protocol-based (Internet Protocol, IP), conversation media type also can become variation, no longer only be confined to speech field, multi-media communication will be arisen at the historic moment; Conversation media type can be: audio frequency, video, can also be the mixing of audio frequency and video, can also be even other medium type.
Dialogue-based initializtion protocol (Session Initiation Protocol, the implementation of click to dial SIP) can be: control terminal is to service server (Application Server, AS) send conversation request message, wherein carry client authentication information, the terminal address information etc. of calling and called terminal; This conversation request message can arrive AS through soft switch; Then the negotiation of the medium type of AS execution terminal called and calling terminal support obtains the first negotiation result, and the first negotiation result is sent to terminal called and calling terminal, and calling terminal and terminal called are set up session connection according to the first negotiation result.Above-mentioned control terminal can be special terminal, can be also World Wide Web (WEB) webpage etc.
Inventor finds realizing in process of the present invention: the medium type that calling and called terminal session connects determines by the media capability negotiation of terminal called and calling terminal, and control terminal can not be controlled the medium type of calling and called terminal session connection.
Summary of the invention
The technical problem that the embodiment of the present invention will solve is to provide the method and apparatus of controlling conversation media type in a kind of click to dial, realizes the control of conversation media type in click to dial.
For solving the problems of the technologies described above, the embodiment of the method for controlling conversation media type in click to dial provided by the present invention can be achieved through the following technical solutions:
Receive the session request that control terminal sends, the conversation media type that described session request comprises appointment;
Carry out conversation media type and the calling terminal negotiation that support and the conversation media type that terminal called is supported of described appointment, obtain the first negotiation result, described the first negotiation result is sent to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to described the first negotiation result.
The embodiment of the present invention also provides a kind of service server, comprising:
Request message receiving element, the conversation request message sending for receiving control terminal, the conversation media type that described session request comprises appointment;
Negotiation element, for carrying out conversation media type and the calling terminal negotiation that support and the conversation media type that terminal called is supported of described appointment, obtains the first negotiation result;
Negotiation result transmitting element, for described the first negotiation result is sent to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to described the first negotiation result.
The embodiment of the present invention also provides a kind of control terminal, comprising:
Acquiring unit, for obtaining the conversation media type of appointment;
Request generation unit, for generating the session request of the conversation media type that comprises described appointment;
Message sending unit, for sending described session request to service server.
Technique scheme has following beneficial effect: the conversation media type of carrying appointment in the conversation request message at control terminal to service server, the conversation media type of specifying participates in the negotiations process of calling and called medium type, the medium type that calling and called terminal session connects determines by the media negotiation result of medium type control information, terminal called and calling terminal, thereby realizes the control to conversation media type.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the embodiment of the present invention one method flow schematic diagram;
Fig. 2 is the embodiment of the present invention one other method schematic flow sheet;
Fig. 3 is the embodiment of the present invention two method flow schematic diagrames;
Fig. 4 is the embodiment of the present invention three method schematic flow sheets;
Fig. 5 is the embodiment of the present invention four apparatus structure schematic diagrames;
Fig. 6 is the embodiment of the present invention four another apparatus structure schematic diagrames;
Fig. 7 is the embodiment of the present invention four another apparatus structure schematic diagrames;
Fig. 8 is the embodiment of the present invention four another apparatus structure schematic diagrames;
Fig. 9 is the embodiment of the present invention four another apparatus structure schematic diagrames;
Figure 10 is the embodiment of the present invention five apparatus structure schematic diagrames;
Figure 11 is the embodiment of the present invention five another apparatus structure schematic diagrames;
Figure 12 is the embodiment of the present invention six system configuration schematic diagrames.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The technical problem that the embodiment of the present invention will solve is to provide the methods, devices and systems of controlling conversation media type in a kind of click to dial, realizes the control of conversation media type in click to dial.
Embodiment mono-, as shown in Figure 1, the embodiment of the present invention provides a kind of control conversation media type in click to dial method, can comprise the following steps:
Step 101: receive the session request that control terminal sends; The conversation media type that above-mentioned session request comprises appointment;
Concrete, service server receives the session request that control terminal sends.The conversation media type of specifying refers to the conversation media type that uses the user of control terminal to input on control terminal, is generally one.
In subsequent embodiment, the method of the conversation media type that above-mentioned session request comprises appointment will be with: session request sends with message mode, the conversation media type that comprises appointment in the conversation initialized protocol header field of this message, for example describes, the carrying mode that is understandable that the conversation media type of appointment can also be alternate manner, for example note, instant message etc., this does not affect the realization of the embodiment of the present invention.Control terminal can be special terminal in addition, can be also World Wide Web (WEB) webpage, and the concrete form embodiment of the present invention of control terminal does not limit.
Step 102: carry out conversation media type and the calling terminal negotiation that support and the conversation media type that terminal called is supported of above-mentioned appointment, obtain the first negotiation result.
Described negotiation result is session in session establishment process or a part for media negotiation result.
Step 103: above-mentioned the first negotiation result is sent to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to above-mentioned the first negotiation result.
Above-mentioned steps 101 can be service server to the executive agent of step 103, carrying out the flow process of consulting can be: service server calculates the common factor of conversation media type and the calling terminal conversation media type that support and callee of appointment, in the time that this common factor is not sky, using this common factor as the first negotiation result.It can be the common factor that first service server calculates conversation media type and the conversation media type that calling terminal is supported of appointment, when this common factor is not empty, this common factor is sent to terminal called, terminal called is asked the common factor of the conversation media type comprising in above-mentioned common factor and all medium types of self supporting again, in the time that this common factor is not sky, obtain the first negotiation result, terminal called sends to service server by the first negotiation result again, after service server is confirmed, send to again calling and called terminal and consult acknowledge message, this negotiation acknowledge message comprises the first negotiation result.Carrying out the flow process of consulting can also be: service server sends negotiation request message to terminal called, then terminal called sends all media type information of self supporting to service server, service server calculates the common factor of the medium type of conversation media type, calling terminal and the terminal called support of above-mentioned appointment, in the time that this common factor is not sky, using this common factor as the first negotiation result, then to above-mentioned the first negotiation result is sent to terminal called and calling terminal.In the process that only needs to consult, need to use the conversation media type of above-mentioned appointment to participate in negotiations process, concrete negotiations process may have a variety of, does not affect the realization of the embodiment of the present invention, and this invention process is not done to concrete restriction.If above-mentioned common factor is empty, at this moment service server can send failure response message to control terminal and informs and consult unsuccessfully.If the common factor of conversation media type calling terminal support and terminal called support is non-NULL, consult can also carry common factor that calling terminal is supported and the conversation media type that terminal called is supported in failure above-mentioned informing.Then control terminal can resend session request according to above-mentioned common factor, specifies new conversation media type in the session request resending.
In above-mentioned execution mode, in conversation request message at control terminal to service server, carry the conversation media type of appointment, the conversation media type of specifying participates in the negotiations process of calling and called medium type, the medium type that calling and called terminal session connects determines by the media negotiation result of conversation media type, terminal called and the calling terminal of appointment, thereby realizes the control of control terminal to calling and called conversation media type.
Further, as shown in Figure 2, after above-mentioned steps 105, in calling and called conversation procedure, can also comprise:
Step 201: receive the change signaling that control terminal sends;
Above-mentioned change signaling has been specified the conversation media type of change.
The conversation media type carrying mode that change is changed in signaling can be realized with the same way of the conversation media type of carrying appointment in session request in step 101, the conversation media type that comprises appointment in the conversation initialized protocol header field of this message, can be referring to the example in embodiment 3.
Step 202: carry out conversation media type and consult;
Be specially: calculate medium type and the calling terminal common factor that support and the conversation media type that terminal called is supported of the change of above-mentioned appointment, in the time that described common factor is non-NULL, using described common factor as the second negotiation result;
The negotiations process of above-mentioned steps 202 can, with reference to the negotiation flow process of above-mentioned steps 102, not repeat them here.Above-mentioned steps 202 can also judge before holding consultation that whether the medium type of calling and called current sessions connection is identical with the medium type of the change of above-mentioned appointment, if identical, do not need to change so the operation of medium type, all flow processs that can finish change; If not identical, can perform step 202 and step 203.
Step 203: send the second negotiation result to calling terminal and terminal called; So that calling terminal and terminal called are set up session connection according to the second negotiation result.
The step 201 of above-mentioned execution mode can be service server to the executive agent of step 203, in said method implementation procedure, send change signaling by control terminal to service server, service server is carried out the negotiation that uses the medium type of the change of specifying in above-mentioned change signaling to participate in calling and called medium type in negotiations process, has then realized change medium type.
Embodiment bis-, as shown in Figure 3, the embodiment of the present invention also provides just a kind of application scenarios of embodiment mono-, as illustrating of embodiment mono-, can comprise the following steps:
Step 301, control terminal, to service server (Application Server, AS) (info) request that sends control signaling, are initiated the click to dial (Click To Dial, CTD) of speech neighborhood and are called out.In CTD control terminal is issued the message body of Info request of AS, increase and carry conversation media type information.Info message header field can be conversation initialized protocol (the Session Initiation Protocol of standard, sip) header field, here no longer introduce, the form of content type (Content-Type) can be text/extend markup language [text/ (EXtensible Markup Language, xml)], info message can be with reference to as follows:
<content>
<command-code>1001</command-code>
<account>666000</account>
<password>123456</password>
<callee1>662001</callee1>
<callee2>662002</callee2>
<type>1<type>
</content>
Command-code: command code mark, here 1001 represent " initiating CTD calls out ".
Account: initiate CTD calling account.
Password: the password of initiating CTD calling account.
Callee1: first is called, i.e. caller.
Callee2: second is called, called.
Type: i.e. conversation media type, this field is that this programme adds, meaning of parameters is: 1 is audio call; 2 is video call; 3 mix and call out for audio frequency and video.
Step 302, service server (AS) are initiated one to caller and are not with Session Description Protocol (SessionDescription Protocol, SDP) invite signaling, the medium type that object is to allow caller decide and uses while setting up session, the maximum medium type set that oneself can provide is provided in caller.Wherein SDP is the form of describing Streaming Media initiation parameter.In media session, transmit medium stream information, allow the recipient of conversation description to participate in session.SDP can comprise following information: the 1) title of session and object, 2) the session survival time, 3) be included in the media information in session, as: medium type, host-host protocol, media formats, multicast or far-end (clean culture) address and port, 4) bandwidth information 6 information needing for receiving media, 5) using) reliable contact information etc.Certain usually said media SDP, represents by the various information of these media of SDP protocol description.
Not replying after the invite with SDP of AS transmission received in step 303, caller, carries SDP, the media capability complete or collected works that comprise calling terminal in the 200OK replying.
Step 304, AS send to Media Resource Server for consulting the SDP of caller.
The process of above-mentioned negotiation can be for calculating the common factor of the conversation media type in the SDP of caller and the SDP of Media Resource Server, this common factor is expressed as the conversation media type that caller and Media Resource Server are all supported, if this occurs simultaneously for empty, this is consulted unsuccessfully, and Media Resource Server can send message to AS and inform and consult unsuccessfully.
Step 305, Media Resource Server (Media Resource Server, MRS) are responded and the negotiation result of caller SDP by 200OK.
Step 306, AS send out the session negotiation of answer signal (ACK) confirmation and Media Resource Server (Medium ResourceServer, MRS).
Step 307, AS send out ACK to calling terminal, carry the SDP negotiation result of caller and MRS, and calling terminal can be set up session with MRS after receiving ACK.So far, calling terminal and MRS have set up session, and MRS is put ring-back tone to caller, wait for called connection.
Above-mentioned steps 303 to 307 is for carrying out Media Resource Server and calling party's media consultation process, this negotiations process can also be: all medium types of Media Resource Server support are sent to calling party by service server, the common factor of all medium types that then calling party's computing medium Resource Server is supported and all medium types of self supporting, when this common factor is not empty, obtain the first negotiation result, then this negotiation result is sent to service server, service server sends negotiation acknowledge message to calling party again, described negotiation acknowledge message comprises this negotiation result.The embodiment of the present invention is not construed as limiting Media Resource Server and calling party's media consultation process.
The conversation media type of the appointment that step 308, AS carry according to CTD call control signalling and the SDP complete or collected works of caller support hold consultation, and obtain a common factor.As inviting called SDP.Here only carry out the negotiation of conversation type, do not carry out the negotiation of support media, consult to adopt the mode of getting common factor, the method for negotiation is exemplified below:
The machinery of consultation of table 1 conversation media type
Conversation media type | Caller support media type | Negotiation result |
1(Audio) | Audio | Audio |
1(Audio) | Audio,Video | Audio |
1(Audio) | Audio | None (sky) |
2(Video) | Audio,Video | Video |
3(Audio,Video) | Audio,Video | Audio,Video |
3(Audio,Video) | Audio | Audio |
For example, the following is caller SDP:
v=0
o=
s=Sip Call
C=IN IP4 10.75.35.79//address
t=0 0
m=audio 34642RTP/AVP 18 4 0 8
a=rtpmap:18G729/8000
a=rtpmap:4G723/8000
a=rtpmap:0PCMU/8000
a=rtpmap:8PCMA/8000
a=fmtp:18annexb=no
M=video 34644RTP/AVP 34 98 // medium type
b=AS:368
a=rtpmap:34H263/90000
a=rtpmap:98MP4V-ES/90000
a=fmtp:34QCIF=1CIF=4MaxBR=3688
a=fmtp:98profile-1evel-id=2
Above-mentioned caller SDP and session medium type are that the calling of 1 (audio) is held consultation, and the SDP obtaining is:
v=0
o=
s=Sip Call
c=IN IP4 10.75.35.79
t=0 0
m=audio 34642RTP/AVP 18 4 0 8
a=rtpmap:18G729/8000
a=rtpmap:4G723/8000
a=rtpmap:0PCMU/8000
a=rtpmap:8PCMA/8000
a=fmtp:18annexb=no
m=video 0RTP/AVP 34 98
Step 309, AS invite (invite) message to called transmission, invite the called calling that adds, and carry the SDP that in step 308, negotiation obtains herein in invite message.This SDP has carried the conversation media type of appointment and the result of the SDP negotiation that caller is supported;
The request that step 310, called normal response AS initiate, carries out SDP negotiation and replys.The SDP negotiation here can be: the conversation media type and the result of SDP negotiation of caller support and the common factor of the SDP of called support that calculate above-mentioned appointment.In above-mentioned response message, can carry the result that called end is consulted.
Step 311, AS return ACK and confirm and called dialogue.So far, called session establishment success.
Step 312, send and re-invite message (re-invite) to caller, carry SDP that calling and called consulted to caller
Step 313, caller are replied, and return 200OK;
Step 314, AS return ACK and confirm session change, and so far, the session between calling and called has been established.
In above-mentioned execution mode, in conversation request message at control terminal to service server, carry the conversation media type of appointment, the conversation media type of specifying participates in the negotiations process of calling and called medium type, the medium type that calling and called terminal session connects determines by the media negotiation result of conversation media type, terminal called and the calling terminal of appointment, thereby realizes medium type control.
Embodiment tri-, as shown in Figure 4, the embodiment of the present invention also provides the illustrating of a kind of application scenarios of changing the method for medium type in embodiment mono-just.Can comprise the steps:
Step 401, in CTD conversation procedure, the signaling (info) of control terminal initiation session change, to specifying CTD conversation type to modify.Because above-mentioned control terminal can be integrated in calling terminal, terminal called, can also be third party, so the originating end of this session signaling more can be calling terminal, terminal called, or third party; Thereby calling terminal, terminal called, or third party can modify to conversation media type.
Info message header field can be standard SIP header field, no longer introduces here, and Content-Type can be text/xml, and info message can be with reference to as follows:
<content>
<command-code>1101</command-code>
<call-id>12122<call-id>
<account>666000</account>
<password>123456</password>
<type>3</type>
</content>
Command-code: command code mark, here 1101 represent " change conversation media type ".
Account: initiate CTD calling account.
Password: the password of initiating CTD calling account.
Type: i.e. conversation media type, in this order, mark is about to the target session medium type switching, its meaning of parameters: 1 is audio call; 2 is video call; 3 is video mix calling.
Step 402, AS carry out the negotiation of conversation media type, negotiations process can be: first judgement, whether current sessions medium type is identical with the conversation media type of appointment change, if the same do not need to carry out conversation media Type Change again, directly successfully notifies to the change of control terminal feedback.If conversation media type is not identical, use the conversation media type of the original SDP of caller and appointment to hold consultation, draw the SDP consulting.
If the SDP that consults in step 403 step 402 to draw, for empty, can send message to control terminal, for notifying the failure of control terminal change conversation media type.
If the SDP that consults in step 404 step 402 to draw is not for empty, AS utilizes the SDP that in step 402, negotiation draws to carry out session change to called transmission re-invite.
Step 405, called party answer 200OK, carry the SDP consulting.
Step 406, AS send ACK and confirm.
Step 407, AS judge the negotiation result in step 405, if follow-up flow process is carried out in the success of conversation media Type Change.
If judge the failure of callee side conversation media Type Change in step 408 step 407, notify the failure of control terminal change conversation media type.
Step 409, AS utilize the SDP result of consulting in step 405 to initiate re-invite to caller, change Calling Side conversation media type.
Step 410, calling terminal are replied 200OK, carry the SDP consulting.
Step 411, AS transmission ACK confirm the SDP of above-mentioned negotiation.
Step 412, AS send the success of message informing control terminal conversation media Type Change to control terminal.
In said method implementation procedure, send change signaling by control terminal to service server, service server is carried out the negotiation that uses the medium type of the change of specifying in above-mentioned change signaling to participate in calling and called medium type in negotiations process, has then realized change medium type.
Embodiment tetra-, as shown in Figure 5, the embodiment of the present invention also provides a kind of service server, comprising:
Request message receiving element 501, the conversation request message sending for receiving control terminal, the conversation media type that above-mentioned session request comprises appointment;
Specific implementation can be referring to the corresponding contents in related description and embodiment bis-to step 101 in embodiment mono-.
Negotiation element 502, consults for conversation media type and the calling terminal conversation media type that support and that terminal called is supported of carrying out above-mentioned appointment, obtains the first negotiation result;
Negotiation result transmitting element 503, for above-mentioned the first negotiation result is sent to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to above-mentioned the first negotiation result.
Alternatively, above-mentioned negotiation element 502, specifically for calculating conversation media type and the calling terminal common factor that support and the conversation media type that terminal called is supported of above-mentioned appointment, in the time that above-mentioned common factor is not sky, using described common factor as the first negotiation result.The concrete method of calculating common factor can be referring to the related description to step 102 in embodiment mono-.Be not repeated herein.
In above-mentioned execution mode, in conversation request message at control terminal to service server, carry the conversation media type of appointment, the conversation media type of specifying participates in the negotiations process of calling and called medium type, the medium type that calling and called terminal session connects determines by the media negotiation result of conversation media type, terminal called and the calling terminal of appointment, thereby realizes medium type control.
Alternatively, as shown in Figure 6, above-mentioned service server can also comprise:
The first failure response unit 601, for being empty when above-mentioned common factor, sends failure response message to above-mentioned control terminal; In the time that the common factor of the conversation media type of calling terminal support and the conversation media type of terminal called support is non-NULL, described failure response message is carried the common factor of conversation media type and the conversation media type that terminal called is supported of calling terminal support.
Like this, control terminal user once specifies and just can specify by the conversation media type of carrying in above-mentioned failure response message on carrying out, and improves the success rate of next time specifying.
Further, as shown in Figure 7, above-mentioned service server can also comprise:
Change signaling receiving element 701, at calling and called conversation procedure, receives the change signaling that control terminal sends, and above-mentioned change signaling has been specified the conversation media type of change;
The carrying mode of the conversation media type of the particular content change of change signaling can be referring to the example in embodiment tri-.
Above-mentioned negotiation element 502, also for calculating conversation media type and the calling terminal common factor that support and the conversation media type that terminal called is supported of specified change, in the time that described common factor is non-NULL, using described common factor as the second negotiation result;
Concrete computational process can be referring to the relevant portion in the explanation embodiment tri-of step 202.
Negotiation result transmitting element 503, also for sending the second negotiation result to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to the second negotiation result.
Send change signaling by control terminal to service server, service server is carried out the negotiation that uses the medium type of the change of specifying in above-mentioned change signaling to participate in calling and called medium type in negotiations process, has then realized change medium type.
Alternatively, as shown in Figure 8, above-mentioned service server can also comprise:
The second failure response unit 801, described the second failure response unit also when be empty when the conversation media type of specified change and calling terminal common factor that support and the conversation media type that terminal called is supported, sends and changes failure response message to described control terminal; In the time that the common factor of the conversation media type of calling terminal support and the conversation media type of terminal called support is non-NULL, described change failure response message is carried the common factor of conversation media type and the conversation media type that terminal called is supported of calling terminal support.Like this, control terminal user once changes and just can change by the conversation media type of carrying in above-mentioned failure response message on carrying out, and improves the success rate of change next time.
The function of above-mentioned the first failure response unit 601 and the second failure response unit 801 can complete by same physical module in specific implementation, does not affect the realization of the embodiment of the present invention.
Further, as shown in Figure 9, above-mentioned service server can also comprise:
Judging unit 901, whether identical with the conversation media type of the change of above-mentioned appointment for judging the conversation media type of calling and called terminal current sessions connection, if identical, finish change flow;
Above-mentioned negotiation element 502, when judging that when described judging unit 901 the conversation media type of conversation media type and the change of described appointment that calling and called terminal current sessions connects is different, carry out the common factor of conversation media type with conversation media type calling terminal support and terminal called support of the specified change of described calculating.
Above-mentioned enforcement terminal type, judged that before the negotiation of carrying out medium type more whether the medium type of change is identical with current media, can save the flow process of negotiation and follow-up change identical in the situation that.
Embodiment five, as shown in figure 10, the embodiment of the present invention also provides a kind of control terminal, comprising:
Acquiring unit 101, for obtaining the conversation media type of appointment; The above-mentioned conversation media type of obtaining appointment can be: the conversation media type of the appointment that user inputs on control terminal.Can embody user's wish.
Request generation unit 102, for generating the session request of the conversation media type that comprises above-mentioned appointment;
Concrete generating mode can be: the conversation media type that adds appointment in the conversation initialized protocol header field of above-mentioned session request.
Message sending unit 103, for sending above-mentioned session request to service server.
In above-mentioned execution mode, control terminal can be for being integrated in calling terminal, terminal called, can be for example also third party device, as the server (WEB server) in network; In conversation request message at control terminal to service server, carry the conversation media type of appointment, the conversation media type of specifying participates in the negotiations process of calling and called medium type, the medium type that calling and called terminal session connects determines by the media negotiation result of conversation media type, terminal called and the calling terminal of appointment, thereby realizes medium type control.
Further, as shown in figure 11
Above-mentioned acquiring unit 101, for obtaining the medium type of change of appointment;
Above-mentioned control terminal can also comprise:
Change signaling edit cell 1101 for editing change signaling, adds the medium type of the change of appointment in the conversation initialized protocol header field of above-mentioned change signaling;
Above-mentioned message sending unit 103, also for sending above-mentioned change signaling to service server.
Send change signaling by control terminal to service server, service server is carried out the negotiation that uses the medium type of the change of specifying in above-mentioned change signaling to participate in calling and called medium type in negotiations process, has then realized change medium type.
Embodiment six, as shown in figure 12, the embodiment of the present invention also provides a kind of click to dial system, comprising:
Control terminal 1201, for sending above-mentioned conversation request message to service server 1202, the conversation media type that above-mentioned conversation request message comprises appointment
Service server 1202, the above-mentioned conversation request message sending for receiving control terminal 1201; Carrying out conversation media type and the calling terminal conversation media type that support and that terminal called is supported of above-mentioned appointment consults, obtain the first negotiation result, above-mentioned the first negotiation result is sent to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to above-mentioned the first negotiation result.
In above-mentioned execution mode, in conversation request message at control terminal to service server, carry the conversation media type of appointment, the conversation media type of specifying participates in the negotiations process of calling and called medium type, the medium type that calling and called terminal session connects determines by the media negotiation result of conversation media type, terminal called and the calling terminal of appointment, thereby realizes medium type control.
Further,
Above-mentioned control terminal 1201, also, for sending change signaling to service server 1202, above-mentioned change signaling has been specified the medium type of change;
Above-mentioned service server 1202, the above-mentioned change signaling also sending for receiving control terminal 1201; Receive the change signaling that control terminal 1201 sends, above-mentioned change signaling has been specified the conversation media type of change; Carry out conversation media type and the calling terminal conversation media type that support and that terminal called is supported of the change of above-mentioned appointment and consult, obtain the second negotiation result; Send the second negotiation result to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to the second negotiation result.
Send change signaling by control terminal to service server, service server is carried out the negotiation that uses the medium type of the change of specifying in above-mentioned change signaling to participate in calling and called medium type in negotiations process, has then realized change medium type.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The method and apparatus of controlling conversation media type in a kind of the click to dial above embodiment of the present invention being provided is described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.
Claims (16)
1. a method of controlling conversation media type in click to dial, is characterized in that, comprising:
Service server receives the session request that control terminal sends, the conversation media type that described session request comprises appointment; The conversation media type of described appointment refers to the conversation media type that uses the user of control terminal to input on control terminal;
Service server carries out conversation media type and the calling terminal negotiation that support and the conversation media type that terminal called is supported of described appointment, obtain the first negotiation result, described the first negotiation result is sent to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to described the first negotiation result.
2. method according to claim 1, is characterized in that, the conversation media type that described session request comprises appointment comprises:
The conversation media type that comprises appointment in the conversation initialized protocol header field of described session request.
3. method according to claim 1, is characterized in that, described in carry out conversation media type and the calling terminal negotiation that support and the conversation media type that terminal called is supported of described appointment, obtain the first negotiation result and be specially:
Calculate conversation media type and the calling terminal common factor that support and the conversation media type that terminal called is supported of described appointment, in the time that described common factor is not sky, using described common factor as the first negotiation result.
4. method according to claim 3, is characterized in that, described method also comprises: when described common factor is for empty, send failure response message to described control terminal; In the time that the common factor of the conversation media type of calling terminal support and the conversation media type of terminal called support is non-NULL, in described failure response message, carry the common factor of conversation media type and the conversation media type that terminal called is supported of calling terminal support.
5. according to method described in claim 1 to 4 any one, it is characterized in that, also comprise: in calling and called conversation procedure,
Receive the change signaling that control terminal sends, described change signaling has been specified the conversation media type after change;
Calculate conversation media type and the calling terminal common factor that support and the conversation media type that terminal called is supported of the change of described appointment, in the time that described common factor is non-NULL, using described common factor as the second negotiation result;
Send the second negotiation result to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to described the second negotiation result.
6. method according to claim 5, is characterized in that, described execution also comprises before calculating the common factor of conversation media type after described change and conversation media type calling terminal support and terminal called support:
Determine that the conversation media type of the current connection of calling and called is different with the conversation media type of the change of described appointment.
7. method according to claim 5, it is characterized in that, also comprise: when the conversation media type of change and the common factor of calling terminal conversation media type that support and terminal called support of described appointment are sky, send change failure response message to described control terminal; In the time that the common factor of conversation media type calling terminal support and terminal called support is non-NULL, in described change failure response message, carry the common factor of conversation media type and the conversation media type that terminal called is supported of calling terminal support.
8. a service server, is characterized in that, comprising:
Request message receiving element, the session request sending for receiving control terminal, the conversation media type that described session request comprises appointment; The conversation media type of described appointment refers to the conversation media type that uses the user of control terminal to input on control terminal;
Negotiation element, for carrying out conversation media type and the calling terminal negotiation that support and the conversation media type that terminal called is supported of described appointment, obtains the first negotiation result;
Negotiation result transmitting element, for described the first negotiation result is sent to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to described the first negotiation result.
9. service server according to claim 8, it is characterized in that, described negotiation element, specifically for calculating conversation media type and the calling terminal common factor that support and the conversation media type that terminal called is supported of described appointment, in the time that described common factor is not sky, using described common factor as the first negotiation result.
10. service server according to claim 9, also comprises: the first failure response unit, for being empty when described common factor, sends failure response message to described control terminal; In the time that the common factor of the conversation media type of calling terminal support and the conversation media type of terminal called support is non-NULL, described failure response message is carried the common factor of conversation media type and the conversation media type that terminal called is supported of calling terminal support.
Service server described in 11. according to Claim 8-10 any one, is characterized in that, also comprises:
Change signaling receiving element, at calling and called conversation procedure, receives the change signaling that control terminal sends, and described change signaling has been specified the conversation media type of change;
Described negotiation element, also for calculating conversation media type and the calling terminal common factor that support and the conversation media type that terminal called is supported of specified change, in the time that described common factor is non-NULL, using described common factor as the second negotiation result;
Described negotiation result transmitting element, also for sending the second negotiation result to calling terminal and terminal called, so that calling terminal and terminal called are set up session connection according to the second negotiation result.
12. service servers as claimed in claim 11, it is characterized in that, also comprise: the second failure response unit, described the second failure response unit also when be empty when the conversation media type of specified change and calling terminal common factor that support and the conversation media type that terminal called is supported, sends and changes failure response message to described control terminal; In the time that the common factor of the conversation media type of calling terminal support and the conversation media type of terminal called support is non-NULL, described change failure response message is carried the common factor of conversation media type and the conversation media type that terminal called is supported of calling terminal support.
13. according to service server described in claim 11, it is characterized in that, also comprises:
Judging unit, whether identical with the conversation media type of the change of described appointment for judging the conversation media type of calling and called terminal current sessions connection, if identical, finish change flow;
Described negotiation element, when judging that when described judging unit the conversation media type of conversation media type and the change of described appointment that calling and called terminal current sessions connects is different, carry out the common factor of conversation media type with conversation media type calling terminal support and terminal called support of the specified change of described calculating.
14. 1 kinds of control terminals, is characterized in that, comprising:
Acquiring unit, for obtaining the conversation media type of appointment; The conversation media type of described appointment refers to the conversation media type that uses the user of control terminal to input on control terminal;
Request generation unit, for generating the session request of the conversation media type that comprises described appointment;
Message sending unit, for send described session request to service server, makes service server carry out conversation media type and the calling terminal negotiation that support and the conversation media type that terminal called is supported of described appointment.
15. according to control terminal described in claim 14, it is characterized in that,
Described request generation unit, specifically for adding medium type control information in the conversation initialized protocol header field of described session request.
16. according to control terminal described in claims 14 or 15, it is characterized in that,
Described acquiring unit is also for obtaining the conversation media type of change of appointment;
Described control terminal also comprises:
Change signaling edit cell for editing change signaling, adds the medium type of the change of appointment in the conversation initialized protocol header field of described change signaling;
Described message sending unit, also for sending described change signaling to service server.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910130034.1A CN101854372B (en) | 2009-04-03 | 2009-04-03 | Method and device for controlling session media type during click to call |
PCT/CN2010/071439 WO2010111946A1 (en) | 2009-04-03 | 2010-03-31 | Method and device for controlling session media types in click to dial |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910130034.1A CN101854372B (en) | 2009-04-03 | 2009-04-03 | Method and device for controlling session media type during click to call |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101854372A CN101854372A (en) | 2010-10-06 |
CN101854372B true CN101854372B (en) | 2014-07-30 |
Family
ID=42805637
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910130034.1A Active CN101854372B (en) | 2009-04-03 | 2009-04-03 | Method and device for controlling session media type during click to call |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101854372B (en) |
WO (1) | WO2010111946A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1964355A (en) * | 2006-09-30 | 2007-05-16 | 华为技术有限公司 | A method and device for information report and communication system and charging method and device and system |
CN101026614A (en) * | 2006-02-23 | 2007-08-29 | 华为技术有限公司 | Media type parameter negotiation method |
CN101098513A (en) * | 2006-06-28 | 2008-01-02 | 华为技术有限公司 | Method for establishing cluster conversation |
WO2008050697A1 (en) * | 2006-10-16 | 2008-05-02 | Panasonic Corporation | Network security processing method and system for selecting one of software and hardware cryptographic modules by means of multimedia session information |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8239547B2 (en) * | 2004-07-09 | 2012-08-07 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and arrangement for providing different services in a multimedia communication system |
CN100446528C (en) * | 2005-06-30 | 2008-12-24 | 华为技术有限公司 | Click-to dial service realizing method |
-
2009
- 2009-04-03 CN CN200910130034.1A patent/CN101854372B/en active Active
-
2010
- 2010-03-31 WO PCT/CN2010/071439 patent/WO2010111946A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026614A (en) * | 2006-02-23 | 2007-08-29 | 华为技术有限公司 | Media type parameter negotiation method |
CN101098513A (en) * | 2006-06-28 | 2008-01-02 | 华为技术有限公司 | Method for establishing cluster conversation |
CN1964355A (en) * | 2006-09-30 | 2007-05-16 | 华为技术有限公司 | A method and device for information report and communication system and charging method and device and system |
WO2008050697A1 (en) * | 2006-10-16 | 2008-05-02 | Panasonic Corporation | Network security processing method and system for selecting one of software and hardware cryptographic modules by means of multimedia session information |
Also Published As
Publication number | Publication date |
---|---|
CN101854372A (en) | 2010-10-06 |
WO2010111946A1 (en) | 2010-10-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102137080B (en) | Method, device and system for cross-platform conference convergence | |
WO2009059559A1 (en) | A multimedia session call control method and the application server thereof | |
CN101138172A (en) | Method and system for splitting terminals in push to talk over cellular network | |
CN102123211B (en) | Realizing method and system of multi-party calling service | |
CN104902111B (en) | A kind of method, apparatus and system established based on Web RTC multi-party call | |
CN101815067B (en) | Multimedia conference realization method and system | |
WO2011017889A1 (en) | Multimedia conference implementation method and system | |
CN101018216B (en) | Voice, Modem and Fax full control method | |
EP2381617B1 (en) | A method for calling a conference when hard terminals have been bound to pc clients, a login server thereof, a conference server thereof and a pc client thereof | |
CN1889565B (en) | Session establishing method | |
JP5551786B2 (en) | Method, server and terminal device for playing multimedia ringer during conversation | |
CN101369906A (en) | Conference service implementing method and apparatus | |
US9071690B2 (en) | Call transfer processing in SIP mode | |
CN101388883B (en) | Management method, system and device for specific device in multimedia session | |
WO2007093116A1 (en) | A method and system for realizing the simulating service and the access signaling adaptive entity | |
CN102316228B (en) | The methods, devices and systems of attendant intrusion call are realized in central office service | |
CN102378355A (en) | IMS multimedia conferencing terminal switching method and apparatus thereof | |
CN101815138A (en) | Method and device for leaving meeting message | |
WO2010091567A1 (en) | System and method for switching click to dial service to multimedia conference service | |
CN102387259A (en) | Method, system and device for monitoring call of intra-group subscribers by telephone operator | |
CN101854372B (en) | Method and device for controlling session media type during click to call | |
CN101686138B (en) | Method, device and system for realizing tripartite conference | |
CN101448046A (en) | Call-establishing method for realizing single-conversation color ring back tone service | |
WO2007134549A1 (en) | A method, device and system for implementing the session service | |
CN101764896A (en) | Method, device and system for adding or removing conference participants in multi-party conference |
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 |