Embodiment
In order in voice communication course, to carry out video communication, the embodiment of the invention is provided with video binding (B-Video at network side, BIND video) business, promptly, be video traffic of public switched telephone network phone binding, when a terminal of carrying out voice communication need start visual telephone with the distant terminal of voice communication, only need to open video communication and get final product, simultaneously, still can carry out voice communication by public switched telephone network.
Be implemented as follows:
With video binding business shown in Figure 1 is example.Terminal 12 is registered in soft switch (SoftSwitch) equipment 11, terminal 12 ' is registered in Softswitch 11 ', Smart Home Location Register (SHLR, Smart HLR) 13 preserve the speech business of terminal 12 and the data that video traffic bundlees, Smart Home Location Register 13 ' is preserved the data of the speech business and the video traffic binding of terminal 12 '.The function of terminal 12 and terminal 12 ' are all integrated PSTN terminal and video terminal (for example IP terminal), terminal 12 inserts PSTN by the function of PSTN terminal, function by video terminal inserts next generation network (NGN, Next Generation Network), equally, terminal 12 ' inserts PSTN by the function of PSTN terminal, by the function access NGN of video terminal.Suppose that terminal 12 by switch 14, Tandem Gateway 15, Softswitch 11, Softswitch 11 ', Tandem Gateway 15 ' and switch 14 ', carried out voice communication with terminal 12 '.When terminal 12 need be carried out video communication with terminal 12 ', Softswitch 11 need send the request (promptly sending video call) that terminal 12 need be carried out video communication with terminal 12 ' to Softswitch 11 ', Softswitch 11 ' sends the request that terminal 12 need be carried out video communication with terminal 12 ' to terminal 12 ' again, if terminal 12 ' is agreed to carry out video communication with terminal 12, then terminal 12 can be carried out video communication with terminal 12 ', but the speech data of video remains by PSTN transmission (that is, still carrying out voice communication by PSTN).
The embodiment of the invention further provides the method for carrying out video communication voice communication course from the angle of terminal.As shown in Figure 2, comprising:
Step S201: send register requirement to network side, described request is carried the information of supporting video binding.
When sending register requirement, can use the login request message of session initiation protocol (SIP, Session Initiation Protocol), for example REGISTER message.Support the information of video binding can be carried in the header field of login request message, the content of header field for example is Supported:B-video, and its Chinese implication is to support video binding.
For network side, what receive register requirement can be soft switch (SoftSwitch) equipment.
Step S202: obtain the response that network side returns, the video call information that is used for initiating to network side at voice communication course video call is carried in described response.
Described response can be the 200Ok message of SIP.The video call information that is used for initiating video call at voice communication course to network side can be a video access code, for example is * #98, and certainly, the video access code can also be other character strings or other forms.Video call information can be carried in the header field of described 200Ok message, and the content of header field for example is B-Video Access Code:*#98, and its Chinese implication is that the access code of video binding is * #98.
In step S201, receive register requirement if Softswitch, and what then send described response also can be Softswitch.In addition, after Softswitch is received register requirement, user's pstn telephone number and SIP number can be bundled, so that the follow-up switching of carrying out between voice communication and the video communication.
Step S203: in voice communication course, carry out video communication if desired, then initiate video call to network side, described video call carries described video call information.
Concrete, in voice communication course, may obtain to carry out the triggering of video communication.Triggering can be carried out by the user who uses terminal.For example, if common voice terminal and IP terminal that the user uses are separate physically, then can the IP terminal be provided with a triggering button, when the user who uses common voice terminal need carry out video communication with the other side, can press the triggering button of IP terminal, like this, the IP terminal has just obtained a triggering.Again for example, if the array terminal of forming by common voice terminal and IP terminal that the user uses, then can be provided with a triggering button by array terminal, when the user uses array terminal carrying out voice communication and need carry out video communication with the other side with the other side, press the triggering button of array terminal, like this, array terminal has just obtained a triggering.
After obtaining to trigger, just can initiate video call to network side.What initiate that video call uses can be the INVITE of SIP, and the video call information that is used for initiating to network side video call can be a video access code, * #98 for example, and certainly, the video access code can also be other character strings or other forms.This video access code can be carried in the header field of INVITE, and the called number of header field is a video call information.
Video call arrives Softswitch by IP network, after Softswitch is received the INVITE that carries the video access code, can inquire about Smart Home Location Register, according to the service contracting situation video call is issued the pairing Softswitch of distant terminal of voice communication, by the pairing Softswitch of the distant terminal of voice communication video call is transmitted to the distant terminal of voice communication again.
Step S204: if the terminal that receiver, video is called out agrees to carry out video communication, then set up video communication with the terminal of described receiver, video calling, wherein, after the terminal of calling out with described receiver, video is set up video communication, and the voice communication between the described receiver, video terminal of calling out is undertaken by traditional voice communication network.
If the terminal that receiver, video is called out agrees to carry out video communication, then directly set up video communication with the terminal of described receiver, video calling, otherwise, can accept information such as video call to user prompt distant terminal (being the terminal that described receiver, video is called out) refusal.In addition, if failure is set up in video communication, then can set up information such as failure to the user prompt video communication.Prompting can have multiple mode, for example voice suggestion or the enterprising style of writing word prompting of terminal screen used the user.The executive agent of each step in the said method can be a terminal, specifically, can be the terminal that video communication is carried out in request.This terminal both can only be an IP terminal, also can be an array terminal of being made up of common voice terminal and IP terminal, and certainly, in array terminal, what handle network registry is the IP terminal part.
Need to prove, all might initiate video call in any voice communication course of terminal after network registry finishes, when initiating video call at every turn, the video call information that video call all wants carried terminal to obtain in network registration process, but be not to initiate all will carry out network registry before the video call at every turn.So, when above-mentioned steps S201 and S202 end, if terminal needs to carry out video communication in follow-up any voice communication course, then can only carry out step S203 and S204, and need not before step S203 and S204, all to carry out step S201 and S202 at every turn.
In addition, the embodiment of the invention also provides a kind of terminal, as shown in Figure 3, comprise: Registering modules 301, be used for sending register requirement to network side, described request is carried the information of supporting video binding, and obtains the response that network side returns, and the video call information that is used for initiating to network side at voice communication course video call is carried in described response; Calling module 302 is used in voice communication course, carrying out video communication if desired after the response that Registering modules 301 acquisition network sides return, and then initiates video call to network side, and described video call carries described video call information; Video communication module 303 is used at calling module 302 after network side is initiated video call, if the terminal that receiver, video is called out agrees to carry out video communication, then sets up video communication with the terminal of described receiver, video calling; Wherein, after the terminal that video communication module 303 and described receiver, video are called out is set up video communication, undertaken by traditional voice communication network with the voice communication that described video communication is carried out simultaneously.
Terminal shown in Figure 3 can be an IP terminal, also can be an array terminal that had not only comprised the IP termination function but also comprised traditional voice terminal function.So, optionally, terminal shown in Figure 3 can also comprise voice communications module 304, be used for before the terminal that video communication module 303 and described receiver, video are called out is set up video communication, carry out voice communication by the terminal that traditional voice communication network and described receiver, video are called out, and after the terminal that video communication module 303 and described receiver, video are called out was set up video communication, still the terminal of calling out by traditional voice communication network and described receiver, video was carried out voice communication.
When Registering modules 301 sends register requirement, can use the login request message of SIP, for example REGISTER message.Support the information of video binding can be carried in the header field of login request message, the content of header field for example is Supported:B-video, and its Chinese implication is to support video binding.
For network side, what receive register requirement can be soft switch (SoftSwitch) equipment.
The response that Registering modules 301 obtains can be the 200Ok message of SIP.The video call information that is used for initiating video call at voice communication course to network side can be a video access code, for example is * #98, and certainly, the video access code can also be other character strings or other forms.Video call information can be carried in the header field of described 200Ok message, and the content of header field for example is B-Video Access Code:*#98, and its Chinese implication is that the access code of video binding is * #98.
If the array terminal that described terminal is made up of common voice terminal and IP terminal, then Registering modules 301 can be arranged in the IP terminal.
Behind network registry, terminal has just obtained the video access information, so for the user who uses terminal, the process that obtains the video access information is transparent.
In voice communication course, calling module 302 may obtain to carry out the triggering of video communication, and triggering can be carried out by the user who uses terminal.For example, if common voice terminal and IP terminal that the user uses are separate physically, then can the IP terminal be provided with a triggering button, when the user who uses common voice terminal need carry out video communication with the other side, can press the triggering button of IP terminal, like this, the IP terminal has just obtained a triggering.Again for example, if the terminal of forming by common voice terminal and IP terminal that the user uses, then can be provided with a triggering button by array terminal, when the user uses array terminal carrying out voice communication and need carry out video communication with the other side with the other side, can press the triggering button of array terminal, like this, array terminal has just obtained a handover trigger.
After calling module 302 obtains handover trigger, can initiate video call to network side.Calling module 302 is initiated the INVITE that video call can use SIP, the video call information that is used for initiating video call at voice communication course to network side can be a video access code, * #98 for example, certainly, the video access code can also be other character strings or other forms.This video access code can be carried in the header field of INVITE, and the called number of header field can be a video call information.
The video call that calling module 302 sends arrives Softswitch by IP network, after Softswitch is received the INVITE that carries the video access code, can inquire about Smart Home Location Register, according to the service contracting situation video call is issued the pairing Softswitch of the distant terminal that carries out voice communication, video call is transmitted to the distant terminal that carries out voice communication by the pairing Softswitch of distant terminal that carries out voice communication again.
Above-mentioned terminal can also comprise Tip element 305, be used for after calling module 302 sends video call, disagree with and carry out video communication that then Tip element 305 can be accepted information such as video call to the terminal refusal that user prompt receives video call if receive the terminal of video call.In addition, if set up the video communication failure, then Tip element 305 can be set up information such as failure to the user prompt video communication.Prompting can have multiple mode, for example voice suggestion or the enterprising style of writing word prompting of terminal screen used the user.
In addition, terminal is received video call in voice communication course after, also can carry out multiple processing.For this reason, the embodiment of the invention provides the method for processing video frequency calling request in voice communication course.
As shown in Figure 4, a kind of method of processing video frequency calling request in voice communication course comprises:
Step S401: in voice communication course, obtain the video call request.
The video call request can be to be sent by the distant terminal that is carrying out voice communication with local terminal (promptly obtaining the executive agent of video call request).The video call request can arrive local terminal respectively via the Softswitch of distant terminal correspondence, the Softswitch of distant terminal correspondence.Certainly, the distant terminal Softswitch of issuing video call request, the distant terminal correspondence of the Softswitch of the distant terminal correspondence Softswitch of issuing the video call request of Softswitch of local terminal correspondence and local terminal correspondence issue the content of the video call request of local terminal can be incomplete same.For example, distant terminal is issued the video call request of the Softswitch of distant terminal correspondence need carry the video access code, the video call request that the Softswitch of distant terminal correspondence is issued the Softswitch of local terminal correspondence does not then need to carry the video access code, only needing explanation and which terminal to carry out video communication gets final product, perhaps only need explanation to carry out video communication with local terminal, and the Softswitch of local terminal correspondence is issued the video call request of local terminal and is not needed to carry the video access code equally, only need explanation have terminal to carry out video communication, perhaps only need explanation need carry out video communication with local terminal with the distant terminal that local terminal carries out voice communication with local terminal.
Step S402: set up video communication with the terminal of sending described video call request, perhaps, produce the information of whether accepting described video call request, accept described video call information requested if receive, then set up video communication with the terminal of sending described video call request, wherein, set up video communication with the terminal of sending described video call request after, and the voice communication of sending between the terminal of described video call request is undertaken by traditional voice communication network.
After obtaining the video call request, multiple processing mode can be arranged.For example, direct and distant terminal is set up video communication.When specific implementation, local terminal can be provided with video and often open function.When local terminal is opened video and is often opened function, as long as after local terminal obtains the video call request, just can set up video communication with distant terminal.
After obtaining the video call request, can also produce the information of whether accepting described video call request.Information can be an information of voice prompt, also can be the text prompt information that is presented on terminal (the being local terminal) screen that the user uses.
Local terminal can be provided for the user to the processing button of information (can with shared certain button of the terminal of prior art), so that the user selects or confirms.For example, if the user accepts the video call request, being used to of can pressing then that local terminal provides selected the button accepting or confirm, that is, the notice local terminal agrees to set up video communication.
Corresponding to above-mentioned local terminal video is set and often opens function, local terminal also can be closed video and often be opened function, like this, when local terminal obtains the video call request, just need the video call request be arranged to user prompt.If the user accepts the video call request, then local terminal can be set up video communication with distant terminal.
The executive agent of each step in the method for above-mentioned processing video frequency calling request in voice communication course can be a terminal, this terminal both can only be an IP terminal, it also can be an array terminal of forming by common voice terminal and IP terminal, certainly, in array terminal, the processing video frequency calling request be the IP terminal part.
In addition, the embodiment of the invention provides two kinds of terminals, and a kind of terminal wherein comprises as shown in Figure 5: request obtains unit 501, is used for obtaining the video call request at voice communication course; Unit 502 is set up in video communication, is used for setting up video communication with the terminal of sending described video call request after request obtains unit 501 acquisition video call requests; Wherein, after video communication is set up unit 502 and set up video communication with the terminal of sending described video call request, undertaken by traditional voice communication network with the voice communication that described video communication is carried out simultaneously.
Terminal shown in Figure 5 can be an IP terminal, also can be an array terminal that had not only comprised the IP termination function but also comprised traditional voice terminal function.So, optionally, terminal shown in Figure 5 can also comprise voice communication units 503, be used for before request obtains unit 501 acquisition video call requests, carry out voice communication by traditional voice communication network and the terminal of sending described video call request, after video communication is set up unit 502 and set up video communication with the terminal of sending described video call request, still carry out voice communication by traditional voice communication network and the terminal of sending described video call request.
It can be to be sent by the distant terminal that carries out voice communication with terminal shown in Figure 5 that request obtains video call request that unit 501 obtains, via the Softswitch of the Softswitch of distant terminal correspondence, terminal correspondence shown in Figure 5, the request that arrives terminal shown in Figure 5 obtains unit 501 respectively.Certainly, the request of issuing terminal shown in Figure 5 of the distant terminal Softswitch of issuing video call request, the distant terminal correspondence of the Softswitch of the distant terminal correspondence Softswitch of issuing the video call request of Softswitch of terminal correspondence shown in Figure 5 and terminal correspondence shown in Figure 5 obtain the content of the video call request of unit 501 can be incomplete same.For example, distant terminal is issued the video call request of the Softswitch of distant terminal correspondence need carry the video access code, the video call request that the Softswitch of distant terminal correspondence is issued the Softswitch of terminal correspondence shown in Figure 5 does not then need to carry the video access code, only needing explanation and which terminal to carry out video communication gets final product, perhaps only need explanation to carry out video communication with terminal shown in Figure 5, and the Softswitch of terminal correspondence shown in Figure 5 is issued the video call request that the request of terminal shown in Figure 5 obtains unit 501 and is not needed to carry the video access code equally, only need explanation have terminal to carry out video communication, perhaps only need explanation need carry out video communication with terminal shown in Figure 5 with the distant terminal that terminal shown in Figure 5 is carried out voice communication with terminal shown in Figure 5.
After request obtains unit 501 and obtains the video call requests, video communication set up unit 502 can be directly and distant terminal set up video communication.
Another terminal comprises as shown in Figure 6: request obtains unit 601, is used for obtaining the video call request at voice communication course; Tip element 604 is used for producing the information of whether accepting described video call request after request obtains unit 601 acquisition video call requests; Unit 602 is set up in video communication, is used for accepting described video call information requested if receive after whether Tip element 604 generations accept the information of described video call request, then sets up video communication with the terminal of sending described video call request; Wherein, after video communication is set up unit 602 and set up video communication with the terminal of sending described video call request, undertaken by traditional voice communication network with the voice communication that described video communication is carried out simultaneously.
Terminal shown in Figure 6 can be an IP terminal, also can be an array terminal that had not only comprised the IP termination function but also comprised traditional voice terminal function.So, optionally, terminal shown in Figure 6 can also comprise voice communication units 603, be used for before request obtains unit 601 acquisition video call requests, carry out voice communication by traditional voice communication network and the terminal of sending described video call request, after video communication is set up unit 602 and set up video communication with the terminal of sending described video call request, still carry out voice communication by traditional voice communication network and the terminal of sending described video call request.
It can be to be sent by the distant terminal that carries out voice communication with terminal shown in Figure 6 that request obtains video call request that unit 601 obtains, via the Softswitch of the Softswitch of distant terminal correspondence, terminal correspondence shown in Figure 6, the request that arrives terminal shown in Figure 6 obtains unit 601 respectively.Certainly, the request of issuing terminal shown in Figure 6 of the distant terminal Softswitch of issuing video call request, the distant terminal correspondence of the Softswitch of the distant terminal correspondence Softswitch of issuing the video call request of Softswitch of terminal correspondence shown in Figure 6 and terminal correspondence shown in Figure 6 obtain the content of the video call request of unit 601 can be incomplete same.For example, distant terminal is issued the video call request of the Softswitch of distant terminal correspondence need carry the video access code, the video call request that the Softswitch of distant terminal correspondence is issued the Softswitch of terminal correspondence shown in Figure 6 does not then need to carry the video access code, only needing explanation and which terminal to carry out video communication gets final product, perhaps only need explanation to carry out video communication with terminal shown in Figure 6, and the Softswitch of terminal correspondence shown in Figure 6 is issued the video call request that the request of terminal shown in Figure 6 obtains the unit and is not needed to carry the video access code equally, only need explanation have terminal to carry out video communication, perhaps only need explanation need carry out video communication with terminal shown in Figure 6 with the distant terminal that terminal shown in Figure 6 is carried out voice communication with terminal shown in Figure 6.
After request obtained unit 601 acquisition video call requests, Tip element 604 can produce the information of whether accepting described video call request.Information can be an information of voice prompt, also can be the text prompt information that is presented on terminal (the being terminal shown in Figure 6) screen that the user uses.If the user accepts the video call request, terminal then shown in Figure 6 can be set up video communication with distant terminal.
Need to prove that in all embodiment of the present invention, after two terminals of carrying out voice communication were set up video communication, voice communication still can be undertaken by traditional voice communication network, for example carries out voice communication by PSTN.In other words, in carrying out voice communication course, if set up video communication, then just the image of video is transmitted by video communication network, and speech data remains by traditional voice communication network transmission.So embodiments of the invention can guarantee the voice call quality of video communication.
Need to prove that also some user just uses video communication, but gets used to the communication of advanced lang sound with to side communication the time when not wishing to begin to communicate by letter, consider whether carry out video communication again, and the embodiment of the invention just in time can satisfy this demand.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.