[go: up one dir, main page]

CN101193070B - Instant communication system, instant communication client and instant communication method - Google Patents

Instant communication system, instant communication client and instant communication method Download PDF

Info

Publication number
CN101193070B
CN101193070B CN2006101617269A CN200610161726A CN101193070B CN 101193070 B CN101193070 B CN 101193070B CN 2006101617269 A CN2006101617269 A CN 2006101617269A CN 200610161726 A CN200610161726 A CN 200610161726A CN 101193070 B CN101193070 B CN 101193070B
Authority
CN
China
Prior art keywords
instant
message
user
instant messaging
offline
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
CN2006101617269A
Other languages
Chinese (zh)
Other versions
CN101193070A (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 CN2006101617269A priority Critical patent/CN101193070B/en
Publication of CN101193070A publication Critical patent/CN101193070A/en
Application granted granted Critical
Publication of CN101193070B publication Critical patent/CN101193070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an instant messaging system, an instant messaging client and an instant messaging method. The instant messaging method includes the following steps: a second instant messaging client generates an instant message containing receiving confirmation information for an off-line message and sends the instant message to a first instant messaging client after receiving the off-line message from the first instant messaging client. As an off-line contact feeds the receiving confirmation information for the off-line message back to a sender of the off-line message after receivingand checking the off-line message, the instant messaging user sending the off-line message is allowed to have an idea whether the off-line message sent by the instant messaging user is already checked and received by the contact, thus facilitating communication between the instant messaging user and the off-line instant messaging user and greatly enhancing easy use of an instant messaging software and communication effectiveness among the instant messaging users.

Description

Instant messaging system, instant messaging client and instant messaging method
Technical Field
The present invention relates to Instant Messaging (IM) technologies, and in particular, to an IM system, an IM client, and a communication method based on the IM system.
Background
With the rapid development of IM technology, IM software has become one of indispensable communication tools for network users.
At present, the IM software used by network users can basically support real-time messaging between two IM users, that is, two online IM users can interact and communicate information through instant messaging. In some special cases, if one of the IM users is in an offline state, another IM user can also send an offline message to the IM user in the offline state through the IM software. The off-line message needs to cache and manage the message by using the IM server as the intermediary device, and then when the IM user in the off-line state is on line again, the IM server issues the off-line message corresponding to the IM user cached by the IM server to the IM user according to the user identifier, the IP address and the port address logged by the IM user, so that the IM user can receive the off-line message sent by friends during the off-line period through the IM software client. By the method, the IM users can send offline messages or receive offline messages, and non-real-time communication under the offline state of a certain IM user is realized. However, at the present stage, whether the sender of the offline message receives or checks that the offline message is in an unknown state for the receiver of the offline message, that is, after the IM user sends the offline message, it is not known whether the receiver of the offline message has checked the offline message, so that there may be a blind area for communication between two IM users in the non-real-time message communication, and if the internet access time of two people is in a staggered state, effective communication cannot be achieved.
Disclosure of Invention
In order to solve the above problems, the present invention provides an instant messaging method, an IM system and an IM client, which enable an IM user to effectively communicate with an offline IM user.
The instant messaging method comprises the following steps: a0, the first IM client generates the off-line message sent by the first IM user to the second IM user in the off-line state, and sends the generated off-line message to the second IM client; updating the table item object corresponding to the second IM user in the main panel contact list, and marking the second IM user with the unchecked offline message on the table item object; A. after receiving the offline message from the first IM client, the second IM client generates an instant message containing offline message receiving confirmation information and sends the instant message to the first IM client;
B. a first IM client receives an instant message containing offline message receiving confirmation information and informs a first IM user logging in an IM server through the first IM client that the second IM client has received the offline message; the notification includes: and updating the table entry object in the main panel contact list according to the received offline message receiving confirmation information, and removing the mark showing that the second instant messaging user has the unchecked offline message.
In step a0, the first IM client generates an offline message that the first IM user sends to the second IM user who is in an offline state, and the step of sending the generated offline message to the second IM client further includes:
a1, the first IM user selects a second IM user who wants to have a conversation and is in an off-line state through the first IM client, and starts the conversation to the second IM user;
a2, the first IM client side sends the offline message edited by the first IM user to an IM server for management;
a3, after the second IM user successfully logs in the IM server through the second IM client, the IM server sends the stored offline message to the second IM client.
In step a2, the step of managing the offline message by the IM server includes: the IM server carries out decryption operation on the received offline message, analyzes the data packet after determining that the data packet is an effective data packet, judges that the data packet belongs to a message forwarding data packet, and analyzes a target IM client of the offline message; the IM server inquires the state of the IM client according to the analyzed target IM client; if the target IM client side is in the stealth state, forwarding the offline message to the target IM client side; and if the mobile terminal is in the offline state, storing the received offline message.
Step a further comprises: and the second IM client generates a chat window corresponding to the first IM client, and displays the offline message analyzed from the first IM client in the generated chat window.
In step a, the sending to the first IM client includes: the second IM client generates offline message receiving confirmation information, packages the generated offline message receiving confirmation information and the user identification of the first IM user into an instant message and sends the instant message to the IM server; the IM server decrypts the received instant message and confirms whether the instant message is valid; after confirming that the received instant message is valid, the IM server analyzes the instant message and inquires whether a first IM user sending the offline message is online or not according to the analyzed user identification of the first IM user; if the first IM user is online, forwarding the received instant message containing offline message receiving confirmation information to a first IM client of the first IM user; otherwise, storing the instant message containing the offline message receiving confirmation information, and sending the data packet containing the offline message receiving confirmation information to the first IM client side where the first IM user is located when the first IM user logs in again.
The IM system of the invention comprises: the second instant messaging client is used for generating an instant message containing offline message receiving confirmation information according to the offline message from the first instant messaging client and sending the instant message to the instant messaging server; the instant messaging server receives and forwards the instant message containing the offline message receiving confirmation information from the second instant messaging client; the first instant messaging client is used for generating an offline message sent by a first instant messaging user to a second instant messaging user in an offline state; sending the generated offline message to an instant messaging server; marking the offline message which is not checked and received by the second instant messaging user on the table item object corresponding to the second instant messaging user in the contact list of the main panel; receiving an instant message containing offline message receiving confirmation information from the second instant communication client, and informing a first instant communication user; the notification includes: and updating the table item object in the contact list of the main panel, and removing the mark showing that the second instant messaging user has the unchecked offline message.
The IM server comprises an instant message receiving module, an IM user login management module, an IM user state management module, an instant message management module and an instant message sending module; the instant message receiving module is used for receiving the instant message from the IM client, decrypting and analyzing the received instant message to obtain the UIN of the IM user of the instant message destination; the IM user state management module is used for inquiring the state of the target IM user according to the UIN of the target IM user of the instant message, and if the IM user is not online, the instant message is sent to the instant message management module; otherwise, sending the instant message to an instant message sending module; the IM user login management module is used for receiving and processing a login request of an IM user, and sending the UIN of the IM user to the instant message management module after the IM user successfully logs in; the instant message management module is used for storing instant messages from the IM user state management module, inquiring whether instant messages corresponding to target IM users and UIN are stored or not after the UIN of the IM user login management module is received, and if the instant messages corresponding to the target IM users and the UIN are stored, sending the corresponding instant messages to the instant message sending module; the instant message sending module is used for sending the instant message from the IM user state management module or the instant message management module to the IM client of the target IM user of the instant message.
The IM client of the invention comprises: the system comprises an offline message generation module, an instant message sending module, an instant message receiving module and an offline message receiving confirmation information generation module; wherein,
the off-line message generating module is used for generating off-line messages sent to other IM users in an off-line state according to the information edited by the IM users and sending the off-line messages to the instant message sending module; after the offline message is generated, marking the offline message which is not checked by the offline message receiver on the table item object corresponding to the offline message receiver in the own main panel contact list;
the instant message receiving module is used for receiving the instant message from the IM server, decrypting and analyzing the received instant message, judging whether the received instant message is an offline message or not, and if so, sending the received offline message to the offline message receiving confirmation information generating module; the instant message receiving module further judges whether the received instant message is an instant message containing offline message receiving confirmation information, if so, the table item object in the main panel contact list is updated according to the sender of the instant message, and the mark showing that the sender has the undetected offline message is removed;
the off-line message receiving confirmation information generating module generates an instant message containing off-line message receiving confirmation information according to the off-line message from the instant message receiving module and sends the generated instant message to the instant message sending module;
the instant message sending module is used for sending the offline message generated by the offline message generating module and the instant message which is generated by the offline message receiving confirmation information generating module and contains the offline message receiving confirmation information to the IM server.
The IM client of the invention further comprises: and the instant message display module is used for receiving the instant message processed by the instant message receiving module and displaying the received instant message to the IM user logged in through the IM client.
Therefore, the invention can feed back the offline message receiving confirmation information to the IM user sending the offline message after the offline IM user checks the offline message, thereby enabling the IM user sending the offline message to know whether the offline message sent by the IM user is checked by the contact person, facilitating the communication between the IM user and the IM user who is offline, and greatly improving the usability of IM software and the communication effectiveness between the IM users.
Drawings
The foregoing and other features and advantages of the invention will become more apparent to those skilled in the art to which the invention relates by describing in detail exemplary embodiments thereof with reference to the attached drawings, wherein:
fig. 1 is a flowchart of a method for an IM user to effectively communicate with another IM user in an offline state through an offline message in an IM system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an IM system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of the IM client according to the embodiment of the present invention.
Detailed Description
In order to make the purpose and technical solution of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and examples.
The embodiment of the invention provides a method for effectively communicating one IM user with another IM user in an offline state in an IM system through an offline message. Herein, the offline message generally refers to an instant message that an online IM user sends to an offline IM user, and here, the offline message may be a text type instant message or a voice type instant message, etc., and is not limited to a general text type instant message.
Fig. 1 is a flowchart of a method for communicating between an IM user and another IM user in an offline state in an IM communication system according to this embodiment. As shown in fig. 1, the method mainly comprises the following steps:
step 10: after a first IM user successfully logs in an IM server through a first IM client, a second IM user in an offline state to be conversed is positioned through a contact list displayed on the first IM client, and conversation to the second IM user is started.
In this step, the step of logging in the IM server by the first IM user includes:
step 101: a first IM user inputs a user identification at a login entry provided by a first IM client, wherein the user identification is preferably a User Identification Number (UIN) of the first IM user and a corresponding password;
step 102: the first IM client encapsulates a user identifier input by an IM user, namely the UIN and the password of the first IM user, into a data packet according to a specific format and sends the data packet to an IM server for validity verification;
step 103: if the IM server validity check result shows that the user identification input by the first IM user has errors, namely the UIN and/or the corresponding password has errors, returning prompt information corresponding to the errors to the first IM client to prompt that the first IM user fails to log in;
step 104: and if the result of the validity check of the IM server shows that the user identification input by the first IM user is valid, namely the UIN and the corresponding password are valid, returning successful login information of the IM user to the first IM client, and issuing the contact list data of the IM user to the first IM client under the condition that the contact list data does not exist locally at the first IM client.
After the first IM user successfully logs in the IM server, the first IM client further loads contact list data according to locally stored contact list data or contact list data issued by the IM server, and generates an Item (Item) object of each contact according to the contact list data, wherein each contact Item object can store information such as name attribute, head portrait attribute, state attribute and position attribute corresponding to the contact according to different requirements;
then, the first IM client generates a representation form of a list of all contacts of the first IM user according to the size and the position data of the main panel of the IM client software, and arranges and displays the Item objects of the contacts according to a certain sorting mode, for example, displays the head portraits of all contacts of the first IM user on the main panel of the IM client software. Thus, the first IM user can initiate the operation on each contact through the Item object. Specifically, the first IM client may locate a contact Item object according to the position information of the first IM user double-click, return the UIN corresponding to the contact according to the Item object, and generate a chat window corresponding to the contact by using an operating system window related API function, so that the user may establish a session with the contact through the chat window.
Step 20: and when the first IM client judges that the second IM user is in an offline state according to the state presented by the second IM user, the first IM client sends the message edited by the first IM user to an IM server for management.
The method for judging that the second IM user is in the off-line state in the step comprises the following steps:
step 201: after the first IM user successfully logs in an IM server, the first IM client encapsulates UINs corresponding to all contacts of the first IM user into a data packet, and sends the data packet to the IM server according to a specific data protocol to acquire state information of the contacts;
step 202: and the IM server inquires the current state of all the contacts of the first IM user according to the received UIN of all the contacts of the first IM user, encapsulates the inquiry result into a data packet and sends the data packet to the first IM client through a specific data protocol.
In this step, for a contact in an online state, the IM server will feed back to the first IM client that the contact is in an online state, and for contacts in other states, such as a contact in a stealth state or a contact that is not online, the IM server will set the current state of the contact, which is fed back to the first IM client, to an offline state. That is, although the states of all the contacts of the first IM user obtained by the IM server query may be various, such as online, stealth, and offline, the states of the contacts returned by the IM server to the first IM client only include an online state and an offline state. Generally, for a contact in an offline state, a gray avatar representation is used in the contact Item object of the IM client, that is, the avatar in the contact Item object of the IM client will be displayed in gray regardless of the contact which is actually invisible or not online.
After determining that the second IM user is in the offline state, the first IM user may still edit the offline information sent to the second IM user through the chat window opened in step 10. And then, the first IM client packages the information, font format and other contents input by the first IM user and the UIN of the first IM user and the second IM user into a data packet according to a specific format and sends the data packet to an IM server.
Preferably, in order to identify to the first IM user that the first IM user has sent an offline message to the second IM user, the first IM client may further update an Item object corresponding to the second IM user in the contact list, and mark, on the Item object, that the second instant messaging user has an unchecked offline message, for example, display an icon representing an unread status of an offline message, so as to identify that the first IM user has sent an offline message to him.
The step 20 of managing the offline message by the IM server includes:
step 203: after receiving the data packet sent by the first IM client, the IM server firstly carries out decryption operation on the received data packet, analyzes the data packet after determining that the data packet is an effective data packet, judges that the data packet belongs to a message forwarding data packet, and analyzes an off-line message destination IM user, namely a UIN corresponding to a second IM user;
step 204: the IM server inquires the state of the contact according to the analyzed UIN of the second IM user, and if the second IM user is in the stealth state, the data packet is forwarded to a second IM client where the second IM user is located; if the server confirms that the contact person is in the offline state, the received data packet is stored. In practical application, the data packet is stored in an instant message management module of an IM server side in the IM system.
Step 30: and after the second IM user successfully logs in the IM server through the second IM client, the IM server forwards the stored offline message to the second IM client.
In this step, the method for logging in the second IM user to the IM server is basically the same as the steps 101 to 104.
After the second IM user successfully logs in the IM server, the IM server queries an instant message management module by using the UIN of the second IM user, judges whether an offline message corresponding to the UIN is stored, if the offline message corresponding to the UIN is stored in the instant message management module, the IM server extracts the offline message, generates a corresponding socket according to the IP and port information logged in by the second IM user, and sends a data packet carrying the extracted offline message to the second IM client.
Step 40: and after the second IM user receives the offline message through the second IM client, the second IM client sends back offline message receiving confirmation information to the first IM user sending the offline message.
In this step, the receiving of the offline message includes the steps of:
step 401: after receiving a data packet which is sent by an IM server and bears an offline message, the second IM client decrypts the data packet and determines whether the received data packet is valid;
step 402: after the received data packet is confirmed to be an effective data packet, analyzing the data packet, confirming that the data packet belongs to an offline message data packet, and analyzing the UIN of the IM user sending the offline message, namely the UIN of the first IM user;
step 403: and the second IM client generates a chat window corresponding to the first IM user through a chat window management module of the second IM client, and displays and analyzes the offline message sent by the first IM user in the generated chat window.
In step 40, sending an offline message reception confirmation message back to the first IM user who sent the offline message, by the second IM client includes:
step 404: the second IM client side automatically generates offline message receiving confirmation information, and encapsulates the generated offline message confirmation information, the UIN of the IM user sending the offline message, namely the UIN of the first IM user and the UIN of the first IM user, namely the UIN of the second IM user into a data packet and sends the data packet to the IM server;
step 405: after receiving the data packet, the IM server carries out decryption processing to confirm whether the data packet is valid;
step 406: after confirming that the received data packet is a valid data packet, the IM server inquires whether the first IM user is online according to the UIN of the first IM user in the analyzed data packet, and if the first IM user is online, the IM server forwards the received data packet containing offline message receiving confirmation information to a first IM client side where the first IM user is located; otherwise, storing the data packet containing the offline message reception confirmation information as an offline message, namely storing the data packet into the instant message management module, and forwarding the data packet containing the offline message reception confirmation information to a first IM client which is logged by the first IM user when the first IM user logs in the IM server again.
Step 50: and after receiving the offline message receiving confirmation information, the first IM client informs the first IM user that the second IM user already checks the offline message sent by the first IM client.
In this step, the step of receiving, by the first IM client, the offline message reception confirmation information includes:
step 501: the first IM client receives a data packet which is sent by an IM server and contains offline message receiving confirmation information;
step 502: decrypting and analyzing the received data packet, determining that the received data packet is an effective data packet and determining that the received data packet is an offline message receiving confirmation message;
step 503: and analyzing the UIN of the second IM user sending the offline message receiving confirmation information from the received data packet.
In addition, the step of notifying the first IM user that the second IM user has checked the offline message sent by the second IM user may adopt various methods. For example, the analyzed offline message reception confirmation information may be displayed to the first IM user in a dialog box or a chat window.
Preferably, if, in step 20, the first IM client, after sending the offline message, displays an icon representing an unread state of the offline message beside the Item object corresponding to the second IM user on the main panel to identify that the first IM user has sent the offline message to the second IM user, in this step, the notification may be implemented in a manner of updating the Item object of its contact list and removing a flag indicating that the second instant messaging user has an unchecked offline message, which may specifically include: and the first IM client side updates the image representation corresponding to the main panel contact Item according to the UIN of the second IM user, and removes the icon representing the unread state of the offline message. In this way, the first IM user can know that the second IM user has received the offline message by removing the icon representing the unread status of the offline message.
Therefore, by using the method provided by the preferred embodiment of the present invention, after the offline contact person receives the offline message, the offline message reception confirmation information is fed back, and then the IM user can know whether the offline message sent by the IM user is received by the contact person in a text display manner or in a manner of displaying or removing the icon representing the unread state of the offline message on the Item object of the contact person, so that the IM user can communicate with the offline IM user conveniently, and the usability of the IM software and the communication effectiveness between the IM users are greatly improved.
In addition to the above embodiments, another embodiment of the present invention provides an IM system and an IM client therein. The internal structure of the IM system described in this embodiment is shown in fig. 2, and mainly includes: the system comprises a first IM client, a second IM client and an IM server. A first IM user logs in the IM server through the first IM client, and a second IM user logs in the IM server through the second IM client.
The first IM client is used for generating an offline message sent by a first IM user to a second IM user and sending the generated offline message to the IM server; in addition, after receiving the instant message containing the offline message receiving confirmation information from the second IM client, notifying the first IM user that the second IM client has received the offline message;
the first IM client may further be configured to mark, on the main panel, an Item object corresponding to the second IM user with an uncapped offline message after sending the generated offline message to the IM server, for example, display an icon representing an unread state of the offline message, to identify that the first IM user has sent the offline message to the second IM user, and update the main panel contact Item object after receiving the offline message reception confirmation information from the second IM client, and remove the mark representing that the second instant communication user has the uncapped offline message, for example, the icon representing the unread state of the offline message displayed on the Item object of the second IM user.
The IM server is used for storing an offline message sent by a first IM user to a second IM user, and sending the offline message to the second IM client after the second IM user logs in the IM server through the second IM client; in addition, an instant message containing offline message receiving confirmation information from the second IM client is received and forwarded to the first IM client;
and the second IM client is used for displaying the received offline message from the IM server, automatically generating an instant message containing offline message receiving confirmation information and sent to the first IM user, and sending the instant message to the IM server.
As shown in fig. 2, the internal structure of the IM server mainly includes: the instant message management system comprises an instant message receiving module, an IM user login management module, an IM user state management module, an instant message management module and an instant message sending module.
The instant message receiving module is used for receiving the instant message from the IM client, decrypting and analyzing the received instant message to obtain the UIN of the IM user of the instant message destination;
the IM user state management module is used for inquiring the state of the target IM user according to the UIN of the target IM user of the instant message, and if the IM user is not online, the instant message is sent to the instant message management module; otherwise, sending the instant message to an instant message sending module;
the IM user login management module is used for receiving and processing a login request of an IM user, and sending the UIN of the IM user to the instant message management module after the IM user successfully logs in;
the instant message management module is used for storing instant messages from the IM user state management module, inquiring whether instant messages corresponding to target IM users and UIN are stored or not after the UIN of the IM user login management module is received, and if the instant messages corresponding to the target IM users and the UIN are stored, sending the corresponding instant messages to the instant message sending module;
the instant message sending module is used for sending the instant message from the IM user state management module or the instant message management module to the IM client of the target IM user of the instant message.
The internal structures of the first IM client and the second IM client are shown in fig. 3, and mainly include: the device comprises an offline message generation module, an instant message sending module, an instant message receiving module, an instant message display module and an offline message receiving confirmation information generation module.
The instant message sending module is used for sending the instant message to the IM user in an offline state;
the instant message receiving module is used for receiving the instant message from the IM server, decrypting and analyzing the received offline message, and sending the processed instant message to the instant message display module;
the instant message receiving module is further used for judging whether the received instant message is an offline message or not, and if so, sending the received offline message to the offline message receiving confirmation information generating module;
the instant message display module is used for displaying the instant message from the instant message receiving module to the IM user logged in through the IM client;
the off-line message receiving confirmation information generating module generates an instant message containing off-line message receiving confirmation information according to the off-line message from the instant message receiving module and sends the generated instant message to the instant message sending module;
the instant message sending module is used for sending the offline message generated by the offline message generating module and the instant message which is generated by the offline message receiving confirmation information generating module and contains the offline message receiving confirmation information to the IM server.
In order to better identify whether the offline message sent by the IM client is checked by the offline message receiver, the offline message generation module in the IM client is further configured to mark, on the Item object corresponding to the offline message receiver on the main panel of the IM client, that the second instant messaging user has an unchecked offline message after the offline message is generated, for example, displaying an icon representing an unread status of the offline message; the instant message receiving module is further configured to determine whether the received instant message is an instant message containing offline message reception confirmation information, and if so, update the main panel contact Item object according to the sender of the instant message, and remove a mark indicating that the second instant messaging user has an unread offline message, that is, an icon indicating that the offline message is unread displayed on the Item object of the second IM user.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. An instant messaging method, comprising:
a0, the first instant communication client generates the off-line message that the first instant communication user sends to the second instant communication user in off-line state, and sends the generated off-line message to the second instant communication client; updating the table item object corresponding to the second instant messaging user in the main panel contact list, and marking the offline message which is not checked and received by the second instant messaging user on the table item object;
A. after receiving the off-line message from the first instant communication client, the second instant communication client generates an instant message containing off-line message receiving confirmation information and sends the instant message to the first instant communication client;
B. a first instant messaging client receives an instant message containing offline message receiving confirmation information and informs a first instant messaging user logging in an instant messaging server through the first instant messaging client that the second instant messaging client receives the offline message; the notification includes: and updating the table entry object of the main panel contact according to the received offline message receiving confirmation information, and removing the mark showing that the second instant messaging user has the undetected offline message.
2. The instant messaging method of claim 1, wherein in step a0, the first instant messaging client generates an offline message that the first instant messaging user sends to the second instant messaging user who is offline, and the step of sending the generated offline message to the second instant messaging client comprises:
a1, the first instant messaging user selects a second instant messaging user who wants to have a conversation and is in an off-line state through the first instant messaging client, and starts the conversation to the second instant messaging user;
a2, the first instant communication client sends the offline message edited by the first instant communication user to an instant communication server for management;
and A3, after the second instant messaging user successfully logs in the instant messaging server through the second instant messaging client, the instant messaging server sends the stored offline message to the second instant messaging client.
3. The instant messaging method according to claim 2, wherein the step of the instant messaging server performing the management of the offline message in step a2 comprises:
the instant communication server carries out decryption operation on the received off-line message, analyzes the data packet after determining that the data packet is an effective data packet, judges that the data packet belongs to a message forwarding data packet, and analyzes a target instant communication client of the off-line message;
the instant communication server inquires the state of the instant communication client according to the analyzed target instant communication client;
if the target instant messaging client side is in the stealth state, forwarding the offline message to the target instant messaging client side;
and if the mobile terminal is in the offline state, storing the received offline message.
4. The instant messaging method of claim 1, wherein step a further comprises: and the second instant messaging client generates a chat window corresponding to the first instant messaging client, and displays the offline message analyzed from the first instant messaging client in the generated chat window.
5. The instant messaging method of claim 1, wherein the sending to the first instant messaging client in step a comprises:
the second instant communication client generates off-line message receiving confirmation information, packages the generated off-line message receiving confirmation information and the user identification of the first instant communication user into an instant message and sends the instant message to the instant communication server;
the instant communication server decrypts the received instant message and confirms whether the instant message is valid;
after confirming that the received instant message is valid, the instant messaging server analyzes the instant message, and inquires whether a first instant messaging user sending the offline message is online or not according to the analyzed user identification of the first instant messaging user;
if the first instant messaging user is online, forwarding the received instant message containing offline message receiving confirmation information to a first instant messaging client of the first instant messaging user;
otherwise, storing the data packet containing the offline message reception confirmation information, and sending the instant message containing the offline message reception confirmation information to the first instant messaging client where the first instant messaging user is located when the first instant messaging user logs in again.
6. An instant messaging system, comprising: at least two instant messaging clients and an instant messaging server, wherein,
the second instant messaging client is used for generating an instant message containing the offline message receiving confirmation information according to the offline message from the first instant messaging client and sending the instant message to the instant messaging server;
the instant messaging server receives and forwards the instant message containing the offline message receiving confirmation information from the second instant messaging client;
the first instant messaging client is used for generating an offline message sent by a first instant messaging user to a second instant messaging user in an offline state; sending the generated offline message to an instant messaging server; marking the offline message which is not checked and received by the second instant messaging user on the table item object corresponding to the second instant messaging user in the contact list of the main panel; receiving an instant message containing offline message receiving confirmation information from the second instant communication client, and notifying a first instant communication user;
the notification includes: and updating the table item object in the contact list of the main panel, and removing the mark showing that the second instant messaging user has the unchecked offline message.
7. The instant messaging system of claim 6, wherein the instant messaging server comprises: the system comprises an instant message receiving module, an instant communication user login management module, an instant communication user state management module, an instant message management module and an instant message sending module; wherein,
the instant message receiving module is used for receiving the instant message from the instant communication client, and decrypting and analyzing the received instant message to obtain the user identification of the instant communication user of the instant message destination;
the instant messaging user state management module is used for inquiring the state of the target instant messaging user according to the user identification of the target instant messaging user of the instant messaging, and if the instant messaging user is not on-line, the instant messaging is sent to the instant messaging management module; otherwise, sending the instant message to an instant message sending module;
the instant messaging user login management module is used for receiving and processing a login request of an instant messaging user and sending a user identifier of the instant messaging user to the instant message management module after the instant messaging user successfully logs in;
the instant message management module is used for storing the instant message from the instant communication user state management module, inquiring whether the instant message corresponding to the user identification of the target instant communication user is stored or not after receiving the user identification of the instant communication user login management module, and if so, sending the corresponding instant message to the instant message sending module;
the instant message sending module is used for sending the instant message from the instant message user state management module or the instant message management module to the instant message client of the target instant message user of the instant message.
8. An instant messaging client, comprising: the system comprises an offline message generation module, an instant message sending module, an instant message receiving module and an offline message receiving confirmation information generation module; wherein,
the off-line message generating module is used for generating off-line messages which are sent to other instant messaging users in an off-line state according to the information edited by the instant messaging users and sending the off-line messages to the instant message sending module; after the offline message is generated, marking the offline message which is not checked by the offline message receiver on the table item object corresponding to the offline message receiver in the own main panel contact list;
the instant message receiving module is used for receiving the instant message from the instant communication server, decrypting and analyzing the received instant message, judging whether the received instant message is an offline message or not, and if so, sending the received offline message to the offline message receiving confirmation information generating module; the instant message receiving module further judges whether the received instant message is an instant message containing offline message receiving confirmation information, if so, the table item object in the main panel contact list is updated according to the sender of the instant message, and the mark showing that the sender has the undetected offline message is removed;
the user of the off-line message receiving confirmation information generating module generates an instant message containing off-line message receiving confirmation information according to the off-line message from the instant message receiving module and sends the generated instant message to the instant message sending module;
the instant message sending module is used for sending the offline message generated by the offline message generating module and the instant message which is generated by the offline message receiving confirmation information generating module and contains the offline message receiving confirmation information to the instant communication server.
9. The instant messaging client of claim 8, further comprising: and the instant message display module is used for receiving the instant message processed by the instant message receiving module and displaying the received instant message to the instant communication user logged in through the instant communication client.
CN2006101617269A 2006-12-13 2006-12-13 Instant communication system, instant communication client and instant communication method Active CN101193070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101617269A CN101193070B (en) 2006-12-13 2006-12-13 Instant communication system, instant communication client and instant communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101617269A CN101193070B (en) 2006-12-13 2006-12-13 Instant communication system, instant communication client and instant communication method

Publications (2)

Publication Number Publication Date
CN101193070A CN101193070A (en) 2008-06-04
CN101193070B true CN101193070B (en) 2010-08-18

Family

ID=39487828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101617269A Active CN101193070B (en) 2006-12-13 2006-12-13 Instant communication system, instant communication client and instant communication method

Country Status (1)

Country Link
CN (1) CN101193070B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814155B2 (en) 2004-03-31 2010-10-12 Google Inc. Email conversation management system
US8639762B2 (en) 2009-03-23 2014-01-28 Google Inc. Providing access to a conversation in a hosted conversation system
US8527602B1 (en) 2009-05-28 2013-09-03 Google Inc. Content upload system with preview and user demand based upload prioritization
US9021386B1 (en) 2009-05-28 2015-04-28 Google Inc. Enhanced user interface scrolling system
US9602444B2 (en) 2009-05-28 2017-03-21 Google Inc. Participant suggestion system
US9026935B1 (en) 2010-05-28 2015-05-05 Google Inc. Application user interface with an interactive overlay
US9380011B2 (en) 2010-05-28 2016-06-28 Google Inc. Participant-specific markup
CN102364965A (en) * 2011-10-05 2012-02-29 辜进荣 Refined display method of mobile phone communication information
CN102497592A (en) * 2011-12-05 2012-06-13 深圳市同洲视讯传媒有限公司 Radio and television service transfer method, system and related device
CN103516579A (en) 2012-06-27 2014-01-15 腾讯科技(深圳)有限公司 Service system providing offline message and corresponding service method
CN103400067B (en) * 2013-03-29 2016-08-10 青岛海信电器股份有限公司 Right management method, system and server
CN103648085B (en) * 2013-12-11 2018-09-21 五八同城信息技术有限公司 A kind of mobile terminal message transmission method overcoming network jitter
CN110086704B (en) * 2014-02-11 2022-03-22 阿里巴巴集团控股有限公司 Method and system for synchronizing unread messages in instant messaging
CN104572913B (en) * 2014-12-26 2018-10-09 北京奇虎科技有限公司 A kind of data processing method, device and server
CN108075960A (en) * 2016-11-14 2018-05-25 深圳联友科技有限公司 A kind of instant communication information implementation method and device
CN107483321A (en) * 2017-08-16 2017-12-15 广东海翔教育科技有限公司 A kind of instant communicating method
CN107733787B (en) * 2017-11-06 2021-05-04 数贸科技(北京)有限公司 Method and system for cross-border instant messaging
CN110247838A (en) * 2018-03-07 2019-09-17 阿里巴巴集团控股有限公司 Message treatment method, device, server and storage medium
CN114335762A (en) * 2021-11-16 2022-04-12 广州极飞科技股份有限公司 Method, system and device for configuring battery parameter information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794710A (en) * 2004-12-21 2006-06-28 阿尔卡特公司 Systems and methods for handling presence messages
CN1838643A (en) * 2005-03-25 2006-09-27 华为技术有限公司 A method for receiving instant messages
CN1859380A (en) * 2005-07-28 2006-11-08 华为技术有限公司 Method for obtaining off line message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794710A (en) * 2004-12-21 2006-06-28 阿尔卡特公司 Systems and methods for handling presence messages
CN1838643A (en) * 2005-03-25 2006-09-27 华为技术有限公司 A method for receiving instant messages
CN1859380A (en) * 2005-07-28 2006-11-08 华为技术有限公司 Method for obtaining off line message

Also Published As

Publication number Publication date
CN101193070A (en) 2008-06-04

Similar Documents

Publication Publication Date Title
CN101193070B (en) Instant communication system, instant communication client and instant communication method
US9400788B2 (en) Message translations
US6430604B1 (en) Technique for enabling messaging systems to use alternative message delivery mechanisms
US7444375B2 (en) Interactive voice and text message system
CA2400807C (en) Method and system for messaging across cellular networks and a public data network
US7499976B2 (en) Warning and avoidance of sending email messages to unintended recipients
CN102045267B (en) Message recall method and device
KR100413921B1 (en) Method of simultaneously executing pop e-mail and chatting
CN101179520A (en) Method and system for sensing mail status
JPH10293732A (en) E-mail server device, e-mail system, e-mail opening confirmation method, and computer-readable recording medium recording program for causing a computer to execute the method
CN103856391A (en) Information communication method and system, and server
CN101202760B (en) Remote control operation
CN102307159B (en) Method and apparatus for efficient management and resending of transmitted message
US20060031153A1 (en) Methods and systems for matching buyers and sellers over electronic networks
US20060031334A1 (en) Methods and systems for forwarding electronic communications to remote users
WO2004027559A2 (en) Message client with multiple message system consolidation
JP2008538837A (en) Notification system and method using messenger
JP2009118174A (en) Information processing apparatus, approval method, and program
CN101742433A (en) Method and system for sending and receiving e-mails by short message on mobile phone
US8171416B2 (en) Confirmation system and method for instant messaging
US20060143277A1 (en) Method and system for distributing e-mail messages to recipients
KR20080018393A (en) Real-time integrated messaging system providing instant messaging service and mail service and service method thereof
JPH11288392A (en) Email system
CN101137094A (en) E-mail notification method and its device and system
CN101588315A (en) Method for logging on Web end in instant means of communication

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