CN104683175A - Method and testing device for network performance testing - Google Patents
Method and testing device for network performance testing Download PDFInfo
- Publication number
- CN104683175A CN104683175A CN201310643215.0A CN201310643215A CN104683175A CN 104683175 A CN104683175 A CN 104683175A CN 201310643215 A CN201310643215 A CN 201310643215A CN 104683175 A CN104683175 A CN 104683175A
- Authority
- CN
- China
- Prior art keywords
- packet
- channel
- passage
- data packets
- speed
- 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.)
- Granted
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种网络性能测试的方法及测试装置。The invention relates to the technical field of communication, in particular to a method and a testing device for network performance testing.
背景技术Background technique
网络性能测试仪,例如IP(Internet Protocol,网际协议)测试仪,是对网络设备,例如交换机、路由器、防火墙等,进行性能测试的仪器。测试项目包括吞吐量、延时、丢包等。目前的IP测试仪在对设备进行性能测试时,判断被测设备是否丢包的方法是:在数据包收发一段时间后,手动停止测试仪,然后比较测试仪收发数据包的个数,根据收发数据包是否相等,以及相差的个数,判断被测设备在一定时间内是否丢包,以及总体丢包的个数。A network performance tester, such as an IP (Internet Protocol, Internet Protocol) tester, is an instrument for performing performance tests on network devices, such as switches, routers, firewalls, etc. Test items include throughput, delay, packet loss, etc. When the current IP tester performs a performance test on the device, the method for judging whether the device under test loses packets is: after sending and receiving data packets for a period of time, manually stop the tester, and then compare the number of data packets sent and received by the tester. Whether the data packets are equal, and the number of differences, determine whether the device under test loses packets within a certain period of time, and the overall number of packets lost.
这样,IP测试仪必须中断测试,才能判断被测设备是否丢包和总体丢包的个数,而且也不能获得发生丢包的各个时间点和对应的丢包个数。从而在对被测设备问题定位时,带来很大不便。In this way, the IP tester must interrupt the test to determine whether the device under test loses packets and the total number of lost packets, and it cannot obtain each time point at which packet loss occurs and the corresponding number of lost packets. Therefore, when locating the problem of the device under test, it brings great inconvenience.
发明内容Contents of the invention
本发明的实施例提供一种网络性能测试的方法及测试装置,能够解决IP测试仪不能获得发生丢包的各个时间点和对应的丢包个数,从而在对被测设备问题定位时,带来很大不便的问题。Embodiments of the present invention provide a method and a test device for network performance testing, which can solve the problem that the IP tester cannot obtain the time points at which packet loss occurs and the corresponding number of packet loss, so that when locating the problem of the device under test, it is possible to It's a big inconvenience.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,本发明的实施例提供一种测试装置,包括:In a first aspect, an embodiment of the present invention provides a test device, comprising:
调整单元,用于在第一预设时间内将所述第一通道发送数据包的速率由端口速率逐步降低至零,并同步将第二通道发送数据包的速率逐步由零提高至所述端口速率,其中所述第一通道发送数据包的速率与所述第二通道发送数据包的速率之和为所述端口速率;The adjustment unit is used to gradually reduce the rate of sending data packets of the first channel from the port rate to zero within the first preset time, and gradually increase the rate of sending data packets of the second channel from zero to the port synchronously rate, wherein the sum of the rate at which the first channel sends data packets and the rate at which the second channel sends data packets is the port rate;
统计单元,用于统计所述第一预设时间内所述第一通道的发送端发出数据包的数量与所述第一通道的接收端接收数据包的数量;A statistical unit, configured to count the number of data packets sent by the sending end of the first channel and the number of data packets received by the receiving end of the first channel within the first preset time;
告警单元,当所述统计单元统计的所述第一通道的发送端发出数据包的数量与所述统计单元统计的所述第一通道的接收端接收数据包的数量不相等时,发出告警信息并生成日志记录。An alarm unit, when the number of data packets sent by the sending end of the first channel counted by the statistical unit is not equal to the number of data packets received by the receiving end of the first channel counted by the statistical unit, an alarm message is sent and generate log records.
结合第一方面,在第一方面的第一种可能的实现方式中,所述告警单元发出的所述告警信息包括丢包数量和发生丢包的时间信息,所述丢包数量为所述第一通道的接收端接收数据包的数量与所述第一通道的发送端发出数据包的数量之间的差值,所述发生丢包的时间信息包括所述第一通道开始发送数据包的时刻与所述第一通道停止发送数据包的时刻。With reference to the first aspect, in a first possible implementation manner of the first aspect, the alarm information sent by the alarm unit includes the number of packet loss and time information when packet loss occurs, and the number of packet loss is the first The difference between the number of data packets received by the receiving end of a channel and the number of data packets sent by the sending end of the first channel, and the time information of packet loss includes the moment when the first channel starts sending data packets The moment at which the first channel stops sending packets.
结合第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述数据包的帧结构中包括用于区分所述第一通道和所述第二通道的区分标识。With reference to the first aspect or the first possible implementation of the first aspect, in a second possible implementation of the first aspect, the frame structure of the data packet includes a The distinguishing mark of the second channel.
结合第一方面或第一方面的任一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述第一通道和所述第二通道各自独立发送和接收数据包。With reference to the first aspect or any possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the first channel and the second channel send and receive data packets independently.
结合第一方面或第一方面的任一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述调整单元,还用于在第二预设时间内将所述第二通道发送数据包的速率由端口速率逐步降低至零,并同步将第一通道发送数据包的速率逐步由零提高至所述端口速率;With reference to the first aspect or any possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the adjustment unit is further configured to set the first The rate at which the two channels send data packets is gradually reduced from the port rate to zero, and the rate at which the first channel sends data packets is gradually increased from zero to the port rate synchronously;
所述统计单元,还用于统计所述第二预设时间内所述第二通道的发送端发出数据包的数量与所述第二通道的接收端接收数据包的数量;The statistical unit is also used to count the number of data packets sent by the sending end of the second channel and the number of data packets received by the receiving end of the second channel within the second preset time;
所述告警单元,用于当所述统计单元统计的所述第二通道的发送端发出数据包的数量与所述统计单元统计的所述第二通道的接收端接收数据包的数量不相等时,发出告警信息并生成日志记录。The alarm unit is used for when the number of data packets sent by the sending end of the second channel counted by the statistical unit is not equal to the number of data packets received by the receiving end of the second channel counted by the statistical unit , issue an alert message and generate a log record.
第二方面,本发明的实施例提供一种网络性能测试的方法,包括:In a second aspect, embodiments of the present invention provide a method for network performance testing, including:
在第一预设时间内将所述第一通道发送数据包的速率由端口速率逐步降低至零,并同步将第二通道发送数据包的速率逐步由零提高至所述端口速率,其中所述第一通道发送数据包的速率与所述第二通道发送数据包的速率之和为所述端口速率;Gradually reduce the rate of sending data packets of the first channel from the port rate to zero within the first preset time, and gradually increase the rate of sending data packets of the second channel from zero to the port rate synchronously, wherein the The sum of the rate at which the first channel sends data packets and the rate at which the second channel sends data packets is the port rate;
统计所述第一预设时间内所述第一通道的发送端发出数据包的数量与所述第一通道的接收端接收数据包的数量;counting the number of data packets sent by the sending end of the first channel and the number of data packets received by the receiving end of the first channel within the first preset time;
当所述第一通道的发送端发出数据包的数量与所述第一通道的接收端接收数据包的数量不相等时,发出告警信息并生成日志记录。When the number of data packets sent by the sending end of the first channel is not equal to the number of data packets received by the receiving end of the first channel, an alarm message is issued and a log record is generated.
结合第二方面,在第二方面的第一种可能的实现方式中,所述告警信息包括丢包数量和发生丢包的时间信息,所述丢包数量为所述第一通道的接收端接收数据包的数量与所述第一通道的发送端发出数据包的数量之间的差值,所述发生丢包的时间信息包括所述第一通道开始发送数据包的时刻与所述第一通道停止发送数据包的时刻。With reference to the second aspect, in a first possible implementation manner of the second aspect, the alarm information includes the number of packet loss and the time information when the packet loss occurs, and the number of packet loss is received by the receiving end of the first channel. The difference between the number of data packets and the number of data packets sent by the sending end of the first channel, the time information of packet loss includes the time when the first channel starts to send data packets and the time when the first channel starts to send data packets Time to stop sending packets.
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述数据包的帧结构中包括用于区分所述第一通道和所述第二通道的区分标识。With reference to the second aspect or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the frame structure of the data packet includes an The distinguishing mark of the second channel.
结合第二方面或第二方面的任一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述第一通道和所述第二通道各自独立发送和接收数据包。With reference to the second aspect or any possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the first channel and the second channel send and receive data packets independently.
结合第二方面或第二方面的任一种可能的实现方式,在第二方面的第四种可能的实现方式中,当所述第一通道的发送端发出数据包的数量与所述第一通道的接收端接收数据包的数量不相等时,在所述发出告警信息并生成日志记录之后,所述方法还包括:In combination with the second aspect or any possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, when the number of data packets sent by the sending end of the first channel is equal to that of the first When the number of data packets received by the receiving end of the channel is not equal, after the alarm information is sent and the log record is generated, the method further includes:
在第二预设时间内将所述第二通道发送数据包的速率由端口速率逐步降低至零,并同步将第一通道发送数据包的速率逐步由零提高至所述端口速率;Gradually reduce the rate at which data packets are sent by the second channel from the port rate to zero within a second preset time, and synchronously increase the rate at which data packets are sent by the first channel from zero to the port rate;
统计所述第二预设时间内所述第二通道的发送端发出数据包的数量与所述第二通道的接收端接收数据包的数量;Counting the number of data packets sent by the sending end of the second channel and the number of data packets received by the receiving end of the second channel within the second preset time;
当所述第二通道的发送端发出数据包的数量与所述第二通道的接收端接收数据包的数量不相等时,发出告警信息并生成日志记录。When the number of data packets sent by the sending end of the second channel is not equal to the number of data packets received by the receiving end of the second channel, an alarm message is issued and a log record is generated.
本发明实施例提供的一种网络性能测试的方法及测试装置,与现有技术中,测试装置不能实时统计具体丢包个数和丢包时间点相比,本发明中在测试装置中设置两条流量收发通道,在预设时间内统计一条通道发送和接收的数据包数量,如果数量不相等,测试装置发出告警并生成日志记录。因为设置两条通道,所以可以让一条通道暂停收发数据包,并获取该通道内的丢包信息以及丢包时间点,而与此同时,另一条通道继续测试,这样两条通道交替使用,不用中断测试,就可以实时获取到被测设备的丢包信息以及丢包时间点,方便测试人员对被测设备的问题定位。The embodiment of the present invention provides a network performance test method and test device. Compared with the prior art, the test device cannot count the number of lost packets and the time point of packet loss in real time. In the present invention, two It can count the number of data packets sent and received by a channel within a preset time. If the numbers are not equal, the test device will send out an alarm and generate a log record. Because two channels are set, one channel can suspend sending and receiving data packets, and obtain packet loss information and packet loss time points in this channel, while at the same time, the other channel continues to test, so that the two channels are used alternately, without After the test is interrupted, the packet loss information of the device under test and the time point of packet loss can be obtained in real time, which is convenient for the tester to locate the problem of the device under test.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1为本发明实施例提供的一种测试装置结构框图;Fig. 1 is a structural block diagram of a test device provided by an embodiment of the present invention;
图2为本发明实施例提供的一种网络性能测试方法流程图;FIG. 2 is a flowchart of a network performance testing method provided by an embodiment of the present invention;
图3为本发明实施例提供的另一测试装置结构框图;FIG. 3 is a structural block diagram of another testing device provided by an embodiment of the present invention;
图4为本发明实施例提供的另一网络性能测试方法流程图;FIG. 4 is a flow chart of another network performance testing method provided by an embodiment of the present invention;
图5为本发明实施例提供的数据包标识位示意图;FIG. 5 is a schematic diagram of a data packet identification bit provided by an embodiment of the present invention;
图6为本发明实施例提供的接收数据包的方法流程图;FIG. 6 is a flowchart of a method for receiving data packets provided by an embodiment of the present invention;
图7为本发明实施例提供的测试装置结构示意图。Fig. 7 is a schematic structural diagram of a test device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。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.
本发明实施例提供一种测试装置10,如图1所示,所述测试装置10包括:The embodiment of the present invention provides a test device 10, as shown in Figure 1, the test device 10 includes:
调整单元11,用于在第一预设时间内将所述第一通道发送数据包的速率由端口速率逐步降低至零,并同步将第二通道发送数据包的速率逐步由零提高至所述端口速率,其中所述第一通道发送数据包的速率与所述第二通道发送数据包的速率之和为所述端口速率;The adjusting unit 11 is used to gradually reduce the rate of sending data packets of the first channel from the port rate to zero within the first preset time, and synchronously increase the rate of sending data packets of the second channel from zero to the said rate. Port rate, wherein the sum of the rate at which the first channel sends data packets and the rate at which the second channel sends data packets is the port rate;
其中,所述端口速率为测试装置10通过测试装置10与被测设备连接的端口,向被测设备发送数据包的速率;所述端口速率可以由用户设置,在测试过程中端口速率保持不变。Wherein, the port rate is the rate at which the test device 10 sends data packets to the device under test through the port through which the test device 10 is connected to the device under test; the port rate can be set by the user, and the port rate remains unchanged during the test .
统计单元12,用于统计所述第一预设时间内所述第一通道的发送端发出数据包的数量与所述第一通道的接收端接收数据包的数量;A statistical unit 12, configured to count the number of data packets sent by the sending end of the first channel and the number of data packets received by the receiving end of the first channel within the first preset time;
告警单元13,用于当所述统计单元12统计的所述第一通道的发送端发出数据包的数量与所述统计单元12统计的所述第一通道的接收端接收数据包的数量不相等时,发出告警信息并生成日志记录。The alarm unit 13 is used for when the number of data packets sent by the sending end of the first channel counted by the statistical unit 12 is not equal to the number of data packets received by the receiving end of the first channel counted by the statistical unit 12 , an alarm message is issued and a log record is generated.
其中,所述告警单元13发出的所述告警信息包括丢包数量和发生丢包的时间信息,所述丢包数量为所述第一通道的接收端接收数据包的数量与所述第一通道的发送端发出数据包的数量之间的差值,所述发生丢包的时间信息包括所述第一通道开始发送数据包的时刻与所述第一通道停止发送数据包的时刻。所述数据包的帧结构中包括用于区分所述第一通道和所述第二通道的区分标识。所述第一通道和所述第二通道各自独立发送和接收数据包。Wherein, the alarm information sent by the alarm unit 13 includes the number of packet loss and the time information of packet loss, and the number of packet loss is the number of data packets received by the receiving end of the first channel and the number of packets received by the first channel. The difference between the number of data packets sent by the sending end, the time information of packet loss includes the time when the first channel starts sending data packets and the time when the first channel stops sending data packets. The frame structure of the data packet includes a distinguishing identifier for distinguishing the first channel from the second channel. The first channel and the second channel independently send and receive data packets.
进一步的,所述调整单元11,还用于在第二预设时间内将所述第二通道发送数据包的速率由端口速率逐步降低至零,并同步将第一通道发送数据包的速率逐步由零提高至所述端口速率;Further, the adjusting unit 11 is further configured to gradually reduce the rate of sending data packets of the second channel from the port rate to zero within a second preset time, and synchronously gradually reduce the rate of sending data packets of the first channel to zero. increase from zero to the port speed;
所述统计单元12,还用于统计所述第二预设时间内所述第二通道的发送端发出数据包的数量与所述第二通道的接收端接收数据包的数量;The statistical unit 12 is further configured to count the number of data packets sent by the sending end of the second channel and the number of data packets received by the receiving end of the second channel within the second preset time;
所述告警单元13,用于当所述统计单元12统计的所述第二通道的发送端发出数据包的数量与所述统计单元12统计的所述第二通道的接收端接收数据包的数量不相等时,发出告警信息并生成日志记录。The alarm unit 13 is used for when the number of data packets sent by the sending end of the second channel counted by the statistical unit 12 is the same as the number of data packets received by the receiving end of the second channel counted by the statistical unit 12 When not equal, a warning message is issued and a log record is generated.
本发明实施例中,测试装置10中包括两条通道,在预设时间内统计当前通道发送和接收的数据包数量,如果数量不相等,测试装置10发出告警并生成日志记录。因为设置两条通道,所以可以让一条通道暂停收发数据包,并获取该通道内的丢包信息以及丢包时间点,而与此同时,另一条通道继续测试,这样两条通道交替使用,不用中断测试,就可以实时获取到被测设备的丢包信息以及丢包时间点,解决了现有技术中不能获得发生丢包的各个时间点和对应的丢包个数,在对被测设备问题定位时,带来很大不便的问题。通过解决上述技术问题,能够方便测试人员对被测设备的问题定位。In the embodiment of the present invention, the test device 10 includes two channels, counts the number of data packets sent and received by the current channel within a preset time, and if the numbers are not equal, the test device 10 issues an alarm and generates a log record. Because two channels are set, one channel can suspend sending and receiving data packets, and obtain packet loss information and packet loss time points in this channel, while at the same time, the other channel continues to test, so that the two channels are used alternately, without By interrupting the test, the packet loss information of the device under test and the time point of packet loss can be obtained in real time, which solves the problem of not being able to obtain each time point of packet loss and the corresponding number of packet loss in the prior art. When positioning, it brings great inconvenience. By solving the above technical problems, it is convenient for testers to locate the problem of the device under test.
本发明实施例提供一种网络性能测试的方法,由测试装置执行,用于对网络设备,例如交换机、路由器、防火墙等进行测试,所述测试装置中至少包括第一通道和第二通道,如图2所示,所述方法包括:An embodiment of the present invention provides a method for network performance testing, which is executed by a testing device for testing network devices, such as switches, routers, firewalls, etc., wherein the testing device includes at least a first channel and a second channel, such as As shown in Figure 2, the method includes:
201、测试装置在第一预设时间内将第一通道发送数据包的速率由端口速率逐步降低至零,并同步将第二通道发送数据包的速率逐步由零提高至端口速率。201. The test device gradually reduces the rate of data packets sent by the first channel from the port rate to zero within a first preset time, and synchronously increases the rate of data packets sent by the second channel from zero to the port rate.
其中,第一通道发送数据包的速率与第二通道发送数据包的速率之和为端口速率。所述端口速率为测试装置通过测试装置与被测设备连接的端口,向被测设备发送数据包的速率;所述端口速率可以由用户设置,在测试过程中端口速率保持不变。Wherein, the sum of the rate at which data packets are sent by the first channel and the rate at which data packets are sent by the second channel is the port rate. The port rate is the rate at which the test device sends data packets to the device under test through the port through which the test device is connected to the device under test; the port rate can be set by the user, and the port rate remains unchanged during the test.
202、测试装置统计第一预设时间内第一通道的发送端发出数据包的数量与第一通道的接收端接收数据包的数量。202. The test device counts the number of data packets sent by the sending end of the first channel and the number of data packets received by the receiving end of the first channel within a first preset time period.
203、当第一通道的发送端发出数据包的数量与第一通道的接收端接收数据包的数量不相等时,测试装置发出告警信息并生成日志记录。203. When the number of data packets sent by the sending end of the first channel is not equal to the number of data packets received by the receiving end of the first channel, the testing device sends an alarm message and generates a log record.
其中,告警信息包括丢包数量和发生丢包的时间信息,丢包数量为第一通道的接收端接收数据包的数量与第一通道的发送端发出数据包的数量之间的差值,发生丢包的时间信息包括第一通道开始发送数据包的时刻与所述第一通道停止发送数据包的时刻。数据包的帧结构中包括用于区分第一通道和第二通道的区分标识。第一通道和第二通道各自独立发送和接收数据包。Among them, the alarm information includes the number of packet loss and the time information of packet loss. The number of packet loss is the difference between the number of data packets received by the receiving end of the first channel and the number of data packets sent by the sending end of the first channel. The packet loss time information includes the moment when the first channel starts to send the data packet and the moment when the first channel stops sending the data packet. The frame structure of the data packet includes a distinguishing identifier for distinguishing the first channel from the second channel. The first channel and the second channel send and receive data packets independently.
需要说明的是,在测试装置发出告警信息并生成日志记录后,测试装置在第二预设时间内将第二通道发送数据包的速率由端口速率逐步降低至零,并同步将第一通道发送数据包的速率逐步由零提高至所述端口速率;然后统计第二预设时间内第二通道的发送端发出数据包的数量与第二通道的接收端接收数据包的数量;当第二通道的发送端发出数据包的数量与第二通道的接收端接收数据包的数量不相等时,发出告警信息并生成日志记录。It should be noted that after the test device sends out an alarm message and generates a log record, the test device will gradually reduce the rate of data packets sent by the second channel from the port rate to zero within the second preset time, and simultaneously send the first channel The rate of data packets is gradually increased from zero to the port rate; then count the number of data packets sent by the sending end of the second channel and the number of data packets received by the receiving end of the second channel within the second preset time; when the second channel When the number of data packets sent by the sending end of the channel is not equal to the number of data packets received by the receiving end of the second channel, an alarm message is issued and a log record is generated.
本发明实施例中,测试装置中包括两条通道,在预设时间内统计当前通道发送和接收的数据包数量,如果数量不相等,测试装置发出告警并生成日志记录。因为设置两条通道,所以可以让一条通道暂停收发数据包,并获取该通道内的丢包信息以及丢包时间点,而与此同时,另一条通道继续测试,这样两条通道交替使用,不用中断测试,就可以实时获取到被测设备的丢包信息以及丢包时间点,解决了现有技术中不能获得发生丢包的各个时间点和对应的丢包个数,在对被测设备问题定位时,带来很大不便的问题。通过解决上述技术问题,能够方便测试人员对被测设备的问题定位。In the embodiment of the present invention, the test device includes two channels, and counts the number of data packets sent and received by the current channel within a preset time. If the numbers are not equal, the test device sends an alarm and generates a log record. Because two channels are set, one channel can suspend sending and receiving data packets, and obtain packet loss information and packet loss time points in this channel, while at the same time, the other channel continues to test, so that the two channels are used alternately, without By interrupting the test, the packet loss information of the device under test and the time point of packet loss can be obtained in real time, which solves the problem of not being able to obtain each time point of packet loss and the corresponding number of packet loss in the prior art. When positioning, it brings great inconvenience. By solving the above technical problems, it is convenient for testers to locate the problem of the device under test.
本发明实施例提供一种网络性能测试的方法,用于测试装置,该测试装置主要用于对交换机、路由器、防火墙等网络设备进行测试,如图3所示,测试装置与被测设备以数据线相连,在测试装置中设置两条流量收发数据包的通道:通道A和通道B。第一通道可以为通道A或通道B,本发明实施例以第一通道为通道A为例。数据包发送端通过两条通道分别发送A和B两种数据包,接收端分别接收两种数据包,数据包A和数据包B传输过程相互独立。如图4所示,所述方法包括:The embodiment of the present invention provides a method for testing network performance, which is used for a test device. The test device is mainly used for testing network equipment such as switches, routers, and firewalls. As shown in FIG. 3 , the test device and the device under test use data Two channels for sending and receiving data packets are set in the test device: channel A and channel B. The first channel may be channel A or channel B. In this embodiment of the present invention, the first channel is channel A as an example. The sending end of the data packet sends two kinds of data packets A and B respectively through two channels, and the receiving end receives the two kinds of data packets respectively, and the transmission process of data packet A and data packet B is independent of each other. As shown in Figure 4, the method includes:
301、测试装置清零所有寄存器的数据。301. The test device clears the data of all registers.
其中,在测试装置开始进行设备性能测试时,需要将所有寄存器的数据清零,以保证测试过程数据记录的准确性。Wherein, when the test device starts to perform the equipment performance test, the data of all registers need to be cleared to ensure the accuracy of data records during the test.
302、测试装置发送和接收数据包。302. The test device sends and receives data packets.
可选的,在测试装置进行设备性能测试,开始发包时,只能由单条流量通道发送数据包,可以通过软件设计默认通道A和通道B中的一条流量先发送数据包,也可以通过用户手动选择通道A和通道B中的一条流量先发送数据包。Optionally, when the device performance test is performed on the test device, only a single traffic channel can send the data packet when the packet is sent. The software can design the default channel A and channel B to send the data packet first, or the user can manually send the data packet. Select one of the flows in channel A and channel B to send data packets first.
其中,测试装置有一套收发装置,在发送的数据包A和数据包B时,在数据包的结构中加入了用于区分的标识,在接收数据包时,要对接受的数据包的标识进行判断,然后将数据包发送到相应的接收端。Wherein, the test device has a set of transceiver device, when sending the data packet A and data packet B, in the structure of the data packet, an identification for distinguishing is added, and when receiving the data packet, the identification of the accepted data packet shall be checked. Judgment, and then send the data packet to the corresponding receiver.
例如,如图5所示,本发明实施例中,测试装置通过软件在数据包的帧结构中加入区分数据包A和数据包B的标识位1、0,即属于通道A的数据包A,在帧结构中加入标识1;属于通道B的数据包B,在帧结构中加入标识0。如图6所示,测试装置在接收数据包时,根据数据包标识,分别接收。For example, as shown in Figure 5, in the embodiment of the present invention, the test device adds identification bits 1 and 0 to distinguish between data packet A and data packet B in the frame structure of the data packet through software, that is, the data packet A belonging to channel A, Add flag 1 to the frame structure; add flag 0 to the frame structure for data packet B belonging to channel B. As shown in FIG. 6 , when receiving data packets, the test device receives them respectively according to the identifiers of the data packets.
可选的,测试装置还可以增加一套收发装置,通过两套收发装置发送不同的数据包,用来区分通道A和通道B中收发的数据包。Optionally, the test device can also add a set of transceiver devices, and send different data packets through the two sets of transceiver devices to distinguish the data packets sent and received in channel A and channel B.
需要说明的是,测试装置在两通道的数据包发送端和接收端都有寄存器,分别对发送和接收的数据包进行计数。测试装置发送数据包的速率为设置的端口速率,端口为测试装置与被测设备连接的端口。用户可以对端口速率进行设置,且在测试过程中端口速率保持不变。It should be noted that the test device has registers at the sending end and the receiving end of the data packets of the two channels, and counts the data packets sent and received respectively. The rate at which the test device sends data packets is the set port rate, and the port is the port through which the test device is connected to the device under test. The user can set the port rate, and the port rate remains unchanged during the test.
303、测试装置在开始发送数据包后,延时时间Tchk。303. After the test device starts to send the data packet, delay time Tchk.
其中,测试装置开始发送数据包,经过时间Tchk后,判断当前发送数据包的通道,执行步骤304。Tchk为测试装置设置的自动判断工作通道的时间间隔,可以由用户手动设置。Wherein, the test device starts to send data packets, and after time Tchk, judges the current channel for sending data packets, and executes step 304 . Tchk is the time interval for automatically judging the working channel set by the test device, which can be manually set by the user.
304、测试装置确定当前发送数据包的通道。304. The testing device determines the channel through which the data packet is currently sent.
其中,测试装置可以通过当前发送的数据包类型判断当前发送数据包的通道。Wherein, the test device can determine the channel through which the data packet is currently sent according to the type of the currently sent data packet.
需要说明的是,本发明实施例中,以测试装置确定的当前发送数据包的通道是通道A为例。It should be noted that, in the embodiment of the present invention, it is taken that the current channel for sending data packets determined by the test device is channel A as an example.
305、测试装置减少通道A发送数据包的速率,增加通道B发送数据包的速率。305. The test device reduces the rate at which channel A sends data packets, and increases the rate at which channel B sends data packets.
其中,在测试装置判断当前发送数据包的通道为通道A后,通过软件减少通道A发送数据包的速率,同时增加通道B发送数据包的速率。Wherein, after the test device judges that the current channel for sending data packets is channel A, the rate of sending data packets of channel A is reduced by software, and the rate of sending data packets of channel B is increased at the same time.
需要说明的是,测试装置在通过软件改变通道A和通道B发送数据包速率的过程中,两通道发送数据包的速率之和为测试装置端口的发送数据包速率,且测试装置端口的发送数据包速率保持不变。It should be noted that when the test device changes the sending data packet rate of channel A and channel B through software, the sum of the sending data packet rates of the two channels is the sending data packet rate of the test device port, and the sending data packet rate of the test device port The packet rate remains the same.
306、测试装置判断通道A发送和接收数据包A的速率是否为零,若通道A发送和接收数据包A的速率为零,则执行步骤308;否则,执行步骤307。306. The test device judges whether the rate at which channel A sends and receives data packet A is zero, and if the rate at which channel A sends and receives data packet A is zero, execute step 308; otherwise, execute step 307.
307、测试装置延时t2。307. The testing device delays by t2.
其中,测试装置通过软件设计延时t2后,重复执行步骤306。Wherein, the test device repeatedly executes step 306 after a delay of t2 through software design.
308、测试装置延时t1后,读取通道A发送端和接收端寄存器的数据,并计算发送数据包A和接收数据包A个数的差值ΔA。308. After a delay of t1, the test device reads the data of the registers at the sending end and the receiving end of channel A, and calculates the difference ΔA between the number of sent data packets A and the number of received data packets A.
其中,测试装置判断通道A发送和接收数据包A的速率是否为零,如果通道A发送和接收数据包A的速率为零,则需要延时t1,以便尽可能接收到传输过程中所有的数据包。测试装置在通道A发送端和接收端寄存器中记录了发送和接收数据包A的个数。在读取寄存器的数据后,计算发送数据包A和接收数据包A个数的差值ΔA。Among them, the test device judges whether the rate at which channel A sends and receives data packet A is zero, and if the rate at which channel A sends and receives data packet A is zero, a delay of t1 is required so as to receive all the data in the transmission process as much as possible Bag. The test device records the number of sent and received data packets A in the channel A sender and receiver registers. After reading the data in the register, calculate the difference ΔA between the number of sent data packets A and received data packets A.
需要说明的是,用户可以通过被测设备的实际状况,设置t1的大小。It should be noted that the user can set the size of t1 according to the actual condition of the device under test.
309、测试装置判断ΔA是否为零,若ΔA不为零,则执行步骤310;否则,执行步骤311。309 . The testing device judges whether ΔA is zero, and if ΔA is not zero, execute step 310 ; otherwise, execute step 311 .
其中,测试装置判断ΔA是否为零,若ΔA不为零,则通道A发送数据包A和接收数据包A个数不相等,执行步骤310;若ΔA为零,则通道A发送数据包A和接收数据包A个数相等,执行步骤311。Wherein, the test device judges whether ΔA is zero, if ΔA is not zero, the number of data packets A sent by channel A and the number of received data packets A are not equal, and step 310 is performed; if ΔA is zero, then channel A sends data packets A and If the number of received data packets A is equal, step 311 is executed.
310、测试装置发出告警信息并生成日志记录。310. The testing device sends out an alarm message and generates a log record.
其中,测试装置判断通道A发送数据包A和接收数据包A个数不相等后,发出告警,告警信息包括告警时间和ΔA。本发明实施例对测试装置告警的实现方式不做限定,可以是本领域技术人员所熟知的任意实现方式。同时,测试装置将告警信息生成日志记录,以便测试人员查看。Wherein, after the test device judges that the number of sent data packets A and received data packets A of channel A is not equal, it sends out an alarm, and the alarm information includes the alarm time and ΔA. The embodiment of the present invention does not limit the implementation manner of the test device alarm, and may be any implementation manner known to those skilled in the art. At the same time, the test device generates a log record of the alarm information so that the tester can view it.
311、测试装置清零通道A发送端和接收端寄存器。311. The test device clears the channel A sending end and receiving end registers.
其中,测试装置清零通道A发送端和接收端寄存器,以便下一循环中分别对发送和接收的数据包进行计数。Wherein, the test device clears the registers of the sending end and the receiving end of the channel A, so that the data packets sent and received are counted respectively in the next cycle.
312、测试装置延时时间Tchk。312. Test device delay time Tchk.
313、测试装置确定当前发送数据包的通道。313. The testing device determines the current channel for sending the data packet.
需要说明的是,本发明实施例中,测试装置包括A和B两条通道,则确定的当前发送数据包的通道为通道B。It should be noted that, in the embodiment of the present invention, the test device includes two channels A and B, and the determined channel currently sending data packets is channel B.
314、测试装置减少通道B发送数据包的速率,增加通道A发送数据包的速率。314. The test device reduces the rate at which channel B sends data packets, and increases the rate at which channel A sends data packets.
315、测试装置判断通道B发送和接收数据包B的速率是否为零,若通道B发送和接收数据包B的速率为零,则执行步骤317;否则,执行步骤316。315. The test device judges whether the rate at which channel B sends and receives data packets B is zero, and if the rate at which channel B sends and receives data packets B is zero, execute step 317; otherwise, execute step 316.
316、测试装置延时t2。316. The testing device delays t2.
317、测试装置延时t1后,读取通道B发送端和接收端寄存器的数据,并计算发送数据包B和接收数据包B个数的差值ΔB。317. After a delay of t1, the test device reads the data of the registers at the sending end and the receiving end of channel B, and calculates the difference ΔB between the number of sent data packets B and the number of received data packets B.
318、测试装置判断ΔB是否为零,若ΔB不为零,则执行步骤319;否则,执行步骤320。318 . The testing device judges whether ΔB is zero, and if ΔB is not zero, execute step 319 ; otherwise, execute step 320 .
319、测试装置发出告警信息并生成日志记录。319. The testing device sends out an alarm message and generates a log record.
320、测试装置清零通道B发送端和接收端寄存器。320. The test device clears the channel B sending end and receiving end registers.
需要说明的是,步骤314至步骤320数据处理的过程,与步骤305至步骤311数据处理的过程相同。It should be noted that the data processing process from step 314 to step 320 is the same as the data processing process from step 305 to step 311.
其中,测试装置清零通道B发送端和接收端寄存器后,开始计时,执行步骤303,在延时时间Tchk后,进入下一循环,寄存器开始重新计数。Wherein, after the test device clears the registers of the sending end and the receiving end of channel B, it starts counting, executes step 303, and enters the next cycle after the delay time Tchk, and the registers start counting again.
本发明实施例中,测试装置包括两条通道,在预设时间内统计当前通道发送和接收的数据包数量,如果数量不相等,测试装置发出告警并生成日志记录。因为设置两条通道,所以可以让一条通道暂停收发数据包,并获取该通道内的丢包信息以及丢包时间点,而与此同时,另一条通道继续测试,这样两条通道交替使用,不用中断测试,就可以实时获取到被测设备的丢包信息以及丢包时间点,解决了现有技术中不能获得发生丢包的各个时间点和对应的丢包个数,在对被测设备问题定位时,带来很大不便的问题。通过解决上述技术问题,能够方便测试人员对被测设备的问题定位。In the embodiment of the present invention, the test device includes two channels, counts the number of data packets sent and received by the current channel within a preset time, and if the numbers are not equal, the test device sends an alarm and generates a log record. Because two channels are set, one channel can suspend sending and receiving data packets, and obtain packet loss information and packet loss time points in this channel, while at the same time, the other channel continues to test, so that the two channels are used alternately, without By interrupting the test, the packet loss information of the device under test and the time point of packet loss can be obtained in real time, which solves the problem of not being able to obtain each time point of packet loss and the corresponding number of packet loss in the prior art. When positioning, it brings great inconvenience. By solving the above technical problems, it is convenient for testers to locate the problem of the device under test.
本发明实施例提供一种测试装置40,如图7所示,所述测试装置40包括:处理器41、存储器42、端口43和总线44。An embodiment of the present invention provides a test device 40 , as shown in FIG. 7 , the test device 40 includes: a processor 41 , a memory 42 , a port 43 and a bus 44 .
处理器41、存储器42、端口43通过总线44相互连接;总线44可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The processor 41, the memory 42, and the port 43 are connected to each other through a bus 44; the bus 44 may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (EISA for short) bus, etc. . The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 7 , but it does not mean that there is only one bus or one type of bus.
存储器42,用于存放程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。存储器42可能包含高速随机存取存储器(random accessmemory,简称RAM)存储器,也可能还包括非易失性存储器(non-volatilememory),例如至少一个磁盘存储器。The memory 42 is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory 42 may include a high-speed random access memory (random access memory, RAM for short), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
端口43,用于连接被测设备,使测试装置40和被测设备可以进行数据传输。The port 43 is used to connect the device under test, so that the test device 40 and the device under test can perform data transmission.
处理器41执行存储器42所存放的程序,用于实现本发明实施例提供的网络性能测试的方法,包括:The processor 41 executes the program stored in the memory 42 to implement the method for network performance testing provided by the embodiment of the present invention, including:
处理器41在第一预设时间内将所述第一通道发送数据包的速率由端口速率逐步降低至零,并同步将第二通道发送数据包的速率逐步由零提高至所述端口速率,其中所述第一通道发送数据包的速率与所述第二通道发送数据包的速率之和为所述端口速率;The processor 41 gradually reduces the rate of sending data packets of the first channel from the port rate to zero within the first preset time, and synchronously increases the rate of sending data packets of the second channel from zero to the port rate, Wherein the sum of the rate at which the first channel sends data packets and the rate at which the second channel sends data packets is the port rate;
所述处理器41统计所述第一预设时间内所述第一通道的发送端发出数据包的数量与所述第一通道的接收端接收数据包的数量;The processor 41 counts the number of data packets sent by the sending end of the first channel and the number of data packets received by the receiving end of the first channel within the first preset time;
当所述第一通道的发送端发出数据包的数量与所述第一通道的接收端接收数据包的数量不相等时,所述处理器41发出告警信息并生成日志记录。When the number of data packets sent by the sending end of the first channel is not equal to the number of data packets received by the receiving end of the first channel, the processor 41 sends an alarm message and generates a log record.
本发明实施例中的端口速率为测试装置40通过端口43向被测设备发送数据包的速率。The port rate in the embodiment of the present invention is the rate at which the test device 40 sends data packets to the device under test through the port 43 .
其中,所述告警信息包括丢包数量和发生丢包的时间信息,所述丢包数量为所述第一通道的接收端接收数据包的数量与所述第一通道的发送端发出数据包的数量之间的差值,所述发生丢包的时间信息包括所述第一通道开始发送数据包的时刻与所述第一通道停止发送数据包的时刻。所述数据包的帧结构中包括用于区分所述第一通道和所述第二通道的区分标识。所述第一通道和所述第二通道各自独立发送和接收数据包。Wherein, the alarm information includes the number of packet loss and the time information of packet loss, and the number of packet loss is the number of data packets received by the receiving end of the first channel and the number of data packets sent by the sending end of the first channel. The time information of packet loss includes the time when the first channel starts sending data packets and the time when the first channel stops sending data packets. The frame structure of the data packet includes a distinguishing identifier for distinguishing the first channel from the second channel. The first channel and the second channel independently send and receive data packets.
进一步的,所述处理器41在第二预设时间内将所述第二通道发送数据包的速率由端口速率逐步降低至零,并同步将第一通道发送数据包的速率逐步由零提高至所述端口速率;Further, the processor 41 gradually reduces the rate of sending data packets of the second channel from the port rate to zero within the second preset time, and simultaneously increases the rate of sending data packets of the first channel from zero to zero gradually. the port speed;
所述处理器41统计所述第二预设时间内所述第二通道的发送端发出数据包的数量与所述第二通道的接收端接收数据包的数量;The processor 41 counts the number of data packets sent by the sending end of the second channel and the number of data packets received by the receiving end of the second channel within the second preset time;
当所述第二通道的发送端发出数据包的数量与所述第二通道的接收端接收数据包的数量不相等时,所述处理器41发出告警信息并生成日志记录。When the number of data packets sent by the sending end of the second channel is not equal to the number of data packets received by the receiving end of the second channel, the processor 41 sends an alarm message and generates a log record.
上述的处理器41可以是通用处理器,包括中央处理器(Central ProcessingUnit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件。The above-mentioned processor 41 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit ( ASIC), off-the-shelf programmable gate array (FPGA), or other programmable logic devices.
本发明实施例中,测试装置40中包括两条通道,在预设时间内统计当前通道发送和接收的数据包数量,如果数量不相等,测试装置40发出告警并生成日志记录。因为设置两条通道,所以可以让一条通道暂停收发数据包,并获取该通道内的丢包信息以及丢包时间点,而与此同时,另一条通道继续测试,这样两条通道交替使用,不用中断测试,就可以实时获取到被测设备的丢包信息以及丢包时间点,解决了现有技术中不能获得发生丢包的各个时间点和对应的丢包个数,在对被测设备问题定位时,带来很大不便的问题。通过解决上述技术问题,能够方便测试人员对被测设备的问题定位。In the embodiment of the present invention, the test device 40 includes two channels, counts the number of data packets sent and received by the current channel within a preset time, and if the numbers are not equal, the test device 40 sends an alarm and generates a log record. Because two channels are set, one channel can suspend sending and receiving data packets, and obtain packet loss information and packet loss time points in this channel, while at the same time, the other channel continues to test, so that the two channels are used alternately, without By interrupting the test, the packet loss information of the device under test and the time point of packet loss can be obtained in real time, which solves the problem of not being able to obtain each time point of packet loss and the corresponding number of packet loss in the prior art. When positioning, it brings great inconvenience. By solving the above technical problems, it is convenient for testers to locate the problem of the device under test.
本发明实施例提供的一种测试装置可以实现上述提供的方法实施例,具体功能实现请参见方法实施例中的说明,在此不再赘述。本发明实施例提供的一种网络性能测试的方法及测试装置可以适用于网络性能测试,但不仅限于此。A test device provided by an embodiment of the present invention can implement the method embodiment provided above. For specific function implementation, please refer to the description in the method embodiment, and details will not be repeated here. The network performance testing method and testing device provided in the embodiments of the present invention may be applicable to network performance testing, but are not limited thereto.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于设备实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, please refer to part of the description of the method embodiment.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310643215.0A CN104683175B (en) | 2013-12-03 | 2013-12-03 | The method and test device of applied in network performance test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310643215.0A CN104683175B (en) | 2013-12-03 | 2013-12-03 | The method and test device of applied in network performance test |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104683175A true CN104683175A (en) | 2015-06-03 |
CN104683175B CN104683175B (en) | 2018-05-11 |
Family
ID=53317802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310643215.0A Active CN104683175B (en) | 2013-12-03 | 2013-12-03 | The method and test device of applied in network performance test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104683175B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106302015A (en) * | 2016-08-16 | 2017-01-04 | 华青融天(北京)技术股份有限公司 | A kind of service condition monitoring method, device and system |
CN107426045A (en) * | 2016-05-24 | 2017-12-01 | 中兴通讯股份有限公司 | A kind of method, apparatus and system for monitoring user terminal network performance |
CN109558306A (en) * | 2018-10-19 | 2019-04-02 | 深圳点猫科技有限公司 | It is a kind of based on educational system data acquisition fail to report monitoring method and electronic equipment |
CN109728978A (en) * | 2019-01-29 | 2019-05-07 | 中国航空无线电电子研究所 | Consider the AFDX interchanger linear speed control aptitude tests method of clock drift |
CN110838949A (en) * | 2018-08-16 | 2020-02-25 | 阿里巴巴集团控股有限公司 | Network flow log recording method and device |
CN110933141A (en) * | 2019-11-07 | 2020-03-27 | 南京铁道职业技术学院 | Rail transit power supply simulation system and method |
CN114157592A (en) * | 2021-11-09 | 2022-03-08 | 北京天融信网络安全技术有限公司 | Test system and method for network equipment flow management |
CN116192835A (en) * | 2023-02-09 | 2023-05-30 | 苏州浪潮智能科技有限公司 | Pre-boot execution environment network packet query method, device, device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
US20060221843A1 (en) * | 2005-04-01 | 2006-10-05 | Viola Networks Ltd. | Duplex mismatch testing |
CN101217422A (en) * | 2008-01-15 | 2008-07-09 | 中兴通讯股份有限公司 | A method to test the performance of net mouth |
CN102752169A (en) * | 2012-06-25 | 2012-10-24 | 中兴通讯股份有限公司 | Transmission monitoring method and device |
-
2013
- 2013-12-03 CN CN201310643215.0A patent/CN104683175B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1815970A (en) * | 2005-02-01 | 2006-08-09 | 华为技术有限公司 | Method for detecting network chain fault and positioning said fault |
US20060221843A1 (en) * | 2005-04-01 | 2006-10-05 | Viola Networks Ltd. | Duplex mismatch testing |
CN101217422A (en) * | 2008-01-15 | 2008-07-09 | 中兴通讯股份有限公司 | A method to test the performance of net mouth |
CN102752169A (en) * | 2012-06-25 | 2012-10-24 | 中兴通讯股份有限公司 | Transmission monitoring method and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426045A (en) * | 2016-05-24 | 2017-12-01 | 中兴通讯股份有限公司 | A kind of method, apparatus and system for monitoring user terminal network performance |
CN106302015A (en) * | 2016-08-16 | 2017-01-04 | 华青融天(北京)技术股份有限公司 | A kind of service condition monitoring method, device and system |
CN110838949A (en) * | 2018-08-16 | 2020-02-25 | 阿里巴巴集团控股有限公司 | Network flow log recording method and device |
CN110838949B (en) * | 2018-08-16 | 2023-09-29 | 阿里巴巴集团控股有限公司 | Network traffic log recording method and device |
CN109558306A (en) * | 2018-10-19 | 2019-04-02 | 深圳点猫科技有限公司 | It is a kind of based on educational system data acquisition fail to report monitoring method and electronic equipment |
CN109558306B (en) * | 2018-10-19 | 2022-06-17 | 深圳点猫科技有限公司 | Education system-based data acquisition and report omission monitoring method and electronic equipment |
CN109728978A (en) * | 2019-01-29 | 2019-05-07 | 中国航空无线电电子研究所 | Consider the AFDX interchanger linear speed control aptitude tests method of clock drift |
CN110933141A (en) * | 2019-11-07 | 2020-03-27 | 南京铁道职业技术学院 | Rail transit power supply simulation system and method |
CN114157592A (en) * | 2021-11-09 | 2022-03-08 | 北京天融信网络安全技术有限公司 | Test system and method for network equipment flow management |
CN114157592B (en) * | 2021-11-09 | 2024-05-07 | 北京天融信网络安全技术有限公司 | Test system and method for network equipment flow management |
CN116192835A (en) * | 2023-02-09 | 2023-05-30 | 苏州浪潮智能科技有限公司 | Pre-boot execution environment network packet query method, device, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN104683175B (en) | 2018-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104683175B (en) | The method and test device of applied in network performance test | |
US9838293B2 (en) | Throughput test method and apparatus | |
CN110324210B (en) | Detection method and device for covert channel communication based on ICMP (Internet control protocol) | |
CN102223263B (en) | Packet loss monitoring method based on FPGA and device | |
CN103560928A (en) | Method and system for testing forwarding performance of network equipment | |
CN101800679A (en) | Message packet loss detection method and system | |
WO2022100732A1 (en) | Method for issuing sounding packet, and related device | |
CN111327471A (en) | Network quality analysis method and device, computer equipment and storage medium | |
WO2017202166A1 (en) | Message transmission method, sending device and storage medium | |
EP1917759B1 (en) | Method and arrangement for measuring transmission quality in a packet mode communication network | |
CN108259364A (en) | A kind of network congestion determines method and device | |
CN104853378B (en) | A kind of method, apparatus and terminal detecting WIFI network access capability | |
CN108512727A (en) | A kind of determination method and device of central processing unit utilization rate | |
CN104639389A (en) | Router evaluating device and method | |
CN104243225B (en) | A kind of method for recognizing flux based on deep-packet detection | |
CN101753372A (en) | Detection method and device of bearer network router equipment | |
CN104702385B (en) | Network quality detection method, device and equipment | |
CN111277449A (en) | Security testing method and device for voice service equipment | |
CN112532467B (en) | Method, device and system for realizing fault detection | |
CN111294856B (en) | A shared traffic terminal identification method, device, equipment and readable storage medium | |
CN111262749B (en) | A method and device for detecting network reliability | |
CN111490907A (en) | A method and device for determining VXLAN network performance parameters | |
CN106941690A (en) | A kind of quality of data determines method and apparatus | |
CN113438125B (en) | Test method and system | |
EP4092964A1 (en) | Method, device, and system for testing transmission quality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200110 Address after: No.132, zone 4, Nandajie, Linmingguan Town, Yongnian County, Handan City, Hebei Province Patentee after: Du Xuesen Address before: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Effective date of registration: 20200110 Address after: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |