CN102255824A - Instant messaging method and system - Google Patents

Instant messaging method and system Download PDF

Info

Publication number
CN102255824A
CN102255824A CN2011100038185A CN201110003818A CN102255824A CN 102255824 A CN102255824 A CN 102255824A CN 2011100038185 A CN2011100038185 A CN 2011100038185A CN 201110003818 A CN201110003818 A CN 201110003818A CN 102255824 A CN102255824 A CN 102255824A
Authority
CN
China
Prior art keywords
chat
window
user
page
chat window
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
CN2011100038185A
Other languages
Chinese (zh)
Other versions
CN102255824B (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.)
BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING KAIXINREN INFORMATION TECHNOLOGY 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 BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201110003818.5A priority Critical patent/CN102255824B/en
Publication of CN102255824A publication Critical patent/CN102255824A/en
Application granted granted Critical
Publication of CN102255824B publication Critical patent/CN102255824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an instant messaging method and a system. The method comprises the following steps: S1) choosing a chat object by a user; S2) judging if a chat window of a current chat object group exists or not by a client, if so, entering the step S3, and if not, creating the chat window of the current chat object group; S3) judging if a current session page of the chat object exists or not by the client, if so, entering the step S4, and if not, entering the step S5; S4) determining the chat window by the user; and S5) creating the session page of the chat object in the chat window of the current chat object group by the client. By the adoption of the method and the system disclosed by the invention, a user can chat with several friends by using a same window; in addition, different chat windows are opened according to different groups, the session pages under the same group are placed into the same chat window, thereby bringing convenience to the user for managing the session pages, and saving system resources.

Description

A kind of method and system of instant messaging
Technical field
The present invention relates to a kind of instant communication method and system, belong to network communication field.
Background technology
The abbreviation of Instant Messaging (instant messaging, real-time communication) is IM, and this is a kind of service that can allow the user set up certain real-time communication on network. Messager, NET Messager Service, Jabber, ICQ etc.
In the present instant messaging, the user is when using the IM instrument to chat, engage in the dialogue with different session objects if want, then need to create different chat windows and conversation page, adopt this mode can waste a large amount of system resource, thereby can influence the speed of service of application program under the multitask environment, user's use inconvenience, user experience is bad; In addition, use a plurality of chat windows and conversation page, be not easy to the management of user conversation page.
Summary of the invention
The objective of the invention is to, a kind of method and system of instant messaging are provided, it can realize that the user uses the same window and a plurality of good friend to carry out session, is convenient to the user session is managed, and the user is easy to use, and has saved system resource.
For solving the problems of the technologies described above, the present invention adopts following technical scheme: a kind of method of instant messaging may further comprise the steps:
S1, the user selects the object of chatting;
S2, client judges whether the chat window of chat object current group exists; If then execution in step S3 if not, then forwards step S4 to;
S3, client judges whether the current sessions page of chat object exists; If then forward step S7 to; If not, then forward step S5 to;
S4, the chat window of establishment chat object current group;
S5 creates the user conversation page in existing chat window;
S6, the user determines chat window;
S7, the conversation recording of the loading current sessions page.
The method of aforesaid a kind of instant messaging, among the described step S6, the user determines that chat window comprises: mouse switches and shortcut switches.
The method of aforesaid a kind of instant messaging, among the described step S5, creating the user conversation page in existing chat window comprises: client is created the conversation page to identify label that should the good friend in the pairing user's chat window of good friend, and it is presented in the session window.
Realize the system of a kind of instant messaging of preceding method, comprising:
The Object Selection module is used for the user and selects the object of chatting;
The window judge module is used for client and judges whether the chat window of chat object current group exists;
Page judge module is used for client and judges whether the current sessions page of chat object exists;
The window creation module is used to create the chat window of chat object current group;
The page creation module is used for creating the user conversation page at existing chat window;
The window determination module is used for the user and determines chat window;
Write down loading module, be used to load the conversation recording of the current sessions page.
The system of aforesaid a kind of instant messaging further comprises,
The mouse handover module is used for selecting chat window in the mode of click;
The shortcut handover module is used for selecting chat window in the mode that shortcut switches.
Compared with prior art, the present invention can realize that the user uses the same window and a plurality of good friend to carry out session, and can open different chat windows at different groupings, conversation page under the same grouping is placed same chat window, made things convenient for the management of user to conversation page, strengthened user's experience, the user uses the wish of immediate communication tool generally to strengthen; Data according to investigation and statistics show that after use the method for the invention, the number of users of immediate communication tool has on average increased by 5%~10%; And owing to reduced the establishment of chat window and conversation page, saved system resource, Installed System Memory consumption has on average reduced by 8%.
Description of drawings
Fig. 1 is the system schematic of a kind of embodiment of the present invention;
Fig. 2 is the workflow diagram of a kind of embodiment of the present invention.
Reference numeral: 1-Object Selection module, 2-window judge module, 3-page judge module, 4-window creation module, 5-page creation module, 6-window determination module, 7-writes down loading module, 8-mouse handover module, 9-shortcut handover module.
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Embodiment
Embodiments of the invention: a kind of method of instant messaging may further comprise the steps:
S1, the user selects the object of chatting;
S2, client judges whether the chat window of chat object current group exists; If then execution in step S3 if not, then forwards step S4 to;
S3, client judges whether the current sessions page of chat object exists; If then forward step S7 to; If not, then forward step S5 to;
S4, the chat window of establishment chat object current group;
S5 creates the user conversation page in existing chat window;
S6, the user determines chat window;
S7, the conversation recording of the loading current sessions page.
Among the described step S1, the user selects the good friend as the chat object by client, sends conversation request to the good friend, and client is determined the good friend of user's current request, and obtains this good friend's identification information and pairing user grouping identification information thereof.
Among the described step S6, the user determines that chat window comprises: mouse switches and shortcut switches.
Among the described step S5, create the user conversation page and comprise in existing chat window: client is created the conversation page to identify label that should the good friend in the pairing user's chat window of good friend, and it is presented in the session window.
Can utilize the Tab control to realize the establishment of conversation page.Different Tab is adopted in different sessions.Client at first judges whether there have been other sessions in the current group, if no, client can be calculated the height and the width data of the chat window of good friend's current group earlier, and position data, utilize Windows api function specified attribute page or leaf control, i.e. the viewing area of Tab control.Otherwise client utilizes the relevant api function of property pages control to create property pages, i.e. a conversation page in present chatting window.And good friend's user profile is loaded on the attribute tags.It is visible state that client is provided with the current sessions page by the property pages control, and utilizes the Windows window to show that other conversation page of relevant api function good friend current group are set to non-active state.
Described method comprises that also client loads the chat record of user and current chat object.Client is according to Tab control that the active user clicked, obtain the good friend's user profile that is comprised in the Tab control, user profile mainly comprises: user name, number of the account, user ID etc., current chat record by user and this good friend in the user ID Query Database, load chat record, refresh current chat messages record window simultaneously.
Realize the system of a kind of instant messaging of preceding method, its system schematic as shown in Figure 1; Comprise:
Object Selection module 1 is used for the user and selects the object of chatting;
Window judge module 2 is used for client and judges whether the chat window of chat object current group exists;
Page judge module 3 is used for client and judges whether the current sessions page of chat object exists;
Window creation module 4 is used to create the chat window of chat object current group;
Page creation module 5 is used for creating the user conversation page at existing chat window;
Window determination module 6 is used for the user and determines chat window;
Write down loading module 7, be used to load the conversation recording of the current sessions page.
System further comprises,
Mouse handover module 8 is used for selecting chat window in the mode of click;
Shortcut handover module 9 is used for selecting chat window in the mode that shortcut switches.
The workflow of a kind of embodiment of the present invention: (referring to Fig. 2)
S10, the user selects the object of chatting;
S20, client judges whether the chat window of chat object current group exists; If then execution in step S30 if not, then forwards step S40 to;
S30, client judges whether the current sessions page of chat object exists; If then forward step S70 to; If not, then forward step S50 to;
S40, the chat window of establishment chat object current group;
S50 creates the user conversation page in existing chat window;
S60, the user determines chat window;
S70, the conversation recording of the loading current sessions page.
Example explanation: for example, among " Li Si " login IM, want the chat with its colleague " Zhang San ", one and " Zhang San " chat window can be opened at " Li Si " by system, if " Li Si " can think again that " king five " chat, system can create one " Li Si " and " king five " chat window again.
If adopted a kind of method and system of instant messaging among " Li Si " IM, " Li Si " is when chatting with " Zhang San ", system can obtain the grouping colleague grouping among the IM good friend of " Zhang San " place " Li Si ", judge then whether the chat window of pairing colleague grouping among current " Li Si " IM is created, create the conversation page of " Zhang San " if just create directly at the existing colleague chat window that divides into groups.Otherwise system can create " Li Si " colleague pairing chat window of grouping earlier and then create " Zhang San " pairing conversation page in chat window.The chat of other good friends " king five " under " if Li Si " also wants to divide into groups with its colleague, system can be directly Li Si " the pairing chat window of colleague's grouping so creates " king five " pairing conversation page; and so just the user can be easily in same chat window; realize chatting one to one simultaneously and above an object, saved the resource of system greatly.

Claims (5)

1. the method for an instant messaging is characterized in that, may further comprise the steps:
S1, the user selects the object of chatting;
S2, client judges whether the chat window of chat object current group exists; If then execution in step S3 if not, then forwards step S4 to;
S3, client judges whether the current sessions page of chat object exists; If then forward step S7 to; If not, then forward step S5 to;
S4, the chat window of establishment chat object current group;
S5 creates the user conversation page in existing chat window;
S6, the user determines chat window;
S7, the conversation recording of the loading current sessions page.
2. the method for a kind of instant messaging according to claim 1 is characterized in that, among the described step S6, the user determines that chat window comprises: mouse switches and shortcut switches.
3. the method for a kind of instant messaging according to claim 1, it is characterized in that, among the described step S5, creating the user conversation page in existing chat window comprises: client is created the conversation page to identify label that should the good friend in the pairing user's chat window of good friend, and it is presented in the session window.
4. realize the system of a kind of instant messaging of the described method of claim 1~3, it is characterized in that, comprising:
Object Selection module (1) is used for the user and selects the object of chatting;
Window judge module (2) is used for client and judges whether the chat window of chat object current group exists;
Page judge module (3) is used for client and judges whether the current sessions page of chat object exists;
Window creation module (4) is used to create the chat window of chat object current group;
Page creation module (5) is used for creating the user conversation page at existing chat window;
Window determination module (6) is used for the user and determines chat window;
Write down loading module (7), be used to load the conversation recording of the current sessions page.
5. the system of a kind of instant messaging according to claim 4 is characterized in that: further comprises,
Mouse handover module (8) is used for selecting chat window in the mode of click;
Shortcut handover module (9) is used for selecting chat window in the mode that shortcut switches.
CN201110003818.5A 2011-01-10 2011-01-10 Instant messaging method and system Active CN102255824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110003818.5A CN102255824B (en) 2011-01-10 2011-01-10 Instant messaging method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110003818.5A CN102255824B (en) 2011-01-10 2011-01-10 Instant messaging method and system

Publications (2)

Publication Number Publication Date
CN102255824A true CN102255824A (en) 2011-11-23
CN102255824B CN102255824B (en) 2014-01-29

Family

ID=44982827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110003818.5A Active CN102255824B (en) 2011-01-10 2011-01-10 Instant messaging method and system

Country Status (1)

Country Link
CN (1) CN102255824B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905772A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Prompting method and electronic equipment
CN107493223A (en) * 2016-06-13 2017-12-19 腾讯科技(深圳)有限公司 A kind of conversation managing method and terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050262199A1 (en) * 2004-05-20 2005-11-24 International Business Machines Corporation System and method for in-context, topic-oriented instant messaging
US20060265454A1 (en) * 2005-05-19 2006-11-23 International Business Machines Corporation Instant message methods and techniques to broadcast or join groups of people
US20070094342A1 (en) * 2005-10-24 2007-04-26 Bostick James E Detachable control window for instant messaging chats
CN101021748A (en) * 2006-02-14 2007-08-22 腾讯科技(深圳)有限公司 Method for starting immediate communication tool chatting window
CN101021764A (en) * 2006-02-14 2007-08-22 腾讯科技(深圳)有限公司 Communication information displaying method in communication system
CN101026612A (en) * 2006-02-21 2007-08-29 腾讯科技(深圳)有限公司 Method for managing different attribute suhgroups and their members for instant communication tool
CN101026829A (en) * 2006-12-26 2007-08-29 武汉市迅彩科技有限责任公司 Single-window multi-page multi-person chat system for mobile communication system
CN101090346A (en) * 2006-06-16 2007-12-19 腾讯科技(深圳)有限公司 Group management method based on immediate communication and immediate communication customer end
CN101188577A (en) * 2007-12-29 2008-05-28 腾讯科技(深圳)有限公司 Multi-page instant communication method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050262199A1 (en) * 2004-05-20 2005-11-24 International Business Machines Corporation System and method for in-context, topic-oriented instant messaging
US20060265454A1 (en) * 2005-05-19 2006-11-23 International Business Machines Corporation Instant message methods and techniques to broadcast or join groups of people
US20070094342A1 (en) * 2005-10-24 2007-04-26 Bostick James E Detachable control window for instant messaging chats
CN101021748A (en) * 2006-02-14 2007-08-22 腾讯科技(深圳)有限公司 Method for starting immediate communication tool chatting window
CN101021764A (en) * 2006-02-14 2007-08-22 腾讯科技(深圳)有限公司 Communication information displaying method in communication system
CN101026612A (en) * 2006-02-21 2007-08-29 腾讯科技(深圳)有限公司 Method for managing different attribute suhgroups and their members for instant communication tool
CN101090346A (en) * 2006-06-16 2007-12-19 腾讯科技(深圳)有限公司 Group management method based on immediate communication and immediate communication customer end
CN101026829A (en) * 2006-12-26 2007-08-29 武汉市迅彩科技有限责任公司 Single-window multi-page multi-person chat system for mobile communication system
CN101188577A (en) * 2007-12-29 2008-05-28 腾讯科技(深圳)有限公司 Multi-page instant communication method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905772A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Prompting method and electronic equipment
CN103905772B (en) * 2012-12-28 2018-06-01 联想(北京)有限公司 The method and electronic equipment of a kind of prompting
CN107493223A (en) * 2016-06-13 2017-12-19 腾讯科技(深圳)有限公司 A kind of conversation managing method and terminal
CN107493223B (en) * 2016-06-13 2019-04-30 腾讯科技(深圳)有限公司 A kind of conversation managing method and terminal

Also Published As

Publication number Publication date
CN102255824B (en) 2014-01-29

Similar Documents

Publication Publication Date Title
US7945612B2 (en) Aggregating user presence across multiple endpoints
US20160094505A1 (en) Message history display system and method
US20070239869A1 (en) User interface for user presence aggregated across multiple endpoints
US20130238728A1 (en) Cross Platform Messaging
CN108243086B (en) Message processing method and system
CN106453066A (en) Group session processing method and system, terminal and server
US20060149818A1 (en) Managing instant messaging sessions on multiple devices
CN101335723B (en) Instant communication system, window establishing method and system
CN101150536A (en) Discussion group creation/distribution method, device and instant communication system
WO2021190087A1 (en) Task execution method, device and system, and server
EP2800300A1 (en) Method and device for evaluating user activity level in anonymous social system
US7774416B2 (en) Optimizing the expectation of a response in instant messaging with an automatic hierarchical instant message assistant
WO2014081929A2 (en) Calendaring between user profiles
US20160149969A1 (en) Multi-device collaboration
CN102111347A (en) Multi-protocol instant message-based processing method and system in unified communication system
CN105718529A (en) Method and device for pushing messages of application program on communication terminal
US10963458B2 (en) Federated chatbots
CN101227424A (en) Information exhibiting method as well as subscriber terminal
CN104050287A (en) Method and system for replying messages during instant chat
CN104283769A (en) Instant messaging service based on item of interest to user
KR102127336B1 (en) A method and terminal for providing a function of managing a message of a vip
CN102118324B (en) Good friend is invited to enter the method and system of related product
CN108874915A (en) Method of Knowledge Organization, system, electronic equipment and storage medium
US9588983B2 (en) Data classification for adaptive synchronization
WO2023051572A1 (en) Group message processing method and apparatus, and system and storage medium

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