Data packet playback method and device

A data packet and data technology, applied in the field of communication, can solve the problem of low efficiency of data packet transmission

Active Publication Date: 2019-07-05
SHANGHAI EMBEDWAY INFORMATION TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a data packet playback method and device, which solves the problem of low data packet transmission efficiency in the prior art

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
  • Data packet playback method and device
  • Data packet playback method and device
  • Data packet playback method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0047] refer to figure 1 , which shows a schematic flowchart of a data packet playback method provided by an embodiment of the present invention. In this embodiment, the method includes:

[0048] S101: Determine the memory size of a unit memory block when the disk I / O performance is optimal;

[0049] In this embodiment, when performing data packet playback, it is necessary to read relevant data packets in the disk, and the speed of data packet reading is rela...

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 data packet playback method and device, and the method comprises the steps: firstly, determining the memory size of a unit memory block when the I / O performance of a disk is optimal when the data packet playback is executed; reading data in a to-be-sent data packet in the disk according to the size of a unit memory block; wherein the size of the data readeach time is the same as the memory size of the unit memory block; and finally, sending the read data in the form of a data packet. Therefore, in the embodiment, the performance of the disk I / O is considered, the data in the data packet in the disk is read according to the memory size of the optimal unit memory block, the efficiency of reading the data from the disk is improved, and then the datatransmission efficiency during data packet playback is improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a data packet playback method and device. Background technique [0002] With the continuous development of the network, the data traffic that communication equipment can handle per second increases. For example: device A claims to have 40Gbps processing performance, device B claims to have 100Gbps processing performance. In order to ensure the processing capabilities of different devices, network testing is also required. In addition to sending customized traffic tests in the network testing environment, the captured real traffic should also be used to test communication devices at a higher rate to ensure complete functional performance. sex. [0003] Wherein, the data packet playback is a very important step of the network test. In the prior art, the tcpreplay tool is usually used to play back the data packets. However, when the tcpreplay tool is playing back d...

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
IPC IPC(8): H04L12/26G06F9/50
CPCH04L43/50G06F9/5016
Inventor 徐春晓
Owner SHANGHAI EMBEDWAY INFORMATION TECH
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