WO2009056033A1 - Method and server for processing communication request between terminals - Google Patents
Method and server for processing communication request between terminals Download PDFInfo
- Publication number
- WO2009056033A1 WO2009056033A1 PCT/CN2008/072767 CN2008072767W WO2009056033A1 WO 2009056033 A1 WO2009056033 A1 WO 2009056033A1 CN 2008072767 W CN2008072767 W CN 2008072767W WO 2009056033 A1 WO2009056033 A1 WO 2009056033A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- proxy
- communication
- communication request
- proxy module
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/58—Arrangements for transferring received calls from one subscriber to another; Arrangements affording interim conversations between either the calling or the called party and a third party
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42348—Location-based services which utilize the location information of a target
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/50—Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
- H04M3/51—Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/54—Arrangements for diverting calls for one subscriber to another predetermined subscriber
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and a server for processing a communication request between terminals. Background technique
- the smart terminal can provide basic voice call functions and provide functions such as video interaction, text chat, and data transmission.
- the smart terminal includes a smart phone, a SIP (Session Initiation Protocol) telephone, and a softphone running on a personal computer (PC, Personal Computer).
- SIP Session Initiation Protocol
- the smart terminal 8, the smart terminal B, and the smart terminal C negotiate communication capabilities through the communication server, and finally communicate using the communication capabilities supported by the communication parties.
- the user can fully satisfy various real-time and non-real-time communication needs.
- intelligent terminals can understand each other's status, such as online, online, busy, and away.
- the intelligent terminals can also negotiate and determine interaction modes and capabilities, such as support for video, text, and email. And codec capabilities such as voice/video.
- the user will partially or completely lose the ability to interact with other users, for example: 1) The called party cannot use the smart terminal, for example, the called party The party cannot connect to the communication server or is not online; 2) The called party is using the smart terminal to communicate with other people and cannot handle new communication requests; 3) The party in the call can only use voice communication, and the other communication The party needs to provide video or file sharing, etc.; 4) The communicating party can only communicate by mail, while the other parties of the communication use voice communication.
- a user who is completely incapable of interacting with other users is often referred to as an offline user, and a user who can interact with other users but whose terminal capabilities are not sufficient is called a restricted user.
- FIG. 2 is a schematic diagram of a voice mailbox networking in the prior art.
- the switch After receiving a call request to user B, the switch queries whether user B sets a voice mailbox, and when user B sets an unconditional voice mailbox, or fails to connect. When the voice mailbox is set, the switch forwards the call to the voice mailbox service.
- the voice mail server saves the content of the calling message on the storage server, and converts the message content and other communication information into a mail format and saves it to the mail server.
- User B can obtain the mail message from the mail server through the web browser or the mail client B. Message content and other communication information.
- the method for implementing the voice mailbox provided by the prior art is described below with reference to FIG. 2, where the server interacts with the switch through Time Division Multiplex and Multiplexer (TDM), and then records the message. Forwarding the mail, the method flow of the prior art is as shown in FIG. 3, and specifically includes the following steps:
- Step 301 The switch receives a call request to user B, and the request may be from an external public switched telephone network (PSTN) or an IP network, or may be under the same switch (for example, user A).
- PSTN public switched telephone network
- IP network IP network
- Step 302 The switch queries the status of the user B, and determines whether the user B sets the unconditional voice mailbox. If yes, go to step 304, otherwise go to step 303.
- Step 303 The switch makes a call to the user B. If the network is busy, the long-term call should not be connected, and then the status of the user B is checked, and it is determined whether the user B has the corresponding voice mailbox service if the user B cannot be connected. If yes, go to step 304, otherwise end the process.
- Step 304 The switch transfers the call to the voice mailbox server.
- Step 305 The voice mailbox server connects the call, and the caller message is guided by an interactive voice response (IVR, Interactive Voice Response), and the message content is saved on the storage server. After the user completes the message, the call ends.
- IVR Interactive Voice Response
- Step 306 The voice mailbox server converts the content of the message and other communication information into a mail format, and sends the message to the mailbox set by the user B.
- Step 307 User B can obtain the content and related information of the message by calling a voice mailbox; or accessing the mail through a web browser or a mail client to obtain the content and related information of the message.
- the voice mailbox server can guide the calling message, and convert the voice message content into a mail format and send it to the mailbox set for the called party, so that the called party is The offline communication user or the restricted user can still process the complete communication content.
- the prior art can only replace or supplement the user's voice service interaction through voice mailbox, when through text, video, data sharing, file transfer, and the like. Offline users or restricted users cannot interact when interacting Handle complete communication content through voicemail.
- a technical problem to be solved by embodiments of the present invention is to provide a method for processing a communication request between terminals, which enables an offline user or a limited user to process a complete communication content when the communication parties have different communication capabilities.
- a technical problem to be solved by embodiments of the present invention is to provide a server capable of causing an offline user or a restricted user to process a complete communication content when the communication parties have different communication capabilities.
- an embodiment of the present invention provides a method for processing a communication request between terminals, including:
- the communication request is used to call the second terminal; generating a proxy command for the second terminal, and selecting, according to the proxy command, a type of the communication request from a plurality of proxy modules of different communication capabilities Matching the proxy module and establishing a connection between the selected proxy module and the first terminal to cause the selected proxy module to process the communication request from the first terminal in place of the second terminal.
- the embodiment of the invention also provides a server, including:
- a receiving unit configured to receive a communication request sent by the first terminal to the second terminal
- a proxy device configured to generate a proxy command for the second terminal, and select a proxy module according to the proxy command, so that the selected proxy module processes the communication request from the first terminal in place of the second terminal.
- the embodiment of the present invention after receiving the communication request sent by the first terminal to the second terminal, the embodiment of the present invention generates a proxy command for the second terminal, and selects the proxy module according to the proxy command, so that the The proxy module replaces the second terminal to process the communication request from the first terminal, so that the present invention can make the offline when the communication user uses text, video, data sharing, file transfer and the like to interact with the offline user or the limited user.
- the user or the restricted user handles the complete communication content.
- FIG. 1 is a schematic diagram of communication between a prior art intelligent terminal and a communication server
- FIG. 2 is a schematic diagram of a voice mailbox networking in the prior art
- FIG. 3 is a flow chart of a method for implementing a voice mailbox of the prior art
- 4 is a flowchart of a method for processing a communication request between terminals according to an embodiment of the present invention
- 5 is a flowchart of a method for processing a communication request between terminals according to Embodiment 2 of the present invention
- FIG. 6 is a flowchart of a method for processing a communication request between terminals according to Embodiment 3 of the present invention.
- Figure ⁇ is a flowchart of a method for processing a communication request between terminals according to Embodiment 4 of the present invention.
- FIG. 8 is a schematic diagram of a server according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a proxy module in an integrated proxy unit according to an embodiment of the present invention.
- the embodiment of the present invention provides a method for processing a communication request between terminals, the method comprising:
- Generating a proxy command for the second terminal selecting, according to the proxy command, a proxy module that matches the communication request type from a plurality of proxy modules of different communication capabilities, and establishing a connection between the selected proxy module and the first terminal, The communication request from the first terminal is processed by the selected proxy module in place of the second terminal.
- the method further includes: analyzing the type of the communication request, and carrying the type by the proxy command.
- the method further includes: determining whether the second terminal can process the communication request from the first terminal, and executing the second request when the second terminal cannot process the communication request The step of the terminal generating a proxy command.
- the step of selecting an agent module matching the type of the communication request according to the proxy command comprises: obtaining a type of the communication request from the proxy command; selecting an agent matching a type of the communication request Module.
- the method further includes: receiving the current communication content sent by the selected proxy module;
- Embodiment 1 A method for processing a communication request between terminals, wherein the called party is not online, that is, an offline user.
- the method flow of this embodiment is as shown in FIG. 4, and specifically includes the following steps: Step 401: Receiving a communication request message sent by the calling party to the called party, the message including the called party
- the identification, name, etc. can occur during communication establishment, communication, and communication end.
- Step 402 Since the called party is not online, it is required to generate a proxy command for the called party, where the proxy command includes the type of the communication request.
- Step 403 Send the proxy command.
- Step 404 Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation.
- the ability to interact for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
- Step 405 Send a communication request message of the calling party to the proxy module A.
- Step 406 The calling party and the proxy module A perform signaling interaction and media stream transmission.
- Step 407 During the communication process, the proxy module A will complete the communication content (such as text, voice, video, file, etc.) and various types of interaction information in the communication process (such as the receiving time of the text, the start time and the end time of the file transmission, etc.) ) for storage or forwarding.
- the communication content such as text, voice, video, file, etc.
- various types of interaction information in the communication process such as the receiving time of the text, the start time and the end time of the file transmission, etc.
- Step 408 After the calling party completes the communication, the sending end communication request message ends the current communication.
- Step 409 End the communication request to the proxy module.
- Step 410 The proxy module A processes the current communication content, for example, saves all the content of the current communication, or converts the current communication content into information matching the communication capability of the called party, and then forwards the information to the called terminal, or All content of this communication is forwarded to the specified mailbox, or all contents of this communication on the server are deleted.
- the proxy module A is disconnected from the calling party after processing the communication content.
- Step 411 Delete the proxy module A, and release the resources occupied by the proxy module A.
- Embodiment 2 A method for processing a communication request between terminals, wherein the called party has limited online but limited terminal capabilities, only supports voice, and does not support text and video, that is, limited users.
- the process of this embodiment is shown in FIG. 5, and specifically includes the following steps:
- Step 501 Receive a communication request message sent by the calling party to the called party, where the request may be sent during a communication establishment, a communication period, and a communication end stage, where the communication request message includes a requirement for video and text capabilities, a called party identifier, and Name and so on.
- Step 502 Generate a proxy command for the called party because the called party does not support video and text information, where the proxy command includes a type of the communication request.
- Step 503 Send the proxy command.
- Step 504 Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation.
- the ability to interact for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
- Step 505 Send a communication request message from the calling party to the proxy module A.
- Step 506 The proxy module A sends a communication request message to the called party.
- Step 507 Perform signaling interaction and media stream transmission between the proxy module A and the called party.
- Step 508 The calling party and the proxy module A perform signaling interaction and media stream transmission.
- Step 509 During the communication process, the proxy module A stores or forwards the communication content and various types of interaction information in the communication process.
- Step 510 After the calling party completes the communication, the sending end communication request is sent to the proxy module A to end the communication.
- Step 51 The proxy module A issues a communication request to the called party.
- Step 512 The proxy module A processes the content of the communication, and processes the disconnection of the communication content and the connection of the calling party.
- Step 513 Delete the proxy module A, and release the resources occupied by the proxy module A.
- the third embodiment is a method for processing a communication request between terminals.
- the calling party is a mail user
- the called party is online, but does not support the mail service.
- the method flow of this embodiment is shown in FIG. 6, and specifically includes the following steps:
- Step 601 Receive an email sent by the calling party to the called party, and save the email.
- Step 602 Generate a proxy command for the called party because the called party does not support the mail service, where the proxy command includes a type of the communication request.
- Step 603 Send the proxy command.
- Step 604 Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation.
- the ability to interact for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
- Step 605 The proxy module AJ sends a communication request to the called party.
- Step 606 Send a communication request to the called party.
- Step 607 The proxy module A obtains the mail sent by the calling party to the called party, and converts the content of the mail into content that the called party can process, for example, sending the file in the attached file, playing the mail body, text attachment, and voice. Attachments, etc.
- Step 608 Perform signaling interaction and media stream transmission between the proxy module A and the called party.
- Step 609 During the communication process, the proxy module A stores or forwards the communication content and various types of interaction information in the communication process.
- Step 610 After the proxy module A processes the communication content, the end communication request is sent.
- Step 611 Send an end communication request to the called party.
- Step 612 If the user selects a reply email to the calling party, the email is sent to the calling party, and the content of the email is the communication content replied by the called party stored by the proxy module A.
- Step 613 The proxy module A processes the content of the communication, and disconnects after the processing.
- Step 614 Delete the proxy module A, and release the resources occupied by the proxy module A.
- the fourth embodiment is a method for processing a communication request between terminals.
- the caller and the called party in this embodiment are both restricted users.
- the process of this embodiment is as shown in FIG. 7, and specifically includes the following steps: Step 701: Receive a communication request message sent by the calling party to the called party, where the calling party only supports voice and video, and the called party supports voice and text.
- Step 702 Generate a proxy command A for the called party because the called party does not have the video capability, where the proxy command includes the type of the communication request.
- Step 703 Send the proxy command.
- Step 704 Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation.
- the ability to interact for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
- Step 705 The calling party does not have the text capability, and generates a proxy command for the calling party.
- Step 706 Send a proxy command B.
- Step 707 Select, according to the proxy command, a proxy module B that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module B has various communication contents with the called party during operation.
- Step 708 Send a communication request from the calling party to the proxy module B.
- Step 709 The proxy module B sends a communication request to the proxy module A.
- Step 710 The proxy module A sends a communication request to the called party.
- Step 711 The calling party and the proxy module B perform signaling interaction and media stream transmission.
- Step 712 The proxy module B performs a signaling interaction and a media stream transmission with the proxy module A.
- Step 713 The proxy module A and the called party perform signaling interaction and media streaming.
- Step 714 The proxy module B is responsible for forwarding the voice communication content and the video communication content between the calling party and the agent module A, and storing and forwarding various types of interaction information in the communication process to the storage unit for storage or forwarding.
- Step 715 The proxy module A is responsible for forwarding the voice communication content, the text communication content between the proxy module B and the called party, and storing various types of interaction information in the communication process to the storage unit for storage or forwarding.
- Step 716 After the calling party completes the communication, it sends an end communication request to the proxy module B, and ends the communication.
- Step 717 The proxy module B sends an end communication request to the proxy module A, and ends the communication.
- Step 719 The agent module B processes the content of the communication, and then disconnects.
- Step 720 The proxy module A processes the current communication content according to the configuration information of the called party, and then disconnects the connection.
- Step 721 Delete the proxy module B and the proxy module A, and release the related resources occupied by the proxy module B and the proxy module A.
- the storage medium may be a ROM, a RAM, a magnetic disk or an optical disk, or the like.
- Embodiment 5 A server, referring to FIG. 8, the server includes:
- the receiving unit 801 is configured to receive a communication request sent by the first terminal to the second terminal.
- a proxy device 802 configured to provide a plurality of proxy modules of different communication capabilities, and generate proxy commands for the second terminal, and select, according to the proxy commands, from the proxy modules of the plurality of different communication capabilities to match the communication request type And a proxy module, and establishing a connection between the proxy module and the first terminal, so that the proxy module processes the communication request from the first terminal in place of the second terminal.
- the proxy device 802 includes:
- the generating unit 803 is configured to generate a proxy command for the second terminal.
- the integration agent unit 804 includes a plurality of agent modules of different communication capabilities, and the agent modules are used to process communication requests of specific communication capabilities, and the specific communication capabilities may be IVR guidance, message recording and transmission, file receiving and sending. And other types of communication capabilities.
- the matching unit 805 is configured to select, according to the proxy command, a proxy module that matches the communication request type from the integration proxy unit 804, and establish a connection between the selected proxy module and the first terminal, the selected proxy The module processes the communication request from the first terminal in place of the second terminal.
- the converting unit 806 is configured to receive the current communication content sent by the selected proxy module in the integration proxy unit 804, and convert the current communication content into information that matches the communication capability of the second terminal, and send the information to the second terminal. .
- FIG. 9 is a schematic structural diagram of a proxy module in an integrated proxy unit.
- the proxy module includes: a receiving request unit 901, configured to receive the communication request.
- the interaction unit 902 is configured to perform information interaction after establishing a connection with the first terminal according to the communication request, or perform a connection with the second terminal according to the communication request, and perform, for the first terminal and the second terminal, Information transfer.
- the proxy device when the second terminal is capable of processing the content of the communication, the proxy device does not need to convert the communication content, and the proxy device may include:
- the storage unit 807 is configured to receive the current communication content sent by the selected proxy module in the integration proxy unit 804, and save the communication content for the second terminal to query.
- the embodiment of the present invention after receiving the communication request sent by the first terminal to the second terminal, the embodiment of the present invention generates a proxy command for the second terminal, and performs multiple different communication technologies according to the proxy command. Selecting a proxy module matching the communication request type, and establishing a connection between the proxy module and the first terminal, so that the proxy module processes the communication request from the first terminal instead of the second terminal, such that When the second terminal is an offline user or a limited user, information interaction with the first terminal can be performed, so that the complete communication content can be processed.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
处理终端间通信请求的方法、 服务器 Method and server for processing communication request between terminals
本申请要求于 2007 年 10 月 25 日提交中国专利局、 申请号为 200710165419.2、 发明名称为 "处理终端间通信请求的方法、 服务器" 的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 This application claims priority to Chinese Patent Application No. 200710165419.2, entitled "Method and Server for Handling Inter-terminal Communication Requests", filed on October 25, 2007, the entire contents of which is incorporated herein by reference. In the application.
技术领域 Technical field
本发明涉及通信技术领域,尤其涉及处理终端间通信请求的方法、服务器。 背景技术 The present invention relates to the field of communications technologies, and in particular, to a method and a server for processing a communication request between terminals. Background technique
随着 VoIP ( Voice over Internet Protocol, IP电话 )的发展, 用户的通信终 端逐渐发展为智能终端,该智能终端不仅能够提供基本的语音通话功能,还能 够提供视频交互、文字聊天、数据传送等功能。其中,智能终端包括智能手机、 SIP ( Session Initiation Protocol, 会话初始协议) 电话机以及个人电脑(PC, Personal Computer )上运行的软件电话等。 With the development of VoIP (voice over Internet Protocol), the user's communication terminal has gradually developed into a smart terminal. The smart terminal can provide basic voice call functions and provide functions such as video interaction, text chat, and data transmission. . Among them, the smart terminal includes a smart phone, a SIP (Session Initiation Protocol) telephone, and a softphone running on a personal computer (PC, Personal Computer).
参照图 1 ,智能终端八、智能终端 B以及智能终端 C通过通信服务器协商 通信能力, 最终使用通信各方共同支持的通信能力进行通信。根据所述智能终 端提供的功能, 用户可以充分满足各类实时和非实时的通信需要。通过在线感 知, 智能终端间可以互相了解对方的状态, 例如上线、 在线、 忙碌、 离开等状 态, 智能终端之间还可以协商并确定交互方式与能力, 例如对视频、 文字、 邮 件等的支持, 以及语音 /视频等编解码能力等。 Referring to FIG. 1, the smart terminal 8, the smart terminal B, and the smart terminal C negotiate communication capabilities through the communication server, and finally communicate using the communication capabilities supported by the communication parties. According to the functions provided by the intelligent terminal, the user can fully satisfy various real-time and non-real-time communication needs. Through online awareness, intelligent terminals can understand each other's status, such as online, online, busy, and away. The intelligent terminals can also negotiate and determine interaction modes and capabilities, such as support for video, text, and email. And codec capabilities such as voice/video.
但是, 由于用户对智能终端在线和功能的高度依赖,在艮多情况下用户将 会部分或全部丧失与其他用户交互的能力, 例如: 1 )、被叫方无法使用智能终 端, 例如, 被叫方连接不上通信服务器或者不在线; 2 )、 被叫方正在使用智能 终端与其他人进行通信, 无法处理新的通信请求; 3 )通话中的一方仅能使用 语音方式通信, 而通信的其他方需要提供视频或者文件共享等; 4 )、 通信的一 方仅能使用邮件方式通信, 而通信的其他方采用语音方式通信。通常将完全无 法与其他用户交互的用户称为脱机用户,将可以与其他用户交互但终端能力不 能满足需要的用户称为受限用户。 However, due to the user's high dependence on the online and functional functions of the smart terminal, in many cases, the user will partially or completely lose the ability to interact with other users, for example: 1) The called party cannot use the smart terminal, for example, the called party The party cannot connect to the communication server or is not online; 2) The called party is using the smart terminal to communicate with other people and cannot handle new communication requests; 3) The party in the call can only use voice communication, and the other communication The party needs to provide video or file sharing, etc.; 4) The communicating party can only communicate by mail, while the other parties of the communication use voice communication. A user who is completely incapable of interacting with other users is often referred to as an offline user, and a user who can interact with other users but whose terminal capabilities are not sufficient is called a restricted user.
参照图 2, 图 2是现有技术的语音邮箱组网示意图, 交换机接收到对用户 B的呼叫请求后, 查询用户 B是否设置语音邮箱, 当用户 B设置无条件转语 音邮箱,或者在无法接通情况设置语音邮箱时, 交换机将呼叫转入语音邮箱服 务器,语音邮箱服务器将主叫留言内容保存在存储服务器上, 以及将留言内容 和其他通信信息转换成邮件格式保存到邮件服务器, 用户 B可以通过 Web浏 览器或邮件客户端 B从邮件服务器获取留言内容和其他通信信息。 Referring to FIG. 2, FIG. 2 is a schematic diagram of a voice mailbox networking in the prior art. After receiving a call request to user B, the switch queries whether user B sets a voice mailbox, and when user B sets an unconditional voice mailbox, or fails to connect. When the voice mailbox is set, the switch forwards the call to the voice mailbox service. The voice mail server saves the content of the calling message on the storage server, and converts the message content and other communication information into a mail format and saves it to the mail server. User B can obtain the mail message from the mail server through the web browser or the mail client B. Message content and other communication information.
下面结合图 2对现有技术提供的语音邮箱的实现方法进行描述,该现有技 术是服务器通过时分复用 (TDM, Time Division Multiplex and Multiplexer ) 或 IP方式与交换机进行交互, 然后进行录音留言并转发邮件, 该现有技术的 方法流程如图 3所示, 具体包括以下步骤: The method for implementing the voice mailbox provided by the prior art is described below with reference to FIG. 2, where the server interacts with the switch through Time Division Multiplex and Multiplexer (TDM), and then records the message. Forwarding the mail, the method flow of the prior art is as shown in FIG. 3, and specifically includes the following steps:
步骤 301、 交换机收到对用户 B的呼叫请求, 该请求可以来自于外部公共 交换电话网(PSTN, Public Switched Telephone Network )或 IP网络, 也可以是 同一交换机下 (例如用户 A ) 。 Step 301: The switch receives a call request to user B, and the request may be from an external public switched telephone network (PSTN) or an IP network, or may be under the same switch (for example, user A).
步骤 302、 交换机查询用户 B的状态, 判断用户 B是否设置无条件转语音邮 箱, 如果是, 执行步骤 304, 否则进入步骤 303。 Step 302: The switch queries the status of the user B, and determines whether the user B sets the unconditional voice mailbox. If yes, go to step 304, otherwise go to step 303.
步骤 303、 交换机对用户 B进行呼叫, 如果遇到占线、 久叫不应等无法接 通情况, 再查询用户 B的状态, 判断用户 B在无法接通的情况下是否设置有相 应的语音邮箱业务, 如果是, 执行步骤 304, 否则结束流程。 Step 303: The switch makes a call to the user B. If the network is busy, the long-term call should not be connected, and then the status of the user B is checked, and it is determined whether the user B has the corresponding voice mailbox service if the user B cannot be connected. If yes, go to step 304, otherwise end the process.
步骤 304、 交换机将呼叫转入语音邮箱服务器。 Step 304: The switch transfers the call to the voice mailbox server.
步骤 305、语音邮箱服务器接通呼叫,通过互动式语音应答( IVR, Interactive Voice Response ) 引导主叫留言, 并将留言内容保存在存储服务器上, 用户留 言完毕后, 结束本次通话。 Step 305: The voice mailbox server connects the call, and the caller message is guided by an interactive voice response (IVR, Interactive Voice Response), and the message content is saved on the storage server. After the user completes the message, the call ends.
步骤 306、语音邮箱服务器将本次留言内容和其他通信信息转成邮件格式, 发送到用户 B设置的邮箱中。 Step 306: The voice mailbox server converts the content of the message and other communication information into a mail format, and sends the message to the mailbox set by the user B.
步骤 307、用户 B可以通过呼叫语音邮箱的方式, 获取本次留言的内容和 相关信息; 也可以通过 Web浏览器或者邮件客户端访问邮件, 获取留言的内 容和相关信息。 Step 307: User B can obtain the content and related information of the message by calling a voice mailbox; or accessing the mail through a web browser or a mail client to obtain the content and related information of the message.
上述现有技术在为被叫方设置语音邮箱业务后,语音邮箱服务器都能引导 主叫留言, 并将语音留言内容转换成邮件格式发送到为被叫方设置的邮箱,这 样使得被叫方为脱机用户或受限用户时仍然可以处理完整的通信内容, 但是, 该现有技术仅能通过语音邮箱方式替代或补充用户进行语音业务交互,当通过 文字、 视频、 数据共享、 文件传送等进行交互时, 脱机用户或受限用户就无法 通过语音邮箱方式处理完整的通信内容。 In the above prior art, after the voice mailbox service is set up for the called party, the voice mailbox server can guide the calling message, and convert the voice message content into a mail format and send it to the mailbox set for the called party, so that the called party is The offline communication user or the restricted user can still process the complete communication content. However, the prior art can only replace or supplement the user's voice service interaction through voice mailbox, when through text, video, data sharing, file transfer, and the like. Offline users or restricted users cannot interact when interacting Handle complete communication content through voicemail.
发明内容 Summary of the invention
本发明实施例要解决的技术问题是提供一种处理终端间通信请求的方法 , 该方法在通信双方具有不同通信能力时能够使得脱机用户或受限用户处理完 整的通信内容。 A technical problem to be solved by embodiments of the present invention is to provide a method for processing a communication request between terminals, which enables an offline user or a limited user to process a complete communication content when the communication parties have different communication capabilities.
本发明实施例要解决的技术问题是提供一种服务器,该服务器在通信双方 具有不同通信能力时能够使得脱机用户或受限用户处理完整的通信内容。 A technical problem to be solved by embodiments of the present invention is to provide a server capable of causing an offline user or a restricted user to process a complete communication content when the communication parties have different communication capabilities.
为解决上述技术问题, 本发明实施例提供一种处理终端间通信请求的方 法, 包括: To solve the above technical problem, an embodiment of the present invention provides a method for processing a communication request between terminals, including:
接收来自第一终端的通信请求, 所述通信请求用于呼叫第二终端; 为第二终端生成代理命令,根据所述代理命令从多个不同通信能力的代理 模块中选择与所述通信请求类型匹配的代理模块,并建立所述被选择代理模块 和第一终端的连接,以使所述被选择代理模块代替第二终端处理来自第一终端 的通信请求。 Receiving a communication request from the first terminal, the communication request is used to call the second terminal; generating a proxy command for the second terminal, and selecting, according to the proxy command, a type of the communication request from a plurality of proxy modules of different communication capabilities Matching the proxy module and establishing a connection between the selected proxy module and the first terminal to cause the selected proxy module to process the communication request from the first terminal in place of the second terminal.
本发明实施例也提供一种服务器, 包括: The embodiment of the invention also provides a server, including:
接收单元, 用于接收第一终端向第二终端发送的通信请求; a receiving unit, configured to receive a communication request sent by the first terminal to the second terminal;
代理设备, 用于为第二终端生成代理命令, 以及根据所述代理命令选择代 理模块, 以使所述被选择代理模块代替第二终端处理来自第一终端的通信请 求。 And a proxy device, configured to generate a proxy command for the second terminal, and select a proxy module according to the proxy command, so that the selected proxy module processes the communication request from the first terminal in place of the second terminal.
以上技术方案可以看出,由于本发明实施例在收到第一终端向第二终端发 送的通信请求后, 为第二终端生成代理命令, 并根据所述代理命令选择代理模 块, 以使所述代理模块代替第二终端处理来自第一终端的通信请求,这样在通 信用户采用文字、视频、数据共享、 文件传送等信息和脱机用户或受限用户进 行交互时, 本发明都能使脱机用户或受限用户处理完整的通信内容。 The above technical solution can be seen that, after receiving the communication request sent by the first terminal to the second terminal, the embodiment of the present invention generates a proxy command for the second terminal, and selects the proxy module according to the proxy command, so that the The proxy module replaces the second terminal to process the communication request from the first terminal, so that the present invention can make the offline when the communication user uses text, video, data sharing, file transfer and the like to interact with the offline user or the limited user. The user or the restricted user handles the complete communication content.
附图说明 DRAWINGS
图 1是现有技术智能终端与通信服务器间的通信示意图; 1 is a schematic diagram of communication between a prior art intelligent terminal and a communication server;
图 2是现有技术的语音邮箱组网示意图; 2 is a schematic diagram of a voice mailbox networking in the prior art;
图 3是现有技术语音邮箱的实现方法流程图; 3 is a flow chart of a method for implementing a voice mailbox of the prior art;
图 4是本发明实施例一处理终端间通信请求的方法流程图; 图 5是本发明实施例二处理终端间通信请求的方法流程图; 4 is a flowchart of a method for processing a communication request between terminals according to an embodiment of the present invention; 5 is a flowchart of a method for processing a communication request between terminals according to Embodiment 2 of the present invention;
图 6是本发明实施例三处理终端间通信请求的方法流程图; 6 is a flowchart of a method for processing a communication request between terminals according to Embodiment 3 of the present invention;
图 Ί是本发明实施例四处理终端间通信请求的方法流程图; Figure Ί is a flowchart of a method for processing a communication request between terminals according to Embodiment 4 of the present invention;
图 8是本发明实施例五服务器的示意图; 8 is a schematic diagram of a server according to an embodiment of the present invention;
图 9是本发明实施例集成代理单元中的代理模块的结构示意图。 FIG. 9 is a schematic structural diagram of a proxy module in an integrated proxy unit according to an embodiment of the present invention.
具体实施方式 detailed description
为了使得脱机用户或受限用户能够处理完整的通信内容,本发明实施例提 供了一种处理终端间通信请求的方法, 该方法包括: In order to enable an offline user or a limited user to process the complete communication content, the embodiment of the present invention provides a method for processing a communication request between terminals, the method comprising:
接收来自第一终端的通信请求, 所述通信请求呼叫第二终端; Receiving a communication request from the first terminal, the communication request to call the second terminal;
为第二终端生成代理命令,根据所述代理命令从多个不同通信能力的代理 模块中选择与所述通信请求类型匹配的代理模块,并建立所述被选择代理模块 和第一终端的连接,以使所述被选择代理模块代替第二终端处理来自第一终端 的通信请求。 Generating a proxy command for the second terminal, selecting, according to the proxy command, a proxy module that matches the communication request type from a plurality of proxy modules of different communication capabilities, and establishing a connection between the selected proxy module and the first terminal, The communication request from the first terminal is processed by the selected proxy module in place of the second terminal.
可选地,在为第二终端生成代理命令的同时还进一步包括: 分析所述通信 请求的类型, 并通过代理命令携带所述类型。 Optionally, while generating the proxy command for the second terminal, the method further includes: analyzing the type of the communication request, and carrying the type by the proxy command.
可选地,在接收来自第一终端的通信请求之后进一步包括: 判断所述第二 终端是否可以处理来自第一终端的通信请求,并在第二终端不能处理所述通信 请求时执行为第二终端生成代理命令的步骤。 Optionally, after receiving the communication request from the first terminal, the method further includes: determining whether the second terminal can process the communication request from the first terminal, and executing the second request when the second terminal cannot process the communication request The step of the terminal generating a proxy command.
可选地,根据所述代理命令选择与所述通信请求的类型匹配的代理模块的 步骤包括: 从所述代理命令中获得所述通信请求的类型; 选择与所述通信请求 的类型匹配的代理模块。 Optionally, the step of selecting an agent module matching the type of the communication request according to the proxy command comprises: obtaining a type of the communication request from the proxy command; selecting an agent matching a type of the communication request Module.
可选地, 所述方法还进一步包括:接收被选择代理模块发送的本次通信内 容; Optionally, the method further includes: receiving the current communication content sent by the selected proxy module;
将所述通信内容转换成与第二终端的通信能力匹配的处理结果,并向第二 终端发送。 Transmitting the communication content into a processing result that matches the communication capability of the second terminal, and transmitting the result to the second terminal.
在上述实施例基础上, 进一步结合附图说明本发明的其他实现方式。 实施例一、 一种处理终端间通信请求的方法, 本实施例的被叫方不在线, 也就是脱机用户, 本实施例的方法流程如图 4所示, 具体包括以下步骤: 步骤 401、 接收主叫方向被叫方发送的通信请求消息 , 该消息包括被叫方 标识以及名称等, 可以发生在通信建立、 通信期间以及通信结束阶段。 Based on the above embodiments, other implementations of the present invention will be further described with reference to the drawings. Embodiment 1 A method for processing a communication request between terminals, wherein the called party is not online, that is, an offline user. The method flow of this embodiment is as shown in FIG. 4, and specifically includes the following steps: Step 401: Receiving a communication request message sent by the calling party to the called party, the message including the called party The identification, name, etc., can occur during communication establishment, communication, and communication end.
步骤 402、 由于被叫方不在线, 此时需要为被叫方生成代理命令, 其中, 所述代理命令包括所述通信请求的类型。 Step 402: Since the called party is not online, it is required to generate a proxy command for the called party, where the proxy command includes the type of the communication request.
步骤 403、 发送所述代理命令。 Step 403: Send the proxy command.
步骤 404、根据所述代理命令从多个不同通信能力的代理模块中选择与所 述通信请求类型匹配的代理模块 A, 所述代理模块 A在运行期间, 具备与主 叫方进行各类通信内容交互的能力, 例如, IVR引导、 留言录制与发送、 文件 接收与发送等各类交互能力。 Step 404: Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation. The ability to interact, for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
步骤 405、 向代理模块 A发送主叫方的通信请求消息。 Step 405: Send a communication request message of the calling party to the proxy module A.
步骤 406、 主叫方与代理模块 A进行信令交互和媒体流传输。 Step 406: The calling party and the proxy module A perform signaling interaction and media stream transmission.
步骤 407、 通信过程中代理模块 A将完整的通信内容(例如文字、 语音、 视频、 文件等)和通信过程中的各类交互信息(如文字的接收时间、 文件传送 的开始时间和结束时间等)进行存储或转发。 Step 407: During the communication process, the proxy module A will complete the communication content (such as text, voice, video, file, etc.) and various types of interaction information in the communication process (such as the receiving time of the text, the start time and the end time of the file transmission, etc.) ) for storage or forwarding.
步骤 408、 主叫方完成通信后, 发送结束通信请求消息结束本次通信。 步骤 409、 向代理模块 出结束通信请求。 Step 408: After the calling party completes the communication, the sending end communication request message ends the current communication. Step 409: End the communication request to the proxy module.
步骤 410、 代理模块 A对本次通信内容进行处理, 例如, 保存本次通信的 所有内容,或者将本次通信内容转换成与被叫方通信能力匹配的信息再转发给 被叫端,或者将本次通信所有内容转发至指定邮箱,或者删除服务器上本次通 信的所有内容等。 代理模块 A在处理完所述通信内容断开和主叫方的连接。 Step 410: The proxy module A processes the current communication content, for example, saves all the content of the current communication, or converts the current communication content into information matching the communication capability of the called party, and then forwards the information to the called terminal, or All content of this communication is forwarded to the specified mailbox, or all contents of this communication on the server are deleted. The proxy module A is disconnected from the calling party after processing the communication content.
步骤 411、 将代理模块 A进行删除, 并释放代理模块 A占有的资源。 Step 411: Delete the proxy module A, and release the resources occupied by the proxy module A.
实施例二、一种处理终端间通信请求的方法,该实施例的被叫方在线但终 端能力有限, 只支持语音, 不支持文字与视频, 也就是受限用户。 本实施例的 方法流程如图 5所示, 具体包括以下步骤: Embodiment 2 A method for processing a communication request between terminals, wherein the called party has limited online but limited terminal capabilities, only supports voice, and does not support text and video, that is, limited users. The process of this embodiment is shown in FIG. 5, and specifically includes the following steps:
步骤 501、 接收主叫方向被叫方发送的通信请求消息, 该请求可以在通信 建立、 通信期间以及通信结束阶段发送, 其中, 通信请求消息包含对视频和文 字能力的要求、 被叫方标识以及名称等。 Step 501: Receive a communication request message sent by the calling party to the called party, where the request may be sent during a communication establishment, a communication period, and a communication end stage, where the communication request message includes a requirement for video and text capabilities, a called party identifier, and Name and so on.
步骤 502、 由于被叫方不支持视频和文字信息, 为被叫方生成代理命令, 其中, 所述代理命令包括所述通信请求的类型。 Step 502: Generate a proxy command for the called party because the called party does not support video and text information, where the proxy command includes a type of the communication request.
步骤 503、 发送所述代理命令。 步骤 504、根据所述代理命令从多个不同通信能力的代理模块中选择与所 述通信请求类型匹配的代理模块 A, 所述代理模块 A在运行期间, 具备与主 叫方进行各类通信内容交互的能力, 例如, IVR引导、 留言录制与发送、 文件 接收与发送等各类交互能力。 Step 503: Send the proxy command. Step 504: Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation. The ability to interact, for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
步骤 505、 向代理模块 A发送来自主叫方的通信请求消息。 Step 505: Send a communication request message from the calling party to the proxy module A.
步骤 506、 代理模块 A向被叫方发送通信请求消息。 Step 506: The proxy module A sends a communication request message to the called party.
步骤 507、 代理模块 A和被叫方之间进行信令交互和媒体流传输。 Step 507: Perform signaling interaction and media stream transmission between the proxy module A and the called party.
步骤 508、 主叫方与代理模块 A进行信令交互和媒体流传输。 Step 508: The calling party and the proxy module A perform signaling interaction and media stream transmission.
步骤 509、 通信过程中代理模块 A将通信内容和通信过程中的各类交互信 息进行存储或转发。 Step 509: During the communication process, the proxy module A stores or forwards the communication content and various types of interaction information in the communication process.
步骤 510、 主叫方完成通信后, 向代理模块 A发送结束通信请求结束本次 通信。 Step 510: After the calling party completes the communication, the sending end communication request is sent to the proxy module A to end the communication.
步骤 51 1、 代理模块 A向被叫方发出结束通信请求。 Step 51 1. The proxy module A issues a communication request to the called party.
步骤 512、 代理模块 A处理本次通信内容, 处理完所述通信内容断开和主 叫方的连接。 Step 512: The proxy module A processes the content of the communication, and processes the disconnection of the communication content and the connection of the calling party.
步骤 513、 将代理模块 A进行删除, 并释放代理模块 A占有的资源。 Step 513: Delete the proxy module A, and release the resources occupied by the proxy module A.
实施例三、一种处理终端间通信请求的方法,本实施例的主叫方是邮件用 户, 被叫方在线, 但不支持邮件业务。 本实施例的方法流程如图 6所示, 具体 包括以下步骤: The third embodiment is a method for processing a communication request between terminals. In this embodiment, the calling party is a mail user, and the called party is online, but does not support the mail service. The method flow of this embodiment is shown in FIG. 6, and specifically includes the following steps:
步骤 601、 接收主叫方发送给被叫方的邮件, 并保存该邮件。 Step 601: Receive an email sent by the calling party to the called party, and save the email.
步骤 602、 由于被叫方不支持邮件业务, 为被叫方生成代理命令, 其中, 所述代理命令包括所述通信请求的类型。 Step 602: Generate a proxy command for the called party because the called party does not support the mail service, where the proxy command includes a type of the communication request.
步骤 603、 发送所述代理命令。 Step 603: Send the proxy command.
步骤 604、根据所述代理命令从多个不同通信能力的代理模块中选择与所 述通信请求类型匹配的代理模块 A, 所述代理模块 A在运行期间, 具备与主 叫方进行各类通信内容交互的能力, 例如, IVR引导、 留言录制与发送、 文件 接收与发送等各类交互能力。 Step 604: Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation. The ability to interact, for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
步骤 605、 代理模块 AJ 送对被叫方的通信请求。 Step 605: The proxy module AJ sends a communication request to the called party.
步骤 606、 向被叫方发送通信请求。 步骤 607、 代理模块 A获取主叫方发送给被叫方的邮件, 并将该邮件的内 容转换为被叫方可以处理的内容, 例如, 发送附件中的文件、 播放邮件正文、 文本附件以及语音附件等。 Step 606: Send a communication request to the called party. Step 607: The proxy module A obtains the mail sent by the calling party to the called party, and converts the content of the mail into content that the called party can process, for example, sending the file in the attached file, playing the mail body, text attachment, and voice. Attachments, etc.
步骤 608、 代理模块 A和被叫方之间进行信令交互和媒体流传输。 Step 608: Perform signaling interaction and media stream transmission between the proxy module A and the called party.
步骤 609、 通信过程中代理模块 A将通信内容和通信过程中的各类交互信 息进行存储或转发。 Step 609: During the communication process, the proxy module A stores or forwards the communication content and various types of interaction information in the communication process.
步骤 610、 代理模块 A处理通信内容后, 发送结束通信请求。 Step 610: After the proxy module A processes the communication content, the end communication request is sent.
步骤 611、 向被叫方发出结束通信请求。 Step 611: Send an end communication request to the called party.
步骤 612、 如果用户选择回复邮件给主叫方, 向主叫方发送邮件, 邮件内 容为代理模块 A存储的由被叫方回复的通信内容。 Step 612: If the user selects a reply email to the calling party, the email is sent to the calling party, and the content of the email is the communication content replied by the called party stored by the proxy module A.
步骤 613、 代理模块 A处理本次通信内容, 处理完后断开连接。 Step 613: The proxy module A processes the content of the communication, and disconnects after the processing.
步骤 614、 将代理模块 A进行删除, 并释放代理模块 A占有的资源。 Step 614: Delete the proxy module A, and release the resources occupied by the proxy module A.
实施例四、一种处理终端间通信请求的方法,本实施例的主叫方和被叫方 两者都是受限用户, 本实施例的方法流程如图 7所示, 具体包括以下步骤: 步骤 701、 接收主叫方向被叫方发送的通信请求消息, 其中, 主叫方只支 持语音和视频 , 被叫方支持语音和文字。 The fourth embodiment is a method for processing a communication request between terminals. The caller and the called party in this embodiment are both restricted users. The process of this embodiment is as shown in FIG. 7, and specifically includes the following steps: Step 701: Receive a communication request message sent by the calling party to the called party, where the calling party only supports voice and video, and the called party supports voice and text.
步骤 702、 由于被叫方不具备视频能力, 为被叫方生成代理命令 A,其中, 所述代理命令包括所述通信请求的类型。 Step 702: Generate a proxy command A for the called party because the called party does not have the video capability, where the proxy command includes the type of the communication request.
步骤 703、 发送所述代理命令。 Step 703: Send the proxy command.
步骤 704、根据所述代理命令从多个不同通信能力的代理模块中选择与所 述通信请求类型匹配的代理模块 A, 所述代理模块 A在运行期间, 具备与主 叫方进行各类通信内容交互的能力, 例如, IVR引导、 留言录制与发送、 文件 接收与发送等各类交互能力。 Step 704: Select, according to the proxy command, a proxy module A that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module A has various communication contents with the calling party during operation. The ability to interact, for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities.
步骤 705、 主叫方不具备文字能力, 为主叫方生成代理命令 Step 705: The calling party does not have the text capability, and generates a proxy command for the calling party.
步骤 706、 发送代理命令 B。 Step 706: Send a proxy command B.
步骤 707、根据所述代理命令从多个不同通信能力的代理模块中选择与所 述通信请求类型匹配的代理模块 B,所述代理模块 B在运行期间,具备与被叫 方进行各类通信内容交互的能力, 例如, IVR引导、 留言录制与发送、 文件接 收与发送等各类交互能力。 步骤 708、 向代理模块 B发送来自主叫方的通信请求。 Step 707: Select, according to the proxy command, a proxy module B that matches the communication request type from a plurality of proxy modules of different communication capabilities, and the proxy module B has various communication contents with the called party during operation. The ability to interact, for example, IVR guidance, message recording and transmission, file reception and transmission, and other interactive capabilities. Step 708: Send a communication request from the calling party to the proxy module B.
步骤 709、 代理模块 B向代理模块 A发送通信请求。 Step 709: The proxy module B sends a communication request to the proxy module A.
步骤 710、 代理模块 A向被叫方发送通信请求。 Step 710: The proxy module A sends a communication request to the called party.
步骤 711、 主叫方与代理模块 B进行信令交互和媒体流传输。 Step 711: The calling party and the proxy module B perform signaling interaction and media stream transmission.
步骤 712、 代理模块 B与代理模块 A进行信令交互和媒体流传输。 Step 712: The proxy module B performs a signaling interaction and a media stream transmission with the proxy module A.
步骤 713、 代理模块 A和被叫方进行信令交互和媒体流传输。 Step 713: The proxy module A and the called party perform signaling interaction and media streaming.
步骤 714、通信过程中代理模块 B负责转发主叫方与代理模块 A之间的语音 通信内容、视频通信内容以及将通信过程中的各类交互信息给存储单元进行存 储或转发。 Step 714: The proxy module B is responsible for forwarding the voice communication content and the video communication content between the calling party and the agent module A, and storing and forwarding various types of interaction information in the communication process to the storage unit for storage or forwarding.
步骤 715、通信过程中代理模块 A负责转发代理模块 B与被叫方之间的语音 通信内容、文字通信内容以及将通信过程中的各类交互信息给存储单元进行存 储或转发。 Step 715: The proxy module A is responsible for forwarding the voice communication content, the text communication content between the proxy module B and the called party, and storing various types of interaction information in the communication process to the storage unit for storage or forwarding.
步骤 716、 主叫方完成通信后, 向代理模块 B发送结束通信请求, 结束本 次通信。 Step 716: After the calling party completes the communication, it sends an end communication request to the proxy module B, and ends the communication.
步骤 717、 代理模块 B向代理模块 A发送结束通信请求, 结束本次通信。 步骤 718、 代理模块 A向被叫方发送结束通信请求, 结束本次通信。 Step 717: The proxy module B sends an end communication request to the proxy module A, and ends the communication. Step 718: The proxy module A sends an end communication request to the called party, and ends the current communication.
步骤 719、 代理模块 B处理本次通信内容, 然后断开连接。 Step 719: The agent module B processes the content of the communication, and then disconnects.
步骤 720、 代理模块 A根据被叫方的配置信息处理本次通信内容, 然后断 开连接。 Step 720: The proxy module A processes the current communication content according to the configuration information of the called party, and then disconnects the connection.
步骤 721、 删除代理模块 B和代理模块 A, 并释放代理模块 B和代理模块 A 所占有的相关资源。 Step 721: Delete the proxy module B and the proxy module A, and release the related resources occupied by the proxy module B and the proxy module A.
另外,本领域普通技术人员可以理解实现上述实施例中的全部或部分步骤 是可以通过程序来指示相关的硬件来完成,所述的程序可以存储于计算机可读 取存储介质中, 该程序在执行时, 包括以下步骤: In addition, those skilled in the art can understand that all or part of the steps in implementing the above embodiments can be completed by a program indicating related hardware, and the program can be stored in a computer readable storage medium, and the program is executed. When, include the following steps:
接收来自第一终端的通信请求 , 所述通信请求呼叫第二终端; Receiving a communication request from the first terminal, the communication request to call the second terminal;
为第二终端生成代理命令,根据所述代理命令从多个不同通信能力的代理 模块中选择与所述通信请求类型匹配的代理模块,并建立所述被选择代理模块 和第一终端的连接,以使所述被选择代理模块代替第二终端处理来自第一终端 的通信请求。 其中, 所述的存储介质可以是 ROM、 RAM, 磁碟或光盘等等。 实施例五、 一种服务器, 参见图 8, 该服务器包括: Generating a proxy command for the second terminal, selecting, according to the proxy command, a proxy module that matches the communication request type from a plurality of proxy modules of different communication capabilities, and establishing a connection between the selected proxy module and the first terminal, The communication request from the first terminal is processed by the selected proxy module in place of the second terminal. The storage medium may be a ROM, a RAM, a magnetic disk or an optical disk, or the like. Embodiment 5: A server, referring to FIG. 8, the server includes:
接收单元 801 , 用于接收第一终端向第二终端发送的通信请求; The receiving unit 801 is configured to receive a communication request sent by the first terminal to the second terminal.
代理设备 802, 用于提供多个不同通信能力的代理模块, 以及为第二终端 生成代理命令,以及根据所述代理命令从多个不同通信能力的代理模块中选择 与所述通信请求类型匹配的代理模块, 并建立所述代理模块和第一终端的连 接, 以使所述代理模块代替第二终端处理来自第一终端的通信请求。 a proxy device 802, configured to provide a plurality of proxy modules of different communication capabilities, and generate proxy commands for the second terminal, and select, according to the proxy commands, from the proxy modules of the plurality of different communication capabilities to match the communication request type And a proxy module, and establishing a connection between the proxy module and the first terminal, so that the proxy module processes the communication request from the first terminal in place of the second terminal.
其中 , 所述代理设备 802包括: The proxy device 802 includes:
生成单元 803, 用于为第二终端生成代理命令。 The generating unit 803 is configured to generate a proxy command for the second terminal.
集成代理单元 804, 包括多个不同通信能力的代理模块, 所述每个代理模 块用于处理特定通信能力的通信请求, 所述特定通信能力可以为 IVR引导、 留言录制与发送、 文件接收与发送等各类通信能力。 The integration agent unit 804 includes a plurality of agent modules of different communication capabilities, and the agent modules are used to process communication requests of specific communication capabilities, and the specific communication capabilities may be IVR guidance, message recording and transmission, file receiving and sending. And other types of communication capabilities.
匹配单元 805, 用于根据所述代理命令从集成代理单元 804中选择与所述 通信请求类型匹配的代理模块, 并建立所述被选择代理模块和第一终端的连 接, 所述被选择的代理模块代替第二终端处理来自第一终端的通信请求。 The matching unit 805 is configured to select, according to the proxy command, a proxy module that matches the communication request type from the integration proxy unit 804, and establish a connection between the selected proxy module and the first terminal, the selected proxy The module processes the communication request from the first terminal in place of the second terminal.
转换单元 806, 用于接收集成代理单元 804中被选择代理模块发送的本次 通信内容, 以及将所述本次通信内容转换成与第二终端的通信能力匹配的信 息, 并向第二终端发送。 The converting unit 806 is configured to receive the current communication content sent by the selected proxy module in the integration proxy unit 804, and convert the current communication content into information that matches the communication capability of the second terminal, and send the information to the second terminal. .
请参阅图 9,是集成代理单元中的代理模块的结构示意图。代理模块包括: 接收请求单元 901, 用于接收所述通信请求。 Please refer to FIG. 9, which is a schematic structural diagram of a proxy module in an integrated proxy unit. The proxy module includes: a receiving request unit 901, configured to receive the communication request.
交互单元 902, 用于根据所述通信请求与第一终端进行建立连接后进行信 息交互,或者 据通信请求与所述第二终端建立连接后, 为所述第一终端和所 述第二终端进行信息传递。 The interaction unit 902 is configured to perform information interaction after establishing a connection with the first terminal according to the communication request, or perform a connection with the second terminal according to the communication request, and perform, for the first terminal and the second terminal, Information transfer.
值得说明的是,在第二终端能够处理本次通信内容时,所述代理设备不需 要对通信内容进行转换, 此时代理设备可以包括: It is to be noted that, when the second terminal is capable of processing the content of the communication, the proxy device does not need to convert the communication content, and the proxy device may include:
存储单元 807, 用于接收集成代理单元 804中被选择的代理模块发送的本 次通信内容 , 并对所述通信内容进行保存以供第二终端查询。 The storage unit 807 is configured to receive the current communication content sent by the selected proxy module in the integration proxy unit 804, and save the communication content for the second terminal to query.
通过上述实施例可知,本发明实施例在收到第一终端向第二终端发送的通 信请求后, 为第二终端生成代理命令, 并根据所述代理命令从多个不同通信能 力的代理模块中选择与所述通信请求类型匹配的代理模块,并建立所述代理模 块和第一终端的连接,以使所述代理模块代替第二终端处理来自第一终端的通 信请求,这样在第二终端是脱机用户或受限用户时都能和第一终端进行信息交 互, 从而能够处理完整的通信内容。 According to the foregoing embodiment, after receiving the communication request sent by the first terminal to the second terminal, the embodiment of the present invention generates a proxy command for the second terminal, and performs multiple different communication technologies according to the proxy command. Selecting a proxy module matching the communication request type, and establishing a connection between the proxy module and the first terminal, so that the proxy module processes the communication request from the first terminal instead of the second terminal, such that When the second terminal is an offline user or a limited user, information interaction with the first terminal can be performed, so that the complete communication content can be processed.
以上对本发明实施例所提供的处理终端间通信请求的方法、服务器进行了 上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于本 领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会 有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。 The foregoing description of the method and server for processing the inter-terminal communication request provided by the embodiment of the present invention is only for helping to understand the method and core idea of the present invention. Meanwhile, for those skilled in the art, according to the present invention, The present invention is not limited by the scope of the present invention.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200710165419.2 | 2007-10-25 | ||
| CN2007101654192A CN101420488B (en) | 2007-10-25 | 2007-10-25 | Method, server for processing inter-terminal communication request |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2009056033A1 true WO2009056033A1 (en) | 2009-05-07 |
Family
ID=40590544
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2008/072767 Ceased WO2009056033A1 (en) | 2007-10-25 | 2008-10-21 | Method and server for processing communication request between terminals |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN101420488B (en) |
| WO (1) | WO2009056033A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102904882B (en) * | 2012-09-24 | 2018-08-10 | 南京中兴新软件有限责任公司 | The retransmission method and device of random call |
| CN103716344A (en) * | 2012-09-29 | 2014-04-09 | 华为技术有限公司 | Agency-relation processing method and system, agent server and terminal device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020196776A1 (en) * | 2001-06-26 | 2002-12-26 | Hsiang-Yu Chiang | Communication system of automatically setting basic data of voice over IP devices |
| CN1642148A (en) * | 2004-01-17 | 2005-07-20 | 腾讯科技(深圳)有限公司 | Immediate communication treatment method |
| US7085367B1 (en) * | 2004-02-24 | 2006-08-01 | Avaya Technology Corp. | Call duration alert |
| US20070036334A1 (en) * | 2005-04-22 | 2007-02-15 | Culbertson Robert F | System and method for intelligent service agent using VoIP |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100600414B1 (en) * | 2003-10-28 | 2006-07-13 | (주)씨앤에스 테크놀로지 | How to Provide Multimedia Mailbox Service Supporting User Mobility |
-
2007
- 2007-10-25 CN CN2007101654192A patent/CN101420488B/en not_active Expired - Fee Related
-
2008
- 2008-10-21 WO PCT/CN2008/072767 patent/WO2009056033A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020196776A1 (en) * | 2001-06-26 | 2002-12-26 | Hsiang-Yu Chiang | Communication system of automatically setting basic data of voice over IP devices |
| CN1642148A (en) * | 2004-01-17 | 2005-07-20 | 腾讯科技(深圳)有限公司 | Immediate communication treatment method |
| US7085367B1 (en) * | 2004-02-24 | 2006-08-01 | Avaya Technology Corp. | Call duration alert |
| US20070036334A1 (en) * | 2005-04-22 | 2007-02-15 | Culbertson Robert F | System and method for intelligent service agent using VoIP |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101420488B (en) | 2011-09-14 |
| CN101420488A (en) | 2009-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7702792B2 (en) | Method and system for managing communication sessions between a text-based and a voice-based client | |
| JP5079695B2 (en) | Contextual phone augmentation | |
| KR101130398B1 (en) | System and methods for facilitating third-party call and device control | |
| US9906603B2 (en) | System and method for transferring a session between multiple clients | |
| KR101361726B1 (en) | System and methods for integrating short message service messaging with contact center applications | |
| CN100571310C (en) | System for unified communication in internet/intranet call | |
| JP2005318503A (en) | Presence server, session control server, packet relay system, server, and system | |
| CN104836723A (en) | Communication method based on MQTT topic subscription mechanism and access gateway | |
| CN101578826A (en) | Mobile device call to computing device | |
| WO2006097032A1 (en) | A method and system for implementing intelligent-route | |
| JP2017510116A (en) | Method and server for enabling a first user to automatically detect a second user's social network identifier and the respective status of this second user in those social networks | |
| WO2009127147A1 (en) | Instant messaging mobile terminal and instant messaging computer voice communication method and system | |
| CN101854703A (en) | Method, server and system for acquiring status information | |
| US9900353B2 (en) | Method and apparatus for enabling communications between users | |
| CN103428208B (en) | Distributed SIP redirection server and construction method thereof | |
| WO2010075697A1 (en) | System and method for transferring multi-party call into conference | |
| CN101425067B (en) | Information retrival method and system | |
| CN101848283A (en) | Method, device, system and terminal for call rejecting and forwarding | |
| WO2009056033A1 (en) | Method and server for processing communication request between terminals | |
| JP5176302B2 (en) | Communication media automatic conversion system | |
| CN101938521B (en) | Method for transmitting signaling in VoIP system | |
| CN101175054A (en) | Communication Systems | |
| CN100536397C (en) | System and method for implementing seat soft telephone | |
| WO2010069183A1 (en) | Method for service inter-working and session channel establishment, inter-working selection function module and device | |
| CN101217700A (en) | Method for realizing holding in IMS network attendant console |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08844845 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 08844845 Country of ref document: EP Kind code of ref document: A1 |