TCP stack delay statistical method, device and system

A statistical method and protocol stack technology, applied in the network field, can solve problems such as inability to analyze, and achieve the effect of avoiding CPU consumption and high statistical accuracy

Active Publication Date: 2015-12-30
新浪技术(中国)有限公司
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is currently no technology that can accurately count the time spent by a TCP datagram in the protocol stack
[0003] Now there is no technology that can count the specific time consumed by a TCP data message in each stage of the protocol stack. It can only be estimated from a macro perspective based on the CPU (Central Processing Unit, central processing unit) time consumed by each function. Since the protocol stack will have a large number of TCP data streams at the same time, the calculated CPU time reflects the macro average time, so it is impossible to analyze a specific data stream separately

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
  • TCP stack delay statistical method, device and system
  • TCP stack delay statistical method, device and system
  • TCP stack delay statistical method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] 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.

[0013] like figure 1 As shown, it is a flow chart of a statistical method of TCP protocol stack delay in the embodiment of the present invention, and the method includes:

[0014] 101. During the TCP handshake, receive the synchronous SYN request sent by the client;

[0015] 102. According to the SYN request, determine whether to support TCP protocol stack delay TDM;

[0016] 103. If TDM is supported, when the TCP message data from the client is transmitted,...

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 embodiment of the invention provides a TCP stack delay statistical method, device and system. The method includes the steps that during TCP handshake, a SYN request sent by a client is received; according to the SYN request, whether a TCP stack delay TDM is supported or not is judged; if the TDM is supported, when TCP message data from the client are transmitted, timestamps of time points are recorded in TDM options of the TCP message data, and the TDM of the TCP message data are determined by the client conveniently. By means of the TCP stack delay statistical method, device and system, delay statistics of the TCP message data in any TCP data stream in a protocol stack is achieved. Besides, user programs do not need to be modified, people only need to add time statistics codes to a kernel protocol stack, and operation is completely transparent to a user.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a statistical method, device and system for TCP protocol stack delay. Background technique [0002] TCP (Transmission Control Protocol, Transmission Control Protocol) / IP (Internet Protocol, the protocol for interconnection between networks) is the core protocol of the Internet and the core protocol of most network applications. The processing delay of the TCP protocol stack will greatly affect the network transmission speed and user experience, so statistics on protocol stack delays are extremely necessary. However, there is currently no technology that can accurately count the time consumed by a TCP data packet in the protocol stack. [0003] Now there is no technology that can count the specific time consumed by a TCP data message in each stage of the protocol stack. It can only be estimated from a macro perspective based on the CPU (Central Processing Unit, central processin...

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): H04L12/26
CPCH04L43/08
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