The invention relates to the instant messaging technology and particularly to the instant messenger group technology.
Along with the development of the Internet and the popularization of the personal computer, instant messenger services are also widely used. The identification (ID) of network instant messenger services has gradually become the unique identity identification of large amount of net friends. A user of the instant messenger can add other users with whom he is often in contact to a friend (or contactor) list, get the on-line/off-line state of his friends through the status presented in the instant messenger and initiate a real-time conversation with them at any time, so that the purpose of an instant communication is achieved. Large amount of net friends are used to logging in to instant messenger servers as soon as they turn on their computers so as to keep in contact with his friends at any time.
To meet users' diversified demands, besides ordinary one-to-one communication through the instant messenger; instant messenger software also provides communications among multiple members, e.g. a multiple members' conversation via MSN (instant messenger software provided by Microsoft). However, the shortcoming of multiple members' conversation lies in that it can not keep sustained. When a user closes the conversation window, he immediately quits this conversation. If the user wants to initiate a conversation again with the same members, he has to invite them to the conversation one by one again.
In order to solve the problem of the multiple members' conversation, there is a solution in the prior art as follows: mapping a group of members into an operation object through a single identification to perform a uniform management and form a relatively fixed group; with logical operations on servers, a user identifies a group of members through a unique instant messenger identification and realize a communication with them. The essence of the solution is that an instant messenger server and an instant messenger group server are based on the same development platform, and for the instant messenger server, the group identification is not an ordinary user identification but a specific group identification.
In view of the drawbacks of the background technology, the present invention provides a technical solution of instant messaging among multiple members in an instant messenger group. By providing an instant messenger group server independent of an instant messenger server, the function of the instant messenger group is achieved.
According to an embodiment of the present invention, a method is provided for realizing instant messaging among multiple members of an instant messenger group by an instant messenger group server, wherein said group server is independent of an instant messenger server, at least one group identification and a member list of each group identified by the corresponding group identification are prestored in said group server, each member list stores instant messenger identifications of members of the group identified by the corresponding group identification; and for said instant messenger server, the instant messenger user identified by a group identification is in friend relationship with each member of the group identified by the group identification; and the method comprises the steps of: a. automatically logging in to said instant messenger server as an instant messenger client, using each of said at least one group identification as an instant messenger identification; b. receiving an instant message sent by an instant messenger client and forwarded by said instant messenger server, said instant message comprising an instant messenger identification corresponding to said instant messenger client and a group identification of the group which the member identified by said instant messenger identification belongs to; c. determining the instant messenger identifications of other members of the group identified by said group identification according to said instant messenger identification and said group identification contained in said instant message; d. sending said instant message respectively to each of the instant messenger clients corresponding to said instant messenger identifications of other members via said instant messenger server.
According to another embodiment of the present invention, a group messenger apparatus is provided for realizing instant messaging among multiple members of an instant messenger group on an instant messenger group server, wherein said group server is independent of an instant messenger server, at least one group identification and a member list of each group identified by the corresponding group identification are prestored in said group server, each member list stores instant messenger identifications of members of the group identified by the corresponding group identification; and for said instant messenger server, the instant messenger user identified by a group identification is in friend relationship with each member of the group identified by the group identification; and the group messaging apparatus comprises an automatic login means, a receiving means, a first determining means and a sending means, wherein said automatic login means is configured to make the instant messenger group server log in to said instant messenger server as an instant messenger client by using each of said at least one group identification as an instant messenger identification; said receiving means is configured to receive an instant message sent by an instant messenger client and forwarded by said messenger server, said instant message containing an instant messenger identification corresponding to said instant messenger client and a group identification of the group which the member identified by said instant messenger identification belongs to; said first determining means is configured to determine the instant messenger identifications of other members of the group identified by said group identification according to said instant messenger identification and said group identification contained in said instant message; and said sending means is configured to send said instant message respectively to each of the instant messenger clients corresponding to said instant messenger identifications of other members via said instant messenger server.
With the instant messenger group technology of the present invention, the instant messenger group server can be independent of the instant messenger server and can provide instant messenger group services for instant messenger users, so that the implementation of the instant messenger group technology becomes simpler and more convenient; since the instant messenger group server is independent of the instant messenger server, the instant messenger group server can support multiple instant messenger platforms, which makes the implementation of the instant messenger group technology simpler and more efficient.
Other objects, features and merits of the present invention will be more apparent and prominent with respect to the following description of the non-limiting embodiments in conjunction with the accompanying figures.
Wherein same or similar reference signs denote same or similar steps features/means (modules).
The solution of implementing the instant messaging among multiple members in an instant messenger group comprises several major processes including the creation process of the group, the process of joining the group, instant message forwarding process in the group, the process of inquiring the group, the process of quitting the group, etc.
In the following part, these major processes will be described one by one with reference to the accompanying figures.
At first, in step S201, the instant messenger group server 11 receives a group creation request sent by the user 14-1 via a user terminal.
The user 14-1 can send a group creation request message via a user terminal in various ways. For example, the user 14-1 sends a group creation request via a user terminal by means of a web browser and a simple example is illustrated in
For another example, the user 14-1 can send a group creation request via the user terminal 13-1 by the instant messenger client. The group creation request contains the instant messenger identification corresponding to the user 14-1 sending the request. That is to say, users who have already used the group can input a command indicating to create a new group in the dialogue window of the group. An example for such case is illustrated in
It should be noted that the transfer process of the above mentioned group creation request sent by the user 14-1 through the instant messenger client will be further elaborated in conjunction with
Returning back to
Preferably, in some cases, before step S202, the instant messenger group server 11 can also ask the user 14-1 to input the name of the instant messenger group, as shown in
After that, in step S203, the instant messenger group server 11 logs in to the instant messenger server 12 as an instant messenger client, using the newly created group identification as the instant messenger identification, and obtains the instant messenger identification of the user 14-1 sending the group creation request.
It should be noted that there are various ways for the instant messenger group server 11 to obtain the instant messenger identification of the user 14-1 sending the group creation request, depending on the ways of sending the group creation request by the user 14-1.
If the user 14-1 sends the group creation request via the user terminal by means of the web browser, the instant messenger server 11 obtains the instant messenger identification of the user 14-1 by indicating the user 14-1 to accept the invitation from the user, identified by the newly created group identification, to add the user 14-1 as a friend, as shown in
If the user 14-1 sends the group creation request through the instant messenger client software in step S201, then this group creation request contains the instant messenger identification corresponding to the user 14-1 and the instant messenger server 11 extracts the instant messenger identification of the user 14-1 from the group creation request.
Finally, in step S204, according to the instant messenger identification, obtained in step S203, of the user 14-1 sending the group creation request, the instant messenger group server 11 sends a request, which requests to add the user as the friend of the instant messenger user identified by said newly created group identification, to the instant messenger server 12 and stores the instant messenger identification of the user 14-1 in the member list of the newly created group.
In some cases, if the user 14-1 sets that other members are allowed to add him as a friend only after the identity verification, then the instant messenger server 12 also needs to send a verification request to the instant messenger client used by the user 14-1. Only after the instant messenger client has sent the verification response to the instant messenger server 12, the instant messenger server 12 adds the instant messenger identification corresponding to the user 14-1 in the friend list of the newly created group.
Above, the creation process of the instant messenger group has been elaborated in conjunction with
There are at least two ways of a user joining an instant messenger group: the first way is that a user sends a join request through an instant messenger client; the second way is that the administrator or the group master of the instant messenger group sends a preset operation instruction in the group dialogue window.
In the following part, the first way will be described in detail in conjunction with
At first, in step S501, the instant messenger group server 11 receives the join request which comes from the instant messenger client and is forwarded by the instant messenger server 12. The join request contains the identification of the user 14-2 using the instant messenger client and the group identification of the instant messenger group to join. Of course, the user 14-2 can obtain the instant messenger group identification of the group, which the user 14-2 requests to join, by other means, e.g. the user 13-1 identified by the group identification informs the user 14-2 of the instant messenger group identification directly or indirectly.
Then, in step S502, the instant messenger server 11 stores the instant messenger identification of the user 14-2 in the member list of the instant messenger group which the user 14-2 requests to join.
Finally, in step S503, the instant messenger group server 11 sends a join response to the instant messenger client used by the user 14-2.
Preferably, in some cases, the instant messenger group server 11 also determines whether the user identified by the instant messenger identification contained in the join request received in step S501 is authorized to join said instant messenger group. Specifically, the above determining process can be carried out by performing an identity verification of the user requesting to join or asking the user to answer some questions.
For MSN's instant messenger users, the steps S501 to S503 shown in
The first way to join a group has been described hereinabove, and the second way will be described hereinafter.
The administrator or the master of the instant messenger group can send an operation instruction indicating to add new users to the current instant messenger group in the group dialogue window, e.g. “/add instant messenger identification” to fulfill the function of adding a new user into the instant messenger group, as shown in
The ways to add a user into an instant messenger group have been elaborated in conjunction with
At first, in step S701, the instant messenger server 11 automatically logs in to the instant messenger server 12 as an instant messenger client, using each of the group identifications as an instant messenger identification.
Then, in step S702, the instant messenger group server 11 receives an instant message which comes from the instant messenger client used by the user 14-2 and is forwarded by the instant messenger server 12. The instant message contains the instant messenger identification corresponding to the instant messenger client, namely the instant messenger identification of the user 14-2 abc142@hotmail.com; and the group identification associated with the instant messenger identification, namely group123@xiaoi.com.
After that, in step S703, the instant messenger group server 11 determines the instant messenger identifications of other members of the group identified by the group identification according to the instant messenger identification of the user 14-2 and the associated group identification contained in the instant message received in step 703. For example, for the case shown in table 1, the instant messenger group server 11 determines that the users identified by abc141@hotmail.com and abs143@hotmail.com and the user 14-2 belong to the same group identified by group123@xiaoi.com.
Finally, in step S704, the instant messenger group server 11 forwards the instant message to the instant messenger clients corresponding to the instant messenger identifications of other members of the group via the instant messenger server 12. For example, for the case shown in table 1, the instant messenger group server 11 sends the instant message to the instant messenger clients corresponding to abc141@hotmail.com and abc143@hotmail.com respectively.
Preferably, in some cases, before step S704, the instant messenger group server 11 can also determine whether the instant message identification is the instant messenger identification of a member of the group identified by the group identification according to the group identification and the instant messenger identification contained in the instant message. Still continuing with the above example, the instant messenger group server 11 can determine whether the user identified by abc142@hotmail.com is a member of the group identified by group123@xiaoi.com according to the information stored in table 1.
If the instant messenger identification in the instant message is the instant messenger identification of a member of the group identified by the group identification, then in step S704, the instant messenger group server 11 forwards the instant message to the instant messenger clients corresponding to the instant messenger identifications of other members of the group identified by the group identification in the instant message via the instant messenger server 12 respectively.
Since the instant messenger group server 11 of the present invention is independent of the instant messenger server 12, for the instant messenger server 12, it does not know the existence of the instant messenger group at all. All of the instant messages are forwarded by the instant messenger server 12, and some of the instant messages in the group are functional instructions, e.g. instructions with management functions. Therefore the instant messenger group server 11 needs to discriminate the received instant messages coming from the instant messenger clients.
For the process shown in
If the instant messenger group server 11 determines that the instant message from the instant messenger client is a preset operation instruction, then corresponding operations will be performed and the operation results will be sent to the instant messenger client sending the preset operation instruction or to the instant messenger clients corresponding to the instant messenger identifications of all members or partial members of the instant messenger group identified by the group identification contained in the preset operation instruction message.
Preferably, before performing corresponding operations according to the preset operation instruction, the instant messenger group server 11 can also determine whether the user identified by the instant messenger identification is authorized to send the operation instruction according to the user's instant messenger identification contained in the preset operation instruction. If the user is authorized to send the operation instruction, then it performs the corresponding operations and returns the operation results to the instant messenger client used by the user.
After receiving an instant message coming from an instant messenger client, the instant messenger group server 11 first determines whether this message is a preset operation instruction; if it is, then the instant messenger group server 11 determines whether the preset operation instruction is an operation instruction indicating to quit the group; if it is, then the following operations will be performed: according to the instant messenger identification and its associated group identification contained in the operation instruction indicating to quit the group, the instant messenger group server 12 deletes the instant messenger identification from the member list of the group identified by the group identification and sends a notification to the instant messenger server 12. The notification serves to notify the instant messenger server 12 to delete the instant messenger identification from the friend list of the group identified by the group identification.
For example, in the MSN group shown in
For another example, if the user inputs an operation instruction indicating to quit the MSN group in the group dialogue window, e.g. “/quit”, then after receiving the operation instruction, the instant messenger group server 11 sends a prompt message indicating the user to decide whether to quit the group or not, as shown in
For another example, if the user inputs an operation instruction indicating to inquire all the members of the MSN group in the group dialogue window, e.g. “/All”, then after receiving the operation instruction, the instant messenger group server 11 returns the nicknames and/or the instant messenger identifications of all the members of the group to the user performing the inquiry and displays them in the group dialogue window.
As shown in
The method flow of the present invention has been described in conjunction with
In the following part, with reference to
Below, the creation process of the group will be firstly elaborated in detail.
At first, the receiving means 902 receives a group creation request sent by the user 14-1 via a user terminal.
The user 14-1 can send a group creation request message via a user terminal in various ways. For example, the user 14-1 sends a group creation request via a user terminal by means of a web browser and a simple example is illustrated in
For another example, the user 14-1 can send a group creation request via the user terminal 13-1 by the instant messenger client. The group creation request contains the instant messenger identification corresponding to the user 14-1 sending the request. That is to say, users who have already used the group can input a command indicating to create a new group in the dialogue window of the group. An example for such case is illustrated in
It should be noted that the transfer process of the above mentioned group creation request sent by the user 14-1 through the instant messenger client will be described hereinafter.
Then the first determining means 903 assigns a group identification which has not been used to the newly created group according to the group creation request received by the receiving means 902.
Preferably, in some cases, the instant messenger group server 11 can also ask the user 14-1 to input the name of the instant messenger group, as shown in
After that, the automatic login means makes the group server log in to the instant messenger server 12 as an instant messenger client, using the newly created group identification as the instant messenger identification, and the obtaining means 906 obtains the instant messenger identification of the user 14-1 sending the group creation request.
It should be noted that there are various ways for the obtaining means 906 to obtain the instant messenger identification of the user 14-1 sending the group creation request, depending on the ways of sending the group creation request by the user 14-1.
If the user 14-1 sends the group creation request via the user terminal by means of the web browser, the obtaining means 906 obtains the instant messenger identification of the user 14-1 by indicating the user 14-1 to accept the invitation from the user, identified by the newly created group identification, to add the user 14-1 as a friend, as shown in
If the user 14-1 sends the group creation request through the instant messenger client software, then this group creation request contains the instant messenger identification corresponding to the user 14-1 and the obtaining means 906 extracts the instant messenger identification of the user 14-1 from the group creation request.
Finally, according to the instant messenger identification, obtained by the obtaining means 906, of the user 14-1 sending the group creation request, the sending means 904 sends a request, which requests to add the user as the friend of the instant messenger user identified by said newly created group identification, to the instant messenger server 12 and the storing means 907 stores the instant messenger identification of the user 14-1 in the member list of the newly created group.
In some cases, if the user 14-1 sets that other members are allowed to add him as a friend only after the identity verification, then the sending means 904 also needs to send a verification request to the instant messenger client used by the user 14-1. Only after the instant messenger client has sent the verification response to the instant messenger server 12, the instant messenger server 12 adds the instant messenger identification corresponding to the user 14-1 in the friend list of the newly created group.
Above, the group creation process of the group messaging apparatus 900 has been described. The working process of the group messaging apparatus 900 when a user joins an instant messenger group will be elaborated in detail hereinafter.
There are at least two ways that a user joins an instant messenger group: the first way is that a user sends a join request through an instant messenger client; the second way is that the administrator or the group master of the instant messenger group sends a preset operation instruction in the group dialogue window.
In the following part, the above first way will be described in detail.
At first, the receiving means 902 receives the join request which comes from the instant messenger client and is forwarded by the instant messenger server 12. The join request contains the identification of the user 14-2 using the instant messenger client and the group identification of the instant messenger group the instant messenger client requests to join. Of course, the user 14-2 can obtain the instant messenger group identification of the group, which the user 14-2 requests to join, by other means, e.g. the user 13-1 identified by the group identification informs the user 14-2 of the instant messenger group identification directly or indirectly.
Then, the storing means 907 stores the instant messenger identification of the user 14-2 in the member list of the instant messenger group which the user 14-2 requests to join.
Finally, the sending means 904 sends a join response to the instant messenger client used by the user 14-2.
Preferably, in some cases, the third determining means 908 also determines whether the user identified by the instant messenger identification contained in the join request received in step S501 is authorized to join said instant messenger group. Specifically, the third determining means 908 performs the above determining process can by performing an identity verification of the user requesting to join or asking the user to answer some questions.
For MSN's instant messenger users, the above described joining process can be performed by adding contactors. In this case, for the users or the instant messenger server 12, the instant messenger group identification is an ordinary MSN instant messenger identification.
The first way to join a group has been described hereinabove, and the second way will be elaborated hereinafter.
The administrator or the master of the instant messenger group can send an operation instruction indicating to add new users to the current instant messenger group in the group dialogue window, e.g. “/add instant messenger identification” to fulfill the function of adding a new user into the instant messenger group, as shown in
The ways to add a user into an instant messenger group have been explained hereinabove. The transfer progress of an instant message in an instant messenger group will be elucidated in detail.
Without loss of generality, suppose that the instant messenger identification corresponding to user 14-1 is abc141@hotmail.com, the instant messenger identification corresponding to user 14-2 is abc142@hotmail.com, both the user 14-1 and the user 14-2 join the instant messenger group identified by group123@xiaoi.com and the instant messenger group server 11 prestores the information shown in table 1. Hereinafter, the working process of the group messaging apparatus 900 of transferring the group message will be explained in detail by taking the example that the user 14-2 sends instant messages to other members of the instant messenger group identified by group123@xiaoi.com through the instant messenger client used by the user 14-2.
At first, the automatic login means 901 makes the instant messenger server 11 log in to the instant messenger server 12 as an instant messenger client, using each of the group identifications as an instant messenger identification.
Then the receiving means 902 receives an instant message which comes from the instant messenger client used by the user 14-2 and is forwarded by the instant messenger server 12. The instant message contains the instant messenger identification corresponding to the instant messenger client, namely the instant messenger identification of the user 14-2 abc142@hotmail.com; and the group identification associated with the instant messenger identification, namely group123@xiaoi.com.
After that, the first determining means 903 determines the instant messenger identifications of other members of the group identified by the group identification according to the instant messenger identification of the user 14-2 and the associated group identification contained in the instant message received by the receiving means 902. For example, for the case shown in table 1, the instant messenger group server 11 determines that the users identified by abc141@hotmail.com and abs143@hotmail.com and the user 14-2 belong to the same group identified by group123@xiaoi.com.
Finally, the sending means 904 forwards the instant message to the instant messenger clients corresponding to the instant messenger identifications of other members of the group via the instant messenger server 12. For example, for the case shown in table 1, the instant messenger group server 11 sends the instant message to the instant messenger clients corresponding to abc141@hotmail.com and abc143@hotmail.com respectively.
Preferably, in some cases, the second determining means 905 can also determine whether the instant message identification is the instant messenger identification of a member of the group identified by the group identification according to the group identification and the instant messenger identification contained in the instant message. To continue with the above example, the second determining means 905 can determine whether the user identified by abc142@hotmail.com is a member of the group identified by group123@xiaoi.com according to the information stored in table 1.
If the instant messenger identification in the instant message is the instant messenger identification of a member of the group identified by the group identification, then the sending means 904 forwards the instant message to the instant messenger clients corresponding to the instant messenger identifications of other members of the group identified by the group identification in the instant message via the instant messenger server 12 respectively.
Since the instant messenger group server 11 of the present invention is independent of the instant messenger server 12, for the instant messenger server 12, it does not know the existence of the instant messenger group at all. All of the instant messages are forwarded by the instant messenger server 12, and some of the instant messages in the group are functional instructions, e.g. instructions with management functions, therefore the instant messenger group server 11 needs to discriminate the received instant messages coming from the instant messenger clients.
For the above process of transferring instant messages, the fourth determining means 909 determines whether an instant message coming from an instant messenger client is a preset operation instruction. If the instant message is not a preset operation instruction message, then the sending means 904 sends the instant message to the instant messenger clients corresponding to the instant messenger identifications of other members of the group via the instant messenger server 12 respectively.
If the fourth determining means 909 determines that the instant message from the instant messenger client is a preset operation instruction, then the executing means 910 executes corresponding operations and the sending means 904 sends the operation results to the instant messenger client sending the preset operation instruction or to the instant messenger clients corresponding to the instant messenger identifications of all members or partial members of the instant messenger group identified by the group identification contained in the preset operation instruction message.
Preferably, before the executing means 910 executes corresponding operations according to the preset operation instruction, the fourth determining means 909 can also determine whether the user identified by the instant messenger identification is authorized to send the operation instruction according to the user's instant messenger identification contained in the preset operation instruction. If the user is authorized to send the operation instruction, then the executing means 910 executes the corresponding operations and the sending means 904 sends the operation results to the instant messenger client used by the user.
After the receiving means 902 receives an instant message coming from an instant messenger client, the fourth determining means 909 first determines whether this message is a preset operation instruction; if it is, then the fourth determining means 909 determines whether the preset operation instruction is an operation instruction indicating to quit the group; if it is, then the executing means 910 executes the following operations: according to the instant messenger identification and its associated group identification contained in the operation instruction indicating to quit the group, the instant messenger group server 12 deletes the instant messenger identification from the member list of the group identified by the group identification and sends a notification to the instant messenger server 12. The notification serves to notify the instant messenger server 12 to delete the instant messenger identification from the friend list of the group identified by the group identification.
For example, in the MSN group shown in
For another example, if the user inputs an operation instruction indicating to quit the MSN group in the group dialogue window, e.g. “/quit”, then after receiving the operation instruction, the group messaging apparatus 900 sends a prompt message indicating the user to decide whether to quit the group or not, as shown in
For another example, if the user inputs an operation instruction indicating to inquire all the members of the MSN group in the group dialogue window, e.g. “/All”, then after receiving the operation instruction, the group messaging apparatus 900 returns the nicknames and/or the instant messenger identifications of all the members of the group to the user performing the inquiry and displays them in the group dialogue window.
As shown in
It should be noted that the instant messenger server 12 shown in
Of course, various groups in the instant messenger group server 11 can be groups based on different instant messenger protocols or based on a same instant messenger protocol. For example, group #1 is an instant messenger group based on the MSN instant messenger protocol, and group #2 is an instant messenger group based on the YAHOO!Messenger instant messenger protocol. Preferably, members of an instant messenger group are member users based on a same instant messenger protocol. Of course, members of an instant messenger group can be member users based on multiple instant messenger protocols, the premise of which is that the instant messenger server 12 supports multiple instant messenger protocols.
The embodiments of the present invention have been described hereinabove. It should be remarked that the present invention is not limited to the above mentioned specific embodiments. Those skilled in the art can make various variations and modifications within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
200810204067.1 | Dec 2008 | CN | national |