Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An instant messaging method and device

A communication method and a technology of packet information, applied in the field of instant messaging methods and devices, capable of solving the problems of low success rate of instant messaging, transmission failure and loss of IM instant messages, etc.

Active Publication Date: 2019-05-07
BEIJING IQIYI TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large amount of data in the authentication packet information and IM instant messages, the client needs to split the authentication packet information into several small packets, then compress and encode the IM instant information and split them into several small packets, and then send the To the server, therefore, in the case of a poor network environment for instant communication between the client and the server, small packets of authentication packet information or IM packets are often lost during the process of sending to the server, resulting in frequent transmission of IM instant messages. fail
Therefore, in a weak network environment, the success rate of instant communication between the client and the server is low

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
  • An instant messaging method and device
  • An instant messaging method and device
  • An instant messaging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.

[0080] The instant communication method and device provided by the embodiments of the present invention are applied to a client communicating with a server, and determine whether the current network environment is a weak network environment by judging whether the current network environment is a weak network environment; if the current network environment is a weak network environment The environment is a weak network environment, the authentication package information is simplified to obtain the simplified authentication package information; the IM instant information and the simplified authentication package information are sent to the server; the total of the IM and the simplified authentication package information is sent to the server. The amount of data is smaller than the maximum tran...

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 instant messaging method and device provided by the embodiment of the invention are applied to a client communicating with a server, and the method comprises the following steps: judging whether acurrent network environment is a weak network environment or not, and judging whether the current network environment is the weak network environment or not; If the current network environment is a weak network environment, simplifying the authentication packet information to obtain simplified authentication packet information; Sending IM instant information and the simplified authentication packet information to a server; Wherein the total data volume of the IM and the simplified authentication packet information is smaller than the data volume of the maximum transmission unit of the network. Compared with the prior art, the embodiment of the invention has the advantages that after the current network is judged to be in the weak network environment, the IM smaller than the data volume ofthe maximum transmission unit of the network and the simplified authentication packet information are sent to the server, so that the information packet loss caused by unpacking is avoided, and the success rate of instant messaging between the client and the server can be improved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to an instant communication method and device. Background technique [0002] The development of instant messaging has provided greater convenience to people's lives. People can use the client to obtain the latest network information through the server in real time to meet user needs. [0003] When the client performs instant communication with the server, after establishing a TCP connection with the server, it sends authentication packet information to the server, and finally sends IM (Instant messaging, instant) information. Due to the large amount of data in the authentication packet information and IM instant messages, the client needs to split the authentication packet information into several small packets, then compress and encode the IM instant information and split them into several small packets, and then send the To the server, therefore, in the case of a poor netwo...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/58H04L12/805H04L29/06H04L47/36
Inventor 陆瀛海
Owner BEIJING IQIYI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products