| CPC H04L 51/04 (2013.01) [H04L 12/185 (2013.01); H04L 51/046 (2013.01)] | 20 Claims |

|
1. A message processing method, wherein the method is applied to a server, and the method comprises:
receiving a first packet sent by a first client, wherein the first packet comprises a receiving object identifier set and a message list, the receiving object identifier set comprises an identifier of at least one receiving object, and the message list comprises at least one first message;
determining, based on the receiving object identifier set, at least one second user that receives the at least one first message; and
generating, based on any second user of the at least one second user, a second packet; and
sending the second packet to a second client to which the second user logs in, wherein the second packet comprises an identifier of a receiving object corresponding to the second user and the message list, wherein:
the at least one receiving object comprises a member or a group, the receiving object identifier set comprises a member identifier set or a group identifier set,
the member identifier set comprises a member identifier of each member in the at least one receiving object,
the group identifier set comprises a group identifier of each group in the at least one receiving object, and
determining, based on the receiving object identifier set, the at least one second user that receives the at least one first message comprises:
for the member identifier set in the receiving object identifier set, determining a first member set based on the member identifier in the member identifier set,
for the group identifier set in the receiving object identifier set, determining at least one first group based on the group identifier in the group identifier set, and determining at least one second member set based on the member identifier of each member comprised in the at least one first group, and
merging the first member set and the at least one second member set to obtain the at least one second user.
|