CN1925436A - Method for test of network collecting equipment - Google Patents

Method for test of network collecting equipment Download PDF

Info

Publication number
CN1925436A
CN1925436A CN 200510098518 CN200510098518A CN1925436A CN 1925436 A CN1925436 A CN 1925436A CN 200510098518 CN200510098518 CN 200510098518 CN 200510098518 A CN200510098518 A CN 200510098518A CN 1925436 A CN1925436 A CN 1925436A
Authority
CN
China
Prior art keywords
test
package
terminal equipment
network
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200510098518
Other languages
Chinese (zh)
Inventor
邱世华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 200510098518 priority Critical patent/CN1925436A/en
Publication of CN1925436A publication Critical patent/CN1925436A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention relates to network connection device test method, wherein, the device is connected to each connection terminal of one network and test device terminal with first and second connection terminals. The invention comprises the following steps: providing at least imbedded test program first terminal and second terminal device into sealed catching program connected to above first and second connection terminals; setting test program and package catch program then sending test data package to compare preset package and receive package number.

Description

Method for test of network collecting equipment
Technical field
The invention relates to a kind of connection device measuring technology, particularly can receive the method for test of network collecting equipment that data usefulness detects to the connectivity port about a kind of.
Background technology
Fast development along with computer technology and Internet, the scale that enterprise's utilization computer network is built information platform is more and more big, connect Internet by computer and develop into present hundreds of computer and connect to form Intranet (Intranet) and be connected to Internet (Internet), obtain the critical function that the network information has become computer.Meanwhile, the disparate networks connection device is also brought into play important role as the necessaries that multiple computers is connected to Internet.Wherein, widespread usage is all kinds of switches (Switch) and hub (Hub).
Yet with regard to network access device, different network access devices all may cause breaking down in the use because of the flaw in production, the assembling operation, thereby cause influencing the signal transmission performances, and then the terminal equipment that is connected with this network access device of order, as personal computer etc., can not receive or the transmission data with hundred-percent accuracy rate,, might cause the whole network can't normal operation in case the connectivity port hardware fault occurs.Therefore the real essential condition for decision network on-line quality quality of the good and the bad of network access device also is to provide dynamical network access device to improve the key of network connection reliability.
The mode of the reliability of present general company network apparatus test, mainly be to carry out the related pressure test by specific tester, this kind equipment is all very expensive, and can grasp easily and understand for the also non-general technology staff of flow process of operation, setting, management and the maintenance of this kind equipment.What is more important, technic relization scheme just at present, need each connectivity port on the test network connection device usefulness may and uncomplicated, if but this testing requirement spends huge expense again loses more than gain unavoidably for enterprise.In addition, if be that testing software that different product add also exists the unified standard of shortage by each network access device production firm.
For this reason, how a kind of method for test of network collecting equipment is provided, can improves the shortcoming of existing measuring technology, make enterprise can fast and effeciently detect the usefulness of network access device, and can avoid using expensive tester simultaneously, real is the technical problem that needs to be resolved hurrily at present.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, main purpose of the present invention is to provide a kind of method for test of network collecting equipment, can detect the Data Receiving usefulness of each connectivity port in the network access device fast and effectively.
Another object of the present invention is to provide a kind of method for test of network collecting equipment, need not to purchase expensive tester and extra software and hardware, can test the transmission and the accepting state of network access device.
A further object of the present invention is to provide a kind of method for test of network collecting equipment, and the test that provides can infinitely be extended, and really the connectivity port performance in the network access device is tested.
For reaching above-mentioned purpose, the present invention promptly provides a kind of method for test of network collecting equipment, this method of testing is applicable to tests each the connectivity port usefulness that has at least in the network access device to be measured of first connectivity port and second connectivity port, this method network access device test comprises the following steps: that at least (1) provides at least one first terminal equipment and one second terminal equipment, and be connected respectively to first connectivity port and second connectivity port that this network access device group is established, wherein, in this first terminal equipment, test program is set, and setting test parameter, make this first terminal equipment send data packet by the set point of this test parameter, then, in this second terminal equipment, the package extracting program is set, and the setting execution parameter, make this second terminal equipment obtain data packet by the set point of this execution parameter; (2) make this first terminal equipment when carrying out this test program, send one group of test data package to this second terminal equipment, and statistics sent the data packet number up to this number with till the test parameter set point equates; (3) make this second terminal equipment carry out this package extracting program, obtain the data packet that is sent from this first terminal equipment, and the number of real-time statistics data accepted package; (4) number of the data accepted package of the test packets parameter that sets of this test program and this package extracting program statistics relatively, and calculate test data package acceptance rate; And (5) judge the connectivity port usefulness that the network access device group is established according to this data packet acceptance rate.
Compare with existing network access device effect test technology, method for test of network collecting equipment of the present invention is by terminal equipment sequencing control data package, and by test data packet receiving and transmission situation, obtain the test result of contained each the connectivity port usefulness of network access device, make enterprise need not to spend extra soft, the computer hardware of cost purchase of great number, the usefulness of network access device can be detected fast and efficiently, and the problem place of the network equipment and the packet loss of each connectivity port can be in the regular hour, measured.
Description of drawings
Fig. 1 carries out the operation workflow figure of method for test of network collecting equipment implementation step of the present invention;
Fig. 2 is the connection diagram that the inventive method is tested in the Data Receiving usefulness of the first connectivity port 100a that 100 groups of network access devices are established and the second connectivity port 100b;
Fig. 3 is system's connection diagram of a plurality of connectivity ports of test hub usefulness; And
Fig. 4 is system's connection diagram of a plurality of connectivity ports of test switch usefulness.
Embodiment
Embodiment
Fig. 1 is the operation workflow figure that carries out method for test of network collecting equipment implementation step of the present invention; Method for test of network collecting equipment of the present invention, be used for the data transmission/receiving efficiency of network access device connectivity port is tested, the network access device that the present invention is suitable for need have first connectivity port and second connectivity port at least, other has the network card that is used for the transceive data package, do not have specific (special) requirements for operating system, no matter Windows or (SuSE) Linux OS all can use method for test of network collecting equipment of the present invention.Need special instruction person, in the present embodiment, this terminal equipment is personal computer, notebook computer or work platform, in addition, this network access device is can be switch (Switch), hub (Hub) or the switch hub (Switch Hub) of all kinds of specifications of arbitrary production firm production.
As shown in Figure 1, at first execution in step S1 provides at least one first terminal equipment and one second terminal equipment, is connected respectively to first connectivity port and second connectivity port of this network access device to be measured, then, and execution in step S2.
In step S2, this first terminal equipment embeds a test program, and sets required test parameter, makes this first terminal equipment send data packet by the setting result of test parameter; In the present embodiment, this test program is an Internet package test program, and Chang Yong Ping instrument just, and the test parameter that sets comprises that at least once test needs package number, test data packet size and the successful package acceptance rate that sends.For example, the packet size that will test can be set at the size that Windows props up, and default this terminal equipment sends N=1000 the package that size is 1280 bytes continuously when carrying out each test, and when acceptance rate was not lower than 90%, this network access device was the product of a test passes.What this must illustrate be, the size of this test data package is to promote (the Internet Engineering Task Force of group according to the Internet engineering duty, being IETF) standard formulated defines, the data packet size can be any in the middle of 64,128,256,1024,1280 and 1518 bytes etc., and the test result success or not also is to define by the standard that Internet engineering duty promotion group (Internet Engineering Task Force, i.e. IETF) formulates.Then, execution in step S3.
In step S3, insert a package extracting program at this second terminal equipment, and set required execution parameter, can obtain data packet according to the setting result of execution parameter for this second terminal equipment.In the present embodiment, this package extracting program is to can be an Ethereal package extracting software, in actual application, be that network protocol type in this software is set to Internet control information agreement (Internet Control Message Protocol, be ICMP), and the Type value of setting the ICMP rule is 8, and under this rule, this second terminal equipment can provide an answer that has received package automatically after receiving data packet.After treating that setting finishes, just make this second terminal equipment open package extracting software, in order to the acceptance test data packet.Then, execution in step S4.
In step S4, when this first terminal equipment is carried out this test program, send one group of test data package, and real-time statistics has sent the data packet number till reaching previous set test parameter set point to this second terminal equipment.In the present embodiment, be to make this first terminal equipment carry out the data packet of Ping instruction and transmission nominative testing parameter, as the continuous package that to send N=1000 size be 1280 bytes to assigned address, and when sending package, statistics has sent package quantity M, and package of every transmission is about to M and adds 1, equals N (N=1000) up to the M value and represents promptly that this test packets has sent and finish, then, execution in step S5.
In step S5, make this second terminal equipment carry out this package extracting program, to be obtained from the data packet that this first terminal equipment is sent, and real-time statistics has received the package number of data, in the present embodiment, after this second terminal equipment is received data packet, promptly return the information that a representative has received package automatically, and the package quantity P that received of statistics, subsequently, when this second terminal equipment is whenever received a package, the P value is added 1, represent that when the M value equals N (N=1000) this time test finishes.Then, execution in step S6.
In step S6, the data accepted package number of the test packets parameter that sets of this test program and this package extracting program statistics relatively, and the package acceptance rate of calculating test, in the present embodiment, suppose that this second terminal equipment successfully receives 950 data packages, be P=950, then represent package acceptance rate=P/M, be 95%.Then, execution in step S7.
In step S7, judge first connectivity port that the network access device group of test is established and the data receiving efficiency of second connectivity port according to this data packet acceptance rate.Suppose in the present embodiment, because of the package acceptance rate is 95%, greater than predefined successful acceptance rate 90%, so the usefulness of the pairing connectivity port of network access device that decidable is this time tested is quite good, in addition, can simultaneously this test result be recorded in these terminal equipments, as required in the future reference.
Fig. 2 is the connection diagram that the inventive method is tested at the data receiving efficiency of the first connectivity port 100a that 100 groups of network access devices are established and the second connectivity port 100b.As shown in the figure, set up the network access device 100 that a network access device test macro 1 test has the first connectivity port 100a and the second connectivity port 100b at least.At first, one first terminal equipment 102a is provided, and be connected to the first connectivity port 100a, and one second terminal equipment 102b, and be connected to this second connectivity port 102b, then, one test program 1020 is set in the first terminal equipment 102a, and setting test parameter, one package extracting program 1022 also is set in the second terminal equipment 102b simultaneously, and the setting execution parameter, subsequently, carry out test program 1020 and send the test data package to the second terminal equipment 102b, simultaneously the data packet number that has sent is added up, up to reaching the test parameter value that had before set, then, carry out package extracting program 1022, obtain the data packet that is sent by the first terminal equipment 102a, and the data packet number that received of real-time statistics, calculate the package acceptance rate, further judge the data receiving efficiency of the first connectivity port 100a and the second connectivity port 100b.
In addition, if need the usefulness of 100 groups of other connectivity ports of establishing of test network connection device, then each connectivity port to be measured correspondence must be connected to a terminal equipment, then repeat said method step (1), can obtain the test result of each connectivity port to be measured usefulness to step (6).Below hub by having 16 connectivity ports and switch illustrate respectively if the execution situation that need test each connectivity port to be measured usefulness.
Fig. 3 is the connection diagram of testing at a plurality of connectivity ports usefulness that the hub group is established.Generally speaking, hub is by the wheel shaft mode for the transmission of data packet, just be connected the pairing terminal equipment in arbitrary connectivity port to be measured when sending data packet, then be connected on other connectivity port to be measured corresponding and wait for that the terminal equipment that receives data packet all can receive this data packet, so if need the effect test result of whole connectivity ports, only need on corresponding connectivity port, to overlap one and be used to intercept the terminal equipment of test packets, and open the package extracting program and wait for that receiving data packet gets final product.
As shown in the figure, usefulness as if 16 connectivity ports that need to assemble at a hub 20 is tested, in hub effect test system 2, need at each connectivity port to be measured 200 corresponding terminal equipment that connect, this terminal equipment comprises package transmitting terminal 202a and package receiving terminal 202b, wherein, this package transmitting terminal 202a is the test program 2020 that is provided with its transmission data packet of may command, and this package receiving terminal 202b also embeds the package extracting program 2022 of its acquisition data package of control.Subsequently by step S4 shown in Figure 1 to S7 execution related procedure, can terminal equipment obtain the effect test result of corresponding connectivity port 200.
Fig. 4 is system's connection diagram of a plurality of connectivity ports of test switch usefulness.General switch is to adopt corresponding actual address mode for the transmission of data packet, just when terminal equipment only can send data packet to a connectivity port of particular address, only just can receive this data packet with the terminal equipment of this connectivity port overlap joint, so if need obtain the effect test result of whole connectivity ports, then need on each connectivity port, to connect respectively terminal equipment that sends package and the terminal equipment that intercepts test packets, and when sending package, must formulate the destination address of transmission.
As shown in the figure, usefulness as if 16 connectivity ports that need test one switch 30 to assemble, then the terminal equipment that is connected with connectivity port 300 is divided into two classes, the one, package transmitting terminal 302a and package receiving terminal 302b, 3 groups of 16 connectivity ports 300 of establishing of switch effect test system are connected respectively to 8 terminal equipments, just these connectivity ports 300 overlap with 8 package transmitting terminal 302a and 8 package receiving terminal 302b respectively, and 8 package transmitting terminal 302a and 8 package receiving terminal 3102b also set up a corresponding relation each other, wherein, these package transmitting terminal 302a also are provided with the test program 3020 of controlling its transmission data packet, package receiving terminal 302b also is provided with the package extracting program 3022 of its acquisition data package of control, carry out as shown in Figure 1 step S4 to S7 by this, can each terminal equipment obtain the effect test result of corresponding connectivity port 300.What need special instruction is that in execution in step S4, package transmitting terminal 302a is used for the package receiving terminal 302b that formulates the address is sent the test data package.

Claims (10)

1. method for test of network collecting equipment is treated the connectivity port usefulness that survey grid network connection device group establishes and is tested, and it is characterized in that this method for test of network collecting equipment comprises:
(1) provides at least one first terminal equipment and one second terminal equipment, and be connected respectively to first connectivity port and second connectivity port that this network access device group is established, wherein, in this first terminal equipment, test program is set, and setting test parameter, make this first terminal equipment send data packet by the set point of this test parameter, then, in this second terminal equipment, the package extracting program is set, and the setting execution parameter, make this second terminal equipment obtain data packet by the set point of this execution parameter;
(2) make this first terminal equipment when carrying out this test program, send one group of test data package to this second terminal equipment, and statistics sent the data packet number up to this number with till the test parameter set point equates;
(3) make this second terminal equipment carry out this package extracting program, obtain the data packet that is sent from this first terminal equipment, and the number of real-time statistics data accepted package;
(4) number of the data accepted package of the test packets parameter that sets of this test program and this package extracting program statistics relatively, and calculate test data package acceptance rate; And
(5) judge the connectivity port usefulness that the network access device group is established according to this data packet acceptance rate.
2. method for test of network collecting equipment as claimed in claim 1 is characterized in that this terminal equipment comprises network interface card, make terminal equipment can be on network the transceive data package.
3. method for test of network collecting equipment as claimed in claim 1 is characterized in that, this terminal equipment is that personal computer, notebook computer or work station are formed in the group.
4. method for test of network collecting equipment as claimed in claim 1 is characterized in that, this network access device is switch or hub.
5. method for test of network collecting equipment as claimed in claim 1 is characterized in that, this test program is an Internet package test program.
6. method for test of network collecting equipment as claimed in claim 1 is characterized in that, this package extracting program is an ethereal package extracting program.
7. method for test of network collecting equipment as claimed in claim 1 is characterized in that, the test parameter that sets in this step (1) comprises that at least once test needs the package number that sends, the size or the successful package acceptance rate of test data package.
8. method for test of network collecting equipment as claimed in claim 7 is characterized in that, the size of this test data package is to define according to the standard that Internet engineering duty promotion group formulates.
9. method for test of network collecting equipment as claimed in claim 1 is characterized in that, the execution parameter that sets in step (1) comprises an IP Internet Protocol type at least.
10. method for test of network collecting equipment as claimed in claim 9 is characterized in that, this IP Internet Protocol type is an Internet control information agreement.
CN 200510098518 2005-08-31 2005-08-31 Method for test of network collecting equipment Pending CN1925436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510098518 CN1925436A (en) 2005-08-31 2005-08-31 Method for test of network collecting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510098518 CN1925436A (en) 2005-08-31 2005-08-31 Method for test of network collecting equipment

Publications (1)

Publication Number Publication Date
CN1925436A true CN1925436A (en) 2007-03-07

Family

ID=37817913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510098518 Pending CN1925436A (en) 2005-08-31 2005-08-31 Method for test of network collecting equipment

Country Status (1)

Country Link
CN (1) CN1925436A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143024A (en) * 2011-03-24 2011-08-03 福建星网锐捷网络有限公司 Test method, network equipment and test system of load balancing function
CN101656635B (en) * 2008-08-20 2012-06-13 鸿富锦精密工业(深圳)有限公司 Network computation device and method
CN103841088B (en) * 2012-11-23 2016-12-21 香港游戏橘子数位科技股份有限公司 The method that network service line Quality Detection is provided
CN108063694A (en) * 2016-11-08 2018-05-22 英业达科技有限公司 The system and method for pressure test are carried out on PORT COM by kernel program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656635B (en) * 2008-08-20 2012-06-13 鸿富锦精密工业(深圳)有限公司 Network computation device and method
CN102143024A (en) * 2011-03-24 2011-08-03 福建星网锐捷网络有限公司 Test method, network equipment and test system of load balancing function
CN102143024B (en) * 2011-03-24 2013-03-13 福建星网锐捷网络有限公司 Test method, network equipment and test system of load balancing function
CN103841088B (en) * 2012-11-23 2016-12-21 香港游戏橘子数位科技股份有限公司 The method that network service line Quality Detection is provided
CN108063694A (en) * 2016-11-08 2018-05-22 英业达科技有限公司 The system and method for pressure test are carried out on PORT COM by kernel program

Similar Documents

Publication Publication Date Title
CN102185733B (en) Network card testing method and system
CN102064964B (en) Method for rapidly switching gigabit network cards in gigabit switching environment
CN100347991C (en) Data network integrated monitoring and measuring system
US20070097872A1 (en) Network connection apparatus testing method
CN113507436B (en) Power grid embedded terminal fuzzy test method aiming at GOOSE protocol
CN101035037A (en) Method, system and related device for detecting the network communication quality
CN1394034A (en) Journal management system of integrated network manager
WO2012062108A1 (en) Test system and test method
CN1925436A (en) Method for test of network collecting equipment
CN107040429A (en) A kind of method of testing and system of port forwarding performance
CN1261890C (en) Network card testing method capable of balancing loads
CN107094091A (en) A kind of intelligent substation station level network configuration method of calibration and system
Wang et al. ISEE: Internet‐based simulation for earthquake engineering—part II: the application protocol approach
CN105227375A (en) A kind of method and system building virtual switch network
CN101645983A (en) Network management system and method using same for testing network equipment
CN1434382A (en) Test method and system for IEEE 802.1x network insertion equipment
US10361945B2 (en) System and method to reconcile cabling test results with cabling test configurations
CN112583663B (en) Automatic network performance testing method based on domestic operating system
TW201929491A (en) Broadband subscriber lines malfunction testing system
US20090157904A1 (en) Analysis tool for intra-node application messaging
CN112671596A (en) Remote control automatic test system and test method
CN114629830B (en) Method and system for automatically controlling test center instrument test
CN1302641C (en) Method and appatatus for processing wide band device fault positioning requesting
CN102083118A (en) Large-telephone-traffic test device, system and method
CN112860568A (en) Multiple routing test method and system based on Selenium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication