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

A method and device for instant messaging

A communication method and technology for packet information, applied in the field of instant communication methods and devices, can solve the problems of loss, low instant communication success rate, IM instant information transmission failure, etc., and achieve the effect of improving the success rate and avoiding information packet loss

Active Publication Date: 2021-07-09
BEIJING IQIYI TECH CO LTD
View PDF4 Cites 0 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
  • A method and device for instant messaging
  • A method and device for instant messaging
  • A method and device for instant messaging

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 drawings in the embodiments of the present invention.

[0080] An instant messaging 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 If the environment is a weak network environment, the authentication packet information is simplified to obtain the simplified authentication packet information; the IM instant message and the simplified authentication packet information are sent to the server; the summary of the IM and the simplified authentication packet information The data volume is smaller than the data volume of the maximum transmission unit of the network.

[0081] First, a brief int...

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

An instant messaging method and device provided by an embodiment of the present invention are applied to a client communicating with a server. The method includes: judging whether the current network environment is a weak network environment by judging whether the current network environment is a weak network environment; if If the current network environment is a weak network environment, the authentication package information will be simplified to obtain the simplified authentication package information; send IM instant information and simplified authentication package information to the server; IM and simplified authentication package information The total data volume of the information is smaller than the data volume of the maximum transmission unit of the network. Compared with the prior art, after the embodiment of the present invention judges that the current network is a weak network environment, it sends the IM and the simplified authentication packet information to the server, which is smaller than the maximum transmission unit of the network, so as to avoid the information caused by unpacking. Packet loss can improve the success rate of instant communication between the client and the server.

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 Patents(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