CN112260896B - Network transmission testing method, device, equipment and readable storage medium - Google Patents

Network transmission testing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN112260896B
CN112260896B CN202011112732.1A CN202011112732A CN112260896B CN 112260896 B CN112260896 B CN 112260896B CN 202011112732 A CN202011112732 A CN 202011112732A CN 112260896 B CN112260896 B CN 112260896B
Authority
CN
China
Prior art keywords
data packet
output
network transmission
storage
network
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.)
Active
Application number
CN202011112732.1A
Other languages
Chinese (zh)
Other versions
CN112260896A (en
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.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center 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 Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202011112732.1A priority Critical patent/CN112260896B/en
Publication of CN112260896A publication Critical patent/CN112260896A/en
Application granted granted Critical
Publication of CN112260896B publication Critical patent/CN112260896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention discloses a network transmission testing method, which comprises the following steps: receiving each input data packet and performing storage operation on each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is subjected to bidirectional network transmission; searching a data packet to be discarded and a data packet to be output in each data packet from a preset input strategy table; and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device. By applying the network transmission testing method provided by the invention, the bidirectional network transmission testing of each network device is realized, the consistency of the testing condition and the real network is ensured, and the testing effect is improved. The invention also discloses a network transmission testing device, equipment and a storage medium, and has corresponding technical effects.

Description

Network transmission testing method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a network transmission testing method, apparatus, device, and computer-readable storage medium.
Background
With the continuous development of cloud computing and the increase of the geometric progression of data volume, an efficient and reliable end-to-end data transmission technology gradually becomes a key technology influencing computing performance. In the development process of various end-to-end data transmission technologies, such as the development process of Remote Direct data Access (RDMA) technology, various situations of a real network, such as packet loss, disorder, and the like, need to be simulated to check whether network transmission is reliable and efficient.
At present, a chartered plane tester is mainly used for simulating real network data to test tested equipment, the method can only carry out one-way test and cannot simultaneously carry out two-way test, the efficiency of testing a protocol containing two-way data transmission is low, the condition of real data transmission cannot be reflected, the test condition is inconsistent with the real network, and the test effect is poor.
In summary, how to effectively solve the problems that the existing network transmission test mode can only perform one-way test, cannot reflect the real data transmission condition, the test condition is inconsistent with the real network, the test effect is not good, and the like, is a problem that needs to be solved by the technicians in the field at present.
Disclosure of Invention
The invention aims to provide a network transmission test method, which realizes bidirectional network transmission test on each network device, ensures the consistency of the test condition and a real network, and improves the test effect; another object of the present invention is to provide a network transmission test apparatus, a device and a computer readable storage medium.
In order to solve the technical problems, the invention provides the following technical scheme:
a network transmission testing method is applied to FPGA simulation equipment and comprises the following steps:
receiving each input data packet and performing storage operation on each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is used for bidirectional network transmission;
searching a data packet to be discarded and a data packet to be output in each data packet from a preset input strategy table;
and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device.
In an embodiment of the present invention, performing a storing operation on each data packet includes:
performing counting storage operation on each data packet;
acquiring counting information, a storage start address and data packet length information which respectively correspond to each data packet;
and performing storage operation on each counting information, each storage starting address and each data packet length information.
In an embodiment of the present invention, searching for a to-be-discarded packet and a to-be-output packet in each of the packets from a preset input policy table includes:
and searching each data packet to be discarded and each data packet to be output from the input strategy table according to each counting information.
In a specific embodiment of the present invention, the discarding operation performed on each to-be-discarded packet includes:
storing the storage initial address and the data packet length information of each data packet to be discarded into a preset discarding record table;
and discarding each data packet to be discarded according to each storage start address and each data packet length information in the discarding record table.
In an embodiment of the present invention, performing an output operation on each to-be-output packet includes:
acquiring an output serial number of each data packet to be output;
storing the output serial number, the storage starting address and the data packet length information of each data packet to be output into a preset output strategy table;
when a preset time interval is reached, acquiring each storage starting address and each data packet length information from the output strategy table according to the output sequence number;
and reading each data packet to be output according to each storage starting address and each data packet length information, and performing output operation on each data packet to be output.
In an embodiment of the present invention, performing an output operation on each to-be-output packet includes:
acquiring a preset data packet output rate;
and carrying out output operation on each data packet to be output according to the data packet output rate.
A network transmission testing device is applied to FPGA simulation equipment and comprises:
the data packet storage module is used for receiving each input data packet and storing each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is used for bidirectional network transmission;
the data packet searching module is used for searching the data packets to be discarded and the data packets to be output in each data packet from a preset input strategy table;
and the network transmission testing module is used for discarding each data packet to be discarded and outputting each data packet to be output so as to perform bidirectional network transmission testing on each network device.
In a specific embodiment of the present invention, the data packet storage module includes:
the data packet storage submodule is used for performing counting storage operation on each data packet;
the information acquisition submodule is used for acquiring counting information, a storage initial address and data packet length information which respectively correspond to each data packet;
and the information storage submodule is used for storing each counting information, each storage starting address and each data packet length information.
A network transmission test apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network transmission testing method as described above when executing the computer program.
A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the network transmission testing method as set forth above.
The network transmission test method provided by the invention receives each input data packet and stores each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is subjected to bidirectional network transmission; searching a data packet to be discarded and a data packet to be output in each data packet from a preset input strategy table; and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device. By arranging the FPGA simulation equipment before each network device with network communication connection is established and utilizing the FPGA simulation equipment to perform packet loss and output operation on each data packet bidirectionally transmitted between the network devices, the bidirectional network transmission test of each network device is realized, the real data transmission condition is reflected, the consistency of the test condition and the real network is ensured, and the test effect is improved.
Correspondingly, the invention also provides a network transmission testing device, equipment and a computer readable storage medium corresponding to the network transmission testing method, which have the technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an implementation of a network transmission testing method according to an embodiment of the present invention;
fig. 2 is a block diagram of a network transmission system according to an embodiment of the present invention;
FIG. 3 is a block diagram of an FPGA simulation device according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another implementation of a network transmission testing method according to an embodiment of the present invention;
FIG. 5 is a block diagram of a network transmission testing apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a network transmission testing device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
referring to fig. 1, fig. 1 is a flowchart of an implementation of a network transmission testing method in an embodiment of the present invention, which is applied to an FPGA simulation device, and the method may include the following steps:
s101: and receiving each input data packet and performing storage operation on each data packet.
And each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is used for bidirectional network transmission.
Referring to fig. 2, fig. 2 is a block diagram of a network transmission system according to an embodiment of the present invention. The two tested end-to-end network devices for data transmission are connected to a Field Programmable Gate Array (FPGA) analog device through Ethernet, the first network device is connected with a first network port of the FPGA analog device, and the second network device is connected with a second network port of the FPGA analog device. Data sent by the first network equipment can be sent to the second network equipment through the FPGA simulation equipment, and data sent by the second network equipment can be sent to the first network equipment through the FPGA simulation equipment.
The FPGA simulation equipment receives each input data packet and performs storage operation on each data packet, and each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA simulation equipment and performs bidirectional network transmission. For example, to distinguish the network devices of the network devices disposed at the two ends of the FPGA analog device, the network device at one end of the FPGA analog device may be referred to as a first network device, and the network device at the other end of the FPGA analog device may be referred to as a second network device. The FPGA simulation equipment receives each data packet input by the first network equipment and/or the second network equipment and stores each data packet. That is, when only the first network device sends a data packet to the second network device, the FPGA simulation device only receives each data packet input by the first network device; when only the second network equipment sends data packets to the first network equipment, the FPGA simulation equipment only receives the data packets input by the second network equipment; when the first network equipment sends a data packet to the second network equipment and the second network equipment sends the data packet to the first network equipment, the FPGA simulation equipment receives the data packets input by the first network equipment and the second network equipment.
Referring to fig. 3, fig. 3 is a block diagram of an FPGA analog device according to an embodiment of the present invention. The FPGA accelerator card of the FPGA analog device may specifically select an aria 10 device of intel, and besides the FPGA accelerator card, the FPGA analog device further includes two 10G ethernet optical ports connected with the FPGA accelerator card, two 4GB synchronous dynamic random Access memories SDRAM, and two Media Access Control layers (MAC), and the FPGA accelerator card may be connected to a CPU of a server through a high-speed serial computer expansion bus (PCI-E).
S102: and searching the data packets to be discarded and the data packets to be output in each data packet from a preset input strategy table.
A user can configure an input policy table in the FPGA simulation equipment through software running in the server, and the input policy table comprises data packets to be discarded and data packets to be output in the data packets. The data packets to be discarded and the data packets to be output in each data packet can be searched from a preset input policy table according to the user configuration information.
S103: and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device.
And after finding out the data packets to be discarded and the data packets to be output in the data packets, discarding the data packets to be discarded, and outputting the data packets to be output, so that the bidirectional network transmission test of the network devices at two ends of the FPGA simulation equipment is realized. By arranging the FPGA simulation equipment before each network device with network communication connection is established and utilizing the FPGA simulation equipment to perform packet loss and output operation on each data packet bidirectionally transmitted between the network devices, the bidirectional network transmission test of each network device is realized, the reliability and performance of data transmission under the real network environment are reflected, the advantages of high FPGA processing speed, flexible configuration, simple structure and the like are fully utilized, the consistency of the test condition and the real network is ensured, and the test effect is improved.
The network transmission test method provided by the invention receives each input data packet and stores each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is subjected to bidirectional network transmission; searching a data packet to be discarded and a data packet to be output in each data packet from a preset input strategy table; and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device. By arranging the FPGA simulation equipment before each network device with network communication connection is established and utilizing the FPGA simulation equipment to perform packet loss and output operation on each data packet bidirectionally transmitted between the network devices, the bidirectional network transmission test of each network device is realized, the real data transmission condition is reflected, the consistency of the test condition and the real network is ensured, and the test effect is improved.
It should be noted that, based on the first embodiment, the embodiment of the present invention further provides a corresponding improvement scheme. In the following embodiments, steps that are the same as or correspond to those in the first embodiment may be referred to each other, and corresponding advantageous effects may also be referred to each other, which are not described in detail in the following modified embodiments.
Example two:
referring to fig. 4, fig. 4 is a flowchart of another implementation of the network transmission testing method in the embodiment of the present invention, which is applied to an FPGA analog device, and the method may include the following steps:
s401: incoming packets are received.
And each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is used for bidirectional network transmission.
S402: and performing counting storage operation on each data packet.
The FPGA analog device is provided with a counting component for counting each input data packet and calculating the packet length. The FPGA analog device can also be provided with a storage management component for extracting and storing idle addresses and storing each data. Therefore, counting and storing operations of the data packets are realized through the counting component and the storage management component.
S403: and acquiring counting information, a storage start address and data packet length information which respectively correspond to each data packet.
After receiving each data packet and performing storage operation on each data packet, acquiring counting information, a storage start address and data packet length information corresponding to each data packet.
S404: and storing each counting information, each storage starting address and each data packet length information.
After the counting information, the storage start address and the data packet length information corresponding to each data packet are obtained, the counting information, the storage start address and the data packet length information are stored. Therefore, effective storage management of each data packet is realized, and subsequent rapid and accurate reading of data is facilitated.
S405: and searching each data packet to be discarded and each data packet to be output from the input strategy table according to each counting information.
And in the process of testing network transmission, searching each data packet to be discarded and each data packet to be output from the input strategy table according to each counting information. For example, the data packets with the count number of 10 times, such as the 10 th data packet and the 20 th data packet, which are stored, can be preset for output operation.
S406: and storing the storage initial address and the data packet length information of each data packet to be discarded into a preset discarding record table.
And presetting a discarding record table for counting the data packets to be discarded. After finding out each data packet to be discarded and each data packet to be output, storing the storage initial address and the data packet length information of each data packet to be discarded into a preset discarding record table.
S407: and discarding each data packet to be discarded according to each storage starting address and each data packet length information in the discarding record table.
After the storage initial address and the data packet length information of each to-be-discarded data packet are stored in a preset discarding record table, discarding operation is carried out on each to-be-discarded data packet according to each storage initial address and each data packet length information in the discarding record table, and therefore network packet loss test is carried out according to preset configuration information.
S408: and acquiring the output sequence number of each data packet to be output.
The input strategy table stores the output sequence number of each data packet to be output as an output index, and the output sequence number of each data packet to be output is obtained.
S409: and storing the output serial number, the storage starting address and the data packet length information of each data packet to be output into a preset output strategy table.
After the output serial number of each data packet to be output is obtained, the output serial number, the storage starting address and the data packet length information of each data packet to be output are stored in a preset output strategy table.
S410: and when the preset time interval is reached, acquiring each storage starting address and each data packet length information from the output strategy table according to the output sequence number.
Presetting a time interval for carrying out network data output test, and acquiring each storage starting address and each data packet length information from the output strategy table according to the output sequence number when the preset time interval is reached.
It should be noted that the time interval of the data output test of the line network may be set and adjusted according to actual conditions, which is not limited in the embodiment of the present invention.
S411: and reading each data packet to be output according to each storage starting address and each data packet length information.
And after each storage starting address and each data packet length information of the data packet to be output are obtained, reading each data packet to be output according to each storage starting address and each data packet length information.
S412: and acquiring a preset data packet output rate.
And presetting the data packet output rate, and acquiring the preset data packet output rate when the data packet output operation is required.
S413: and carrying out output operation on each data packet to be output according to the data packet output rate so as to carry out bidirectional network transmission test on each network device.
And after the data packet output rate is obtained, outputting each data packet to be output according to the data packet output rate, thereby realizing the network data output test according to the pre-configured real delay time and the output rate.
The present embodiment is different from the first embodiment corresponding to the technical solution claimed in independent claim 1, and the technical solutions claimed in the dependent claims 2 to 6 are added, and of course, according to different practical situations and requirements, the technical solutions claimed in the dependent claims can be flexibly combined on the basis of not affecting the completeness of the solutions, so as to better meet the requirements of different use scenarios.
Corresponding to the above method embodiments, the present invention further provides a network transmission testing apparatus, and the network transmission testing apparatus described below and the network transmission testing method described above may be referred to in correspondence.
Referring to fig. 5, fig. 5 is a block diagram of a network transmission testing apparatus in an embodiment of the present invention, which is applied to an FPGA analog device, and the apparatus may include:
a data packet storage module 51, configured to receive each input data packet and perform storage operation on each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is subjected to bidirectional network transmission;
a packet searching module 52, configured to search a preset input policy table for a to-be-discarded packet and a to-be-output packet in each packet;
and the network transmission testing module 53 is configured to discard each to-be-discarded data packet, and output each to-be-output data packet, so as to perform a bidirectional network transmission test on each network device.
The network transmission testing device provided by the invention receives each input data packet and stores each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is subjected to bidirectional network transmission; searching a data packet to be discarded and a data packet to be output in each data packet from a preset input strategy table; and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device. By arranging the FPGA simulation equipment before each network device with network communication connection is established and utilizing the FPGA simulation equipment to perform packet loss and output operation on each data packet bidirectionally transmitted between the network devices, the bidirectional network transmission test of each network device is realized, the real data transmission condition is reflected, the consistency of the test condition and the real network is ensured, and the test effect is improved.
In an embodiment of the present invention, the data packet storage module 51 includes:
the data packet storage submodule is used for counting and storing each data packet;
the information acquisition submodule is used for acquiring counting information, a storage starting address and data packet length information which respectively correspond to each data packet;
and the information storage submodule is used for carrying out storage operation on each counting information, each storage starting address and each data packet length information.
In an embodiment of the present invention, the packet searching module 52 is a module for searching each to-be-discarded packet and each to-be-output packet from the input policy table according to each count information.
In a specific embodiment of the present invention, the network transmission testing module includes a packet discarding sub-module, and the packet discarding sub-module includes:
the first information storage unit is used for storing the storage initial address and the data packet length information of each data packet to be discarded into a preset discarding record table;
and the data packet discarding unit is used for discarding each data packet to be discarded according to each storage starting address and each data packet length information in the discarding record table.
In an embodiment of the present invention, the network transmission testing module 53 includes a data packet output sub-module, and the data packet output sub-module includes:
an output sequence number obtaining unit, configured to obtain an output sequence number of each to-be-output data packet;
the second information storage unit is used for storing the output serial number, the storage starting address and the data packet length information of each data packet to be output into a preset output strategy table;
the information acquisition unit is used for acquiring each storage starting address and each data packet length information from the output strategy table according to the output sequence number when the preset time interval is reached;
and the data packet output unit is used for reading each data packet to be output according to each storage initial address and each data packet length information and carrying out output operation on each data packet to be output.
In an embodiment of the present invention, the packet output unit includes:
the output rate acquisition subunit is used for acquiring the preset data packet output rate;
and the data packet output subunit is used for carrying out output operation on each data packet to be output according to the data packet output rate.
Corresponding to the above method embodiment, referring to fig. 6, fig. 6 is a schematic diagram of a network transmission testing device provided by the present invention, where the device may include:
a memory 61 for storing a computer program;
the processor 62, when executing the computer program stored in the memory 61, may implement the following steps:
receiving each input data packet and performing storage operation on each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is subjected to bidirectional network transmission; searching a data packet to be discarded and a data packet to be output in each data packet from a preset input strategy table; and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device.
For the introduction of the device provided by the present invention, please refer to the above method embodiment, which is not described herein again.
Corresponding to the above method embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
receiving each input data packet and performing storage operation on each data packet; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is subjected to bidirectional network transmission; searching a data packet to be discarded and a data packet to be output in each data packet from a preset input strategy table; and discarding each data packet to be discarded, and outputting each data packet to be output so as to perform bidirectional network transmission test on each network device.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (5)

1. A network transmission test method is applied to FPGA simulation equipment and is characterized by comprising the following steps:
receiving each input data packet, and performing counting storage operation on each data packet;
acquiring counting information, a storage start address and data packet length information which respectively correspond to each data packet;
performing storage operation on each counting information, each storage starting address and each data packet length information; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is used for bidirectional network transmission;
searching each data packet to be discarded and each data packet to be output from an input policy table according to each counting information;
storing the storage initial address and the data packet length information of each data packet to be discarded into a preset discarding record table;
discarding each data packet to be discarded according to each storage start address and each data packet length information in the discarding record table, and acquiring an output serial number of each data packet to be output;
storing the output serial number, the storage starting address and the data packet length information of each data packet to be output into a preset output strategy table;
when a preset time interval is reached, acquiring each storage starting address and each data packet length information from the output strategy table according to the output sequence number;
and reading each data packet to be output according to each storage starting address and each data packet length information, and performing output operation on each data packet to be output so as to perform bidirectional network transmission test on each network device.
2. The method according to claim 1, wherein the performing an output operation on each data packet to be output includes:
acquiring a preset data packet output rate;
and carrying out output operation on each data packet to be output according to the data packet output rate.
3. The utility model provides a network transmission testing arrangement which characterized in that is applied to FPGA analog device, includes:
the data packet storage module is used for counting and storing each data packet; acquiring counting information, a storage start address and data packet length information which respectively correspond to each data packet; performing storage operation on each counting information, each storage starting address and each data packet length information; each data packet is a data packet which is respectively arranged at the network equipment at the two ends of the FPGA analog equipment and is used for bidirectional network transmission;
the data packet searching module is used for searching each data packet to be discarded and each data packet to be output from the input policy table according to each counting information;
the network transmission testing module is used for storing the storage initial address and the data packet length information of each data packet to be discarded into a preset discarding record table; discarding each data packet to be discarded according to each storage start address and each data packet length information in the discarding record table, and acquiring an output serial number of each data packet to be output; storing the output serial number, the storage starting address and the data packet length information of each data packet to be output into a preset output strategy table; when a preset time interval is reached, acquiring each storage starting address and each data packet length information from the output strategy table according to the output sequence number; and reading each data packet to be output according to each storage starting address and each data packet length information, and performing output operation on each data packet to be output so as to perform bidirectional network transmission test on each network device.
4. A network transmission test apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the network transmission testing method according to any one of claims 1 to 2 when executing the computer program.
5. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the network transmission testing method according to any one of claims 1 to 2.
CN202011112732.1A 2020-10-16 2020-10-16 Network transmission testing method, device, equipment and readable storage medium Active CN112260896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011112732.1A CN112260896B (en) 2020-10-16 2020-10-16 Network transmission testing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011112732.1A CN112260896B (en) 2020-10-16 2020-10-16 Network transmission testing method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112260896A CN112260896A (en) 2021-01-22
CN112260896B true CN112260896B (en) 2022-05-10

Family

ID=74245495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011112732.1A Active CN112260896B (en) 2020-10-16 2020-10-16 Network transmission testing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112260896B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465924B (en) * 2021-12-24 2023-12-22 阿里巴巴(中国)有限公司 Network equipment testing method, data packet generating method and switching chip

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2954166A (en) * 1952-12-10 1960-09-27 Ncr Co General purpose computer
US3805243A (en) * 1971-02-22 1974-04-16 Cogar Corp Apparatus and method for determining partial memory chip categories
JPS5772341A (en) * 1980-10-24 1982-05-06 Toshiba Corp Semiconductor integrated circuit device
CN101122879A (en) * 2006-08-11 2008-02-13 英业达股份有限公司 Universal serial bus device test system and its method
CN101217312A (en) * 2008-01-11 2008-07-09 福建星网锐捷网络有限公司 An optical interface test fixture, test method and system
CN101587172A (en) * 2009-06-19 2009-11-25 中南大学 Secondary battery testing system
CN104808641A (en) * 2014-01-24 2015-07-29 通用汽车环球科技运作有限责任公司 Method of performing microprocessor alu integrity test over a distributed asynchronous serial communication network
CN106911530A (en) * 2017-01-06 2017-06-30 北京临近空间飞行器系统工程研究所 A kind of crucial test command transmission system and method based on serial ports redundancy strategy

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2016601A (en) * 2000-01-07 2001-07-16 International Business Machines Corporation Method and system for frame and protocol classification
US7076710B2 (en) * 2003-04-14 2006-07-11 International Business Machines Corporation Non-binary address generation for ABIST
CN101692647B (en) * 2009-10-12 2012-03-14 清华大学 Tunnel forwarding system in which IPv4 packets are encapsulated by IPv6 head in router
CN103532931B (en) * 2013-09-24 2017-01-25 北京星网锐捷网络技术有限公司 Method and system for testing transmission performance of data stream, and server
CN104734909A (en) * 2015-01-23 2015-06-24 北京奥普维尔科技有限公司 Network bio-directional testing method
CN107579869B (en) * 2016-07-04 2020-09-08 华为技术有限公司 Network performance detection method and network equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US2954166A (en) * 1952-12-10 1960-09-27 Ncr Co General purpose computer
US3805243A (en) * 1971-02-22 1974-04-16 Cogar Corp Apparatus and method for determining partial memory chip categories
JPS5772341A (en) * 1980-10-24 1982-05-06 Toshiba Corp Semiconductor integrated circuit device
CN101122879A (en) * 2006-08-11 2008-02-13 英业达股份有限公司 Universal serial bus device test system and its method
CN101217312A (en) * 2008-01-11 2008-07-09 福建星网锐捷网络有限公司 An optical interface test fixture, test method and system
CN101587172A (en) * 2009-06-19 2009-11-25 中南大学 Secondary battery testing system
CN104808641A (en) * 2014-01-24 2015-07-29 通用汽车环球科技运作有限责任公司 Method of performing microprocessor alu integrity test over a distributed asynchronous serial communication network
CN106911530A (en) * 2017-01-06 2017-06-30 北京临近空间飞行器系统工程研究所 A kind of crucial test command transmission system and method based on serial ports redundancy strategy

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Investigating_Randomness_of_the_LZSS_Compression_Algorithm》;Weiling Chang;《IEEE》;20121231;全文 *
《基于区块链和连续双向拍卖机制的微电网直接交易模式及策略_王健》;王健;《中 国 电 机 工 程 学 报》;20180905;全文 *

Also Published As

Publication number Publication date
CN112260896A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US20230080588A1 (en) Mqtt protocol simulation method and simulation device
CN112260896B (en) Network transmission testing method, device, equipment and readable storage medium
CN113377596A (en) Method for storing and reading waveform data and related device
CN104780019A (en) Method for storing optical fiber communication data
CN109062820A (en) A kind of software performance testing method and device
CN107025146A (en) A kind of document generating method, device and system
CN108667706B (en) Ethernet serial server with dynamically adjustable serial number and data transmission method thereof
CN112422485B (en) Communication method and device of transmission control protocol
Chai et al. Modeling and distributed simulation of a broadband-isdn network
CN110708209B (en) Virtual machine flow acquisition method and device, electronic equipment and storage medium
CN110932879B (en) Network performance test method, data processing device and storage medium
CN105656794A (en) Data distribution method and device
CN109120731B (en) Universal communication method, system and device
CN112214429B (en) Data transmission device and method based on SRIO
CN112134750B (en) Network time protocol pressure test method and device
CN101873198B (en) Method and device for constructing network data packet
CN102546290B (en) Testing device for testing TCP (Transmission Control Protocol) concurrent connection under 10Gbps network flow
CN114490202B (en) Password equipment testing method and device, electronic equipment and storage medium
CN116048893B (en) Method for testing optical fiber bus interface and related equipment
CN211857459U (en) Debugging system of FPGA system
CN117687889B (en) Performance test device and method for memory expansion equipment
CN112187568B (en) Message transmission method, device and system
CN116233907B (en) AP performance detection method and detection system based on simulation multi-concurrent STA
CN115002133B (en) Data transmission determining method and device based on multiple interfaces
Li et al. The memory architecture design of FC-AE-1553 chip

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant