Method realizing TCP connection reusing in instant communication

A technology of communication and connection pool, applied in the field of instant messaging TCP connection multiplexing, can solve the problems of large time and memory overhead, affecting the performance and speed of instant messaging, to reduce time and resource consumption, avoid the existence of invalid connections, improve The effect of operating experience

Active Publication Date: 2008-11-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When tasks with the same attribute or the same application still need to re-establish the TCP connection, resulting in a lot of additional time and memory overhead; and the establishment of a TCP connection not only requires the establishment of a physical connection, but also may require a certain logical authentication process. Thus affecting the performance and speed of instant messaging and other user experience

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 realizing TCP connection reusing in instant communication
  • Method realizing TCP connection reusing in instant communication
  • Method realizing TCP connection reusing in instant communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In the method for realizing instant messaging TCP connection multiplexing provided by the embodiment of the present invention, the TCP connection is put into the corresponding TCP connection pool for multiplexing through the TCP connection pool manager, so as to reduce extra time and resource consumption and improve instant messaging Ease of use and user experience of the software.

[0032] combine figure 1 As shown, the first embodiment of the present invention is proposed. This embodiment of the invention is based on an instant messaging system, which includes an instant messaging server (hereinafter referred to as "IM server") 30 and an instant messaging server connected to the IM server 30 through the Internet 40. Client (hereinafter referred to as "IM sending client") 10 and instant messaging receiving client (hereinafter referred to as "IM receiving client") 20, said IM sending client 10 communicates with IM receiving client through Internet 40 and IM server 30 2...

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 relates to the computer instant communication technical field and proposes a method which realizes the instant communication TCP connection multiplexing, based on an instant communication system composed of an instant communication sender client, an instant communication receiver client and an instant communication server; the method includes the steps that the instant communication sender client loads a TCP connection pool manager and sends an application connection establishing request to the instant communication receiver client; the application connection includes the application label; the TCP connection corresponding to the application label is acquired from the TCP connection pool managed by the TCP connection pool manager; the data is transmitted to the instant communication receiver client according to the TCP connection corresponding to the application label. The method which realizes the instant communication TCP connection multiplexing not only reduces the extra time and resource consumption of the TCP connection caused by the repeated connection and disconnection, but also further improves the operation experience of the various communication modes of the users, the usability and the user experience of the instant communication software.

Description

technical field [0001] The invention relates to the technical field of instant messaging, in particular to a method for realizing multiplexing of instant messaging TCP connections. Background technique [0002] In the existing mainstream instant messaging (Instant Messager, IM) software, such as Tencent QQ, MSN, Yahoo Messenger, Taobao Wangwang, etc., all provide rich communication methods such as file transfer, video and voice, and these communication methods include one-to-one One-to-many communication methods and one-to-many communication methods; the one-to-many communication method refers to sending chat messages, transferring files, videos, voices, and various emoticons among group members. [0003] In the one-to-one communication mode, the corresponding point-to-point connection establishment signaling is forwarded between IM servers, and a TCP connection between two IM clients is established after a series of authentication operations. When a certain task is complete...

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/58H04L29/06
Inventor 黄建华梁永翔李斌
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products