CN104506383A - Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission - Google Patents

Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission Download PDF

Info

Publication number
CN104506383A
CN104506383A CN201410805941.2A CN201410805941A CN104506383A CN 104506383 A CN104506383 A CN 104506383A CN 201410805941 A CN201410805941 A CN 201410805941A CN 104506383 A CN104506383 A CN 104506383A
Authority
CN
China
Prior art keywords
data
server
transmission
tcp
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410805941.2A
Other languages
Chinese (zh)
Inventor
雷果
叶春生
车新奕
程涛木
刘军徽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN BAOAD TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN BAOAD TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN BAOAD TECHNOLOGY Co Ltd filed Critical SHENZHEN BAOAD TECHNOLOGY Co Ltd
Priority to CN201410805941.2A priority Critical patent/CN104506383A/en
Publication of CN104506383A publication Critical patent/CN104506383A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention is applicable to the field of data processing, and provides a method and a system for measuring the data processing efficiency of a server in TCP (transmission control protocol) transmission. The method concretely comprises the following steps that firstly, the difference between sending timestamps of two adjacent data packets sent by a data sending server is calculated, and then, the difference between the sending timestamps of the two adjacent data packets is compared with a threshold value of a preset timestamp; finally, whether the sending efficiency of the data sending server is qualified or not is judged according to the comparison result. The method and the system for measuring the data processing efficiency of the server in TCP transmission have the advantages that other relevant indexes in a TCP/IP (transmission control protocol/ Internet protocol) protocol are combined for integrally judging the processing efficiency of a local server on data, further, the problem points of low service speed in a current network are clearly judged, and the index system of the current TCP/IP network is perfected.

Description

Weigh server in TCP transmission to the method and system of data-handling efficiency
Technical field
The invention belongs to data processing field, particularly relate to and a kind ofly weigh server method and system to data-handling efficiency in TCP transmission.
Background technology
TCP/IP (Transmission Control Protocol/Internet Protocol) transmission control protocol/Internet protocol, have another name called network communication protocol, be the basis of the most basic agreement of Internet, Internet Internet, be made up of the IP agreement of network layer and the Transmission Control Protocol of transport layer.TCP/IP defines electronic equipment and how to be connected into internet, and the standard how data are transmitted between which.Agreement have employed the hierarchical structure of 4 layers, and the network that lower one deck that every one deck all calls out it provides is to complete the demand of oneself.Popular: TCP is responsible for the problem finding transmission, once there be problem just to send signal, require again to transmit, until all data securities are correctly transferred to destination.
TCP provides a kind of connection-oriented, reliable byte stream service.In order to realize reliable byte stream service, adding a lot of index of correlation in Transmission Control Protocol and helping realize this goal, as follows:
RTO (Retransmission TimeOut) i.e. retransmission time interval.Main frame is after transmission tcp data bag, if slowly do not receive ACK (Acknowledgement, i.e. acknowledge character, in data communication, receiving station issues the one transmission class control character of dispatching station, represent that the data sent have confirmed that reception is errorless), how long main frame can retransmit this packet afterwards.Main frame is from sending packet to first time TCP re-transmission, and interval is referred to as retransmission time interval during this period of time.
RTT (Round-Trip Time): round-trip delay.It is important performance index in a computer network, represents from transmitting terminal sends data, receives the confirmation (receiving terminal just sends confirmation after receiving data immediately) from receiving terminal, the time delay altogether experienced to transmitting terminal.
SW (Sliding window) sliding window: the size of the data that source host can transmit before receiving acknowledge message is called window size.For managing obliterated data and flow control.
Wherein, in current ICP/IP protocol, widely used two time delay indexs are RTT and RTO.And RTT is determined by three parts: i.e. queuing in the buffer memory of the propagation time of link, the processing time of end system and router and processing time, wherein, the value of two parts connects relatively fixing as a TCP above, queuing in the buffer memory of router and processing time can change, so the change of RTT reflects the change of network congestion degree to a certain extent along with the change of whole network congestion degree.RTO: time-out and very most important part in re-transmission are the measurements to the given two-way time (RTT) be connected, due to the change of network traffics, this time can correspondingly change, and TCP needs to follow the tracks of these changes and dynamic conditioning time-out time RTO.
There is following network condition in current existing network: when transmitting a certain size packet, RTT value be less, without retransmitting, individual data packet transmission rate comparatively fast, but overall service transmission rate is lower.For this kind of situation, infer in the industry it is likely home server (data sending terminal) transmission to packet and the treatment effeciency to ACK is lower causes, the index occurred in existing ICP/IP protocol is mainly used in the transmission problem of response data, and neither one index can react home server (data sending terminal) to the treatment effeciency of data flow.
Summary of the invention
Technical problem to be solved by this invention is that providing a kind of weighs server method and system to data-handling efficiency in TCP transmission, is intended to judge that home server is to the treatment effeciency of data, and then clearly judges the problem points that in existing network, service rate is low.
The present invention is achieved in that and a kind ofly weighs server method to data-handling efficiency in TCP transmission, comprises the steps:
Step one: calculated data sends the difference of the transmitting time stamp of two adjacent data bags that server sends;
Step 2: the difference of the transmitting time of described two adjacent data bags being stabbed compares with the threshold value of the timestamp difference preset;
Step 3: judge that whether the transmitting efficiency of data transmission server is qualified according to comparative result.
Further, if the transmitting time of described two adjacent data bags stabs the processing time information included to the ACK message received between transmission twice adjacent data bag, then step 2 is specially:
The difference that the transmitting time of described two adjacent data bags is stabbed is deducted the value that the round-trip delay in TCP transmission obtains, then compare with the threshold values of the timestamp difference preset.
Present invention also offers and a kind ofly weigh server system to data-handling efficiency in TCP transmission, described system comprises:
Computing module: the difference sending the transmitting time stamp of two adjacent data bags that server sends for calculated data;
Comparison module: the difference for the transmitting time stamp obtained by described computing module compares with the threshold value of the timestamp difference preset;
Judge module: judge that whether the transmitting efficiency of data transmission server is qualified according to comparative result.
Further, if the transmitting time of described two adjacent data bags stabs the processing time information included to the ACK message received between transmission twice adjacent data bag, then comparison module deducts specifically for the difference of the transmitting time stamp obtained by described computing module the value that the round-trip delay in TCP transmission obtains, then compares with the threshold values of the timestamp difference preset.
The present invention compared with prior art, beneficial effect is: provide a kind of and weigh server method and system to data-handling efficiency in TCP transmission, the treatment effeciency of server to data is judged further by judging that whether qualified the transmitting efficiency of server is, and then clearly judge the problem points that service rate is low in existing network, the perfect index system of current TCP/IP network.
Accompanying drawing explanation
Fig. 1 is the balancing method of a kind of server ability of data processing in TCP transmission that the embodiment of the present invention provides;
Fig. 2 is that the DPT that the embodiment of the present invention provides calculates schematic diagram;
Fig. 3 is the measurement system of a kind of server ability of data processing in TCP transmission that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides and a kind ofly weigh server method to data-handling efficiency in TCP transmission, the treatment effeciency of server to data is judged further by judging that whether qualified transmitting efficiency is, described method is: calculated data sends server and sends time interval between two adjacent data bags and data processing time DPT (The Data Processing Time), and DPT is used for the transmission processing efficiency of response service device to packet; Shown in Fig. 1, concrete steps are as follows:
Steps A: calculated data sends the difference DPT of the transmitting time stamp of two adjacent data bags that server sends;
Step B: the difference DPT transmitting time of described two adjacent data bags stabbed compares with the threshold value of the timestamp difference preset;
Step C: judge that whether the transmitting efficiency of data transmission server is qualified according to comparative result.
If the transmitting time of described two adjacent data bags stabs the processing time information included to the ACK message received between transmission twice adjacent data bag, then step B is specially:
The difference DPT that the transmitting time of described two adjacent data bags is stabbed is deducted the value that RTT obtains to compare with the threshold values of the timestamp difference preset.
Lift a specific embodiment below:
Composition graphs 2 point of two class situation is discussed, the first kind: DPT1=time2-time1, ACK (Acknowledgement) message is not received in this time, if first kind DPT compares with the threshold value of the timestamp difference preset, result is underproof, and to talk about bright Local Data packet sending speed low, reason may be the situation that data send that server exists the multiple packet of transmission continuously, for example: issue in the process of packet for SP server to user, may be too low due to the too high Local Data packet sending speed that causes of the application layer load of SP server, thus affect overall business efficiency, Equations of The Second Kind: DPT2=time5-time3, ACK message is have received in this time, the size of Equations of The Second Kind DPT is determined by two parts: namely DPT2=RTT+ data send server process packet time, the difference DPT2 that the transmitting time of described two adjacent data bags is stabbed is deducted the value (namely data send server process packet time) that RTT obtains to compare with the threshold values of default timestamp difference, judge that data send server to the treatment effeciency of data according to whether qualified result is, therefore need the size in conjunction with RTT to carry out synthetic determination data and send server to the treatment effeciency of data.
Present invention also offers and a kind ofly weigh server system to data-handling efficiency in TCP transmission, as shown in Figure 3, described system comprises:
Computing module 1: the difference sending the transmitting time stamp of two adjacent data bags that server sends for calculated data;
Comparison module 2: the difference for the transmitting time stamp obtained by described computing module 1 compares with the threshold value of the timestamp difference preset;
Judge module 3: judge that whether the transmitting efficiency of data transmission server is qualified according to comparative result.
If the transmitting time of described two adjacent data bags stabs the processing time information included to the ACK message received between transmission twice adjacent data bag, then comparison module deducts specifically for the difference of the transmitting time stamp obtained by described computing module the value that RTT obtains and compares with the threshold values of the timestamp difference preset.
This invention is applied to all TCP/IP networks, there is provided a kind of and weigh server method and system to data-handling efficiency in TCP transmission, in conjunction with other index of correlation synthetic determination home servers in ICP/IP protocol to the treatment effeciency of data, and then clearly judge the problem points that service rate is low in existing network, the perfect index system of current TCP/IP network.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. weigh server to the method for data-handling efficiency in TCP transmission, it is characterized in that, described method comprises the steps:
Steps A: calculated data sends the difference of the transmitting time stamp of two adjacent data bags that server sends;
Step B: the difference of the transmitting time of described two adjacent data bags being stabbed compares with the threshold value of the timestamp difference preset;
Step C: judge that whether the transmitting efficiency of data transmission server is qualified according to comparative result.
2. weigh server as claimed in claim 1 in TCP transmission to the method for data-handling efficiency, it is characterized in that, if the transmitting time of described two adjacent data bags stabs the processing time information included to the ACK message received between transmission twice adjacent data bag, then step B is specially:
The difference that the transmitting time of described two adjacent data bags is stabbed is deducted the value that the round-trip delay in TCP transmission obtains, then compare with the threshold values of the timestamp difference preset.
3. weigh server to the system of data-handling efficiency in TCP transmission, it is characterized in that, described system comprises:
Computing module: the difference sending the transmitting time stamp of two adjacent data bags that server sends for calculated data;
Comparison module: the difference for the transmitting time stamp obtained by described computing module compares with the threshold value of the timestamp difference preset;
Judge module: judge that whether the transmitting efficiency of data transmission server is qualified according to comparative result.
4. weigh server as claimed in claim 3 in TCP transmission to the system of data-handling efficiency, it is characterized in that, if the transmitting time of described two adjacent data bags stabs the processing time information included to the ACK message received between transmission twice adjacent data bag, then comparison module deducts specifically for the difference of the transmitting time stamp obtained by described computing module the value that the round-trip delay in TCP transmission obtains, then compares with the threshold values of the timestamp difference preset.
CN201410805941.2A 2014-12-22 2014-12-22 Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission Pending CN104506383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410805941.2A CN104506383A (en) 2014-12-22 2014-12-22 Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410805941.2A CN104506383A (en) 2014-12-22 2014-12-22 Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission

Publications (1)

Publication Number Publication Date
CN104506383A true CN104506383A (en) 2015-04-08

Family

ID=52948098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410805941.2A Pending CN104506383A (en) 2014-12-22 2014-12-22 Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission

Country Status (1)

Country Link
CN (1) CN104506383A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176978A (en) * 2018-11-09 2020-05-19 通用电气航空***有限公司 Tool verification system and method for verifying rejected parts
CN113596068A (en) * 2020-04-30 2021-11-02 北京金山云网络技术有限公司 Method, device and server for establishing TCP connection
CN117395277A (en) * 2023-10-13 2024-01-12 广州锡杨电子股份有限公司 Industrial computer and data monitoring system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060067231A1 (en) * 2004-09-27 2006-03-30 Matsushita Electric Industrial Co., Ltd. Packet reception control device and method
CN102056187A (en) * 2009-10-29 2011-05-11 上海倍亚得信息技术有限公司 System and method for testing round-trip time (RTT) of wireless network data traffic
CN102316133A (en) * 2010-07-01 2012-01-11 ***通信集团上海有限公司 Method and device for balancing load
CN102821477A (en) * 2012-08-15 2012-12-12 中国联合网络通信集团有限公司 Method and device for regulating scheduling request cycle
CN104185195A (en) * 2014-09-12 2014-12-03 北京瑞汛世纪科技有限公司 Mobile web performance measuring method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060067231A1 (en) * 2004-09-27 2006-03-30 Matsushita Electric Industrial Co., Ltd. Packet reception control device and method
CN102056187A (en) * 2009-10-29 2011-05-11 上海倍亚得信息技术有限公司 System and method for testing round-trip time (RTT) of wireless network data traffic
CN102316133A (en) * 2010-07-01 2012-01-11 ***通信集团上海有限公司 Method and device for balancing load
CN102821477A (en) * 2012-08-15 2012-12-12 中国联合网络通信集团有限公司 Method and device for regulating scheduling request cycle
CN104185195A (en) * 2014-09-12 2014-12-03 北京瑞汛世纪科技有限公司 Mobile web performance measuring method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张静: "文化算法在P2P教育平台负载均衡中的研究与应用", 《中国优秀硕士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176978A (en) * 2018-11-09 2020-05-19 通用电气航空***有限公司 Tool verification system and method for verifying rejected parts
CN111176978B (en) * 2018-11-09 2023-09-29 通用电气航空***有限公司 Tool verification system and method for verifying failed components
CN113596068A (en) * 2020-04-30 2021-11-02 北京金山云网络技术有限公司 Method, device and server for establishing TCP connection
CN117395277A (en) * 2023-10-13 2024-01-12 广州锡杨电子股份有限公司 Industrial computer and data monitoring system
CN117395277B (en) * 2023-10-13 2024-04-12 广州锡杨电子股份有限公司 Industrial computer and data monitoring system

Similar Documents

Publication Publication Date Title
TWI459768B (en) Communication system and method for assisting transmission of tcp packets
JP4778453B2 (en) Communication terminal, congestion control method, and congestion control program
Wang et al. TCP congestion control algorithm for heterogeneous Internet
US10355961B2 (en) Network traffic capture analysis
KR102046792B1 (en) Method of transporting data from sending node to destination node
CN103346963A (en) MPTCP data scheduling method based on forecast arrival time
Dunaytsev et al. Modeling TCP SACK performance over wireless channels with completely reliable ARQ/FEC
US20060259845A1 (en) Method and apparatus for acknowledging a bitwise data chunk in wireline and wireless communication systems
AU2011380292A1 (en) Apparatus and method for transmitting a message to multiple receivers
EP2922241B1 (en) Methods and apparatus to determine network delay with location independence from retransmission delay and application response time
CN104506383A (en) Method and system for measuring data processing efficiency of server in TCP (transmission control protocol) transmission
CN105406915B (en) A kind of document transmission method towards satellite-ground link
US10063489B2 (en) Buffer bloat control
Lee et al. A cross-layer approach for TCP optimization over wireless and mobile networks
JP2013179486A (en) Packet monitoring device, packet monitoring method, and packet monitoring system
Chen et al. An improved rudp for data transmission in embedded real-time system
Lee et al. HTTP transfer latency over SCTP and TCP in slow start phase
Qin et al. Failure‐Aware and Delay‐Predicted Multipath Virtual Queue Scheduling for Multimedia Transmission in Edge IoT
Wang et al. A concurrent multi-path transfer mechanism used in ad hoc networks
Naito et al. New analytical model for TCP in wireless environments
WO2017061075A1 (en) Control system, available bandwidth estimating system, device, method, and program
Ninagawa Cloud-Side Network Communication Performance Analysis
Cano Improving path failure detection in SCTP using adaptive heartbeat time intervals
Arabi et al. Performance Evaluation and Computer Simulation of Multipath Transmission Control Protocol
Liu et al. Rtx+: a novel fast recovery strategy for efficient multipath data delivery over lossy links

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Inventor after: Che Xinyi

Inventor after: Lei Guo

Inventor after: Ye Chunsheng

Inventor after: Cheng Taomu

Inventor after: Wang Min

Inventor after: Liu Junhui

Inventor before: Lei Guo

Inventor before: Ye Chunsheng

Inventor before: Che Xinyi

Inventor before: Cheng Taomu

Inventor before: Liu Junhui

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20150408

RJ01 Rejection of invention patent application after publication