Unlock instant, AI-driven research and patent intelligence for your innovation.

Durable TCP (transmission control protocol) connection method oriented to remote procedure call

A technology of process call and connection method, applied in electrical components, transmission systems, etc., can solve the problems such as the inability of the congestion control function to play an effective role, waste of CPU resources, etc. Effect

Inactive Publication Date: 2012-07-04
SHANGHAI JIAO TONG UNIV
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, before the two processes use TCP for data exchange, a connection must be established. After the data exchange is completed, the connection needs to be closed; such frequent establishment and closing of TCP connections leads to a waste of system CPU resources: the client has to pay for each waiting request. The object establishes and maintains a new connection, allocates buffers for it, and maintains TCP variables; releases these resources when closing the TCP connection; different TCP connections are completely independent, so that the congestion control function of TCP cannot be effective effect

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
  • Durable TCP (transmission control protocol) connection method oriented to remote procedure call
  • Durable TCP (transmission control protocol) connection method oriented to remote procedure call
  • Durable TCP (transmission control protocol) connection method oriented to remote procedure call

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0023] Such as figure 1 , figure 2 As shown, a persistent TCP connection method for remote procedure calls includes the following steps:

[0024] 1) The client and the server shake hands three times to establish a TCP connection, transmit data and start the countdown timer;

[0025] 2) Set the initial value from the countdown;

[0026] 3) After the countdown timer expires, the callback function is executed, and the client initiates a request to the server to disconnect the TCP connection;

[0027] 4) The fourth handshake between the client and the server disconnects the TCP connection, ending this continuous TCP connection.

[0028] The basis for setting the initial value from the countdown timer is as follows:

[0029] 1) The load degree of the intermediate node between the server and the client. If the load of the intermediate node (such as: router, gateway, firewall, etc.) is heavy, the TCP connection time can be shortened, otherwise the continuous connection time can ...

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 a durable (transmission control protocol) connection method oriented to remote procedure call. The method comprises the following steps: 1) establishing the TCP connection between a client and a server terminal through three times of handshake, transmitting data and starting a count down timer; 2) setting an initial value for the beginning of the count down; 3) after the time of the count down timer is over, executing a callback function, initiating a request to the server terminal by the client to request the disconnection of the TCP connection; and 4) disconnecting the TCP connection between the client and the server terminal through the fourth handshake, ending the durable TCP connection. Compared with the prior art, the method provided by the invention has the advantages that the system can fully use the network bandwidth and the transmission efficiency is improved.

Description

technical field [0001] The invention relates to a TCP connection method, in particular to a persistent TCP connection method oriented to remote procedure calls. Background technique [0002] Remote Procedure Call Protocol (Remote Procedure Call Protocol, RPC) adopts the client / server model. The request initiator is equivalent to a client computer, which calls the service program provided on the remote computer through the network. There are many modes of RPC, the mainstream of which are Sun RPC, DEC and ORPC. Network File System (Network File System, NFS) is a client / server application program constructed using Sun RPC. The NFS client sends RPC requests to the NFS server through its TCP / IP module (or UDP / IP module). NFS The underlying transport protocol is User Datagram UDP or Transmission Control Protocol TCP. In the implementation of the NFSv3 version, a TCP connection is basically established for each NFS request. Specifically, the relevant TCP connection is closed eve...

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 SHANGHAI JIAO TONG UNIV