CN101291301A - Method and customer terminal for establishing data channel in instant communicating system - Google Patents

Method and customer terminal for establishing data channel in instant communicating system Download PDF

Info

Publication number
CN101291301A
CN101291301A CNA2008101108569A CN200810110856A CN101291301A CN 101291301 A CN101291301 A CN 101291301A CN A2008101108569 A CNA2008101108569 A CN A2008101108569A CN 200810110856 A CN200810110856 A CN 200810110856A CN 101291301 A CN101291301 A CN 101291301A
Authority
CN
China
Prior art keywords
called party
client end
party client
data channel
call
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.)
Pending
Application number
CNA2008101108569A
Other languages
Chinese (zh)
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 CNA2008101108569A priority Critical patent/CN101291301A/en
Publication of CN101291301A publication Critical patent/CN101291301A/en
Priority to PCT/CN2009/071658 priority patent/WO2009149632A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Abstract

The invention discloses a method and a client for establishing a data channel in an instant communication system. The method comprises the following steps that: a calling client initiates a call between the calling client and a called client; if the calling client knows that the called client is online through an instant communication server, the data channel between the calling client and the called client is established through direct connection means and the calling client transmits a request whether to receive the call to the called client; if the calling client knows that the called client is hidden through the instant communication server, the data channel between the calling client and the called client is established through a third party and the calling client transmits the request whether to receive the call to the called client. The proposal of the method avoids leakage of internet protocol addresses of the called client and simultaneously improves the quality of data transmission.

Description

Set up the method and the client of data channel in the instant communicating system
Technical field
The present invention relates to the instant messaging technology, relate in particular to method and the client of setting up data channel in the instant communicating system.
Background technology
At present, immediate communication tool is very universal, not only can satisfy the interchange of common language between the user, picture, can also satisfy the interchange of voice between the user, image, to carry out Internet chat be the developing direction of immediate communication tool from now on as making visual telephone to make the user.
Immediate communication tool is different from existing telephonic communication instrument, one of them difference is to pass through immediate communication tool, the user can directly know the other side " online " or " off-line ", if the current line states that is in of the other side, and be set to " online " state, then Ben Di buddy list just shows that this good friend has logined immediate communication tool; If the current line states that is in of the other side but wants to protect the online behavior of oneself, just be set to " stealthy " state, then Ben Di buddy list just shows not login of this good friend, just " off-line "; And if the current off-line state that is in of the other side, then Ben Di buddy list shows that also this good friend is " off-line ".
In calling procedure, after the calling between initiation of calls customer end and the called party client end, for the current called party client end that is in stealthy state and presence, the calls customer end need set up and this called party client end between data channel after just can carry out transfer of data, the method of setting up data channel comprises direct-connected mode and third party's transfer mode, describes respectively below.Calls customer end and called party client end are by the position of Internet protocol (IP, Internet Protocol) address sign oneself, if both sides by the direct-connected data channel of having set up, tell the positional information of oneself to the other side with regard to being equivalent to.When adopting third party's transfer mode to set up data channel; the calls customer end carries out transfer of data by third party and called party client end; the calls customer end can only obtain the IP address; when having avoided adopting direct-connected mode the IP address of called party client end is told to the calls customer end; thereby; protect the privacy of called party client end, but adopted third party's transfer mode to carry out the of poor quality of the direct-connected mode of data transmission ratio.
In the practice, the calls customer end is after the called party client end makes a call, send the whether request of receipt of call to the called party client end, the called party client end shows the interface of " whether receipt of call " to the user, if user's receipt of call request, then the called party client end returns receipt of call request response to the calls customer end, the calls customer end begin by direct-connected mode set up and the called party client end between data channel, after the pending data passage is set up successfully, carry out transfer of data by this data channel and called party client end again; If the user refuses call request, then the called party client end does not respond the calling of calls customer end.Adopt said method to set up data channel and have following shortcoming: the calls customer termination that is based upon of data channel is carried out after receiving the receipt of call request response that the called party client end returns, the called party client end need wait for a period of time after the receipt of call request and set up data channel, after setting up data channel, could begin transfer of data, cause poor user experience.
Summary of the invention
The invention provides the method for setting up data channel in a kind of instant communicating system, this method can improve the quality of carrying out transfer of data under the called party client end presence in protection called party client end privacy.
The invention provides a kind of client, this client can improve the quality of carrying out transfer of data under the called party client end presence in protection called party client end privacy.
Set up the method for data channel in a kind of instant communicating system, this method comprises:
Calling between initiation of calls customer end and the called party client end;
If the calls customer end knows that by instant communication server the called party client end is online, then set up by direct-connected mode and the called party client end between data channel, send the whether request of receipt of call to the called party client end;
If the calls customer end knows that by instant communication server the called party client end is stealthy, then set up by the third party and the called party client end between data channel, send the whether request of receipt of call to the called party client end.
A kind of client, this client comprise that called party client end state acquisition module, passage are set up module one and passage is set up module two;
Described called party client end state acquisition module is used for if know that by instant communication server the called party client end is online, then call information being sent to passage and setting up module one after the calling between local client initiation and the called party client end; If know that by instant communication server the called party client end is stealthy, then call information is sent to passage and set up module two;
Described passage is set up module one, is used for the call information that transmits according to called party client end state acquisition module, sets up data channel between local client and the called party client end by direct-connected mode, sends the whether request of receipt of call to called party client end end;
Described passage is set up module two, is used for the call information that transmits according to called party client end state acquisition module, sets up data channel between local client and the called party client end by the third party, sends the whether request of receipt of call to the called party client end.
From such scheme as can be seen, calls customer end of the present invention is before the request that sends receipt of call whether to the called party client end, set up the data channel between calls customer end and the called party client end earlier, when setting up data channel, if the calls customer end knows that by instant communication server the called party client end is online, then set up by direct-connected mode and the called party client end between data channel; If the calls customer end knows that by instant communication server the called party client end is stealthy, then by the data channel between third party's foundation and the called party client end.Like this, prevented that the IP address of called party client end under the stealthy state from being revealed, protected the privacy of called party client end; Simultaneously, the situation that is in line states for the called party client end adopts direct-connected mode to set up data channel, has improved the quality of transfer of data.
Description of drawings
Fig. 1 is for setting up the method exemplary process diagram of data channel in the instant communicating system of the present invention;
Fig. 2 is for setting up the method flow diagram example of data channel in the instant communicating system of the present invention;
Fig. 3 is a client terminal structure schematic diagram provided by the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
Among the present invention, the calls customer end is before the request that sends receipt of call whether to the called party client end, set up the data channel between calls customer end and the called party client end earlier, when setting up data channel, know the current state of called party client end from instant communication server, if the called party client end is in stealthy state, then set up by the third party and the called party client end between data channel, if the called party client end is in line states, then set up by direct-connected mode and the called party client end between data channel.Thereby, prevented that the IP address of called party client end under the stealthy state from being revealed, simultaneously, improved the quality of carrying out transfer of data when the called party client end is in line states.
Referring to Fig. 1, for setting up the method exemplary process diagram of data channel in the instant communicating system of the present invention, this method may further comprise the steps:
Step 101, the calling between initiation of calls customer end and the called party client end.
Step 102, if the calls customer end knows that by instant communication server the called party client end is online, then set up by direct-connected mode and the called party client end between data channel, send the whether request of receipt of call by the data channel set up to the called party client end.
Because the called party client end is online; do not need the IP address of called party client end is protected; and; compare with the mode of setting up data channel by the third party; adopt direct-connected mode can improve data transmission quality; therefore, when the called party client end is in line states, adopt direct-connected mode to set up data channel.
The instant communication server internal memory contains the current state information of each client, comprises stealthy state, presence and off-line state, and the calls customer end can obtain the current state information of called party client end from instant communication server.
Step 103, if the calls customer end knows that by instant communication server the called party client end is stealthy, then set up by the third party and the called party client end between data channel, send the whether request of receipt of call to the called party client end.
After the called party client end sends the request of receipt of call whether, if the calls customer end receives the receipt of call request response that the called party client end returns by the third party in the section at the fixed time, then adopt direct-connected mode set up and the called party client end between data channel, then, the calls customer end switches to the data channel of setting up by direct-connected mode from the data channel of setting up by the third party, sends data by direct-connected data channel to the called party client end; If the calls customer end does not receive the receipt of call request response that the called party client end returns in the section at the fixed time, then to user prompt called party client end online information not.Described predetermined amount of time can be set as required, and the request that sends receipt of call whether for the calls customer end to the called party client end is to the time that receives between the receipt of call request response that the called party client end returns.
Described third party can be the specific server that is used to carry out data relay, also can be to choose the client that is used to carry out data relay at random in other the client that is in line states.
Step 102,103 can unorderedly be carried out.
Be in the situation of off-line state for the called party client end, after the calls customer end is known called party client end off-line by instant communication server, to user prompt called party client end online information not.
Referring to Fig. 2, for setting up the method flow diagram example of data channel in the instant communicating system of the present invention, this method may further comprise the steps:
Step 201, the calling between initiation of calls customer end and the called party client end.
Step 202, the calls customer end obtains the state information of called party client end by instant communication server, if the current off-line state that is in of called party client end, then execution in step 203; If the current line states that is in of called party client end, then execution in step 204; Be in stealthy state if the called party client end is current, then execution in step 205.
Step 203, calls customer end are then to user prompt called party client end online information not.
Step 204, calls customer end set up by direct-connected mode and the called party client end between data channel, send the whether request of receipt of call to the called party client end.
This step also comprises: if the calls customer end receives the receipt of call request response that the called party client end returns in the section at the fixed time, then transmit data by direct-connected data channel to the called party client end; If do not receive the receipt of call request response that the called party client end returns at the fixed time in the section, then to user prompt called party client end online information not.
Step 205, the calls customer end is by the data channel between third party's foundation and the called party client end, send the whether request of receipt of call to the called party client end, if receive the receipt of call request response that the called party client end returns at the fixed time in the section, execution in step 206, if do not receive the receipt of call request response that the called party client end returns at the fixed time in the section, then execution in step 207.
Step 206, adopt direct-connected mode set up and the called party client end between data channel, switch to the data channel of setting up by direct-connected mode from the data channel of setting up by the third party, by carrying out transfer of data between direct-connected data channel and the called party client end.
Be in the situation of stealthy state for the called party client end, set up data channel between calls customer end and the called party client end, avoided that called party client end IP is revealed the address under the stealthy state, protected the privacy of called party client end by the third party.Because than third party's transfer mode; adopt direct-connected mode to carry out transfer of data and have the advantage that improves data transmission quality; and the called party client termination is received the call request that the calls customer end is initiated; show that the called party client end told the calls customer end with the presence of oneself; also just need not again the IP address of called party client end to be protected; therefore after the called party client termination is received the call request of calls customer end initiation; transfer to by direct-connected mode and carry out transfer of data; like this, further improved the quality of transfer of data.
Step 207, the calls customer end is to user prompt called party client end online information not.
Referring to Fig. 3, be client terminal structure schematic diagram provided by the invention, this client comprises that called party client end state acquisition module, passage are set up module one and passage is set up module two;
Described called party client end state acquisition module is used for if know that by instant communication server the called party client end is online, then call information being sent to passage and setting up module one after the calling between local client initiation and the called party client end; If know that by instant communication server the called party client end is stealthy, then call information is sent to passage and set up module two;
Described passage is set up module one, is used for the call information that transmits according to called party client end state acquisition module, sets up data channel between local client and the called party client end by direct-connected mode, sends the whether request of receipt of call to called party client end end;
Described passage is set up module two, is used for the call information that transmits according to called party client end state acquisition module, sets up data channel between local client and the called party client end by the third party, sends the whether request of receipt of call to the called party client end.Called party client end state acquisition module is set up module one and passage to passage and is set up the information that comprises the called party client end in the call information that module two sends, passage sets up module one and passage is set up the information of module two according to the called party client end, sets up the data channel between local client and the called party client end.
Alternatively, described passage is set up module two and is comprised the passage modular converter, after being used for receiving the receipt of call request response that the called party client end returns by the third party, adopt direct-connected mode set up and the called party client end between data channel, switch to the data channel of setting up by direct-connected mode from the data channel of setting up by the third party, by carrying out transfer of data between direct-connected data channel and the called party client end.
Alternatively, described passage is set up module two and is comprised information indicating module one, when being used at the fixed time in the section not receiving the receipt of call request response that the called party client end returns by the third party, to user prompt called party client end online information not.
Alternatively, described called party client end state acquisition module comprises reminding module two, be used for client initiate and the called party client end between calling after, know called party client end off-line by instant communication server, to user prompt called party client end online information not.
Adopt the calls customer end after the called party client end makes a call, to set up data channel earlier among the present invention, after data channel is set up successfully, just send the whether request of receipt of call to the called party client end, after the receipt of call request response that calls customer termination receipts called party client end returns, just can carry out transfer of data immediately, thereby, promoted user experience.And, when setting up data channel, if the calls customer end knows that by instant communication server the called party client end is online, then set up by direct-connected mode and the called party client end between data channel; If the calls customer end knows that by instant communication server the called party client end is stealthy, then by the data channel between third party's foundation and the called party client end.Like this, prevented that the IP of called party client end under the stealthy state from being revealed, protected the privacy of called party client end; Simultaneously, be in the situation of line states, adopt direct-connected mode to set up data channel, improved the quality of transfer of data for the called party client end.And, be in the situation of stealthy state for the called party client end, after the called party client termination is received the receipt of call request response that the calls customer end returns, transfer direct-connected mode to and carry out transfer of data, further improved the quality of transfer of data.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, set up the method for data channel in a kind of instant communicating system, it is characterized in that, this method comprises:
Calling between initiation of calls customer end and the called party client end;
If the calls customer end knows that by instant communication server the called party client end is online, then set up by direct-connected mode and the called party client end between data channel, send the whether request of receipt of call to the called party client end;
If the calls customer end knows that by instant communication server the called party client end is stealthy, then set up by the third party and the called party client end between data channel, send the whether request of receipt of call to the called party client end.
2, the method for claim 1 is characterized in that, described by the third party set up and the called party client end between data channel, after the called party client end sent the request of receipt of call whether, this method comprised:
The calls customer end receives the receipt of call request response that the called party client end returns by the third party, by direct-connected mode set up and the called party client end between data channel;
The calls customer end switches to the data channel of setting up by direct-connected mode from the data channel of setting up by the third party, by carrying out transfer of data between direct-connected data channel and the called party client end.
3, the method for claim 1 is characterized in that, described by the third party set up and the called party client end between data channel, after the called party client end sent the request of receipt of call whether, this method comprised:
The calls customer end does not receive the receipt of call request response that the called party client end returns by the third party in the section at the fixed time, then to user prompt called party client end online information not.
4, the method for claim 1, it is characterized in that, described calls customer end initiate and the called party client end between calling after, this method comprises: if the calls customer end is known called party client end off-line by instant communication server, then to user prompt called party client end online information not.
5, a kind of client is characterized in that, this client comprises that called party client end state acquisition module, passage are set up module one and passage is set up module two;
Described called party client end state acquisition module is used for if know that by instant communication server the called party client end is online, then call information being sent to passage and setting up module one after the calling between local client initiation and the called party client end; If know that by instant communication server the called party client end is stealthy, then call information is sent to passage and set up module two;
Described passage is set up module one, is used for the call information that transmits according to called party client end state acquisition module, sets up data channel between local client and the called party client end by direct-connected mode, sends the whether request of receipt of call to called party client end end;
Described passage is set up module two, is used for the call information that transmits according to called party client end state acquisition module, sets up data channel between local client and the called party client end by the third party, sends the whether request of receipt of call to the called party client end.
6, client as claimed in claim 5, it is characterized in that, described passage is set up module two and is comprised the passage modular converter, after being used for receiving the receipt of call request response that the called party client end returns by the third party, adopt direct-connected mode set up and the called party client end between data channel, switch to the data channel of setting up by direct-connected mode from the data channel of setting up by the third party, by carrying out transfer of data between direct-connected data channel and the called party client end.
7, as claim 5 or 6 described clients, it is characterized in that, described passage is set up module two and is comprised information indicating module one, when being used at the fixed time in the section not receiving the receipt of call request response that the called party client end returns, to user prompt called party client end online information not by the third party.
8, as claim 5 or 6 described clients, it is characterized in that, described called party client end state acquisition module comprises reminding module two, be used for after the calling between client initiation and the called party client end, know called party client end off-line by instant communication server, to user prompt called party client end online information not.
CNA2008101108569A 2008-06-13 2008-06-13 Method and customer terminal for establishing data channel in instant communicating system Pending CN101291301A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNA2008101108569A CN101291301A (en) 2008-06-13 2008-06-13 Method and customer terminal for establishing data channel in instant communicating system
PCT/CN2009/071658 WO2009149632A1 (en) 2008-06-13 2009-05-06 Method and clients for data channel establishment in an instant messaging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008101108569A CN101291301A (en) 2008-06-13 2008-06-13 Method and customer terminal for establishing data channel in instant communicating system

Publications (1)

Publication Number Publication Date
CN101291301A true CN101291301A (en) 2008-10-22

Family

ID=40035384

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008101108569A Pending CN101291301A (en) 2008-06-13 2008-06-13 Method and customer terminal for establishing data channel in instant communicating system

Country Status (2)

Country Link
CN (1) CN101291301A (en)
WO (1) WO2009149632A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009149632A1 (en) * 2008-06-13 2009-12-17 腾讯科技(深圳)有限公司 Method and clients for data channel establishment in an instant messaging system
CN102271097A (en) * 2011-09-07 2011-12-07 南京云恒瑞通网络科技有限责任公司 Method for integrally sending message containing online instant message and offline short message
CN109104265A (en) * 2018-06-07 2018-12-28 海能达通信股份有限公司 Channel arrangement method, base station and readable storage medium storing program for executing
CN109861900A (en) * 2017-11-30 2019-06-07 腾讯科技(深圳)有限公司 Data processing method, device, computer equipment and the storage medium of real time communication

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564261B1 (en) * 1999-05-10 2003-05-13 Telefonaktiebolaget Lm Ericsson (Publ) Distributed system to intelligently establish sessions between anonymous users over various networks
US7606862B2 (en) * 2004-03-31 2009-10-20 International Business Machines Corporation Method and system for authorizing a restricted callable status in an instant messaging system
CN100452780C (en) * 2005-03-29 2009-01-14 腾讯科技(深圳)有限公司 Method and system for instant communication off-line response
US8676899B2 (en) * 2006-01-26 2014-03-18 International Business Machines Corporation Offline IM chat to avoid server connections
CN101291301A (en) * 2008-06-13 2008-10-22 腾讯科技(深圳)有限公司 Method and customer terminal for establishing data channel in instant communicating system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009149632A1 (en) * 2008-06-13 2009-12-17 腾讯科技(深圳)有限公司 Method and clients for data channel establishment in an instant messaging system
CN102271097A (en) * 2011-09-07 2011-12-07 南京云恒瑞通网络科技有限责任公司 Method for integrally sending message containing online instant message and offline short message
CN109861900A (en) * 2017-11-30 2019-06-07 腾讯科技(深圳)有限公司 Data processing method, device, computer equipment and the storage medium of real time communication
CN109104265A (en) * 2018-06-07 2018-12-28 海能达通信股份有限公司 Channel arrangement method, base station and readable storage medium storing program for executing
CN109104265B (en) * 2018-06-07 2021-12-24 海能达通信股份有限公司 Channel configuration method, base station and readable storage medium

Also Published As

Publication number Publication date
WO2009149632A1 (en) 2009-12-17

Similar Documents

Publication Publication Date Title
KR100640809B1 (en) An instant messenger service system using a mobile telecommunication device and the method thereof
EP2862342B1 (en) Notification of communication events
EP2272184B1 (en) System and method for transferring a session between multiple clients
EP2909970B1 (en) Notification of communication events
EP2847979B1 (en) Multiple versions of call invites
US20130179521A1 (en) Method and device for implementing a group session
AU2005211565A1 (en) Mixed messaging mode for multiple points of presence
CN100446528C (en) Click-to dial service realizing method
CN104620611A (en) Messaging service active device
CN102932364A (en) Register method, register device and register system
EP2862343B1 (en) Notification of communication events
CN101291301A (en) Method and customer terminal for establishing data channel in instant communicating system
KR20130073320A (en) Method for interaction between instant message server and sms server, and system therefor
CN101459879A (en) PTT group call controlling method, system and equipment
JP2007195196A (en) Method of processing radio signal in mobile communication terminal, mobile communication system, and mobile communication terminal
JP2007013616A (en) Presence server, information providing system, and information providing method
EP1662833A1 (en) Improvements in using multiple communication systems
CN102783083A (en) Automated session admission
CN109120578B (en) Method and device for realizing link connection processing
CN101296251A (en) Visual communication server and communication system
EP2640029A1 (en) System and method for transmitting multipage multimedia messages, session initiation protocol terminal and multimedia message proxy server
KR100914598B1 (en) Method for Service Chatting Picture Between SIP Session and 3G-324M Session, and Converter therefor
CN100508465C (en) Integrated message system with gateway functions and method for implementing the same
CN100477590C (en) Real time information system and working mode thereof
TW566022B (en) Network real-time dialog service system and method thereof to implement network dialog

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20081022