摘要 |
<p>Disclosed are a grouping method, client, server, and system, which belong to the field of the Internet communications. The method includes: receiving a group initiation request sent by a first client in a current channel, the group initiation request carrying an identifier of the first client; sending group state information to all clients in the current channel; receiving a group joining request sent by a second client in the current channel, the group joining request including an identifier of second client and a position that the second client is to join; sending group state information to all clients again; after every position has a corresponding identifier of a joined client, moving joined clients corresponding to all positions into the same sub-channel to accomplish grouping. This disclosure realizes that as long as the first client initiates a group, the second client can join the group freely to accomplish a grouping operation.</p> |