Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2012-12-26
DATANG MOBILE COMM EQUIP CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since the HTTP protocol is a stateless protocol, if subsequent processing requires previous information, it must be retransmitted, which may increase the amount of data transmitted per connection and cause network congestion
On the other hand, the HTTP protocol is a connectionless protocol. Each connection requires the client to send a request first, receive a response, and then disconnect, and each HTTP session opens a new TCP (Transmission Control Protocol, Transmission Control Protocol ) connection, which is a waste of system and network resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for transmitting and receiving instant messages
  • Method and device for transmitting and receiving instant messages
  • Method and device for transmitting and receiving instant messages

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for transmitting instant messages and a method and a device for receiving the instant messages. The method for transmitting the instant messages includes that information of the instant messages sent by a user and recipient information are acquired, wherein the information of the instant messages comprises message content bodies and message content types; message headers are generated; each corresponding message content body and each corresponding message content type are used as two leaf nodes to structure a basic message BODY object according to different message contents and types; a complicated message BODY object is structured based on the basic message BODY objects, and the complicated message BODY object includes multiple leaf nodes, wherein characterization message content bodies are of null values; the message headers and the complicated message BODY object are encapsulated into a message object; and the message object is transmitted according to the recipient information. By means of the method and the device for transmitting and receiving the instant messages, network congestion in the transmitting process of the instant messages can be reduced, and system and network resources in the transmitting process of the instant messages are saved.

Description

technical field [0001] This application relates to the technical field of IMS (IP Multimedia Subsystem, IP Multimedia Subsystem), in particular to a method for sending an instant message, a device for sending an instant message, a method for receiving an instant message, and an instant message Receiver of the message. Background technique [0002] Instant messaging is a service that forwards the information sent by the sender to the recipient without storing it. The difference from the email message is that the instant message is directly interacted between the receiving end and the sending end. [0003] The IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) architecture based on SIP (Session Initiation Protocol, Session Initiation Protocol) builds a good implementation environment for instant messaging. In the IMS environment, there are basically two methods for implementing instant messaging, one is the SIP-based MESSAGE (message) method, and the other is the method b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/58
Inventor 高陆军
Owner DATANG MOBILE COMM EQUIP CO LTD