CN101090370A - Method and device for implementing session transition - Google Patents

Method and device for implementing session transition Download PDF

Info

Publication number
CN101090370A
CN101090370A CNA2006100839591A CN200610083959A CN101090370A CN 101090370 A CN101090370 A CN 101090370A CN A2006100839591 A CNA2006100839591 A CN A2006100839591A CN 200610083959 A CN200610083959 A CN 200610083959A CN 101090370 A CN101090370 A CN 101090370A
Authority
CN
China
Prior art keywords
user
session
targeted customer
link identification
sign
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.)
Granted
Application number
CNA2006100839591A
Other languages
Chinese (zh)
Other versions
CN101090370B (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 CN2006100839591A priority Critical patent/CN101090370B/en
Publication of CN101090370A publication Critical patent/CN101090370A/en
Application granted granted Critical
Publication of CN101090370B publication Critical patent/CN101090370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

This invention discloses a method for realizing session transfer including: one from two communication parties selects a target user for session transfer and transmits its ID to the target user, the customer end where the user received the ID places creats a linkage ID for connecting the target user based on the ID and captures the linkage ID triggered by the user to set up session with the target user. This invention also discloses a device for realzing session transfer.

Description

A kind of method and device of realizing that session is shifted
Technical field
The present invention relates to communication and field of computer technology, relate in particular to a kind of method and device of realizing that session is shifted.
Background technology
Along with the continuous development of network technology, JICQ is accepted by most user, becomes the requisite Software tool of user, is used widely not only in amusement and recreation at ordinary times, and in user's work.JICQ has been set up the ditch circulation passage between user and good friend, can solve some problem by assisting users.For example: when the user A in the instantaneous communication system has problem to inquire its good friend user B, if user B is to the answer of this problem and handle unclear, and user B knows that the good friend user C of oneself is more clearly to this problem, and user B can be given to user C with the problem that user A proposes by instantaneous communication system.
Adopt the method for prior art, user B need duplicate the problem of user A from the window of chatting with user A after, this problem is pasted in the window with user C chat, send to user C then; When user C returns the answer of problem, after user B duplicates answer, answer is returned to user A by the window of chatting with user A.When if the more or indirect communication of problem content is not easy to deal with problems, user A and user C link up for convenience, user B can send to the sign of user C user A, user A finds user C according to being identified at of user C in the system after, link with user C foundation, and carry out the consulting of problem by session window to user C.
Adopt existing method, after user A and user C finished current session, two people's client all can be shown as the contact person with the other side.If after finishing current session, user A and user C may no longer carry out session, and then the associated person information of client existence brings great inconvenience for user's associated person information cleaning in the future; Operating process when user A and user C set up session simultaneously is more loaded down with trivial details, sets up discussion and analysis that interim communication relation carries out problem between inconvenient user A and the user C.
Summary of the invention
The invention provides a kind of method and device of realizing that session is shifted, complex operation when solving that session is shifted between the user in the prior art, and the targeted customer's that session is shifted the inconvenient problem of session information cleaning.
The invention provides following technical scheme:
A kind of method that realizes that session is shifted comprises the steps:
Side among the instant communication users both sides selects the targeted customer of session transfer, and targeted customer's sign is sent to the other side;
Receive the client at the user place of described sign, create the link identification that is used for the linking objective user according to described sign; And
Described client captures sets up session with the targeted customer after the user triggers described link identification.
When selecting described targeted customer, from the buddy list control of described instant communication users both sides' session window, select.
When creating targeted customer's link identification, the link flag position corresponding to the targeted customer is set, but and this link flag position is joined in the clickthrough chained list.
Described targeted customer's link identification is shown in described instant communication users both sides' the session window or described targeted customer's link identification shows in the mode of notification message.
Wherein, during foundation and targeted customer's session, generate interim conversation window with the targeted customer.
Preferable, this method further comprises:
Described client captures after the user adds as a friend the targeted customer, generates user and targeted customer's session window, and the targeted customer is added to during the good friend divides into groups.
A kind of device of realizing that session is shifted comprises:
Be used for extracting the module of targeted customer's sign of session transfer from the instant message that receives;
Be used for identifying the module of creating the link identification that is used for the linking objective user according to described targeted customer;
Be used to monitor link identification, and capturing the user when triggering link identification, set up module with targeted customer's session.
Be used to select the module of targeted customer's sign that session shifts;
Be used for targeted customer's sign is sent to the other side's who participates in session module.
Beneficial effect of the present invention is as follows:
The present invention creates the link identification that is used to connect this targeted customer according to the targeted customer's that session is shifted sign, when the user triggers link identification, foundation and targeted customer's session, the troublesome operation the when targeted customer who has avoided user and session to shift sets up session.
When the targeted customer of user and session transfer sets up session, the user that session is shifted is not added to the good friend, then behind targeted customer's end session that user and session are shifted, system is the session record purge, solved the session information cleaning inconvenient problem of user and targeted customer behind the conversation end.
Description of drawings
Fig. 1 is the system configuration schematic diagram of the embodiment of the invention;
Fig. 2 is the process chart of the embodiment of the invention;
Fig. 3 is a session transfer operation window schematic diagram in the embodiment of the invention;
Fig. 4 is for receiving the operation interface schematic diagram of session Transfer Message in the embodiment of the invention.
Embodiment
Operation when shifting in order to simplify the instant communication users session, the cleaning of the convenient targeted customer's that session is shifted session information, the present invention sends to the other side who carries out session with the user with the targeted customer's that the session that the user selects is shifted sign; Receive the client at the user place of described sign, create the link identification that is used for the linking objective user according to described sign; And described client captures and sets up session with the targeted customer after the user triggers described link identification.
Consult shown in Figure 1ly, the communication system in the present embodiment comprises instant communication server, and a plurality of subscriber equipmenies that are connected with instant communication server by network.Instant communication server is used for transmitting instant message between subscriber equipment.
Subscriber equipment comprises information acquisition module, message processing module, session transfer processing module, session management module.
Message processing module comprises message sending unit, message sink unit.
Information acquisition module is used for obtaining the targeted customer's that session that the side among the session window session both sides selects shifts sign, and sends this sign to message processing module.
Message sending unit in the message processing module is used for encapsulating to sent targeted customer's sign, and the message after will encapsulating sends; The message sink unit is used to receive described encapsulation messages, and the message that receives is resolved, and sends the targeted customer's that parses sign to session transfer processing module.
Session transfer processing module is used for identifying according to the targeted customer creates the link identification be used for the linking objective user, and capturing the user when triggering link identification, generates the interim conversation window with the targeted customer.
Session management module is used to show linking objective user's link identification, and generates the session window between the user.
Consult shown in Figure 2ly, the processing procedure that session is shifted is as follows:
Step 201, first logging in system by user, after first user's number mark and encrypted message verified, load corresponding packet memory, the traversal group list, load all good friends' of first user storage, and, good friend's icon is divided into groups to show in first user's main panel window according to good friend's grouping sign.
Step 202, when first user double-clicks second user's icon in the main panel window, obtain second user's of current mouse position number mark,, inquire about the session window of this number mark and whether open according to this number mark, if open, direct display session window; Otherwise, generate the session window that this second Subscriber Number identifies, show that then the number mark with second user joins in the corresponding MAP mapping relations table simultaneously, sets up first user and second user's session.
Step 203, in second user client, when second user transfers to the 3rd user with first user's session, send self-defining windows messaging to the session window, session window shows the size and the corresponding position data of subwindow according to message, utilize relevant window API (the ApplicationProgramming Interface of Windows, API) generates the transfer operation subwindow, in the position of this subwindow, generate corresponding buddy list control, be shown in second user's the operation interface.
Step 204, when second user selects to carry out the 3rd user that session shifts from the buddy list control of operation interface after, protocol format according to C2C, the number mark that makes up the 3rd user that second user chooses is in packet, dynamic IP (Internet Protocol according to the user who stores, procotol) address and port address, the protocol data bag that session is shifted by the socket port sends.
Step 205, the first user place client are asynchronous when receiving the protocol data bag that session shifts in the socket port, to packet resolve with decryption processing after, judge whether it is the active data bag, if effective data packets, extract protocol command that should packet number, the corresponding short MAP relation table that connects of inquiry finds corresponding handling process; Otherwise, do not handle.
The handling process that step 206, basis find utilizes the WindowsAPI function to judge whether first user and second user's session window exists, if session window exists, then api function directly shows that with this window execution in step 208 then; If there is no, execution in step 207 then.
Step 207, generation first user and second user's session window, and show this window.
Step 208, from session transfer protocol packet, extract the 3rd user's number mark, according to this number mark, establishment is used to connect the 3rd user's link identification, number mark corresponding to the 3rd user is provided with the link flag position, but and this link flag position joined in the clickthrough chained list preserve; Link identification is outputed in first user and second user's the session window simultaneously.
Link identification in the above-mentioned steps also can be directly shows in the mode of notification message.
Step 209, judge whether first user sets up session with the 3rd user, the clicking operation of from first user and second user's session window, catching the user, but traversal chain link list data structure, judge whether the current mouse position of user is positioned on the 3rd user's the link position, if the current mouse position of user is the 3rd user's a link position, then execution in step 210; Otherwise, do not deal with.
Step 210, generation first user and the 3rd user's interim conversation window shows the operation of adding the good friend simultaneously in session window, if first user selects the 3rd user is added to the good friend, then execution in step 211; Otherwise, execution in step 212.
Step 211, the 3rd user is added in first user's the good friend grouping, close first user and the 3rd user's interim conversation window; Generate first user and the 3rd user's session window, and the 3rd user's number mark is joined in the corresponding MAP mapping relations table, execution in step 213 then.
Step 212, first user initiate the session with the 3rd user in the interim conversation window, the information that first user is sent is encapsulated as instant message and sends to the 3rd user, and execution in step 214 then.
Step 213, first user initiate the session with the 3rd user in session window, the information that first user is sent is encapsulated as instant message and sends to the 3rd user.
Step 214, receive the instant message that first user sends after, the client at the 3rd user place generates the 3rd user and first user's session window, sets up the 3rd user and first user's session.
Adopt method of the present invention, carry out operation interface that session shifts as shown in Figure 3.For example: when the client user wish to be transferred to the session of Hu Wei Subscriber Number be designated 2663078 laughable the time, directly in the tabulation of shifting the good friend, select, click session then and shift icon, then Ke Le information will be automatically sent to the client at Hu Wei place.
Figure 4 shows that the user's who receives the session Transfer Message operation interface.The prompting message that display session shifts in the user who receives message and the user Li Si's who selects session to shift session window, but and the number mark that the 3rd user's cola is shifted in the session that Li Si selects is shown as linking status; When the user who receives the session transinformation has clicked this linkable number mark, then generate the interim conversation window with the 3rd user's cola, carry out session by this window, during end session, system deletes the user automatically with laughable session data.If the user wishes cola is added to the good friend, can click the handle icon of " adding as a friend ", after cola is added to the good friend, user place client is closed the interim conversation window, generate this user and laughable session window, when the user finished with laughable session, system preserved user and laughable session data automatically.
Adopt the present invention, fussy hand operation when the 3rd user who has avoided first user and session to shift sets up session; When first user does not add the 3rd user for the good friend, system will remove conversation recording automatically, avoid interim conversation to finish the inconvenient problem of back associated person information cleaning.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1, a kind of method that realizes that session is shifted is characterized in that, comprises the steps:
Side among the instant communication users both sides selects the targeted customer of session transfer, and targeted customer's sign is sent to the other side;
Receive the client at the user place of described sign, create the link identification that is used for the linking objective user according to described sign; And
Described client captures sets up session with the targeted customer after the user triggers described link identification.
2, the method for claim 1 is characterized in that, when creating targeted customer's link identification, the link flag position corresponding to the targeted customer is set, but and this link flag position is joined in the clickthrough chained list.
3, method as claimed in claim 2 is characterized in that, described targeted customer's link identification is shown in described instant communication users both sides' the session window.
4, method as claimed in claim 2 is characterized in that, described targeted customer's link identification shows in the mode of notification message.
5, as each described method of claim 1 to 4, it is characterized in that, when setting up the session with the targeted customer, generate interim conversation window with the targeted customer.
6, method as claimed in claim 5 is characterized in that, further comprises:
Described client captures after the user adds as a friend the targeted customer, generates user and targeted customer's session window, and the targeted customer is added to during the good friend divides into groups.
7, method as claimed in claim 6 is characterized in that, when selecting described targeted customer, selects from the buddy list control of described instant communication users both sides' session window.
8, a kind of device of realizing that session is shifted is characterized in that, comprising:
Be used for extracting the module of targeted customer's sign of session transfer from the instant message that receives;
Be used for identifying the module of creating the link identification that is used for the linking objective user according to described targeted customer;
Be used to monitor link identification, and capturing the user when triggering link identification, set up module with targeted customer's session.
9, device as claimed in claim 8 is characterized in that, further comprises:
Be used to select the module of targeted customer's sign that session shifts;
Be used for targeted customer's sign is sent to the other side's who participates in session module.
CN2006100839591A 2006-06-16 2006-06-16 Method and device for implementing session transition Active CN101090370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100839591A CN101090370B (en) 2006-06-16 2006-06-16 Method and device for implementing session transition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100839591A CN101090370B (en) 2006-06-16 2006-06-16 Method and device for implementing session transition

Publications (2)

Publication Number Publication Date
CN101090370A true CN101090370A (en) 2007-12-19
CN101090370B CN101090370B (en) 2010-09-15

Family

ID=38943542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100839591A Active CN101090370B (en) 2006-06-16 2006-06-16 Method and device for implementing session transition

Country Status (1)

Country Link
CN (1) CN101090370B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474529A (en) * 2009-07-01 2012-05-23 费斯布克公司 Gathering information about connections in a social networking service
CN105227443A (en) * 2015-10-20 2016-01-06 腾讯科技(深圳)有限公司 The synchronous method of conversation message, synchronizer and synchro system
CN105391618A (en) * 2015-10-19 2016-03-09 深圳市网通电子商务有限公司 Method and device for transferring instant communication session
CN106789558A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Instant communicating method, client and application server based on RCS
CN107528767A (en) * 2016-07-28 2017-12-29 腾讯科技(深圳)有限公司 The treating method and apparatus of session
CN107689939A (en) * 2016-08-05 2018-02-13 阿里巴巴集团控股有限公司 Method for message interaction and device
CN113595875A (en) * 2017-07-28 2021-11-02 北京易掌云峰科技有限公司 Automatic outbound instant message

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002538681A (en) * 1999-02-26 2002-11-12 ブロードポイント・コミュニケイションズ・インコーポレイテッド Method and apparatus for achieving automatic service in advertiser-paid telephone system
US7360174B2 (en) * 2002-12-19 2008-04-15 Microsoft Corporation Contact user interface
CN100407686C (en) * 2004-08-31 2008-07-30 腾讯科技(深圳)有限公司 Methoe for realizing object sharing in network storage service based on instant communication tool

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102474529A (en) * 2009-07-01 2012-05-23 费斯布克公司 Gathering information about connections in a social networking service
US9332077B2 (en) 2009-07-01 2016-05-03 Facebook, Inc. Gathering information about connections in a social networking service
CN102474529B (en) * 2009-07-01 2016-08-31 费斯布克公司 Collect the information about the connection in social networking service
US9723102B2 (en) 2009-07-01 2017-08-01 Facebook, Inc. Gathering information about connections in a social networking service
CN105391618A (en) * 2015-10-19 2016-03-09 深圳市网通电子商务有限公司 Method and device for transferring instant communication session
CN105391618B (en) * 2015-10-19 2019-09-10 尚云(广州)信息科技有限公司 Shift the method and device of Instant messaging conversation
CN105227443A (en) * 2015-10-20 2016-01-06 腾讯科技(深圳)有限公司 The synchronous method of conversation message, synchronizer and synchro system
CN105227443B (en) * 2015-10-20 2020-10-13 腾讯科技(深圳)有限公司 Synchronization method, synchronization device and synchronization system for session messages
CN107528767A (en) * 2016-07-28 2017-12-29 腾讯科技(深圳)有限公司 The treating method and apparatus of session
CN107689939A (en) * 2016-08-05 2018-02-13 阿里巴巴集团控股有限公司 Method for message interaction and device
CN106789558A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Instant communicating method, client and application server based on RCS
CN113595875A (en) * 2017-07-28 2021-11-02 北京易掌云峰科技有限公司 Automatic outbound instant message

Also Published As

Publication number Publication date
CN101090370B (en) 2010-09-15

Similar Documents

Publication Publication Date Title
CN101090370B (en) Method and device for implementing session transition
CN101282314B (en) Group communication method, equipment and system for instant communication
CN101159714B (en) Instant communication method and device
US20170168700A1 (en) Multi-Modal Participant Lists
JP3622320B2 (en) E-mail automatic forwarding system
US20080195706A1 (en) Group Based Communication Method, System and Client
CN1794722B (en) Method of transfering off-line message and instant message server
US20090271492A1 (en) Real-time communications over data forwarding framework
CN102150443A (en) System and methods for communication between instant message users and short message service users
CN101179520A (en) Method and system for sensing mail status
WO2008151529A1 (en) Method and system for transmitting customized instant communication message
CN101404628B (en) System and method for increasing non-friend communication mode in instant communication
CN102347916A (en) Gateway, cross-community group information processing system and method
CN102801742A (en) XMPP (Extensible Messaging and Presence Protocol)-based messaging system and method
CN102025515A (en) File directory based file transmission method, device and system
CN102694742B (en) A kind of instant messaging and the interworking implementation method and device of microblogging
CN102123133B (en) Method and the message system of message receipt is transmitted during the intercommunication of different messages business platform
CN102546462B (en) The method of recommending contact persons, client and system in instant messaging
CN107508747A (en) Group communication method, server and the computer-readable storage medium of converged communication
WO2011038639A1 (en) Realizing method for end-to-end instant messaging, terminal and system for end-to-end instant messaging
US20080043971A1 (en) Transparent transfer of a two-way communication
CN104660728B (en) NAT penetrating methods based on intelligent home control system
CN105721274B (en) The fusion method and device of one kind of multiple instant messagings
CN101247363A (en) Method, client terminal and system for implementing instant communication message reminding
CN106572134A (en) File transmission method, device and system

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