A self-cleaning method and a device for communication connection

A communication connection and self-cleaning technology, applied in the field of communication, can solve problems such as resource waste processing performance, and achieve the effects of improving processing performance, low development and maintenance costs, and saving connection resource costs.

Inactive Publication Date: 2018-12-18
BANK OF CHINA
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problems of resource waste and low processing performance in the current communication process, an embodiment of the present invention provides a self-cleaning method for communication connections, the method comprising:

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 self-cleaning method and a device for communication connection
  • A self-cleaning method and a device for communication connection
  • A self-cleaning method and a device for communication connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Embodiments of the present invention provide a communication connection self-cleaning method and device.

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0036] like figure 1 Shown is a flow chart of a communication connection self-cleaning method according to an embodiment of the present invention, and the method includes: step S1, obtaining a connection in the connection pool;

[0037] Step S2, detecting whether the connection is valid;

[0038] Step S3, when the connection is valid, clean up the con...

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 self-cleaning method and a device for communication connection. The method includes: obtaining the connection in a connection pool, detecting whether the connection is valid,when the connection is valid, cleaning up the connection according to the idle time of the connection. The invention can save the cost of connecting resources, improve the system processing performance, and whether the client or the server, the resource release is completed by an asynchronous service thread, the developer does not need to care about the resource release, that is, the connection problem is closed, and the development and maintenance cost is low.

Description

technical field [0001] The invention relates to the communication field, in particular to a communication connection self-cleaning method and device. Background technique [0002] In high-concurrency application scenarios, communication errors such as connection timeouts and read timeout errors often occur in inter-system communication. The read timeout may be caused by the long processing time of the downstream product service or network delay; when the server can provide external services correctly, the connection timeout is generally caused by the shortage of system connection resources. [0003] The communication connection between systems can be divided into long connection and short connection. Long connection means that multiple data packets can be sent continuously on one TCP connection. During the maintenance period of TCP connection, if there is no data packet to send, both parties need to send a detection packet (heartbeat packet) ) to maintain this connection, t...

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/08H04L29/06
CPCH04L67/143H04L69/163
Inventor 苗海柱
Owner BANK OF CHINA
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