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

Closing method and apparatus for TCP connection

A technology of shutting down devices and shutting down commands, which is applied in the Internet field, can solve problems such as untimely release of resources, waste of server resources, and lower server efficiency, so as to achieve efficient utilization and improve efficiency

Active Publication Date: 2017-03-08
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the existing method of closing the connection, when the connection is closed, many resources will not be released in time, thereby causing a waste of server resources and reducing server efficiency.

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
  • Closing method and apparatus for TCP connection
  • Closing method and apparatus for TCP connection
  • Closing method and apparatus for TCP connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] 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 making creative efforts belong to the protection scope of the present invention.

[0037] see figure 2 , figure 2 A flow chart of a method for closing a TCP connection provided by an embodiment of the present invention, applied to the server side, including:

[0038] Step 201, the server sends a first connection close notification message to the client, the first connection close notification message is used to notify the client to close the TCP connection with the server.

[0039] When a TCP connection is closed, in most cases, the serv...

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

Embodiments of the invention provide a closing method and apparatus for TCP connection. When a server closes the TCP connection with a client end, the server sends a first connection closing notification message to the client end; after the client end receives the first connection closing notification message, the client end sends a connection closing response message to the server; after the server receives the connection closing response message, the server sends a connection reset message to the client end, and after the server sends the connection reset message, the resource occupied in establishment of the TCP connection is released; and the client end receives the connection reset message, and the resource occupied in establishment of the TCP connection is released. According to the closing method and apparatus for TCP connection provided by the embodiments of the invention, when the TCP connection is closed, the server resource can be released in time, the waiting time of the server is reduced, waste of the server resource is avoided, and the server efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for closing a TCP connection. Background technique [0002] With the rapid development of Internet technology, user clients have an increasing demand for downloading various data from network servers. Massive amounts of information are downloaded every day, and the optimization technology of network resources occupied by downloaded data is becoming more and more important. [0003] At present, almost all the download services on the network use the TCP (Transmission Control Protocol, Transmission Control Protocol) protocol. For the TCP protocol, when a TCP connection is closed, a normal and complete TCP connection closing process includes four steps: steps. see figure 1 , figure 1 It is a flowchart of a method for closing a TCP connection in the prior art. The server sends a FIN / ACK (Finish / Acknowledgment, end / confirmation character) message to the c...

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 BEIJING QIYI CENTURY SCI & 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