WO2009036700A1 - Method, system and apparatus for establishing the communication between a telephone terminal and an instant messaging client - Google Patents
Method, system and apparatus for establishing the communication between a telephone terminal and an instant messaging client Download PDFInfo
- Publication number
- WO2009036700A1 WO2009036700A1 PCT/CN2008/072379 CN2008072379W WO2009036700A1 WO 2009036700 A1 WO2009036700 A1 WO 2009036700A1 CN 2008072379 W CN2008072379 W CN 2008072379W WO 2009036700 A1 WO2009036700 A1 WO 2009036700A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- instant messaging
- communication
- instant
- telephone
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 208
- 238000000034 method Methods 0.000 title claims description 39
- 238000012545 processing Methods 0.000 claims abstract description 26
- 230000008569 process Effects 0.000 claims description 14
- 238000012790 confirmation Methods 0.000 claims description 12
- 230000002452 interceptive effect Effects 0.000 claims description 2
- 230000004044 response Effects 0.000 claims description 2
- 238000012546 transfer Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 9
- 238000005070 sampling Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/0024—Services and arrangements where telephone services are combined with data services
- H04M7/0042—Services and arrangements where telephone services are combined with data services where the data service is a text-based messaging service
- H04M7/0045—Services and arrangements where telephone services are combined with data services where the data service is a text-based messaging service where the text-based messaging service is an instant messaging service
Definitions
- the present invention relates to the field of communications, and more particularly to a method, system and apparatus for establishing a communication between a telephone client and an instant messaging client.
- PC Personal Computer
- PC-based voice communication In voice communication based on telephone, the telephone user only needs to dial the number of another telephone user, and the party can answer it.
- PC users ie, instant messaging users
- PC users use their instant messaging accounts to log in to Instant Messaging ( ⁇ ) clients and initiate calls to other clients (including instant messaging clients, phones) through softswitches. The client's call.
- the problem is to achieve the purpose of establishing a communication connection by initiating a call by the telephone client.
- a communication system between a telephone client and an instant messaging client including a telephone client and an instant messaging client, the system further comprising a relay server connected to the telephone client and the instant messaging client respectively.
- the telephone client is configured to send a call signal
- the relay server is configured to receive a call signal sent by the telephone client, according to the call Calling the instant messaging client identifier in the signal, confirming that the instant messaging client that needs to communicate with the telephone client, generating a connection request message, and sending the connection request message to the instant messaging client, so that the call is made A communication connection is established between the client and the instant messaging client.
- a transit server includes: an information transceiving unit and a processing unit,
- the information transceiver unit is configured to receive a call signal sent by the telephone client, and send a connection request message from the processing unit to the instant communication client determined by the processing unit;
- the processing unit is configured to confirm, according to the instant communication client identifier in the call signal, an instant messaging client that needs to communicate with the telephone client, and generate a connection request message, and control the information transceiver unit to A connection request message is sent to the instant messaging client.
- a method for establishing a communication between a telephone client and an instant messaging client comprising the steps of:
- the invention enters a relay server between the telephone client and the instant messaging client, and is used for determining the instant communication that needs to establish a connection with the telephone client according to the instant communication client identifier in the call signal sent by the telephone client.
- the client sends a connection request message to the instant messaging client to establish a communication connection between the telephone client and the instant messaging client, thereby realizing the purpose of triggering the establishment of the communication connection by actively initiating the call through the telephone client.
- FIG. 1 is a schematic structural diagram of a communication system between a telephone client and an instant messaging client according to an embodiment of the present invention
- FIG. 2 is a structural diagram of a communication system between a telephone client and an instant messaging client in an embodiment of the present invention
- FIG. 3 is a structural diagram of a communication system between a telephone client and an instant messaging client in an embodiment of the present invention
- FIG. 4 is a structural diagram of a switching unit in a relay server according to an embodiment of the present invention.
- FIG. 5 is a structural diagram of a switching unit in a relay server according to an embodiment of the present invention
- FIG. 6 is a flow chart of a method for establishing communication between a telephone client and an instant messaging client in an embodiment of the present invention
- FIG. 7 is a timing diagram of a method for establishing communication between a telephone client and an instant messaging client in an embodiment of the present invention
- Figure 8 is a flow diagram of a method of establishing communication between a telephone client and an instant messaging client in accordance with one embodiment of the present invention.
- the invention introduces a relay server between the telephone client and the instant messaging client, and after receiving the call signal sent by the telephone client, the relay server confirms the need and the telephone client according to the instant communication client identifier in the call signal.
- the instant messaging client that performs the communication connection, and after receiving the call signal, generates a connection request message and sends the connection request message to the instant messaging client, thereby establishing a communication connection between the telephone client and the instant messaging client.
- the instant messaging client described in the embodiments of the present invention may be on a PC.
- FIG. 1 shows the communication system structure of a telephone client and an instant messaging client in the present invention, including a relay server 100, a telephone client 200, an instant messaging client 300a, and an instant messaging client 300b. It should be noted that the connections between the various devices in the various figures of the present invention are intended to clearly illustrate the need for their information interaction and control processes and should therefore be considered as logical connections and should not be limited to physical connections.
- the transit server 100 is connected to the telephone client 200 and the instant messaging client 300a respectively.
- the VOIP Voice over Internet Protocol
- a gateway (not shown) connected to convert the signals supported by the telephone network (the network where the telephone client is located) into signals supported by the Internet network (the network where the instant messaging client is located), and/or , converts signals supported by the Internet network into signals supported by the telephone network.
- the relay server 100 itself has a telephone number identifying itself and stores communication related information of the instant messaging client in the system for use in accordance with the telephone client 200.
- the instant messaging client identifier in the sent call signal confirms the instant messaging client 300a that needs to communicate with the telephone client 200, and after receiving the call signal, generates a connection request message and sends the connection request message to the instant messaging client 300a.
- a communication connection is established between the telephony client 200 and the instant messaging client 300a, and the voice signal transmitted by the telephony client 200 or the instant messaging client 300a is forwarded to the peer based on the established communication connection. Its specific internal structure will be explained in detail in the embodiment shown in FIG.
- the telephone client 200 establishes a communication connection with the instant messaging client 300a via the relay server 100. It is used to send a call signal to the relay server 100, the call signal including the telephone number of the relay server 100, and the instant messaging client identification.
- the instant messaging client 300a is configured to receive the connection request message sent by the relay server 100, and send a feedback message, which may be a confirmation message or a rejection message.
- the instant messaging client 300a can also be directly connected to and communicate with other instant messaging clients (such as the instant messaging client 300b shown in FIG. 1).
- the instant messaging client 300a and the instant messaging client 300b in the present drawing are similar in physical structure and function, and the present invention is hereby distinguished only for the sake of clearer explanation, and is not intended to limit the present invention. The scope of protection.
- the communication system of the telephone client and the instant messaging client described in this embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server according to the instant messaging client in the call signal sent by the telephone client Identifying, identifying an instant messaging client that needs to communicate with the telephone client, and after receiving the call signal, generating a connection request message to the instant messaging client to establish an instant communication client and the telephone client
- the communication connection enables voice communication to initiate a call not only through the instant messaging client, but also through the telephone client.
- the system structure shown in FIG. 1 is only an example system, and the present invention can be flexibly expanded on the basis of this.
- the number of telephone clients 200 can be expanded into multiple (telephone clients 200a, 200b.. ...200 ⁇ )
- other instant messaging clients directly connected to the instant messaging client 300a can also be expanded into multiple (instant messaging client 300b, instant messaging client 300c, instant messaging client 300n) ), thus enabling multi-person voice communication.
- the transit server 100 is configured to receive a call signal sent by the telephone client, and confirm an instant communication client that needs to communicate with the telephone client according to the instant communication client identifier in the call signal.
- the terminal 300a generates a connection request message, and sends a connection request message to the instant messaging client 300a to establish a communication connection between the telephone client and the instant messaging client.
- the relay server 100 After establishing a communication connection between the telephone client and the instant messaging client, the relay server 100 transmits a voice signal from the telephone client to the instant messaging client, and transmits a voice signal from the instant messaging client to the telephone client.
- the instant messaging client 300a includes: an information transceiving unit and a mixing unit;
- the information transceiving unit is configured to receive the voice signal sent by the plurality of telephone clients, send the voice signal sent by the plurality of telephone clients, and the voice signal of the local (instant messaging client 300a) to the mixing unit, and mix the sound
- the voice signal obtained after the unit mixing process is sent to a plurality of telephone clients; or, the voice signal from the telephone client and the voice signal of other instant communication client are received, and the voice signal of the telephone client, the voice signal of other instant messaging client, and The local voice signal is sent to the mixing unit, and the voice signal obtained by mixing the mixing unit is separately sent to the telephone client and other instant communication clients;
- the mixing unit is configured to perform mixing processing on the received multi-channel speech signal, and send the speech signal obtained by the mixing processing to the information transceiving unit.
- the mixing unit includes:
- a determining unit configured to determine whether a sample rate (SR) of the multi-channel voice signal is consistent
- a sampling conversion unit configured to perform the conversion of the multi-channel speech signal when the judging unit is no, so that the sampling rates of the converted speech signals are consistent
- the linear superimposing unit is configured to linearly superimpose the multi-channel speech signals with the same sampling rate, and send the linear superimposed speech signals to the information transceiving unit.
- the communication system of the telephone client and the instant messaging client described in this embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server according to the instant messaging client in the call signal sent by the telephone client Identifying, identifying an instant messaging client that needs to communicate with the telephone client, and after receiving the call signal, generating a connection request message to the instant messaging client to establish an instant communication client and the telephone client Communication connection, so that voice communication can not only initiate a call through an instant messaging client, but also initiate a call through a telephone client; further, the instant messaging client can receive from the telephone client and other instant messaging clients
- the voice signal is mixed with the received voice signal and the local voice signal, and the voice signal obtained by the mixing process is separately sent to the telephone client and other instant messaging clients; or, the voice is received from multiple telephone clients.
- the signal is mixed with the received voice signal and the local voice signal, and the voice signal obtained by the mixing process is sent to a plurality of telephone clients for the purpose of multi-person communication.
- the relay server provided by the embodiment of the present invention includes: an information transceiving unit and a processing unit, where the information transceiving unit is configured to receive a call signal sent by the telephony client, and send the e-mail to the instant messaging client determined by the processing unit. a connection request message of the processing unit;
- a processing unit configured to confirm, according to the instant messaging client identifier in the call signal, an instant messaging client that needs to communicate with the telephone client, and generate a connection request message, and control the information transceiver unit to connect the request A message is sent to the instant messaging client.
- the processing unit includes: a storage unit and a switching unit.
- the transit server in the communication system of the telephone client and the instant messaging client includes: an information transceiving unit 101, a storage unit 102, and a switching unit 103, where:
- the information transceiving unit 101 is configured to perform information interaction with the telephony client 200 and the instant messaging client 300a, and specifically includes: receiving a call signal of the telephony client 200, and sending the call signal to the switching unit 103.
- the call signal includes a phone number of the relay server 100, an identity number of the instant communication user (such as a phone number, an ID card number, etc.), wherein the identity number of the instant communication user is used to subsequently determine the instant messaging client, so
- the connection request message is sent to the instant communication client 300a determined by the switching unit 103; after receiving the feedback message sent by the instant communication client 300a,
- the input switching unit 103 performs analysis and determination.
- the communication related information of the instant communication user includes the identity identification number of the instant communication user and its corresponding instant communication number, where: the identity identification number is a unique number used to identify the identity of the instant communication user.
- the identification number may be a phone number, an ID number, etc.; the instant communication number may be an account for the user to perform instant communication.
- the identity number of the instant messaging user is the instant messaging number.
- Connection related information refers to all information related to the established communication connection, including the identity number of both clients, and Connect to establish time and so on.
- the switching unit 103 is connected to the information transceiving unit 101 and the storage unit 102 respectively, and is configured to query the corresponding instant communication number from the storage unit 102 according to the identity identification number of the instant communication user in the call signal sent by the telephone client 200. To confirm that the instant messaging client 300a needs to establish a communication connection with the telephone client 200, and after receiving the call signal by the information transceiving unit 101, generate a connection request message, and the control information transceiving unit 101 transmits the connection request message to the instant communication. Client 300a.
- the specific internal structure of the switching unit 103 will be explained in detail in the following embodiments.
- FIG. 4 further shows the internal structure of the switching unit 103 in the embodiment shown in FIG. 3, including a parsing module 1031, a port confirming module 1032, and a signal switching module 1033, where:
- the parsing module 1031 is configured to parse the call signal sent by the telephony client 200 to obtain the identity number of the instant communication user.
- the port confirmation module 1032 is connected to the parsing module 1031 and the signal switching module 1033, and is configured to query the instant communication number of the instant messaging user according to the parsed to identify the instant messaging client that needs to communicate with the telephony client. 300a, and the instant communication number is sent to the signal switching module 1033.
- the signal switching module 1033 is connected to the port confirmation module 1032, and configured to receive the instant communication number sent by the port confirmation module 1032, and generate a connection request message corresponding to the identity identification number of the instant communication user (ie, a connection request corresponding to the instant communication number). Message), according to the instant messaging number, the control information transceiving unit 101 transmits a connection request message to the instant messaging client 300a, and forwards the voice signal after the connection is established.
- the modules in the switching unit 103 of the above embodiment exist in an integrated manner.
- the present invention is not limited to the above.
- the communication system of the telephone client and the instant messaging client described in this embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server according to the instant communication user in the call signal sent by the telephone client
- the identification number confirms an instant messaging client that needs to communicate with the telephone client, and after receiving the call signal, generates a connection request message and sends the connection request message to the instant messaging client, so that the instant messaging client and the telephone client Establish a communication connection so that voice communication can initiate a call not only through the instant messaging client, but also through the telephone client.
- FIG. 5 shows the internal structure of the switching unit 103 in another embodiment of the present invention. This embodiment is an exemplary embodiment of the present invention from the perspective of the current network architecture and specific implementation.
- the relay server 100 can be considered to be composed of two servers: one is an Interactive Voice Response (IVR) server, placed in the telephone network, usually provided by a telecommunications carrier; the other is instant An instant message (IM) server is placed in the Internet and is usually provided by an IM server. Accordingly, each module in the switching unit 103 can be refined to the telephone side and the IM side.
- IVR Interactive Voice Response
- IM instant message
- the port confirmation module 1032 further includes an IVR port control module 10321 and an IM port control module 10322, wherein: the IVR port control module 10321 obtains information of the instant messaging client 300a called by the phone client 200 from the parsing module 1031, such as an instant communication user. The identity number is communicated with the IM port control module 10322. The IM port control module 10322 determines the related information of the called instant messaging client 300a, including: obtaining the instant communication number of the instant messaging client 300a according to the identity identification number of the instant messaging user And the control signal switching module 1033 and the instant messaging client 300a establish a connection.
- the signal switching module 1033 further includes an IVR signal switching module 10331 and an IM signal switching module 10332, wherein: the IVR signal switching module 10331 generates a connection request message corresponding to the identity identification number of the instant messaging user, and sends the connection request message to the IM signal.
- the switching module 10332 further transmits the connection request message to the instant messaging client 300a according to the instant communication number by the IM signal switching module 10332.
- the IVR signal switching module 10331 obtains the user voice from the parsing module 1031. The information is converted to a voice signal receivable by the instant messaging client 300a, and then forwarded to the instant messaging client 300a by the IM signal switching module 10332.
- the switching unit 103 in the relay server is refined into corresponding units on the telephone side and the IM side, and can be placed on the IVR server and the IM server respectively, so that the network arrangement is flexible.
- FIG. 6 shows a flow of a method for establishing a communication between a telephone client and an instant messaging client in the present invention, the method flow being based on the system shown in FIG.
- the communication related information of the instant communication user is stored in the relay server 100, and the communication related information includes the identity identification number of the instant communication user and its corresponding instant communication number, wherein: the identification number is a unique number for identifying a user identity.
- the identity number can be a phone number, an ID number, etc.;
- the signal code may be an account for the user to perform instant communication.
- the identity number of the instant communication user is an instant communication number.
- the relay server 100 receives the call signal transmitted by the telephone client 200.
- the call signal includes a phone number of the relay server 100 and an instant messaging client identifier, wherein the instant communication client identifier may be an identity number of the instant messaging user.
- step S602 the relay server 100 determines the instant messaging client 300a that needs to communicate with the telephone client according to the instant messaging client identifier in the call signal, and generates a connection request message after receiving the call signal, and Send to the determined instant messaging client 300a.
- the specific implementation of the step may include: (1) the relay server 100 parses the call signal sent by the telephone client 200 to obtain the identity identification number of the instant communication user; (2) querying the corresponding identifier according to the identity identification number of the instant communication user An instant communication number confirming an instant communication client 300a that needs to communicate with the telephone client 200; (3) generating a connection request message corresponding to the instant communication number, and transmitting the connection request message to the office by using an instant communication number
- the instant messaging client 300a is determined.
- step S603 when the relay server 100 receives the connection confirmation message fed back by the instant messaging client 300a, the connection related information is stored, and after the communication connection is established, the telephone client 200 and the instant messaging client 300a can be based on the communication. Connect for voice communication.
- the embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server confirms the instant connection required to communicate with the telephone client according to the instant communication client identifier in the call signal sent by the telephone client.
- the communication client After receiving the call signal, the communication client generates a connection request message and sends the connection request message to the instant messaging client, so that the instant communication client establishes a communication connection with the telephone client, so that the voice communication can be performed not only through the instant messaging client A call is initiated and a call can also be initiated through the telephone client.
- FIG. 7 is a timing diagram of a method for establishing a communication between a telephone client and an instant messaging client according to an embodiment of the present invention. The timing diagram is based on the system shown in FIG.
- Step 1 The telephone client 200 sends a call signal to the relay server 100, and the call signal includes the telephone number of the relay server 100, the identity number of the instant communication user (such as a telephone number, an identity card number, etc.).
- Step 2 The relay server 100 parses the call signal to obtain the identity number of the instant communication user.
- the code, and query for its instant communication number confirms the instant messaging client 300a that needs to communicate with the telephone client.
- Step 3 The relay server 100 generates a connection request message, and transmits a connection request message to the instant messaging client 300a according to the instant communication number.
- Step 4 After receiving the connection request message, the instant messaging client 300a feeds back a connection confirmation message to the relay server 100.
- Step 5 The relay server 100 stores connection related information, including the identity number of the telephone client 200 and the instant communication client 300a, the connection establishment time, and the like.
- Step 6 The relay server 100 sends an acknowledgment signal to the telephone client 200.
- Step 7 The telephony client 200 communicates with the instant messaging client 300a based on the established communication connection.
- a transit server is introduced between the telephone client and the instant messaging client, and the relay server confirms that a communication connection with the telephone client is required according to the identity number of the instant communication user in the call signal sent by the telephone client.
- Instant messaging client and after receiving the call signal, generate a connection request message and send the instant messaging client to establish a communication connection between the instant messaging client and the telephone client, so that the voice communication can be not only through instant communication
- the client initiates a call and can also initiate a call through the telephone client.
- FIG. 8 is a flowchart showing a method for communicating between a telephone client and an instant messaging client according to an embodiment of the present invention. The flow is based on the system and device shown in FIG. 1 to FIG. The specific process includes:
- the communication related information of the instant communication user is stored in the relay server 100, where the communication related information includes an identity identification number of the instant communication user, and an instant communication number, where: the identity identification number is used to identify the identity of the user.
- the unique number in one embodiment, the identification number is a phone number, an ID number, etc.; the instant communication number is an account for the user to perform instant communication, and in another embodiment, the identity number of the instant communication user is instant Communication number.
- step S801 the relay server 100 receives the call signal transmitted by the telephone client 200.
- the call signal includes the telephone number of the relay server 100 and the identification number of the instant communication user who desires to establish a communication connection.
- step S802 the relay server 100 analyzes the call signal by using the parsing module 1031 in its switching unit 103, thereby obtaining the identity number of the instant communication user.
- step S803 the relay server 100 uses the port confirmation module 1032 in its switching unit 103 to query the instant communication number of the instant communication user corresponding to the identity identification number of the instant communication user from the storage unit 102 to confirm the need with the phone.
- the client 200 performs a communication connection with the instant messaging client 300a and sends the instant communication number to the signal switching module 1033 in the switching unit 103.
- step S804 the relay server 100 generates a connection request message corresponding to the instant communication number by using the signal switching module 1033 in its switching unit 103, and sends it to the information transceiving unit 101.
- step S805 the signal switching module 1033 in the relay server 100 transmits the connection request message to the instant messaging client 300a where the PC user is located, based on the instant communication number.
- step S806 the relay server 100 receives the feedback message sent by the instant messaging client 300a.
- step S807 it is determined whether the feedback message is a connection confirmation message: if it is a connection confirmation message, then go to step S808; if it is a connection rejection message, it ends.
- step S808 the relay server 100 uses its storage unit 102 to store connection related information, including the identity number of the telephone client 200 and the instant messaging client 300a, the connection establishment time, and the like, and sends an acknowledgment signal to the telephone client 200.
- step S809 the telephony client 200 and the instant messaging client 300a can now perform voice communication based on the established communication connection, and the relay server 100 performs the forwarding of the voice signal between the two.
- multi-person voice communication can be implemented, which can be implemented by the following two methods:
- the first implementation includes:
- the plurality of telephone clients send a voice signal to the instant messaging client 300a through the relay server;
- the instant messaging client 300a mixes the voice signals of the plurality of telephone clients with the local voice signals
- the instant messaging client 300a sends the mixed voice signal to the plurality of telephone clients through the relay server.
- the second implementation includes:
- the wireless communication can be added to the multi-person voice communication through the communication connection established with the instant messaging client 300a.
- the specific implementation manners include:
- the instant messaging client 300a sends a message to other instant messaging clients participating in the voice communication to notify the new client to join (this step can also be omitted);
- the telephone client 200 transmits a voice signal to the instant messaging client 300a through the relay server;
- the instant messaging client 300a performs a mixing process on the multi-channel voice signal, where the multi-channel voice signal includes: a voice signal of the phone client 200, a voice signal of an instant communication client participating in voice communication, and a local voice signal;
- the instant messaging client 300a sends the mixed voice information to the telephone client 200 through the relay server;
- the instant messaging client 300a sends the mixed voice information to other instant messaging clients participating in the multi-person voice.
- the instant messaging client 300a performs the mixing process on the multi-channel voice signal, which specifically includes: determining whether the sample rate (SR) of the multi-channel voice signal is consistent, and if the sample rate is inconsistent, the multi-channel voice signal is performed.
- the sample conversion is performed so that the sampling rates of the converted voice signals are consistent; the multi-channel speech signals with the same sampling rate are linearly superimposed to obtain the converted speech signal.
- a transit server is introduced between the telephone client and the instant messaging client, and the relay server confirms that a communication connection with the telephone client is required according to the identity number of the instant communication user in the call signal sent by the telephone client.
- Instant messaging client and after receiving the call signal, generate a connection request message and send the instant messaging client to establish a communication connection between the instant messaging client and the telephone client, so that the voice communication can be not only through instant communication
- the client initiates a call and can also initiate a call through the telephone client.
- the instant messaging client can receive the voice signal from the telephone client and other instant messaging clients, mix the received voice signal and the local voice signal, and send the voice signal obtained by the mixing process to the telephone client separately. And other instant messaging clients; or, receiving voice signals from multiple telephone clients, mixing the received voice signals and local voice signals, and transmitting the voice signals obtained by the mixing process to multiple telephone clients, To achieve the purpose of multi-person communication.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
A communication system for establishing the connection between a telephone terminal and an instant messaging (IM) client is provided, which comprises: a telephone terminal, for transmitting call signals; a forwarding server, for receiving the call signals transmitted by the telephone terminal, determining the IM client requiring communication connection with the telephone terminal according to the IM client's identifier included in the call signal, generating the connection request message, and transmitting the connection request message to the IM client. A forwarding server, comprises an information transmitting/receiving unit and a processing unit, wherein the information transmitting/receiving unit is used to receive call signals transmitted by the telephone terminal, and transmit the connection request message from the processing unit to the IM client which is determined by the processing unit; the processing unit is used to determine the IM client requiring communication connection with the telephone terminal according to the IM client's identifier included in the call signal, generate a connection request message, and control the information transmitting/receiving unit to transmit the connection request message to the said IM client.
Description
电话客户端与即时通信客户端建立通信的方法、 系统及设备 本申请要求于 2007 年 9 月 17 日提交中国专利局、 申请号为 200710077175.2、 发明名称为 "电话用户与 PC用户进行语音沟通的方法、 系统及设备" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请 中。 Method, system and device for establishing communication between telephone client and instant messaging client The present application claims to be submitted to the Chinese Patent Office on September 17, 2007, the application number is 200710077175.2, and the invention name is "the method for voice communication between the telephone user and the PC user" The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及通信领域, 更具体地说, 涉及一种电话客户端与即时通信客 户端建立通信的方法、 系统及设备。 The present invention relates to the field of communications, and more particularly to a method, system and apparatus for establishing a communication between a telephone client and an instant messaging client.
背景技术 Background technique
语音沟通已经是现代生活中的普遍沟通方式, 目前通过电话、个人计算机 Voice communication is already a common means of communication in modern life, currently through telephone, personal computer
( Personal Computer, PC ) 均可实现语音沟通。 (Personal Computer, PC) can achieve voice communication.
基于电话实现的语音沟通中, 电话用户只需拨打另一电话用户的号码,对 方接听即可实现。 基于 PC实现的语音沟通中, PC用户 (即即时通信用户) 利 用其即时通信帐号登录即时通信( Instant Messaging , ΙΜ )客户端, 并通过软 交换发起对其他客户端 (包括即时通信客户端、 电话客户端) 的呼叫。 In voice communication based on telephone, the telephone user only needs to dial the number of another telephone user, and the party can answer it. In PC-based voice communication, PC users (ie, instant messaging users) use their instant messaging accounts to log in to Instant Messaging (ΙΜ) clients and initiate calls to other clients (including instant messaging clients, phones) through softswitches. The client's call.
而现阶段要实现即时通信客户端与电话客户端之间的语音通信,局限于由 PC用户通过即时通信客户端主动向电话客户端发起呼叫, 电话客户端只能作 为被叫, 这就使得两者之间进行语音沟通的实现方式显得单一, 灵活性不足。 发明内容 At this stage, to realize the voice communication between the instant messaging client and the telephone client, it is limited to the PC user actively calling the telephone client through the instant communication client, and the telephone client can only act as the called party, which makes the two The implementation of voice communication between the users is single and lacks flexibility. Summary of the invention
本发明的目的在于提供一种电话客户端与即时通信客户端建立通信的 方法、 系统及设备, 旨在解决现有技术中只能由即时通信用户主动发起呼叫, 其通信方式的灵活性较低的问题,以实现由电话客户端主动发起呼叫来触发建 立通信连接的目的。 It is an object of the present invention to provide a method, system, and device for establishing a communication between a telephone client and an instant messaging client, which aims to solve the problem that the communication mode is less flexible only when the call is actively initiated by the instant communication user in the prior art. The problem is to achieve the purpose of establishing a communication connection by initiating a call by the telephone client.
有鉴于此, 本发明实施例提供: In view of this, the embodiments of the present invention provide:
一种电话客户端与即时通信客户端的通信系统, 包括电话客户端、 即时通 信客户端, 所述系统还包括与电话客户端、 即时通信客户端分别相连的中转服 务器, A communication system between a telephone client and an instant messaging client, including a telephone client and an instant messaging client, the system further comprising a relay server connected to the telephone client and the instant messaging client respectively.
所述电话客户端, 用于发送呼叫信号; The telephone client is configured to send a call signal;
所述中转服务器,用于接收所述电话客户端发送的呼叫信号,根据所述呼
叫信号中的即时通信客户端标识,确认需要与所述电话客户端进行通信连接的 即时通信客户端, 生成连接请求消息, 向所述即时通信客户端发送所述连接请 求消息, 使所述电话客户端与即时通信客户端之间建立通信连接。 The relay server is configured to receive a call signal sent by the telephone client, according to the call Calling the instant messaging client identifier in the signal, confirming that the instant messaging client that needs to communicate with the telephone client, generating a connection request message, and sending the connection request message to the instant messaging client, so that the call is made A communication connection is established between the client and the instant messaging client.
一种中转服务器, 包括: 信息收发单元和处理单元, A transit server includes: an information transceiving unit and a processing unit,
所述信息收发单元,用于接收电话客户端发送的呼叫信号, 并向所述处理 单元所确定的即时通信客户端发送来自所述处理单元的连接请求消息; The information transceiver unit is configured to receive a call signal sent by the telephone client, and send a connection request message from the processing unit to the instant communication client determined by the processing unit;
所述处理单元,用于根据所述呼叫信号中的即时通信客户端标识,确认需 要与所述电话客户端进行通信连接的即时通信客户端, 并生成连接请求消息 , 控制所述信息收发单元将连接请求消息发送到所述即时通信客户端。 The processing unit is configured to confirm, according to the instant communication client identifier in the call signal, an instant messaging client that needs to communicate with the telephone client, and generate a connection request message, and control the information transceiver unit to A connection request message is sent to the instant messaging client.
一种电话客户端与即时通信客户端建立通信的方法,所述方法包括以下步 骤: A method for establishing a communication between a telephone client and an instant messaging client, the method comprising the steps of:
A.接收电话客户端发送的呼叫信号; A. receiving a call signal sent by the telephone client;
B.根据所述呼叫信号中的即时通信客户端标识,确认需要与所述电话客户 端建立通信连接的即时通信客户端,生成连接请求消息发送至所述即时通信客 户端, 使所述电话客户端与所述即时通信客户端之间建立通信连接。 B. confirming, according to the instant messaging client identifier in the call signal, an instant messaging client that needs to establish a communication connection with the telephone client, and generating a connection request message to be sent to the instant messaging client, so that the telephone client And establishing a communication connection with the instant messaging client.
本发明通过在电话客户端与即时通信客户端之间 1入一个中转服务器,用 于根据电话客户端发送的呼叫信号中的即时通信客户端标识,确定需要与该电 话客户端建立连接的即时通信客户端,并将连接请求消息发送给该即时通信客 户端, 以使在电话客户端与即时通信客户端之间建立通信连接, 实现了通过电 话客户端主动发起呼叫来触发建立通信连接的目的。 The invention enters a relay server between the telephone client and the instant messaging client, and is used for determining the instant communication that needs to establish a connection with the telephone client according to the instant communication client identifier in the call signal sent by the telephone client. The client sends a connection request message to the instant messaging client to establish a communication connection between the telephone client and the instant messaging client, thereby realizing the purpose of triggering the establishment of the communication connection by actively initiating the call through the telephone client.
附图说明 DRAWINGS
图 1是本发明实施例提供的电话客户端与即时通信客户端的通信系统结构 示意图; 1 is a schematic structural diagram of a communication system between a telephone client and an instant messaging client according to an embodiment of the present invention;
图 2是本发明的一个实施例中电话客户端与即时通信客户端的通信系统结 构图; 2 is a structural diagram of a communication system between a telephone client and an instant messaging client in an embodiment of the present invention;
图 3是本发明的一个实施例中电话客户端与即时通信客户端的通信系统结 构图; 3 is a structural diagram of a communication system between a telephone client and an instant messaging client in an embodiment of the present invention;
图 4是本发明一个实施例的中转服务器中切换单元的结构图; 4 is a structural diagram of a switching unit in a relay server according to an embodiment of the present invention;
图 5是本发明一个实施例的中转服务器中切换单元的结构图;
图 6是本发明一个实施例中电话客户端与即时通信客户端之间建立通信的 方法流程图; FIG. 5 is a structural diagram of a switching unit in a relay server according to an embodiment of the present invention; FIG. 6 is a flow chart of a method for establishing communication between a telephone client and an instant messaging client in an embodiment of the present invention;
图 7是本发明一个实施例中电话客户端与即时通信客户端之间建立通信的 方法时序图; 7 is a timing diagram of a method for establishing communication between a telephone client and an instant messaging client in an embodiment of the present invention;
图 8 是本发明一个实施例中电话客户端与即时通信客户端之间建立通信 的方法流程图。 Figure 8 is a flow diagram of a method of establishing communication between a telephone client and an instant messaging client in accordance with one embodiment of the present invention.
具体实施方式 detailed description
为了使本发明的目的、技术方案及优点更加清楚明白, 以下结合附图及实 施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅 仅用以解释本发明, 并不用于限定本发明。 The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明通过在电话客户端与即时通信客户端之间引入一个中转服务器,当 中转服务器接收到电话客户端发送的呼叫信号后,根据呼叫信号中的即时通信 客户端标识,确认需要与电话客户端进行通信连接的即时通信客户端, 并在收 到呼叫信号后, 生成连接请求消息发送给该即时通信客户端,从而在电话客户 端与即时通信客户端之间建立起通信连接。 The invention introduces a relay server between the telephone client and the instant messaging client, and after receiving the call signal sent by the telephone client, the relay server confirms the need and the telephone client according to the instant communication client identifier in the call signal. The instant messaging client that performs the communication connection, and after receiving the call signal, generates a connection request message and sends the connection request message to the instant messaging client, thereby establishing a communication connection between the telephone client and the instant messaging client.
需要说明的是: 对于本发明各实施例所描述的即时通信客户端可以在 PC 机上。 It should be noted that the instant messaging client described in the embodiments of the present invention may be on a PC.
图 1示出了本发明中电话客户端与即时通信客户端的通信系统结构, 包括 中转月良务器 100、电话客户端 200、即时通信客户端 300a及即时通信客户端 300b。 应当说明的是,本发明所有图示中各设备之间的连接关系是为了清楚阐释其信 息交互及控制过程的需要, 因此应当视为逻辑上的连接关系, 而不应仅限于物 理连接。 1 shows the communication system structure of a telephone client and an instant messaging client in the present invention, including a relay server 100, a telephone client 200, an instant messaging client 300a, and an instant messaging client 300b. It should be noted that the connections between the various devices in the various figures of the present invention are intended to clearly illustrate the need for their information interaction and control processes and should therefore be considered as logical connections and should not be limited to physical connections.
中转服务器 100分别与电话客户端 200及即时通信客户端 300a相连,在具体 的网络环境中, 中转月良务器 100与即时通信客户端 300a之间可以通过一个 VOIP ( Voice over Internet Protocol, 网络电话) 网关(图中未示出)相连, 该 VOIP 网关用于将电话网络(电话客户端所在的网络 )支持的信号转换成 Internet网络 (即时通信客户端所在的网络) 支持的信号, 和 /或, 将 Internet网络支持的信 号转换成电话网络支持的信号。中转服务器 100自身具有标识自己的电话号码, 并存储有系统内即时通信客户端的通信相关信息, 其用于根据电话客户端 200
发送的呼叫信号中的即时通信客户端标识, 确认需要与电话客户端 200进行通 信连接的即时通信客户端 300a, 并在收到呼叫信号后, 生成连接请求消息发送 给该即时通信客户端 300a, 在电话客户端 200与即时通信客户端 300a之间建立 通信连接, 并基于所建立的通信连接将电话客户端 200或即时通信客户端 300a 发送的语音信号转发至对端。 其具体的内部结构将在图 3所示的实施例中详细 阐述。 The transit server 100 is connected to the telephone client 200 and the instant messaging client 300a respectively. In a specific network environment, the VOIP (Voice over Internet Protocol) can be passed between the transit server 100 and the instant messaging client 300a. a gateway (not shown) connected to convert the signals supported by the telephone network (the network where the telephone client is located) into signals supported by the Internet network (the network where the instant messaging client is located), and/or , converts signals supported by the Internet network into signals supported by the telephone network. The relay server 100 itself has a telephone number identifying itself and stores communication related information of the instant messaging client in the system for use in accordance with the telephone client 200. The instant messaging client identifier in the sent call signal confirms the instant messaging client 300a that needs to communicate with the telephone client 200, and after receiving the call signal, generates a connection request message and sends the connection request message to the instant messaging client 300a. A communication connection is established between the telephony client 200 and the instant messaging client 300a, and the voice signal transmitted by the telephony client 200 or the instant messaging client 300a is forwarded to the peer based on the established communication connection. Its specific internal structure will be explained in detail in the embodiment shown in FIG.
电话客户端 200通过中转月良务器 100与即时通信客户端 300a之间建立通信 连接。其用于向中转服务器 100发送呼叫信号, 该呼叫信号包括中转服务器 100 的电话号码, 以及即时通信客户端标识。 The telephone client 200 establishes a communication connection with the instant messaging client 300a via the relay server 100. It is used to send a call signal to the relay server 100, the call signal including the telephone number of the relay server 100, and the instant messaging client identification.
即时通信客户端 300a用于接收中转服务器 100发送的连接请求消息, 并发 送反馈消息, 该反馈消息可以是确认消息, 也可以是拒绝消息。 即时通信客户 端 300a也可与其他的即时通信客户端 (如图 1所示的即时通信客户端 300b )直 接相连并进行语音沟通。应当说明的是, 本图示中的即时通信客户端 300a和即 时通信客户端 300b在物理结构及功能方面是相似的,本发明在此区分只是为了 更清楚阐述的需要, 并不用于限定本发明的保护范围。 The instant messaging client 300a is configured to receive the connection request message sent by the relay server 100, and send a feedback message, which may be a confirmation message or a rejection message. The instant messaging client 300a can also be directly connected to and communicate with other instant messaging clients (such as the instant messaging client 300b shown in FIG. 1). It should be noted that the instant messaging client 300a and the instant messaging client 300b in the present drawing are similar in physical structure and function, and the present invention is hereby distinguished only for the sake of clearer explanation, and is not intended to limit the present invention. The scope of protection.
该实施例所描述的电话客户端与即时通信客户端的通信系统通过在电话 客户端与即时通信客户端之间引入一个中转服务器,该中转服务器根据电话客 户端发送的呼叫信号中的即时通信客户端标识,确认需要与电话客户端进行通 信连接的即时通信客户端, 并在收到呼叫信号后, 生成连接请求消息发送给该 即时通信客户端, 以使即时通信客户端与电话客户端之间建立通信连接,使得 语音沟通不仅可通过即时通信客户端发起呼叫, 也可通过电话客户端发起呼 叫。 The communication system of the telephone client and the instant messaging client described in this embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server according to the instant messaging client in the call signal sent by the telephone client Identifying, identifying an instant messaging client that needs to communicate with the telephone client, and after receiving the call signal, generating a connection request message to the instant messaging client to establish an instant communication client and the telephone client The communication connection enables voice communication to initiate a call not only through the instant messaging client, but also through the telephone client.
图 1所示的系统结构仅为一个示例系统, 本发明可在此基础上进行灵活扩 展, 如图 2所示, 电话客户端 200的数量可扩展为多个 (电话客户端 200a、 200b ... ...200η ) , 与即时通信客户端 300a直接相连的其他即时通信客户端也可 以扩展为多个(即时通信客户端 300b、 即时通信客户端 300c ... ...即时通信客户 端 300η ) , 从而可实现多人语音沟通。 The system structure shown in FIG. 1 is only an example system, and the present invention can be flexibly expanded on the basis of this. As shown in FIG. 2, the number of telephone clients 200 can be expanded into multiple (telephone clients 200a, 200b.. ...200η) , other instant messaging clients directly connected to the instant messaging client 300a can also be expanded into multiple (instant messaging client 300b, instant messaging client 300c, instant messaging client 300n) ), thus enabling multi-person voice communication.
中转服务器 100 , 用于接收电话客户端发送的呼叫信号, 根据呼叫信号中 的即时通信客户端标识,确认需要与电话客户端进行通信连接的即时通信客户
端 300a, 生成连接请求消息, 向即时通信客户端 300a发送连接请求消息, 使电 话客户端与即时通信客户端之间建立通信连接。 The transit server 100 is configured to receive a call signal sent by the telephone client, and confirm an instant communication client that needs to communicate with the telephone client according to the instant communication client identifier in the call signal. The terminal 300a generates a connection request message, and sends a connection request message to the instant messaging client 300a to establish a communication connection between the telephone client and the instant messaging client.
在电话客户端与即时通信客户端之间建立通信连接后, 中转服务器 100将 来自电话客户端的语音信号发送给即时通信客户端,将来自即时通信客户端的 语音信号发送给电话客户端。 After establishing a communication connection between the telephone client and the instant messaging client, the relay server 100 transmits a voice signal from the telephone client to the instant messaging client, and transmits a voice signal from the instant messaging client to the telephone client.
即时通信客户端 300a包括: 信息收发单元和混音单元; The instant messaging client 300a includes: an information transceiving unit and a mixing unit;
信息收发单元,用于接收多个电话客户端发送的语音信号,将多个电话客 户端发送的语音信号, 和本地(即时通信客户端 300a )的语音信号发送给混音 单元,并将混音单元混音处理后得到的语音信号发送给多个电话客户端;或者, 接收来自电话客户端的语音信号和其他即时通信客户端的语音信号,将电话客 户端的语音信号、其他即时通信客户端的语音信号和本地的语音信号发送给混 音单元,并将混音单元混音处理后得到的语音信号分别发送给所述电话客户端 和其他即时通信客户端; The information transceiving unit is configured to receive the voice signal sent by the plurality of telephone clients, send the voice signal sent by the plurality of telephone clients, and the voice signal of the local (instant messaging client 300a) to the mixing unit, and mix the sound The voice signal obtained after the unit mixing process is sent to a plurality of telephone clients; or, the voice signal from the telephone client and the voice signal of other instant communication client are received, and the voice signal of the telephone client, the voice signal of other instant messaging client, and The local voice signal is sent to the mixing unit, and the voice signal obtained by mixing the mixing unit is separately sent to the telephone client and other instant communication clients;
混音单元, 用于将接收的多路语音信号进行混音处理,将混音处理得到的 语音信号发送给信息收发单元。 The mixing unit is configured to perform mixing processing on the received multi-channel speech signal, and send the speech signal obtained by the mixing processing to the information transceiving unit.
其中, 混音单元包括: Among them, the mixing unit includes:
判断单元, 用于判断多路语音信号的釆样率(Sample Rate, SR )是否一 致; a determining unit, configured to determine whether a sample rate (SR) of the multi-channel voice signal is consistent;
釆样转换单元, 用于在判断单元为否时,将所述多路语音信号进行釆样转 换, 以使转换后的各路语音信号的釆样率一致; a sampling conversion unit, configured to perform the conversion of the multi-channel speech signal when the judging unit is no, so that the sampling rates of the converted speech signals are consistent;
线性叠加单元, 用于将釆样率一致的多路语音信号进行线性叠加,将线性 叠加得到的语音信号发送给信息收发单元。 The linear superimposing unit is configured to linearly superimpose the multi-channel speech signals with the same sampling rate, and send the linear superimposed speech signals to the information transceiving unit.
该实施例所描述的电话客户端与即时通信客户端的通信系统通过在电话 客户端与即时通信客户端之间引入一个中转服务器,该中转服务器根据电话客 户端发送的呼叫信号中的即时通信客户端标识,确认需要与电话客户端进行通 信连接的即时通信客户端, 并在收到呼叫信号后, 生成连接请求消息发送给该 即时通信客户端, 以使即时通信客户端与电话客户端之间建立通信连接,使得 语音沟通不仅可通过即时通信客户端发起呼叫, 也可通过电话客户端发起呼 叫; 进一步, 即时通信客户端可以接收来自电话客户端和其他即时通信客户端
的语音信号,将接收的语音信号和本地的语音信号进行混音处理,将混音处理 得到的语音信号分别发给电话客户端和其他即时通信客户端; 或者,接收来自 多个电话客户端的语音信号,将接收的语音信号和本地的语音信号进行混音处 理,将混音处理得到的语音信号发给多个电话客户端,以实现多人通信的目的。 The communication system of the telephone client and the instant messaging client described in this embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server according to the instant messaging client in the call signal sent by the telephone client Identifying, identifying an instant messaging client that needs to communicate with the telephone client, and after receiving the call signal, generating a connection request message to the instant messaging client to establish an instant communication client and the telephone client Communication connection, so that voice communication can not only initiate a call through an instant messaging client, but also initiate a call through a telephone client; further, the instant messaging client can receive from the telephone client and other instant messaging clients The voice signal is mixed with the received voice signal and the local voice signal, and the voice signal obtained by the mixing process is separately sent to the telephone client and other instant messaging clients; or, the voice is received from multiple telephone clients. The signal is mixed with the received voice signal and the local voice signal, and the voice signal obtained by the mixing process is sent to a plurality of telephone clients for the purpose of multi-person communication.
上述本发明实施例所提供的中转服务器包括: 信息收发单元和处理单元, 信息收发单元,用于接收电话客户端发送的呼叫信号, 并向所述处理单元 所确定的即时通信客户端发送来自所述处理单元的连接请求消息; The relay server provided by the embodiment of the present invention includes: an information transceiving unit and a processing unit, where the information transceiving unit is configured to receive a call signal sent by the telephony client, and send the e-mail to the instant messaging client determined by the processing unit. a connection request message of the processing unit;
处理单元, 用于根据所述呼叫信号中的即时通信客户端标识,确认需要与 所述电话客户端进行通信连接的即时通信客户端, 并生成连接请求消息,控制 所述信息收发单元将连接请求消息发送到所述即时通信客户端。 a processing unit, configured to confirm, according to the instant messaging client identifier in the call signal, an instant messaging client that needs to communicate with the telephone client, and generate a connection request message, and control the information transceiver unit to connect the request A message is sent to the instant messaging client.
其中, 处理单元包括: 存储单元和切换单元, 参阅图 3 , 该电话客户端与 即时通信客户端的通信系统中的中转服务器包括: 信息收发单元 101、 存储单 元 102和切换单元 103 , 其中: The processing unit includes: a storage unit and a switching unit. Referring to FIG. 3, the transit server in the communication system of the telephone client and the instant messaging client includes: an information transceiving unit 101, a storage unit 102, and a switching unit 103, where:
( 1 )信息收发单元 101 , 用于与电话客户端 200、 即时通信客户端 300a之 间进行信息交互, 具体包括: 接收电话客户端 200的呼叫信号, 并将该呼叫信 号送入切换单元 103中, 该呼叫信号包括中转服务器 100的电话号码、 即时通信 用户的身份标识号码(如电话号码、 身份证号码等), 其中即时通信用户的身 份标识号码是用于后续确定即时通信客户端的,所以相当于即时通信客户端标 识; 接收到切换单元 103发送的连接请求消息后,将其发送至切换单元 103所确 定的即时通信客户端 300a; 接收到即时通信客户端 300a发送的反馈消息后, 则 送入切换单元 103进行解析和判断。 (1) The information transceiving unit 101 is configured to perform information interaction with the telephony client 200 and the instant messaging client 300a, and specifically includes: receiving a call signal of the telephony client 200, and sending the call signal to the switching unit 103. The call signal includes a phone number of the relay server 100, an identity number of the instant communication user (such as a phone number, an ID card number, etc.), wherein the identity number of the instant communication user is used to subsequently determine the instant messaging client, so After receiving the connection request message sent by the switching unit 103, the connection request message is sent to the instant communication client 300a determined by the switching unit 103; after receiving the feedback message sent by the instant communication client 300a, The input switching unit 103 performs analysis and determination.
( 2 )存储单元 102, 用于存储即时通信用户的通信相关信息, 以及在连接 建立后存储连接相关信息; (2) a storage unit 102, configured to store communication related information of the instant communication user, and store connection related information after the connection is established;
在本发明实施例中,即时通信用户的通信相关信息包括即时通信用户的身 份标识号码及其对应的即时通信号码, 其中: 身份标识号码是用于标识即时通 信用户身份的具有唯一性的号码,在一个实施例中, 身份标识号码可以是电话 号码、 身份证号码等; 即时通信号码可以是用户进行即时通信的帐号。 在另一 个实施例中, 即时通信用户的身份标识号码就是即时通信号码。 连接相关信息 是指所建立的通信连接相关的所有信息, 包括双方客户端的身份标识号码、连
接建立时间等。 In the embodiment of the present invention, the communication related information of the instant communication user includes the identity identification number of the instant communication user and its corresponding instant communication number, where: the identity identification number is a unique number used to identify the identity of the instant communication user. In an embodiment, the identification number may be a phone number, an ID number, etc.; the instant communication number may be an account for the user to perform instant communication. In another embodiment, the identity number of the instant messaging user is the instant messaging number. Connection related information refers to all information related to the established communication connection, including the identity number of both clients, and Connect to establish time and so on.
( 3 )切换单元 103与信息收发单元 101、 存储单元 102分别相连, 用于根据 电话客户端 200发送的呼叫信号中的即时通信用户的身份标识号码, 从存储单 元 102查询得到对应的即时通信号码,以确认需要与该电话客户端 200建立通信 连接的即时通信客户端 300a, 并在信息收发单元 101接收到呼叫信号后, 生成 连接请求消息, 控制信息收发单元 101将连接请求消息发送到即时通信客户端 300a。 该切换单元 103的具体内部结构将在其后的实施例中进行详细阐述。 (3) The switching unit 103 is connected to the information transceiving unit 101 and the storage unit 102 respectively, and is configured to query the corresponding instant communication number from the storage unit 102 according to the identity identification number of the instant communication user in the call signal sent by the telephone client 200. To confirm that the instant messaging client 300a needs to establish a communication connection with the telephone client 200, and after receiving the call signal by the information transceiving unit 101, generate a connection request message, and the control information transceiving unit 101 transmits the connection request message to the instant communication. Client 300a. The specific internal structure of the switching unit 103 will be explained in detail in the following embodiments.
图 4进一步给出图 3所示实施例中切换单元 103的内部结构, 包括解析模块 1031、 端口确认模块 1032、 信号转接模块 1033 , 其中: 4 further shows the internal structure of the switching unit 103 in the embodiment shown in FIG. 3, including a parsing module 1031, a port confirming module 1032, and a signal switching module 1033, where:
解析模块 1031用于解析电话客户端 200发送的呼叫信号, 得到即时通信用 户的身份标识号码。 The parsing module 1031 is configured to parse the call signal sent by the telephony client 200 to obtain the identity number of the instant communication user.
端口确认模块 1032与解析模块 1031及信号转接模块 1033相连,用于根据解 析得到的即时通信用户的身份标识号码查询其即时通信号码,以确认需要与电 话客户端进行通信连接的即时通信客户端 300a,并将该即时通信号码送入信号 转接模块 1033。 The port confirmation module 1032 is connected to the parsing module 1031 and the signal switching module 1033, and is configured to query the instant communication number of the instant messaging user according to the parsed to identify the instant messaging client that needs to communicate with the telephony client. 300a, and the instant communication number is sent to the signal switching module 1033.
信号转接模块 1033与端口确认模块 1032相连,用于接收端口确认模块 1032 发送的即时通信号码,生成与即时通信用户的身份标识号码对应的连接请求消 息(即与该即时通信号码对应的连接请求消息), 根据即时通信号码, 控制信 息收发单元 101将连接请求消息发送到即时通信客户端 300a, 并在连接建立后 对语音信号进行转发。 The signal switching module 1033 is connected to the port confirmation module 1032, and configured to receive the instant communication number sent by the port confirmation module 1032, and generate a connection request message corresponding to the identity identification number of the instant communication user (ie, a connection request corresponding to the instant communication number). Message), according to the instant messaging number, the control information transceiving unit 101 transmits a connection request message to the instant messaging client 300a, and forwards the voice signal after the connection is established.
上述实施例的切换单元 103中各模块是以集成方式存在的, 当然, 本发明 并不限于上述方式。 The modules in the switching unit 103 of the above embodiment exist in an integrated manner. Of course, the present invention is not limited to the above.
该实施例所描述的电话客户端与即时通信客户端的通信系统通过在电话 客户端与即时通信客户端之间引入一个中转服务器,该中转服务器根据电话客 户端发送的呼叫信号中的即时通信用户的身份标识号码,确认需要与电话客户 端进行通信连接的即时通信客户端, 并在收到呼叫信号后, 生成连接请求消息 发送给该即时通信客户端,以使即时通信客户端与电话客户端之间建立通信连 接,使得语音沟通不仅可通过即时通信客户端发起呼叫, 也可通过电话客户端 发起呼叫。
图 5示出了本发明的另一实施例中切换单元 103的内部结构,从目前的网络 架构和具体实现方面来看, 该实施例是本发明的一个典型实施例。在该实施例 中, 中转服务器 100可看作由两个服务器组成: 一个是互动式语音应答 ( Interactive Voice Response, IVR )服务器, 放在电话网中, 通常由电信运营 商提供; 另一个是即时通信(Instant message, IM )服务器, 放在互联网中, 通常由 IM服务器商提供, 因此相应地, 切换单元 103中各模块可细化为电话侧 和 IM侧。 The communication system of the telephone client and the instant messaging client described in this embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server according to the instant communication user in the call signal sent by the telephone client The identification number confirms an instant messaging client that needs to communicate with the telephone client, and after receiving the call signal, generates a connection request message and sends the connection request message to the instant messaging client, so that the instant messaging client and the telephone client Establish a communication connection so that voice communication can initiate a call not only through the instant messaging client, but also through the telephone client. FIG. 5 shows the internal structure of the switching unit 103 in another embodiment of the present invention. This embodiment is an exemplary embodiment of the present invention from the perspective of the current network architecture and specific implementation. In this embodiment, the relay server 100 can be considered to be composed of two servers: one is an Interactive Voice Response (IVR) server, placed in the telephone network, usually provided by a telecommunications carrier; the other is instant An instant message (IM) server is placed in the Internet and is usually provided by an IM server. Accordingly, each module in the switching unit 103 can be refined to the telephone side and the IM side.
端口确认模块 1032进一步包括 IVR端口控制模块 10321、 IM端口控制模块 10322, 其中: IVR端口控制模块 10321从解析模块 1031处取得电话客户端 200 呼叫的即时通信客户端 300a的信息, 比如即时通信用户的身份标识号码, 并和 IM端口控制模块 10322通信; IM端口控制模块 10322确定被叫即时通信客户端 300a的相关信息, 包括: 根据即时通信用户的身份标识号码获得即时通信客户 端 300a的即时通信号码,并控制信号转接模块 1033和即时通信客户端 300a建立 连接。 The port confirmation module 1032 further includes an IVR port control module 10321 and an IM port control module 10322, wherein: the IVR port control module 10321 obtains information of the instant messaging client 300a called by the phone client 200 from the parsing module 1031, such as an instant communication user. The identity number is communicated with the IM port control module 10322. The IM port control module 10322 determines the related information of the called instant messaging client 300a, including: obtaining the instant communication number of the instant messaging client 300a according to the identity identification number of the instant messaging user And the control signal switching module 1033 and the instant messaging client 300a establish a connection.
而信号转接模块 1033进一步包括 IVR信号转接模块 10331、 IM信号转接模 块 10332, 其中: IVR信号转接模块 10331生成与即时通信用户的身份标识号码 对应的连接请求消息, 并发送给 IM信号转接模块 10332, 再由 IM信号转接模块 10332根据即时通信号码, 将该连接请求消息进一步发送给即时通信客户端 300a; 连接建立后, IVR信号转接模块 10331从解析模块 1031处获取用户语音 信息, 并将其转换为即时通信客户端 300a可接收的语音信号, 然后通过 IM信 号转接模块 10332将语音信息转发给即时通信客户端 300a。 The signal switching module 1033 further includes an IVR signal switching module 10331 and an IM signal switching module 10332, wherein: the IVR signal switching module 10331 generates a connection request message corresponding to the identity identification number of the instant messaging user, and sends the connection request message to the IM signal. The switching module 10332 further transmits the connection request message to the instant messaging client 300a according to the instant communication number by the IM signal switching module 10332. After the connection is established, the IVR signal switching module 10331 obtains the user voice from the parsing module 1031. The information is converted to a voice signal receivable by the instant messaging client 300a, and then forwarded to the instant messaging client 300a by the IM signal switching module 10332.
该实施例将中转服务器中的切换单元 103细化成电话侧和 IM侧的相应单 元, 可分别放在 IVR服务器和 IM服务器上, 使网络布置比较灵活。 In this embodiment, the switching unit 103 in the relay server is refined into corresponding units on the telephone side and the IM side, and can be placed on the IVR server and the IM server respectively, so that the network arrangement is flexible.
图 6示出了本发明中电话客户端与即时通信客户端建立通信的方法流程, 该方法流程基于图 1所示系统。 6 shows a flow of a method for establishing a communication between a telephone client and an instant messaging client in the present invention, the method flow being based on the system shown in FIG.
在执行本发明的所有步骤之前, 在中转服务器 100中存储即时通信用户的 通信相关信息,所述通信相关信息包括即时通信用户的身份标识号码及其对应 的即时通信号码, 其中: 身份标识号码是用于标识用户身份的具有唯一性的号 码, 在一个实施例中, 身份标识号码可以是电话号码、 身份证号码等; 即时通
信号码可以是用户进行即时通信的帐号,在另一个实施例中, 即时通信用户的 身份标识号码就是即时通信号码。 Before performing all the steps of the present invention, the communication related information of the instant communication user is stored in the relay server 100, and the communication related information includes the identity identification number of the instant communication user and its corresponding instant communication number, wherein: the identification number is a unique number for identifying a user identity. In one embodiment, the identity number can be a phone number, an ID number, etc.; The signal code may be an account for the user to perform instant communication. In another embodiment, the identity number of the instant communication user is an instant communication number.
在步骤 S601中, 中转服务器 100接收电话客户端 200发送的呼叫信号。该呼 叫信号包括中转服务器 100的电话号码和即时通信客户端标识, 其中, 即时通 信客户端标识可以是即时通信用户的身份标识号码。 In step S601, the relay server 100 receives the call signal transmitted by the telephone client 200. The call signal includes a phone number of the relay server 100 and an instant messaging client identifier, wherein the instant communication client identifier may be an identity number of the instant messaging user.
在步骤 S602中, 中转服务器 100根据呼叫信号中的即时通信客户端标识, 确定需要与该电话客户端进行通信连接的即时通信客户端 300a,并在收到呼叫 信号后, 生成连接请求消息, 并发送至所确定的即时通信客户端 300a。 In step S602, the relay server 100 determines the instant messaging client 300a that needs to communicate with the telephone client according to the instant messaging client identifier in the call signal, and generates a connection request message after receiving the call signal, and Send to the determined instant messaging client 300a.
该步骤的具体实现方式可以包括: ( 1 )中转服务器 100解析电话客户端 200 发送的呼叫信号, 得到即时通信用户的身份标识号码; (2 )根据即时通信用 户的身份标识号码, 查询与其对应的即时通信号码,确认需要与该电话客户端 200进行通信连接的即时通信客户端 300a; ( 3 )生成与该即时通信号码对应的 连接请求消息, 利用即时通信号码,将该连接请求消息发送至所确定的即时通 信客户端 300a。 The specific implementation of the step may include: (1) the relay server 100 parses the call signal sent by the telephone client 200 to obtain the identity identification number of the instant communication user; (2) querying the corresponding identifier according to the identity identification number of the instant communication user An instant communication number confirming an instant communication client 300a that needs to communicate with the telephone client 200; (3) generating a connection request message corresponding to the instant communication number, and transmitting the connection request message to the office by using an instant communication number The instant messaging client 300a is determined.
在步骤 S603中, 当中转服务器 100收到即时通信客户端 300a反馈的连接确 认消息, 则存储连接相关信息, 至此该通信连接建立完毕, 电话客户端 200与 即时通信客户端 300a则可基于该通信连接进行语音沟通。 In step S603, when the relay server 100 receives the connection confirmation message fed back by the instant messaging client 300a, the connection related information is stored, and after the communication connection is established, the telephone client 200 and the instant messaging client 300a can be based on the communication. Connect for voice communication.
该实施例通过在电话客户端与即时通信客户端之间引入一个中转服务器, 该中转服务器根据电话客户端发送的呼叫信号中的即时通信客户端标识,确认 需要与电话客户端进行通信连接的即时通信客户端, 并在收到呼叫信号后, 生 成连接请求消息发送给该即时通信客户端 ,以使即时通信客户端与电话客户端 之间建立通信连接,使得语音沟通不仅可通过即时通信客户端发起呼叫,也可 通过电话客户端发起呼叫。 The embodiment introduces a relay server between the telephone client and the instant messaging client, and the relay server confirms the instant connection required to communicate with the telephone client according to the instant communication client identifier in the call signal sent by the telephone client. After receiving the call signal, the communication client generates a connection request message and sends the connection request message to the instant messaging client, so that the instant communication client establishes a communication connection with the telephone client, so that the voice communication can be performed not only through the instant messaging client A call is initiated and a call can also be initiated through the telephone client.
图 7是本发明实施例所提供的电话客户端与即时通信客户端建立通信的方 法时序图, 该时序图基于图 1所示系统, 具体过程包括: FIG. 7 is a timing diagram of a method for establishing a communication between a telephone client and an instant messaging client according to an embodiment of the present invention. The timing diagram is based on the system shown in FIG.
步骤 1 : 电话客户端 200发送呼叫信号至中转服务器 100 , 该呼叫信号包括 中转服务器 100的电话号码、 即时通信用户的身份标识号码(如电话号码、 身 份证号码等) 。 Step 1: The telephone client 200 sends a call signal to the relay server 100, and the call signal includes the telephone number of the relay server 100, the identity number of the instant communication user (such as a telephone number, an identity card number, etc.).
步骤 2: 中转服务器 100解析该呼叫信号,得到即时通信用户的身份标识号
码, 并查询得到其即时通信号码, 确认需要与该电话客户端进行通信连接的即 时通信客户端 300a。 Step 2: The relay server 100 parses the call signal to obtain the identity number of the instant communication user. The code, and query for its instant communication number, confirms the instant messaging client 300a that needs to communicate with the telephone client.
步骤 3: 中转服务器 100生成连接请求消息, 根据即时通信号码, 发送连接 请求消息至即时通信客户端 300a。 Step 3: The relay server 100 generates a connection request message, and transmits a connection request message to the instant messaging client 300a according to the instant communication number.
步骤 4: 即时通信客户端 300a收到该连接请求消息后, 反馈连接确认消息 给中转服务器 100。 Step 4: After receiving the connection request message, the instant messaging client 300a feeds back a connection confirmation message to the relay server 100.
步骤 5: 中转服务器 100存储连接相关信息, 包括电话客户端 200和即时通 信客户端 300a的身份标识号码、 连接建立时间等。 Step 5: The relay server 100 stores connection related information, including the identity number of the telephone client 200 and the instant communication client 300a, the connection establishment time, and the like.
步骤 6: 中转服务器 100发送确认信号给电话客户端 200。 Step 6: The relay server 100 sends an acknowledgment signal to the telephone client 200.
步骤 7: 电话客户端 200与即时通信客户端 300a基于所建立的通信连接进行 语音沟通。 Step 7: The telephony client 200 communicates with the instant messaging client 300a based on the established communication connection.
该实施例通过在电话客户端与即时通信客户端之间引入一个中转服务器, 该中转服务器根据电话客户端发送的呼叫信号中的即时通信用户的身份标识 号码,确认需要与电话客户端进行通信连接的即时通信客户端, 并在收到呼叫 信号后, 生成连接请求消息发送给该即时通信客户端, 以使即时通信客户端与 电话客户端之间建立通信连接,使得语音沟通不仅可通过即时通信客户端发起 呼叫, 也可通过电话客户端发起呼叫。 In this embodiment, a transit server is introduced between the telephone client and the instant messaging client, and the relay server confirms that a communication connection with the telephone client is required according to the identity number of the instant communication user in the call signal sent by the telephone client. Instant messaging client, and after receiving the call signal, generate a connection request message and send the instant messaging client to establish a communication connection between the instant messaging client and the telephone client, so that the voice communication can be not only through instant communication The client initiates a call and can also initiate a call through the telephone client.
图 8示出了本发明实施例所提供的电话客户端与即时通信客户端通信的方 法流程, 该流程基于图 1至图 4所示的系统及设备。 具体过程包括: FIG. 8 is a flowchart showing a method for communicating between a telephone client and an instant messaging client according to an embodiment of the present invention. The flow is based on the system and device shown in FIG. 1 to FIG. The specific process includes:
在所有步骤之前,在中转服务器 100中存储即时通信用户的通信相关信息, 所述通信相关信息包括即时通信用户的身份标识号码、 即时通信号码, 其中: 身份标识号码是用于标识用户身份的具有唯一性的号码, 在一个实施例中, 身 份标识号码是电话号码、 身份证号码等; 即时通信号码是用户进行即时通信的 帐号, 在另一个实施例中, 即时通信用户的身份标识号码就是即时通信号码。 Before all the steps, the communication related information of the instant communication user is stored in the relay server 100, where the communication related information includes an identity identification number of the instant communication user, and an instant communication number, where: the identity identification number is used to identify the identity of the user. The unique number, in one embodiment, the identification number is a phone number, an ID number, etc.; the instant communication number is an account for the user to perform instant communication, and in another embodiment, the identity number of the instant communication user is instant Communication number.
在步骤 S801中, 中转服务器 100接收电话客户端 200发送的呼叫信号。该呼 叫信号包括中转服务器 100的电话号码, 及期望建立通信连接的即时通信用户 的身份标识号码。 In step S801, the relay server 100 receives the call signal transmitted by the telephone client 200. The call signal includes the telephone number of the relay server 100 and the identification number of the instant communication user who desires to establish a communication connection.
在步骤 S802中,中转服务器 100利用其切换单元 103中的解析模块 1031对该 呼叫信号进行解析, 从而得到即时通信用户的身份标识号码。
在步骤 S803中,中转服务器 100利用其切换单元 103中的端口确认模块 1032 从存储单元 102中查询与该即时通信用户的身份标识号码对应的即时通信用户 的即时通信号码, 以确认需要与该电话客户端 200进行通信连接的即时通信客 户端 300a, 并将即时通信号码送入切换单元 103中的信号转接模块 1033。 In step S802, the relay server 100 analyzes the call signal by using the parsing module 1031 in its switching unit 103, thereby obtaining the identity number of the instant communication user. In step S803, the relay server 100 uses the port confirmation module 1032 in its switching unit 103 to query the instant communication number of the instant communication user corresponding to the identity identification number of the instant communication user from the storage unit 102 to confirm the need with the phone. The client 200 performs a communication connection with the instant messaging client 300a and sends the instant communication number to the signal switching module 1033 in the switching unit 103.
在步骤 S804中,中转服务器 100利用其切换单元 103中的信号转接模块 1033 生成与该即时通信号码对应的连接请求消息, 并送入信息收发单元 101。 In step S804, the relay server 100 generates a connection request message corresponding to the instant communication number by using the signal switching module 1033 in its switching unit 103, and sends it to the information transceiving unit 101.
在步骤 S805中,中转服务器 100中的信号转接模块 1033根据即时通信号码, 控制信息收发单元 101将连接请求消息发送至该 PC用户所在的即时通信客户 端 300a。 In step S805, the signal switching module 1033 in the relay server 100 transmits the connection request message to the instant messaging client 300a where the PC user is located, based on the instant communication number.
在步骤 S806中,中转服务器 100收到即时通信客户端 300a发送的反馈消息。 在步骤 S807中,判断该反馈消息是否为连接确认消息:若是连接确认消息, 则转步骤 S808; 若是连接拒绝消息, 则结束。 In step S806, the relay server 100 receives the feedback message sent by the instant messaging client 300a. In step S807, it is determined whether the feedback message is a connection confirmation message: if it is a connection confirmation message, then go to step S808; if it is a connection rejection message, it ends.
在步骤 S808中, 中转服务器 100利用其存储单元 102存储连接相关信息, 包 括电话客户端 200和即时通信客户端 300a的身份标识号码、 连接建立时间等, 并发送确认信号给电话客户端 200。 In step S808, the relay server 100 uses its storage unit 102 to store connection related information, including the identity number of the telephone client 200 and the instant messaging client 300a, the connection establishment time, and the like, and sends an acknowledgment signal to the telephone client 200.
在步骤 S809中,电话客户端 200与即时通信客户端 300a至此则可基于所 建立的通信连接进行语音沟通,中转服务器 100则进行两者之间语音信号的转 发。 In step S809, the telephony client 200 and the instant messaging client 300a can now perform voice communication based on the established communication connection, and the relay server 100 performs the forwarding of the voice signal between the two.
其中, 在步骤 S809中和图 7中的步骤 7中, 可以实现多人语音通信, 具 体可以由如下两种实现方式: In step S809 and step 7 in FIG. 7, multi-person voice communication can be implemented, which can be implemented by the following two methods:
第一种实现方式包括: The first implementation includes:
( 1 )、 多个电话客户端通过中转服务器向即时通信客户端 300a发送语音 信号; (1), the plurality of telephone clients send a voice signal to the instant messaging client 300a through the relay server;
( 2 )、 即时通信客户端 300a将多个电话客户端的语音信号和本地的语音 信号进行混音处理; (2) The instant messaging client 300a mixes the voice signals of the plurality of telephone clients with the local voice signals;
( 3 )、 即时通信客户端 300a通过中转服务器向多个电话客户端发送混音 后的语音信号。 (3) The instant messaging client 300a sends the mixed voice signal to the plurality of telephone clients through the relay server.
第二种实现方式包括: The second implementation includes:
4叚定即时通信客户端 300a原本处于多人语音沟通状态, 那么电话客户端
200可通过其与即时通信客户端 300a之间建立的通信连接, 加入该多人语音 沟通中, 具体的实现方式包括: 4 that the instant messaging client 300a is originally in a multi-person voice communication state, then the phone client The wireless communication can be added to the multi-person voice communication through the communication connection established with the instant messaging client 300a. The specific implementation manners include:
( 1 )、 即时通信客户 300a向其它参与语音沟通的即时通信客户端发送信 息告知有新的客户端加入(该步骤也可以省略) ; (1) The instant messaging client 300a sends a message to other instant messaging clients participating in the voice communication to notify the new client to join (this step can also be omitted);
( 2 )、 电话客户端 200通过中转服务器向即时通信客户端 300a发送语音 信号; (2) The telephone client 200 transmits a voice signal to the instant messaging client 300a through the relay server;
( 3 )、 即时通信客户端 300a将多路语音信号进行混音处理, 其中多路语 音信号包括: 电话客户端 200的语音信号、参与语音沟通的即时通信客户端的 语音信号和本地的语音信号; (3) The instant messaging client 300a performs a mixing process on the multi-channel voice signal, where the multi-channel voice signal includes: a voice signal of the phone client 200, a voice signal of an instant communication client participating in voice communication, and a local voice signal;
( 4 )、 即时通信客户端 300a通过中转服务器向电话客户端 200发送混音 后的语音信息; (4) The instant messaging client 300a sends the mixed voice information to the telephone client 200 through the relay server;
( 5 )、 即时通信客户端 300a向其它参与多人语音的即时通信客户端发送 混音后的语音信息。 (5) The instant messaging client 300a sends the mixed voice information to other instant messaging clients participating in the multi-person voice.
其中, 即时通信客户端 300a将多路语音信号进行混音处理具体包括: 判 断多路语音信号的釆样率(Sample Rate, SR )是否一致, 若釆样率不一致, 则将多路语音信号进行釆样转换, 以使转后的各路语音信号的釆样率一致; 将 釆样率一致的多路语音信号进行线性叠加, 以得到转换后的语音信号。 The instant messaging client 300a performs the mixing process on the multi-channel voice signal, which specifically includes: determining whether the sample rate (SR) of the multi-channel voice signal is consistent, and if the sample rate is inconsistent, the multi-channel voice signal is performed. The sample conversion is performed so that the sampling rates of the converted voice signals are consistent; the multi-channel speech signals with the same sampling rate are linearly superimposed to obtain the converted speech signal.
该实施例通过在电话客户端与即时通信客户端之间引入一个中转服务器, 该中转服务器根据电话客户端发送的呼叫信号中的即时通信用户的身份标识 号码,确认需要与电话客户端进行通信连接的即时通信客户端, 并在收到呼叫 信号后, 生成连接请求消息发送给该即时通信客户端, 以使即时通信客户端与 电话客户端之间建立通信连接,使得语音沟通不仅可通过即时通信客户端发起 呼叫, 也可通过电话客户端发起呼叫。 进一步, 即时通信客户端可以接收来自 电话客户端和其他即时通信客户端的语音信号,将接收的语音信号和本地的语 音信号进行混音处理,将混音处理得到的语音信号分别发给电话客户端和其他 即时通信客户端; 或者, 接收来自多个电话客户端的语音信号, 将接收的语音 信号和本地的语音信号进行混音处理,将混音处理得到的语音信号发给多个电 话客户端, 以实现多人通信的目的。 In this embodiment, a transit server is introduced between the telephone client and the instant messaging client, and the relay server confirms that a communication connection with the telephone client is required according to the identity number of the instant communication user in the call signal sent by the telephone client. Instant messaging client, and after receiving the call signal, generate a connection request message and send the instant messaging client to establish a communication connection between the instant messaging client and the telephone client, so that the voice communication can be not only through instant communication The client initiates a call and can also initiate a call through the telephone client. Further, the instant messaging client can receive the voice signal from the telephone client and other instant messaging clients, mix the received voice signal and the local voice signal, and send the voice signal obtained by the mixing process to the telephone client separately. And other instant messaging clients; or, receiving voice signals from multiple telephone clients, mixing the received voice signals and local voice signals, and transmitting the voice signals obtained by the mixing process to multiple telephone clients, To achieve the purpose of multi-person communication.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发
明的精神和原则之内所作的任何修改、等同替换和改进等, 均应包含在本发明 的保护范围之内。
The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.
Claims
1、 一种电话客户端与即时通信客户端的通信系统, 包括电话客户端、 即 时通信客户端, 其特征在于, 所述系统还包括与电话客户端、 即时通信客户端 分别相连的中转服务器, A communication system between a telephone client and an instant messaging client, comprising a telephone client and a instant communication client, wherein the system further comprises a relay server connected to the telephone client and the instant messaging client respectively.
所述电话客户端, 用于发送呼叫信号; The telephone client is configured to send a call signal;
所述中转服务器,用于接收所述电话客户端发送的呼叫信号,根据所述呼 叫信号中的即时通信客户端标识,确认需要与所述电话客户端进行通信连接的 即时通信客户端, 生成连接请求消息, 向所述即时通信客户端发送所述连接请 求消息, 使所述电话客户端与即时通信客户端之间建立通信连接。 The relay server is configured to receive a call signal sent by the telephone client, and confirm an instant communication client that needs to communicate with the telephone client according to an instant communication client identifier in the call signal, to generate a connection. And requesting the message, sending the connection request message to the instant messaging client, so that a communication connection is established between the phone client and the instant messaging client.
2、 根据权利要求 1所述的系统, 其特征在于, 所述中转服务器包括: 信息 收发单元、 存储单元和处理单元, 2. The system according to claim 1, wherein the relay server comprises: an information transceiver unit, a storage unit, and a processing unit,
所述信息收发单元,用于接收电话客户端发送的呼叫信号, 并向所述处理 单元所确认的即时通信客户端发送来自所述处理单元的连接请求消息; The information transceiver unit is configured to receive a call signal sent by the telephone client, and send a connection request message from the processing unit to the instant messaging client confirmed by the processing unit;
所述存储单元,用于存储即时通信用户的通信相关信息, 所述通信相关信 息包括即时通信用户的身份标识号码及其对应的即时通信号码; The storage unit is configured to store communication related information of an instant communication user, where the communication related information includes an identity identification number of the instant communication user and a corresponding instant communication number thereof;
所述切换单元,用于对所述信息接收单元所接收的呼叫信号进行解析,得 到即时通信用户的身份标识号码, 并根据所述即时通信用户的身份标识号码, 从所述存储单元查询即时通信用户的即时通信号码,以确认需要与所述电话客 户端进行通信连接的即时通信客户端, 以及生成连接请求消息,控制所述信息 收发单元将连接请求消息发送到所述即时通信客户端。 The switching unit is configured to parse the call signal received by the information receiving unit, obtain an identity identification number of the instant communication user, and query the instant communication from the storage unit according to the identity identification number of the instant communication user. The instant communication number of the user to confirm an instant messaging client that needs to communicate with the telephone client, and generate a connection request message, and control the information transceiver unit to send a connection request message to the instant messaging client.
3、 根据权利要求 1所述的系统, 其特征在于, 3. The system of claim 1 wherein:
所述即时通信客户端包括: 信息收发单元和混音单元; The instant messaging client includes: an information transceiving unit and a mixing unit;
所述信息收发单元,用于接收多个电话客户端发送的语音信号,将多个电 话客户端的语音信号和本地的语音信号发送给所述混音单元,并将来自所述混 音单元的语音信号发送给所述多个电话客户端; 或者,接收来自电话客户端的 语音信号和其他即时通信客户端的语音信号,将所接收的语音信号和本地的语 音信号发送给所述混音单元,并将来自所述混音单元的语音信号分别发送给所 述电话客户端和其他即时通信客户端; The information transceiver unit is configured to receive voice signals sent by multiple telephone clients, send voice signals of multiple telephone clients and local voice signals to the sound mixing unit, and transmit voices from the sound mixing unit Sending a signal to the plurality of telephone clients; or receiving a voice signal from the telephone client and a voice signal of another instant messaging client, transmitting the received voice signal and the local voice signal to the mixing unit, and Voice signals from the mixing unit are separately sent to the telephone client and other instant messaging clients;
所述混音单元,用于将从所述信息收发单元接收的多路语音信号进行混音
处理, 将混音处理得到的语音信号发送给所述信息收发单元。 The mixing unit is configured to mix multi-channel speech signals received from the information transceiving unit Processing, sending the voice signal obtained by the mixing process to the information transceiver unit.
4、 一种中转服务器, 其特征在于, 包括: 信息收发单元和处理单元, 所述信息收发单元,用于接收电话客户端发送的呼叫信号, 并向所述处理 单元所确定的即时通信客户端发送来自所述处理单元的连接请求消息; A relay server, comprising: an information transceiving unit and a processing unit, wherein the information transceiving unit is configured to receive a call signal sent by a telephony client, and to the instant messaging client determined by the processing unit Sending a connection request message from the processing unit;
所述处理单元,用于根据所述呼叫信号中的即时通信客户端标识,确认需 要与所述电话客户端进行通信连接的即时通信客户端, 并生成连接请求消息 , 控制所述信息收发单元将连接请求消息发送到所述即时通信客户端。 The processing unit is configured to confirm, according to the instant communication client identifier in the call signal, an instant messaging client that needs to communicate with the telephone client, and generate a connection request message, and control the information transceiver unit to A connection request message is sent to the instant messaging client.
5、 根据权利要求 4所述的中转服务器, 其特征在于, 所述处理单元包括: 解析模块、 端口确认模块、 信号转接模块; The processing unit according to claim 4, wherein the processing unit comprises: a parsing module, a port confirming module, and a signal switching module;
所述解析模块,用于解析电话客户端发送的呼叫信号,得到所述即时通信 用户的身份标识号码; The parsing module is configured to parse a call signal sent by the telephony client to obtain an identity identification number of the instant communication user;
所述端口确认模块, 用于根据解析得到的即时通信用户的身份标识号码, 查询即时通信用户的即时通信号码,以确认需要与所述电话客户端进行通信连 接的即时通信客户端 , 并将所述即时通信号码送入信号转接模块; The port confirmation module is configured to query an instant communication number of the instant communication user according to the identified identity number of the instant communication user, to confirm an instant communication client that needs to communicate with the telephone client, and The instant communication number is sent to the signal switching module;
所述信号转接模块, 用于生成连接请求消息, 根据所述即时通信号码, 控 制所述信息收发单元将所述连接请求消息发送到即时通信客户端。 The signal switching module is configured to generate a connection request message, and control, according to the instant communication number, the information sending and receiving unit to send the connection request message to an instant messaging client.
6、 根据权利要求 5所述的中转服务器, 所述处理单元还包括: 6. The relay server according to claim 5, the processing unit further comprising:
存储单元, 用于存储即时通信用户的通信相关信息, 所述通信相关信息包 括即时通信用户的身份标识号码及其对应的即时通信号码; a storage unit, configured to store communication related information of an instant communication user, where the communication related information includes an identity identification number of the instant communication user and a corresponding instant communication number thereof;
所述端口确认模块, 用于根据解析得到的即时通信用户的身份标识号码, 向所述存储单元查询所述即时通信用户的即时通信号码, 并送入信号转接模 块。 The port confirmation module is configured to query the storage unit for the instant communication number of the instant communication user according to the identified identity number of the instant communication user, and send the instant communication number to the signal transfer module.
7、 根据权利要求 4、 5或者 6所述的中转服务器, 其特征在于, 所述中转服 务器是互动式语音应答服务器。 7. The relay server according to claim 4, 5 or 6, wherein the relay server is an interactive voice response server.
8、 一种电话客户端与即时通信客户端建立通信的方法, 其特征在于, 所 述方法包括以下步骤: A method for establishing a communication between a telephone client and an instant messaging client, characterized in that the method comprises the following steps:
A.接收电话客户端发送的呼叫信号; A. receiving a call signal sent by the telephone client;
B.根据所述呼叫信号中的即时通信客户端标识,确认需要与所述电话客户 端建立通信连接的即时通信客户端,生成连接请求消息发送至所述即时通信客
户端, 使所述电话客户端与所述即时通信客户端之间建立通信连接。B. confirming, according to the instant messaging client identifier in the call signal, an instant messaging client that needs to establish a communication connection with the telephone client, and generating a connection request message to send to the instant communication client The client establishes a communication connection between the telephone client and the instant messaging client.
9、根据权利要求 8所述的方法, 其特征在于, 所述根据呼叫信号中的即时 通信客户端标识, 确认需要与电话客户端建立通信连接的即时通信客户端包 括: The method according to claim 8, wherein the instant messaging client that needs to establish a communication connection with the telephone client according to the instant messaging client identifier in the call signal comprises:
B1.中转服务器解析所述电话客户端发送的呼叫信号, 得到即时通信用户 的身份标识号码; B1. The transit server parses the call signal sent by the telephone client to obtain an identity number of the instant communication user;
B2 艮据所述即时通信用户的身份标识号码, 查询对应的即时通信号码, 以确认需要与电话客户端建立通信连接的即时通信客户端。 B2 Query the corresponding instant messaging number according to the identity number of the instant messaging user to confirm the instant messaging client that needs to establish a communication connection with the telephone client.
10、 根据权利要求 9所述的方法, 其特征在于, 所述步骤 A之前进一步包 括,在中转服务器中存储即时通信用户的通信相关信息; 所述通信相关信息包 括即时通信用户的身份标识号码及其对应的即时通信号码; The method according to claim 9, wherein the step A further comprises: storing communication related information of the instant communication user in the relay server; the communication related information includes an identity identification number of the instant communication user and Its corresponding instant messaging number;
所述中转服务器根据所述即时通信用户的身份标识号码,查询对应的即时 通信号码具体为: The transit server queries the corresponding instant messaging number according to the identity identification number of the instant messaging user, which is specifically:
所述中转服务器根据所述即时通信用户的身份标识号码,获取预存的与所 述即时通信用户的身份标识号码对应的即时通信号码。 The transit server acquires a pre-stored instant communication number corresponding to the identity identification number of the instant messaging user according to the identity identification number of the instant messaging user.
11、 根据权利要求 8至 10中任一权利要求所述的方法, 其特征在于, 步骤 B之后进一步包括: The method according to any one of claims 8 to 10, wherein after step B, the method further comprises:
所述即时通信客户端通过中转服务器接收来自多个电话客户端发送的语 音信号; 将接收的语音信号和本地的语音信号进行混音处理,将混音处理得到 的语音信号通过所述中转服务器发送给所述多个电话客户端。 The instant messaging client receives the voice signal sent by the plurality of telephone clients through the relay server; mixes the received voice signal with the local voice signal, and sends the voice signal obtained by the mixing process through the relay server. Give the plurality of phone clients.
12、 根据权利要求 8至 10中任一权利要求所述的方法, 其特征在于, 步骤 B之后进一步包括: The method according to any one of claims 8 to 10, wherein after step B, the method further comprises:
即时通信客户端通过中转服务器接收来自电话客户端的语音信号;并接收 其他即时通信客户端发送的语音信号; 将接收的电话客户端的语音信号、其他 即时通信客户端的语音信号和本地的语音信号进行混音处理,将混音处理得到 的语音信号通过中转服务器发送给所述电话客户端,并将混音处理得到的语音 信号发送给所述其他即时通信客户端。 The instant messaging client receives the voice signal from the telephone client through the relay server; and receives the voice signal sent by the other instant messaging client; mixes the voice signal of the received telephone client, the voice signal of other instant messaging client, and the local voice signal To process, the voice signal obtained by the mixing process is sent to the telephone client through the relay server, and the voice signal obtained by the mixing process is sent to the other instant messaging client.
13、 根据权利要求 8所述的方法, 其特征在于, 所述步骤 A中的呼叫信号 包括: 中转服务器的电话号码和即时通信用户的身份标识号码。
The method according to claim 8, wherein the call signal in the step A comprises: a phone number of the relay server and an identity number of the instant communication user.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710077175.2A CN101159702B (en) | 2007-09-17 | 2007-09-17 | Method, system and equipment for telephone subscriber to performing voice communication with PC user |
CN200710077175.2 | 2007-09-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2009036700A1 true WO2009036700A1 (en) | 2009-03-26 |
Family
ID=39307627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2008/072379 WO2009036700A1 (en) | 2007-09-17 | 2008-09-17 | Method, system and apparatus for establishing the communication between a telephone terminal and an instant messaging client |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101159702B (en) |
WO (1) | WO2009036700A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932564A (en) * | 2012-09-24 | 2013-02-13 | 西南交通大学 | Communication proxy device fused with VoIP/IM (Voice over Internet Protocol)/(Instant Messenger) and mobile communication technology and use method thereof |
CN108170545A (en) * | 2018-01-08 | 2018-06-15 | 北京奇艺世纪科技有限公司 | A kind of method for message transmission and device based on message-oriented middleware |
US10557851B2 (en) | 2012-03-27 | 2020-02-11 | Ventana Medical Systems, Inc. | Signaling conjugates and methods of use |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101159702B (en) * | 2007-09-17 | 2010-07-21 | 腾讯科技(深圳)有限公司 | Method, system and equipment for telephone subscriber to performing voice communication with PC user |
CN101262529A (en) * | 2008-04-16 | 2008-09-10 | 腾讯科技(深圳)有限公司 | Voice communication method and system between mobile terminal and computer |
CN103384295A (en) * | 2012-05-04 | 2013-11-06 | 上海鱼游网络科技有限公司 | Method and system for calling instant-chat friends |
CN109413055A (en) * | 2018-10-12 | 2019-03-01 | 骆锦泉 | A kind of real name/anonymity one key switching communication customer end |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6198738B1 (en) * | 1997-04-16 | 2001-03-06 | Lucent Technologies Inc. | Communications between the public switched telephone network and packetized data networks |
US6351464B1 (en) * | 1999-09-20 | 2002-02-26 | Mci Worldcom, Inc. | Virtual second line hybrid network communication system |
CN1427610A (en) * | 2001-12-13 | 2003-07-02 | Lg电子株式会社 | VoDSL integrated connecting apparatus and control method thereof |
CN1859144A (en) * | 2005-04-30 | 2006-11-08 | 腾讯科技(深圳)有限公司 | Method for realizing group chatting |
CN101159702A (en) * | 2007-09-17 | 2008-04-09 | 腾讯科技(深圳)有限公司 | Method, system and equipment for telephone subscriber to performing voice communication with PC user |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100499722C (en) * | 2004-09-28 | 2009-06-10 | 钟志军 | Device and method for realizing transmitting information to computer network real-time communication terminal by telephone |
-
2007
- 2007-09-17 CN CN200710077175.2A patent/CN101159702B/en active Active
-
2008
- 2008-09-17 WO PCT/CN2008/072379 patent/WO2009036700A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6198738B1 (en) * | 1997-04-16 | 2001-03-06 | Lucent Technologies Inc. | Communications between the public switched telephone network and packetized data networks |
US6351464B1 (en) * | 1999-09-20 | 2002-02-26 | Mci Worldcom, Inc. | Virtual second line hybrid network communication system |
CN1427610A (en) * | 2001-12-13 | 2003-07-02 | Lg电子株式会社 | VoDSL integrated connecting apparatus and control method thereof |
CN1859144A (en) * | 2005-04-30 | 2006-11-08 | 腾讯科技(深圳)有限公司 | Method for realizing group chatting |
CN101159702A (en) * | 2007-09-17 | 2008-04-09 | 腾讯科技(深圳)有限公司 | Method, system and equipment for telephone subscriber to performing voice communication with PC user |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10557851B2 (en) | 2012-03-27 | 2020-02-11 | Ventana Medical Systems, Inc. | Signaling conjugates and methods of use |
US11906523B2 (en) | 2012-03-27 | 2024-02-20 | Ventana Medical Systems, Inc. | Signaling conjugates and methods of use |
CN102932564A (en) * | 2012-09-24 | 2013-02-13 | 西南交通大学 | Communication proxy device fused with VoIP/IM (Voice over Internet Protocol)/(Instant Messenger) and mobile communication technology and use method thereof |
CN102932564B (en) * | 2012-09-24 | 2015-03-04 | 西南交通大学 | Communication proxy device fused with VoIP/IM (Voice over Internet Protocol)/(Instant Messenger) and mobile communication technology and use method thereof |
CN108170545A (en) * | 2018-01-08 | 2018-06-15 | 北京奇艺世纪科技有限公司 | A kind of method for message transmission and device based on message-oriented middleware |
Also Published As
Publication number | Publication date |
---|---|
CN101159702A (en) | 2008-04-09 |
CN101159702B (en) | 2010-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8447019B2 (en) | Method and system for providing call screening in a packet-switched network | |
TWI401927B (en) | Method for associating a telephone call with a conversation according to a computer protocol (such as SIP) and computer readable medium | |
US7634074B2 (en) | Method and apparatus for making sidebar calls | |
US7283154B2 (en) | Systems and methods for videoconference and/or data collaboration initiation | |
CA2559912C (en) | Mode shifting communications system and method | |
CN101360091B (en) | Apparatus, system and method realizing session initial protocol terminal conference accessing | |
CN103475499A (en) | Voice intercom method and system based on internet teleconference | |
WO2009115048A1 (en) | Method, system and equipment for shifting call based on a mobile terminal with the same number and a soft terminal | |
WO2009036700A1 (en) | Method, system and apparatus for establishing the communication between a telephone terminal and an instant messaging client | |
US20020032730A1 (en) | System and method for correlating data sessions | |
US20080063169A1 (en) | Auto answer in voice over internet protocol | |
WO2009052750A1 (en) | Method, device and system for initiating two party call | |
CN102111415A (en) | Interactive network voice response system with embedded VoIP and implementation method thereof | |
JP5325871B2 (en) | Communication system and server | |
US20070083661A1 (en) | Session control method and terminal for PoC | |
CN102387261B (en) | Method and system for automatic transfer of status information | |
US20080137647A1 (en) | VoIP terminal and method for providing multi-call service | |
US20080305751A1 (en) | Poc Communication System, Method for the Transmitting Poc Signalling and/or Poc Data, and a Server Device Therefor | |
JP4644813B2 (en) | Multi-party call system, call terminal and call server in multi-party call system, multi-party call method | |
US20070202909A1 (en) | Method for push-to-talk over mobile communication devices | |
KR101009953B1 (en) | Immediate group communication system and device for immediate group communication between data communication network and telephone network | |
KR100493100B1 (en) | Method and apparatus for supporting voice over ip in a mobile communication system | |
KR100666945B1 (en) | Method of exchanging media information between terminals using SIP protocol | |
JP5248891B2 (en) | CONFERENCE CONFERENCE METHOD, ITS SYSTEM, ITS DEVICE, AND ITS PROGRAM USING SIP KEY TELEPHONE DEVICE | |
JP2006180372A (en) | IP telephone call system and call control server for communication terminals not always connected to IP network |
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: 08800875 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: 08800875 Country of ref document: EP Kind code of ref document: A1 |