摘要 |
The present invention relates to a method and a device for managing an instant message, which belongs to the field of instant messaging. The method includes: judging (S11) whether the instant message is a reply message to an existing message at the time of receiving and sending the instant message; creating (S12) one session and adding the instant message as a root node to the session if the instant message is not the reply message to the existing message; and adding (S13) the instant message to the session in which the existing message is and setting the instant message as a child node of the existing message if the instant message is the reply message to the existing message. The invention facilitates browsing and looking for instant messages quickly according to father-child relationship between nodes, improving the efficiency of browsing and looking for instant message extremely and being more convenient for use. |