CN101547063A - Method and system for testing forward delay - Google Patents
Method and system for testing forward delay Download PDFInfo
- Publication number
- CN101547063A CN101547063A CN200910083245A CN200910083245A CN101547063A CN 101547063 A CN101547063 A CN 101547063A CN 200910083245 A CN200910083245 A CN 200910083245A CN 200910083245 A CN200910083245 A CN 200910083245A CN 101547063 A CN101547063 A CN 101547063A
- Authority
- CN
- China
- Prior art keywords
- address
- test
- time
- equipment under
- under 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method and a system for testing forward delay, which are used for improving the accuracy of the forward delay test of common testing equipment. Through the configuration of a binding relation between a next hop IP address received by tested equipment and the port of the tested equipment on the tested equipment, the method enables a sent test message to perform circular test in the tested equipment. Therefore, the obtained result of the forward delay test has reduced errors caused by self time consumption in the forward delay test of a common testing instrument, so the high test cost caused by the use of a professional testing instrument is saved.
Description
Technical field
The present invention relates to a kind of forward delay method of testing and system, belong to data communication technology field.
Background technology
The router forward delay be meant router from receive message, search routing table, the time that sequence of operations consumed such as E-Packet, as shown in Figure 1, if router receives that the time of message is Tt, the time of sending message after the process sequence of operations is Tr, and then forward delay T is Tr-Tt.The chip speed of router, system bus, software algorithm etc. all can influence the forward delay of router.
In current Internet protocol (Internet Protocol is called for short IP) network, router is as of paramount importance forwarding unit in the network, and its every performance index will directly have influence on the performance of whole network.
In current network application, multiple real time communication business such as voice, video are growing.Be different from business such as traditional file transfer, download of information, the audio frequency and video business is very responsive to postponing, postpone to cause user's perception immediately slightly greatly, therefore, require also to have reached higher standard for the forward delay of the most important network equipment such as router.
Forward delay is as one of important indicator of router, and can the tester need often test to judge the requirement that touch the mark it.
Existing router forward delay method of testing mainly contains following two kinds:
A. use the professional test Meter Test: by professional test instrument constitution test packet, and to router transmission message, the message of being transmitted by professional test instrument receiving router calculates and sends message to the reception message time difference again, obtain router forward delay test data, as shown in Figure 2.
B. use personal computer (Personal Computer, be called for short PC) software test: by PC software construction test packet, and to router transmission message, message after transmitting by the PC receiving router again, by the software records transmitting-receiving message time, by calculating router forward delay test data, as shown in Figure 3.
Present router delay testing method has certain limitation:
When A. using professional test instrumentation to test, because test instrumentation equipment is very expensive, large batch of use will seriously increase testing cost.
When B. using PC and software to test, test result be subject to the PC performance and software processes consuming time, the forward delay test result T=Tr-Tt+PC that obtains is consuming time, it is consuming time that the test result error mainly comes from PC, if the PC poor-performing, test result is with the substantial deviation actual value.
Summary of the invention
The purpose of this invention is to provide a kind of forward delay method of testing and system, be used to improve the accuracy of common test testing of equipment forward delay.
For achieving the above object, the invention provides a kind of forward delay method of testing, described method comprises:
Step S1, the media interviews of the 3rd port of configuration first Internet Protocol IP address and equipment under test control on equipment under test (Media Access Control is called for short MAC) address binding;
The IP address of second port of a described IP address and equipment under test belongs to same subnet;
Step S2, the time-out time that testing equipment is provided with test packet is first time-out time;
Step S3, testing equipment sends to first port of equipment under test with test packet, and writes down the transmitting time of test packet;
Step S4, testing equipment receives the timeout packet that equipment under test sends from first port of equipment under test, writes down the time of reception of described timeout packet;
Step S5 calculates the forward delay of equipment under test according to the delay of the time of reception of the transmitting time of test packet and timeout packet.
To achieve these goals, the present invention also provides a kind of forward delay test macro, and described system comprises: first configuration module, overtime module, message sending module, time logging modle, message receiver module and the computing module as a result of being provided with;
Described first configuration module is used on equipment under test configuration the one IP address and binds with the MAC Address of the 3rd port of equipment under test; The IP address of second port of a described IP address and equipment under test belongs to same subnet;
It is described that overtime the time-out time that module is used to be provided with test packet is set is first time-out time;
Described message sending module is connected with the overtime module that is provided with, and is used for test packet is sent to first port of equipment under test;
Described time logging modle is connected with the message sending module, is used to write down the transmitting time of test packet and the time of reception of timeout packet;
Described message receiver module is connected with the time logging modle, is used for receiving the timeout packet that equipment under test sends from first port of equipment under test;
Described computing module as a result is connected with the time logging modle, is used for calculating according to the delay of the time of reception of the transmitting time of test packet and timeout packet the forward delay of equipment under test.
The present invention is by the next-hop ip address of configuration equipment under test reception on equipment under test and the binding relationship of equipment under test port, make the test packet that sends in equipment under test, carry out loop test, when having reduced to use common test instrument test forward delay, the forward delay test result that calculates thus, saved the great number testing cost that uses the professional test instrument to be brought owing to self error of bringing consuming time.
Description of drawings
Fig. 1 is a router forward delay schematic diagram
Fig. 2 is for using professional test instrument test forward delay schematic diagram
Fig. 3 is for using PC and common test software test forward delay schematic diagram
Fig. 4 is a kind of forward delay method of testing of the present invention embodiment one schematic diagram
Fig. 5 is a kind of forward delay method of testing of the present invention embodiment two schematic diagrames
Fig. 6 is a kind of forward delay method of testing of the present invention embodiment three schematic diagrames
Fig. 7 transmits schematic diagram for the message of a kind of forward delay method of testing of the present invention embodiment one
Fig. 8 is a kind of forward delay test macro of the present invention embodiment one schematic diagram
Fig. 9 is a kind of forward delay test macro of the present invention embodiment two schematic diagrames
Embodiment
The embodiment of the invention provides a kind of forward delay method of testing and system, is used to improve the accuracy of common test testing of equipment forward delay.Below in conjunction with accompanying drawing the present invention is carried out specific description.
Fig. 4 has provided a kind of forward delay method of testing of the present invention embodiment one schematic diagram, said method comprising the steps of:
Step S1, the MAC Address of the 3rd port of configuration the one IP address and equipment under test binding on equipment under test;
The IP address of second port of a described IP address and equipment under test belongs to same subnet;
For example the next-hop ip address that equipment under test can be received be the MAC Address of Ethernet interface 3 of the message binding equipment under test of an IP address, and the IP address of the Ethernet interface 2 of a described IP address and equipment under test belongs to same subnet.
The MAC Address binding that can use address resolution protocol (Address Resolution Protocol is called for short ARP) on equipment under test, to dispose the 3rd port of an IP address and equipment under test.The ARP binding can be bound purpose IP address and target MAC (Media Access Control) address, when router E-Packets, according to purpose IP address encapsulation corresponding target MAC Address and transmission.
Step S2, the time-out time that testing equipment is provided with test packet is first time-out time; Described time-out time is time (Time To Live, be called for short TTL) value for survival, and for example the ttl value of test packet can be set is N1 to testing equipment.
Step S3, testing equipment sends to first port of equipment under test with test packet, and writes down the transmitting time of test packet;
Testing equipment described in the step S3 is specifically as follows first port that test packet sends to equipment under test: testing equipment is first port that the test packet of an IP address sends to equipment under test with purpose IP address.
By carrying out address binding, testing equipment can be with an IP address as purpose IP address when sending test packet, after first port of equipment under test is received test packet, because the IP address of an IP address and second port belongs to same subnet, therefore first port can send second port of test packet from equipment under test, according to address binding, can encapsulate the MAC Address of the 3rd port for test packet, message is sent to the 3rd port.
For example can use a testing equipment as test PC, Ethernet interface 1 transmission purpose IP address to equipment under test is an IP address, ttl value is the test packet of N1, and the transmitting time Tt1 of record test packet, after Ethernet interface 1 is received test packet, N1 subtracts 1 with ttl value, and the Ethernet interface 2 of test packet from equipment under test sent, and described equipment under test can have the equipment of Ethernet interface for router or switch etc. more than three layers or three layers.
Subsequently, because the next-hop ip address that equipment under test receives is the MAC Address that an IP address message has been bound the 3rd port of equipment under test, so test packet can send from second port of equipment under test, and arrives the 3rd port of equipment under test; For example can be for the Ethernet interface 2 of test packet from equipment under test send, and arrive Ethernet interface 3.
Described the 3rd port judges according to time-out time whether test packet is overtime, sends to testing equipment if then produce timeout packet by described first port; Otherwise continue to transmit described test packet, test packet can continue to send from described second port, and arrives described the 3rd port, and circulation is overtime until test packet repeatedly.
For example can for: after the Ethernet interface 3 of equipment under test is received test packet, whether the ttl value of judging test packet is greater than 1, if, represent that then test packet is not overtime, test packet is sent by Ethernet interface 2, simultaneously ttl value is subtracted 1, because the MAC Address that test packet has been bound Ethernet interface 3, therefore test packet can arrive Ethernet interface 3, and circulation equals 1 until ttl value repeatedly; If judge ttl value, then will produce Internet Control Message Protocol (Internet Control MessageProtocol is called for short ICMP) TTL timeout packet and send to testing equipment by Ethernet interface 1 smaller or equal to 1.
ICMP is the sub-protocol that ICP/IP protocol is concentrated, and belongs to network layer protocol, is mainly used in transmitting control information between main frame and router, comprises reporting errors, exchange constrained control and state information etc.Router will be checked the ttl field in IP packet header in the process that E-Packets, if ttl value is greater than 1, then router subtracts 1 and transmit with ttl value, if ttl value is smaller or equal to 1, and router dropping packets and send ICMP TTL timeout packet then to source address.
Step S4, testing equipment receives the timeout packet that equipment under test sends from first port of equipment under test, writes down the time of reception of described timeout packet; For example the time of reception of testing equipment record timeout packet is Tr1.
Step S5 calculates the forward delay of equipment under test according to the delay of the time of reception of the transmitting time of test packet and timeout packet.The time of reception Tr1 of for example can be for: the transmitting time Tt1 that writes down when sending test packet according to testing equipment and writing down when receiving timeout packet, the forward delay that calculates equipment under test is (Tr1-Tt1)/(N1-1).
Step S1 can carry out before step S2, also can carry out after step S2, perhaps can carry out synchronously with step S2.
Present embodiment is by the next-hop ip address of configuration equipment under test reception on equipment under test and the binding relationship of equipment under test port, make the test packet that sends in equipment under test, carry out loop test, when having reduced to use common test instrument test forward delay, the forward delay test result that calculates thus, saved the great number testing cost that uses the professional test instrument to be brought owing to self error of bringing consuming time.
Fig. 5 has provided a kind of forward delay method of testing of the present invention embodiment two schematic diagrames, and present embodiment also comprised before step S3 except the step that comprises method enforcement one:
Step S6, the next-hop ip address of configuration the 2nd IP address is a described IP address on first port of equipment under test and the 3rd port;
Step S6 can carry out after step S1.
Step S6 can carry out before step S2, also can carry out after step S2, perhaps can carry out synchronously with step S2.
For example can the usage policy route (Policy Based Routing is called for short PBR) next-hop ip address of configuration the 2nd IP address on first port of equipment under test and the 3rd port be a described IP address.
PBR a kind ofly carries out route routing forwarding mechanism more flexibly than based target network.When using PBR, how router will be handled the packet that needs route by the routing diagram decision, and routing diagram has determined next redirect of a packet to send out router.
Testing equipment described in the step S3 is specially first port that test packet sends to equipment under test: testing equipment is first port that the test packet of the 2nd IP address sends to equipment under test with purpose IP address.
By carrying out the PBR binding, testing equipment can be with the 2nd IP address as purpose IP address when sending test packet, after first port of testing equipment is received test packet, according to tactful route the next-hop ip address of test packet is set at an IP address, because the IP address of an IP address and second port belongs to same subnet, then first port can send test packet from second port, according to address binding, can encapsulate the MAC Address of the 3rd port for test packet, message is sent to the 3rd port.
Fig. 6 has provided a kind of forward delay method of testing of the present invention embodiment three schematic diagrames, and present embodiment also comprised before step S5 except the step that comprises method enforcement one:
Step S7: the time-out time that testing equipment is provided with test packet is second time-out time, and execution in step S3; For example the ttl value of test packet can be set is N2 to testing equipment.
Described step S5 is specially: the forward delay that calculates equipment under test according to the delay of the time of reception of the transmitting time of twice test packet and timeout packet.
For example can send the test packet that ttl value is N2 in testing equipment, and the transmitting time Tt2 of record test packet, the time of reception of the timeout packet that obtains after the process test is Tr2, the forward delay that obtains according to twice test result calculations is (Tr1-Tt1-Tr2+Tt2)/(N1-N2), concrete computational methods can for:
Test packet amounts to tested device forwards N1-1 time, and consuming time as if testing equipment is Y, and the forward delay actual value is X, obtains following formula:
Can obtain following equation group according to twice test result:
X(N1-1)+Y=Tr1-Tt1
X(N2-1)+Y=Tr2-Tt2
Above equation group is calculated and can be got:
X(N1-N2)=Tr1-Tt1-Tr2+Tt2
Release: X=(Tr1-Tt1-Tr2+Tt2)/(N1-N2)
Present embodiment carries out loop test by making test packet in equipment under test, and the forward delay test result that obtains of the test result calculations that obtains by twice test eliminates when using common test instrument test forward delay because self error of bringing consuming time has been saved the great number testing cost that uses the professional test instrument to be brought.
Present embodiment can also carry out above-mentioned expansion except carrying out the above-mentioned expansion on the basis of method embodiment two on the basis of method embodiment one.
The present invention will be described below by a specific embodiment, and Fig. 7 transmits schematic diagram for the message of a kind of forward delay method of testing of the present invention embodiment one, is specifically described below.
Set in advance following several IP address:
Subnet 1: address A, B
Subnet 2: address C, D
Subnet 3: address E
Subnet 4: address F
For 3 Ethernet interfaces and the test PC of test router respectively disposes an IP address
Ethernet interface 1: address A tests PC: address B
Ethernet interface 2: address C
Ethernet interface 3: address E
Configuration ARP binding, making router is that the MAC Address of the message encapsulation of address D is the MAC Address M of Ethernet interface 3 with next-hop ip address.
After more than configuration is finished, can use test PC be N1 to test router transmission ttl value, purpose IP address be the test packet of D, and with software records transmitting time Tt1.
After the target ip address that test router Ethernet interface 1 is received is the message of D, because the address C of address D and Ethernet interface 2 belongs to same subnet, message will be sent to Ethernet interface 2, and forward from Ethernet interface 2, simultaneously ttl value is subtracted 1, test router will be the MAC Address M of this message encapsulation Ethernet interface 3, and send, and message will arrive Ethernet interface 3.
Test router Ethernet interface 3 receives that this target ip address is to check ttl value behind the message of D, if greater than 1, then message is forwarded, because the address C of address D and Ethernet interface 2 belongs to same subnet, message will be sent to Ethernet interface 2, and forward from Ethernet interface 2, simultaneously ttl value is subtracted 1, test router will be the MAC Address M of this message encapsulation Ethernet interface 3, and send once more, circulate N1-1 time repeatedly, equal 1 until ttl value.
The target ip address of receiving when test router Ethernet interface 3 is that the message TTL of D is when equaling 1, test router will send an ICMP TTL timeout packet to the source IP address B of this message, because the address A of address B and Ethernet interface 1 belongs to same subnet, message will be sent to Ethernet interface 1, and forward from Ethernet interface 1, test PC receives behind this message with software records time of reception Tr1.
Another kind of testing scheme can dispose PBR and ARP binding simultaneously for test router:
Promptly except configuration ARP binding on Ethernet interface 1, can also dispose PBR on Ethernet interface 1 and Ethernet interface 3, the purpose IP address that router will be received from Ethernet interface 1 and 3 is that the next-hop ip address of the message of F is made as address D.
After more than configuration is finished, can use test PC be N1 to test router transmission ttl value, purpose IP address be the test packet of F, and with software records transmitting time Tt1.
After the target ip address that test router Ethernet interface 1 is received is the message of F, learn that according to PBR next-hop ip address is an address D, because the address C of address D and Ethernet interface 2 belongs to same subnet, message will be sent to Ethernet interface 2, and forward from Ethernet interface 2, simultaneously ttl value being subtracted 1, test router will be the MAC Address M of this message encapsulation Ethernet interface 3, and send, message will arrive Ethernet interface 3.
Test router Ethernet interface 3 receives that this target ip address is to check ttl value behind the message of F, if greater than 1, then message is forwarded, learn that according to PBR next-hop ip address is an address D, because the address C of address D and Ethernet interface 2 belongs to same subnet, message will be sent to Ethernet interface 2, and forward from Ethernet interface 2, simultaneously ttl value be subtracted 1, test router will be the MAC Address M of this message encapsulation Ethernet interface 3, and send once more, circulate N1-1 time repeatedly, equal 1 until ttl value.
The target ip address of receiving when test router Ethernet interface 3 is that the message TTL of F is when equaling 1, test router will send an ICMP TTL timeout packet to the source IP address B of this message, because the address A of address B and Ethernet interface 1 belongs to same subnet, message will be sent to Ethernet interface 1, and forward from Ethernet interface 1, test PC receives behind this message with software records time of reception Tr1.
Calculate router delayed test value T=(Tr1-Tt1)/(N1-1)
This test packet amounts to and is routed device forwarding N1-1 time, and consuming time as if PC is Y, and router forward delay actual value is X, obtains following formula:
X(N1-1)+Y=Tr1-Tt1
So X=(Tr1-Tt1-Y)/(N1-1)
This shows that the error between actual value and the test value is mainly derived from PC Y consuming time, because PC Y consuming time is a relatively more fixing value, therefore through after N1-1 the circulation, because the PC error that produces consuming time will reduce, N1 is big more, and the PC error that produces consuming time is more little.
On this basis, a kind of more excellent scheme can be set at N2 with ttl value, and repeats above-mentioned test, time T t2 and Tr2 that recorded message sends and receives.
Can obtain following equation group according to twice test result:
X(N1-1)+Y=Tr1-Tt1
X(N2-1)+Y=Tr2-Tt2
Above equation group is calculated and can be got:
X(N1-N2)=Tr1-Tt1-Tr2+Tt2
Release: X=(Tr1-Tt1-Tr2+Tt2)/(N1-N2)
So far, unknown constant PC Y consuming time is divided out, only surplus N1 in the formula, Tt1, Tr1 and N2, Tt2, these six known constant of Tr2.Router actual value time of delay X can calculate by this formula and obtain, and is not subjected to PC error effect consuming time.
The present invention also provides a kind of forward delay test macro, Fig. 8 has provided a kind of forward delay test macro of the present invention embodiment one schematic diagram, and described system comprises: the first configuration module M1, overtime module M2, message sending module M3, time logging modle M4, message receiver module M5 and the computing module M6 as a result of being provided with;
The described first configuration module M1 is used on equipment under test configuration the one IP address and binds with the MAC Address of the 3rd port of equipment under test; The IP address of second port of a described IP address and equipment under test belongs to same subnet;
It is described that overtime the time-out time that module M2 is used to be provided with test packet is set is first time-out time;
Described message sending module M3 is connected with the overtime module M2 that is provided with, and is used for test packet is sent to first port of equipment under test;
Described time logging modle M4 is connected with message sending module M3, is used to write down the transmitting time of test packet and the time of reception of timeout packet;
Described message receiver module M5 is connected with time logging modle M4, is used for receiving the timeout packet that equipment under test sends from first port of equipment under test;
The described M6 of computing module as a result is connected with time logging modle M4, is used for calculating according to the delay of the time of reception of the transmitting time of test packet and timeout packet the forward delay of equipment under test.
Described system can also comprise the first address configuration module M7, is connected with the message sending module, and the purpose IP address that is used for the configuration testing message is an IP address.
It is described that overtime the time-out time that module M2 can also be used to be provided with test packet is set is second time-out time;
This moment testing equipment can to send time-out time respectively be that first time-out time and time-out time are the message of second time-out time, for example send the test packet that ttl value is N1, obtain test packet transmitting time Tt1 and timeout packet time of reception Tr1, sending ttl value is the test packet of N2, obtain test packet transmitting time Tt2 and timeout packet time of reception Tr2, and be (Tr1-Tt1-Tr2+Tt2)/(N1-N2) according to the forward delay that twice test result calculations obtains.
This moment, the described M6 of computing module as a result specifically can be used for calculating according to the delay of the time of reception of the transmitting time of twice test packet and timeout packet the forward delay of equipment under test.
Fig. 9 has provided a kind of forward delay test macro of the present invention embodiment two schematic diagrames, and present embodiment also comprises except the feature that comprises system embodiment one:
The second configuration module M8, the next-hop ip address that is used for configuration the 2nd IP address on first port of equipment under test and the 3rd port is a described IP address;
The second address configuration module M9, the purpose IP address that is used for the configuration testing message is the 2nd IP address.
It is described that overtime the time-out time that module M2 can also be used to be provided with test packet is set is second time-out time; This moment, the described M6 of computing module as a result specifically can be used for calculating according to the delay of the time of reception of the transmitting time of twice test packet and timeout packet the forward delay of equipment under test.
The present invention carries out loop test by making test packet in equipment under test, and the forward delay test result that can obtain by the test result calculations of twice test is eliminated when using common test instrument test forward delay owing to self error of bringing consuming time, the measuring accuracy height has been saved the great number testing cost that uses the professional test instrument to be brought.
The present invention can use PC and common test software, and is easy to use, the bigger problem of test error of having avoided using common PC and software to test and being brought, and reduced testing cost.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a forward delay method of testing is characterized in that, comprising:
Step S1, the media interviews of the 3rd port of configuration first Internet Protocol IP address and equipment under test control MAC Address binding on equipment under test;
The IP address of second port of a described IP address and equipment under test belongs to same subnet;
Step S2, the time-out time that testing equipment is provided with test packet is first time-out time;
Step S3, testing equipment sends to first port of equipment under test with test packet, and writes down the transmitting time of test packet;
Step S4, testing equipment receives the timeout packet that equipment under test sends from first port of equipment under test, writes down the time of reception of described timeout packet;
Step S5 calculates the forward delay of equipment under test according to the delay of the time of reception of the transmitting time of test packet and timeout packet.
2. method according to claim 1, it is characterized in that testing equipment described in the step S3 is specially first port that test packet sends to equipment under test: testing equipment is first port that the test packet of an IP address sends to equipment under test with purpose IP address.
3. method according to claim 1 is characterized in that, also comprises before step S3:
Step S6, the next-hop ip address of configuration the 2nd IP address is a described IP address on first port of equipment under test and the 3rd port;
Testing equipment described in the step S3 is specially first port that test packet sends to equipment under test: testing equipment is first port that the test packet of the 2nd IP address sends to equipment under test with purpose IP address.
4. according to the described arbitrary method of claim 1-3, it is characterized in that, also comprised step S7 before step S5: the time-out time that testing equipment is provided with test packet is second time-out time, and execution in step S3;
Described step S5 is specially: the forward delay that calculates equipment under test according to the delay of the time of reception of the transmitting time of twice test packet and timeout packet.
5. according to the described arbitrary method of claim 1-3, it is characterized in that described step S1 is specially: use ARP on equipment under test, to dispose the MAC Address binding of the 3rd port of an IP address and equipment under test.
6. method according to claim 3 is characterized in that, described step S6 is specially: the next-hop ip address of usage policy route PBR configuration the 2nd IP address on first port of equipment under test and the 3rd port is a described IP address.
7. a forward delay test macro is characterized in that, described system comprises: first configuration module, overtime module, message sending module, time logging modle, message receiver module and the computing module as a result of being provided with;
Described first configuration module is used on equipment under test configuration the one IP address and binds with the MAC Address of the 3rd port of equipment under test; The IP address of second port of a described IP address and equipment under test belongs to same subnet;
It is described that overtime the time-out time that module is used to be provided with test packet is set is first time-out time;
Described message sending module is connected with the overtime module that is provided with, and is used for test packet is sent to first port of equipment under test;
Described time logging modle is connected with the message sending module, is used to write down the transmitting time of test packet and the time of reception of timeout packet;
Described message receiver module is connected with the time logging modle, is used for receiving the timeout packet that equipment under test sends from first port of equipment under test;
Described computing module as a result is connected with the time logging modle, is used for calculating according to the delay of the time of reception of the transmitting time of test packet and timeout packet the forward delay of equipment under test.
8. system according to claim 7 is characterized in that, also comprises the first address configuration module, is connected with the message sending module, and the purpose IP address that is used for the configuration testing message is an IP address.
9. system according to claim 7 is characterized in that, also comprises:
Second configuration module, the next-hop ip address that is used for configuration the 2nd IP address on first port of equipment under test and the 3rd port is a described IP address;
The second address configuration module is connected with the message sending module, and the purpose IP address that is used for the configuration testing message is the 2nd IP address.
10. according to the described arbitrary system of claim 7-9, it is characterized in that described overtime the time-out time that module also is used to be provided with test packet is set is second time-out time; Described computing module as a result specifically is used for calculating according to the delay of the time of reception of the transmitting time of twice test packet and timeout packet the forward delay of equipment under test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100832454A CN101547063B (en) | 2009-04-30 | 2009-04-30 | Method and system for testing forward delay |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100832454A CN101547063B (en) | 2009-04-30 | 2009-04-30 | Method and system for testing forward delay |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101547063A true CN101547063A (en) | 2009-09-30 |
CN101547063B CN101547063B (en) | 2012-07-18 |
Family
ID=41193981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100832454A Expired - Fee Related CN101547063B (en) | 2009-04-30 | 2009-04-30 | Method and system for testing forward delay |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101547063B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848122A (en) * | 2010-06-12 | 2010-09-29 | 北京星网锐捷网络技术有限公司 | Strategic router testing method, system and routing equipment |
CN102136968A (en) * | 2011-01-07 | 2011-07-27 | 华为技术有限公司 | Method for measuring delay of message in Ethernet switching equipment and Ethernet switching equipment |
CN102761845A (en) * | 2011-04-25 | 2012-10-31 | 四零四科技股份有限公司 | Method for carrying out remote control by using short message, and network integration device |
CN103262472A (en) * | 2010-12-13 | 2013-08-21 | 日本电气株式会社 | Computer system, controller, controller manager, and communication path analysis method |
CN103888306A (en) * | 2012-12-19 | 2014-06-25 | 阿里巴巴集团控股有限公司 | Message forwarding system performance test method and performance test device |
CN104301163A (en) * | 2013-07-18 | 2015-01-21 | 国家电网公司 | GOOSE time mark test method and system |
CN107040429A (en) * | 2017-03-13 | 2017-08-11 | 上海斐讯数据通信技术有限公司 | A kind of method of testing and system of port forwarding performance |
WO2017202166A1 (en) * | 2016-05-23 | 2017-11-30 | 中兴通讯股份有限公司 | Message transmission method, sending device and storage medium |
CN109088784A (en) * | 2017-06-14 | 2018-12-25 | 许继集团有限公司 | A kind of method for testing performance and system of load control system |
CN111510346A (en) * | 2020-04-08 | 2020-08-07 | 中国信息通信研究院 | End-to-end network forwarding delay determination method and device |
CN113726592A (en) * | 2021-07-31 | 2021-11-30 | 苏州浪潮智能科技有限公司 | Transmission delay testing method and system of edge server and related components |
CN115002006A (en) * | 2022-04-27 | 2022-09-02 | 北京中睿天下信息技术有限公司 | Network equipment time delay testing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100473047C (en) * | 2004-12-29 | 2009-03-25 | 中兴通讯股份有限公司 | Method of transmission control for adaptation layer 2 in asynchronous transfer mode |
-
2009
- 2009-04-30 CN CN2009100832454A patent/CN101547063B/en not_active Expired - Fee Related
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848122B (en) * | 2010-06-12 | 2012-08-15 | 北京星网锐捷网络技术有限公司 | Strategic router testing method, system and routing equipment |
CN101848122A (en) * | 2010-06-12 | 2010-09-29 | 北京星网锐捷网络技术有限公司 | Strategic router testing method, system and routing equipment |
CN103262472B (en) * | 2010-12-13 | 2015-11-25 | 日本电气株式会社 | Computer system, controller, controller management device and communication lines are by analytical method |
CN103262472A (en) * | 2010-12-13 | 2013-08-21 | 日本电气株式会社 | Computer system, controller, controller manager, and communication path analysis method |
CN102136968A (en) * | 2011-01-07 | 2011-07-27 | 华为技术有限公司 | Method for measuring delay of message in Ethernet switching equipment and Ethernet switching equipment |
WO2012092789A1 (en) * | 2011-01-07 | 2012-07-12 | 华为技术有限公司 | Method for measuring delay of packet in ethernet switching device and ethernet switching device |
CN102136968B (en) * | 2011-01-07 | 2013-04-24 | 华为技术有限公司 | Method for measuring delay of message in Ethernet switching equipment and Ethernet switching equipment |
CN102761845A (en) * | 2011-04-25 | 2012-10-31 | 四零四科技股份有限公司 | Method for carrying out remote control by using short message, and network integration device |
CN102761845B (en) * | 2011-04-25 | 2015-07-15 | 四零四科技股份有限公司 | Method for carrying out remote control by using short message, and network integration device |
CN103888306A (en) * | 2012-12-19 | 2014-06-25 | 阿里巴巴集团控股有限公司 | Message forwarding system performance test method and performance test device |
CN104301163A (en) * | 2013-07-18 | 2015-01-21 | 国家电网公司 | GOOSE time mark test method and system |
WO2017202166A1 (en) * | 2016-05-23 | 2017-11-30 | 中兴通讯股份有限公司 | Message transmission method, sending device and storage medium |
CN107040429A (en) * | 2017-03-13 | 2017-08-11 | 上海斐讯数据通信技术有限公司 | A kind of method of testing and system of port forwarding performance |
CN109088784A (en) * | 2017-06-14 | 2018-12-25 | 许继集团有限公司 | A kind of method for testing performance and system of load control system |
CN111510346A (en) * | 2020-04-08 | 2020-08-07 | 中国信息通信研究院 | End-to-end network forwarding delay determination method and device |
CN113726592A (en) * | 2021-07-31 | 2021-11-30 | 苏州浪潮智能科技有限公司 | Transmission delay testing method and system of edge server and related components |
CN113726592B (en) * | 2021-07-31 | 2023-07-18 | 苏州浪潮智能科技有限公司 | Transmission delay test method, system and related components of edge server |
CN115002006A (en) * | 2022-04-27 | 2022-09-02 | 北京中睿天下信息技术有限公司 | Network equipment time delay testing method |
CN115002006B (en) * | 2022-04-27 | 2023-07-07 | 北京中睿天下信息技术有限公司 | Network equipment time delay test method |
Also Published As
Publication number | Publication date |
---|---|
CN101547063B (en) | 2012-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101547063B (en) | Method and system for testing forward delay | |
CN113411313B (en) | Data transmission method, device and system | |
CN101309125B (en) | Multimedia data transmission method of concurrent access of multiple threads | |
CN100579034C (en) | Method for reporting equipment information, system and device for obtaining equipment information | |
CN101521607B (en) | Method and device for testing Ethernet network performance | |
US9641420B1 (en) | Methods and apparatus for assessing the quality of a data path including both layer-2 and layer-3 devices | |
CN108173718A (en) | The system and method for BFD link detectings and assessment based on SD-WAN scenes | |
JP5316178B2 (en) | Communication path estimation program, method and computer | |
CN103297282A (en) | Network delay measuring device and method | |
US20230300051A1 (en) | In-band Edge-to-Edge Round-Trip Time Measurement | |
CN115002008B (en) | Method, device, equipment and storage medium for measuring network delay | |
CN111585834B (en) | Network information storage method and device | |
US20090290500A1 (en) | Measurement managing apparatus and communication system | |
CN110248379A (en) | The performance test methods and device of base station in WLAN | |
CN110784378B (en) | Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier) | |
JP4815534B2 (en) | Packet delay characteristic measuring apparatus and method | |
Zhang et al. | Chat: Accurate network latency measurement for 5g e2e networks | |
CN103701626B (en) | The preparation method of bandwidth information and the equipment for obtaining bandwidth information | |
CN103916286B (en) | Test method and device for detecting network device | |
CN101540703B (en) | Method for configuring and testing asynchronous transmission mode point-to-multipoint interface environment and system thereof | |
CN114124753B (en) | Message sending method and device | |
CN112637055A (en) | Multi-link aggregation method, system and storage medium based on VPN tunnel | |
CN108337388A (en) | Voip communications method and router | |
CN116599871B (en) | Network time delay determining method and related device | |
KR100862725B1 (en) | The apparatus and method for mapping connection identifier of mobile communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120718 Termination date: 20150430 |
|
EXPY | Termination of patent right or utility model |