CN100376101C - Instant speech communication method and system thereof - Google Patents

Instant speech communication method and system thereof Download PDF

Info

Publication number
CN100376101C
CN100376101C CNB2004100280297A CN200410028029A CN100376101C CN 100376101 C CN100376101 C CN 100376101C CN B2004100280297 A CNB2004100280297 A CN B2004100280297A CN 200410028029 A CN200410028029 A CN 200410028029A CN 100376101 C CN100376101 C CN 100376101C
Authority
CN
China
Prior art keywords
answering
communication
calling party
real
instant communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2004100280297A
Other languages
Chinese (zh)
Other versions
CN1719810A (en
Inventor
朱冶
杜修杏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB2004100280297A priority Critical patent/CN100376101C/en
Publication of CN1719810A publication Critical patent/CN1719810A/en
Application granted granted Critical
Publication of CN100376101C publication Critical patent/CN100376101C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to an instant voice communication method. Through an instant communication server, the communication connections is established between at least two instant communication clients while one is used as a calling party and the other is used as a receiving party. The calling party sends a request for sending voice data to the receiving party which judges if a voice data channel is idle; if the voice data channel is idle, an idle message is returned, and the calling party is permitted to send the voice data, or else a reject message is returned. Instant voice communication between the instant communication clients and a mobile communication terminal can be realized through the instant communication server and a mobile communication server.

Description

A kind of real-time phonetic means of communication and system thereof
Technical field
The present invention relates to the instant messaging field, relate in particular to the method for voice call in a kind of instant communicating system.
Background technology
Network instant communication service IM, promptly Instant Messenger is a kind of communication service based on the Internet, generally is based on instant communication function on the realization network, instant messaging service IM has obtained using widely and approving on the internet.Internet instant communication service IM also gradually to direction that network virtual community combines on extend, embodied the developing direction of network instant communication service IM, instant messaging service IM is fast with its speed, feature richness, use are stable, small and exquisite keen-witted and capable and obtain numerous netizens' approval and like.Can receive and send messages, transmit file, voice/video phone between the instant communication user, send the multiple operation of SMS, but when network instant communication is served IM for the speech communication between the instant communication user, because network delay generation voice conflict meeting is apparent in view, also can't realize the function that voice call can't the voice playback record after finishing.Development along with the IM service has realized the function of sending and receiving message between instant communication user and the mobile phone users, but the function of carrying out voice call between instant communication user and the mobile phone users is also failed effectively to be solved.
Summary of the invention
The invention provides the method and system that carries out voice call between a kind of instant communication client.
Carry out the real-time phonetic dialogue in order to solve the instant communication user that connects by network, the problem that more or less all can have the delay phenomenon of sound, the problem that can't converse with instant communication user and mobile phone users, the invention provides a kind of method and system thereof of real-time phonetic communication, be to realize as the instant communication client of the calling party and the side of answering respectively, it is characterized in that by instant communication server and at least two:
A) described calling party is set up communication with the side of answering and is connected;
B) the call direction side of answering sends the request that sends speech data;
C) side of answering judges that whether the speech data passage is idle, if idle, then return idle message, otherwise returns refuse information;
D) after calling party receives the idle message of returning the side of answering, then begin to send speech data, the side of answering receives speech data.
Described step a) comprises: the described call direction side of answering sends the connection request of speech communication; The side of answering returns the information that agreement connects automatically; Between the calling party and the side of answering, set up the speech data passage.
Comprise also that between described step a) calling party at first sets up point-to-point the connection by instant communication server with the side of answering.
If the side of answering sending speech data, does not then return idle message in the described step c); If the side of answering is sending speech data this moment, then return refuse information.
Also comprise step: calling party stops to send speech data, and calling party becomes audio stream storage with language data process, and the device icon that displays the play in the mutual dialog box of instant communication client.
Calling party stops to send speech data, and the side of answering also becomes language data process audio stream storage simultaneously, and the device icon that displays the play in the mutual dialog box of instant communication client.
Described player icon has the address information of storing audio stream.
Client realizes the audio playback function by reading the audio stream address information.
Described instant communication client as the calling party and the side of answering has at least one to be the Mobile IM terminal.
Calling party sends to the side of answering with speech data and the corresponding identifier in the side of answering by instant communication server and mobile communication server.
Described instant communication client also comprises and is used for the distribution module that judge module that whether the judgment data passage take and distribute data passage are given client.
Described instant communication client also comprises gives tacit consent to the logic module of setting up data channel.
Described instant communication client also comprises the module that is used for storaged voice file address information.
Described real-time phonetic communication system also comprises mobile communication server and Mobile IM terminal.
Beneficial effect of the present invention is: this real-time phonetic mechanics of communication, adopt single worker's formula speech communication mode, and guarantee that arbitrary moment has only one can send speech data, even the speech data conflict can not appear sending and receiving in network delay yet.And instant communication client can obtain the time started and the concluding time of instant messaging, and will preserve after the instant messaging contents processing each time, realizes the speech data playback thereby read voice data file by memory address.Simultaneously can effectively control the size of voice data file, thereby realize historical voice record playback.The present invention has also solved a kind of instant communication client and the Mobile IM terminal can only be mutual by short message way, has realized the speech communication of instant communication client and Mobile IM terminal.
Description of drawings
Figure 1 shows that the flow chart that carries out speech communication between instant communication client of the present invention;
Figure 2 shows that the process schematic diagram that carries out speech communication between instant communication client of the present invention;
Figure 3 shows that the overall architecture schematic diagram of a kind of real-time phonetic communication system of the present invention.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below.
The present invention proposes a kind of real-time phonetic means of communication, sees also Fig. 1 and Fig. 2, and the method for the invention may further comprise the steps:
Step 110 set up point-to-point the connection as the instant communication client of the calling party and the side of answering by instant communication server, and the call direction side of answering is sent the connection request of speech communication.
Step 120, the side's of answering acquiescence is answered, and returns the information that agreement connects automatically, sets up the speech data passage between the calling party and the side of answering.
Step 130, the side's of answering initialization audio frequency apparatus are prepared to receive speech data, and after calling party received that the side of answering has received the feedback of application, the initialization audio frequency apparatus was ready for sending speech data, and calling party is sent the request that sends speech data.
Step 140, the side's of answering judge module judges whether the speech data passage is occupied, if this moment, the side of answering self transmitted speech data, think that then the speech data passage is occupied, then execution in step 150, if this moment, the side of answering self did not transmit the language data, then think idle condition at this moment, the speech data passage does not have occupied, and then execution in step 160.
Step 150, the refusal calling party sends the request of speech data
Step 160, the module assigns data channel of the side of answering is given calling party.
Step 170, calling party gather speech data and synchronized transmission is given the side of answering, and automatic reception speech data in the side's of answering also converts audio frequency output to synchronously.
Step 180, calling party stops the speech data collection and stops to send speech data simultaneously, calling party becomes audio stream with the language data process that sends simultaneously with the side of answering, the memory module storaged voice file address of the calling party and the side of answering, and in the mutual dialog box of instant communication client, show the player icon that has storing audio stream address, when the user clicked the player icon, this client realized the audio playback function by reading the audio stream address information.
After calling party finished speech communication, the calling party and the side of answering discharged audio frequency apparatus simultaneously.
The calling party and the side of answering have at least a side can also be the Mobile IM terminal, when a side is arranged in the calling party or the side of answering for portable terminal, its voice transfer flow process is consistent with above-mentioned flow process, different is, owing to be not the point-to-point connection between the instant communication user, so its speech communication must be by instant communication server and mobile telecommunication service device, so in realizing the speech communication process, calling party sends to the Mobile IM terminal with speech data and the corresponding identifier in the side of answering by instant communication server and mobile communication server.
The present invention also proposes a kind of real-time phonetic communication system, referring to Fig. 3, this system comprises instant communication server 20, realizes the instant communication client 10 of mutual communication, the mobile communication server 30 that is connected with this instant communication server 20 and the Mobile IM terminal 40 that realizes communication by wireless network and mobile communication server 30 by this instant communication server 20.
Wherein instant communication client 10 also comprise be used for the judgment data passage whether just occupied judge module 11, be used for the distribute data passage and give and send distribution module 12 that sends the speech data requesting party and the memory module 13 that is used for the voice data file address.
If respectively as calling party and the side of answering be two instant communication clients, carry out following steps: when calling party sent speech data, the side of answering started judge module 11, and whether the judgment data passage occupied, and return results is to the distribution module 12 of the side of answering; The side's of answering distribution module 12 is received the feedback result of judge module 11, if receive idle information, then the distribute data passage is given calling party, if receive the occupied information of data channel, then refuses the distribute data passage and gives calling party; Calling party finish to send speech data to behind the side of answering, and the memory module 13 of the calling party and the side of answering is stored in the voice data file address on the hard disk simultaneously, calling party with answer square tube and cross the voice data file address of reading storage and come the playback voice record.
If it is the Mobile IM terminal that the calling party and the side of answering have a side at least, also need to finish by following steps: calling party transmission speech data and the corresponding identifier in the side of answering are to instant communication server; Instant communication server sends to mobile communication server with speech data and the corresponding sign in the side of answering that receives; Mobile communication server sends to the corresponding side of answering according to the identifier that receives with the speech data that receives.
The foregoing description that should be understood that invention is described too concrete, can not be therefore and as the restriction of the scope of the present invention, scope of patent protection of the present invention should be as the criterion with claims.

Claims (13)

1. real-time phonetic means of communication are to realize as the instant communication client of the calling party and the side of answering respectively by instant communication server and at least two, it is characterized in that:
A) described calling party is set up communication with the side of answering and is connected;
B) the call direction side of answering sends the request that sends speech data;
C) side of answering judges that whether the speech data passage is idle, if idle, then return idle message, otherwise returns refuse information;
D) after calling party receives the idle message of returning the side of answering, then begin to send speech data, the side of answering receives speech data.
2. the real-time phonetic means of communication according to claim 1 is characterized in that: described step a) comprises: the described call direction side of answering sends the connection request of speech communication; The side of answering returns the information that agreement connects automatically; Between the calling party and the side of answering, set up the speech data passage.
3. the real-time phonetic means of communication according to claim 2 is characterized in that: comprise also that between described step a) calling party at first sets up point-to-point the connection by instant communication server with the side of answering.
4. the real-time phonetic means of communication according to claim 1 is characterized in that: if the side of answering then returns idle message not sending speech data in the described step c); If the side of answering is sending speech data this moment, then return refuse information.
5. the real-time phonetic means of communication according to claim 1, it is characterized in that: also comprise step: calling party stops to send speech data, calling party and the side of answering become language data process the audio stream storage simultaneously, and the device icon that displays the play in the mutual dialog box of instant communication client.
6. according to the described real-time phonetic means of communication of claim 5, it is characterized in that: described player icon has the address information of storing audio stream.
7. according to the described real-time phonetic means of communication of claim 6, it is characterized in that: client realizes the audio playback function by reading the audio stream address information.
8. according to the described real-time phonetic means of communication of claim 1, it is characterized in that: described instant communication client as the calling party and the side of answering has at least one to be the Mobile IM terminal.
9. the described according to Claim 8 real-time phonetic means of communication is characterized in that: calling party sends to the side of answering with speech data and the corresponding identifier in the side of answering by instant communication server and mobile communication server.
10. real-time phonetic communication system, comprise instant communication server and instant communication client, it is characterized in that: described instant communication client also comprises and is used for the distribution module that judge module that whether the judgment data passage take and distribute data passage are given client.
11. according to the described real-time phonetic communication system of claim 10, it is characterized in that: described instant communication client also comprises gives tacit consent to the logic module of setting up data channel.
12. according to the described real-time phonetic communication system of claim 10, it is characterized in that: described instant communication client also comprises the module that is used for storaged voice file address information.
13. according to the described real-time phonetic communication system of claim 10, it is characterized in that: also comprise mobile communication server and Mobile IM terminal.
CNB2004100280297A 2004-07-08 2004-07-08 Instant speech communication method and system thereof Active CN100376101C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100280297A CN100376101C (en) 2004-07-08 2004-07-08 Instant speech communication method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100280297A CN100376101C (en) 2004-07-08 2004-07-08 Instant speech communication method and system thereof

Publications (2)

Publication Number Publication Date
CN1719810A CN1719810A (en) 2006-01-11
CN100376101C true CN100376101C (en) 2008-03-19

Family

ID=35931535

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100280297A Active CN100376101C (en) 2004-07-08 2004-07-08 Instant speech communication method and system thereof

Country Status (1)

Country Link
CN (1) CN100376101C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300183A (en) * 2011-06-03 2011-12-28 中兴通讯股份有限公司 Method and device for protecting data service
CN103002245B (en) * 2011-09-15 2017-03-22 腾讯科技(深圳)有限公司 Audio and video communication method and audio and video communication system
CN103312907B (en) * 2013-05-15 2016-04-13 腾讯科技(深圳)有限公司 Voice channel allocation management method, voice server and communication system
US9313237B2 (en) 2013-05-15 2016-04-12 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and communication system for allocating and managing voice channels
CN105956142B (en) * 2016-05-11 2019-10-08 珠海市魅族科技有限公司 Multimedia file broadcasting control method and multimedia file broadcasting control system
CN107689912B (en) * 2017-09-15 2020-05-12 珠海格力电器股份有限公司 Voice message sending, playing and transmitting method and device, terminal and server
CN115346350A (en) * 2021-04-27 2022-11-15 广东小天才科技有限公司 Instant messaging method, device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1379577A (en) * 2001-04-05 2002-11-13 诺基亚有限公司 Short speech sound message service method, device and system
CN1448019A (en) * 2000-03-17 2003-10-08 美国在线服务公司 On time speech information
CN1498028A (en) * 2002-10-01 2004-05-19 ض� Method of instant voice message transmitting and device for realizing the method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1448019A (en) * 2000-03-17 2003-10-08 美国在线服务公司 On time speech information
CN1379577A (en) * 2001-04-05 2002-11-13 诺基亚有限公司 Short speech sound message service method, device and system
CN1498028A (en) * 2002-10-01 2004-05-19 ض� Method of instant voice message transmitting and device for realizing the method

Also Published As

Publication number Publication date
CN1719810A (en) 2006-01-11

Similar Documents

Publication Publication Date Title
CN101064890B (en) Mobile terminal and method for transmitting voice message
US9906603B2 (en) System and method for transferring a session between multiple clients
CN100479416C (en) Audio/video document play-back method and system
CN102804700B (en) Method and system for preserving telephony session state
CN101159890B (en) Method of performing free group calling and intercommunication between multiple mobile phones in mobile communication network
US7756539B2 (en) Push-to-talk event notification
CN100359855C (en) Method for remotely controlling at least one unmanned machine employing session initiation protocol (SIP)
CN102281213A (en) Instant messaging method and system for supporting voice and video message
US8140100B2 (en) Method, system and apparatus for implementing push to talk over cellular session storing and broadcasting
CN101453285B (en) System and method for viewing program together
KR100724872B1 (en) Method for processing the information of conversation in wireless terminal
CN101227490B (en) Network storage method and system
CN101677329A (en) Comprehensive voice resource platform proxy server and its data processing method
CN100376101C (en) Instant speech communication method and system thereof
CN101110786B (en) Unified information system based on soft switching network
CN103414836A (en) Processing method and appliance for getting access to teleconference based on IP
CN101394365A (en) Message correlation method, user terminal and server
CN100438544C (en) A method and system for instant calling using instant messaging
KR100723707B1 (en) Method and System for Providing Image Call Service for Mobile Telecommunication Terminal
CN100450136C (en) A method and system for instant calling of instant messaging subscriber
CN101610383B (en) Method for realizing emergency wireless video conference, device thereof and call terminal thereof
KR100692385B1 (en) System and Method for Providing Music Broadcasting Service by Using Wireless Internet Messenger
KR100612692B1 (en) System and Method for Transferring Voice Message
KR20050091247A (en) Apparatus and method for transmitting/receiving voice message in mobile terminal, service system and service method for transmitting voice message using mobile terminal having voice message transmit/receive apparatus
WO2005109661A1 (en) Mobile communication terminal for transferring and receiving of voice message and method for transferring and receiving of voice message using the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant