Communication method and device of long connection of network

A communication method and long-term connection technology, applied in the Internet field, can solve problems such as poor stability of long-term network connections, and achieve the effect of ensuring stability and overcoming differences

Active Publication Date: 2015-07-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a communication method and device for long-term network connections, aiming to solve the problem of poor stability of long-term network connections in the prior art

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
  • Communication method and device of long connection of network
  • Communication method and device of long connection of network
  • Communication method and device of long connection of network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0021] In the embodiment of the present invention, the server issues to the client the access address list that best matches the gateway policy adopted by the operator currently connected to the client, effectively overcoming the problem of different operators or the same operator operating in different The differences in the gateway strategies adopted by the regions ensure the stability of the long-term connection established between the client and the server through the access address list.

[0022] In the embodiment of the present invention, the client includes but is not limited to browsers, in...

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 communication method and device of long connection of the network, suitable for the technical field of Internet. The method comprises that a connection request of a client is received, and the connection request includes the present connection gateway IP of the client; an access address list matching the present connection gateway IP is configured for the client, the access address list comprises at least one group of access addresses, and each group of access addresses comprises an access IP and an access port corresponding to the access IP; and the access address list is issued to the client, so that the client can establish long connection with the server according to the access address list. The method and device can effectively overcome the problem that gateway strategies of different service providers or the same service provider in different regions are different, and ensures the stability of the long connection which is established between the client and the server via the access address list.

Description

technical field [0001] The invention belongs to the technical field of the Internet, and in particular relates to a communication method and device for network persistent connections. Background technique [0002] Long connection means that multiple data packets can be sent continuously on one connection. It is mostly used in communication scenarios with frequent operations, point-to-point and few connections, such as mobile phone push service, which is to establish a mobile phone client and server in advance. When there is a message that needs to be sent to the mobile phone, it can be sent directly through this link. [0003] Due to the differences in the gateway strategies adopted by different operators or the same operator in different regions, at present, no matter what network environment the client is in, it only uses a fixed access method to establish a long connection with the server, which cannot be guaranteed. Stability of long connections. For example, when the ...

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): H04L29/06H04L29/08
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