CN103812712A - Testing method and system for network device throughput - Google Patents

Testing method and system for network device throughput Download PDF

Info

Publication number
CN103812712A
CN103812712A CN201210436267.6A CN201210436267A CN103812712A CN 103812712 A CN103812712 A CN 103812712A CN 201210436267 A CN201210436267 A CN 201210436267A CN 103812712 A CN103812712 A CN 103812712A
Authority
CN
China
Prior art keywords
embedded computer
network equipment
throughput
network
test
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
Application number
CN201210436267.6A
Other languages
Chinese (zh)
Other versions
CN103812712B (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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201210436267.6A priority Critical patent/CN103812712B/en
Publication of CN103812712A publication Critical patent/CN103812712A/en
Application granted granted Critical
Publication of CN103812712B publication Critical patent/CN103812712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

This invention discloses a testing method and a system for network device throughput. The method comprises steps of connecting a control device to a network device to be tested through a first embedded computer in a manner of communication and connecting the first embedded computer to a second embedded computer through the network device to be tested in a manner of communication; acquiring a long-distance call commander transmitted by a control device, calling the iperf tool of the second embedded computer according to the long-distance call commander, and using the second embedded computer as a service terminal; receiving testing commands transmitted by the control device, running the iperf tool in the first embedded computer according to the test command, and using the first embedded computer as a client; and testing the network throughput between the client and the server terminal and returning the network throughput test result to the control device. The testing method and the system for network device throughput have advantages of small volumes of embedded computers, low power consumption, and low cost.

Description

The method of testing of network equipment throughput and system
Technical field
The present invention relates to computer technology, particularly relate to a kind of method of testing and system of network equipment throughput.
Background technology
In family and building networks of enterprises, will be two personal computer (Personal Computer, be called for short PC) or multiple pc couple together, mostly couple together realization by being provided with the network equipment of multiple ports, such as the hub (HUB) of 8 ports, the router (Router) of 4 ports, the Switch(switch of 8 ports) etc.The throughput size of the each port of the network equipment is to weigh the important indicator of network equipment communication quality.So factory, in the time producing, need to test the throughput of each port, whether meets instructions for use with the quality of weighing product.
At present, for this testing requirement of factory, there is special tester to test the throughput size of these ports, test environment and the test process of this kind of method are simple, but price comparison costliness, for plant produced, cost compare is high, is unfavorable for large batch of production test.And a kind of applied in network performance test instrument iperf can carry out by operation on two PC the throughput of network apparatus test, reduce testing cost, but PC is no matter be that Desktop PC or notebook volume are all larger, use that to carry out testing cost with two PC higher, and power consumption is high, carry inconvenience, testing efficiency is low.
Summary of the invention
Based on this, be necessary problem higher for cost and that power consumption is high, a kind of method of testing that can reduce testing cost and save the network equipment throughput of electric weight is provided.
In addition, being also necessary to provide a kind of can reduce testing cost and save the test macro of the network equipment throughput of electric weight.
A method of testing for network equipment throughput, comprises the steps:
Control appliance is communicated to connect to the network equipment to be tested by the first embedded computer, and described the first embedded computer is communicated to connect to the second embedded computer by the described network equipment to be tested;
Obtain the far call order that control appliance sends, according to the iperf instrument in the second embedded computer described in described far call command calls, and using described the second embedded computer as service end;
The test command that receiving control apparatus sends, moves the iperf instrument in described the first embedded computer according to described test command, and using described the first embedded computer as client;
Test described client to the network throughput between service end, and return to described network throughput test result to described control appliance.
Therein in an embodiment, described in obtain the far call order that control appliance sends step be:
Obtain by telnet mode or RS232 serial communication protocol the far call order that control appliance sends;
The step of the test command that described receiving control apparatus sends is:
The test command sending by telnet mode or RS232 serial communication protocol receiving control apparatus.
Therein in an embodiment, communicate to connect the network equipment to be tested at control appliance by the first embedded computer, and before described the first embedded computer is communicated to connect to the step of the second embedded computer by the described network equipment to be tested, also comprise step:
On described the first embedded computer and the second embedded computer, increase respectively the IP of the half number of the port number that the described network equipment to be tested is set according to the port number of the described network equipment to be tested;
IP on IP on described the first embedded computer and the second embedded computer is matched between two, and the IP of pairing is arranged on the same network segment.
In an embodiment, when the port number of the described network equipment to be tested is 4, on described the first embedded computer and the second embedded computer, increase by 2 IP are set respectively therein; When the port number of the described network equipment to be tested is 8, on described the first embedded computer and the second embedded computer, increase by 4 IP are set respectively.
Therein in an embodiment, to the network throughput between service end, and return to described network throughput test result to after the step of described control appliance in the described client of described test, also comprise:
The reference value of network throughput is set;
The network throughput that described test is obtained and described reference value compare, if be less than described reference value, point out the network throughput of described test abnormal.
A kind of test macro of network equipment throughput, comprise control appliance, the first embedded computer and the second embedded computer, described control appliance communicates to connect the network equipment to be tested by the first embedded computer, and described the first embedded computer communicates to connect the second embedded computer by the described network equipment to be tested;
The far call order that described the second embedded computer sends for obtaining control appliance, and according to the iperf instrument of described far call command calls self, and described the second embedded computer is as service end;
The test command that described the first embedded computer sends for receiving control apparatus, and according to the iperf instrument of described test command operation self, and described the first embedded computer is as client;
Iperf instrument on described the first embedded computer and the second embedded computer is tested described client to the network throughput between service end, and returns to described network throughput test result to described control appliance.
In an embodiment, described the second embedded computer obtains by telnet mode or RS232 serial communication protocol the far call order that control appliance sends therein; The test command that described the first embedded computer sends by telnet mode or RS232 serial communication protocol receiving control apparatus.
In an embodiment, described the first embedded computer and the second embedded computer are also for arranging the IP of the half number of the port number of the described network equipment to be tested according to the port number of the described network equipment to be tested from increase with it respectively therein;
Described control appliance also matches between two for the IP controlling on IP and the second embedded computer on described the first embedded computer, and the IP of pairing is arranged on to the same network segment.
In an embodiment, when the port number of the described network equipment to be tested is 4, on described the first embedded computer and the second embedded computer, increase by 2 IP are set respectively therein; When the port number of the described network equipment to be tested is 8, on described the first embedded computer and the second embedded computer, increase by 4 IP are set respectively.
Therein in an embodiment, described control appliance is also for arranging the reference value of network throughput, and the network throughput that described test is obtained and described reference value compare, if be less than described reference value, point out the network throughput of described test abnormal.
The method of testing of above-mentioned network equipment throughput, by establishing a communications link with control appliance and the network equipment, then using two embedded computers respectively as client and service end, according to the order operation testing tool of control appliance, client and service end are carried out to testing throughput, finally test result is sent to control appliance, this test result is exactly the throughput between the port of the network equipment, because of integrated testing tool to embedded computer, realize test by the testing tool on control appliance controlling run embedded computer, because of the volume of embedded computer little, low in energy consumption, reduce the cost of test.
In addition, count the IP of half according to the port number of network equipment configured port on the first embedded computer and the second embedded computer, each port of the network port is all occupied by the network port of the first embedded computer and second computer, and match IP address, only need be according to the detection of the command execution different port under control appliance, do not need to pull out line and plug wire, saved operation, improved testing efficiency.
Accompanying drawing explanation
Fig. 1 is the method for testing flow chart of a kind of network equipment throughput in an embodiment;
Fig. 2 is the structural representation of a kind of test macro of network equipment throughput in an embodiment;
Fig. 3 is the connection diagram that the test macro of network equipment throughput in an embodiment is applied to the network equipment of 8 ports of test.
Embodiment
Method of testing below in conjunction with specific embodiment and accompanying drawing to network equipment throughput and the technical scheme of system are described in detail, so that it is clearer.
As shown in Figure 1, in one embodiment, a kind of method of testing of network equipment throughput, comprises the steps:
Step S110, communicates to connect the network equipment to be tested by control appliance by the first embedded computer, and the first embedded computer is communicated to connect to the second embedded computer by the network equipment to be tested.
In the present embodiment, two embedded computers are connected to the network equipment to be tested by network interface, and the first embedded computer is connected with the second embedded computer by the network equipment.Wherein, the first embedded computer is connected with control appliance, and this control appliance can be the equipment that Desktop PC, notebook computer, panel computer etc. have interactive interface and can control embedded computer.The first embedded computer being connected with control appliance can be accepted order and the transmission test result that control appliance sends, the throughput of embedded computer network apparatus test under the control of control appliance.Because iperf instrument need to have service end and client just can carry out testing throughput, so in the time of the throughput of network apparatus test, need an embedded computer as service end, another embedded computer is as client.
In one embodiment, above-mentioned steps S110 is: set up the communication connection between control appliance, the first embedded computer, the network equipment and the second embedded computer by RS-232 interface.
Concrete, RS-232 interface is one of communication interface on personal computer, the asynchronous transmission standard interface of being formulated by Electronic Industries Association (Electronic Industries Association, EIA).RS-232 interface circuit is simple, on general personal computer, has two groups of RS-232 interface, is called COM1 and COM2.Because communications equipment vendor produces and the communication equipment of RS-232C multiple display modes compatible, therefore, it extensively adopts at present as a kind of standard in microcomputer communication interface.
Step S120, obtains the far call order that control appliance sends, according to the Iperf instrument in far call command calls the second embedded computer, and using the second embedded computer as service end.
In the present embodiment, Iperf instrument has operational factor, monitors different ports and will use different port numbers, so must rerun Iperf instrument one time before test different port, by attaching different port numbers as parameter, to monitor the communication of different ports.In the present embodiment, the order of setting up service end can be Iperf-s-w 256k-P2, and-s represents with service end mode operation, set up service end ,-w represents to specify tcp window size, and acquiescence is 8KB,-p represents the port that specified services end uses, with the communication statistic information flow of listening port.Service end is the most simply ordered: iperf-s.In embedded computer, provide conveniently far call on network of iperf instrument calling interface.Control appliance is by IP Address Recognition the second embedded computer.
In one embodiment, in above-mentioned steps S120, obtaining the step of far call order that control appliance sends is: obtain by telnet mode or RS232 serial communication protocol the far call order that control appliance sends.
Concrete, can on embedded computer, increase telnet, telnet agreement is a member in TCP/IP protocol suite, is standard agreement and the major way of telnet server.Control appliance can be started a telnet session access and had by the first embedded device the second embedded computer of telnet function, and far call order is sent to the second embedded computer by telnet mode, the Iperf instrument on operation the second embedded computer.
Step S130, the test command that receiving control apparatus sends, moves the iperf instrument in the first embedded computer according to test command, and using the first embedded computer as client.
Concrete, the first embedded computer directly connects control appliance, and the test command that receiving control apparatus sends just can directly move iperf instrument or also can move iperf instrument by calling iperf instrument calling interface.Test network throughput can be by disposable completing of order, as test command iperf-c192.168.2.3-w 256k-r-P 2,-c mark is moved with client mode, 192.168.2.3 represent the IP address of service end, the IP address of service end can be manual configuration can be also automatically configuration, the IP address of client can be manual configuration can be also automatically configuration,-w represents to specify tcp window size,-r represents accordion seek pattern, in the time that client finishes to the test of service end, the port of service end by the specifying port of service end (or be defaulted as client and be connected to), Opposite direction connection is to client,-p represents the port that client connects, with the communication statistic information flow of listening port.It can be iperf-c192.168.2.3 that client is the most simply ordered.
The step of the test command that in one embodiment, receiving control apparatus sends is: the test command sending by telnet mode or RS232 serial communication protocol receiving control apparatus.
Step S140, the network throughput between test client and service end, and return to network throughput test result to control appliance.
Concrete, because the first embedded computer (being client) is connected by the network equipment with the second embedded computer (being service end), by network equipment swap data, so test client is exactly the port and the throughput being connected between the port of the second embedded computer, the namely wherein throughput between two ports of the network equipment that connects the first embedded computer to the network throughput between service end.Because of the small volume of embedded computer, display unit generally can be set, in order to show test results, test result is turned back to control appliance to be shown, can conveniently check test result, and can not increase the manufacturing cost of embedded computer because need arrange display unit, and save the power consumption of embedded computer.
The method of testing of above-mentioned network equipment throughput, by establishing a communications link with control appliance and the network equipment, then using two embedded computers respectively as client and service end, according to the order operation testing tool of control appliance, client and service end are carried out to testing throughput, finally test result is sent to control appliance, this test result is exactly the throughput between the port of the network equipment, because of integrated testing tool to embedded computer, realize test by the testing tool on control appliance controlling run embedded computer, because of the volume of embedded computer little, low in energy consumption, reduce the cost of test.
Further, in one embodiment, be connected to the network equipment to be tested at control appliance by the first embedded computer, and before described the first embedded computer is connected to the step of the second embedded computer by the network equipment to be tested, also comprise step: on the first embedded computer and the second embedded computer, increase respectively the IP(Internet Protocol of the half number of the port number that the network equipment to be tested is set according to the port number of the network equipment to be tested, the agreement interconnecting between network); IP on IP on the first embedded computer and the second embedded computer is matched between two, and the IP of pairing is arranged on the same network segment.
Concrete, when the port number of the network equipment to be tested is 4, on the first embedded computer and the second embedded computer, increase by 2 IP are set respectively; When the port number of the network equipment to be tested is 8, on the first embedded computer and the second embedded computer, increase by 4 IP are set respectively.
The for example port number of the network equipment to be tested is 8,4 IP and MAC Address (Medium Access Control are set respectively on the first embedded computer and the second embedded computer, medium access control), on the first embedded computer, establish IP5 to IP8, on the second embedded computer, establish IP1 to IP4, then the IP on two embedded computers is matched between two, as IP1 and IP5 pairing, and be arranged on the same network segment, and as 192.168.2.2,192.168.2.3; By IP2 and IP6 pairing, and be arranged on the same network segment, such as 192.168.3.2,192.168.3.3; By IP3 and IP7 pairing, and be arranged on the same network segment, such as 192.168.4.2,192.168.4.3; By IP4 and IP8 pairing, and be arranged on the same network segment, such as 192.168.5.2,192.168.5.3.
On the first embedded computer and the second embedded computer, multiple IP are set, first need the first embedded computer and the second embedded computer to establish a communications link by multiple network ports and the network equipment.This network port can be RJ-11 or RJ-45 interface, and these two kinds of interfaces are more common in the network equipment.In addition, this network port can also be SC optical fiber interface, FDDI(Fiber Distributed DataInterface, fiber distributed data interface) interface, AUI(Attachment Unit Interface, Attachment Unit Interface) interface, BNC(Bayonet Nut Connector, bayonet nut connector) interface, Console interface, USB(Universal Serial BUS, USB) interface etc.Establish a communications link by multiple network ports and the network equipment, and configure corresponding IP address for each network port, only need issue orders and detect the network throughput of the network port corresponding to the IP address of pairing by control appliance, can constantly not pull out line and plug wire because changing test network port, improve testing efficiency.
Further, in one embodiment, to the network throughput between service end, and return to described network throughput test result to after the step of described control appliance in the described client of test, also comprise: the reference value that network throughput is set; The network throughput that described test is obtained and described reference value compare, if be less than described reference value, point out the network throughput of described test abnormal.
Concrete, the reference value of network throughput is set according to the performance of the processor of the network equipment, as the maximum bandwidth 100M of the network equipment, the reference value of network throughput can be 40M, by result and the reference value comparison of test, if be less than reference value, two ports of the network equipment of table test exist abnormal, are that the circuit of finger tip mouth exists fault etc. extremely.
Take control appliance as personal computer, it is example that the first embedded computer and the second embedded computer all have 4 network ports, and the step that the method for testing of above-mentioned network equipment throughput is applied to the throughput size of the network equipment of 8 ports of test comprises:
(1) 4 network ports of 4 network ports of the first embedded computer and the second embedded computer are connected respectively on 8 ports of the network equipment, personal computer is connected to the first embedded computer.
(2) IP5 to IP8 of the first embedded computer is matched one by one with the IP1 to IP4 of the second embedded computer respectively, and to one group of pairing, same network segment IP address is set.
(3) personal computer control the first embedded computer adopts telnet mode to access the second embedded computer, send the iperf instrument on far call command calls the second embedded computer, using the second embedded computer as service end, send again test command and call the iperf instrument on the first embedded computer, using IP5 as parameter, test out IP1, the throughput size between IP5, i.e. throughput size between the port one of the network equipment and port 5.
(4) the iperf instrument on the first embedded computer and the second embedded computer is reruned in each test, then using IP6 as parameter, and the throughput size between test I P2 and IP6, the i.e. port 2 of tested product, the throughput size between port 6; Using IP7 as parameter, test out IP3, the throughput size between IP7, the i.e. port 3 of tested product, the throughput size between port 7; Using IP8 as parameter, test out IP4, the throughput size between IP8, the i.e. port 4 of tested product, the throughput size between port 8.
As shown in Figure 2, in one embodiment, a kind of test macro of network equipment throughput, comprises control appliance 110, the first embedded computer 120, the network equipment 130 and the second embedded device 140 to be tested.Wherein:
Control appliance 110 communicates to connect second embedded computer 140 to the network equipment 130, the first embedded computers 120 to be tested by the network equipment to be tested 130 by the first embedded computer 120 communication connections.
Concrete, can control appliance 110, the first embedded computer 120, the network equipment 130 and the second embedded device 140 be coupled together by RS-232 interface.
Control appliance 110 can be that Desktop PC, notebook computer, panel computer etc. have interactive interface and can control the equipment of embedded computer.
The far call order that the second embedded computer 140 sends for obtaining control appliance 110, and according to the iperf instrument of far call command calls self, and the second embedded computer 140 is as service end.
Concrete, the second embedded computer 140 obtains by telnet mode or RS232 serial communication protocol the far call order that control appliance 110 sends.Can on embedded computer, increase telnet function, telnet agreement is a member in TCP/IP protocol suite, is standard agreement and the major way of telnet server.Control appliance 110 can be started a telnet session access and had by the first embedded device 120 the second embedded computer 140 of telnet function, and far call order is sent to the second embedded computer 140 by telnet mode, and move the Iperf instrument on the second embedded computer 140.
In the present embodiment, Iperf instrument has operational factor, monitors different ports and will use different port numbers, so must rerun Iperf instrument one time before test different port, by attaching different port numbers as parameter, to monitor the communication of different ports.The order of setting up service end can be Iperf-s-w256k-P2, and-s represents, with service end mode operation, to set up service end,-w represents to specify tcp window size, acquiescence is 8KB, and-p represents the port that given server end uses, with the communication statistic information flow of listening port.Service end is the most simply ordered: iperf-s.In embedded computer, provide conveniently far call on network of iperf instrument calling interface.Control appliance 110 is by IP Address Recognition the second embedded computer 140.
The test command that the first embedded computer 120 sends for receiving control apparatus 110, and according to the iperf instrument of described test command operation self, and the first embedded computer 120 is as client.
Concrete, the test command that the first embedded computer 120 sends by telnet mode or RS232 serial communication protocol receiving control apparatus 110.The first embedded computer directly connects control appliance, and the test command that receiving control apparatus sends just can directly move iperf instrument or also can move iperf instrument by calling iperf instrument calling interface.
Test network throughput can be by disposable completing of order, as test command iperf-c192.168.2.3-w256k-r-P2,-c mark is moved with client mode, 192.168.2.3 represent the IP address of service end, the IP address of service end can be manual configuration can be also automatically configuration, the IP address of client can be manual configuration can be also automatically configuration,-w represents to specify tcp window size,-r represents accordion seek pattern, in the time that client finishes to the test of service end, the port of service end by the specifying port of service end (or be defaulted as client and be connected to), Opposite direction connection is to client,-p represents the port that client connects, with the communication statistic information flow of listening port.It can be iperf-c192.168.2.3 that client is the most simply ordered.
Iperf instrument test client on the first embedded computer 120 and the second embedded computer 140 is to the network throughput between service end, and returns to network throughput test result to control appliance 110.
The test macro of above-mentioned network equipment throughput, by establishing a communications link with control appliance and the network equipment, then using two embedded computers respectively as client and service end, according to the order operation testing tool of control appliance, client and service end are carried out to testing throughput, finally test result is sent to control appliance, this test result is exactly the throughput between the port of the network equipment, because of integrated testing tool to embedded computer, realize test by the testing tool on control appliance controlling run embedded computer, because of the volume of embedded computer little, low in energy consumption, reduce the cost of test.
Further, in one embodiment, the first embedded computer 120 and the second embedded computer 140 are also for arranging the IP of the half number of the port number of the network equipment 130 according to the port number of the network equipment 130 from increase with it respectively; Control appliance 110 also matches between two for the IP controlling on the first embedded computer on 120 IP and the second embedded computer 140, and the IP of pairing is arranged on to the same network segment.
Concrete, when the port number of the network equipment 130 is 4, on described the first embedded computer 120 and the second embedded computer 140, increase by 2 IP are set respectively; When the port number of the network equipment 130 is 8, on described the first embedded computer 120 and the second embedded computer 140, increase by 4 IP are set respectively.
The port number of for example network equipment is 8,4 IP and MAC Address are set respectively on the first embedded computer and the second embedded computer, on the first embedded computer, establish IP5 to IP8, on the second embedded computer, establish IP1 to IP4, then the IP on two embedded computers is matched between two, as IP1 and IP5 pairing, and be arranged on the same network segment, as 192.168.2.2,192.168.2.3; By IP2 and IP6 pairing, and be arranged on the same network segment, such as 192.168.3.2,192.168.3.3; By IP3 and IP7 pairing, and be arranged on the same network segment, such as 192.168.4.2,192.168.4.3; By IP4 and IP8 pairing, and be arranged on the same network segment, such as 192.168.5.2,192.168.5.3.
On the first embedded computer 120 and the second embedded computer 140, multiple IP are set, first need the first embedded computer 120 and the second embedded computer 140 to establish a communications link by multiple network ports and the network equipment 130.This network port can be RJ-11 or RJ-45 interface, and these two kinds of interfaces are more common in the network equipment.In addition, this network port can also be SC optical fiber interface, FDDI(FiberDistributed Data Interface, fiber distributed data interface) interface, AUI(Attachment UnitInterface, Attachment Unit Interface) interface, BNC(Bayonet Nut Connector, bayonet nut connector) interface, Console interface, USB(Universal Serial BUS, USB) interface etc.Establish a communications link by multiple network ports and the network equipment, and configure corresponding IP address for each network port, only need issue orders and detect the network throughput of the network port corresponding to the IP address of pairing by control appliance, can constantly not pull out line and plug wire because changing test network port, improve testing efficiency.
Control appliance 130 is also for the reference value of network throughput is set, and the network throughput that described test is obtained and described reference value compare, if be less than described reference value, points out the network throughput of described test abnormal.Concrete, the reference value of network throughput is set according to the performance of the processor of the network equipment, as the maximum bandwidth 100M of the network equipment, the reference value of network throughput can be 40M, by result and the reference value comparison of test, if be less than reference value, two ports of the network equipment of table test exist abnormal, are that the circuit of finger tip mouth exists fault etc. extremely.
The test macro of above-mentioned network equipment throughput is used for the throughput of the network equipment of testing 8 ports, as shown in Figure 3, PC210 connects the first embedded computer 220 by 1 serial ports, the first embedded computer 220 passes through 4 interface interconnection network equipment 230 by 4 RJ-45 interface interconnection network equipment, 230, the second embedded computers 240.In the first embedded computer 220 and the second embedded computer 240, increase the function that 4 ports are set arrange respectively IP and MAC Address.Embedded computer system has an Ethernet MAC(Ethernet hardware address on hardware), have the Ethernet switch(Ethernet switch of a four-hole) chip, connect four PHY(physical layer, physical layer) hardware, in embedded computer software, for each port arranges four MAC Address and IP address, utilizing software to distinguish is the data of which port.By IP1, IP5 is arranged on the same network segment, such as 192.168.2.2, and 192.168.2.3; By IP2, IP6 is arranged on the same network segment, such as 192.168.3.2, and 192.168.3.3; By IP3, IP7 is arranged on the same network segment, such as 192.168.4.2, and 192.168.4.3; By IP4, IP8 is arranged on the same network segment, such as 192.168.5.2, and 192.168.5.3.
PC210 orders and controls the first embedded computer 220 in serial ports, adopt telnet mode to access the second embedded computer 240, move the iperf instrument on the second embedded computer 240, action command is: iperf-s-w256k-P2, makes the service end of the second operation embedded computer 240 as test throughput, control again the first embedded computer 220, call the iperf instrument on the first embedded computer 220, using IP5(192.168.2.3) as parameter, action command is: iperf-c192.168.2.3-w256k-r-P2, test out IP1, throughput size between IP5, it is the port one of tested product, throughput size between port 5, the iperf instrument on the first embedded computer 220 and the second embedded computer 240 is all reruned in each test, using IP6 as parameter, throughput size between test I P2 and IP6, it is the port 2 of tested product, throughput size between port 6, using IP7 as parameter, test out IP3, the throughput size between IP7, the i.e. port 3 of tested product, the throughput size between port 7, using IP8 as parameter, test out IP4, the throughput size between IP8, the i.e. port 4 of tested product, the throughput size between port 8.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a method of testing for network equipment throughput, comprises the steps:
Control appliance is communicated to connect to the network equipment to be tested by the first embedded computer, and described the first embedded computer is communicated to connect to the second embedded computer by the described network equipment to be tested;
Obtain the far call order that control appliance sends, according to the iperf instrument in the second embedded computer described in described far call command calls, and using described the second embedded computer as service end;
The test command that receiving control apparatus sends, moves the iperf instrument in described the first embedded computer according to described test command, and using described the first embedded computer as client;
Test described client to the network throughput between service end, and return to described network throughput test result to described control appliance.
2. the method for testing of network equipment throughput according to claim 1, is characterized in that, described in obtain the step of far call order that control appliance sends and be:
Obtain by telnet mode or RS232 serial communication protocol the far call order that control appliance sends;
The step of the test command that described receiving control apparatus sends is:
The test command sending by telnet mode or RS232 serial communication protocol receiving control apparatus.
3. the method for testing of network equipment throughput according to claim 1, it is characterized in that, communicate to connect the network equipment to be tested at control appliance by the first embedded computer, and before described the first embedded computer is communicated to connect to the step of the second embedded computer by the described network equipment to be tested, also comprise step:
On described the first embedded computer and the second embedded computer, increase respectively the IP of the half number of the port number that the described network equipment to be tested is set according to the port number of the described network equipment to be tested;
IP on IP on described the first embedded computer and the second embedded computer is matched between two, and the IP of pairing is arranged on the same network segment.
4. the method for testing of network equipment throughput according to claim 3, is characterized in that, when the port number of the described network equipment to be tested is 4, on described the first embedded computer and the second embedded computer, increases by 2 IP are set respectively; When the port number of the described network equipment to be tested is 8, on described the first embedded computer and the second embedded computer, increase by 4 IP are set respectively.
5. the method for testing of network equipment throughput according to claim 1, it is characterized in that, to the network throughput between service end, and return to described network throughput test result to after the step of described control appliance in the described client of described test, also comprise:
The reference value of network throughput is set;
The network throughput that described test is obtained and described reference value compare, if be less than described reference value, point out the network throughput of described test abnormal.
6. the test macro of a network equipment throughput, it is characterized in that, comprise control appliance, the first embedded computer and the second embedded computer, described control appliance communicates to connect the network equipment to be tested by the first embedded computer, and described the first embedded computer communicates to connect the second embedded computer by the described network equipment to be tested;
The far call order that described the second embedded computer sends for obtaining control appliance, and according to the iperf instrument of described far call command calls self, and described the second embedded computer is as service end;
The test command that described the first embedded computer sends for receiving control apparatus, and according to the iperf instrument of described test command operation self, and described the first embedded computer is as client;
Iperf instrument on described the first embedded computer and the second embedded computer is tested described client to the network throughput between service end, and returns to described network throughput test result to described control appliance.
7. the test macro of network equipment throughput according to claim 6, is characterized in that, described the second embedded computer obtains by telnet mode or RS232 serial communication protocol the far call order that control appliance sends; The test command that described the first embedded computer sends by telnet mode or RS232 serial communication protocol receiving control apparatus.
8. the test macro of network equipment throughput according to claim 6, it is characterized in that, described the first embedded computer and the second embedded computer are also for arranging the IP of the half number of the port number of the described network equipment to be tested according to the port number of the described network equipment to be tested from increase with it respectively;
Described control appliance also matches between two for the IP controlling on IP and the second embedded computer on described the first embedded computer, and the IP of pairing is arranged on to the same network segment.
9. the test macro of network equipment throughput according to claim 8, is characterized in that, when the port number of the described network equipment to be tested is 4, on described the first embedded computer and the second embedded computer, increases by 2 IP are set respectively; When the port number of the described network equipment to be tested is 8, on described the first embedded computer and the second embedded computer, increase by 4 IP are set respectively.
10. the test macro of network equipment throughput according to claim 6, it is characterized in that, described control appliance is also for arranging the reference value of network throughput, and the network throughput that described test is obtained and described reference value compare, if be less than described reference value, point out the network throughput of described test abnormal.
CN201210436267.6A 2012-11-05 2012-11-05 The test method and system of throughput of network device Active CN103812712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210436267.6A CN103812712B (en) 2012-11-05 2012-11-05 The test method and system of throughput of network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210436267.6A CN103812712B (en) 2012-11-05 2012-11-05 The test method and system of throughput of network device

Publications (2)

Publication Number Publication Date
CN103812712A true CN103812712A (en) 2014-05-21
CN103812712B CN103812712B (en) 2018-10-26

Family

ID=50708953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210436267.6A Active CN103812712B (en) 2012-11-05 2012-11-05 The test method and system of throughput of network device

Country Status (1)

Country Link
CN (1) CN103812712B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210714A (en) * 2016-07-20 2016-12-07 深圳创维数字技术有限公司 The system of a kind of test machine top box WIFI handling capacity, method and device
CN107666416A (en) * 2017-09-07 2018-02-06 郑州云海信息技术有限公司 A kind of iperf test results decision-making system
CN108958645A (en) * 2017-05-19 2018-12-07 西部数据技术公司 Manage the physical layer of data storage target device
CN112083987A (en) * 2014-06-23 2020-12-15 谷歌有限责任公司 Remote invocation of mobile device actions
CN114629827A (en) * 2022-04-29 2022-06-14 重庆长安新能源汽车科技有限公司 System and method for testing throughput of vehicle-mounted Ethernet interface
CN114900450A (en) * 2022-04-27 2022-08-12 北京计算机技术及应用研究所 Network forwarding performance testing method based on high-speed data processing platform
CN116055371A (en) * 2021-10-27 2023-05-02 成都鼎桥通信技术有限公司 Communication module performance test system and method, upper computer, medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000201202A (en) * 1999-01-08 2000-07-18 Nec Corp Client server test system
CN101184006A (en) * 2007-12-07 2008-05-21 深圳国人通信有限公司 Test method and system for WLAN equipment index
CN102347810A (en) * 2011-10-21 2012-02-08 迈普通信技术股份有限公司 Centralized test system and method of machine room
CN102413500A (en) * 2011-12-08 2012-04-11 深圳市共进电子股份有限公司 Method and system for testing throughput of wireless network card in wireless local area network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000201202A (en) * 1999-01-08 2000-07-18 Nec Corp Client server test system
CN101184006A (en) * 2007-12-07 2008-05-21 深圳国人通信有限公司 Test method and system for WLAN equipment index
CN102347810A (en) * 2011-10-21 2012-02-08 迈普通信技术股份有限公司 Centralized test system and method of machine room
CN102413500A (en) * 2011-12-08 2012-04-11 深圳市共进电子股份有限公司 Method and system for testing throughput of wireless network card in wireless local area network

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083987A (en) * 2014-06-23 2020-12-15 谷歌有限责任公司 Remote invocation of mobile device actions
CN106210714A (en) * 2016-07-20 2016-12-07 深圳创维数字技术有限公司 The system of a kind of test machine top box WIFI handling capacity, method and device
CN106210714B (en) * 2016-07-20 2018-02-27 深圳创维数字技术有限公司 A kind of system, method and device for testing set top box WIFI handling capacities
CN108958645A (en) * 2017-05-19 2018-12-07 西部数据技术公司 Manage the physical layer of data storage target device
CN107666416A (en) * 2017-09-07 2018-02-06 郑州云海信息技术有限公司 A kind of iperf test results decision-making system
CN116055371A (en) * 2021-10-27 2023-05-02 成都鼎桥通信技术有限公司 Communication module performance test system and method, upper computer, medium and program product
CN116055371B (en) * 2021-10-27 2024-04-02 成都鼎桥通信技术有限公司 Communication module performance test system and method, upper computer, medium and program product
CN114900450A (en) * 2022-04-27 2022-08-12 北京计算机技术及应用研究所 Network forwarding performance testing method based on high-speed data processing platform
CN114629827A (en) * 2022-04-29 2022-06-14 重庆长安新能源汽车科技有限公司 System and method for testing throughput of vehicle-mounted Ethernet interface

Also Published As

Publication number Publication date
CN103812712B (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN103812712A (en) Testing method and system for network device throughput
US20210176159A1 (en) Hardware architecture for universal testing system: cable modem test
CN101534223A (en) Device and method for testing network switching equipment
CN1983969A (en) System and realization for re-directing interface network
KR20030008796A (en) Home Appliance Controlling System and Operating Method for the Same
CN101510091A (en) Digital household centralized control equipment with signal filtration function
CN108206842A (en) Cloud Desktop Remote cut-in method and system
CN102347810B (en) Centralized test system and method of machine room
CN110855353B (en) Error code tester and test system suitable for various types of optical modules
CN207588888U (en) A kind of test device and mainboard
EP3065387A1 (en) Method and device for achieving matching between acquisition system and analysis system
CN106850816A (en) A kind of remote network control system based on VLAN
CN101594384A (en) A kind of method and control device that utilizes real-time message control remote equipment
CN213817812U (en) Test service system based on Router OS is built
KR20230146247A (en) Network Management System.
CN107947836A (en) Wireless near-field power coupling test device and test method
CN113934540A (en) Networking and managing device of high-performance computing cluster and using method thereof
TW201324345A (en) Server system and address configuration method for power distribution units
CN202886974U (en) Server computer remote control system based on controller area network (CAN) bus
CN114374889A (en) Water quality monitoring system
Cisco Confirming the Installation
Cisco Confirming the Installation
CN113138732A (en) Multi-display controller system, access control system, and display controller
TWM608116U (en) Signal transmission device
CN112327753A (en) Local area network remote monitoring system based on SIEMENS840D numerical control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant