Method and device for transmitting and receiving instant messages
A technology of message and message body, which is applied in the sending device of instant message, the receiving device of instant message, and the sending field of instant message, which can solve the problems of network congestion, waste of system and network resources, increase of data volume, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0087] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0088] One of the core ideas of the present application is that in the instant message sending method, the process of constructing the message body is similar to the generation of a tree. First construct the leaves of the tree, and multiple leaves form a tree; then the generated tree is used as the leaves of the new tree until all the messages are encapsulated. In the instant message receiving method, the process of parsing the message object is similar to a tree traversal. Firstly, starting from the root node of the tree, the whole tree is traversed recursively in sequence until all nodes of the tree are traversed to complete the parsing of the instant message.
[0089] refer to image 3 , which shows...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 