Background technology
Along with VoIP (Voice over Internet Protocol, IP phone) development, the user's communications terminal develops into intelligent terminal gradually, and this intelligent terminal not only can provide basic voice call function, and functions such as video interactive, text chat, data transmission can also be provided.Wherein, intelligent terminal comprises that smart mobile phone, SIP (Session Initiation Protocol, session initiation protocol) telephone set and PC (PC, Personal Computer) go up the soft phone of operation etc.
With reference to Fig. 1, intelligent terminal A, intelligent terminal B and intelligent terminal C finally use the common communication capacity of supporting of communication parties to communicate by communication server negotiation communication ability.According to the function that described intelligent terminal provides, the user can fully satisfy all kinds of real-time and non real-time needs of communicating by letter.By online perception, can understand the other side's state between intelligent terminal mutually, for example reach the standard grade, online, state such as have much to do, leave, can also consult between the intelligent terminal and definite interactive mode and ability, for example to the support of video, literal, mail etc., and coding/decoding capability such as voice/video etc.
But, because the height of user's and function online to intelligent terminal relies on, the user will partly or entirely lose the ability with other user interactions under many circumstances, for example: 1), the callee can't use intelligent terminal, for example, the callee does not connect the communication server or not online; 2), the callee using intelligent terminal and other people to communicate, and can't handle new communication request; 3) side in the conversation only can use voice mode communication, and its other party of communication need provide video or file-sharing etc.; 4), a side of communication only can use lettergram mode communication, and its other party of communication employing voice mode communication.Usually will can't be called the off line user with the user of other user interactions fully, can be with other user interactions but the user that terminal capability can not be satisfied the demand is called limited users.
With reference to Fig. 2, Fig. 2 is the Voice Mailbox networking schematic diagram of prior art, after switch receives call request to user B, whether inquiring user B is provided with Voice Mailbox, when user B is provided with call transfer to voice mailbox unconditional, perhaps when can't the connection situation Voice Mailbox being set, switch changes calling over to voice mailbox server, voice mailbox server is kept at the calling message content on the storage server, and will leave a message content and other communication informations convert mail format to and are saved in mail server, and user B can obtain message content and other communication informations from mail server by Web browser or Mail Clients B.
The implementation method of the Voice Mailbox that prior art is provided below in conjunction with Fig. 2 is described, the prior art is that server passes through time division multiplexing (TDM, Time Division Multiplex and Multiplexer) or IP mode and switch carry out alternately, carry out message just recorded and forwarding by mail then, the method flow of the prior art specifically may further comprise the steps as shown in Figure 3:
Step 301, switch are received the call request to user B, and this request can come from outside public switch telephone network (PSTN, Public Switched Telephone Network) or IP network, also can be (for example user A) under the same switch.
The state of step 302, switch query user B judges whether user B is provided with call transfer to voice mailbox unconditional, if, execution in step 304, otherwise enter step 303.
Step 303, switch are called out user B, if run into that the line is busy, long time no answer etc. can't connect situation, and the state of inquiring user B again, judge whether user B is provided with corresponding voice mailbox service under situation about can't connect, if, execution in step 304, otherwise process ends.
Step 304, switch change calling over to voice mailbox server.
Step 305, voice mailbox server call establishment, by interactive voice answering (IVR, Interactive Voice Response) guiding calling message, and the content of will leave a message is kept on the storage server, and the user finishes this conversation after leaving a message and finishing.
Step 306, voice mailbox server change into mail format with this message content and other communication informations, send in the mailbox of user B setting.
Step 307, user B can obtain the content and the relevant information of this message by the mode of voice calls mailbox; Also can pass through Web browser or Mail Clients access mail, obtain the content and the relevant information of message.
Above-mentioned prior art is after being provided with voice mailbox service for the callee, voice mailbox server can both guide calling message, and convert the tone information content to mail format and send to the mailbox that is provided with into the callee, make like this when the callee is off line user or limited users still can processes complete Content of Communication, but, the prior art only can by the Voice Mailbox mode substitute or replenish user to carry out speech business mutual, when passing through literal, video, data sharing, file transmission etc. is carried out when mutual, and off line user or limited users just can't be by the Content of Communication of Voice Mailbox mode processes complete.
Embodiment
For the Content of Communication that makes that off line user or limited users can processes complete, the embodiment of the invention provides the method for communication request between a kind of processing terminal, and this method comprises:
Reception is from the communication request of first terminal, and described communication request is called out second terminal;
Be that second terminal generates proxy commands, from the proxy module of a plurality of different communication abilities, select proxy module with described communication request type matching according to described proxy commands, and set up being connected of the described selected proxy module and first terminal, so that described selected proxy module replaces the communication request of second terminal processes from first terminal.
Alternatively, be also further to comprise when second terminal generates proxy commands: analyze the type of described communication request, and carry described type by proxy commands.
Alternatively, after the communication request that receives from first terminal, further comprise: judge whether described second terminal can handle the communication request from first terminal, and when second terminal can not be handled described communication request, be implemented as the step that second terminal generates proxy commands.
Alternatively, comprise according to the step of described proxy commands selection: the type that from described proxy commands, obtains described communication request with the proxy module of the type matching of described communication request; The proxy module of the type matching of selection and described communication request.
Alternatively, described method also further comprises: receive this Content of Communication that selected proxy module sends;
Convert described Content of Communication to mate result, and send to second terminal with the communication capacity of second terminal.
On the foregoing description basis, further combined with description of drawings other implementations of the present invention.
The method of communication request between embodiment one, a kind of processing terminal, the callee of present embodiment is not online, off line user just, the method flow of present embodiment specifically may further comprise the steps as shown in Figure 4:
The communication request message that step 401, reception calling party send to the callee, this message comprises called party identification and title etc., can occur in communication foundation, communication period and the sign off stage.
Step 402, since the callee not online, this moment need be for the callee generates proxy commands, wherein, described proxy commands comprises the type of described communication request.
Step 403, send described proxy commands.
Step 404, from the proxy module of a plurality of different communication abilities, select proxy module A with described communication request type matching according to described proxy commands, described proxy module A is at run duration, possesses the ability of carrying out the various types of communication content exchange with the calling party, for example, IVR guiding, message are recorded and all kinds of interaction capabilities such as transmission, file reception and transmission.
Step 405, send calling party's communication request message to proxy module A.
Step 406, calling party and proxy module A carry out Signalling exchange and media flow transmission.
Proxy module A transmits all kinds of interactive information in complete Content of Communication (for example literal, voice, video, file etc.) and the communication process (time started of transmitting as the time of reception of literal, file and concluding time etc.) in step 407, the communication process.
After step 408, calling party finish communication, send the end communication request message and finish this communication.
Step 409, send the end communication request to proxy module A.
Step 410, proxy module A handle this Content of Communication, for example, preserve all the elements of this communication, perhaps this Content of Communication is converted to the information of mating and be transmitted to called end again with callee's communication capacity, perhaps, perhaps delete all the elements of this communication on the server etc. with the meaningful appointment mailbox that is forwarded to of this signal post.Proxy module A is handling being connected of described Content of Communication disconnection and calling party.
Step 411, proxy module A is deleted, and discharge the resource that proxy module A occupies.
The method of communication request between embodiment two, a kind of processing terminal, the callee of this embodiment is online but terminal capability is limited, and a support voice is not supported literal and video, just limited users.The method flow of present embodiment specifically may further comprise the steps as shown in Figure 5:
The communication request message that step 501, reception calling party send to the callee, this request can send in communication foundation, communication period and sign off stage, wherein, communication request message comprises requirement, called party identification and the title etc. to video and literal ability.
Step 502, since the callee do not support video and Word message, for the callee generates proxy commands, wherein, described proxy commands comprises the type of described communication request.
Step 503, send described proxy commands.
Step 504, from the proxy module of a plurality of different communication abilities, select proxy module A with described communication request type matching according to described proxy commands, described proxy module A is at run duration, possesses the ability of carrying out the various types of communication content exchange with the calling party, for example, IVR guiding, message are recorded and all kinds of interaction capabilities such as transmission, file reception and transmission.
Step 505, send communication request message from the calling party to proxy module A.
Step 506, proxy module A send communication request message to the callee.
Step 507, calling party and proxy module A carry out Signalling exchange and media flow transmission.
Carry out Signalling exchange and media flow transmission between step 508, proxy module A and the callee.
Proxy module A transmits all kinds of interactive information in Content of Communication and the communication process in step 509, the communication process.
After step 510, calling party finish communication, send the end communication request to proxy module A and finish this communication.
Step 511, proxy module A send the end communication request to the callee.
Step 512, proxy module A handle this Content of Communication, handle being connected of described Content of Communication disconnection and calling party.
Step 513, proxy module A is deleted, and discharge the resource that proxy module A occupies.
The method of communication request between embodiment three, a kind of processing terminal, the calling party of present embodiment is a mail user, the callee is online, but does not support mail service.The method flow of present embodiment specifically may further comprise the steps as shown in Figure 6:
Step 601, reception calling party send to callee's mail, and preserve this mail.
Step 602, since the callee do not support mail service, for the callee generates proxy commands, wherein, described proxy commands comprises the type of described communication request.
Step 603, send described proxy commands.
Step 604, from the proxy module of a plurality of different communication abilities, select proxy module A with described communication request type matching according to described proxy commands, described proxy module A is at run duration, possesses the ability of carrying out the various types of communication content exchange with the calling party, for example, IVR guiding, message are recorded and all kinds of interaction capabilities such as transmission, file reception and transmission.
Step 605, proxy module A send the communication request to the callee.
Step 606, send communication request to the callee.
Step 607, proxy module A obtain the mail that the calling party sends to the callee, and the content of this mail is converted to the manageable content of callee, for example, send file, broadcast message body, text annex and voice attachment etc. in the annex.
Carry out Signalling exchange and media flow transmission between step 608, proxy module A and the callee.
Proxy module A stores all kinds of interactive information in Content of Communication and the communication process in step 609, the communication process.
After step 610, proxy module A handle Content of Communication, send and finish communication request.
Step 611, send the end communication request to the callee.
If step 612 user selects replied mail to give the callee, send mail to the callee, Mail Contents is callee's a Content of Communication.
Step 613, proxy module A handle this Content of Communication, handle the back and disconnect connection.
Step 614, proxy module A is deleted, and discharge the resource that proxy module A occupies.
The method of communication request between embodiment four, a kind of processing terminal, the calling party of present embodiment and callee both are limited users, the method flow of present embodiment specifically may further comprise the steps as shown in Figure 7:
The communication request message that step 701, reception calling party send to the callee, wherein, calling party's support voice and video, callee's support voice and literal.
Step 702, since the callee do not possess video capability, for the callee generates proxy commands A, wherein, described proxy commands comprises the type of described communication request.
Step 703, send described proxy commands.
Step 704, from the proxy module of a plurality of different communication abilities, select proxy module A with described communication request type matching according to described proxy commands, described proxy module A is at run duration, possesses the ability of carrying out the various types of communication content exchange with the calling party, for example, IVR guiding, message are recorded and all kinds of interaction capabilities such as transmission, file reception and transmission.
Step 705, calling party do not possess the literal ability, for the calling party generates proxy commands B.
Step 706, transmission proxy commands B.
Step 707, from the proxy module of a plurality of different communication abilities, select proxy module B with described communication request type matching according to described proxy commands, described proxy module B is at run duration, possesses the ability of carrying out the various types of communication content exchange with the callee, for example, IVR guiding, message are recorded and all kinds of interaction capabilities such as transmission, file reception and transmission.
Step 708, send communication request from the calling party to proxy module B.
Step 709, proxy module B send communication request to proxy module A.
Step 710, proxy module A send communication request to the callee.
Step 711, calling party and proxy module B carry out Signalling exchange and media flow transmission.
Step 712, proxy module B and proxy module A carry out Signalling exchange and media flow transmission.
Step 713, proxy module A and callee carry out Signalling exchange and media flow transmission.
All kinds of interactive information that proxy module B is responsible for transmitting in voice communication content, video communication content and the communication process between calling party and the proxy module A in step 714, the communication process are stored to memory cell.
All kinds of interactive information that proxy module A is responsible in voice communication content, text communication content and the communication process between Forward Proxy module B and the callee in step 715, the communication process are stored to memory cell.
After step 716, calling party finish communication, send the end communication request, finish this communication to proxy module B.
Step 717, proxy module B send to proxy module A and finish communication request, finish this communication.
Step 718, proxy module A send the end communication request to the callee, finish this communication.
Step 719, proxy module B handle this Content of Communication, disconnect then connecting.
Step 720, proxy module A handle this Content of Communication according to callee's configuration information, disconnect then connecting.
Step 721, deletion proxy module B and proxy module A, and discharge the related resource that proxy module B and proxy module A are occupied.
In addition, one of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description is to indicate relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, and this program may further comprise the steps when carrying out:
Reception is from the communication request of first terminal, and described communication request is called out second terminal;
Be that second terminal generates proxy commands, from the proxy module of a plurality of different communication abilities, select proxy module with described communication request type matching according to described proxy commands, and set up being connected of the described selected proxy module and first terminal, so that described selected proxy module replaces the communication request of second terminal processes from first terminal.
Wherein, described storage medium can be ROM, RAM, magnetic disc or CD or the like.
Embodiment five, a kind of server, referring to Fig. 8, this server comprises:
Communication unit 801 is used to receive the communication request that first terminal sends to second terminal;
Agent equipment 802, be used to provide the proxy module of a plurality of different communication abilities, and be that second terminal generates proxy commands, and from the proxy module of a plurality of different communication abilities, select proxy module with described communication request type matching according to described proxy commands, and set up being connected of the described proxy module and first terminal, so that described proxy module replaces the communication request of second terminal processes from first terminal.
Wherein, described agent equipment 802 comprises:
Generation unit 803 is used to second terminal to generate proxy commands.
Integration proxy unit 804, the proxy module that comprises a plurality of different communication abilities, described each proxy module is used to handle the communication request of specific communications ability, and described specific communications ability can guide for IVR, leave a message and record and various types of communication abilities such as transmission, file reception and transmission.
Matching unit 805, be used for according to described proxy commands from the integration proxy unit 804 proxy modules of selecting with described communication request type matching, and set up being connected of the described selected proxy module and first terminal, described selecteed proxy module replaces the communication request of second terminal processes from first terminal.
Converting unit 806 is used for receiving this Content of Communication that integration proxy unit 804 selected proxy modules send, and converts described this Content of Communication to mate with the communication capacity of second terminal information, and sends to second terminal.
What deserves to be explained is that when second terminal can be handled this Content of Communication, described agent equipment did not need Content of Communication is changed, this moment, agent equipment can comprise:
Memory cell is used for receiving this Content of Communication that integration proxy unit 804 selecteed proxy modules send, and described Content of Communication is preserved for second terminal inquiry.
By the foregoing description as can be known, the embodiment of the invention is receiving that first terminal is after the communication request that second terminal sends, be that second terminal generates proxy commands, and from the proxy module of a plurality of different communication abilities, select proxy module with described communication request type matching according to described proxy commands, and set up being connected of the described proxy module and first terminal, so that described proxy module replaces the communication request of second terminal processes from first terminal, when being off line user or limited users, second terminal can both carry out information interaction like this with first terminal, thus Content of Communication that can processes complete.
More than method, the server of communication request between the processing terminal that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.