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

TCP server stability test method based on timestamps

A technology of stability testing and testing methods, which is applied in the direction of digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as general statistical results, errors in data processing by the server, and inability to customize the construction of data packets, and achieve a judgment method Accurate and simple judgment method

Active Publication Date: 2021-03-30
北京睿芯高通量科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the transmission of TCP data, due to the unstable network quality, it will cause a large number of packet loss and retransmission in the network. When multiple TCP clients send data at the same time, errors may occur in the data processing of the server. However, the existing In the TCP server stability test tool, the TCP client cannot automatically perform breakpoint reconnection. During the test execution process, it needs to be monitored and operated manually many times, and it is difficult to carry out continuous automated testing.
In addition, the existing TCP server stability testing tools cannot customize the data packets sent, and the statistical results of the concurrent test are relatively general and cannot be accurate. In the case of unstable conditions and a large number of concurrent processing, it is possible to test the stability of server-side breakpoint reconnection and concurrent processing

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 server stability test method based on timestamps

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0029] figure 1 It is a schematic diagram of the implementation flow of the TCP server stability test in the embodiment of the present invention, such as figure 1 As shown, the present invention provides a kind of TCP server stability test method based on time stamp, and it comprises the following steps:

[0030] S1: At least one TCP client establishes a connection with the TCP server through Socket to form a local area network;

[0031] S2: Any TCP client in the local area network sends a custom-built data packet to the TCP server according to the preset time interval through the script, wherein the data packet is a data packet in json format containing timestamp information;

[0032] S3: The TCP server continuously monitors the TCP requests of each TCP client. When the TCP...

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 discloses a TCP server stability test method based on a timestamp. The TCP server stability test method comprises the following steps: S1, establishing connection between at least one TCP client and a TCP server through Socket; s2, sending, by any TCP client, a customized constructed data packet to the TCP server according to a preset time interval through a script; s3, when the TCPserver receives a data packet sent by any TCP client, analyzing, by the TCP server, the received data packet and performing data storage based on timestamp information of the data packet; s4, analyzing, by the TCP server, the timestamp information of the data packet sent by each TCP client and the timestamp information of the data packet received by the TCP server by using a script, recording thetimestamp information of the data packet which is not received and returning the timestamp information to the corresponding TCP client; and S5, determining, by each TCP client, whether the TCP clientis normally connected with the TCP server or not by checking whether all the data packets are successfully sent or not.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method for testing the stability of a TCP server based on a time stamp. Background technique [0002] Existing TCP server test tools mainly perform TCP stability tests by setting parameters such as transmission interval and protocol type, and reflect the processing status of the TCP server by returning the amount of received data per second. During the transmission of TCP data, due to the unstable network quality, it will cause a large number of packet loss and retransmission in the network. When multiple TCP clients send data at the same time, errors may occur in the data processing of the server. However, the existing In the TCP server stability test tool, the TCP client cannot automatically perform breakpoint reconnection. During the test execution process, manual monitoring and operations are required many times, making it difficult to conduct continuous automated testing. ...

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/26H04L29/06
CPCH04L43/08H04L69/163Y02D30/50
Inventor 赵娜王晨晖吴冬冬马丽娜
Owner 北京睿芯高通量科技有限公司
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