1. Registering a user (concealed process)
2. Use the username and nickname to log on (hiding process)
3. Add friends (either bidirectional or unidirectional)
4. Send messages, images, and voice messages (log on to the system by user name)
Function:
One-to-one message sending
1. Click the avatar of the other party (you have already registered it, logged in, and obtained the user name of the other party) and send the message,
Maintenance of history chat list information:
1. cache to the local device (if the app is deleted, it will be unavailable)
Maintenance of friend list information:
1. Add friends by adding friends (one-way addition and two-way addition)
Two-way addition: if a friend has been added, the other party must accept it to chat. There is a request process, that is, the user cannot chat immediately after clicking the Avatar, reads data from the server,
One-way addition: adding friends can be added in one way, without waiting for the recipient to accept, but can send messages (a bit like QQ's temporary chat), read local, or maintain a friend relationship on your server.
Group chat, many-to-many message sending:
1. One person creates a group and then adds friends. They can search for and find friends, or add friends from added friends.
2. Search for the group name and apply for adding the group name.
Establish and save the relationship, either one-way or two-way,
Create a group, and then add a passer-by. passer-by search for a group and then join the group. Either I am looking for you or you are looking for me;
IM client process,