Method and terminal for transmitting instant communication message
暂无分享,去创建一个
The invention discloses a method and terminal for transmitting an instant communication message, and belongs to the field of communication. In the method, a first terminal acquires an instant communication message including a text and/or an image; SIP connection with a second terminal is established, and an MSRP address of the second terminal is acquired via the SIP connection; and MSRP connection with the second terminal is established in accordance with the MSRP address of the second terminal, and an MSRP packet containing the instant communication message is organized and transmitted to the second terminal via the MSRP connection. According to the invention, after the first terminal acquires the instant communication message, the SIP connection with the second terminal is established to acquire the MSRP address of the second terminal, the MSRP connection with the second terminal is established according to the address, and the MSRP packet containing the instant communication message is transmitted to the second terminal via the connection; in this way, a new method of transmitting the instant communication message based on the SIP protocol and the MSRP protocol is provided; and as a firewall can identify security of the MSRP and the SIP, the process of message transmission is not hindered and the efficiency of message transmission is improved.