Method for detecting TCP connection state

A technology of connection status and connection pool, applied in the field of communication, can solve the problems of TCP connection failure to be successfully established, server-side occupation of resources, etc., to achieve the effect of improving reliability and avoiding resource occupation

Inactive Publication Date: 2019-07-09
洛阳中科晶上智能装备科技有限公司
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the prior art, there is no effective mechanism for detecting invalid TCP connections in time to close invalid connections, especially for a large number of invalid connections caused by mobile terminals with variable IPs, resulting in a large number of invalid connections on the server side occupying resources and May cause a valid TCP connection to fail to be successfully established

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 for detecting TCP connection state
  • Method for detecting TCP connection state
  • Method for detecting TCP connection state

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0023] According to an embodiment of the present invention, a method for detecting the state of a TCP connection is provided. In a nutshell, the method includes creating a TCP total connection pool, a TCP effective connection pool, and a TCP connection whitelist to store the corresponding relationship between the identity (ID) of the device connected to the network, the IP address of the device, and the TCP connection session information ; Timely detect invalid TCP connections by updating or maintaining the above-mentioned TCP total connection pool, TCP effective connection p...

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 method for detecting a TCP (Transmission Control Protocol) connection state at a network side, the network side stores a TCP connection white list, and the TCP connection white list is used for storing a corresponding relation between an identity identifier of equipment and an equipment IP (Internet Protocol) address. The method comprises the following steps: obtaining anidentity and an IP address of equipment which currently initiates TCP connection; and judging whether the IP address of the equipment is changed relative to the historical TCP initiated by the equipment based on the TCP connection white list, and determining the TCP connection state of the equipment. According to the method provided by the invention, the TCP connection in an invalid state can be effectively and actively detected, so that the resource utilization rate is improved, and the method is particularly suitable for the TCP connection initiated by an IP variable terminal.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and a device for detecting the state of a TCP connection. Background technique [0002] With the development of Internet technology and wireless communication technology, more and more devices are connected to the Internet using the TCP / IP protocol, and the number of TCP connections that need to be managed by the server on the network side is also showing an obvious upward trend. However, due to many factors, the server side that manages TCP connections inevitably generates a large number of invalid TCP connections, for example, see figure 1 In the schematic prior art mobile terminal connection process, when the mobile terminal adopts the long connection mode in the TCP / IP protocol (that is, a TCP connection can continuously send multiple data packets) to establish a connection and send data, the mobile terminal passes 3GPP The PS (Packet Switch) domain of the pro...

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): H04W24/02H04L12/26
CPCH04L43/0805H04L43/16H04W24/02
Inventor 刘子辰魏鑫源张玉成石晶林
Owner 洛阳中科晶上智能装备科技有限公司
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